:root {
	--ldp-white: #FFF;
}
form#search-block-form {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

form#search-block-form div {
    margin-bottom: 0;
}

form#search-block-form div.form-group {
    width: 100%;
}

/* generali */
.bg-primary,
.section.section-primary {
    background-color:#0059b3!important;;
} /* stabilisce il colore primario del sito */

.section.section-primary a.white-color:hover {
  color: #ffffff;
}

a,
a.read-more {
    color: #0059b3;
}

a.read-more .icon {
    fill: #0059b3;
}

a:hover, a.read-more:hover {
    color: #036;
    text-decoration: none;
}

.section.section-muted {
    background: #eeeeee;
}

.card .categoryicon-top .icon {
    fill: #0059b3;
}

.icon-primary {
    fill: #0059b3 !important;
}

.text-primary {
    color: #0059b3 !important;
}

/* *** */
.custom-navbar-toggler svg {
    fill: #ffffff;
}

.it-header-slim-wrapper {
    background-color: #0059b3;
}

.it-header-slim-wrapper .it-header-slim-wrapper-content .navbar-brand {
    padding-left: 20px;
}

.it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-brand-wrapper a {
    color: #2d2f2e;
}




/* bug fix per colore barra brand e logo */

.it-header-center-wrapper {
    background: #0059b3;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper  {
    background: #fff;
}








.it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-right-zone {
    color: #0059b3;
}

.it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-right-zone .it-socials ul .icon {
    fill: #0059b3;
}

.it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-right-zone .it-socials ul .icon :hover {
    fill: blue !important;
}


@media (min-width: 992px) {
    .it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-right-zone .it-socials ul a:hover svg {
        fill:#0059b3;
    }
}

@media (min-width: 992px) {
    .search-link.rounded-icon,
    .search-link.rounded-icon:visited {
        color: #0059b3;
    }

    .search-link.rounded-icon:hover {
        color: #0059b3;
    }
    .it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-search-wrapper a {
        background: #0059b3;
    }
    .it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-search-wrapper a.rounded-icon:hover {
      background-color:#0059b3;
    }
}

/* nasconde il logo */
#it-region-brand svg.icon,
.it-brand-wrapper svg.icon {
    display:none;
}

.it-header-center-wrapper.theme-light .it-header-center-content-wrapper .it-brand-wrapper a {
    color: #0059b3;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    color: #fff;
    width: auto;
    height: 55px;
    fill: #fff;
    margin-right: 8px;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .it-header-wrapper.it-header-sticky.is-sticky .it-header-navbar-wrapper .menu-wrapper .it-brand-wrapper.cloned a .icon {
        border-radius: 100%;
        fill: #fff;
        width: auto;
        height: 40px;
        margin-right: 16px;
        flex-shrink: 0;
    }
}



@media (min-width: 992px) {
    .it-header-navbar-wrapper {
        background: #0059b3;
    }
}

#head-section {
/*     background: url(../src/images/banner_homepage_montemurlo.png) no-repeat center center; */
    background-size: cover;
}

.section.section-background-header::before {
    background-color:  #0059b3;
}

.card.border-bottom-card::before {
    background: #0059b3; /* personalizzato per cliente */
}

.breadcrumb {
    padding: .75rem 1rem .75rem 0;
}

.it-footer-main {
    background-color:#202A2E;
}






/* Bug fix per il logo nel footer */
.it-footer-main .it-brand-wrapper a .icon {
  fill: #fff;
  width: 50px;
  height: 65px;
  border-radius: 100%;
  margin-right: 8px;
  flex-shrink: 0;
}







.it-footer-small-prints {
    background-color:#202A2E;
}

.btn-primary {
    color: #fff;
    background-color: #0059b3;
    border-color: #0059b3;
}

.btn-primary:hover {
    color: #fff;
    background-color:#0059b3;
    border-color: #0059b3;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #0059b3;
    border-color: #0059b3;
}

.chip.chip-primary {
    border-color: #0059b3;
    color:  #0059b3;
}

.chip.chip-primary:hover {
    background-color: #0059b3;
    border-color:  #0059b3;
}

.chip.chip-primary:hover a,
.chip.chip-primary a:hover{
    color: #ffffff;
}

#page-user-login {
    background-color: #0059b3;
}

#page-user-login .main-container #it-region-brand a .icon {
    width: 80px;
    height: 95px;
    margin-right: 16px;
    fill: #ffffff;
}

#page-user-login h1 {
    font-size: 2.3rem;
}

#page-user-login #share-block {
    display: none;
}

.back-to-top {
    background: #0059b3;
}

.back-to-top:hover {
    background: blue;
}

.section-title {
    font-size: 1.777rem;
    line-height: 1.25;
    margin: 1em 0 .3em;
}

/* fix per link footer */
footer a {
    color: #fff;
    fill: #fff;
}

footer a:hover {
    color: #fff;
    fill: #fff;
}

.it-footer-small-prints a {
    font-weight: 600;
    color: fff;
    text-decoration: underline;
}

.it-footer-small-prints a:hover {
    font-weight: 600;
    color: #fff !important;
    text-decoration: none;

}

/*per le icone social network */
.icon-white{
  fill: fff !important;
}
.icon-white:hover {
 fill: #00aeb3 !important;
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-right-zone .it-socials span {
	display: none;
}

@media (min-width: 992px) {
	.it-header-center-wrapper .it-header-center-content-wrapper .it-right-zone .it-socials span {
		display: block;
	}
}


/*nasconde link stampa */
a.stampa-sezione {display: none;}


/*sezione con il brand e logo del sito */
@media (min-width: 992px){
  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    background: #0059b3;
    width: auto;
	height: 80px;
    margin-right: 16px;
  }
  .it-header-center-wrapper   {
    background: #0059b3;
  }
}

