/**
 * @file
 * Subtheme specific CSS.
 */

body {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  line-height: 1.6;
}

#main-wrapper{
  min-height: 50vh;
}

p {
  font-size: 1.3em;
  line-height: 1.2;
  font-weight: normal;
  font-family: 'Josefin Slab', sans-serif;
}

a {
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration: none;
}

#navbar-top{
  /*padding: 0;*/
}

.navbar-brand {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 30px;
  font-weight: normal;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  line-height: 1;
}

.navbar-brand img {
  margin-right: 10px;
  max-width: 220px;
}

.region-top-header-form  > div{
 width:auto;
 align-content: center;
}
@media (min-width: 992px) {
	.region-top-header-form  > nav{
	 width:auto;
	 align-content: center;
	}
}

header #search-block-form {
  margin: 0;
  padding: 0px;
  font-size: 14px;
  line-height: 1;
}
header #search-block-form > div{
  margin: 0 !important;
  padding: 0px;
}
header .form-search, header .form-submit{
	border-radius: 0px;
}
#search-block-form .form-control {
  border: 0;
  box-shadow: none;
  background-color: transparent;
  width: 150px;
  padding: .3rem;
}
#search-block-form .form-control:focus {
  border-bottom: 1px solid #dfdfdf;
}
#search-block-form input[type="submit"] {
  color: transparent;
  width: 30px;
  height: calc(2.25rem + 2px);
}
#search-block-form #edit-actions::before {
	font-family: "Font Awesome 5 Free";
	font-size: 22px;
	font-weight: 900;
	content: "\f002";
	position: absolute;
	display: block;
	top: 8px;
	left: 160px;
	pointer-events: none;
}
  
#main-wrapper {
  margin-bottom: 50px;
}

h2 a,
h3 a,
.nav a,
.nav a:hover,
.nav a:focus,
.language-switcher-locale-url a,
.region-footer a {
  font-family: 'Josefin Slab', sans-serif;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-weight: normal;
  line-height: 1.2;
  border-bottom: 0px;
  margin: 40px 0 20px;
  font-family: 'Josefin Slab', sans-serif;
  text-transform: uppercase;
}
h1,
h2 {
  margin-top: 45px;
  margin-bottom: 45px;
}

h2.accordion-header {
  margin-top: 0;
}

.path-frontpage h2 {
  text-align: center;
  margin: 90px 0 45px;
}

.path-frontpage h2::before,
.path-frontpage h2::after {
  display: inline-block;
  content: "";
  width: 3rem;
  margin: 0 1rem;
  transform: translateY(-0.5rem);
  border-radius: 5px;
}

.accordion-button {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Josefin Sans', sans-serif;
}

h1 {
  font-size: 40px;
}

.highlighted .container{
  padding: 0;
}

#block-kitbarrio2-hero h1 {
  font-size: 47px;
  text-transform: none;
  margin-top: 0;
}

#block-kitbarrio2-hero {
  font-size: 22px;
  line-height: 1.4;
  margin-top: 50px;
  font-weight: 300;
}

#block-kitbarrio2-copertina div{
  max-height: 350px;
  overflow: hidden;
}

#block-kitbarrio2-copertina img{
  object-fit: cover;
}

h2 {
  font-size: 40px;
}

h3 {
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  margin: 10px 0 5px;
  font-size: 18px;
}

h4 {
  line-height: 1.2;
  font-weight: normal;
  text-transform: none;
  margin: 5px 0;
  font-size: 24px;
  font-style: italic;
}

h5 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
  text-transform: uppercase;
  margin: 10px 0 5px 20px;
}

img {
  max-width: 100%;
  height: auto;
}

.layout-region-node-secondary,
.layout-region-node-main {
  width: 100%;
}

.site-footer {
  padding: 0;
}

.site-footer .content {
  font-size: 24px;
  font-family: 'Josefin Sans', sans-serif;
  line-height: 1.2;
  text-align: left;
  font-weight: normal;
}

.site-footer .block {
	border: 0;
	margin: 0;
	padding: 0;
}

h1.title {
  display: block;
  padding: 0;
  border: 0;
  font-size: 50px;
  text-align: left;
  font-family: 'Josefin Slab', sans-serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 10px 0;
  font-size: 36px;
  text-decoration: underline;
  max-width: 700px;
  text-transform: none;
}

.views-field-title {
  margin: 0;
  padding: 0;
  min-height: 30px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 25px;
  font-size: 25px;
  line-height: 1.2;
  
}

.grid p {
  margin-bottom: 0;
}

#navbar-top .menu--main .nav-link::before {
  content: "[";
  color: #333;
  font-size: 1.2em;
}
#navbar-top .menu--main .nav-link::after {
  content: "]";
  color: #333;
  font-size: 13px;
}
#navbar-top .nav-link {
	font-size: 1em;
	text-transform: uppercase;
	padding: 7px;
	display: block;
	background: transparent;
	font-family: 'Josefin Sans', sans-serif;
	margin: 0 5px 0 0;
	font-weight: normal;
	line-height: 20px;
	font-size: 13px;
}
#navbar-top .nav-link:hover, #navbar-top .nav-link:active, #navbar-top .nav-link.is-active, #navbar-top a.is-active {
	text-decoration: line-through;
}

.site-footer .nav-link {
  margin: 0;
  padding: 7px 0px;
  display: inline;
}

.site-footer .nav-item::after{
  display: inline-block;
  content: "|";
  margin: 0 10px;
}

.site-footer .nav-item:last-child::after { content: ""; }

.site-footer__top p {
  font-size: 0.8em;
}

.navbar>.container,
.navbar>.container-fluid,
.navbar>.container-lg,
.navbar>.container-md,
.navbar>.container-sm,
.navbar>.container-xl,
.navbar>.container-xxl {
  align-items: flex-end;
  padding-bottom: 25px;
}


.news .views-view-grid.row>* {
  padding-top: 30px;
  padding-bottom: 30px;
}
.featured-bottom ul.nav {
  justify-content: center;
}
.site-footer, .site-footer p {
	text-align: center;
	font-size: 12px;
}


@media (max-width: 768px) {
  .navbar-nav{
    margin-top: 30px;
  }

  .news .views-view-grid.row{
    margin: 0;
  }
  .highlighted .container .row{
    margin: 0 6px;
  }
  .navbar-brand {
  margin: 0;
  max-width: 100%;
  white-space: normal;}
  section.region-top-header{
    width: 65%;
  }
.site-footer .block{
  padding: 10px 0;
}
.news .views-view-grid.row>* {
  padding: 30px 0;
}
}

/* slide */
.view-id-slideshow_home h3 p a{
	text-decoration: underline;
	text-transform: none;
	font-size: 3em;
	font-weight: bold;
	text-align: center;
	line-height: 0.9;
	text-shadow: 0px 0px 18px rgba(0, 0, 0, 0.5);
}
.view-id-slideshow_home .carousel-caption {
  padding-top: .25rem;
  padding-bottom: .25rem;
  z-index:2;
}
.view-id-slideshow_home .carousel-inner .carousel-item::before {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: url('images/slider-tile.png') rgba(54, 54, 54, 0.6);
  z-index:1;
}
.main-content {
  font-family: 'Josefin Slab', sans-serif;
}
.container {
  width: 875px;
}
.node .field--type-image {
	float: none;
	margin: 0;
	text-align: center;
}
