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

/*
* UNICO COLORE DA SOTITUIRE
* Rosso: #c11a0e;
* Ps: per la frecce dello slider e il panino del menu mobile sostistuire in valore rgba(193,26,14,1) che è sempre il rosso
*
* CLASSI DA USARE PER LE VISTE
* ARTICOLI
* Usare la classe 'articoli' per la vista, sequenza dei campi: immagine, titolo, link al contenuto
* ULTIMI ARTICOLI
* Usare la classe 'ultimi-articoli' per la vista, sequenza dei campi uguale ad articoli.
* BOX QUADRATO
* Usare la classe 'box-quadrato' per la vista, sequenza dei campi: titolo, immagine.
* NEWS TUTTA PAGINA
* Usare la classe 'news-tuttapagina' per la vista, sequenza dei campi: immagine, data, titolo e testo.
* PS: Le viste principali sono gli eventi hanno lo sfondo bianco, la sequenza dei campi: titolo, corpo del testo, data, circolo, link al contenuto, immagine.
*
* VIEW FOOTER
* Se si inseriscono link nel footer delle viste compaiono come bottoni. Bastano i link semplici.
*/
/* passaggio a barrio 5 */
a {
   text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.nav-link:focus, .nav-link:hover {
  text-decoration: none;
}
@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}
body, p, a, li {
  font-family: 'Open Sans',sans-serif;
}
.search-block-form .mb-3 {
  margin-bottom: 0 !important;
}
a, .link, .nav-link {
    color: #000;
}
a:hover, a:focus, .link:hover, .link:focus, .nav-link:hover {
  color: #f61303;
}
/* editor */
.ckb-rosso {
  color: #c11a0e;
}
.ckb-rosso a{
  color: #c11a0e;
}
.museo900{
	font-size: 1em;
	font-family: "Museo_Slab_900";
	font-weight: 900;
}
.museo700{
	font-size: 0.8em;
	font-family: "Museo_Slab_700";
	font-weight: 700;
	text-transform: none;
}
h2.museo900{
	font-size: 1.7rem;
	font-family: "Museo_Slab_900";
	font-weight: 900;
}
h3.museo700{
	font-size: 1.4rem;
	font-family: "Museo_Slab_700";
	font-weight: 700;
	text-transform: none;
}
p.dida{
	font-size: 13px;
	font-weight: bold;
}


body {
  line-height: 1.7;
}


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

img.aligncenter{
  display: block;
  margin: 0 auto;
}

img.alignleft{
  float: left;
  padding: 0px 15px 0px 0;
}

img.alignright{
  float: right;
  padding: 0px 0 0px 15px;
}

.header{
  border-bottom: 15px solid #fff;
}

#navbar-top {
   justify-content: flex-start;
   padding: 0;
}

#navbar-top .nav-link{
  color: #333;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.4em;
  padding: 0 30px 0 0;
}
#navbar-top .nav-link.is-active{
  color: #c90808;
}
#navbar-main .nav-link.is-active{
  color: #c90808;
}
#navbar-top .nav-link {
  padding: 8px 0 8px 15px;
}
#navbar-main {
    background-color: #ffffff;
    justify-content: center;
    flex-direction: column;
    padding: 0;
}
#navbar-main .nav-link.dropdown-toggle::after {
  display: none;
}
#navbar-main .nav-link{
  color: #333;
  font-size: 1.5em;
  font-family: "Museo_Slab_700";
  font-weight: 700;
  padding: 0 30px 0 0;
}

/* menu secondo */
#block-kitbarrio2-secondarylinks .nav-link{
  font-family: 'Open Sans',sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.2em;
}

@media (min-width: 768px) {

#navbar-top .nav-link, #navbar-main .nav-link{
  display: inline-block;
}

#navbar-main li.nav-item + li.nav-item:before {
    content: "";
    display: none;
}

}

#navbar-top .nav-link + .nav-link:before{
  content: "|";
  display: inline-block;
  color: #333;
  margin-right: 15px;
}

.navbar-brand {
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  transition: all 0.1s linear;
  display: block;
  margin: 0 auto 0 0;
}
.navbar-brand img{
  width: 280px;
}

#navbar-main.affix{
  top:43px;
}



#navbar-main.affix .navbar-brand {
  max-width: 100px;
}



#navbar-main .region-secondary-menu .nav {
  display: block;
}

#navbar-top .region-secondary-menu .nav {
  display: none;
}



#navbar-top #search-block-form {
    padding: 20px 0 0 0;
}

#navbar-top #search-block-form .form-group {
    margin: 0;
}

.navbar .navbar-toggler .navbar-toggler-icon {
   background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(193,26,14,1)' stroke-width='3' stroke-linecap='square' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

#search-block-form input[type=submit] {
    color: transparent;
    width: 41px;
    height: calc(2.25rem + 2px);
}

#search-block-form .form-type-search, #search-block-form .form-actions {
    padding-right: 0;
    padding-left: 0;
}


#search-block-form #edit-actions {
  position: relative;
}

#search-block-form #edit-actions:before {
    font-family: "Font Awesome 5 Free";
    /*color:#c11a0e;*/
    font-size: 22px;
    font-weight: 900;
    content: "\f002";
    position: absolute;
    display: block;
    top: 0;
    left: 10px;
    pointer-events: none;
}

#search-block-form input[type=search]::placeholder {
  color: #fff;
  content: "Cerca";
}

#navbar-top .form-control{
  border: 0;
  background-color: #efefef;
}

