html, body{width:100%; height: 100%;}
body{color: #000;font-size: 1.5em;/* background: #f9f8f1; */}

h1,h2,h3,h4,h5,h6{text-transform: none;}
h1,h2,h3,h4,h5,h6, p{margin: 0; margin-bottom: 5px}

/** imposta i font-soze di partenza **/
h1{margin-bottom: 50px;margin-top: 40px;text-align: center;font-size: 15px;text-transform: uppercase;font-weight: 500;letter-spacing: 0.15em;font-family: 'Poppins', sans-serif;color: #2f3542;line-height: 35px;}
#page_index h1 {text-align: left;margin-bottom: 30px;}
h2{font-size: 2.3em; font-weight:200}
h3{font-size: 15px;font-weight: 400;line-height: 4rem;}
h4,h5,h6{font-size: 2.1em;color:#d0c9b1;font-weight: 600;}
p{font-size: 16px;font-weight:100}
header{font-size: 1em;}
#footer{font-size: 0.8em;}
.small{font-size: 1.2em;}
/** imposta i font-soze di partenza **/

h1 strong {
    font-family: "Montserrat", sans-serif;
    font-size: 35px;
    color: #2f3542;
    text-transform: uppercase;
}

header nav.navbar-nav .largMenu{font-size: 0.8em;}

a, a:focus, a:hover {text-decoration:none;color: #ffffff;}
ul{list-style-type: none;}
strong{color: #2f3542;font-weight: 600;}

.colonna{padding: 0px 0px;}
.row{margin-left: 0; margin-right: 0}
.container-fluid {height: 100%; padding-left: 0; padding-right: 0}

article section {margin-top: 30px; margin-bottom: 30px; position:relative; /*float: left;*/ overflow: hidden}

body:not(#page_blog):not(#page_offerta) article section:nth-child(1),
body:not(#page_blog):not(#page_offerta) article section:nth-child(1) .custom-col{padding: 0; margin: 0; position: relative;}

.imgrespons{
    background-repeat: no-repeat !important;
    background-position: center; 
    background-size: cover !important; 
    -webkit-background-size: cover !important; 
    -moz-background-size: cover !important; 
    -o-background-size: cover !important;
    background-attachment: scroll;
    height: 100%;
}

.backgroundcolor {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
}

#slideshow .backgroundcolorcarousel{
    background-color: #0000000f;
    z-index: 2;
}

.backgroundcolorcarousel{
    position: absolute;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0,0,0,0.1); */
    z-index: 1;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    z-index: 10;
    height: 0;
    background: #fff;
}

#lingue {
    position: fixed;
    top: 28px;
    right: 15px;
    font-weight: 300;
    text-align: center;
    color: #FFF;
    width: 60px;
    margin-top: 0;
    height: 24px;
    overflow: hidden;
    padding: 0;
    -moz-transition: height 1.2s ease;
    -webkit-transition: height 1.2s ease;
    -o-transition: height 1.2s ease;
    transition: height 1.2s ease;
    z-index: 4;
    margin-bottom: 0;
}

#lingue li{
    display: block;
    margin: 0;
    padding: 2px;
}

#freccialingua{
    margin-left: 15px;
    position: absolute;
    top: 3px;
    right: 5px;
    color: #000000;
    cursor: pointer;
}

#lingue a{
    color: #000000;
    display: block;
    text-transform: none;
    font-weight: normal;
    padding: 0;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    font-size: 13px;
    padding-bottom: 5px;
    font-weight: 500;
    letter-spacing: 0.15em;
    font-family: 'Poppins', sans-serif;
}

#lingue li:hover, #lingue li a:focus, #lingue li a:hover{
    /* background-color: rgba(0, 0, 0, 0.5); */
    color: #000;
}

#lingue li.flag{
    /* background-color: rgba(0, 0, 0, 0.2); */
    min-height: 24px;
}

#lingue li.flag:nth-child(1){
    background-color: transparent;
}

