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%);
}

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

h1{
  font-size: 40px;
}

h2{
  font-size: 25px;
  line-height: 1 !important;
}

h2.bigger{
  font-size: 1.75rem !important;
}

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;
}

.full-width-video {
  width: 100%;
  overflow: hidden;
  height: 100vh;
}

.video-fluid {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

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

a, a:hover:not(.navbar-flag) {
  text-decoration: none !important;
  color: inherit !important;
}

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

/* Stile per la barra di navigazione */
/* .navbar {
  background-color: transparent !important;
  box-shadow: none;
  top: 40px;
  width: 100%;
} */
.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 */
}

.navbar-lang{
  color: #ffffff6e !important;
}

.navbar-lang:hover{
  color: #fff !important;
}

#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; /* Hide sub-menu by default */
  padding-left: 20px; /* Indentation for sub-menu items */
}

li:hover > .sub-menu {
  display: block; /* Show sub-menu on hover */
}


/* Styling for sub-menu links */
.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 padding for unstyled list */
.list-unstyled {
  padding-left: 55px;
  padding-bottom: 20px;
  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: 120px; /* 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 */
  z-index: -1;
}


.gray-background .container-right {
  background-color: white; /* Colore bianco per la fascia interna */
  height: 680px;
  margin-right: 0;
  max-width: 93%; /* Limita la larghezza al 80% della pagina */
}

.gray-background .container-center {
  background-color: white; /* Colore bianco per la fascia interna */
  height: 680px;
  margin-right: 2rem;
  margin-left: 2rem;
}
.content-left {
  text-align: left; /* Testo allineato a sinistra */
  padding-left: 45px;
  padding-right: 40px;
  padding-top: 60px;
}
.cta_chi_siamo{
  bottom: 40px;
  left: 55px;
}
.project_txt{
  max-width: 78%;
}
.cta_metodo{
  bottom: 40px;
  right: 55px;
}

.cta_servizi{
  bottom: 0px;
  left: 15px;
}
.cta_policy{
  bottom: 40px;
  right: 86px;
}
.circle{
  background: #505050;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
.container_loghi{
  max-width: 88%;
}

.smaller_h2{
  font-size: 64px !important;
}
.content-right {
  text-align: right; /* Testo allineato a destra */
}
.col-xl-7{
  padding-right: 0;
  padding-left: 0;
}
.content-right img {
  width: 100%; /* L'immagine occupa tutto lo spazio disponibile */
  height: 680px; /* Altezza proporzionale rispetto alla larghezza */
  margin: 0; /* Rimuovi tutti i margini */
  display: block; /* Imposta l'immagine come elemento blocco */
}

.loghi{
  padding-top: 4rem;
}

.image-container img:not(.bg_img) {
  width: 100%;
  /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);  */
  transition: transform 0.3s ease-in-out; 
  height: 150px;
  /* background-color: #fff; */
  /* padding: 2rem; */
  object-fit: contain;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
}
.ease {
    
  transition: all ease 0.5s !important;
}

.image-container img:hover {
  /* transform: scale(1.05); Ingrandisci leggermente l'immagine al passaggio del mouse */
}