#navbar-top .form-control:focus {
    border-bottom: 1px solid #c11a0e;
    box-shadow: 0;
}



.region-top-header-form {
  /*display: flex;*/
  margin:30px 0;
}
@media (min-width: 768px) {
	#block-kitbarrio2-selettorelingua .links.nav{
		justify-content: end;
	}
}


.dropdown-menu {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  top: 120%;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.4em;
}

.dropdown-item{
  padding: .7rem 1.5rem;
  white-space: normal;
  line-height: 1.2;
}
.dropdown-item a {
	width: 100%;
	display: inline-block;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #f8f9fa;
}

.navbar > .container, .navbar > .container-fluid{
  /*display: block;*/
  background: #fff;
}

.navbar-expand-md .navbar-collapse {
    justify-content: flex-start;
    /*border-top: 1px dotted #c0c0c0;
    border-bottom: 1px dotted #c0c0c0;*/
    padding: 4px 0;
    margin: 15px 0 0;
}

@media (min-width: 768px) {
    #navbar-main .region-secondary-menu {
      display: none;
    }
    #navbar-top .region-secondary-menu .nav {
      display: flex;
    }

   #navbar-main.affix .navbar-brand {
     background-color: #fff;
      padding: 5px 10px;
      max-width: 120px;
    }
   #navbar-top .form-control {
     width: 250px;
   }
}

/* social sharehis */

.sharethis-wrapper span {
    display: inline-block;
  	font-family: "Font Awesome 5 Free";
    font-weight: 900;
  	color:#c11a0e;
  	font-size: 22px;
    padding: 0 12px;
  	cursor:pointer;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
}
.sharethis-wrapper span:hover {
    color:#851013;

}

.sharethis-wrapper span:last-child{
	padding: 0 0 0 8px;
	}

.st_facebook_custom::before {
  font-family: "Font Awesome 5 Brands";
  font-weight: 500;
  content: "\f09a";
}

.st_pinterest_custom::before {
  font-family: "Font Awesome 5 Brands";
  font-weight: 500;
  content: "\f231";
}

.st_twitter_custom::before {
  font-family: "Font Awesome 5 Brands";
  font-weight: 500;
  content: "\f099";
}

.st_googleplus_custom::before {
  font-family: "Font Awesome 5 Brands";
  font-weight: 500;
  content: "\f0d5";
}

.st_sharethis_custom::before {
  font-family: "Font Awesome 5 Free";
  content: "\f1e0";
}

/* Search block */
#search_form_block {
	margin: 0 !important;
	padding:0 !important;
}
#search_form_block .input-group{
    margin: 0;
    height: 50px;
    padding: 0px;
    font-size: 14px;
    line-height: 1;
	background-color: #333;
	border-radius: 0px;
    border-color: #333;
}
#search_form_block input[type="search"]{
     margin: 0;
    height: 50px;
    padding: 5px;
    font-size: 18px;
    line-height: 1;
    background-color: #333;
    color: #d8d8d8;
    border-radius: 0;
    border-color: #333;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#search_form_block button{
    margin: 0;
    height: 50px;
    padding: 10px;
    font-size: 18px;
    line-height: 1;
	background-color: transparent;
	color: #d8d8d8;
	border: 0;
}

/* Language Switcher */


.block-language ul{
	list-style: none;
	margin:0;
	padding:0px;
}
.block-language ul li{
	display: inline-block;
	text-align: center;
  color: #333;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.4em;
  padding: 0 0 0 15px;
}
#block-kitbarrio2-selettorelingua .nav-link + .nav-link:before{
  content: "";
  display:none;
}

.block-language ul li a,.block-language a{
	text-decoration: none;
	font-size: 1em;
	font-family: Museo_Slab_500;
	font-weight: 500;
	letter-spacing: normal;
	color: #333;
}

.block-language ul li.is-active a,.block-language a.is-active,#block-kitbarrio2-selettorelingua .nav-link.is-active{
  display:none;
}

/* titoli e fromattazione*/

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.h1, h1 {
	font-size: 2rem;
	font-family: "Museo_Slab_700";
	font-weight: 700;
	line-height: 1;
}

@media (min-width: 1110px) {
  .h1, h1 {
	font-size: 3rem;
	font-family: "Museo_Slab_700";
	font-weight: 700;
  }
}


.h2, h2 {
    font-size: 2.5rem;
}


hr {
  border-top: 1px dotted #c11a0e;
	border-bottom: 1px dotted #fff;
}

 .sidebar h2, .region-featured-bottom-third h2 {
  padding: 20px 0;
  border-top: 1px solid #eae3e0;
  border-bottom: 1px solid #eae3e0;
  margin: 40px 0;
}

.region-featured-top {
  margin: 0;
}
.region-featured-top .block{
  padding: 20px 0;
}
/* Page custom header */

.block-views-blockeventi-block-6{
  width: 100%;
}


.custom-header .views-row{
  display: block;
  position: relative;
  overflow: hidden;
}



.views-field-field-titolo-header {
  padding: 0;
  margin: 0;
}

.views-field-field-immagine-header {
  width: 100%;
  position: absolute;
  z-index: 0;
}

.views-field-field-immagine-header img {
  width: auto;
height: 100%;
max-width: unset;
position: relative;
display: inline-block;
left: 50%;
transform: translate(-50%);
}
.main-content{
position: relative;
}



@media (min-width: 1110px) {
  .custom-header .views-row{
    overflow: unset;
  }
  .views-field-field-immagine-header img {
    width: 100%;
  height: auto;
  }
}