.chiudi{
    position: absolute;
    right: 20%;
    top: 5%;
    cursor: pointer;
}

.menu-content {display: none}

#menu{
    margin-bottom: 0;
    top: 0;
    z-index: 3;
    /* background: rgb(0,0,0); */
    /* background: linear-gradient(180deg, rgba(0,0,0,0.9) 15%, rgba(0,0,0,0) 100%); */
    /* height: 150px; */
    border: none;
    padding-top: 15px;
    padding-bottom: 15px;
}

#menu ul li{
    /* display: inline-block; */
    margin-top: 14px;
    margin-bottom: 9px;
} 
#menu ul li a{
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    letter-spacing: 0.05em;
    border-right: none;
    cursor: pointer;
    padding-top: 5px;
    font-size: 13px;
    padding-bottom: 5px;
    font-weight: 500;
    letter-spacing: 0.15em;
    font-family: 'Poppins', sans-serif;
}

#menu.menu-change ul li a {
	color: #000;
}

#menu ul li a:focus, #menu ul li a:hover{
    /* color: #FFF; */
    background-color: transparent;
    /* border-radius: 5px; */
    /* border-bottom: 2px solid #0fb9b1; */
}

#menu #megamenu li:hover .sfondo-bg{
    color: #FFF;
    /*background-color: #0fb9b1;
    border-radius: 5px;*/
    background: none;
}

#menu #megamenu li a:hover{
    border-bottom: none;
}

.navbar-nav {width: 100%;text-align: center;display: flex;align-items: center;justify-content: flex-end;padding-right: 50px;}
.navbar-nav a{border-right: 1px solid rgba(255, 255, 255, 0.42);}

.navbar-nav a{border-right: 1px solid rgba(255, 255, 255, 0.42);}

ul.navbar-nav ul {
    visibility: hidden;
    position: absolute;
    top: 55px;
    z-index: 598;
    left: -35%;
}

ul.navbar-nav ul li {
    float: none;
    width: 100%;
    /* display: block !important; */
    padding-top: 10px;
    padding-bottom: 10px;
    margin-right: 5px;
    text-align: center;
    margin: 0 !important;
}

ul.navbar-nav ul {width: 180px;/* background: #FFF; */text-transform: uppercase;padding-left: 0;}

ul.navbar-nav ul.active-submenu{visibility: visible;opacity:1;width: 150px;border-bottom-left-radius: 5px;border-bottom-right-radius: 5px;}

ul.navbar-nav a:link, ul.navbar-nav a:visited {color: #000000;text-decoration: none;}

ul.navbar-nav a:hover, ul.navbar-nav a:active { color: #FFFFFF; text-decoration: none; }

.sottomenu {display: block !Important;}


#megamenu{
    position: fixed;
    top: 80px;
    padding-top: 0;
    width: 100%;
    left: 0;
    /* -webkit-box-shadow: 0px 10px 53px -17px rgba(0,0,0,0.75); */
    -moz-box-shadow: 0px 10px 53px -17px rgba(0,0,0,0.75);
    /* box-shadow: 0px 10px 53px -17px rgba(0,0,0,0.75); */
    padding-left: 4px;
    padding-right: 5px;
    background: rgb(255 255 255 / 25%);
}

#megamenu li{
    float: left;
    padding-right: 5px;
    padding-left: 5px;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    display: flex;
}

#megamenu .fotomenu{
    margin-bottom: 0;
    height: 250px;
    position: relative;
    display: inline-block;
    width: 100%;
}

#megamenu li span {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    /* border-bottom: 1px solid #ffffff; */
    /* border-top: 1px solid #fff; */
    padding-bottom: 5px;
    padding-top: 5px;
    font-size: 1.2em;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    letter-spacing: 0.4em;
}

.sfondo-bg{position: absolute;width: 100%;height: 100%;left: 0;top: 0;background: rgba(51, 51, 51, 0.4);}

