
/* TYPOGRAPHY / COLOR */
a {color: #04516A; }
a:focus, a:hover {color:#000;}

.bg-loud {background:#04516A!important;}
.bg-quiet {background:#FBF1DD!important;}
.bg-black {background:#000!important;}
.bg-green {background:#94191D!important;}
.bg-light {background:#FBF1DD!important;}
.dot {background-color:#94191D;}
.cat, .cat a {color:#94191D;}
.text-loud, .text-loud a, a.text-loud {color:#94191D!important;}
.text-quiet, .text-quiet a, a.text-quiet {color:#666!important;}

/* HEADER *//* FOOTER */
#header {background: #04516A;}
#header .header-top {background: #022835; font-size: 16px;}
#header .header-top, #header .header-top a {color:#fff;}
#header .header-top .header-owner, #header .header-top .header-button {padding-top:16px; padding-bottom:16px;max-height:50px;display:inline-block;}
#header .header-top .header-button {background:#94191D; font-weight:600;padding-left:24px; padding-right:24px;}
#header .header {background:#04516A; color:#fff; padding:24px 0 16px 0;}
#header .header-logo, #header .header-title {margin-right:16px; float:left;}
#header .header-logo img {height:50px; width:auto; max-width:auto; }
#header .header-title .header-titlelink a {font-size: 34px; color:#F2D28F; font-weight:700; line-height:110%;}
#header .header-title .header-titlelink a small {font-size: 18px; font-weight:400; margin-top:5px; display:block; color:#fff;}
#header .header .header-utils .header-social, #header .header .header-utils .box-search {text-align:right;}
#header .header .header-utils .header-social  {font-size:18px; color:#fff; margin-bottom:16px;}
#header .header .header-utils .search {max-width:280px; padding-left:16px; float:right; position:relative;}
#header .header .header-utils .search .form-control {margin-right:50px;}
#header .header .header-utils .search .btn.btn-master {background:#fff; position:absolute; right:1px; top:1px; line-height:32px; padding:0 16px; color:#666!important; border:none!important;}
#footer {background:#000;}
#footer, #footer a {color:#fff;}
#footer .footer-top {background:#04516A; padding-top:56px; padding-bottom:24px;}
#footer .footer-box-logo {float:left; margin-right:16px; margin-bottom:16px;}
#footer .footer-logo {float:left; margin-right:16px;}
#footer .footer-title {font-size:28px; line-height:105%;}
#footer .footer-block {margin-top:32px; margin-bottom:32px;}
#footer .footer-blocktitle {font-size:22px; padding-bottom:24px;}
#footer .footer-subtitle {font-size:18px; padding-bottom:16px;}
#footer .footer-subblock {font-size:15px;}
#footer .footer-bottom {background:#022835; padding:24px 0; position:relative;}
#footer .button-up-page {position:absolute; z-index:999; bottom:16px; right:24px; }
#footer .button-up-page .fa {font-size:40px; cursor:pointer;}
/* MENU */
.header-social .navbar-nav > li > a {font-size:18px; padding-left:16px;}
.header-social .navbar-nav > li > a > i {color:#04516A; background:#fff; min-width:28px; padding:5px; -webkit-border-radius: 100%; -moz-border-radius: 100%; border-radius: 100%; text-align:center;}
#footer .navbar-nav > li {margin-right:24px;}
#footer .navbar-nav > li > a {font-size:15px; font-weight:600;}
#footer .footer-block .nav > li > a {font-size:15px; font-weight:600; padding-top:8px; padding-bottom:8px; border-top: 1px solid rgba(255,255,255,0.2);}
#header nav.navigation {background:#04516A; margin:0 auto;}
#header .menuzord {float:none;}
#header .menuzord-menu {float:none; margin:0 auto;}
#header .menuzord-menu > li {display:inline-block; margin:0; padding:0;float:none;}
#header .menuzord-menu > li > a {font-size:17px; padding:16px 20px; color:#fff; font-weight:600; text-transform:uppercase; margin:0;  transition: padding 0.5s ease-in-out 0s; -webkit-transition:padding 0.5s ease-in-out 0s;}
#header .menuzord-menu > li > a:hover, #header .menuzord-menu > li.active a {color:rgba(255,255,255,0.9);}

#header .menuzord-menu > li > a:focus {
    outline:2px solid #000
 }
#header .menuzord-menu > li.active ul.dropdown > li a  {background:none;}
#header .menuzord-menu > li.menu-btn {border:1px solid #6CA0B7; margin-left:15px;}
#header .menuzord-menu > li.menu-btn a {padding:10px 40px;}
#header .menuzord-menu ul.dropdown, #header .menuzord-menu ul.dropdown li ul.dropdown {background: #04516A; padding:0; margin:0; border:none;  z-index:999;}
#header .menuzord-menu ul.dropdown li ul.dropdown {background: #04516A;}
#header .menuzord-menu ul.dropdown > li {margin:0; padding:0;}
#header .menuzord-menu ul.dropdown > li > a {font-size:18px; color:#fff; padding:16px; margin:0 24px 0 0; line-height:110%; border-bottom:1px solid rgba(255,255,255,0.3)!important;}
#header .menuzord-menu ul.dropdown > li:hover > a {color:#fff!important;}
#header .menuzord-menu ul.dropdown > li.tit a, #header .menuzord-menu ul.dropdown > li.tit a {font-size:19px; color:#94191D; text-transform:uppercase;}
#header .menuzord-menu ul.dropdown > li > a:hover, #header .menuzord-menu ul.dropdown > li.tit a:hover {color: rgba(0,0,0,0.7);}
#header .menuzord-menu li .indicator {padding:10px 0; width:95%; line-height:100%;height: auto; text-align:right; margin-right:15px; font-weight:600;}
#header .menuzord a.showhide {background: #94191D;  width: 60px; height: 46px; padding: 13px 0 ; float:right; text-align:center; padding-bottom:10px;}
#header .menuzord a.showhide:after {content:"MENU"; font-size:15px; color:#04516A; padding-top:30px; display:block; font-weight:600;}
#header .menuzord a.showhide em {background: #fff;}
#header .caret {border-left: 4px solid transparent; border-right: 4px solid transparent;  border-top: 4px solid;  margin-left: 5px;}
@media (min-width: 992px) {
#main {padding-top:230px;}
#header .header-top {max-height:52px;}
#header .header {min-height:125px;}
#header nav.navigation   {max-height:56px;  border-top:1px solid rgba(255,255,255,0.5);}
#header .header-title .header-titlelink a, #header .header-logo img {transition: all 0.5s ease-in-out 0s; -webkit-transition:all 0.5s ease-in-out 0s;}
#header .menuzord-menu li:first-child a {padding-left:0;}
#footer .footer-box-logo {min-width:450px;}
/* headroom */
.headroom--unpinned {top: -60px;}
.headroom--pinned {top: 0; }
.headroom--unpinned #header .header {max-height:95px;}
.headroom--unpinned #header .menuzord-menu > li > a {padding-top:8px; padding-bottom:8px;}
.headroom--unpinned #header .header-social  {display:none;}
.headroom--unpinned #header nav.navigation   {max-height:46px;}
.headroom--unpinned #header .menuzord-menu > li > a {padding-top:8px; padding-bottom:8px;}
.headroom--unpinned #header .header-title .header-titlelink a {font-size:28px!important;}
.headroom--unpinned #header .header-title .header-titlelink a small {font-size:16px!important;}
.headroom--unpinned #header .header-logo img  {height:40px!important;}
}

@media (max-width: 991px) {
/* headroom */
.headroom {position: relative;}
#header {padding-bottom:16px;}
#header .header-top {font-size: 14px;}
#header .header-top .header-owner, #header .header-top .header-button {padding-top:8px; padding-bottom:8px;}
#header .header-top .header-button {padding-left:16px; padding-right:16px;}
#header .header {padding:16px 0 0 0; margin:0 auto;}
#header .header-logo {margin-right:8px;}
#header .header-logo img {height:40px; margin-bottom:10px;}
#header .header-title .header-titlelink a {font-size: 22px;}
#header .header-title .header-titlelink a small {font-size: 16px;}
#header .header .header-utils {right:80px; position:absolute; z-index:100; bottom:0;}
#header .header-utils a.icon {background: #000; color:#fff; width:46px; float:right; height:46px; display:block; text-align:center;}
#header .header-utils a.icon i {line-height:46px;}
/* MENUZORD */
#header nav.navigation {background:none;}
#header nav.navigation .header-container {padding:0;}
#header .menuzord .showhide {margin-top:-46px!important; margin-right:16px!important;}
#header .menuzord  {padding:0; margin:0; z-index:999999;}
#header .menuzord-menu.menuzord-indented   {margin-top:15px; padding:15px 0; background:#04516A; border-top:2px solid #fff; border-bottom:2px solid #fff;}
#header .menuzord-menu > li.menu-btn {margin-left:0;}
#header .menuzord-menu > li > a, #header .menuzord-menu > li.menu-btn a {padding:10px 20px; border-bottom: 1px solid rgba(255,255,255,0.2);}
#header .menuzord-menu > li.active a {background:none;}
#header .menuzord-menu > li.menu-btn {border:none;}
#header .menuzord-menu ul.dropdown > li > a, #header .menuzord-menu ul.dropdown > li > a:hover {font-size:17px;}
#footer .footer-logo {width:50px;}
}
@media (max-width: 767px) {
#header .header-top .header-button {padding-left: 8px; padding-right: 8px;}
#header .header-logo img {height:30px;}
#header .header-title .header-titlelink {max-width:200px; display:block;}
#header .header-title .header-titlelink a {font-size: 20px;}
#header .header-title .header-titlelink a small {display:none;}
}
@media (max-width: 480px) {
#header .header-logo img {height:25px;}
#header .header-title .header-titlelink {max-width:140px;}
}

/* NAVIGATION */
.mobile-nav-link {background:#FBF1DD;}
#subnav.navigation {padding-bottom:16px;}
.nav.linklist > li > a, .nav.linklist ul > li > a  {color:#94191D;}
.navigation .nav.linklist li a.item-collapse {background: url('../img/arrow-down-grey-small.png') no-repeat center right 16px;}
.navigation .nav.linklist li a.item-collapse.active {background: url('../img/arrow-up-grey-small.png') no-repeat center right 16px #E2E2D6!important; color:#333!important;}
.navigation .nav.linklist li a.linklist-lev1, .navigation .nav.linklist li a.linklist-lev1:hover  {background-color: #04516A; color:#fff;}
.navigation .nav.linklist li a.linklist-lev2, .navigation .nav.linklist li a.linklist-lev2:hover  {background-color: #FBF1DD; color:#333;}
.navigation .nav.linklist li a.linklist-lev2.active {font-weight:700;}
.navigation .nav.linklist li a.linklist-lev3, .navigation .nav.linklist li a.linklist-lev3:hover  {background-color: #fff; color:#333;}
.navigation .nav.linklist li a.linklist-lev3, .nav.linklist li ul > li > ul > li > a {padding: 8px 50px; font-size:16px;}
.nav.linklist li ul > li > ul > li > ul > li > a {padding: 8px 60px;}
.navigation .nav.linklist li a.linklist-lev3.active {color:#94191D; font-weight:700;}
.navigation .nav.linklist > li > a:hover, .navigation .nav.linklist > li ul li a:hover  {background-color: #FBF1DD; color:#333;}
.col-dx .box-link {text-align:right; padding:24px 0;}

/* CUSTOM GOOGLE SEARCH e RISULTATI [INIZIO]*/
form.gsc-search-box {font-size:15px!important; margin-bottom:8px!important;}
.gsc-input-box { height: 30px!important; }
.gsc-input-box .gsib_a { padding: 0 6px 0!important; }
.gsc-input-box .gsib_a input { background: none!important; text-indent: 0!important; }
.gsc-input-box tr, .gsc-input-box .table .row { border-bottom: none!important; }
.gsc-search-box tr, .gsc-search-box .table .row { border-bottom: none!important; }
table.gsc-search-box td .gsib_b { vertical-align: top!important; }
.gsc-search-box table td { padding: 0px!important; }
input.gsc-search-button, input.gsc-search-button:hover, input.gsc-search-button:focus { min-height: 30px!important; }
.cse .gsc-search-button input.gsc-search-button-v2,
input.gsc-search-button-v2 { width: auto!important; min-width: 13px; height: 13px; padding: 6px 27px; margin-top: 5px; }
input.gsc-input, .gsc-input-box, .gsc-input-box-hover, .gsc-input-box-focus { border-color: #D9D9D9; color:#1c2024!important;}
input.gsc-search-button, input.gsc-search-button:hover, input.gsc-search-button:focus { border-color: #000!important; background-color: #000!important; background-image: none; filter: none; }
.gsc-search-box-tools .gsc-search-box .gsc-input { margin-bottom: 0px!important; }

/* liste media */
.lista.media { border: none; margin: 0px; padding: 0px; list-style: disc inside none; }
.lista.media .box a { cursor: pointer; display: block; color: #0B548B; }
.lista.media .box { width: 96%; padding: 15px 2%; margin-bottom: 20px; position: relative; border-bottom: .5pt solid #ccc; }
.lista.media .box .textarea { position: relative; height: auto; overflow: hidden; }
.lista.media .box .textarea { width: 28%; float: left; }
.lista.media .box .textarea { width: 66%; margin: 0 3% 0 0; }
.lista.media .box .img { width: 25%; margin-right: 3%; height: auto; padding: 0; border: none; float: left; overflow: hidden; }
.lista.media .box .img img { width: 100%; max-width: 100%; float: left; }
.lista.media .box .img-lista-ricerca { max-width: 10%; margin-right: 3%; height: auto; padding: 0; border: none; float: left; overflow: hidden; }
.lista.media .box:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; }

/* CUSTOM GOOGLE SEARCH e RISULTATI [FINE]*/

/* Bottoni ICONE */
.btn.btn-master {background:#04516A; border:1px solid #04516A; color:#fff;}
.btn.btn-master.btn-light {background:#FBF1DD; border:1px solid #eee; color:#04516A;}
.btn.btn-master.btn-loud {background:#94191D; border:1px solid #94191D;}

/* CONTENUTI box e template */
.template-single-news {padding: 40px 0 24px 0; background:#FBF1DD;}
.template-single-news .box-content {padding:0 50px 0 0;}
.template-single-news .title a {font-weight:600!important; color:#022835;}
.template-news {padding: 40px 0 32px 0;background:#FBF1DD;}
.template-news .box {background:#fff; -webkit-box-shadow: 0px 2px 3px -1px rgba(0,0,0,0.4); -moz-box-shadow: 0px 2px 3px -1px rgba(0,0,0,0.4); box-shadow: 0px 2px 3px -1px rgba(0,0,0,0.4);}
.template-news .box-content {padding:24px;}
.template-news-int {padding:24px; margin:24px auto; border:1px solid #ddd;}
.template-news-int .box {padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid #ddd;}
.box.article .title a {font-weight:600!important; color:#022835;}
.box.article .dot {height:10px; width:10px;}

.template-accessi {padding: 40px 0 32px 0;}
.template-accessi .box {background:#FBF1DD; padding:24px;}
.template-accessi .box .fa {margin-right:8px; font-size:28px;}
.template-accessi .title a {color:#022835; font-weight:600;}

.template-accessi.template-accessi-int .txt {display:none;}

.template-accessi.template-accessi-home .box {background:#04516A; color:#fff;}
.template-accessi.template-accessi-home .box a {color:#fff;}
/*.template-accessi.template-accessi-home .row .col-xs-12:nth-child(2) .box {background:#994227;}
.template-accessi.template-accessi-home .row .col-xs-12:nth-child(3) .box {background:#464A20;}
.template-accessi.template-accessi-home .row .col-xs-12:nth-child(4) .box {background:#21323B;}
.template-accessi.template-accessi-home .row .col-xs-12:nth-child(5) .box {background:#496E81;}
.template-accessi.template-accessi-home .row .col-xs-12:nth-child(6) .box {background:#99505B;}*/
.template-menu {padding: 40px 0 32px 0;}
.template-menu .box {padding-top:32px; border-top:15px solid #04516A;}
.template-banner {padding:32px 0 24px 0;}
.template-banner ul.list-banner {text-align:center;}
.template-banner ul.list-banner li  {max-width:140px; display: inline-block; border:1px solid #ddd; text-align:center; margin:0 8px 16px 8px;}
.template-banner ul.list-banner li img  {width:auto; max-width:100%;}

.template-breadcrumb {padding: 24px 0 16px 0;}
.breadcrumb a, .breadcrumb a:hover {color:#04516A;}
.template-content-head {padding: 32px 0 24px 0;}
.box-title-master {margin-bottom:16px; padding:0; color:#022835;}
.title-master a {color:#94191D;}
.template-content .prose {color: #1c2024;}
.template-content .prose blockquote {border-left:5px solid #04516A;}

.template-content .document a {color: #022835;}
.template-content .document a .fa {color: #04516A;}
.elenco-media .box-content a {color:#94191D;}
.elenco-media .title a {color:#04516A; font-weight:600;}

.allerta {text-align:center; padding:16px 16px;}
.allerta, .allerta a {color:#fff;}
.allerta.allerta-verde {color:#fff; background:#46561A;}
.allerta.allerta-giallo, .allerta.allerta-giallo a {color:#000; background:#FAFF13;}
.allerta.allerta-arancio {color:#fff; background:#ED923C;}
.allerta.allerta-rosso {color:#fff; background:#F40024;}

/* ACCORDION */
.panel-heading , .panel-heading a, .template-content .prose .panel-heading a {color: #04516A;}
.panel-default >.panel-heading .panel-title a, .template-content .prose .panel-default .panel-heading .panel-title a {color: #94191D!important;}

/* SHARE */
.box-share {margin-bottom:24px; text-align:right;}
.box-share a {background:#94191D;}
.box-share a span {background:#FBF1DD; color:#5a6772;}
.box-share a .fa {color:#fff;}

/* visori - carousel */
.box-hero {position:relative; min-height:100px; padding:0;}
/*.box-hero .hero-content {padding-top:200px; width:80%; margin:0 auto; text-align:center; background:rgba(255,255,255,0);}*/
.box-hero .hero-content {max-width:450px; bottom:25%;  padding:8px 24px; background: rgba(255,255,255,0.8); position:absolute; margin:0 auto; text-align:center; z-index:100; display:block; left:0; right:0;}

.visore-home, .visore {padding:0; position:relative;}
.visore-home  {width:100%; margin:0 auto; position:relative; height:auto; display:block;}
.visore-home:after  {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
.visore-home .carousel-caption {padding:0; right:auto;color:#000; background:rgba(255,255,255,0.7); text-shadow:0 0 0 rgba(0, 0, 0, 0); text-align:left;}
.visore-home .carousel-caption h1 {color:#000;}
.visore-home .carousel-caption h1 {margin-bottom:10px;}
.visore-home .txt {margin:0; display:block;}
.visore-home .img {width:100%; height:auto;}
.visore-home .carousel-inner > .item > img {min-height:auto;}

.visore-int {padding:0; position:relative;}
.visore-navb {position:absolute; bottom:45%; left:0; width:100%; z-index:200;}
.visore-navb .prev {float:left;}
.visore-navb .next {float:right;}

.advanced-slider .img {background:#000; height:100%!important; text-align:center;}
.advanced-slider img {height:100%!important; width:auto!important;  max-width:auto!important; max-height:100%!important;}

.template-header-bg {width:100%;}
.template-header-bg .box-img {max-height: auto; text-align: center; overflow: hidden;}
.template-header-bg .box-img img {width: auto;   max-width: 100%;}

.gsc-search-box-tools .gsc-search-box .gsc-input:focus {
    outline:2px solid #000!important
 }