@font-face {
    font-family: 'Montserrat';
    src: url('font/Montserrat-Bold.eot');
    src: url('font/Montserrat-Bold.eot?#iefix') format('embedded-opentype'),
        url('font/Montserrat-Bold.woff') format('woff'),
        url('font/Montserrat-Bold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('font/Montserrat-Medium.eot');
    src: url('font/Montserrat-Medium.eot?#iefix') format('embedded-opentype'),
        url('font/Montserrat-Medium.woff') format('woff'),
        url('font/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('font/Montserrat-Black.eot');
    src: url('font/Montserrat-Black.eot?#iefix') format('embedded-opentype'),
        url('font/Montserrat-Black.woff') format('woff'),
        url('font/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('font/Montserrat-Light.eot');
    src: url('font/Montserrat-Light.eot?#iefix') format('embedded-opentype'),
        url('font/Montserrat-Light.woff') format('woff'),
        url('font/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


:root {
    --white:#ffffff;
    --grey:#6E6E6E;
    --dark_gray:#343434;
    --black:#000000; 
    --purple:#333399; 
    --orange: #cddbf4;
    --light_gray:#f2f1f0;
    --focus: #ffffff /*#ff9900*/;
    --orange:#ffa200;
    --green:#34a742;
    --font-title: 'Montserrat', sans-serif;
    --font-text: 'Montserrat', sans-serif;

}

/* Stili di base e tipografia */
html {scroll-padding-top: 122px;}

*{margin:0px; padding:0px}
body { font-family: var(--font-text); font-size:15px; color: var(--dark_gray); background-color:var(--white); background: var(--dark_gray);}

::-moz-selection {color: var(--white); background:var(--dark_gray);}    
::selection {color: var(--white);  background:var(--dark_gray);}

/* h1 h2 h3 h4 */ 
h1{color: var(--dark_gray); font-family: var(--font-title); font-size:2.2em; margin-top:20px; margin-bottom:20px; font-weight:500; }
h2{color: var(--dark_gray); font-family: var(--font-title); font-size:1.6em; margin-top:10px; margin-bottom:5px; font-weight:500; }
h3{color: var(--dark_gray); font-size:1.2em; font-family: var(--font-title); font-weight:500; margin-bottom:5px; }


ul{padding-left:30px; margin-top:10px; margin-bottom:10px;}
ol{padding-left:30px; margin-top:10px; margin-bottom:10px; font-weight:bold;}

/*LINK*/
a{color:inherit; opacity:1; text-decoration:none; }
a:hover {text-decoration:none; color:inherit; color: var(--orange);}

/* IMAGES RESPONSIVE */
img {border:0; vertical-align:middle; -ms-interpolation-mode:bicubic; }
svg {
  fill: var(--dark_gray);
  height: 24px;
  width: 24px;
}

figure{background:var(--dark_gray); position: absolute; z-index: 10000; color: #fff; padding:5px;  font-weight: 500; text-transform: uppercase;}
.icon {
  height: 32px;
  vertical-align: middle;
  }
/*LINEA*/
hr {clear: both; display: block; height:3px; margin-top:30px;  margin-bottom:10px;  background-color: var(--light_gray); border-radius:5px; border: 0px; }

/*IMPORTANTI*/
nav{margin: 0 auto; float:right; font-family: var(--font-title);} 
section {clear:both; padding:0px; z-index: 1000; overflow:hidden; min-height:500px; background-color: var(--white); padding-bottom:50px;}
section img {max-width:100%; overflow: hidden; height: auto;}

/*FOOTER*/
footer {width: 100%; background-color:var(--dark_gray); overflow: hidden; box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; color: var(--white); padding: 20px;}
footer a{text-decoration: none; display: inline-block}
footer a:hover{text-decoration:underline; color: var(--orange)}

footer .credits{clear: both; border-top: 1px solid var(--white); text-align: center; padding: 10px;}
footer .indirizzo  {float: right; text-align: right; padding-top:20px; padding-bottom:20px}

footer .social  {float: left; display:none !important;}
footer .social ul  {padding:0px; padding-top: 20px;}
footer .social li {width:auto; display: inline-block; margin:0px; padding-right:5px; }
footer .social li img {width: 30px}

/*FORM*/
form {width: 100%; border-bottom: 3px solid #8a8a8a;}
fieldset{padding:10px; box-sizing:border-box; border: 0px; margin-bottom: 10px; margin-top: 10px; outline:none; -webkit-border-radius:2px; border-radius:2px; }
form h2{margin-bottom:0px; clear: both; }
legend {font-weight:bold; font-size: 1.2em;}
label {display:block; padding-top:5px; padding-bottom:5px;}
label a{text-decoration: underline; font-style: italic;}

select{  font-family: var(--font-text); font-size:1em;width:100%; border: 1px solid var(--light_gray); color:var(--dark_gray); background-image: url(/images/arrow.png); background-repeat: no-repeat;  -webkit-border-radius: 2px;  border-radius: 2px;  background-position: right;  margin-bottom: 10px;  -webkit-appearance: none;  -moz-appearance: none;  appearance: none;  outline: none;}
select:disabled {opacity: 0.5}
textarea{font-family: var(--font-text); width:100%; padding:10px; color:var(--dark_gray); clear:both !important; box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box;  margin-top:5px;  margin-bottom:5px; }

input, select, textarea { font-size: 16px !important; /* Impedisce lo zoom automatico su iOS */}


input{font-family: var(--font-text); color:var(--dark_gray);  -webkit-appearance:none; -moz-appearance:none; appearance:none; -webkit-border-radius:2px; border-radius:2px; }
input[type=text], input[type=date], input[type=password], input[type=datetime], input[type=number],input[type=search], input[type=time], input[type=url],input[type=email], textarea, select {box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box;-webkit-box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; -moz-box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; border:0px; padding:5px; }
input[type=text] {width: 100%; overflow: hidden; box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; margin-top:5px;  margin-bottom:5px; -webkit-appearance: none; -moz-appearance: none; appearance: none}
input[type=search] {overflow: hidden; box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; margin-bottom:5px; }
input[type=password]{font-weight:bold;}
input[type=date]{background-image:url(/images/calendar.png); background-repeat:no-repeat; background-position:right; padding:9px !important;}
input[type=file]{font-weight:bold; }

input[type="checkbox"] {width: 15px; height: 15px; border: 1px solid var(--dark_gray);  margin-right: 5px; float:left; color: #FFF; appearance: checkbox !important; }

input[type="radio"] { width:15px !important; border:none; display:inline}
input[type=button] {overflow: hidden; background-color: var(--dark_gray) !important; color:var(--white) !important; display: block; text-align:center; font-size:1em; cursor: pointer; margin:0 auto; padding:10px 20px 10px 20px; border:0px !important; -webkit-border-radius:2px; border-radius:2px;}
input[type=button]:hover {opacity:0.8; background-color: var(--dark_gray) !important; color:var(--white) !important; transition: opacity 0.30s ease-in-out; -o-transition: opacity 0.30s ease-in-out; -webkit-transition: opacity 0.30s ease-in-out; -moz-transition:opacity 0.30s ease-in-out; text-decoration:none;}

input[type=submit] {overflow: hidden; background-color: var(--orange) !important; color:var(--dark_gray) !important; display: block; text-align:center; font-size:1em; cursor: pointer;  margin:0 auto; padding:10px 20px 10px 20px; border:0px !important; -webkit-border-radius:2px; border-radius:2px;}
input[type=submit]:hover {opacity:0.8; background-color: var(--orange) !important; color:var(--dark_gray) !important; transition: opacity 0.30s ease-in-out; -o-transition: opacity 0.30s ease-in-out; -webkit-transition: opacity 0.30s ease-in-out; -moz-transition:opacity 0.30s ease-in-out; text-decoration:none;}

input[type=text], input[type=date], input[type=password], input[type=datetime], input[type=number],input[type=search], input[type=time], input[type=url],input[type=email], textarea, select{box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box;-webkit-box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; -moz-box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; -webkit-transition: all 0.30s ease-in-out;-moz-transition: all 0.30s ease-in-out;-ms-transition: all 0.30s ease-in-out;-o-transition: all 0.30s ease-in-out; outline: none; border: 1px solid var(--light_gray); -webkit-appearance: none; -moz-appearance: none; appearance: none;}
input[type=text]:focus, input[type=date]:focus, input[type=datetime]:focus, input[type=number]:focus, input[type=search]:focus,input[type=time]:focus, input[type=url]:focus, input[type=email]:focus, textarea:focus, select:focus{-moz-box-shadow: 0 0 3px var(--dark_gray); -webkit-box-shadow: 0 0 3px var(--dark_gray); box-shadow: 0 0 3px var(--dark_gray); border: 1px solid var(--light_gray); -webkit-transition: all 0.30s ease-in-out; -moz-transition: all 0.30s ease-in-out; -ms-transition: all 0.30s ease-in-out; -o-transition: all 0.30s ease-in-out; -webkit-appearance: none; -moz-appearance: none; appearance: none;}

form .errormsg{color: red !important; }
form .calendar_control {background: url('/images/calendar.png') no-repeat; background-position: left center; padding-left:40px!important;}


.error_page {margin-top:10px; padding-top:20px; text-align:center; margin: 0 auto; max-width:1140px; position: relative;}
.error_page h1{text-transform: uppercase;}
.error_page img{width:40%}

#contenuto_superiore{padding-top: 20px; margin-bottom: 20px; text-align: center; }
#contenuto_superiore h1{ font-weight: 500; margin-bottom:0px;}
#contenuto_superiore p{font-weight: 300; font-size: 1.4em;}

#contenuto_inferiore{margin-top: 20px; margin-bottom: 20px;}
#contenuto_inferiore h3{font-weight: 300;}
#contenuto_inferiore p{font-weight: 300;}

/*STILI UTILI*/
.spacer{clear:both; display:block; height: 10px;}
.spacer20{clear:both; display:block; height: 20px;}
.right{float:right; width: 100%; text-align: right;}
.left{float:left; width: 100%; text-align: left;}
.center{clear: both; width: 100%; text-align: center; margin: 0 auto;}
.wrap{margin:0 auto; max-width:1140px; position: relative;}
.no-margin {margin:0px!important;}
.display-none{display:none!important;}
.background-blue{background-color: var(--dark_gray)}
.page_strip{background-color: var(--light_gray)}
.no_background{background:none !important;}
.margin_bottom{margin-bottom: 20px !important;}
.no-list-style{list-style-type: none !important; list-style: none!important; margin: 0 !important; padding:0px!important; line-height:1.5em}

/*PRINCIPALI*/
#container{margin:0 auto;}
#main-content {background-color:var(--white); margin-top:20px; min-height: 600px;}
#main-content-carica {background-color:var(--white); margin-top:18px;}
#main-content-carica p{margin-bottom:20px;}

.flex-grid { margin:0px; display: flex; display: -webkit-flex; flex-flow: row nowrap; -webkit-flex-flow: row nowrap; align-items: stretch; -webkit-align-items: stretch; justify-content: space-between; -webkit-justify-content: space-between;}
.col, .col_3, .col_list, .col_video, .col_ricerca {margin:5px 5px 0px 5px; margin-top:0px; flex: 1; display: flex; display: -webkit-flex; flex-direction: column; -webkit-flex-direction: column; /*display:block;*/}


/*RICERCA TOP*/
#box_ri cerca{overflow: hidden; float: right; /* width:25%; */ margin-top:50px; text-align: right; padding: 0px;}
.form_ricerca button{background-color: var(--orange) !important; color:var(--dark_gray) !important; border:0px !important; height:34px; padding-left:15px; padding-right:15px; cursor:pointer; font-weight:bold; -webkit-border-radius:2px; border-radius:2px;}

/*MULTILINGUA*/
.language{cursor:pointer; float: right; right: 0px; position: absolute; top:26px; background-color: #fff; overflow:hidden; margin-right:20px; margin-left:0px; color:var(--dark_gray); font-weight:400; border: 1px solid #fff; padding:3px; width:22px; text-align:center; }

/*HEADER*/
#top_header {/*overflow: hidden;*/ display:inline-block; width: 100%; z-index: 5000;}
#header {clear:both; z-index: 5000; position: relative; overflow:hidden; }
#logo{float: left; display: inline-block;  margin-left: 20px;}

/*TOP HEADER FISSA*/
.header-fixed {position: fixed; background-color: var(--dark_gray); top: 0; left: 0; box-shadow: 0 1px 4px #cfcfcf; width: 100%; height:80px; z-index: 9998; transition: All 0.3s ease; -webkit-transition: All 0.3s ease; -moz-transition: All 0.3s ease; -o-transition: All 0.3s ease; border-top:10px solid var(--dark_gray);} 
.header-fixed img {height: 70px; -webkit-transition: All 0.3s ease; -moz-transition: All 0.3s ease; -o-transition: All 0.3s ease;}
.header-relative {height: 70px;}
.header-fixed.resized {height:60px;}
.header-fixed.resized img {height:50px; float: left; -webkit-transition: All 0.3s ease; -moz-transition: All 0.3s ease; -o-transition: All 0.3s ease;}

.back_header {height:750px; background-position:center center; background-size:110%; background-repeat: no-repeat; } 

/*TESTATA VIDEO*/
.testata_video{background-color: var(--dark_gray); width: 100%; overflow: hidden;}
.video-container {position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0;}
.video-container iframe, .video-container object, .video-container embed {position: absolute; top: 0; left: 0; width:100%; height:600px;}

/*TESTATA ROTANTE*/
.slides {height:800px; width:100%; background-size:120%; background-position:center center; background-repeat: no-repeat;}
.frame{position: absolute; top: 100px;}
.frame_left {left:0px; text-align: left; /*border-radius: 0px 15px 15px 0px;  -webkit-border-radius: 0px 15px 15px 0px;  background-color: var(--dark_gray);*/}
.frame_right{right:0px; text-align: right; /*border-radius: 15px 0px 0px 15px; -webkit-border-radius:15px 0px 0px 15px; background-color: var(--dark_gray);*/}
.frame_center{margin:0 auto;  border-radius: 15px;}
.message{padding:20px 80px 20px 80px; font-size:2.8em; color: var(--white); text-shadow: 0px 0px 7px rgba(0,0,0,.4);}
.clickable {cursor:pointer}

#animazionenav {z-index:50; text-align:center; height: 25px; margin-top: -32px; position: absolute; width:100%;}
#animazionenav a {display:inline-block; padding:0px; margin-left: 3px; text-decoration: none; background:url(/images/off.png) no-repeat; opacity:1 !important; width: 15px; height:15px; }
#animazionenav a.activeSlide { background:url(/images/on.png) no-repeat; }

/*SCROLL TOP*/
.scrolltotop {width:40px; height:40px; position:fixed; background-color: var(--white); right:10px; bottom:150px; z-index: 2000; display:none; text-indent:-1000px; border:3px solid var(--white); border-radius: 5px;  background-image:url(/images/scroll_top.png); background-repeat:no-repeat;}

/*SOTTOMENu*/
.sottomenu {margin-left:0px !important; padding-left: 0px; text-align:center; width: 100%; overflow: hidden;}
.sottomenu ul {list-style-type: none; width: 100%;  }
.sottomenu li {float: left; color: var(--white); font-weight:bold; list-style-type: none; }
.sottomenu li a {text-decoration: none; display: block; margin: 1%; width: 20%;  background-color: var(--dark_gray); -moz-border-radius: 5px; -webkit-border-radius: 5px;  padding:5px 10px 5px; }
.sottomenu li a:hover{opacity:0.8; text-decoration: underline; transition: opacity 0.25s ease-in; -o-transition: opacity 0.25s ease-in; -webkit-transition: opacity 0.25s ease-in; -moz-transition:opacity 0.25s ease-in; }

/*PULSANTONI BOX HOME*/
.content_box_home_puls{clear:both; margin-bottom:40px; margin-top:20px; display: block; }

/*HOME CONTENITORE NEWS*/
.content_news{margin-bottom: 20px; display: block; width:100% }
.content_news h2{color:var(--dark_gray); margin-top:30px; margin-bottom:20px; font-size: 1.8em;}

.leggi_altro{background-color: var(--dark_gray) !important; color: var(--white) !important; text-align: center; display: inline-block; margin-top: 10px;  font-size: 1em;   cursor:pointer; padding:6px; border:0px !important; -webkit-border-radius: 2px; border-radius: 2px;}



/*Rotatore home*/
.content_box_rotante{margin-top: 40px;}
.splide__pagination{position: relative; bottom: -2em !important}
.splide__pagination__page.is-active{background-color: var(--orange) !important;}
.splide__pagination__page{background-color: var(--dark_gray) !important;}

/*VISORI BOX HOME*/
.content_box_home_top{display: block; width: 100%; margin-top:10px;}
.content_box_home_center{display: block; width: 100%; }
.content_box_home_rotante {margin-bottom:50px}
.content_box_home_bottom{display: block; width: 100%; margin-top:20px;}
.content_box_icona{ margin-top:20px; margin-bottom:10px; margin-left:1%; width: 32.3%; border-radius: 5px 5px 5px 5px; display:block; min-height:100px; display: flex; float: left; height: 200px; background-position:center bottom !important; background-size:100% !important; background-repeat: no-repeat !important; }
.content_box_icona:last-child  { margin-left:6px}
.content_box_icona h3{color: var(--white); font-size:1.3em; text-align: center; font-weight:normal; margin:10px; box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; height: 50px; }
.content_box_icona h3:hover{text-decoration: underline;}

/* BARRA NAVIGAZIONE */
.breadcrumb {margin:0; display: block; overflow: hidden; padding-top: 20px;padding-bottom:10px;padding-left: 0px; font-size: 0.9em;}
.spacer_breadcrumb{clear:both; display:block;}
.breadcrumb ul {list-style-type: none;}
.breadcrumb li {float:left;  text-transform: uppercase; list-style: none; display: flex;}

.breadcrumb li:last-child {border-right: 0px solid var(--white); color: var(--orange); }
.breadcrumb li a {text-decoration: none; display: block;}
.breadcrumb li a:hover {opacity:0.8; transition: opacity 0.30s ease-in-out; -o-transition: opacity 0.30s ease-in-out; -webkit-transition: opacity 0.30s ease-in-out; -moz-transition:opacity 0.30s ease-in-out; text-decoration:none;}
.breadcrumb li a img{padding-left:5px; padding-right:10px; }
.breadcrumb-view-Apertura-dettagli {display:none!important;}

/*PAGINA COMPOSITA*/
.dettaglio_intero{ width:100%; font-size:1em !important;} 
.dettaglio_intero h6{display: none;} 
.dettaglio_splittato {width:70%;float:left; font-size:1em !important; }

/*PAGINA MOTORE DI RICERCA*/

.barra_ricerca{border-bottom: 2px solid var(--grey); padding-bottom: 10px;}
.barra_ricerca input{width: 98%}
.barra_ricerca select{width: 98%;}
.barra_ricerca input[type=button]{margin: 0px; padding: 7px!important}

.search_box {border: 1px solid var(--light_gray); padding: 10px; display: block; margin-top: 15px; overflow: hidden; -webkit-border-radius:2px; border-radius:2px;}
.search_box span{float: right; color: var(--dark_gray);  }
.search_categoria{color: var(--dark_gray); font-weight:normal; }

.search_box img{float: left;}
.search_video{margin-right:5px; width:150px; max-width:150px; cursor:pointer; float: left;}
.search_copertina{margin-right:10px; width:150px; cursor:pointer; float: left;}
.search_copertina img {position: absolute; left: 50%;top: 50%; width: 100%; height: auto;-webkit-transform: translate(-50%,-50%);-ms-transform: translate(-50%,-50%);transform: translate(-50%,-50%);}
.search_icon{margin-right: 5px; max-width: 150px; cursor: pointer; float: left;  background:var(--dark_gray);}

/*PAGINATORE*/
.paginatore {margin-top:15px; text-align: center; margin-bottom:30px; }
.paginatore nav {overflow:hidden; display:block; text-align:center; width:100%; border-top: 3px solid var(--light_gray); padding-top:10px;}
.paginatore ul{list-style-type: none; margin:0 auto; padding: 0px; text-align:center; width:fit-content; margin-top:10px; }
.paginatore li {float: left; list-style: none; display: flex; font-weight: 500; }
.paginatore li a {padding:3px 3px 3px 10px;}
.paginatore li a:hover{text-decoration:underline !important; }
.paginatore li .sel{background-color:var(--dark_gray); color: var(--white); display: inline-block; width:30px; text-align: center; padding:3px; text-decoration: none; text-decoration: none !important; border-radius:30px;}


/*SITE MAP*/
ul.site-menu {list-style-image:url(../images/list.png)!important; padding-right:10px; }
.site-menu span {color: var(--dark_gray); font-weight: 500; font-size: 1.1em; padding:0px; margin:0px; padding-top:10px; display:block; line-height:2em; }
.site-menu ul {list-style-image:url(../images/list.png)!important; list-style-type: none; padding: 0px; padding-left: 0px; margin: 0px; padding-left: 15px; }

/*DETTAGLIO NEWS*/
#dettaglioNews{margin:0px; padding-top:15px; display: block; clear: both; width: 100%;  padding-bottom:15px;  overflow:hidden; display: block; border-bottom:2px solid var(--light_gray);}
#dettaglioNews h2{color: var(--dark_gray); font-size:1.1em; font-weight:bold; padding-bottom:0px; background: none; margin-top: 0px;  }
#dettaglioNews p { line-height: 1.5em; font-size:1em!important; }
#dettaglioNews p a{color: var(--dark_gray); font-weight:bold;}
#dettaglioNews img {margin-bottom:10px; width: 100%; clear:both!!important; display:block; overflow: hidden; -webkit-border-radius:2px; border-radius:2px;}

#dettaglioNews .data {margin-bottom: 5px; display: block; text-transform:capitalize; font-weight:normal; font-style: italic; padding: 0;}
#dettaglioNews .comune {font-weight:bold; color: var(--dark_gray); margin-bottom: 5px; font-size: 1.4em; }
#dettaglioNews .localita {font-weight:bold; margin-bottom: 5px;  }
#dettaglioNews .allegato {color: var(--dark_gray); border:1px solid var(--dark_gray); background-color: var(--white); padding: 8px; margin-top: 20px; overflow: hidden; width: max-content; -webkit-border-radius: 2px; border-radius:2px}
#dettaglioNews .fonte {margin-top:10px; color: var(--dark_gray); font-style:italic; float: right; }
#dettaglioNews .titolo {font-size: 1.1em; text-align: left; text-transform: uppercase; font-family: var(--font-title);  }
#dettaglioNews span.titolo {clear: both; display: block; float: none; font-weight: 500; padding-top: 10px;}
#dettaglioNews .descrizione {font-size: 1em;  font-weight: 300; padding: 0; }

.back {display: inline-block; font-weight:lighter; overflow: hidden; float:right; Margin-bottom: 10px; background: var(--dark_gray); color: var(--white); padding:7px 15px 7px 20px; overflow: hidden; -webkit-border-radius:2px; border-radius:2px;}
.back a:hover {color: var(--white); text-decoration: underline;}

/*DETTAGLIO LATERALE LIBERO*/
#contenuto_laterale {background-color:var(--light_gray); padding:15px; width:25%; float:right; overflow: hidden;  -webkit-border-radius:2px; border-radius:2px; /*margin-top: 20px;*/ margin-bottom: 20px;}
#contenuto_laterale h3{color: var(--dark_gray); font-size:1.1em; text-align: left; margin-bottom: 5px; }
#contenuto_laterale h4{font-size:1em; text-align: left; margin-bottom: 5px; }
#contenuto_laterale h5{font-size:0.9em; text-align:left; margin-bottom: 5px;  }
#contenuto_laterale h6{font-size:0.8em; text-align:left; margin-bottom: 5px; }

#contenuto_laterale img {border: 0px;  width: all !important; -webkit-border-radius:2px; border-radius:2px; }
ul.lista_laterale {font-weight:lighter; font-size: 0.9em; }
ul.lista_laterale li {list-style-image: url(/images/list.png);}
#contenuto_laterale p{padding:5px 0px 5px 0px; line-height:1.5em;  font-size: 0.9em;  }
#contenuto_laterale div{ padding:5px 0px 5px 0px; line-height:1.5em;  font-size: 0.9em;  }
#contenuto_laterale table{width: 100%; border:0px !important;   }
#contenuto_laterale img{width: 100%;  }
#contenuto_laterale iframe{width: 100%; border:0px !important; -webkit-border-radius:2px; border-radius:2px; border:1px solid var(--white) !important; height: 300px !important;  }

.progetti_servizi{width: 100%; clear:both;padding-top:20px; display: block; overflow: hidden }
.progetti_servizi img{width:30px !important; float: left !important;}

/* SEZIONE BLOCCO A DUE TESTI */
.sezione_due_blocchi {overflow:hidden; margin-top: 20px; margin-bottom: 20px;}
.sezione_due_blocchi .sezione_sx {float:left; width:49%}
.sezione_due_blocchi .sezione_sx h2{clear: both; width:100%; font-weight: normal;  background-image: url(/images/back_title.png); background-repeat: no-repeat; background-position: bottom left; line-height: 2em;}
.sezione_due_blocchi .sezione_sx img{float:left; background-color: #d8d8d8; padding: 10px; -webkit-border-radius:2px; border-radius:2px; max-width: 49%;}

.sezione_due_blocchi .sezione_dx {float:right; width:49%}
.sezione_due_blocchi .sezione_dx h2{clear: both; width:100%; font-weight: normal;   background-image: url(/images/back_title.png); background-repeat: no-repeat; background-position: bottom left; line-height: 2em;}
.sezione_due_blocchi .sezione_dx img{float:left; background-color: #d8d8d8; padding: 10px; -webkit-border-radius:2px; border-radius:2px; max-width: 49%;}

/* VIDEOGALLERY LAYOUT VIDEO LISTA*/
.gallery_video {margin-top:10px; overflow:hidden;}
.video_cookie { font-weight:bold; text-align:center; margin:20px 0px 20px 0px;}
#primo_video {overflow:hidden; border-radius:3px;}

.video_content{display: block; text-align: center; margin-top:15px; margin-bottom:5px; overflow:hidden; }
.video_data{font-weight: bold; color: var(--dark_gray); font-style: italic;}
.video_titolo {color: var(--dark_gray); text-transform: uppercase;  font-weight: 500;  }
.video_descrizione_breve {line-height:initial; overflow: hidden; }

.video_list {margin:0px; margin-top:10px; cursor: pointer; }
.video_riga {text-align:center; margin-top: 30px; margin-right: 1px; margin-bottom: 30px; background-color: #dedede; overflow: hidden; border-radius: 5px;}
.video_riga_content {clear: both; text-align: center; padding: 10px;}
.video_titolo_content{margin-top: 0px; margin-bottom: 0px; font-weight: 500;  min-height:50px; overflow: hidden; font-size: 1em;}
.video_selected {background: var(--dark_gray); color: #fff!important; }
.video_riga_descrizione_breve {display: none}

.video_img {position: relative;background:#fff; width:400px; height: 190px;  margin-right: 15px; overflow: hidden;}
.video_img img {position: absolute; left: 50%;top: 50%; width:200%; height:100%; -webkit-transform: translate(-50%,-50%);-ms-transform: translate(-50%,-50%);transform: translate(-50%,-50%);}
.video_img img.foto_lista {min-width: 400px; min-height: 100%; width:400px; }




/*GALLERIA GENERALE*/
.box_gallery{overflow: hidden; padding: 0px; margin: 0px;}
.gallery{margin-top:5px; overflow: hidden; width: 100%; margin: 0 auto; text-align: center; }
.gallery ul{ width:100%; padding-left:0px !important; box-sizing:border-box; display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); grid-column-gap:0.7rem;grid-row-gap:0.7rem;  }
.gallery li{display: flex;flex-direction: column;position: relative;box-sizing: border-box;-webkit-box-sizing:border-box; border: 1px solid var(--light_gray);-moz-box-sizing:border-box;background-color: var(--light_gray); -webkit-border-radius:2px; border-radius:2px;overflow:hidden;}
.galleryDesc{background-color: #000; display:block; /*height:50px;*/ font-size:0.9em;  text-align: center; overflow: hidden; color: #fff; padding:2px; position: absolute; bottom: 0; width: 100%;}
.gallery_data{color: #8e2121; font-style: italic; font-weight: 500;}
.gallery_title{color: #fff; text-transform: uppercase; font-weight: 500; padding: 5px;}

#tip7-title{background-color: #000 !important; color: #fff !important}

/*#fancybox-title{bottom: 0 !important}
#fancybox-outer {background-color:#8e2121!important;}
#fancybox-overlay{z-index: 100000!important}
#fancybox-wrap{z-index: 100001!important}
*/

.glightbox-clean .gdesc-inner{padding: 10px !important; }
.glightbox-clean .gslide-title {font-size:1.1em;   font-weight: bold !important;
  margin-bottom:5px !important;
  line-height: 1.4em;
}

.mediagallery_link{float: right !important; padding:5px!important; font-weight: 500;
  font-style: italic; }


.thumbnail {display:inline-block; position: relative; height:200px; border-radius:2px; overflow: hidden; margin: 0px; padding: 0px;}
.thumbnail img {position: absolute; left: 50%;top: 50%; width: 100%; height: auto;-webkit-transform: translate(-50%,-50%);-ms-transform: translate(-50%,-50%);transform: translate(-50%,-50%); }
.thumbnail img.preview {width:500px; }



/*SELETTORE CATEGORIE*/
.selettore {width: 100%; margin-bottom: 20px; display: block;}
.selettore_cont{margin:0 auto; padding:0px;  margin-bottom: 20px;}
.selettore_cont ul{width:fit-content; overflow:hidden; margin: 0 auto; margin-left:0px !important; padding:0px;}
.selettore_cont li{float:left; text-transform: uppercase; font-size:0.9em; background-color: #f3f3f3; padding:5px 10px 5px 10px; margin-right: 5px;  float: left;  text-align: center; text-transform: uppercase;-moz-border-radius:2px;  -webkit-border-radius:2px;  list-style-type: none;}
.selettore_cont li a:hover{text-decoration: none; color:var(--orange);}
.selettore li.active{color: var(--orange) !important; font-weight: 500}
.selettore li.inactive{color: var(--orange) }



#barra_ricerca fieldset{margin: 0px !important; padding-right:10px !important; padding-left:3px!important;}
#barra_ricerca fieldset ul{margin: 0px !important; padding-top: 0px!important; padding-bottom:20px !important;}
#barra_ricerca fieldset ul li{padding-top:10px!important; padding-right:0px !important;}
#barra_ricerca fieldset ul li.active a{color:var(--orange) !important; text-decoration: underline;}

#filtro_sottocat{padding: 0px}

.titoli_dettaglio_progetto{width: 100%; clear:both; line-height: 1.6em; border-bottom: 2px solid var(--grey); color:var(--orange); display: block; overflow: hidden; margin-bottom:10px; }

.ricerca-laterale-barra{width:20%; overflow: hidden; float:left; font-size:1em;}
.ricerca_laterale_lista{width:80%; overflow: hidden; float:left;}
#risultati_ricerca{margin-bottom: 20px; width:80%; }


/*NEWSLETTER*/
#newsletter_form {width: 100%;  border: 1px solid var(--orange); margin-bottom: 10px; outline:none; -webkit-border-radius:2px; border-radius:2px; box-sizing:border-box; }
#newsletter_form fieldset{padding:30px; border:0px; box-sizing:border-box; }

#newsletter_form input{width: 49%;  float: left; margin: 0.5%;}
#newsletter_form select{width: 49%;  float: left; margin: 0.5%;}
#newsletter_form input[type="email"]{width: 99%;  margin: 0.5%;}
#newsletter_form input[type="radio"] {  appearance: none; -moz-appearance: none; -webkit-appearance: none; border: 1px solid var(--orange);  border-radius: 100%;   width: 1em;  height: 1em;  margin-top: 8px;}
#newsletter_form input[type="radio"]:checked { background: var(--orange) !important;}
#newsletter_form input[type="button"]{width: 49%;  float: left; margin: 0.5%;}
#conferma{ font-weight: 500; text-align: center;}
#inviata{color: var(--dark_gray); font-family: var(--font-title);  font-size: 1.2em; text-transform: none!important;   margin-top: 20px; margin-bottom: 20px; font-weight: 500;padding-top: 20px;}



/*
.square-content {position: absolute; color: white; overflow: hidden; }
.square-content div {display: table; width: 100%; height:250px; }
.square-content span {display: table-cell; text-align: center;vertical-align: middle; color: white; padding:2em; overflow: hidden;}
*/

/* -- BOX HOME + TOTAL HOVER-- 
.content_box_hover { cursor: pointer;height: 100%;position: relative;overflow: hidden;width: 100%; text-align: center;}
.content_box_hover .fadedbox {opacity:1; position: absolute; top: 0; left: 0; color: #fff; text-shadow: 0px 0px 10px rgba(0,0,0,1); -webkit-transition: all 150ms ease-out; -moz-transition: all 150ms ease-out; -o-transition: all 150ms ease-out; -ms-transition: all 150ms ease-out; transition: all 150ms ease-out; width: 100%; height: 100%; } 
.content_box_hover:hover .fadedbox {opacity: 0.9; background-color: #000; }
.content_box_hover .text {-webkit-transition: all 150ms ease-out;-moz-transition: all 150ms ease-out;-o-transition: all 150ms ease-out;-ms-transition: all 150ms ease-out;transition: all 150ms ease-out;transform: translateY(30px);-webkit-transform: translateY(30px);}
.content_box_hover .title {opacity: 1; font-size:1.4em; padding-top:150px; text-transform: uppercase; text-align: center; transition-delay: 0.2s;transition-duration: 0.3s; font-weight:700;  }
.content_box_hover:hover .title, .content_box_hover:focus .title {opacity: 1; transform: translateY(0px); -webkit-transform: translateY(0px); }

/* -- classi per box rotanti home -- */
/*ROTATORE NEWS*/
.rotatore_home{width: 100%; top: 150px; z-index: 3000; position: relative; display: block; }
.rotatore_news_prev{float:left; padding: 15px; cursor: pointer; text-align: right; position: absolute;left: -35px;}
.rotatore_news_next{float:right; padding: 15px; cursor: pointer;text-align: left; position: absolute; right: -35px;}

/*PRINCIPALI*/
.flex-grid-rot-news {margin:0px; display: flex !important; display: -webkit-flex; flex-flow: row nowrap; -webkit-flex-flow: row nowrap; align-items: stretch; -webkit-align-items: stretch; justify-content: space-between; -webkit-justify-content: space-between;}
.flex-grid-rotante{width:100%; }

/*VISORI BOX HOME NEWS*/
.blocco_visori {width: 100%; position: relative; overflow: hidden; box-sizing: border-box; float: left; /*margin-left: 10px*/}

	
/*CONTENT BOX NEUTRO*/
.content_box_neutro {overflow: hidden; display: block; width: 100%;}
.content_box_neutro:last-child {margin-right:0px; }

.content_box_neutro h3{color: #fff; font-size:1.2em; text-align: left; z-index: 2000; position: absolute;  font-weight: 700;width: 100%;text-align: center; padding-top:50px}

.content_neutro_img {position: relative; height:350px; overflow: hidden; float:left; width:100%}
.content_neutro_img img {position: absolute; left: 50%; top: 50%;  min-width: 100%; min-height: 100%; width:100%; -webkit-transform: translate(-50%,-50%);-ms-transform: translate(-50%,-50%);transform: translate(-50%,-50%);}
.content_neutro_img img.foto_box {min-height: 100%; width:100%;} 

/* -- fine classi per box rotanti home -- */


/*MAPPA GOOGLE pagina composita */

.mappa_contenuto{width:48%; float:left;}
.mappa_half{height:400px; display:block; width:48%;float:right;}
.mappa_full{height:700px; display:block; width:100%; float:right;}

.map_section{ margin-top:10px; }
.map_section img {box-shadow:none; border:0px;}

/*INFO MAPPA GOOGLE */
.infobox-wrapper {display:none;}
.infobox {border:1px solid #575756; margin-top: 8px; background-color: rgba(255, 255, 255, 0.3); color:#575756; border-radius: 6px; -webkit-border-radius:6px; -moz-border-radius: 6px; box-shadow: 0px 0px 8px #575756; -webkit-box-shadow: 0px 0px 8px #575756; background-color:#fff; text-align:center; padding:10px; font-weight:500;}
.infobox .inner {opacity:1.0!important;}

/* MAPPA GOOGLE DINAMICA PER NEWS E PROGETTI*/
div#gmaps-canvas {
  width: 243px;
  height: 161px !important;
  border: 1px solid #bdc1c3;}


.sezione_intro {font-weight:bold; margin-bottom:10px;}
.sezione_contenuto {margin-top:5px;}


.puls_cookie{position:relative !important; display: inline; left: 0px !important; bottom: 0px !important}