/* Varianti NTA */
@media (min-width: 992px) {
    .page-node-typepagina-senza-indice-laterale aside {
        margin-right: 1rem;
    }
}

h2#variante-visualizzata {
	font-size: 1.555rem;
	font-weight: 600;
	font-style: italic;
	padding: 0.2em;
	background-color: #fcf8e3;
}

a#toggle_variati:before {
	content: "\f205";
	display: inline-block;
	font-family: "Font Awesome 5 Pro";
	margin-right: 5px;
	font-size: 1.4rem;
}

@media (min-width: 992px) {
    div#varianti {
        border-right: 1px solid #b1b1b3;
        padding-right: 1rem;
    }
}

h2.ridotto {
	font-size: 1.8rem;
}

#varianti h2 {
	font-weight: 600;
	position: relative;
	margin-bottom: 0.8rem;
	font-size: 1.3em;
	margin-top: 5px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding-left: 24px;
	padding-right: 24px;
	padding-bottom: 1rem;
	border-bottom: 4px solid #b1b1b3;
}

#varianti h2:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 40px;
	height: 4px;
	background-color: #a66300;
}

ol#elenco-varianti {
	list-style: none;
	padding-left: 0;
}

ol#elenco-varianti li {
	font-weight: bold;
	margin-bottom: 0.5rem;
	padding-left: 0.3rem;
}

ol#elenco-varianti li span.data {
	color: #656566;
}

ol#elenco-varianti li.visualizzata {
	background-color: #fcf8e3;
	padding: 0.3rem 0.3rem 1rem 0.3rem;
	margin-bottom: 1rem;
}

#elenco-varianti ol.tavole {
	display: none;
}

ol#elenco-varianti li.visualizzata ol.tavole {
	display: block;
    list-style: none;
	padding-left: 1rem;
	margin-top: 0.5rem;
}

ol.tavole li {
	margin-bottom: 0.3rem;
}

#elenco-varianti li.visualizzata li a.pdf {
	font-weight: 600;
	font-size: .9rem;
}


/* TOC */
#it-block-tocjsblock .h2 {
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: .833em;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 1rem;
    border-bottom: 4px solid #b1b1b3;
}


#it-block-tocjsblock .h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 40px;
    height: 4px;
    background-color: #a66300;
}

#it-block-tocjsblock ul {
    list-style: none;
    padding: 0;
}

#it-block-tocjsblock li a {
    font-size: 1em;
    font-weight: 600;
    line-height: 1em;
    padding: 0.8em 24px 0.8em 24px;
    display: block;
}

#it-block-tocjsblock li.toc-active a {
    border-left: 2px solid #142f6c;
}

.toc-js.sticky.is-sticked {
    position: inherit;
}

@media (min-width: 992px) {
    .toc-js.sticky.is-sticked {
        left: auto;
        right: auto;
        width: 320px;
        z-index: 1;
        position: fixed;
    }
}

/* fine TOC */

/* fix impaginazione con sidebar */


.row.row-column-border>.it-page-sections-container,
.row.border-top {
    padding-bottom: 2rem;
    border-top: 1px solid #b1b1b3;
}

@media (min-width: 992px) {
    .row.border-top>.it-page-sections-container {
        padding-top: 3rem;
        border-top: none;
    }
}



@media (min-width: 992px) {
    .row.row-column-border>.it-page-sections-container {
        padding: 3rem;
        border-top: none;
        border-left: 1px solid #b1b1b3;
    }
}


/* homepage */
.home-nome-sezione {
	font-size: 2rem;
	line-height: 1.25;
	font-weight: 600;
}

#page-front .row {
	margin-right: -6px;
	margin-left: -6px;
	flex-wrap: wrap;
	display: flex;
	flex-direction: row;
	justify-content: normal;
	align-items: stretch;
	align-content: center;
}

#page-front .row .col {
	margin-bottom: 20px;
}

div[class^="region home_"],
div.stretch,
div.stretch.contextual-region.block,
.region .stretch>div,
div[class^="region home_"] .card {
	height: 100%;
}

#page-front h2.card-title {
	font-size: 1.5rem;
	margin-bottom: 1rem !important;
	font-weight: 500;
}


#page-front .card.card-teaser .card-body {
	padding: 0 0 24px 0;
}

/* menu principale */
@media (min-width: 992px) {
	.navbar .navbar-collapsable .navbar-nav li a.nav-link {
		font-weight: 500;
		padding: 13px 12px;
	}
}


/* blocchi News Garante e VAS */
.block-views-blocknews-della-vas-block-1,
.block-views-blocknews-del-garante-block-1 {
	background-color: #f7f7f7;
	padding: 24px;
	margin: 3rem 0 0 0;
}

.block-views-blocknews-della-vas-block-1 h2,
.block-views-blocknews-del-garante-block-1 h2 {
	font-size: 1.7em;
	font-weight: 500;
	margin-bottom: 24px;
}

.block-views-blocknews-della-vas-block-1 li,
.block-views-blocknews-del-garante-block-1 li {
	font-size: 16px;
	line-height: 1.4;
	margin-bottom: 1em;
}


/* override */
.views-view-grid h2.card-title {
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.3em;
}

.home-first-row, .home-second-row, .home-third-row {
    padding: 1rem 1rem 0 1rem!important;
}

@media (min-width: 992px) {
    .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
        background: #fff;
        width: auto;
        height: 80px;
        margin-right: 16px;
}

