html { 
    scroll-behavior: smooth; 
  }
  
  body {
    font-family: 'Lora';
    font-size: 16px;
  }

  body.cookies_open .cookies_banner_backdrop {
    opacity: 1;
    pointer-events: initial;
    z-index: 999;
  }
  
  #cookies_modal .form-check {
    transform: translate(5px, 5px)!important;
  }
  
  #cookies_modal .modal-header, #cookies_modal .modal-footer, #cookies_modal .border-top, .modal .modal-header, .modal .modal-footer, .modal .border-top {
    border-color: #e6e6e6!important;
  }
  
  #cookies_modal .modal-header, #cookies_modal .modal-footer, #cookies_modal .modal-content, .modal .modal-header, .modal .modal-footer, .modal .modal-content {
    border-radius: 15px;
  }
  
  #cookies_modal, .modal {
    z-index: 2147483646;
  }
  
  .body_color {
    color: #2d2d32;
  }
  
  .btn_accept_all_cookie, .btn_save_cookies, .btn_close_banner {
    background: #75726c;
  }
  
  .btn_accept_all_cookie:hover, .btn_save_cookies:hover, .btn_close_banner:hover {
    background: #75726c;
  }
  
  .btn_preferences_cookie {
    background: #323232;
  }
  
  .btn_close_banner, .btn_preferences_cookie, .btn_accept_all_cookie, .btn_cookie_policy, .btn_save_cookies, .close_modal_btn {
    border: none;
    border-radius: 10px;
    line-height: 1;
    text-align: center!important;
  }
  
  .btn_close_banner.closed_icon {
    background: transparent !important;
  }
  
  .closed_icon i {
    font-size: 18px;
  }
  
  .btn_close_banner.disabled, .btn_accept_all_cookie.disabled, .btn_save_cookies.disabled {
    cursor: not-allowed;
    opacity: .5;
  }
  
  .btn_preferences_cookie:hover {
    background: #2d2d32;
  }
  
  .btn_cookie_policy, .close_modal_btn {
    background: #e6e6e6;
    color: #2d2d32!important;
  }
  
  .btn_cookie_policy:hover, .close_modal_btn:hover {
    background: #dcdcdc;
  }
  
  .close_cookies_modal {
    color: #2d2d32;
  }
  
  .close_cookies_modal:hover {
    color: #2d2d32;
  }
  
  .cookies_banner {
    background: #000;
    max-height: 100vh;
    overflow-y: auto;
    z-index: 999;
  }
  
  .cookies_banner.hidden {
    opacity: 0;
    transform: translateY(100%);
  }
  
  .cookies_banner_backdrop {
    background: #000000bf;
    bottom: 0;
    height: 100vh;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    width: 100vw;
    z-index: -2147483647;
  }
  
  .cookies_trigger {
    background-color: #75726c;
    border-radius: 100%;
    bottom: 12px;
    font-size: 24px;
    height: 48px;
    left: 12px;
    position: fixed;
    width: 48px;
    z-index: 2147483642;
  }
  
  .cookies_trigger::before {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  
  a, a:hover:not(.navbar-flag) {
    text-decoration: none !important;
    color: inherit !important;
  }

  p:not(.text-right) {
    text-align: justify !important;
  }

  #lanostrastoria, #chisiamo, #sostenibilita, #contatti{
    /* Altezza della navbar */
    scroll-margin-top: 137.656px !important;
  }

  .privacy_menu{
    color: inherit !important;
    list-style-type: lower-alpha !important;
  }

  .navbar-lang{
    color: #ffffff6e !important;
  }
  
  .navbar-lang:hover{
    color: #fff !important;
  }
  
  /* Stile per la barra di navigazione */
  .navbar {
    background-color: #34373a;
    box-shadow: none;
    padding-top: 2rem;
    padding-bottom: 1rem;
    width: 100%;
    z-index: 998 !important;
  }
  
  .navbar.internal_navbar{
    background: #34373a !important;
    top: 0 !important;
  }
  
  .navbar .container{
    max-width: 90% !important;
  }
  
  .navbar-toggler {
    z-index: 1;
    border: none !important;
    cursor: pointer;
  }
  
  .navbar-toggler div {
    display: block;
    width: 35px;
    height: 4px;
    background-color: #fff;
    opacity: 1;
    border-radius: 1px;
    color: #505050;
    font-size: 8px;
    margin-top: 6px!important;
    margin-bottom: 6px!important;
  }
  
  .navbar-flag {
    margin-right: 10px; /* Aggiungere spazio tra le bandiere */
    z-index: 1;
  }
  
  .navbar-translate {
    display: flex;
    align-items: center;
  }
  /* Stile per centrare il logo nella barra di navigazione */
  .navbar-brand {
    text-align: center; /* Allineamento del testo al centro */
    z-index: 1;
  }
  .navbar-brand img {
    width: auto;
    height: 75px;
    transition: width .5s ease-in-out;
  }
  .navbar-brand .text-header{
    transition: font-size .5s ease-in-out;
  }
  .text-header{
    font-size: 1rem !important;
  }
  
  /* Stile per le bandiere nella barra di navigazione */
  .navbar-flag img {
    width: 30px; /* Larghezza desiderata per le bandiere */
    height: 20px; /* Altezza desiderata per le bandiere */
  }
  
  #scroll-down-animation {
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    z-index: 150;
  }
  
  .mouse {
    margin: 0 auto;
    display: block;
    border-radius: 50px;
    border: 3px solid #fff;
    height: 50px;
    width: 30px;
    position: relative;
    z-index: 100;
  }
  
  .move {
      position: absolute;
      background-color: #fff;
      height: 5px;
      width: 5px;
      border-radius: 50%;
      left: 50%;
      transform: translateX(-50%);
      animation: move 2s linear infinite;
  }
  
  #panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%; /* Larghezza del pannello */
    height: 100%; /* Altezza del pannello */
    /* background-color: #34373a; */
    background-color: #3c3c3c;
    z-index: 1100; /* Assicura che il pannello sia sopra agli altri elementi */
    display: none; /* Nasconde il pannello di default */
  }
  
  .link {
    display: inline-block;
    color: white; /* Colore del testo */
    /* font-weight: bold; */
    font-size: 2.5rem; /* Grandezza del testo */
    margin: -8px 115px;
  }
  
  .sub-menu {
    display: none; /* Nasconde il sotto-menu di default */
    padding-left: 20px; /* Indentazione per le voci del sotto-menu */
  }
  
  li:hover > .sub-menu {
    display: block; /* Mostra il sotto-menu al passaggio del mouse */
  }
  
  /* Stile per i link del sotto-menu */
  .sub-link {
    display: block;
    font-size: 40px; /* Dimensione del font per i link del sotto-menu */
    padding: 6px 16px;
    background: #f1f1f1;
    color: #333;
    margin-left: 40px; /* Sposta le voci verso destra */
  }
  
  .sub-link:hover {
    background: #e2e2e2;
    color: #000;
  }
  
  /* Reset del padding per la lista senza stile */
  .list-unstyled {
    padding-left: 55px;
    padding-bottom: 30px;
    list-style: none;
  }
  
  .link2 {
    display: inline-block;
    color: white; /* Colore del testo */
    /* font-weight: bold; */
    font-size: 1.75rem; /* Grandezza del testo */
    margin: -8px 115px;
  }
  
    .close {
        position: absolute;
        top: 10px; /* Distanza dal bordo superiore */
        right: 30px; /* Distanza dal bordo destro */
        color: white; /* Colore del testo */
        font-size: 90px; /* Grandezza del testo */
        background: none;
        border: none;
    }
  
    .logo-menu {
        position: absolute;
        bottom: 0; /* Distanza dal bordo inferiore */
        right: 50px; /* Distanza dal bordo destro */
        height: 500px; /* Altezza dell'immagine */
    }
  

