@import url('reset.css');

::-moz-selection{ background-color: #f3f3f3; color: #333;}
::selection{ background-color: #f3f3f3; color: #333;}

:root {
--alt-color: #d9a751;
--bg-box-color: #fbfcfd;
}

a {text-decoration: none; color: var(--alt-color); cursor: pointer;}
a:hover {color: #FFF;}

html {scroll-behavior: smooth;}
/* #id-div {scroll-margin-top: 60px;} */

body {
  font-family: 'Open Sans', sans-serif;
  background: #171c34;
  color: #FFF;
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 0;
  font-weight: 500;
  -webkit-text-size-adjust: 100%;
}

ul li, ol li {font-weight: inherit; text-align: left;}

h1 {font-size: 42px; line-height: 45px; font-weight: 400; color: #000; font-family: 'Open Sans', sans-serif; margin-bottom: 30px;}
h2 {font-size: 31px; line-height: 31px; font-weight: 400; color: #000; font-family: 'Open Sans', sans-serif; margin-bottom: 20px;}
h3 {font-size: 19px; line-height: 26px; font-weight: 400; color: #000; font-family: 'Open Sans', sans-serif; margin-bottom: 10px;}
h4 {font-size: 18px; line-height: 25px; font-weight: 400; color: #000; font-family: 'Open Sans', sans-serif; margin-bottom: 10px;}

strong {font-weight: 500; color: #333;}

#cookieChoiceInfo {display:none; color: #CCC; bottom: 0; top: inherit !important; font-size: 12px; line-height: 20px; padding: 20px 30px 19px 32px !important; background-color: black !important; text-align: left !important}
#cookieChoiceInfo a#cookieChoiceDismiss {position: absolute;top: 20px;right: 20px; font-size: 15px}
/*#cookieChoiceInfo a#cookieChoiceDismiss::after{content: "\2715"}*/
#cookieChoiceInfo a {color: white;}
#cookieChoiceInfo a:hover {color: #CCC;}

a.bottone {position: relative; height: auto; overflow: hidden; background: var(--alt-color); font-size: 18px; line-height: 25px; letter-spacing: 0; color: #FFF; width: 200px; display: inline-block; text-align: center; padding: 12px 0; border-radius: 10px;}
a.bottone:hover {background: #eed78a;}

.bottoni-container {margin-top: 15px;}
.bottoni-container.flex {justify-content: flex-start}
.bottoni-container.flex a:first-child {margin-right: 15px}

.sticky {position: sticky !important; position: -webkit-sticky !important; top: -1px; z-index: 2;}

.grecaptcha-badge {visibility: hidden;}
.iubenda-tp-btn[data-tp-float]:not([data-tp-anchored]), .iubenda-cs-brand-badge {display: none !important;} .iubenda-tp-alert-btn[data-tp-float][data-tp-float=bottom-right], .iubenda-tp-alert-btn[data-tp-float][data-tp-float=top-right], .iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=bottom-right], .iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=top-right], .iubenda-uspr-btn[data-tp-float][data-tp-float=bottom-right], .iubenda-uspr-btn[data-tp-float][data-tp-float=top-right] {display: none !important}


/* --------------------------------------------------------------------------
        CSS BASE
--------------------------------------------------------------------------- */

.only-mobile {display: none;}
.not-mobile {display: block;}
body.stop-scroll {overflow: hidden; height:100%;}

.wrapper {position: relative; height: auto; overflow: hidden; width: 90%; max-width: 1300px; margin: 0 auto;}
.wrapper-small {max-width: 610px}
.wrapper-medium {max-width: 800px}
.wrapper-big {max-width: 1200px}

.wrapper.flex-container {display: flex; flex-direction: row; justify-content: space-between; align-items: center;} /* per vertical: align-items: center; */

.overflow-visible {overflow: visible !important;}
.flex-vertical-center {display: flex; flex-direction: row; justify-content: space-between; align-items: center;}
.flex {display: flex; flex-direction: row; align-content: center; justify-content: space-between;}

#menu {position: relative; height: auto; overflow: hidden;}
#menu ul {position: relative; height: auto; overflow: hidden; padding-left: 0; display: flex;}
#menu ul li {position: relative; height: auto; overflow: hidden; list-style: none; margin: 0 20px; vertical-align: middle;}
#menu ul li a {position: relative; height: auto; overflow: hidden; color: #FFF;font-size: 17px; line-height: 20px; text-transform: uppercase; letter-spacing: 0; font-weight: 400;}
#menu ul li:hover, #menu ul li a:hover, #menu ul li.active a {color: #CCC;}

#main-content {padding: 80px 0 60px 0;}

section.default-section {padding: 80px 0;}
section.default-section p:last-child {margin-bottom: 0}
section.no-padding-bottom {padding-bottom: 0}
section.no-padding-top {padding-top: 0}

header {position: fixed; width: 100%; top: 0; color: white; background: #111; padding: 15px 0; z-index: 3;}

#logo {margin-bottom: 30px;}
#logo img {display: inline-block; width: 300px;}
#logo a {display: inline-block;}
.slick-slide {margin: 0 30px;}
.slick-list {margin: 0 -30px;}




#main-video {
    position: relative; 
    overflow: hidden;
    height: 100vh;
    width: 100vw; /* Assicurati che il contenitore prenda tutta la larghezza */
    z-index: 1;
}

/* Rendi il video un vero e proprio sfondo "cover" */
video.video100 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Taglia e adatta il video senza distorcerlo */
    object-position: center center; /* Lo centra proprio come background-position */
    z-index: 1; /* Rimane sotto ad altri elementi (es. l'immagine di fallback) */
}

#main-video img {
    position: absolute; /* Cambiato da relative a absolute per sovrapporsi al video */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2; /* Sta sopra al video finché jQuery non fa il fadeOut */
}
#overlay {background: #171c34; opacity: 0.7; z-index: 2; top: 0; width: 100%; height: 100vh; position: absolute;}
#main-content {z-index: 3; top: 0; width: 100%; height: 100vh; position: absolute;}


#whatsapp-jg{position:fixed;bottom:20px;right:20px;z-index:999}#whatsapp-jg a{width:50px;height:50px;order:2;padding:5px;box-sizing:border-box;border-radius:50%;cursor:pointer;overflow:hidden;box-shadow:rgba(0,0,0,0.25) 2px 2px 12px;transition:all .5s ease 0;position:relative;z-index:200;display:block;border:0;background:#E1B763!important}

.social {margin-top: 15px;}
.social a img {width: 25px; display: inline-block;}
.social a {display: inline-block;}


/* --------------------------------------------------------------------------
        GALLERIA
--------------------------------------------------------------------------- */

#galleria-container {z-index: 1; position: relative;}
#galleria {z-index: 2; position: relative;}
#galleria-overlay {z-index: 3; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5);}
#galleria-title {z-index: 4; position: absolute; width: 100%; padding: 0 20px;}
#galleria-title .galleria-title-content {width: 100%; max-width: 800px; margin: 0 auto; position: relative; color: white;}

#galleria-container, #galleria-container #galleria, #galleria-container #galleria-overlay {height: 80vh;}
#galleria-container.galleria-container-home, #galleria-container.galleria-container-home #galleria, #galleria-container.galleria-container-home #galleria-overlay {height: 100vh;}


/* --------------------------------------------------------------------------
        HOME
--------------------------------------------------------------------------- */



/* --------------------------------------------------------------------------
        FOOTER
--------------------------------------------------------------------------- */

#footer {font-size: 12px; line-height: 21px; margin-top: 30px;}
footer ul {padding-left: 0; margin-left: 0}
footer ul li {list-style: none}



/* --------------------------------------------------------------------------
        Newsletter
--------------------------------------------------------------------------- */

#mc_embed_signup {background: transparent !important;}
#mc_embed_signup input.email {border: none !important; background: #fafafa; color: #9b9b9b !important; font-size: 10px !important; width: 100% !important; padding-left: 10px !important;}
#mc_embed_signup input.button {font-size: 11px !important; width: 100% !important;}
#mc_embed_signup .button {background-color: #efefef !important; color: #9b9b9b !important;}
#mc_embed_signup .button:hover {background-color: #d2d2d2 !important;}
#mc_embed_signup {margin-left: -5px !important;}


/* --------------------------------------------------------------------------
        FORM
--------------------------------------------------------------------------- */

label{font-size:12px;text-align:center;font-weight:600;color:#222;letter-spacing:0}
input,select{border:1px solid #E7E7E7;background:#FFF;padding:15px 20px;position:relative;height:auto;overflow:hidden;width:100%;display:block;margin-bottom:15px;border-radius:4px}
textarea{border:1px solid #E7E7E7;background:#FFF;padding:15px 20px;position:relative;height:auto;overflow:hidden;display:block;width:100%;height:200px;margin-bottom:15px;border-radius:4px}

input,select,textarea {font-size:14px;letter-spacing:1px;color:#8E8E8E;font-weight: 400;line-height: 21px;font-family: inherit; font-weight:400;}


input.submit{margin-top:15px;cursor:pointer;position:relative;height:auto;overflow:hidden;background:#6191cd;font-size:12px;line-height:21px;font-weight:600;letter-spacing:1px;color:#fff;width:200px;display:inline-block;text-align:center;padding:12px 0;border:0}
input.submit:hover{background:#4481cc}
input:focus,select:focus,textarea:focus,button:focus{outline:none}

select{cursor:pointer;display:inline-block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none}
select.classic{background-image:linear-gradient(45deg,transparent 50%,blue 50%),linear-gradient(135deg,blue 50%,transparent 50%),linear-gradient(to right,skyblue,skyblue);background-position:calc(100% - 20px) calc(1em + 2px),calc(100% - 15px) calc(1em + 2px),100% 0;background-size:5px 5px,5px 5px,2.5em 2.5em;background-repeat:no-repeat}
select.minimal{background-image:linear-gradient(45deg,transparent 50%,gray 50%),linear-gradient(135deg,gray 50%,transparent 50%),linear-gradient(to right,#ccc,#ccc);background-position:calc(100% - 20px) calc(1.7em + 0px),calc(100% - 15px) calc(1.7em + 0px),calc(100% - 2.5em) 1em;background-size:5px 5px,5px 5px,1px 1.5em;background-repeat:no-repeat}

input.checkbox {-webkit-appearance: checkbox !important; padding: 0; cursor: pointer;}
input.checkbox {width: auto; margin-right: 10px; float: left; top: 4px;}


/* --------------------------------------------------------------------------
        FADE IN / FADE OUT
--------------------------------------------------------------------------- */

.js .hideme, .js .hideme-slideup, .js .hidemeslow {opacity: 0;}
.unveil {opacity: 0}

/* --------------------------------------------------------------------------
        slideUp
--------------------------------------------------------------------------- */

.slideUp{animation-name:slideUp;-webkit-animation-name:slideUp;animation-duration:1s;-webkit-animation-duration:1s;animation-timing-function:ease;-webkit-animation-timing-function:ease;visibility:visible}
@keyframes slideUp {
    0%{transform:translateY(100%)}
    100%{transform:translateY(0%)}
}
@-webkit-keyframes slideUp {
    0%{-webkit-transform:translateY(100%)}
    100%{-webkit-transform:translateY(0%)}
}


/* --------------------------------------------------------------------------
        GALLERIA: Zoom on Loading
--------------------------------------------------------------------------- */

#id-galleria-jg .galleria-image img{-webkit-transition:scale 2s ease;-moz-transition:scale 2s ease;-o-transition:scale 2s ease;-ms-transition:scale 2s ease;transition:scale 2s ease;max-width:100%;-webkit-animation-fill-mode:forwards;-moz-animation-fill-mode:forwards;animation-fill-mode:forwards;animation-name:galleriaZoomOnLoading;-webkit-animation-name:galleriaZoomOnLoading;-moz-animation-name:galleriaZoomOnLoading;animation-duration:2s;-webkit-animation-duration:1s;-moz-animation-duration:1s;animation-timing-function:ease;-moz-animation-timing-function:ease;-webkit-animation-timing-function:ease;visibility:visible}
@keyframes galleriaZoomOnLoading {
  0%{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}
  100%{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);-ms-transform:scale(1.05);-o-transform:scale(1.05);transform:scale(1.05)}
}
@-webkit-keyframes galleriaZoomOnLoading {
  0%{-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}
  100%{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);-ms-transform:scale(1.05);-o-transform:scale(1.05);transform:scale(1.05)}
}


/* --------------------------------------------------------------------------
        Responsive patterns
--------------------------------------------------------------------------- */

.col-r-1 {width: 8.33%;}
.col-r-2 {width: 16.66%;}
.col-r-3 {width: 25%;}
.col-r-4 {width: 33.33%;}
.col-r-5x { width: 20%; }
.col-r-5 {width: 41.66%;}
.col-r-6 {width: 50%;}
.col-r-7 {width: 58.33%;}
.col-r-8 {width: 66.66%;}
.col-r-9 {width: 75%;}
.col-r-10 {width: 83.33%;}
.col-r-11 {width: 91.66%;}
.col-r-12 {width: 100%;}
.col-w-padding-left {padding-left: 50px !important}
.col-w-padding-right {padding-right: 50px !important}

[class*="col-r-"] {float:left; padding: 15px; position: relative; height: auto; overflow: hidden;}
[class*="col-r-"] p img {width: 100% !important; height: auto !important;}
.row::after {content: ""; clear: both; display: block;}
.row.row-no-margin {margin: -15px;}

/* ---- MASONRY ---- */
.masonry.masonry-2 {column-count: 2; column-gap: 0.3em; }
.masonry.masonry-3 {column-count: 3; column-gap: 0.3em; }
.item {width: 100%; position: relative !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;break-inside: avoid}
.item img {width: 100%; display: block;}


/* --------------------------------------------------------------------------
        RESPONSIVE
--------------------------------------------------------------------------- */

@media screen and (max-width: 900px) {

  .flexbox-container {display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-moz-box-align:start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}
  .flexbox-container .first-div{-webkit-box-ordinal-group:2;-moz-box-ordinal-group:2;-ms-flex-order:2;-webkit-order:2;order:2}
  .flexbox-container .second-div{-webkit-box-ordinal-group:1;-moz-box-ordinal-group:1;-ms-flex-order:1;-webkit-order:1;order:1}
  .flexbox-container .first-div {margin-bottom: -10px !important}
  .flexbox-container .second-div {margin-bottom: 30px !important}

  .only-mobile {display: block;}
  .not-mobile {display: none;}

  .unveil {opacity: 1}

  .flex-vertical-center {display: block;}
  .flex-vertical-center.flexbox-container {display: flex;}

  .masonry.masonry-2 {column-count: 1;}
  .masonry.masonry-3 {column-count: 1;}

  [class*="col-r-"] {float: none; padding: 0 0 15px 0 !important; width: 100%;}
  [class*="col-r-"]:last-child {padding-bottom: 0 !important;}
  .row.row-no-margin {margin: 0;}

  input.checkbox {float: none; margin-bottom: 10px !important; padding: 0;}

  section.default-section {padding: 50px 0;}
  section.default-section p:last-child {margin-bottom: 0}
  section.no-padding-bottom {padding-bottom: 0}
  section.no-padding-top {padding-top: 0}

  .col-w-padding-left {padding-left: 0 !important}
  .col-w-padding-right {padding-right: 0 !important}

  .bottoni-container.flex {display: flex;}
  
  footer .flex {display: block;}
  footer .flex > div {margin-top: 20px;}
}