/* end custom header */

h1.title em, h2.views-field-title em{
    color: #c11a0e;
	font-style: normal;
}
h1.title em{
  font-family: "Museo_Slab_900";
  font-weight: 900;
  font-size: 0.8em;
}
.block-page-title-block h1, .region-featured-bottom-third h2 {
  font-size: 32px;
  line-height: 32px;
  letter-spacing: 1px;
  padding-top: 5px;
  font-family: "Museo_Slab_700";
  font-weight: 700;
}

@media (min-width: 1110px) {
  .block-page-title-block h1, .region-featured-bottom-third h2 {
    font-size: 54px;
    line-height: 54px;
    letter-spacing: normal;
    padding-top: 5px;
  }
}

.block-views h2{
  font-size: 35px;
  line-height: 40px;
  padding-top: 25px;
  padding-bottom: 10px;
}

.sidebar h2, .region-featured-bottom-third h2{
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 1px;
  padding-top: 20px;
  margin: 0px 0 40px;
}

.region-featured-top{
  display: block;
}

/* form */
.form-control, input[type="email"] {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 0px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control{
  border-radius: 0;
  padding: .485rem .75rem;
}

.form-control:focus {
    border-bottom: 1px solid #c11a0e;
    box-shadow: none;
}

/* Sidebar */

.sidebar .block {
    padding: 0 ;
}

/* Bottoni */

.btn {
  padding: .485rem .75rem;
  border-radius: 0;
  font-size: 16px;
line-height: 20px;
font-weight: 500;
letter-spacing: 2px;
text-align: center;
line-height: 40px;
display: inline-block;
height: 45px;
padding: 0 20px;
}

.btn-primary:hover, .btn-primary:focus {
    border-color: #c11a0e;
    background-color: #fff !important;
    color: #c11a0e;
}


/* featured-top */

.featured-top{
  /*background: #c0c0c0;*/
  position: relative;
}

.featured-top aside{
  background: #fff;
}

/* hightlight */

.highlighted{
 /*background: #c0c0c0;*/
  position: relative;
}

.highlighted aside{
  background: #fff;
}



/* carousel */

.carousel-control-next, .carousel-control-prev {
    width: 5%;
}
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}
.carousel-indicators li,.carousel-indicators [data-bs-target]  {
	width: 10px;
	height: 10px;
	border-radius: 10px;
	margin-right: 3px;
	margin-left: 3px;
	text-indent: -999px;
	cursor: pointer;
	background-color:transparent;
	border: 1px solid #c11a0e;
}
.carousel-indicators .active {
	background-color: #c11a0e;
}

.carousel-caption h3 a {
  font-weight: 700;
  font-size: 3rem;
  text-transform: none;
}

.carousel-caption {
 position:absolute;
 right:auto;
 bottom:auto;
 left:6%;
 z-index:10;
 padding-top:20px;
 padding-bottom:20px;
 color:#fff;
 text-align:center;
 top: 5%;
}


/* grid */

.grid .row{
  flex: 1 0 auto;
}
.grid .row > div{
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
}

.grid .row > div > div {
  background: #fff;
  width: 100%;
}

@media (min-width: 768px) {
  .grid .row > div{
    margin: 0 0 30px;
  }
}

.grid .row > div p{
  padding:0;
  margin: 0;
}

.grid .row > div .views-field{
  padding: 15px;
  justify-content: normal;
}

.grid .row > div .views-field-field-image {
  display: flex;
  padding: 0;

  overflow: hidden;
    width: 100%;
}

.grid .row > div .views-field-field-image > div {
  padding: 0;
  align-self: flex-end;
  border-top: 2px solid #c11a0e;
  width: 100%;
  overflow: hidden;
}

.grid .row > div .views-field-field-image img{
  width: 100%;
  height: auto;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition-duration: 1.8s;
  transition-duration: 1.8s;
}

.grid .row > div .views-field-field-image  img:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition-duration: 1.8s;
    transition-duration: 1.8s;
}


.grid .row > div .views-field-title{
  font-size: 18px;
  padding-bottom: 0;
  font-weight: 500;
  line-height: 1.5;
}

.grid .row > div .views-field-title a{
  color: #c11a0e;
}

.grid .row > div .views-field-title a:hover{
  color: #333;
  text-decoration: none;
}

.grid .row > div .views-field-body{
  line-height: 1.5;
}

.grid .row > div .views-field-field-data-evento{
  border-top: 1px solid #f7f6f3;
  padding-top: 15px;
  font-size: 13px;
  color: #666;
  text-align: center;
}
.grid .row > div .views-field-field-circoli{
    padding:0 15px;
}

.grid .row > div .views-field-view-node a:hover{
  text-decoration: none;
}

/* grid articoli */

.articoli .grid .row > div{
  align-content: flex-start;
}

.articoli .grid .row > div {
  padding-left: 15px;
  padding-right: 15px;
  border-right: 0;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .articoli .grid .row > div {
    border-right: 1px solid #eae3e0;
  }
}

.articoli .grid .row > div .views-field{
  padding: 15px 0;
}

.articoli .grid .row > div .views-field-field-image  > div {
  border-bottom: 2px solid #c11a0e;
  border-top: 0;
  padding: 0;
}

.articoli .grid .row > div .views-field-view-node{
  padding-top: 0;
}

.articoli .grid .row > div  > div{
  background: transparent;
}

.articoli .grid .row > div .views-field-title a{
  color:#4a4a4a;
}