.menu-change ul.navbar-nav ul {background: #ffffff !important;}

.navbar-toggle {
    width: 45px;
    background-color: transparent;
    float: left;
    margin-left: 15px;
    margin-right: 5px;
    margin-top: 15px;
    z-index: 5;
}

.navbar-toggle .icon-bar {
    background-color: white;
}

.logo{
    position: fixed;
    z-index: 10;
    /* border-radius:  50%; */
    width: 230px;
    height: auto;
    /* padding: 10px!important; */
}

.logo-mobile{
    display: none;
    width: 100%;
    position: absolute;
    padding: 0;
    top: 15px;
    right: 0;
    left: 0;
    text-align: center;
}

.logo-mobile img {
    height: 40px;
    width: auto;
    display: inline-block;
}

.active a{
    background: #0fb9b1;
    color: #FFF;
}

img.logo-footer {
    height: 90px;
    margin-top: 40px;
    /* filter: invert(1) brightness(5) contrast(1.2); */
}

/*FOOTER*/
#footer{
    background: #1e1e1e;
    padding-top: 20px;
    display: block;
    width: calc(100% - 30px);
    position: relative;
    float: left;
    padding-bottom: 70px;
    margin-bottom: 90px;
    margin-left: 15px;
    margin-right: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    margin-top: 15px;
    /* background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='70' height='8' patternTransform='scale(7) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='%232f3542ff'/><path d='M-.02 22c8.373 0 11.938-4.695 16.32-9.662C20.785 7.258 25.728 2 35 2c9.272 0 14.215 5.258 18.7 10.338C58.082 17.305 61.647 22 70.02 22M-.02 14.002C8.353 14 11.918 9.306 16.3 4.339 20.785-.742 25.728-6 35-6 44.272-6 49.215-.742 53.7 4.339c4.382 4.967 7.947 9.661 16.32 9.664M70 6.004c-8.373-.001-11.918-4.698-16.3-9.665C49.215-8.742 44.272-14 35-14c-9.272 0-14.215 5.258-18.7 10.339C11.918 1.306 8.353 6-.02 6.002'  stroke-width='0.5' stroke='%23242833ff' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>"); */
    /* background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='40' height='40' patternTransform='scale(3) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='%23005fb1ff'/><path d='M-4.798 13.573C-3.149 12.533-1.446 11.306 0 10c2.812-2.758 6.18-4.974 10-5 4.183.336 7.193 2.456 10 5 2.86 2.687 6.216 4.952 10 5 4.185-.315 7.35-2.48 10-5 1.452-1.386 3.107-3.085 4.793-4.176'  stroke-width='0.5' stroke='%230b6ec6ff' fill='none'/><path d='M-4.798 33.573C-3.149 32.533-1.446 31.306 0 30c2.812-2.758 6.18-4.974 10-5 4.183.336 7.193 2.456 10 5 2.86 2.687 6.216 4.952 10 5 4.185-.315 7.35-2.48 10-5 1.452-1.386 3.107-3.085 4.793-4.176'  stroke-width='0.5' stroke='%230776d8ff' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>"); */
}

#footer h4{
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: none;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    /* letter-spacing: 0; */
    color: #ffffff;
}

#footer p{color: #f7f7f7;text-align: center !important;text-transform: initial;font-weight: 500;}
#footer a {color: #FFF;font-weight: 500;font-family: 'Poppins', sans-serif;}
#footer p a {color: #ffffff;}

#footer .fa{/* margin-right: 5px; */height: auto;margin-left: 10px;margin-right: 10px;color: #ffffff;}
#footer .fa.fa-instagram{/* width: auto; *//* height: auto; *//* border: none; *//* margin-right: 0; */}
#footer .fa.fa-instagram::before{
    position: static;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

#footer .list-inline {
    text-align: center;
    margin-top: 1px;
    margin-top: 20px;
    margin-bottom: 20px;
    z-index: 2;
    float: none;
    margin-right: auto;
}

