@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600&display=swap");

/* Imposta il font di testo su Montserrat */
body {
  font-family: "Montserrat", sans-serif;
}

h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

/************/

a {
  color: #47a8b1;
  text-decoration: none;
}

@media screen and (max-width: 992px) {
  .row {
    /*margin-right:30px;
      margin-left:30px;*/
  }
}

.vr-blurry {
  --mdb-divider-blurry-vr-bg-image: linear-gradient(
    180deg,
    transparent,
    var(--mdb-divider-blurry-color),
    transparent
  );
  --mdb-divider-blurry-vr-width: 1px;
  --mdb-divider-blurry-opacity: 0.25;
  background-image: var(--mdb-divider-blurry-vr-bg-image);
  width: var(--mdb-divider-blurry-vr-width);
  opacity: var(--mdb-divider-blurry-opacity);
}

@media screen and (max-width: 992px) {
  .vr-blurry {
    display: none !important;
  }
  .vr {
    display: none !important;
  }
}

@media screen and (max-width: 992px) {
  .nascondi-mobile {
    display: none !important;
  }
}

/****************************** CLASSI DESKTOP E MOBILE ********************************/

/* Desktop: Schermi sopra 992px */
.desktop {
  display: none;
}

@media (min-width: 992px) {
  .desktop {
    display: block;
  }
}

/* Mobile: Schermi sotto 992px */
.mobile {
  display: block;
}

@media (min-width: 992px) {
  .mobile {
    display: none;
  }
}

/************ OFFCANVAS NAVBAR **********/

.offcanvas.offcanvas-start {
  width: 100%;
}

/* Esempio di stile per l'icona */
.navbar-toggler img {
  width: 28px; /* Imposta la larghezza desiderata */
  height: 28px; /* Imposta l'altezza desiderata */
  fill: #ffffff; /* Imposta il colore desiderato */
}

.offcanvas-body {
  background: black;
}

.offcanvas-header {
  background: black;
}

.navbar-toggler {
  border: 0px;
}

/* Rimuove il contorno attorno al bottone "X" */
.offcanvas button.btn-close {
  outline: none;
  box-shadow: none;
}

/* Rimuovi il contorno e la scatola ombreggiata sull'icona "X" */
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border: none;
}
.dropdown-item:active {
  background-color: #000000;
}

.link-offcanvas {
  font-size: 28px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  color: #fff;
}

.testo-offcanvas {
  font-size: 19px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  color: #fff;
}

@media screen and (max-width: 992px) {
  .link-offcanvas {
    font-weight: 600;
    font-size: 14px;
  }
  .testo-offcanvas {
    font-size: 11px;
    font-weight: 500;
  }
}

/************ OFFCANVAS NAVBAR **********/

/************ CERCHIO FOOTER **********/

.cerchio-footer {
  position: absolute;
  bottom: -180px;
  right: -80px;
  width: 670px;
  height: 670px;
  background-color: #3a8d94;
  border-radius: 50%;
  overflow: hidden;
  z-index: -1;
  display: none;
}

/* Stile del footer */
.container-fluid.sfondo-nero {
  position: relative; /* Rendi il footer relativo per posizionare il cerchio */
  z-index: 1; /* Assicura che il footer sia sopra il cerchio */
  overflow: hidden; /* Nascondi la parte che eccede */
}

/* Media query per nascondere il cerchio sotto i 1200px */
@media (min-width: 1200px) {
  .cerchio-footer {
    display: block; /* Mostra il cerchio sopra i 1200px */
  }
}

/************ CERCHIO FOOTER **********/

/************ DIV DIAGONALE **********/

.diagonal-container {
  background-color: #dee2e6; /* Colore di sfondo grigio */
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 80px;
}

.diagonal-container::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 200%; /* Aumenta per rendere il taglio diagonale più accentuato */
  height: 250px; /* Altezza del taglio diagonale */
  background-color: #fff;
  transform-origin: top left;
  transform: skewY(-4deg); /* Angolo di inclinazione del taglio diagonale */
}

.diagonal-container-1 {
  background-color: #dee2e6; /* Colore di sfondo grigio */
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 80px;
}