/* grid ultimi articoli */

.ultimi-articoli .row{
  margin: 0;
}

.ultimi-articoli .row > div{
  display: block;
  padding:0;
}

.ultimi-articoli .grid .row > div{
  max-width: none;
  /*margin-left: -15px;
  margin-right: -15px;*/
}

.ultimi-articoli .grid .row > div  > div{
  background: transparent;
}

.ultimi-articoli .grid .row > div .views-field-title, .ultimi-articoli .grid .row > div .views-field-body {
    margin: 0;
   padding: 0 10px;
   width: 67%;
   float: right;
}

.ultimi-articoli .grid .row > div .views-field-title a{
  color:#4a4a4a;
}

.ultimi-articoli .grid .row > div .views-field-field-image{
  width: 33%;
  float: left;
  border-right:0;
}

.ultimi-articoli .grid .row > div .views-field-field-image  > div{
  border-right: 2px solid #c11a0e;
  border-top: 0;
}

.ultimi-articoli .grid .row > div .views-field-view-node{
  padding: 10px;
 width: 67%;
 float: right;
 margin-bottom:0;
}

.sidebar .ultimi-articoli .grid .row > div .views-field-view-node{
  margin-bottom: 0px;
}

/* grid box quadrato */

.box-quadrato{
  padding: 0;
  margin: 0;
  background: #eee;
}

.box-quadrato .row > div{
  margin: 0 auto 30px;
  display: block;
  position: relative;
  padding: 0;
}

@media (min-width: 768px) {
  .box-quadrato .row > div{
    padding: 30px;
  }
}

.box-quadrato .grid .row > div > div {
  background: transparent;
  width: 100%;
}

.box-quadrato .row > div .views-field-title{
  display: inline-block;
  position: absolute;
  font-size: 20px;
  padding: 0;
  margin: auto;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  z-index: 10;
  background: transparent;
  width: auto;
  margin-top: -15px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}


.box-quadrato .row > div .views-field-field-image {
  display: block;
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.box-quadrato .grid .row > div .views-field-field-image {
  border-bottom:  5px solid transparent;
}

.box-quadrato .grid .row > div:hover .views-field-field-image, .box-quadrato .grid .row > div .views-field-field-image:hover {
  border-bottom:  5px solid #c11a0e;
}

.box-quadrato .grid .row > div .views-field-field-image > div {
  border-top: 0;
  margin-bottom: 10px;
}

.box-quadrato .grid .row > div:hover .views-field-field-image  img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition-duration: 1.8s;
    transition-duration: 1.8s;
}

.box-quadrato .grid .row > div .views-field-title a{
  color: #fff;
  font-weight: bold;
}

.box-quadrato .grid .row > div:hover .views-field-title a, .box-quadrato .grid .row > div .views-field-title a:hover{
  color: #c11a0e;
}

/* grid news tuttapagina */

.news-tuttapagina .row > div .views-field-field-image > div {
  border-top: 0;
}

.news-tuttapagina{
  margin: 15px 0;
}

.news-tuttapagina .row > div {
  margin-bottom: 5em;
}


.news-tuttapagina .row > div .views-field-title{
	margin: 0;
	line-height: normal;
}
.news-tuttapagina .row > div .views-field-title a{
	font-size: 1.5em;
	font-family: "Museo_Slab_900";
	font-weight: 900;
	color: #000;
}

.news-tuttapagina .row > div .views-field-body{
margin: 0;
padding:0;
}
.news-tuttapagina .row > div .views-field-body p{
display: inline;
padding: 0.1em;
}
.news-tuttapagina .row > div .views-field-body a{
	font-weight: bold;
}

.news-tuttapagina .row > div .views-field-field-data-evento{
color: #c11a0e;
font-size: 1em;
font-family: "Museo_Slab_700";
font-weight: 700;
margin: 20px 0 0 0;
line-height: normal;
}


/* jcarousel */