/* Stili personalizzati */
.gray-background {
  background-image: url(https://www.grittigroup.com/img/02_sfondo_grigio+logo-1.png);
  background-size: cover; /* Ridimensiona l'immagine per coprire l'intero elemento */
  background-position: center; /* Centra l'immagine all'interno dell'elemento */
  background-repeat: no-repeat; /* Impedisce la ripetizione dell'immagine di sfondo */
}

.gray-background .container-right-2 {
  background-color: white; /* Colore bianco per la fascia interna */
  height: 680px;
  margin-left: 0;
  max-width: 93%; /* Limita la larghezza al 80% della pagina */
}

.content-left-2 {
  text-align: right; /* Testo allineato a sinistra */
  padding-left: 45px;
  padding-right: 40px;
  padding-top: 60px;
}

.col-xl-7{
    padding-right: 0;
    padding-left: 0;
}

.content-right {
  text-align: right; /* Testo allineato a destra */
  
}
.content-right img {
  width: 100%; /* L'immagine occupa tutto lo spazio disponibile */
  height: 680px; /* Altezza proporzionale rispetto alla larghezza */
  margin: 0; /* Rimuovi tutti i margini */
  display: block; /* Imposta l'immagine come elemento blocco */
}

.content-right2 img {
  width: 100%; /* L'immagine occupa tutto lo spazio disponibile */
  height: 580px; /* Altezza proporzionale rispetto alla larghezza */
  margin: 0; /* Rimuovi tutti i margini */
  display: block; /* Imposta l'immagine come elemento blocco */
}

.destra{
  padding-top: 8rem !important;
}

.production_section{
  padding-bottom: 8rem;
}

.production_title{
  position: absolute;
  top: 50%;
  left: 45%;
  translate: -40% -50%;
  font-size: 30px;
  color: #fff;
  font-weight: 900;
  /* cursor: pointer; */
  z-index: 3;
}

.sinistra{
  z-index: 0; /* Assicura che la sezione sia dietro l'immagine */
}

.img-off{
  z-index: 1;
  position: absolute; /* Posiziona l'immagine in modo assoluto rispetto al contenitore */
  top: 9rem; /* Posiziona l'immagine all'inizio del contenitore */
  left: 0; /* Posiziona l'immagine all'inizio del contenitore */
  height: 580px;
  
}


.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: 500px; /* Altezza fissa per il contenitore delle immagini */
  width: 100%;
  position: relative;
  transition: all ease 0.5s !important;
}
/* 
.content-item:hover{
  transform: scale(1.1);
  cursor: pointer;
} */

.content-item::before{
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(35, 35, 35, 0.6);
  z-index: 2;
}

.content-item img {
  width: 100%;
  height: 100%; /* Altezza del 100% per le immagini */
  object-fit: cover; /* Copre completamente il contenitore con l'immagine */
  z-index: 1;
  opacity: 1;
  position: relative;
}
.content-item video {
  width: 100%;
  height: 100%; /* Altezza del 100% per le immagini */
  object-fit: cover; /* Copre completamente il contenitore con l'immagine */
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 0;
  left: 0;
  right: 0;
}
.content-item:hover img {
    opacity: 0;
}

.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://www.grittigroup.com/img/green-energy-2.png'); /* Sostituisci 'link_all_immagine.jpg' con il percorso dell'immagine */
  background-size: cover;
  background-position: center;
  height: 125vh; /* Altezza uguale all'altezza della finestra */
  padding-right: 5rem;
}

.bg-image p{
  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; /* Sfondo grigio */
  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: -40px;
  bottom: -90%;
}

.certifications .col-md{
  flex-grow: 0 !important;
}

.logo_certificazioni.first{
  max-width: 80px;
}

.logo_certificazioni.second{
  max-width: 140px;
}

.logo_certificazioni.third{
  max-width: 100px;
}

.logo_certificazioni.fourth{
  max-width: 70px;
}

.solar_panel_img{
  height: 40vh;
  width: 100%;
  bottom: 0;
  left: 0;
  object-fit: cover;
  object-position: bottom;
  z-index: -1;
}

.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;
}

.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;
	}
}


.box-white-centered{
  max-width: 86%;
}

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

.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;
}
.bg_img {
    opacity: 0;
}

.image-container img:not(.bg_img) {
    opacity: 1;
}
.image-container:hover img:not(.bg_img) {
    opacity: 0;
}
.image-container:hover .bg_img {
    opacity: 1;
}

@media only screen and (max-width:1200px) {
    .certifications {
        right: -40px;
        bottom: unset;
        position: relative !important;
        
    }
    .bg-image {
        background: unset!important;
    }
    .cta_chi_siamo {
        position: relative!important;
        bottom: 6px;
    }
    .content-right img {
        
    height: auto;
    }
    .loghi {
        padding-top: 5rem;
    }
}

@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;
}