.diagonal-container-1::before {
  content: "";
  position: absolute;
  top: 100%;
  right: 0; /* Modifica da left: 0 a right: 0 */
  width: 200%; /* Aumenta per rendere il taglio diagonale più accentuato */
  height: 150px; /* Altezza del taglio diagonale */
  background-color: #fff;
  transform-origin: top right; /* Cambia da top left a top right */
  transform: skewY(4deg); /* Cambia da -4deg a 4deg */
}

.content {
  padding: 20px;
}

.doppia-diagonale {
  background: linear-gradient(172deg, #dee2e6 60%, transparent 50%),
    linear-gradient(15deg, transparent 50%, #028c99 50%);
  height: 600px;
  padding-top: 70px;
}

/* Media query per schermi più piccoli di 1200px */
@media screen and (max-width: 1200px) {
  .doppia-diagonale {
    background: #dee2e6; /* Sostituisci con il colore grigio desiderato */
    padding-top: 0; /* Rimuove il padding in cima */
    height: auto; /* Altezza automatica */
    padding-top: 40px;
    margin-bottom: 100px;
  }
}

.doppia-diagonale-inversa {
  background: linear-gradient(172deg, #028c99 60%, transparent 50%),
    linear-gradient(15deg, transparent 50%, #dee2e6 50%);
  height: 600px;
  padding-top: 70px;
}

/* Media query per schermi più piccoli di 1200px */
@media screen and (max-width: 1200px) {
  .doppia-diagonale-inversa {
    background: #028c99; /* Sostituisci con il colore grigio desiderato */
    padding-top: 0; /* Rimuove il padding in cima */
    height: auto; /* Altezza automatica */
    padding-top: 40px;
    margin-bottom: 100px;
  }
}

/************ DIV DIAGONALE **********/

.icona-ingrandita {
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}
.icona-ingrandita:hover {
  transform: scale(1.2); /* Ingrossa l'icona del 20% */
}

.feature {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.feature-body .feature-title {
  margin-bottom: 14px;
}

.feature-text {
  font-size: 15px;
  font-weight: 400;
  color: #202020;
  line-height: 26px;
}

/************ FONT **********/

.titolo-base {
  font-size: 23px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  color: #000000;
}

@media screen and (max-width: 1200px) {
  .titolo-base {
    font-size: 18px;
  }
}

.titolo-piccolo {
  font-size: 21px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  color: #000000;
}

.titolo-intermedio {
  font-size: 34px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  color: #000000;
}

.ceo {
  font-size: 14px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: #47a8b1;
}

.titolo-grande {
  font-size: 2.8em;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  color: #000000;
}

@media screen and (max-width: 1200px) {
  .titolo-grande {
    font-size: 1.4em;
  }
}

.titolo-grassetto {
  font-size: 24px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: #000000;
}

.sottotito-testo {
  font-size: 18px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  color: #464646;
}

.paragrafo-testo {
  font-size: 15px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  color: #464646;
}

.paragrafo-piccolo {
  font-size: 14px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  color: #464646;
}

.paragrafo-grande {
  font-size: 16px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  color: #464646;
}

.paragrafo-grassetto {
  font-size: 15px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: #464646;
}

/************ FONT **********/

/************ SOTTOLINEATURA TESTI LINK **********/

.underline-custom {
  text-decoration: none;
  position: relative;
  color: #ffffff; /* Colore del testo  */
}

/* Cambia il colore del testo al passaggio del mouse */
.underline-custom:hover {
  color: #ffffff; /* Colore del testo al passaggio del mouse */
}

/* Creazione dell'effetto di sottolineatura personalizzato */
.underline-custom::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #ffffff; /* Cambia colore se necessario */
  transition: width 0.3s ease, left 0.3s ease;
}

/* Animazione all'hover */
.underline-custom:hover::before {
  width: 100%;
  left: 0;
}

.underline-custom-nero {
  text-decoration: none;
  position: relative;
  color: #000; /* Colore del testo  */
}

/* Cambia il colore del testo al passaggio del mouse */
.underline-custom-nero:hover {
  color: #000; /* Colore del testo al passaggio del mouse */
}

/* Creazione dell'effetto di sottolineatura personalizzato */
.underline-custom-nero::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #000; /* Cambia colore se necessario */
  transition: width 0.3s ease, left 0.3s ease;
}

/* Animazione all'hover */
.underline-custom-nero:hover::before {
  width: 100%;
  left: 0;
}

/************ SOTTOLINEATURA LINK **********/

/************ SWIPER **********/

.swiper {
  width: 100%;
  /*height: 100%;*/
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.swiper-slide img {
  display: block;
  width: 100%;
  /*height: auto;*/
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(
    -50%,
    -50%
  ); /* Centra il testo orizzontalmente e verticalmente */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 60px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
}

@media screen and (max-width: 1200px) {
  .overlay {
    display: none; /* Nasconde il testo sotto i 1200px di larghezza dello schermo */
  }
}

/* Imposta l'altezza delle immagini nello slider 1 sotto i 1200px */
@media screen and (max-width: 1200px) {
  .swiper-slide.img-altezza-630 img {
    min-height: 630px !important;
  }
}

@media screen and (max-width: 1200px) {
  .swiper-slide.img-altezza-600 img {
    min-height: 600px !important;
  }
}

/* Imposta l'altezza delle immagini nella prima slider sotto i 1200px */
@media screen and (max-width: 1200px) {
  .img-altezza-450 .swiper-slide img {
    min-height: 450px !important;
  }
}

.swiper-pagination {
  font-size: 18px;
  font-weight: 500;
  color: #fff !important;
}

.swiper-button-next {
  color: #fff !important;
}

.swiper-button-prev {
  color: #fff !important;
}

.swiper-pagination-clickable .swiper-pagination-bullet {
  cursor: pointer;
}

.swiper-horizontal > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
  position: absolute;
  left: 50%;
  margin-top: 10px; /* Puoi regolare questo valore in base alla distanza desiderata */
  bottom: var(--swiper-scrollbar-bottom, 0px);
  top: var(--swiper-scrollbar-top, auto);
  z-index: 50;
  height: 4px;
  width: 300px;
  transform: translateX(-50%);
}

:root {
  --swiper-theme-color: #47a8b1 !important;
}

/************ SWIPER **********/

/************ BACKGROUND  TOP PAGINA*************/

.black-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background-color: #47a8b1;
  z-index: -1; /* Posizioniamo lo sfondo dietro al contenuto */
}

.green-background {
  background-color: #008894;
  color: white;
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
}
@media screen and (max-width: 992px) {
  .green-background {
    display: none;
  }
}

/************ BLACK BACKGROUND *************/

/******************** SHAPE SFONDO ****************/

.shape-parent {
  position: relative;
  z-index: 0;
}
.banner-dark {
  position: relative;
  z-index: 1;
}

.banner {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  padding-top: 90px;
  margin-top: -90px;
}

/******************* SHAPE SFONDO ********************/

/******************* BTN DARK ********************/

.btn {
  padding: 15px 40px;
  font-weight: 500;
}

.btn-dark {
  color: #fff;
  background-color: #0e0e0e;
  border-color: #0e0e0e;
  font-weight: 500;
  line-height: 1.6;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 0;
}

/******************* BTN DARK ********************/

/******************* INTRO ********************/

.h3,
h3 {
  font-size: 1.95rem;
}

@media screen and (max-width: 992px) {
  .h3,
  h3 {
    font-size: 1.25rem;
  }
}

.lead {
  font-size: 1.25em;
  font-weight: 500;
  line-height: 1.4;
  font-family: "Montserrat", sans-serif;
}

.row.gh-5 > [class*="col"] {
  padding-left: 100px;
}

@media screen and (max-width: 992px) {
  .row.gh-5 > [class*="col"] {
    padding-left: 0px;
  }
}

.intro {
  font-size: 0.95rem;
  line-height: 1.6rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

/******************* INTRO ********************/

/******************* EFFETTO ZOOM SU IMMAGNINE ********************/

.zoom-container {
  overflow: hidden;
  display: inline-block;
  position: relative;
}

.zoom-container img {
  transition: transform 0.9s ease;
  display: block;
  width: 100%;
  height: 100%;
}

.zoom-container:hover img {
  transform: scale(1.1);
}

/******************* EFFETTO ZOOM SU IMMAGNINE ********************/

/******************* SFONDI E COLORI ********************/

.sfondo-nero {
  background: #47a8b1;
}

.colore-bianco {
  color: #fff;
}

/******************* SFONDI ********************/

/******************* PADDING VERTICALE ********************/

.py-160 {
  padding-top: 160px;
  padding-bottom: 160px;
}

.py-130 {
  padding-top: 130px;
  padding-bottom: 130px;
}

.py-90 {
  padding-top: 90px;
  padding-bottom: 90px;
}

.py-50 {
  padding-top: 50px;
  padding-bottom: 50px;
}

@media screen and (max-width: 992px) {
  .py-160 {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media screen and (max-width: 992px) {
  .py-130 {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media screen and (max-width: 992px) {
  .py-90 {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media screen and (max-width: 992px) {
  .py-50 {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

/******************* PADDING VERTICALE ********************/

/**************** CARD COVER*************************/

.card-cover {
  min-height: 550px;
  max-height: 550px;
}

.card {
  border-radius: 0px;
  border: 0px;
}

/**************** CARD COVER*************************/

/****************** PAGINA CONTATTI *****************/

/**************** FANCYBOX OVERLAY BACKGROUND COLOR *****************/

.fancybox__container {
  --fancybox-bg: #000 !important;
}

/**************** FANCYBOX OVERLAY BACKGROUND COLOR *****************/

/**************** BOX RICERCA GLOBALE *****************/

.input-ricerca-globale:focus {
  border-top: 0px;
  border-radius: 0px;
  border-left: 0px;
  border-right: 0px;
  box-shadow: none;
  border-bottom: 1px solid #ddd;
}

.input-ricerca-globale {
  background: #000;
  border-top: 0px;
  border-radius: 0px;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 1px solid #ddd;
  color: #eee;
}

.bg-dark {
  --bs-bg-opacity: 1;
  background-color: #000 !important;
}

.input-group-text {
  padding: 10px; /* Regola lo spazio tra l'icona e l'input */
}

.dimensione-ricerca-globale {
  width: 800px;
}

@media screen and (max-width: 992px) {
  .dimensione-ricerca-globale {
    width: 400px;
  }
}

/**************** BOX RICERCA GENERALE *****************/

/**************** BOX LANGUAGE *****************/

.dimensione-language {
  width: 800px;
}

@media screen and (max-width: 992px) {
  .dimensione-language {
    width: 400px;
  }
}

/**************** BOX LANGUAGE ************************/

/************************** CAROUSEL THUMB *************************/

.carousel-indicators button.thumbnail {
  width: 100px;
}
.carousel-indicators button.thumbnail:not(.active) {
  opacity: 0.5;
}
.carousel-indicators {
  position: static;
}
@media screen and (min-width: 992px) {
  .carousel {
    max-width: 70%;
    margin: 0 auto;
  }
}

/********************** ACCORDION *****************/

.accordion-button {
  background-color: #f3f3f3 !important;
}

.accordion-button:not(.collapsed) {
  color: var(--bs-accordion-btn-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

/* BUTTON */
.btn-primary {
  background-color: #008894;
  border-color: #008894;
  color: #fff;
}

.btn-primary:hover {
  background-color: #006f73;
  border-color: #006f73;
  color: #fff;
}

.btn-primary:focus,
.btn-primary.focus {
  background-color: #006f73;
  border-color: #006f73;
  box-shadow: 0 0 0 0.25rem rgba(0, 136, 148, 0.5);
}

.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background-color: #005e61;
  border-color: #005e61;
  color: #fff;
}

.btn-primary:active:focus,
.btn-primary.active:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 136, 148, 0.5);
}

.btn-primary:disabled,
.btn-primary.disabled {
  background-color: #008894;
  border-color: #008894;
  color: #ccc;
  opacity: 0.65;
}

/* Outline */
.btn-outline-primary {
  color: #008894;
  border-color: #008894;
}

.btn-outline-primary:hover {
  background-color: #008894;
  border-color: #008894;
  color: #fff;
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 136, 148, 0.5);
}

.btn-outline-primary:active,
.btn-outline-primary.active,
.show > .btn-outline-primary.dropdown-toggle {
  background-color: #006f73;
  border-color: #006f73;
  color: #fff;
}

.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
  color: #008894;
  border-color: #008894;
  background-color: transparent;
  opacity: 0.65;
}
/* BUTTON: END */