.jcarousel-wrapper.jcarousel-skin-default {
  margin: 20px auto;
  position: relative;
  border: 0;
  width: 100% !important;
  max-width: 100%;
  height: 250px;
  -webkit-border-radius:0;
  -moz-border-radius:0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.jcarousel-skin-default .jcarousel li {
  float: left;
  width: auto;
  height: 250px;
  margin: 0 10px;
}

/** Carousel Controls **/

.jcarousel-skin-default .jcarousel-control-prev,
.jcarousel-skin-default .jcarousel-control-next {
  position: absolute;
  top: 105px;
  width: 40px;
  height: 40px;
  text-align: center;
  background: #000;
  color: #fff;
  text-decoration: none;
  text-shadow: none;
  font: 30px Arial, sans-serif;
  text-shadow: 0 0 1px #000;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  border-radius: 40px;
  -webkit-box-shadow: 0 0 2px #999;
  -moz-box-shadow: 0 0 2px #999;
  box-shadow: 0 0 2px #999;
}
.biografia .jcarousel-skin-default .jcarousel-control-prev,
.biografia .jcarousel-skin-default .jcarousel-control-next {
  background: #fff;
  color: #c11a0e;
}
.biografia .jcarousel-skin-default .jcarousel-control-prev {
  background-image: url(/themes/custom/kitbarrio2/css/images/freccia_rossa_sx.png);
}
.biografia .jcarousel-skin-default .jcarousel-control-next {
  background-image: url(/themes/custom/kitbarrio2/css/images/freccia_rossa_dx.png);
}
.jcarousel-skin-default .jcarousel-control-prev {
  left: 20px;
  padding-right:7px;
}
.jcarousel-skin-default .jcarousel-control-prev:after {
  content: '';
}
.jcarousel-skin-default .jcarousel-control-next {
  right: 20px;
  padding-left:7px;
}
.jcarousel-skin-default .jcarousel-control-next:after {
  content: '';
}
.jcarousel-skin-default .jcarousel-control-prev {
  background-image: url(/themes/custom/kitbarrio2/css/images/freccia_nera_sx.png);
}
.jcarousel-skin-default .jcarousel-control-next {
  background-image: url(/themes/custom/kitbarrio2/css/images/freccia_nera_dx.png);
}


/* group colonna left e right */
.content .field--name-body .layout-page{
  display: flex;
  flex-direction: column;
}

.group-left{
  width: 100%;
}

.group-right{
  width: 100%;
}

.group-right img{
  width: 100%;
  padding: 0;
}

@media (min-width: 768px) {
  .content .field--name-body .layout-page{
    flex-direction: row;
    margin-top: 30px;
  }
  .group-left{
    width: 65%;
    padding-right: 8%;
  }

  .group-right{
    width: 35%;
  }
  .group-right img{
    width: 100%;
    padding: 0 0 0 5%;
  }
}

/* view footer link, e link commenti */

.view-footer p{
  text-align: right;
  margin: 0;
}
.view-header{
  margin:-20px 0 40px 0;
}

a.calendario::after{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f073";
  display: block;
  text-align: center;
  line-height: 20px;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 15px;
  right: 20px;
  transition: all .1s ease-in-out;
}


.view-header a.calendario {
  margin: 0 0 25px 0;
}

.sidebar .view-footer, .region-featured-bottom-third .view-footer {
  margin-left: -25px;
margin-right: -25px;
}

/* pagination */

.pagination {
    justify-content: center;
    border-radius: 0;
    margin: 1em;
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.page-link {
    margin-left: 5px;
    background-color: #fff;
    border: 1px solid #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
}

.page-link {
    color: #333 !important;
}

.page-item.active .page-link {
  color: #fff !important;
}

/* First featured */
.region-featured-bottom-first {
    padding: 0.5em 1.5em;
    margin: 30px 0 0 0;
    background-color: #c11a0e;
}
@media (min-width: 1024px) {
  .region-featured-bottom-first {
      padding: 3em 3em;
  }
}
.region-featured-bottom-first h2 {
  font-size: 3rem;
  font-family: Museo_Slab_900;
  font-weight: 900;
  margin-bottom: 0;
}
.region-featured-bottom-first p {
  color:#fff;
  margin-top: 0;
}
.region-featured-bottom-first p.btn-attivit {
  text-align: center;
  margin-top: 2rem;
}
.region-featured-bottom-first p a.scritta-social {
  display: block;
  height: 45px;
  font-size: 1em;
  font-weight: 900;  
  font-family: "Museo_Slab_900";
  background: #fff;
  border-radius: 30px;
  margin: 0 auto;
  color: #000;
  text-align: center;
  line-height: 45px;
  padding: 0 20px;
  text-decoration: none;
  letter-spacing: 0.3em;
  width: fit-content;
}

/* Second featured */
.region-featured-bottom-second {
    padding: 10em 0.5em 0.5em 0.5em;
    margin: 30px 0 0 0;
    background-color: #090b08;
    color: #fff;
    border-bottom: 10px solid #c11a0e;
    display:block;
}

.region-featured-bottom-second .block {
  border: 0;
  margin: 20px 0;
  width:auto;
}

.region-featured-bottom-second .navbar-nav {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.4em;
    display: inline;
}
.region-featured-bottom-second .navbar-nav li{
  padding: 0 10px;
  display: inline-block;
}

.region-featured-bottom-second .content a:hover, .region-featured-bottom-second .content a:focus {
    color: rgba(255, 255, 255, 0.95);
}

.region-featured-bottom-second .nav-link,.site-footer .nav-link.active {
	color: rgba(255, 255, 255, 0.95);
	font-size: 14px;
	text-transform: uppercase;
	display:inline;
	letter-spacing: 0.4em;
}
.region-featured-bottom-second .nav-item + .nav-item:before {
	content: "|";
    display: inline-block;
    color: #fff;
}
.region-featured-bottom-second #block-newsletter {
  max-width: 100%;
}

.region-featured-bottom-second nav.block ul{
  justify-content: center;
}

.region-featured-bottom-second p {
  margin: 0;
  font-size: 14px;
}
#block-newsletter p{
  display: flex;
  flex-wrap: wrap;
  align-items: self-end;
  padding: 0;
  margin: 15px 0;
  justify-content: center;
}
#block-newsletter p a.icon-social {
  display: block;
  width: 45px;
  height: 45px;
  font-size: 29px;
  background: #fff;
  border-radius: 30px;
  margin: 10px 5px 0 0;
  color: #000;
  text-align: center;
  line-height: 45px;
  flex-shrink: 0;
}
#block-newsletter p a.scritta-social {
  display: block;
  height: 45px;
  font-size: 1.3em;
  font-family: "Museo_Slab_700";
  font-weight: 700;
  background: #fff;
  border-radius: 30px;
  margin: 0 5px 0 0;
  color: #000;
  text-align: center;
  line-height: 50px;
  padding: 0 20px;
  text-decoration: none;
  letter-spacing: 0em;
}
#block-newsletter .fab {
  line-height: 45px;
}