#footer .footernamestr, #footer .small{font-family: sans-serif;}
#footer .footernamestr { margin-top: 15px;}
#footer .small {margin-top: 10px;}

._CookieScriptReportPageCheckboxes {
    float: left;
    width: 100%;
}

/******* CSS mappa ********/
/* regole generali */
[id^="mappa"]{height: 600px;}
[id^="map-canvas"]{position: relative; width: 100%; height: 100%; z-index: 1;}
article section:nth-child(1) [id^="mappa"]{height: 650px; margin-left: 0; margin-right: 0;}

/* regole leaflet */
.leaflet-control-layers-expanded {padding: 0 5px!important;}
.leaflet-control-layers-expanded input[type=radio]{display: none;}
/*.leaflet-control-layers-expanded input[type=checkbox]{display: none;}*/
.leaflet-control-layers-base label{margin: 0; padding: 0; text-align: center}
.leaflet-control-layers-base label div{cursor: pointer; padding: 15px; margin-top: 5px; margin-bottom: 5px; background-color: #e9e9e9; color:#4a4a4a}
.leaflet-control-layers-base label div:hover{background-color: #d6d6d6; color:#252525}
.leaflet-control-layers-base label div span{width: 100%; height: 100%; position: relative}
.leaflet-control-layers-expanded label .checklayout{font-size: 14px;}

.leaflet-control-layers-overlays{background-color: #e9e9e9; color:#4a4a4a}
.leaflet-control-layers-overlays label div{padding: 2px 5px; font-size: 12px; cursor: pointer}
.leaflet-control-layers-overlays label div span{vertical-align: text-bottom}
/******* CSS mappa ********/

.foto-gallery {
	position: relative;
	float: left;
	display: flex;
	margin: 0;
	padding: 0;
}

.foto-gallery a{margin: 0;padding: 10px;}

.mask-gallery{
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.5s ease;
}
.mask-gallery div{
    background: rgb(0 0 0 / 71%);
    height: 100%;
    border-radius: 15px;
}
.mask-gallery img{
    height: 35px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    filter: brightness(9.5);
}
.foto-gallery span.mask-gallery:hover, .foto-gallery .mask-gallery:hover{
    opacity: 1;
}

.carousel-claim-testo {
    text-transform: none;
    font-weight: 600;
    color: #FFF;
    text-transform: uppercase;
}

/*CONTATTI*/
form .row:first-child .floating-label-form-group {
    border-top: 1px solid #e1e1e1;
}
.floating-label-form-group {
    position: relative;
    margin-bottom: 0;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #e1e1e1;
}
.floating-label-form-group label {
    display: block;
    z-index: 0;
    position: relative;
    top: 2em;
    margin: 0;
    line-height: 1.764705882em;
    vertical-align: middle;
    vertical-align: baseline;
    opacity: 0;
    -webkit-transition: top 0.5s ease,opacity 0.5s ease;
    -moz-transition: top 0.5s ease,opacity 0.5s ease;
    -ms-transition: top 0.5s ease,opacity 0.5s ease;
    transition: top 0.5s ease,opacity 0.5s ease;
}
label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}
input[name=datepickerci].form-control, input[name=datepickerco].form-control {
    background-color: transparent;
}
.floating-label-form-group input, .floating-label-form-group textarea {
    z-index: 1;
    position: relative;
    padding-right: 0;
    padding-left: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none !important;
    resize: none;
    font-weight: 300;
}
.floating-label-form-group-with-focus{
    border-bottom-color: #cbaa5c;
}
.form-group {
    margin-bottom: 20px;
    padding-left: 0;
    text-align: left;
}

.form-control {
    color: #fff !important;
    font-size: 1em !important;
}

#info .btn {
    border-radius: 0;
    padding: 10px 30px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
}
.btn-outline-dark {
    color: #FFF;
    background: #760404;
    /* border: 1px solid #760404; */
    background: #0fb9b1;
    color: #614c19;
    padding: 20px 30px !important;
    font-weight: 500;
    font-family: 'Poppins' !important;
    border-radius: 4px !important;
}

.btn-outline-dark:hover, .btn-outline-dark:focus {
    /* color: white; */
    background: #ffc242;
    background: #ffc242;
    outline: none;
    /* letter-spacing: 0.05em; */
    font-weight: 500;
    font-family: 'Poppins' !important;
}
.form-group p{
    color: #fff;
}
.option {
    margin-right: 10px;
}

/** allineamenti contenuti **/
.colonna.imgrespons div.custom-col{display: table;}

.custom-col div.contenitore.nessuno{}

.custom-col div.contenitore.centrale{display: table-cell;vertical-align: middle;text-align: center}

.custom-col div.contenitore.sinistra{display: table-cell;vertical-align: middle;text-align: left}
/** allineamenti contenuti **/

article section div.contenitore.centrale.contsingolo p {
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 400;
    color: #fff;
}

label.labelallegato{
    opacity: 1;
    top: auto;
    color: #9D9D9D;
    font-weight: 500;
    line-height: 40px;
}

form .checkprivacyform {padding-left: 0; padding-right: 0; font-style: italic;}
form .checkprivacyform .checkformm{position: relative; float: left; width: auto; display: inline-grid;}
form .checkprivacyform .checkformm input{display: inline;}
form .checkprivacyform .testo-infodatiform{position: relative;float: left;width: calc(100% - 21px);margin-left: 5px;text-align: justify;color: #fff;}
form .checkprivacyform .testo-infodatiform a, form .checkprivacyform .testo-infodatiform a:link, form .checkprivacyform .testo-infodatiform a:hover {color: #cbaa5c!important;text-decoration: underline;font-weight: 300;}
form .checkprivacyform .checkdaticomformm{position: relative;float: left;width: auto;display: inline-grid;}
form #leggiinfofinicomm{color: #cbaa5c!important;font-style: italic;text-decoration: underline;font-weight: 300!important;cursor: pointer}
form #divinfofinicomm{height: auto; overflow: hidden; background-color: #dedede; padding: 5px; display: none}

.claim {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    text-align: center;
    color: #FFF;
    text-transform: uppercase;
    font-weight: 300;
    z-index: 3;
    width: 80%;
}

.titoloclaim {
    font-weight: 300;
    display: block;
    margin-bottom: 10px;
    /* text-shadow: 1px 1px 2px rgba(51, 51, 51, 0.32); */
}

#page_privacy #privacy h3, #page_privacy #privacy p, #page_privacy #privacy span{padding-right: 0;padding-left: 0;}
#page_privacy #privacy h3{    
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

#page_privacy #slideshow div{
    height: 100%;
    width: 100%;
    position: absolute;
    color: #fff;
    padding: 30px;
    background-color: rgba(0,0,0,0.4);
}

#page_privacy article section:nth-child(1){height: 350px!important}

/** addthis **/
.atss {width: 2pc!important;}
.atss .at-share-btn, .atss a {width: 2pc!important;}
.atss .at-share-btn .at-icon-wrapper, .atss a .at-icon-wrapper {padding: 2px 0!important;}
.atss .at-share-btn span .at-icon, .atss a span .at-icon {width: 1.5pc!important; height: 1.5pc!important;}

#page_404 article{/* position: absolute; *//* min-height: 200px; *//* width: 100%; *//* padding-top: 80px; */}
#page_404 footer{/* position: absolute; *//* bottom: 0; */}

/** Galleria con immagini a mosaico **/
#page_gallery #gallery-content .custom-col {padding: 0; margin: 0}
#page_gallery #gallery-content a.foto-singola picture{position: relative; overflow: hidden; width: 100%; height: auto;}
#page_gallery #gallery-content a.foto-singola picture img{ padding: 5px; width: 100%; height: 100%;}
#gallery-content a.foto-singola{margin:0; padding: 0}
#gallery-content a.foto-singola span.mask-gallery:hover{opacity: 1;}
/** Galleria con immagini a mosaico **/


#page_index #menu {
    background: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#menu.menu-change {
    height: auto;
    border: none;
    background: #ffffff !important;
    min-height: inherit;
    transition: all 0.5s ease 0s;
    border-bottom: 1px solid;
}

#menu .navbar-nav>li {
    float: none!important;
    position: relative;
    display: inline-block;
    margin: 0;
    margin-left: 1rem;
    margin-right: 1rem;
}


