@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400..700;1,400..700&display=swap');
@import url('balloon.min.css');
@import url('jquery-ui.css');
@import url('hamburgers.css?i=1');

/*background: #FFFFFF;
background: linear-gradient(180deg,rgba(255, 255, 255, 1) 9%, rgba(0, 162, 255, 1) 52%, rgba(255, 255, 255, 1) 93%);*/
* { font-optical-sizing: auto; border:0px; list-style:none; margin:0px; padding:0px; outline:none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
html { font-size: 100%; }
body { margin: 0px; font-family: "Montserrat", sans-serif; font-size:14px; font-weight:500; letter-spacing:0.5px; -webkit-text-size-adjust:100%;  color:#000; line-height:24px; text-align:left;  }
a { text-decoration:none; outline:none; color:#013686; text-overflow:ellipsis; font-weight:600; }
a:hover, a.selected, .header .menu a.selected { text-decoration:none; color:#00A1E8; transition: all 0.9s ease-in-out;  -webkit-transition: all 0.9s ease-in-out; -moz-transition: all 0.9s ease; -o-transition: all 0.9s ease;  -ms-transition: all 0.9s ease-in-out; }
*:hover { transition: all 0.9s ease-in-out;  -webkit-transition: all 0.9s ease-in-out; -moz-transition: all 0.9s ease; -o-transition: all 0.9s ease;  -ms-transition: all 0.9s ease-in-out; }
h1, h2, h3, h4 { margin:0px; font-family: "Libre Bodoni", serif; font-weight:600; color:#36368a; }
h1 { margin-bottom:20px; font-size:45px; line-height:55px;  }
h2 { margin-bottom:20px; font-size:40px; line-height:46px; }
h2.section { margin:0 0 20px 0; font-size:30px; line-height:36px; }
h3 { font-size:20px; line-height:26px; margin-bottom:5px; font-weight:400; }
h4 { font-size:24px; margin:0px; color:#000; font-family: "Montserrat", sans-serif;  font-weight:600; text-transform:uppercase; }
b, strong { font-weight:700; }
i { margin-right:5px; }
img { display:block; }
img.scale { width:100%; height:auto; }
img.loading { background: url('../images/loading.gif') no-repeat center; }
img.border { border:10px solid #EEE; }
img.rounder { border-radius:1000px;  }
select { background: url("select_arrow.png") no-repeat 100% 50%; }
input, select { height:50px; }
input, select, textarea { width:100%; border-radius:5px; color:#444; font-family: "Montserrat", sans-serif; font-size:16px; padding: 10px; background-color: #D4EDF9; }
input.col, select.col, textarea.col { margin-bottom:15px; } 
input:focus, textarea:focus, select:focus { border-color: #222; }
input.error, textarea.error, select.error { border-color:#FF0000; color:#FF0000; background:#F9CCCB; }
label.error { color:#FF0000; font-size:0px; visibility:hidden; float:left; overflow:hidden; height:0px; display:none; line-height:0; padding:0px; margin:0px; }
input[type='checkbox'], input[type='radio'] { padding:0; height:25px; width:25px; float:left; margin-right:10px;  border: 1px solid #CCCCCC; border-radius: 3px; box-shadow:none; }
input[type='checkbox']:checked, input[type='radio']:checked { background:#666; box-shadow:none;  }
option { padding:0 5px; }
label { font-weight:bold; cursor:pointer; padding: 5px 0; display:block; }
.row { margin-bottom:15px; }
.label { text-align:right; padding:10px 5px 0 0; font-weight:bold; }
.btn, input[type='submit'], input[type='button'], input[type='reset'], button { font-size: 16px; line-height: 26px; font-weight:bold; padding: 15px 40px; border:0px; cursor:pointer; display:inline-block; color:#FFF; background:#CCC; line-height:normal; text-align:center; border-radius:10px; height:50px; }
.btn:hover, input[type='button']:hover, input[type='submit']:hover, input[type='reset']:hover, button:hover{ text-decoration:none; background: #000; color:#FFF; }
button i { margin-right:10px; }
.btn-primary, input.btn-primary { background-color:#013686; color:#FFF;  }
.btn-primary:hover, input.btn-primary:hover { color:#013686; background:#00A1E8;  }
.warning { color:#FF0000; font-weight:600; background: url('../images/icon_warning.png') no-repeat left top; padding:5px 0 5px 22px; }
.icon_info { margin-left:10px; cursor:pointer;  font-size:11px; }
.strike { text-decoration: line-through; font-weight:normal; }
p.limit { margin: 10px 0; font-size:11px; }
.videoWrapper { position: relative; padding-bottom: 66.25%; /* 16:9 */	padding-top: 25px; height: 0; }
.videoWrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
iframe {  width: 100%; }
.placeholder { color: #FFF;  }
.column_2 { column-count: 2; column-gap: 40px; text-align:justify; }
.nowrap { white-space:nowrap; }
ul.list_border li:first-child { border-top:0px; }
ul.list_border li { float:none; border-top:1px dotted #CCC; margin:0px; padding: 5px 0; color:#999; }
ul.list_border li a { display:block; }
ul.list_border li p a { display:inline; }
li span.tot { float:right; font-size:11px; width:30px; text-align:center; display: inline-block; }
ul.icon_right li a i { float:right; }
ul.list_number li { list-style:decimal; margin:5px 0 5px 20px; }
ul.list_disc li { list-style:disc; margin:0 40px 10px 15px; }
ul.list_disc li li { list-style:circle; }
ul.icon-list i { width:30px; text-align:center; }
ul.icon-list li { margin: 10px 0; }
ul.condizioni_vendita li, ul.payments li { min-height:30px; padding-left:40px; position: relative; margin-top:10px; }
ul.condizioni_vendita li input, ul.payments li input { position:absolute; left:0; top:0; }
.msg.success { background:#00B259; color:#FFF; padding:7px 10px; font-weight:bold; }
.msg.error { background:#FF0000; color:#FFF; padding:7px 10px; font-weight:bold; }
.msg { margin: 0 0 40px 0; }
.relative { position: relative; }

.layout { position:relative; }
.wrapper { width:100%; max-width:1400px; margin: 0 auto; min-width:720px; clear: both;  }
.content { width:100%; max-width:1400px; margin: 0 auto; clear: both; padding:0; position:relative; }
.content-large { width:95%; margin: 0 auto; clear: both; padding:40px 20px; position:relative; }
.content-small { max-width:500px; margin: 0 auto; clear: both; padding:0 20px; position:relative; }

.cover-small { position:relative; margin:0 auto; text-align:center; background-size: cover; background-position:bottom center; color:#FFF; height: 300px; }
.cover-small h1 { font-size:30px; line-height:36px; padding:40px 100px; margin:0px; position:absolute; bottom:0; left:0; background: rgb(0,0,0); background: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%); }

.cover { position:relative;  margin-bottom:40px; }
.cover .text { position:absolute; bottom:0; left:0; right:0; padding:40px; font-size:30px; line-height:32px; color:#FFF; background: rgb(0,0,0);
background: linear-gradient(90deg, rgba(0,0,0,0.4317927854735645) 0%, rgba(0,0,0,0) 50%); }
.cover .text h1 { margin:0px; }

.align_left { text-align: left; }
.align_right { text-align: right; }
.align_center { text-align: center; }
.hidden { display:none; }
.bold { font-weight:600; }
.avatar { width:50px; height:50px; float:left; margin-right:10px; border-radius: 50%; }
.fa { margin-right:5px; }
.fr { float:right; }
.red { color:#FF0000; }
.green { color:#59B200; }
.gray, .gray a { color:#999; }
.black, .black a { color:#000; }
.fixed { position:fixed; }
.hidden { display:none; }
.block { display:block; }
.mt100 { margin-top:100px; }
.mt60 { margin-top:60px; }
.mt40 { margin-top:40px; }
.mb40 { margin-bottom:40px; }
.mt20 { margin-top:20px; }
.mb20 { margin-bottom:20px; }
.mb10 { margin-bottom:10px; }
.p20 { padding:20px; }
.pt20 { padding-top:20px; }

table { border-collapse: collapse; width:100%; }
table, th, td { border-bottom: 1px solid #DDD; padding: 5px 10px;  vertical-align: top; }
thead td { background:#000; font-weight:bold; color:#FFF; }
figure { overflow:hidden; position:relative; }
figure * { transition: all .2s ease-in-out; line-height:normal;  }
figure img { display:block; }
a:hover figure.fade img { opacity:0.5; }
a:hover figure.scale img { filter: none; transform: scale(1.1); }

.list-gallery {  display: grid; grid-template-columns:1fr 1fr 1fr 1fr; gap:20px; }

.group:before, .group:after { content:""; display:table; }
.group:after { clear:both; }
.col { display: block; float:left; margin: 0 0 0 1.6%; }
.col:first-child { margin-left: 0; }

.span_1_of_2 { width: 49.2%; }
.span_2_of_2 { width: 100%; }

.span_1_of_3 { width: 32.2%; }
.span_2_of_3 { width: 66.1%; }
.span_3_of_3 { width: 100%; }

.span_1_of_4 { width: 23.8%; }
.span_2_of_4 { width: 49.2%; }
.span_3_of_4 { width: 74.6%; }
.span_4_of_4 { width: 100%; }

.span_1_of_5 { width: 18.72%; }
.span_2_of_5 { width: 39.04%; }
.span_3_of_5 { width: 59.36%; }
.span_4_of_5 { width: 79.68%; }
.span_5_of_5 { width: 100%; }

.span_1_of_6 { width: 15.33%; }
.span_2_of_6 { width: 32.26%; }
.span_3_of_6 { width: 49.2%; }
.span_4_of_6 { width: 66.13%; }
.span_5_of_6 { width: 83.06%; }
.span_6_of_6 { width: 100%; }

.span_1_of_8 { width: 11.1%; }
.span_2_of_8 { width: 23.8%; }
.span_3_of_8 { width: 36.5%;}
.span_4_of_8 { width: 49.2%; }
.span_5_of_8 { width: 61.9%; }
.span_6_of_8 { width: 74.6%; }
.span_7_of_8 { width: 87.3%; }
.span_8_of_8 { width: 100%; }

.span_1_of_10 { width: 8.56%; }
.span_2_of_10 { width: 18.72%;  }
.span_3_of_10 { width: 28.88%; }
.span_4_of_10 { width: 39.04%;  }
.span_5_of_10 { width: 49.2%; }
.span_6_of_10 { width: 59.36%; }
.span_7_of_10 { width: 69.52%;  }
.span_8_of_10 { width: 79.68%; }
.span_9_of_10 { width: 89.84%; }
.span_10_of_10 { width: 100%; }
.iphone_show, #header li.iphone_show { display:none; }
.pr80 { padding-right:100px; }

.span_50 { width:50%; margin:0 auto; text-align:center; }
.span_25 { width:25%; margin:0 auto; text-align:center; }

.paginations { display:grid; grid-template-columns: 1fr 1fr; gap:20px; margin-bottom:20px;  }
.paginations .pages { text-align:right; }
.paginations .pages a, .paginations .pages b { padding:10px 15px; display:inline-block; border-bottom:1px solid #DDD; }
.paginations .results { padding-top:10px; }
.paginations .pages b { color: #D9801C; }
.paginations .pages a:hover { background:#EEE; }

.bg { background:#00A1E8; }
.bg2 { border-radius:15px; margin-top:20px; background:#00A1E8; }
.bg3 { border-radius:15px; background: #e6fffe; background: linear-gradient(178deg,rgba(230, 255, 254, 1) 0%, rgba(139, 193, 217, 1) 100%); }

.bg_gray { background:#EEE; }
.overlay h3 { font-size:20px; margin-bottom:10px; }
.overlay { font-weight:normal; position:absolute; padding: 20px; text-align:left; line-height:20px; z-index:2; top:0; left:0; right:0; bottom:0; color:#FFF; background-color: rgba(0, 0, 0, 0.8); }
.flex { display: flex; align-items: center;  }

/* GLOBAL TRANSITION - Keep this, but be aware of its broad impact */
header * {
    transition: all 0.9s ease-in-out;
    -webkit-transition: all 0.9s ease-in-out;
    -moz-transition: all 0.9s ease;
    -o-transition: all 0.9s ease;
    -ms-transition: all 0.9s ease-in-out;
}

/* --- EXISTING HEADER STYLES (NO CHANGE) --- */
#header { position:relative; top:0; left:0; right:0; z-index:22; transition: transform 0.3s ease-in-out; margin-bottom:20px; }
#header .content { position:relative; height:175px; border-radius:15px; }
#header .logo { position:absolute; top:10px; left:100px; z-index:22; transition: transform 0.3s ease-in-out; }
#header .logo img { width:150px; height:auto; }
#header .logo sup {position:absolute; background:red; color:white; left:150px; top:20px; padding:5px; font-style:italic; line-height:12px;}

#header nav { position:absolute; left:0; right:0; top:130px; }
#header nav a { display:block; }
#header nav a:hover { color:#FFF; }
#header nav li.active { background:#013686 }
#header nav li.active a { color:#FFF; }
#header nav li.selected { background:#00A1E8; }
#header nav li.selected a { color:#FFF }
#header nav li { display:inline-block; margin:0; font-size:14px; border-top-left-radius:5px; border-top-right-radius:5px; }
#header nav .navbar-nav li { display:block; }
#header nav i { margin:0px; }
#header .navbar { padding: 0 1rem; position: absolute;  top: 130px; left: 0; width: 100%; max-height: 100vh; display: flex; flex-direction: column; z-index: 10; z-index:222; }
#header .navbar-toggler { font-size: 18px; display:none; border: none; font-size: 1.8rem; cursor: pointer; transition: all 0.4s ease; position:fixed; right:20px; top:50px; margin:0px; border-radius: 200px; background:#013686; z-index:999; width: 42px;
  height: 42px; padding:0px; }
#header .navbar-toggler:hover{ opacity: 0.7; }
#header .navbar-collapse { display: none; } /* Keep this for initial mobile state */
#header .navbar-nav li a { text-transform: uppercase; font-size:15px; font-weight:600; display: block; padding: 10px 0; position: relative; transition: all 0.4s ease; margin: 0 10px; }
#header .navbar-nav li a.menu-link { padding: 10px 20px 10px 0; }
#header .drop-icon { position: absolute; right:0px; top: 50%; transform: translateY(-50%); }

/* --- CRITICAL CHANGES FOR .sub-menu --- */
#header .sub-menu {
    /* Instead of display: none;, use opacity and visibility for animation */
    opacity: 0;
    visibility: hidden;
    /* This transition needs to be more specific than header * for these properties */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;

    padding: 40px;
    min-height: 300px;
    position: absolute; /* Essential for dropdown behavior */
    left: 0;
    width: 100%; /* Or set a specific width like 800px if it's a fixed-width mega menu */
    top: 100%; /* Position below the parent link/li */
    background: #013686; /* Ensure it has a background color for visibility */
    z-index: 100; /* Make sure it appears above other content */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* Optional: add a subtle shadow */

    /* Ensure flexbox layout for the inner sub-menu-items when it's active */
    /* This will be the default layout for the sub-menu when visible */
    display: flex; /* Or grid, if that's your intention for columns */
    flex-wrap: wrap;
    justify-content: space-around; /* Example for spacing internal columns */
    gap: 20px; /* Space between sub-menu-item columns */
}

/* This class is added by JavaScript to make the sub-menu visible and fade in */
#header .sub-menu.is-active {
    opacity: 1;
    visibility: visible;
    /* If you want it to behave as a grid when active, define it here: */
    /* display: grid; */ /* Uncomment if you want to use grid instead of flex for layout */
    /* grid-template-columns: repeat(3, 1fr); */ /* Uncomment with display: grid; */
}


/* --- EXISTING SUB-MENU CHILDREN STYLES (NO CHANGE) --- */
#header .sub-menu h4 { margin:0 0 20px 0; color:#00A1E8; font-size:26px; font-weight:normal; }
#header .sub-menu h4, #header .navbar-nav li a { font-weight:600; }
#header .navbar-nav li li a { margin:0px; }
#header .sub-menu ul li { text-align:left; padding:2px 0; }
#header .sub-menu ul li a { display: flex; align-items: center; color:#FFF; transition: all 0.5s ease; text-underline-offset: 5px; padding:0; text-transform: inherit; }
#header .sub-menu ul li a::before { width:25px; font-family: "Font Awesome 6 Free"; content: "\f105"; font-weight: 900; }
#header .sub-menu ul li.pdf a::before { content: "\f1c1"; }
#header .sub-menu ul li.url a::before { content: "\f08e"; }
#header .sub-menu ul li a:hover { opacity:0.5; }
#header nav .sub-menu ul li { text-transform:initial; }
#header nav .sub-menu ul li a { font-weight:normal; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media screen and (min-width: 1000px){
    .navbar{ flex-direction: row; flex-wrap: wrap; align-items: center; padding: 0 5rem; position: relative; }
    .brand-and-icon { border-bottom: none; padding: 0; }
    .navbar-collapse {
        display: block!important; /* Ensure it's block/visible for desktop */
        overflow-y: hidden;
        /* Remove fixed/absolute positioning here if it was set for mobile,
           as it's now a standard inline menu for desktop */
        position: static; /* Or relative, to fit in flow */
        height: auto; /* Remove fixed height */
        width: auto; /* Remove fixed width */
        background: none; /* No background on desktop if it's integrated */
    }
    .navbar-nav { display: flex; align-items: center; justify-content: center; }

    /* THIS RULE IS THE MAIN CULPRIT FOR FADING CONFLICTS */
    /* REMOVE THE display: grid!important; HERE */
    .navbar-nav > li:hover .sub-menu {
        /* display: grid!important; */ /* <--- REMOVE THIS LINE! */
        /* If you want hover effect on desktop, combine it with .is-active */
        /* This would be for mouseover, which you said you don't want.
           If you want the border highlight, keep the border rule. */
    }

    .navbar-nav > li:hover { color:#FFF; background:#013686; }
	.navbar-nav > li:hover a { color:#FFF; }

    /* Desktop .sub-menu needs to be hidden by opacity/visibility */
    #header .sub-menu {
        opacity: 0;
        visibility: hidden;
        /* Ensure it's laid out as grid for desktop, but still hidden by default */
        display: grid; /* Set this as its default layout for desktop, even when hidden */
        grid-template-columns: repeat(3, 1fr); /* Example grid layout */
    }
	#header .sub-menu.css_menu_19 { display:block; }
	#header .sub-menu.css_menu_19 .sub-menu-item ul { column-count:3; }
    /* On desktop, the .is-active class from JS makes it visible */
    #header .sub-menu.is-active {
        opacity: 1;
        visibility: visible;
        /* No need to set display: grid here again if it's already on #header .sub-menu */
    }
}

/* --- MOBILE SPECIFIC STYLES --- */
@media (max-width: 599px) { /* Use max-width to target smaller screens, less than 600px */
    #header .navbar-toggler {
        display: block; /* Show toggler on small screens */
    }

    #header .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #013686; /* Mobile menu background */
        overflow-y: auto;
        flex-direction: column;
        align-items: center;
        padding-top: 80px;
        justify-content: flex-start; /* Align content to the top */
    }

    #header .navbar-nav {
        width: 100%;
        text-align: center;
        flex-direction: column; /* Stack main menu items vertically */
    }

    #header .navbar-nav li {
        width: 100%;
        margin-bottom: 10px;
    }

    #header .navbar-nav li a {
        padding: 15px 0;
        margin: 0; /* Remove horizontal margin for full width links */
    }

    #header .sub-menu {
        /* On mobile, sub-menus should be part of the flow */
        position: static;
        width: auto;
        min-height: auto;
        background: none; /* No separate background for nested mobile menu */
        box-shadow: none;
        padding: 10px 20px;
        display: block; /* Stack sub-menu items vertically */
        text-align: left;
        border-top: 1px solid rgba(255,255,255,0.1); /* Separator for mobile sub-menus */
        /* Make sure it's hidden by opacity/visibility here too */
        opacity: 0;
        visibility: hidden;
    }

    /* On mobile, when active, make it visible */
    #header .sub-menu.is-active {
        opacity: 1;
        visibility: visible;
        display: block; /* Ensure it's block for mobile stacking */
    }

    #header .sub-menu-item {
        margin-bottom: 15px;
    }

    #header .sub-menu ul li a {
        color: #FFF;
        padding: 5px 0 5px 20px;
    }
}

/* Ensure body doesn't scroll when mobile menu is open */
body.no-scroll {
    overflow: hidden;
}

#header nav .sub-menu ul li a { font-weight: 500; }

.button-search { position: absolute; top: 50px; right: 20px; font-size: 18px; width: 42px; height: 42px; background: #deecff; display: flex; justify-content: center; align-items: center;  border-radius: 200px; color: #00A1E8; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.2); transition: background 0.3s ease; z-index:999; }
.button-search:hover { background: #c3e0ff; }
.button-search i, .search-page button i { margin: 0; }
.search-page { display: none; top: 0; left: 0; bottom: 0; right: 0; z-index: 99; position: fixed; display: flex; justify-content: center; align-items: center; background: #deecff; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.search-page.active { opacity: 1; visibility: visible; }
.search-page .content-small { width: 80%; max-width: 500px; padding: 20px; border-radius: 8px; text-align: center; }
.search-page input[type="text"] { background: #FFF; outline: none; transition: border-color 0.3s ease; }
.search-page input[type="text"]::placeholder { color: #888; }
.search-page input[type="text"]:focus { border-color: #007bb5; }
.close-button { position: absolute; top: 20px; right: 20px; font-size: 30px; color: #00A1E8; cursor: pointer; transition: color 0.3s ease;  }
.close-button:hover { color: #007bb5; }
.search-page form { display:grid; grid-template-columns:auto 100px; gap:10px; }


.grid-banner { position:absolute; top:15px; right:80px; display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.grid-banner .item { border-radius:10px; line-height:20px; font-size:16px; font-weight:700; width:400px; height:100px; background:#EEE; padding:10px; align-content:center; display:grid; grid-template-columns:100px 1fr; text-transform:uppercase; }
.grid-banner > *:only-child { justify-self: end; grid-column: 2 / 3; }

.all { align-content: center;   }
.all h2 { text-align: center; }
.all h2 a { font-size: 40px; font-family: "Libre Bodoni", serif; }

.alert-box { border:4px dotted red; border-radius:15px; background:#ffdede; margin:20px 0; }
.alert-box .container { display:grid; grid-template-columns:150px 1fr; gap:40px;  }
.alert-box a, .alert-box h2 { color:red; }
.alert-box a.more.primary  { color:white; background:red; border-color:red; }
.alert-box ul { display:grid; grid-template-columns:1fr; gap:40px; }
.alert-box li { list-style:none; padding:10px 0; border-bottom:1px solid #DDD; }
.alert-box .date { background:red; color:#FFF; padding:2px 5px; font-size:13px; display:inline-block; border-radius:2px; }

.evidence .item.video-box { border-radius:15px; background:#deecff;  }
.evidence .item.news-box { border-radius:15px; background:#013686; }
		
@media only screen and (max-width: 720px){
			.item-row { padding: 20px; }	
			.slide li { height:350px; border-radius:0px; }
			.slide h1 { text-align:center; font-size:30px; margin-bottom:10px; }
			.list-news, .list-news .item { grid-template-columns: 1fr; gap:0px; }
			.list-news { gap:20px; }
			.list-news .item figure { border-radius:15px; top:0px; left:0px; }
			.bg2, .bg3, .bg { border-radius:0px; }
		}

.stat { display:grid; grid-template-columns:1fr 1fr 1fr 1fr; gap:20px; margin-top:20px; }
.stat p { font-weight:500; text-transform:uppercase; font-size:16px; line-height:22px; }
.stat .tot { font-size:22px; margin-bottom:0px; font-weight:800; }
.stat .item { padding:15px 10px; border-radius:10px; position:relative; padding-left:100px; }
.stat i { position:absolute; left:15px; top:10px; font-size:30px; border:4px solid #FFF; width:70px; height:70px; text-align:center; border-radius:200px; align-content: center;}
.energy { background:#fdfda1; color:#D7740B; }
.energy i { border: 2px solid #D7740B; color:#D7740B; }
.cloud { background:#b3ffb7; color:#058412; }
.cloud i { border: 2px solid #058412; color:#058412; }
.water { background:#bdecfb; color:#4346E8; }
.water i { border: 2px solid #4346E8; color:#4346E8; }
.tep { background:#cecece; color:#000; }
.tep i { border: 2px solid #000; color:#000; }


.header-section { padding:20px; font-size:26px; line-height:33px; font-weight: 300; text-align:center; }
.header-section h1 { margin:0 0 10px 0; }


.hamburger { display:none; }
#main { margin-top:0px; }

.footer { background:#013686; color:#FFF; margin:20px auto; border-radius:20px;  }
.footer .content { padding: 0 40px; }
.footer a { font-weight:500; color:#FFF; }
.footer a:hover { text-decoration:underline; }
.footer .grid { display: grid; grid-template-columns:1fr 1fr 1fr 1fr; gap:20px; padding: 40px 0; }
.footer .logo { text-align:center; }
.footer .logo img { height:auto; width:150px; margin: 40px auto 20px auto; }
.footer i { font-size:18px; margin: 10px 20px 0 0; }
.footer h4 { margin-bottom:5px; color:#00A1E8; font-size:20px; margin-bottom:10px; }
.footer .orari li { margin-bottom:10px; }

/*height: calc(100vh - 500px); */
.slide { margin-bottom:2px; display:block; }
.slide li { position:relative;  font-size:18px; line-height:28px; text-align:center; color:#FFF; background-position:center center; background-repeat: no-repeat; background-size:cover; height:600px; }
.slide .content { width:100%; max-width:1400px; position:absolute; z-index:333; right:0; left:0; top:0; bottom:0; display: flex; align-items: center; }
.slide li, #header .sub-menu { border-radius:20px; overflow:hidden; }
.slide li .content div { text-align:center; width:100%; text-shadow: 1px 1px 1px black; }
.slide h1 { margin-bottom:20px; color:#FFF; font-size:70px; text-align:center;  }
.slide .btn { color:#FFF; border-bottom-color:#FFF; }
.slide .btn:hover { border:1px solid #FFF; }
.slide .slick-dots li { height:auto; }
.slide li .bg { background: #0d2559;
background: linear-gradient(332deg,rgba(13, 37, 89, 0.36) 0%, rgba(60, 93, 168, 0.38) 100%); top:0; bottom:0; left:0; right:0; z-index:22; position:absolute; }
	
.slideNews { padding: 40px 60px; background:#0185bf; border-radius:15px; }
.slideNews .item { margin: 0 10px; border-radius:15px; overflow:hidden; height: 540px; position:relative; background:#FFF; border-bottom:3px solid #36368a; line-height:22px; }
.slideNews img { display:block; }
.slideNews h2 { font-size:28px; line-height:30px; margin:0 0 5px 0; }
.slideNews .slick-dots { width:inherit; left:30px; }
.slideNews .button { position:absolute; bottom:40px; left:20px; }
.slick-prev::before, .slick-next::before { color:white; }
.slick-prev::before, .slick-next::before { color:white; }
.slideNews figure { height:270px; width:100%; overflow:hidden; }
.slideNews figure img { position: absolute; top: 50%; left: 50%;transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; object-fit: cover; }
.tag { padding:10px 10px; border-radius:2px; position:absolute; top:10px; right:10px; text-transform:uppercase; letter-spacing:0.5px; display:inline-block; font-size:14px; line-height:18px; border-radius:5px; z-index:99; }
.tag-14 { background:orange; color:white; }
.tag-2 { background:green; color:white; }
.tag-3 { background:blue; color:white; }
.tag-4 { background:red; color:white; }
.tag-6 { background:purple; color:white; }
.tag-9 { background:brown; color:white; }


.tools { margin-top:10px; display:flex; gap:10px; }
a.more i { margin:0 10px; }
a.more { text-transform:uppercase; white-space:nowrap; padding:10px 20px; color:#013686; background:#FFF; border:2px solid #013686; border-radius:200px; }
a.more:hover { background:#00A1E8; color:#013686; }
a.more.primary { padding:10px 20px; color:#FFF; background:#00A1E8; border:2px solid #00A1E8; border-radius:200px; }
a.more.primary:hover { background:#36368a; color:#FFF; }


a.button-pdf { padding:7px 10px; color:#00A1E8; background:#EEE; border-radius:200px; }
a.pdf::before { content: "\f1c1"; margin-right:10px; font-family: "Font Awesome 6 Free"; font-weight: 900; } 


.evidence h2.section {  padding: 20px; color:#00A1E8; }
.evidence h2 { font-size:22px; margin:5px 0; line-height:30px; }
.evidence .item { background:#FFF; border-radius: 5px; overflow: hidden; }
.evidence .button { margin-top:20px; }
.evidence .container { padding:20px 20px 40px 20px; }
.main-button { text-align:center; padding: 40px; }

.item-row { padding:40px 20px; }
.date { color:#888; }

.list-news { grid-template-columns: 1fr 1fr; display:grid; gap:30px; }
.list-news .item { padding-bottom:60px; border-bottom:3px solid #36368a; position:relative; border-radius: 15px; overflow: hidden; display:grid; gap:20px; grid-template-columns: 300px 1fr; background: #D4EDF9; }
.list-news .item .text { padding: 20px 20px;  }
.list-news .item figure { border-radius:15px; top:20px; left:20px; }
.list-news h2 { font-size:20px; line-height:26px; margin:0; font-weight:400; margin-bottom:20px; }
.list-news .button { margin-top:20px; position:absolute; bottom:30px;  }

.container { padding:20px; }
.navigation { border-bottom:1px solid #DDD; font-size:14px; padding-bottom:10px; margin-bottom:40px; text-transform:uppercase; font-size:14px; }
.news-detail { border: 6px solid #00A1E8; border-radius:20px; background:#FFF; padding:40px 100px; text-align:justify; font-size:16px; }
.news-detail h1, .news-detail h2 { text-align:center; max-width:800px; margin:0 auto 40px auto; }
.news-detail .date { font-size:12px; text-align:right; }
.news-detail h2 { font-size:24px; line-height:32px; }
.list-detail h3 { font-size:20px; line-height:24px; margin:0 0 20px 0; font-weight:400; }
.news-detail .text.grid { display:grid; grid-template-columns:400px 1fr; gap:40px; }
.news-detail  li { list-style:disc; margin:10px 15px;  }
.news-detail .list-pdf li { list-style:none; margin:0px;  border-bottom:1px solid #DDD; padding:10px 5px; }


.didascalia { color:#888; font-size:14px; margin-top:10px; }
.banner-buttons { display:grid; grid-template-columns:1fr 1fr 1fr; gap:40px; padding: 0 20px; }
.banner-buttons .item { background:#FFF; border-radius:15px; overflow: hidden; text-align:center; border-bottom:3px solid #36368a; }
.banner-buttons .item h3 { font-family: "Montserrat", sans-serif; font-weight:800; font-size:20px; line-height:26px; padding:20px; text-transform:uppercase; }
.banner-buttons .item i { margin-left:10px; }
.banner-buttons .item:hover { background:#013686;  }
.banner-buttons .item:hover h3 { color:#FFF; } 
.banner-buttons figure { height:270px; width:100%; overflow:hidden; }
.banner-buttons figure img { position: absolute; top: 50%; left: 50%;transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; object-fit: cover; }

.gallery { display:grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap:40px; margin-top:80px; text-align:left; }
.gallery div { align-content:end; }

.filter { display:grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap:10px; margin-bottom:40px; }
.filter div { align-content:end; }
.filter label { margin:0px; }

.acc-title { font-weight:600; border-bottom:1px solid #CCC; padding:20px; position:relative; padding-left:50px; cursor:pointer; color:#36368a; }
.acc-title i { position:absolute; left:20px; top:22px; }
.acc-content { padding:20px 50px; }

.grid-small { display: grid; grid-template-columns:1fr 2fr 2fr; column-gap:20px; border-top:10px solid #000; border-bottom:10px solid #000; }
.grid-small h2.title { margin-top:80px; }

.form { background:#DDD; padding:20px; border:10px solid #FFF; }
.form .label { text-align:right; font-weight:bold; padding-right:20px; }
.form input { padding:10px; height:30px; }
.grid-app { display:grid; grid-template-columns:2fr 1fr 1fr; margin-top:40px;  }
.grid-app div { text-align:center;  font-size:13px; }
.grid-app div:first-child { text-align:right; }
.grid-app img { display:inline-block; }
.grid-app b { font-size:18px; color:#D9801C; }

.tab-content .spec-details li { border-bottom:1px solid #DDD; margin:0px; line-height:20px; padding-bottom:10px; }
.tab-content thead td { background:#FFF; color:#000; }
.tab-content tbody a { color: #D9801C; }



.tabs { padding:0 40px; }
.tabs ul { border-bottom:1px solid #DDD; }
.tabs li { display:inline-block;   }
.tabs a { color:#013686; font-size:13px; padding:10px 50px;  display:block; text-align:center; text-transform:uppercase; border-bottom:2px solid #013686; }
.tabs a.selected, .tabs a:hover { border-bottom:2px solid #00A1E8; color:#00A1E8; }
.tab-content { padding:30px 40px; margin-bottom:40px; line-height:24px; }
.tab-content li { margin: 10px 0; }

.grid-2-3 { display:grid; grid-template-columns:2fr 3fr; }
.grid-2-1-2 { display:grid; grid-template-columns:2fr 1fr 2fr; gap:10px; align-items: center; }
.grid-1-2 { display:grid; grid-template-columns:1fr 2fr; }
.grid-2 { display: grid; grid-template-columns:1fr 1fr;  }
.grid-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; }
.grid-4 { display:grid; grid-template-columns:1fr 1fr 1fr 1fr; gap:10px; }
.grid-5 { display: grid; grid-template-columns:1fr 1fr 1fr 1fr 1fr; gap:20px; }
.grid-6 { display: grid; grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr; gap:20px; }
.grid-7 { display: grid; grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr 1fr; gap:20px; }
.grid-8 { display: grid; grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr; gap:20px; }
.gap10 { gap:10px; }
.gap20 { gap:20px; }
.gap30 { gap:30px; }
.gap40 { gap:40px; }
.gap80 { gap:80px; }
.gap100 { gap:100px;}

.grid .span_1_of_2:nth-child(2n+1) { margin-left:0px; }
.grid .span_1_of_3:nth-child(3n+1) { margin-left:0px; }
.grid .span_1_of_4:nth-child(4n+1) { margin-left:0px; }
.grid .span_1_of_5:nth-child(5n+1) { margin-left:0px; }
.grid .span_1_of_6:nth-child(6n+1) { margin-left:0px; }
.grid .span_1_of_7:nth-child(7n+1) { margin-left:0px; }
.grid .span_1_of_8:nth-child(8n+1) { margin-left:0px; }
.grid .col { margin-bottom:1.6%; }
.grid img { display:block; }
.span_25 { width:25%; margin:0px; line-height:normal; font-size:0px; }




body#print { margin:40px; text-align:justify;}
body#print img { width:80px; height:auto; }
body#print h3 { margin: 80px 0 20px 0; }
body#print .print { width:100%; position:fixed; right:0; top:0; left:0; padding:20px 40px; z-index:1; background-color:rgba(255, 255, 255, 0.9); }
body#print .print a { font-size:11px; padding-right:5px; display:inline-block; margin-left:5px; }


.scrolloff { pointer-events: none; }

div.top { display: none; overflow: hidden; position: fixed; right:40px; bottom:60px; background:#013686; border-radius:200px; }
div.top .fa { margin:0px; }
div.top a { padding-top:10px; display:block; color:white; cursor:pointer; font-size:20px; width:40px; height:40px; text-align:center;  }

.paginazione a, .paginazione b { margin-bottom:5px; padding:7px 15px; border:1px solid #EEE; display:inline-block; margin-right:2px; }
.paginazione b { background:#EEE; }