#block-newsletter h2{
  font-size: 1.3em;
}


@media (min-width: 768px) {
	.region-featured-bottom-second {
		padding: 10em 3em 0.5em 3em;
		display:flex;
	}
	.region-featured-bottom-second .block {
	  flex: 1 0 50%;
	}
	.region-featured-bottom-second #block-newsletter {
	  margin-left: auto;
	  max-width: 100%;
	  flex: 1 0 max-content;
	}
	.region-featured-bottom-second nav.block {
	  margin-left: auto;
	  max-width: fit-content;
	  flex: 1 0 max-content;
	}
	#block-newsletter p{
	  justify-content: right;
	}
	.region-featured-bottom-second nav.block {
	  max-width: fit-content;
	}
	.region-featured-bottom-second nav.block ul{
	  justify-content: right;
	}
	#block-newsletter p a.icon-social, #block-newsletter p a.scritta-social {
	  margin: 0 15px 0 0;
	}
}


/* Third featured */

.region-featured-bottom-third  {
  margin-top: 40px;
}

.region-featured-bottom-third .block {
    padding: 20px;
}

@media (min-width: 1024px) {
.region-featured-bottom-third .block {
    position: relative;
    flex-basis: 33%;
}
}

/* Footer */

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


/* Cookie */

div#sliding-popup, div#sliding-popup .eu-cookie-withdraw-banner, .eu-cookie-withdraw-tab {
    background: #c11a0e;
}

.eu-cookie-compliance-message {
    margin: 15px 0 0;
}

.disagree-button.eu-cookie-compliance-more-button,
.eu-cookie-compliance-agree-button,
.eu-cookie-compliance-default-button,
.eu-cookie-compliance-hide-button,
.eu-cookie-compliance-more-button-thank-you,
.eu-cookie-withdraw-button,
.eu-cookie-compliance-save-preferences-button {
  cursor: pointer;
  margin-right: 5px;
  margin-top: 1em;
  vertical-align: middle;
  overflow: visible;
  width: auto;
  font-size: 16px;
  font-family: inherit;
  box-shadow:0; /* LTR */
  background-color: #ededed;
  background-image: unset;
  border-radius:0;
  border: 0;
  color: #000;
  font-weight: 500;
  letter-spacing: 2px;
  text-align: center;
  padding: 4px 8px;
  text-decoration: none;
  text-shadow: 1px 1px 0 #ffffff;
}

/* Pagina eventi */
.node--type-event .field--name-field-data-evento{
	color: #c11a0e;
	font-size: 1em;
	font-family: "Museo_Slab_700";
	font-weight: 700;
	margin: 20px 0 0 0;
	line-height: normal;
}
.node--type-event .field--name-title h2{
	font-size: 1.2em;
	font-family: "Museo_Slab_900";
	font-weight: 900;
}
#block-kitbarrio2-altrenews{
	margin: 20px 0;
}
#block-kitbarrio2-altrenews h2 a{
	font-size: 1.7rem;
	font-family: "Museo_Slab_700";
	font-weight: 700;
}


/* Exposed Filter */

.views-exposed-form .form-control{
  margin: 0;
}

.views-exposed-form .btn{
  height: 40px;
  line-height: 39px;
}

.views-exposed-form .form-select {
	display: block;
	line-height: 1.3;
  font-size: 16px;
	padding: .5rem .75rem .5rem .8rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	border: 1px solid #cccccc;
	box-shadow: 0;
	border-radius: 0;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: none;
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
  cursor: pointer;
  height: calc(2.25rem + 4px) !important;
}

.views-exposed-form .form-type-select:after{
  content: '\f078';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  right: 17px;
  bottom: 4px;
  padding: 0 0 2px;
  position: absolute;
  font-size: 16px;
  color: #c11a0e;
  pointer-events: none;
}


#sidebar_second .views-exposed-form fieldset, #sidebar_first .views-exposed-form fieldset{
  width: 100%;
}

.views-exposed-form label{
   font-size: 16px;
    line-height: 35px;
    font-weight: 500;
    letter-spacing: 2px;

 }

 .views-exposed-form h2 {
   margin: 0;
   border: 0;
   display: flex;
   width: 100%;
   justify-content: center;
   align-items: center;
   text-align: center;
 }


 .views-exposed-form h2:before,
 .views-exposed-form h2:after {
     content: '';
     border-top: 1px solid #eae3e0;
     margin: 0 15px 0 0;
     flex: 1 0 15px;
 }

 .views-exposed-form h2:after {
     margin: 0 0 0 15px;
 }

.views-exposed-form .form-select::-ms-expand {
	display: none;
}
.views-exposed-form .form-select:hover {
	border-color: #c11a0e;
}
.views-exposed-form .form-select:focus {
	border-color: #c11a0e;
	box-shadow: 0;
	color: #222;
	outline: none;
}
.views-exposed-form .form-select option {
	font-weight:normal;
}

#sidebar_second .views-exposed-form .form-actions, #sidebar_first .views-exposed-form .form-actions {
  display: block;
  margin: 15px auto;
}

/** personalizzazione tema */
/* colori */

.rosso{
  color: #c11a0e;
}

.bianco{
  color: #fff;
}

.nero{
  color: #000;
}

.grigio-chiaro{
  color: #c0c0c0;
}

.grigio-medio{
/*  color: #838282;*/
}