p a {
    color: #0fb9b1;
    font-weight: 400;
}

p a:hover {
    color: #79632d;
    font-weight: 400;
}


/*404*/
#page_404 #slideshow h1 {
    line-height: 1.5em;
    position: absolute;
    top: 45%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: #ffffff;
}

#page_404 #slideshow a.bottone {
    position: absolute;
    top: 65%;
    left: 50%;
    width: 300px;
    margin-left: -150px;
    text-align: center;
}

#page_404 #slideshow .backgroundcolor {
    background-color: #0000007d;
}

/*privacy*/
#page_privacy #slideshow h1 {
    text-align: left;
    position: absolute;
    bottom: 20%;
    left: 15px;
}

#page_privacy #slideshow h2 {
    position: absolute;
    bottom: 5%;
    left: 15px;
}

#menu ul li:nth-child(6) a {
    background-color: #005fb1;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-transform: uppercase;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #ccdee5;
}

#menu ul li:nth-child(6):hover a {
    /* background: #ffc242; */
    /* color: #614c19; */
    border-bottom: none;
}

#menu ul li:nth-child(6) a span{
    padding-bottom: 5px;
    padding-top: 5px;
    /* padding-left: 10px; */
    /* padding-right: 10px; */
    color: #2d2d2d;
}

#menu ul li:nth-child(6):hover a span{
    /* border-bottom: 2px solid #ffffff; */
}