.bg-light{
  background-color: #34373a !important;
}

h1{
  font-size: 40px;
}

h2{
  font-size: 25px;
}

p{
  /* font-size: 18px; */
  margin-top: -10px;
  margin-bottom: 18px;
}


.logo-top-right {
  position: absolute;
  top: 125px; /* Aggiusta il valore per allineare con la linea */
  right: 17px; /* Aggiusta il valore per allineare con la linea */
  height: 55px; /* Altezza dell'immagine */
}
/* .logo-top-right-2 {
  position: absolute;
  top: 92px;
  right: 45px;
  height: 56px;
} */
.logo-top-right-2 {
  position: absolute;
  top: 140px;
  right: 132px;
  height: 56px;
}


.top-right-text {
  position: absolute;
  top: 10px; /* Aggiusta questo valore secondo necessità */
  right: 45px; /* Aggiusta questo valore secondo necessità */
  
  z-index: 100; /* Assicurati che sia sopra altri elementi */
}

.top-right-text a {
  color: #000; /* Colore del testo */
  text-decoration: none; /* Rimuove la sottolineatura */
  margin: 0 5px; /* Spaziatura tra i link */
}



 hr {
  border: none;
  border-top: 1px solid #000; /* Colore e spessore della linea */
  margin: 10px 0; /* Spazio sopra e sotto la linea */
  margin-right: 19px;
  position: relative;
}