/* mostre */
.menu--mostre-personali .nav-link.is-active,.menu--mostre-collettive .nav-link.is-active{
  color: #c90808;
}
.menu--mostre-personali{
	width: 50%;
	padding:0 10px;
}
.menu--mostre-collettive{
	width: auto;
	padding:0 10px;
}
.menu--mostre-personali h2,.menu--mostre-collettive h2{
	font-size: 1.5em;
	font-family: "Museo_Slab_700";
	font-weight: 700;
	/*color: #000;*/
	text-transform: uppercase;
}
.menu--mostre-personali:has(> ul > li.active){
	color: #c90808;
}
.menu--mostre-collettive:has(> ul > li.active){
	color: #c90808;
}
.menu--mostre-personali .nav,.menu--mostre-collettive .nav{
  display: flex;
  flex-wrap: wrap;
  flex-direction:column;
  height: 90px;
  min-width: 280px;
}
@media (min-width: 768px) {
	.menu--mostre-personali .nav,.menu--mostre-collettive .nav{
	  width:50%;
	  max-width:400px;
	}
}
.menu--mostre-personali .nav li,.menu--mostre-collettive .nav li{
	flex: 0 1 33%;
	padding: 0;
	margin: 0;
  height: 30px;
}
.menu--mostre-personali .nav li a,.menu--mostre-collettive .nav li a{
	font-size: 1em;
	font-family: "Museo_Slab_900";
	font-weight: 900;
	padding: 0;
	margin: 0;
}

/* pubblicazioni */
.menu--pubblicazioni .nav-link.is-active{
  color: #c90808;
}
.menu--pubblicazioni .nav{
  display: flex;
  flex-wrap: wrap;
  flex-direction:column;
  height: 90px;
}
@media (min-width: 768px) {
	.menu--pubblicazioni .nav{
	  width:50%;
	  max-width:400px;
	}
}
.menu--pubblicazioni .nav li{
	flex: 0 1 33%;
	padding: 0;
	margin: 0;
  height: 30px;
}
.menu--pubblicazioni .nav li a{
	font-size: 1em;
	font-family: "Museo_Slab_900";
	font-weight: 900;
	padding: 0;
	margin: 0;
}

.number.publicazioni,.number.mostre {
  border-bottom: 1px solid #000;
  border-image: linear-gradient(to right, transparent 10%, #000 10% 30%, transparent 30% 100%) 100% 1;
}
.number.publicazioni:first-child,.number.mostre:first-child {
  margin-top:40px;
}

.number{
  display: flex;
  margin: 15px 0;
  padding: 15px 0;
  flex-direction: column;
}

@media (min-width: 768px) {
  .number{
    flex-direction: row;
  }
}
/*biografia */
.number.grigio:first-child {
  margin-top:40px;
}

.number.grigio{
  display: flex;
  margin: 15px 0;
  padding: 15px 0;
}

.number.publicazioni p,.number.mostre p{
  padding: 1em 0;
  margin: 0;
  line-height: 1.2;
}

.number div{
  width: 80%;
}

.number h2{
	display: block;
	width: 20%;
	font-family: "Museo_Slab_900";
	font-weight: 900;
	font-size: 2.6em;
}
.number h2.rosso{
	color:#000;
}

/* musei */
.musei{
	display: flex;
	flex-wrap: wrap;
}
.museo{
	flex: 0 0 auto;
	width: 20%;
  padding: 30px 10px;
  margin: 0;
  min-width: 220px;
}
.museo div{
  text-align: center;
}
.museo h3{
	text-align: center;
	display: block;
	width: 200px;
	height: 200px;  
}
.museo h3 img{
  width: 160px;
  height: auto;
}
.museo p{
	font-size: 0.9em;
	font-family: "Museo_Slab_300";
	font-weight: 300;
	line-height: 1.2;
}
.museo p a{
	font-size: 1em;
	font-family: "Museo_Slab_700";
	font-weight: 700;
}

.node--type-pagina-custom-header h4{
  font-size: 1em;
  color: #fff;
  background: #c11a0e;
  padding: 10px 35px;
}
.node--type-pagina-custom-header h5{
	font-family: "Museo_Slab_700";
	font-weight: 700;
}

.node--type-pagina-custom-header #main{
  padding-top: 20px;
}

.node--type-pagina-custom-header .field--type-file,.node--type-event .field--type-file{
  text-align: right;
}

.node--type-pagina-custom-header .field--type-file .file--application-pdf,.node--type-event .field--type-file .file--application-pdf {
    padding-left: 0;
    margin: 10px 0;
}
.node--type-pagina-custom-header h3.museo700 {
    font-size: 1.8rem;
    letter-spacing: normal;
}
.node--type-pagina-custom-header .group-right h3.museo700 {
    font-size: 1.3rem;
}

/* opere */
.block-views-blockarticoli-block-3 h2,
.block-views-blockarticoli-block-4 h2,
.block-views-blockarticoli-block-5 h2,
.block-views-blockarticoli-block-6 h2,
.block-views-blockarticoli-block-7 h2,
.block-views-blockarticoli-block-8 h2
{
	font-size: 2.5em;
	font-family: "Museo_Slab_700";
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}


@media (min-width: 1110px) {
.page-node-3816.node--type-pagina-custom-header article.node--type-pagina-custom-header{
    padding-left: 20%;
}
}
.node--type-pagina-custom-header a[href$=".pdf"],.node--type-event a[href$=".pdf"]{
  background-color:#c0c0c0;
  padding: 12px 35px 12px 65px;
  color: #000;
  font-weight:600;
  text-decoration: none;
  position: relative;
  display: block;
}