#footer .fa::before{
    /* position: absolute; */
    width: 100%;
    left: 50%;
    top: 50%;
    /* -webkit-transform: translate(-50%,-50%); */
    -ms-transform: translate(-50%,-50%);
    /* transform: translate(-50%,-50%); */
    /* text-align: center; */
    font-size: 30px;
}

#footer h4 span{
    display: none;
}

/*loader*/

#loader{background: #ffffff;position: fixed;left: 0;top: 0;width: 100%;height: 100%;z-index: 99999; display:none !important/*background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='70' height='8' patternTransform='scale(2) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='%23ffffffff'/><path d='M-.02 22c8.373 0 11.938-4.695 16.32-9.662C20.785 7.258 25.728 2 35 2c9.272 0 14.215 5.258 18.7 10.338C58.082 17.305 61.647 22 70.02 22M-.02 14.002C8.353 14 11.918 9.306 16.3 4.339 20.785-.742 25.728-6 35-6 44.272-6 49.215-.742 53.7 4.339c4.382 4.967 7.947 9.661 16.32 9.664M70 6.004c-8.373-.001-11.918-4.698-16.3-9.665C49.215-8.742 44.272-14 35-14c-9.272 0-14.215 5.258-18.7 10.339C11.918 1.306 8.353 6-.02 6.002'  stroke-width='1' stroke='%23e3edf6ff' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>")*/;
   
	}

#loader .loader-container{position: absolute;left: 50%;top: 50%;-webkit-transform: translate(-50%,-50%);-ms-transform: translate(-50%,-50%);transform: translate(-50%,-50%);text-align: center;}
#loader img{height: auto;width: 300px;margin-bottom: 30px;}



.progress-bar {
    width: 100%;
    max-width: 400px;
    height: 5px;
    background-color: #dfe4ea;
    overflow: hidden;
    box-shadow: none !important;
    border-radius: 0;
}

.progress {
    width: 0;
    height: 100%;
    background-color: #33589f;
    animation: fill 3s;
    border-radius: 0;
}