.company-info {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  padding-left: 7rem;
  position: relative; /* Posizione relativa per il posizionamento assoluto dell'immagine */
  padding-top: 5rem;
}

.blocco-testo{
  margin-top: 2rem;
  padding-bottom: 4rem;
}

.container {
  max-width: 95%;
}

.sinistra{
  /* margin-left: -6.5rem; */
}


.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}
  

.destra {
  margin-top: 2rem;
  /* margin-bottom: 4rem; */
  width: 95%;
  margin-left: auto;
}

.container-right {
  padding-right: 0;
}

.no-gutters {
  margin-right: 0;
}

.content-left {
  background-color: white;
  /* padding: 1rem; */
  text-align: right;
  padding-right: 8.5rem !important;
}

/* .vertical-line {
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: black;
  z-index: 1;
} */

.img-fluid-1 {
  object-fit: cover;
  position: relative;
  z-index: 0;
  height: 260px;
  right: 17.5rem;
}
.img-fluid-2 {
  object-fit: cover;
  position: relative;
  z-index: 0;
  height: 120px;
  right: 12rem;
}
.img-fluid-3 {
  object-fit: cover;
  position: relative;
  z-index: 0;
  height: 350px;
  right: 244px;
}
.video-fluid-2 {
  object-fit: cover;
  position: relative;
  z-index: 0;
  height: 250px;
  width: 480px;
  right: 400px;
  padding-top: 2rem;
  border: none; /* Aggiunta per rimuovere il bordo */
}
.video-container {
  margin-bottom: 20px; /* Spazio tra gli iframe */
  display: flex;
  flex-direction: column;
}

.video-fluid-3 {
  object-fit: cover;
  position: relative;
  z-index: 0;
  height: 250px;
  width: 380px;
  right: -50px;
  padding-bottom: 1rem;
  border: none;
}

.descrizione-storia{
  text-align: left;
  /* padding-left: 3rem; */
  padding-top: 0.5rem;
}

