/* navbar bg */
header#masthead,
.header-bottom,
#masthead-sticky-wrapper {
  background-color: #006172 !important;
}

/* navbar tendina */
header#masthead ul.sub-menu {
  background-color: #006172 !important;
}


/* colore bg footer */
footer#colophon,
.footer-layout.site-footer,
#top-footer,
#bottom-footer {
  background-color: #006172 !important;
}

/* colore testo del footer */
.site-footer, .site-footer p, .site-footer a {
  color: #ffffff !important;
}

/* Forza testo bianco anche in sticky */
#masthead-sticky-wrapper.is-sticky a,
#masthead-sticky-wrapper.is-sticky .tg-primary-menu > li > a {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* colore testi navbar */
header#masthead .tg-primary-menu > li > a,
header#masthead .tg-primary-menu > li > a:visited,
header#masthead .tg-primary-menu > li > a:link,
header#masthead .tg-primary-menu > li > a:active,
header#masthead .menu a,
header#masthead a,
.site-header a,
.site-header .tg-container a,
#site-navigation a,
#site-navigation li a {
  color: #ffffff !important;
  fill: #ffffff !important;
	font-size: 14px !important
}

/* colore hover testi navbar */
header#masthead a:hover,
header#masthead .menu a:hover,
header#masthead .tg-primary-menu > li > a:hover,
.header-bottom a:hover,
.site-header a:hover,
#site-navigation a:hover,
#site-navigation .menu li a:hover,
button.search-icon:hover,
.search-icon:hover::before {
  color: #E0A820 !important;
  fill: #E0A820 !important;
}

header#masthead ul.sub-menu li a {
  color: #ffffff !important;
}

@media (max-width:680px){.panel-row-style[style]{background-position:center center!important;background-size:auto!important}}.tg-slider-widget .btn-wrapper a{color:#313b48;border-color:#313b48}.tg-slider-widget .btn-wrapper a:hover{background:#313b48;color:#fff;border-color:#313b48}#secondary .widget ul li a{color:#000}.slider-image img {width: 100%;}

@media (max-width: 480px) {
	#pg-643-6 .so-parallax .simpleParallax img, #pg-643-4 .so-parallax .simpleParallax img {
		height:100%;
	object-fit:cover;
	}
}

@media (min-width: 768px) {
  .no-mobile-stack .panel-grid-cell {
    display: inline-block;
    width: 50% !important;
    vertical-align: top;
  }
}

@media (min-width: 768px) {
  .so-panel.widget, 
  .panel-grid-cell {
    box-sizing: border-box;
  }

  .no-mobile-stack .panel-grid-cell {
    padding-left: 30px;
    padding-right: 30px;
		padding-top: 30px;
		padding-bottom: 30px;
  }

	
	/* fix navbar */
nav#flash-breadcrumbs {
    display: none;
}
	
	
.transparent.header-sticky.is-sticky #site-navigation ul li a,
.transparent.header-sticky .is-sticky #site-navigation ul li .sub-toggle,
	.transparent.header-sticky .is-sticky #site-navigation .menu-toggle .fa
{

  color: #fff !important;

}

	
	.transparent.header-sticky .is-sticky .search-icon{
		color: #fff !important;
		border-color: #fff !important;
	}
	
header#masthead, 
	.header-bottom, #masthead-sticky-wrapper,
header#masthead ul.sub-menu {
    background-color: #006172 !important;
}
	
header#masthead a:hover, header#masthead .menu a:hover, header#masthead .tg-primary-menu > li > a:hover, .header-bottom a:hover, .site-header a:hover, #site-navigation a:hover, #site-navigation .menu li a:hover, button.search-icon:hover, .search-icon:hover::before{
	color: #E0A820 !important;
	fill: #E0A820 !important;
	}
	
.search-icon:hover i {
    color: #ffc842;
    /* border-color: green; */
}
	
.search-box.active {
    background-color: #006172;
}

button.search-submit.btn.search-btn {
    background-color: #006172 !important;
}
	
	
		@media (min-width: 0px) {
.transparent.header-sticky .is-sticky #site-navigation .menu-toggle .fa {
	color: white !important;
}

    #site-navigation .menu {
        background: #006172; 
	}

    }
	
@media (max-width: 980px) {
    #site-navigation .menu {
        background: #006172;
    }
}


@media (min-width: 768px) {
        #site-navigation .menu {
            background: #006172 !important;
}
	
	.site-navigation-wrapper a {
  color: #ffffff !important;
}
	
	body.search .entry-title a {
  color: #000000 !important; 
}