@keyframes fill {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.logo-small .osserva {
    display: none;
}

.logo-small .osserva2 {
    display: inline-block;
}

.logo-small.rosso .osserva2 {
    display: block;
}

.logo-small.rosso .osserva {
    display: none;
}

#page_index .logo-small .osserva2 {
    display: none;
}

#page_index .logo-small .osserva {
    display: block;
}

#page_index .logo-small.rosso .osserva2 {
    display: block;
    filter: none;
}

#page_index .logo-small.rosso .osserva {
    display: none;
}

#page_index #lingue a, #page_index #freccialingua {
    color: #fff;
}

#page_index #lingue.menu-change a, #page_index #freccialingua.menu-change {
    color: #000;
}

.navbar-toggle .icon-bar {
    background-color: #fff;
}

.menu-change .navbar-toggle .icon-bar {
    background-color: #2d2d2d;
}

/* Dati societari */
#footer .footernamestr{
    font-size: 1.2em;
    margin: 20px 0;
}

#footer .datisocietari{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
}

#footer .datisocietari .datfisc {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    letter-spacing: 1px;
    margin: 10px;
}

#footer .datisocietari .datfisc label{
    color: #FFF;
    text-transform: uppercase;
    font-weight: 500;
}

#footer .footernamestr .rsocialestrfooter{
    color: #FFF;
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    margin: 10px;
}

#footer .datisocietari .datfisc span{
    color: #FFF;
}

@media(max-width: 760px){
    #footer .datisocietari {
        display: flex;
        flex-direction: column;
    }
}

.col-sm-4.sx {
    padding-left: 50px;
}

#footer .col-sm-4.sx p, #footer .col-sm-4.sx p a {
    text-align: left !important;
    font-weight: 400;
}

.col-sm-4.dx {
    padding-right: 50px;
}

#footer .col-sm-4.dx p, #footer .col-sm-4.dx p a {
    text-align: right !important;
    font-weight: 400;
}

section#privacy {
    opacity: 1 !important;
    transform: none !important;
}

#menu ul li:nth-child(6) #megamenu li span {
    color: #fff;
}

/** responsive **/
@media(max-width: 1800px){
    #menu .navbar-nav>li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 1600px){
    body{font-size: 1.4em}
    #menu .navbar-nav>li {
        margin-left: 0.07rem;
        margin-right: 0.07rem;
    }
    .logo {width: 250px;}
}

@media (max-width: 1400px){
    body{font-size: 1.3em}
    #menu .navbar-nav>li {margin-left: .5rem;margin-right: .5rem;}
    p {font-size: 14px;}
    #menu ul li a {padding-left: 5px; padding-right: 5px;}
}

@media (max-width: 1200px){
    body{font-size: 1.2em}
    #footer {font-size: 12px;}
    #menu .navbar-nav>li {margin-left: 0;margin-right: 0;}
    #menu ul li a {padding-left: 5px;padding-right: 5px;}
    #menu ul li a {
    padding-left: 5px;
    padding-right: 5px;}
    #footer .col-sm-4 {
    width: 100%;
    }

    .col-sm-4.sx, .col-sm-4.dx {padding: 15px;}
    #footer .col-sm-4.sx p, #footer .col-sm-4.sx p a, #footer .col-sm-4.dx p, #footer .col-sm-4.dx p a {text-align: center !important;}
    #footer .col-sm-4.dx {padding-top: 45px;}
    #footer .col-sm-4 p img {height: 40px;}
}