.descrizione{
  padding-top: 2rem;
}
.blocco{
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.img-orizz-mondo{
  width: 100%;
  /* margin-left: -120px;
  width: max-content;
  height: 900px; */
}




  .container-custom {
    margin-left: 30px;
    margin-right: 30px;
    background-color: white;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 86%;
    margin: 0 auto;
  }
  
  .content-item {
    overflow: hidden;
    height: 300px; /* Altezza fissa per il contenitore delle immagini */
  }
  
  .content-item img {
    width: 100%;
    height: 100%; /* Altezza del 100% per le immagini */
    object-fit: cover; /* Copre completamente il contenitore con l'immagine */
  }
  
  .title {
    font-size:40px;
    padding: 0px 1px;
    text-align: end;
  }
  
  .upper_div{
    margin-top: -30px;
  }
  
  /* Stile per l'immagine di sfondo */
  .bg-image {
    background-image: url('https://dev.ewebsolution.it/gritti/img/green-energy-2.jpg'); /* Sostituisci 'link_all_immagine.jpg' con il percorso dell'immagine */
    background-size: cover;
    background-position: center;
    height: 115vh; /* Altezza uguale all'altezza della finestra */
    padding-right: 5rem;
  }
  
  .bg-image p{
    max-width: 360px;
    margin-left: auto;
  }
  
  /* Stile per il titolo */
  .title2 {
    font-size: 50px;
    text-align: end;
  }
  
  /* Stile per il sottotitolo */
  .subtitle {
    font-size: 1.75rem;
    margin-bottom: 20px;
    text-align: end;
  }
  
  /* Stile per il logo */
  .logo {
    max-width: 90px; /* Ingrandisci leggermente il logo */
  }
  
  .icon_section{
    right: 11%;
  }
  
  .gray-section {
    background-color: #34373a !important;
    padding: 85px 0;
  }
  
  .white-bg {
    background-color: white;
  }
  
  .white-bg img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0; /* Imposta il margine dell'immagine a zero per rimuovere gli spazi tra i bordi */
  }
  
  
  .img-fluid {
    max-width: 100%;
  }
  
  .form-container {
    padding-top: 3rem;
    padding-right: 4rem;
    padding-left: 2rem;
  }
  
  .form-check-label{
    font-size: 13px;
  }
  .white-bg .btn-primary {
    float: right; /* Allinea il pulsante a destra */
    background-color: white; /* Imposta lo sfondo bianco */
    border: 1px solid black; /* Aggiungi un bordo nero */
    padding-left: 4rem; /* Aggiungi padding laterale sinistro */
    padding-right: 4rem; /* Aggiungi padding laterale destro */
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: black;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  .certifications{
    right: 160px;
    bottom: -100%;
  }
  
  .certifications .col-md{
    flex-grow: 0 !important;
  }
  
  .logo_certificazioni{
    max-width: 60px;
  }
  
  .contatti{
    font-size: 50px;
  }
  
  .iframe_g_map{
    margin-bottom: -7px;
  }
  
  footer {
    display: flex;
    justify-content: space-between;
    background-color: #34373a;
    padding: 4rem;
    align-items: end;
  }
  
  .footer-column {
    flex: 1;
    margin: 0 10px;
  }
  
  li{
    color: white;
    list-style: none;
    padding-top: 7px;
    
  }
  .foot-col{
    padding-top: 20px;
  }
  
  .logofoot{
    height: 110px;
    width: auto;
    padding-left: 38px;
  }

  .link-foot{
    color: white;
    list-style: none;
    padding-top: 7px;
    font-style: oblique;
  }
  
  .eweb_signature {
    background: #000;
    color: #ffffffbf;
    font-size: 75%;
  }
  
  @keyframes move {
      0% {
        transform: translate(-50%, 10px);
        opacity: 0;
      }
      50% {
        transform: translate(-50%, 40px);
        opacity: 1;
      }
      100% {
        transform: translate(-50%, 80px);
        opacity: 0;
      }
  }

  .img-orizz{
    height: auto;
    width: 100%;
  }

  .border-left-solid{
    border-left: solid 2px;
  }

  @media only screen and (max-width:1400px) {
    /* .link {
      font-size: 3rem;
    } */
    .video-yout{
      height: 250px;
    }
  }

  .video-yout{
    width: 100%;
    height: 400px;
  }


.img-full-linee{
  width : 95%;
  height: calc(100vh - 220px);
  object-fit: cover;
}
 
button:focus{
  outline: none !important;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #fff #dee2e6 #dee2e6 !important;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  border-color: #dee2e6 #fff #fff #dee2e6 !important;
  font-weight: 600;
}

.nav-tabs .nav-link.border-right{
  border-color: #dee2e6 #dee2e6 #dee2e6 #dee2e6 !important;
}

.image-container-title img{
  width: 100%;
    /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); */
    /* transition: transform 0.3s ease-in-out; */
    height: 120px;
    /* background-color: white; */
    /* padding: 1rem; */
    object-fit: contain;
    cursor: pointer;
    border: solid 1px #000;
}