.node--type-pagina-custom-header a[href$=".pdf"]:hover,.node--type-event a[href$=".pdf"]:hover{
  text-decoration: none;
  color: #c11a0e;
}

.node--type-pagina-custom-header a[href$=".pdf"]::before,.node--type-event a[href$=".pdf"]::before {
  display: block;
  font-family: "Font Awesome 5 Free";
  content: '\f1c1';
  font-size: 35px;
  margin-right: 20px;
  line-height: 2.1em;
  color: #c11a0e;
  position: absolute;
  top: -10px;
  z-index: 10;
  left: 23px;
}

/* Blocchi home */

.header-home {
  width: 100%;
  min-height: 410px;
  display: block;
  position: relative;
  margin: 30px 0 0 0;
  overflow-x: hidden;
}
.header-video {
  width: 100%;
  position: relative;
  margin: 30px 0 0 0;
}
.iframe-container {
    overflow: hidden;
    padding-top: 75%;
    /* Calculated from the aspect ration of the content (in case of 16:9 it is 9/16= 0.5625)*/
    position: relative;
}
.iframe-container iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
@media (min-width: 1110px) {
  .header-home {
    overflow-x: unset;
  }
}



.header-home .title {
  padding: 50px 0 50px 6%;
  margin: 0;
  position: absolute;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;

}

.header-home .image {
  width: 100%;
  position: absolute;
  z-index: 0;
}

.header-home .image img {
  width: auto;
  height: 100%;
  max-width: unset;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translate(-50%);
}
#block-kitbarrio2-archiviohome .header-home .title {
pointer-events: none;
}

#block-kitbarrio2-attivitahome .header-home .title {
   background:rgba(210, 39, 0, 0.84);
}

.page-node-3815 .views-field-field-titolo-header {
   background:rgba(210, 39, 0, 0.84);
}

.page-node-3812.node--type-pagina-custom-header #main, .page-node-3825.node--type-pagina-custom-header #main{
    padding-top: 0;
}

.page-node-3812.node--type-pagina-custom-header #main .bottoni, .page-node-3825.node--type-pagina-custom-header #main .bottoni{
  font-size: 1.3em;
  font-weight: bold;
}

.page-node-3812.node--type-pagina-custom-header #main .bottoni a:hover, .page-node-3825.node--type-pagina-custom-header #main .bottoni a:hover{
  text-decoration: none;
}

#block-kitbarrio2-attivitahome .header-home .image::after {
  display: block;
}

#block-kitbarrio2-attivitahome .header-home .title a, .page-node-3815 .views-field-field-titolo-header a, .page-node-3816 .views-field-field-titolo-header a, .node--type-pagina-custom-header .btn-attivit {
  color: #fff;
  font-size: 1.3em;
  font-weight: 700;
  line-height: 1.5em;
}

#block-kitbarrio2-attivitahome .header-home .title a:hover, .page-node-3815 .views-field-field-titolo-header a:hover, .page-node-3816 .views-field-field-titolo-header a:hover, .node--type-pagina-custom-header .btn-attivit:hover{
  color: #000;
  text-decoration: none;
}

#block-kitbarrio2-attivitahome .header-home .title a::after, .page-node-3815 .views-field-field-titolo-header a::after, .page-node-3816 .views-field-field-titolo-header a::after, .node--type-pagina-custom-header .btn-attivit::after{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f061";
  transition: all .1s ease-in-out;
  color: #000;
  padding-left: 10px;
  line-height: 1.5em;
}

.node--type-pagina-custom-header .btn-attivit {
  background-color: #c11a0e;
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  float: right;
  margin-top: 20px;
  width: 50%;
  text-align: right;
  margin-bottom: 10px;
}

.bookshop.ultimi-articoli .grid .row > div{
  padding: 0;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px dotted #c11a0e;
  margin-left: 0;
}

.bookshop.ultimi-articoli .grid .row{
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px dotted #c11a0e;
}
@media (min-width: 1110px) {
	.bookshop.ultimi-articoli .views-field-field-image {
		float: left;
		margin: 0 60px 30px 0;
	}
	.bookshop.ultimi-articoli .views-field-body{
	  padding-left:250px
	}
}

.bookshop.ultimi-articoli h2.views-field-title{
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.6rem;
}
.bookshop.ultimi-articoli h2.views-field-title a{
	font-family: "Museo_Slab_700";
}


#cboxTitle{
	text-align: center;
}
#block-kitbarrio2-views-block-articoli-block-9{
	padding-top: 20px;
}

/* form newsletter */
.formnewsletter label{
	font-family: 'Open Sans', sans-serif !important;
	font-size: 1rem !important;
	font-weight: normal !important;
	background:#fff !important;
	margin-bottom: 5px;
}
.formnewsletter div{
	margin-bottom: 10px;
}

.formnewsletter input[type="email"], .formnewsletter input[type="text"] {
    background-color: #dcdcdc !important;
    padding: 8px !important;
    font-size: 1rem !important;
    width:20rem;
}
.formnewsletter [type="submit"] {
	background-color: #9b0d0d;
	color: #fff;
	border: 0;
	padding: 10px 20px;
	text-transform: uppercase;
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	letter-spacing: 0.3em;
	cursor: pointer;
}
.formnewsletter [type="submit"]:hover {
	background-color: #f61303;
}
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* edit page */
.layout-region-node-secondary {
width: 100%;
}
.layout-region-node-main {
width: 100%;
}