@media (max-width: 1024px){
    header .navbar-header {float: none;}
    header .navbar-toggle {display: block;}
    header .navbar-collapse.collapse {display: none!important;max-height: 1000px;}
    header .navbar-nav {float: none!important;margin-top: 10px;margin-bottom: 10px;padding-left: 5px;margin-left: 0!important;display: flex;flex-direction: column;padding: 0;height: calc(100vh - 155px);justify-content: center;border: none;}
    
    header .collapse.in{display:block !important;height: calc(100vh - 50px);max-height: calc(100vh - 50px) !important;}
    header .menu-content {width: 100% !important;}
    header .navbar-toggle {top: -5px;}
    header #freccialingua {top: 4px;}

    #lingue {top: 30px;width: 50px;}
    #menu ul li {padding-bottom: 0;padding-top: 0;width: 100% !important;margin-top: 0;margin-bottom: 0;padding-left: 15px;text-align: center;padding-left: 0;}
    #menu ul li a {text-align: center;padding-bottom: 10px;padding-top: 10px;border-right: none;font-size: 1.3em;width: auto;display: inline-block;padding-left: 5px;padding-right: 5px;}
    #menu .navbar-nav>li {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        /* text-align: left; */
        padding-bottom: 2vh;
    }
    
    ul.navbar-nav ul {display: none;}
    ul.navbar-nav ul{position: relative !important;top: 0 !important;visibility: visible !important;background: transparent;opacity: 1;}
    ul.navbar-nav ul li, ul.navbar-nav ul {width: 100% !important; text-align: left;}
    
    #megamenu{position: relative; top: auto; padding-top: 0; width: 100%; left: auto;}
    #megamenu .fotomenu{background: none !important; height: auto; padding: 0; margin-bottom: 12px;}
    #megamenu li span {border: none;position: static;-webkit-transform: none;-ms-transform: none;transform: none;padding: 0;font-size: 1em;}
    #megamenu .sfondo-bg{display: none}
    .navbar-collapse.collapse {
        /* background-color: #797570 !important; */
        /* height: 100vh !important; */
        /* max-height: fit-content; */
    }
    #page_index #menu {
        /* background: #797570; */
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
     #menu.menu-change, #menu {background: #fff;height: auto;}
     
    .menu-change ul.navbar-nav ul {background: transparent !important;left: 0;padding-bottom: 20px;padding-top: 0;height: auto;}

    #megamenu li {padding-left: 0 !important; padding-right: 0;}
    .logo-mobile {display: inline-block;padding-top: 9px;}
    #page_index .logo img {display: none;}
    .logo-mobile img {
        padding-top: 0;
    }


    #menu ul li:nth-child(7) a {
        width: fit-content;
        float: none;
        display: inline-block;
    }

    #page_index .logo.logo-small img {
        display: none !important;
    }

    .logo.logo-small {display: none !important;}

}

@media (max-width: 992px){
    body{font-size: 1.1em}
    #footer {font-size: 11px;padding-bottom: 105px;}
    nav#menu .logo-mobile {
        display: none;
    }
    
    nav#menu.menu-change .logo-mobile {
        display: block;
        transition: .5s;
    }

    #page_index #menu.menu-change {
        border-bottom: 1px solid #000 !important;
    }
    
    #menu.menu-change {
        border-left: none;
        border-right: none;
    }
    #lingue li:hover, #lingue li a:focus, #lingue li a:hover {color: #000;}

    #megamenu .fotomenu {
    background: transparent;
}

#megamenu li span {
    color: #000;
    letter-spacing: 1px;
}


img.logo-footer {
    height: 35px;
}

#menu ul li:nth-child(6) #megamenu li span {
    color: #2d2d2d;
}

}

@media (max-width: 768px){
    #footer h4{margin-top:15px;}
    #logo-menu {left: 35px;}
    #menu .navbar-nav>li {
        margin-bottom: 1rem;
    }
    #lingue {
        top: 24px;
    }

    #menu.menu-change {border: none;}

    .logo-mobile img {
    height: 35px;
    margin-top: 8px;
}

.logo-mobile {
    padding-top: 0;
}

#menu ul li ul li a {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

    
}

@media (max-width: 440px){
    h3, h4 {line-height: 25px;}


#slideshow h3 img {
    height: 50px;
}
    
}

@media(max-width: 390px){
    .logo-mobile img {margin-top: 2px;}
}

@media (max-width: 362px){}