.logo-linea-top-right {
  position: absolute;
  top: 155px;
  right: 16px;
  height: 55px;
}

.container_linee_loghi {
  max-width: 92%;
}

.gray-background {
  background-image: url(https://dev.ewebsolution.it/gritti/img/02_sfondo_grigio+logo-1.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.link-foot-submenu{
  font-size: .9rem;
}

.grey-line {
  background: #3c3c3c;
  width: 50px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.date_story_sx_desk {
  font-size: 3rem;
  font-weight: bolder;
  position: absolute;
  bottom: 80%;
  left: 50%;
  transform: translateX(-75%);
  z-index: 10;
}

.date_story_dx_desk {
  font-size: 3rem;
  font-weight: bolder;
  position: absolute;
  bottom: 80%;
  left: 50%;
  transform: translateX(-26%);
  z-index: 10;
}

/* .p_story_dx_desk {
  width: 92%;
  margin-left: 50px !important;
} */

.title_story{
  font-size: 1.5rem;
  font-weight: 700;
}

.slower {
  animation-duration: 2s !important;
}

.photo_story{
  width: 135px;
  height: 135px;
  border: 5px solid #9c9d9f;
  object-fit: cover
}

.placeholder_icon{
  width: 135px;
  height: 135px;
  border: 5px solid #9c9d9f;
  object-fit: contain;
  background: #3c3c3c;
}

#showStoryModal .close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #000;
  font-size: 40px;
}

.text_story_short{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media only screen and (max-width:991px) {
  .title_story{
    background-color: #fff;
    padding: 5px;
    border-top: solid 1px #ccc;
    border-right: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    border-left: solid 1px #ccc;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 0;
  }
  .text_story_short {
    padding: 5px;
    background: #fff;
    border-right: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    border-left: solid 1px #ccc;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
}
.video_header , .img_head {
    object-fit: cover!important;
    width: 100%!important;
    height: calc(100vh - 134px)!important;
    margin-top: 134px!important;
}
html , body {
    overflow-x: hidden!important;
}
.modal_az {
    z-index: 104040;
}

@media (min-width: 2560px) {
    .date_story_dx_desk { transform: translateX(-57%) !important; } 
    .date_story_sx_desk { transform: translateX(16%) !important; } 
}

@media (max-width: 1920px) {
    .date_story_dx_desk { transform: translateX(-94%) !important; }
    .date_story_sx_desk { transform: translateX(-40%) !important; }
}

@media (max-width: 1600px) {
    .date_story_dx_desk { transform: translateX(-175%) !important; }
    .date_story_sx_desk { transform: translateX(-117%) !important; }
}

@media (max-width: 1440px) {
    .date_story_dx_desk { transform: translateX(-210%) !important; }
    .date_story_sx_desk { transform: translateX(-150%) !important; }
}

@media (max-width: 1366px) {
    .date_story_dx_desk { transform: translateX(-191%) !important; }
    .date_story_sx_desk { transform: translateX(-189%) !important; }
}

@media (max-width: 1280px) {
    .date_story_dx_desk { transform: translateX(-270%) !important; }
    .date_story_sx_desk { transform: translateX(-250%) !important; }
}

@media (max-width: 1150px) {
    .date_story_dx_desk { transform: translateX(-304%) !important; }
    .date_story_sx_desk { transform: translateX(-334%) !important; }
}

@media only screen and (max-width:768px) {
  .cookies_trigger {
    bottom: 60px !important;
    width: 35px !important;
    height: 35px !important;
    font-size: 16px !important;
  }
}
.date_story_dx_desk , .date_story_sx_desk {
    -webkit-text-stroke: 1px #343a40;
}