/*
    
TemplateMo 556 Catalog-Z

https://templatemo.com/tm-556-catalog-z

*/
/* nuovo collezione blocco 12 img */
/* ============================= */
/* GRID PRINCIPALE */
/* ============================= */

.image-grid-luxury {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Desktop */
  width: 100%;
  height: 100%;
  background: #ffffff; 
}



/* ============================= */
/* BLOCCO SINGOLO */
/* ============================= */

.image-grid-luxury .image-item {
  position: relative;
  overflow: hidden;
  border: 0.5px solid #e6e6e6;

     /* verticale eleganteaspect-ratio: 4 / 5; */
}

/* ============================= */
/* IMMAGINE */
/* ============================= */

.image-grid-luxury img {
 /* 
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block; 
  */
  width: 100%; 
  height: auto;   /* ← importante */
  display: block;
  /* transition: transform 0.8s ease; */
}

/* Hover soft solo su dispositivi con mouse */
@media (hover: hover) {
  .image-grid-luxury .image-item:hover img {
    transform: scale(1.04);
  }
}



@media (hover: hover) {
  .image-grid-luxury .image-item:hover .overlay {
    background: rgba(0, 0, 0, 0.28);
  }
}

/* ============================= */
/* TITOLO  */
/* ============================= */



.image-grid-luxury .image-title {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);

  color: #2f2f2f;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  width: 80%;
}

/* ============================= */
/* DESCRIZIONE */
/* ============================= */

.image-grid-luxury .image-description {
  position: absolute;
  top: 95%;
  left: 50%;
  transform: translate(-50%, -100%);

  color: #3a3a3a;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 1px;
  text-align: center;
  width: 80%;
}

@media (max-width: 1024px) {

  .image-grid-luxury {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-grid-luxury .image-item {
    height: 40vh;
  }

}
@media (max-width: 768px) {

  .image-grid-luxury {
    grid-template-columns: 1fr;
  }

  .image-grid-luxury .image-item {
    height: 35vh;
  }

}


/* ----fine    ----------*/
/* IMMAGINE tris HEAD*/
.image-grid {
  display: flex;
  width: auto;
  gap: 40px;              /* spazio tra le immagini */
  padding: 60px 60px;     /* aria esterna elegante */
  background: #ffffff;    /* sfondo bianco puro */
}

.image-item {
  position: relative;
  flex: 1;
  height: 65vh;           /* leggermente più importante 65*/
  overflow: hidden;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Titolo */
.image-title {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 1.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
}
/* CONTENITORE PRINCIPALE */

/* TABLET */
@media (max-width: 1024px) {

  .image-grid {
    display: flex;
    gap: 3px;
    padding: 4px 2px;
  }

  .image-item {
    height: 30vh;
  }

  .image-title {
    font-size: 1.2rem;
  }

}

/* MOBILE */
@media (max-width: 768px) {

  .image-grid {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
  }

  .image-item {
    height: 50vh;
  }

  .image-title {
    font-size: 1.2rem;
  }

}
/*-------fine ------- */
/* nuovo menu centrato */
/* NAVBAR */
.site-nav {
  width: 100%;
  background: #ffffff;
  padding: 50px 20px 35px 20px;
}

/* CONTENITORE */
.site-nav__inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;   /* <<< fondamentale */
  align-items: center;      /* centra tutto */
  text-align: center;
}

/* LOGO */
.site-nav__logo {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

/* DIVIDER */
.site-nav__divider {
  width: 60px;
  height: 1px;
  background: #d9d9d9;
  margin: 0 auto 30px auto;
}

/* MENU */
.site-nav__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 45px;
}

.site-nav__menu a {
  text-decoration: none;
  color: #444;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.site-nav__menu a:hover {
  opacity: 0.6;
}

/* ---- menu mobile ---- */
.site-nav__mobile {
  display: none;
  margin-top: 20px;
}
.site-nav__mobile select {
  width: 220px;
  padding: 12px 16px;

  border: 1px solid #e6e6e6;
  background: #ffffff;

  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2f2f2f;

  text-align: center;
  text-align-last: center;   /* centra il testo anche nel select */
  appearance: none;
}

@media (max-width: 768px) {

  .site-nav .site-nav__menu {
    display: none !important;
  }

  .site-nav__mobile {
    display: block;      /* NON flex */
    margin-top: 25px;
  }

}

/*------ fine menu --------*/
/* responsive div */
 .text-overlay {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 35%;
      background: rgba(0, 0, 0, 0.1);
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 30px;
      box-sizing: border-box;
      transition: all 0.4s ease;
    }

    /*Variante con testo a DESTRA */
    .text-overlay.right {
      right: 0;
      left: auto;
      text-align: left;
    }

    /* Variante con testo a SINISTRA */
    .text-overlay.left {
      left: 0;
      right: auto;
      text-align: right;
    }

    .text-overlay h1 {
      font-family: 'Playfair Display', serif;
      font-size: 2em;
      margin: 0 0 10px 0;
    }

    .text-overlay p {
      font-size: 1.1em;
      margin: 0;
      line-height: 1.4em;
    }

    /* --- Layout responsive per mobile 768 --- */
    @media (max-width: 1050px) {
      .text-overlay {
        width: 100%;
        height: auto;
        top: auto;
        bottom: 0;
        background: rgba(0, 0, 0, 0.1);
        text-align: center;
        padding: 20px;
      }

      /* 🔧 annulliamo il posizionamento di .left e .right */
      .text-overlay.left,
      .text-overlay.right {
        left: 0 !important;
        right: 0 !important;
        text-align: center !important;
      }

      .text-overlay h1 {
        font-size: 1.5em;
      }

      .text-overlay p {
        font-size: 1em;
      }
    }

/* ============ t1 ========== */

.container-row {
    display: flex;
    width: 100%;
    align-items: stretch;
  }

  /* --- Colonna Immagine --- */
  .image-box {
    flex: 1 1 50%;
    margin: 0;
    padding: 0;
  }
  .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
 /* --- Colonna Testo colonna 100% tutta pagina--- */
  .text-box-tp {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 0px;
    text-align: center;
    box-sizing: border-box;
  }

  /* --- Colonna Testo --- */
  .text-box {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    box-sizing: border-box;
  }
  .text-box-no-top {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    padding-right: 100px;
    padding-left: 100px;
    text-align: center;
    box-sizing: border-box;
  }
  .text-box-ch {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px;
    text-align: center;
    box-sizing: border-box;
  }

  .text-box .inner {
    max-width: 600px;
  }

  .text-box h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.2em;
    margin-bottom: 0.5em;
  }

  .text-box p {
    font-size: 1.1em;
    line-height: 1.5;
  }

  /* --- Mobile --- */
  @media (max-width: 768px) {
    .container-row {
      flex-direction: column;
    }

    .image-box,
    .text-box {
      width: 100%;
      flex: 0 0 auto;
    }

    .text-box {
      padding: 20px;
      min-height: 50vh; /* <— CENTRA il testo verticalmente nello spazio visibile */
      display: flex;
      align-items: center;
      justify-content: center;
    }

  }

/* fine responsive div */


  /* --- NAV principale --- */

  .home .site-nav{
    position:absolute;
    top:0; left:0;
    width:100%;
    z-index:12000; /* molto alto per stare sopra il video */
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
  }
    site-nav{
    position:relative;
    top:0; left:0;
    width:100%;
    z-index:12000; /* molto alto per stare sopra il video */
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
  }
  .site-nav__inner{
    
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 5px;
  }
  .site-nav__logo{ color:#656262; font-weight:100; font-size:1.55rem; }

  /* menu desktop (orizzontale) */
  .site-nav__menu{
    display:flex;
    gap:20px;
    list-style:none;
    margin:0;
    padding:0;
    align-items:center;
  }
  .site-nav__menu a{
    color:#656262; text-decoration:none; padding:6px 8px; display:inline-block;
  }

  /* toggle (hamburger) hidden su desktop */
  .site-nav__toggle{
    display:none;
    background:transparent;
    border:0;
    cursor:pointer;
    padding:8px;
    position:relative;
    width:28px;
    height:22px;
    z-index:13001;
  }
  .site-nav__toggle span{
    position:absolute;
    left:0;
    width:100%;
    height:3px;
    background:#656262;
    border-radius:2px;
    transition: all 0.3s ease;
  }
  .site-nav__toggle span:nth-child(1){ top:0; }
  .site-nav__toggle span:nth-child(2){ top:9px; }
  .site-nav__toggle span:nth-child(3){ top:18px; }

  /* animazione X quando attivo */
  .site-nav__toggle.is-active span:nth-child(1){
    transform: rotate(45deg);
    top:9px;
  }
  .site-nav__toggle.is-active span:nth-child(2){
    opacity:0;
  }
  .site-nav__toggle.is-active span:nth-child(3){
    transform: rotate(-45deg);
    top:9px;
  }

  

  /* fine NAV principale (namespaced) */



/* FONT PARAMETRI */

.content1 {
   font-size:1.2vw;
}
.content2 {
   font-size:1.8vw;
} 

/* div annidati */

.image-container {
  position: relative; /* Contenitore padre con posizione relativa */
  display: inline-block; /* Oppure bloc, a seconda del layout desiderato */
}

.image-container img {
  display: block; /* Rimuove spazi extra sotto l'immagine */
  width: 100%; /* L'immagine riempie il contenitore */
  height: auto;
}

.text-on-image {
  position: absolute; /* Posizionamento assoluto rispetto al contenitore */
  top: 50%; /* Centra verticalmente */
  left: 75%; /* Centra orizzontalmente */
  transform: translate(-50%, -50%); /* Per un centraggio perfetto */
  color: #373636; /* Colore del testo */
  /* background-color: rgba(0, 0, 0, 0.1);  Sfondo semitrasparente per leggibilità */
  padding: 10px; /* Spazio intorno al testo */
  text-align: center; /* Allinea il testo al centro */
  font-size: 20px; /* Dimensione del font */
  font-weight: bold;
}

.text-on-image-left {
  position: absolute; /* Posizionamento assoluto rispetto al contenitore */
  top: 50%; /* Centra verticalmente */
  left: 25%; /* Centra orizzontalmente */
  transform: translate(-50%, -50%); /* Per un centraggio perfetto */
  color: #373636; /* Colore del testo */
  /* background-color: rgba(0, 0, 0, 0.1);  Sfondo semitrasparente per leggibilità */
  padding: 10px; /* Spazio intorno al testo */
  text-align: center; /* Allinea il testo al centro */
  font-size: 20px; /* Dimensione del font */
  font-weight: bold;
}

.centred2 {
    margin-top:40%;
    padding-left:15%;
    padding-right:15%;
}

.lora-<uniquifier> {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

body {
  font-family: 'lora', sans-serif !important;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;

    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */

    z-index: 1002;
}

    #loader:before {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #e74c3c;

        -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
        animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
    }

    #loader:after {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #f9c922;

        -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
          animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
    }

    @-webkit-keyframes spin {
        0%   { 
            -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(0deg);  /* IE 9 */
            transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
        }
        100% {
            -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(360deg);  /* IE 9 */
            transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
        }
    }
    @keyframes spin {
        0%   { 
            -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(0deg);  /* IE 9 */
            transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
        }
        100% {
            -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(360deg);  /* IE 9 */
            transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
        }
    }

    #loader-wrapper .loader-section {
        position: fixed;
        top: 0;
        width: 51%;
        height: 100%;
        background: #222222;
        z-index: 1001;
        -webkit-transform: translateX(0);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: translateX(0);  /* IE 9 */
        transform: translateX(0);  /* Firefox 16+, IE 10+, Opera */
    }

    #loader-wrapper .loader-section.section-left {
        left: 0;
    }

    #loader-wrapper .loader-section.section-right {
        right: 0;
    }

    /* Loaded */
    .loaded #loader-wrapper .loader-section.section-left {
        -webkit-transform: translateX(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: translateX(-100%);  /* IE 9 */
                transform: translateX(-100%);  /* Firefox 16+, IE 10+, Opera */

        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  
                transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    }

    .loaded #loader-wrapper .loader-section.section-right {
        -webkit-transform: translateX(100%);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: translateX(100%);  /* IE 9 */
                transform: translateX(100%);  /* Firefox 16+, IE 10+, Opera */

-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  
        transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    }
    
    .loaded #loader {
        opacity: 0;
        -webkit-transition: all 0.3s ease-out;  
                transition: all 0.3s ease-out;
    }
    .loaded #loader-wrapper {
        visibility: hidden;

        -webkit-transform: translateY(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: translateY(-100%);  /* IE 9 */
                transform: translateY(-100%);  /* Firefox 16+, IE 10+, Opera */

        -webkit-transition: all 0.3s 1s ease-out;  
                transition: all 0.3s 1s ease-out;
    }

p { line-height: 1.8; }

a { 
    text-decoration: none;
    transition: all 0.3s ease; 
}
a:hover { color:#009999; }
.container-fluid { max-width: 1770px; }
.tm-container-small { max-width: 1050px; }
.btn { border-radius: 0; }
.btn-primary {
    background-color: #009999;
    border: 0;
    border-radius: 5px;
    padding: 12px 50px 14px;
    font-size: 1.2rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color:#086969;
}

.btn-primary.disabled, 
.btn-primary:disabled {
    background-color: #009999;
    pointer-events: all;
    cursor: not-allowed;
}

.form-control {
	padding: 10px 20px;
	width: 100%;
	height: auto;
}

.form-group { margin-bottom: 25px; }
.tm-btn-big { padding: 12px 90px 14px; }

.navbar-toggler:focus { box-shadow: none; }
.navbar-brand {
    color: #ffffff;
    font-size: 1.2rem;
}

.navbar-brand i { font-size: 2rem; }

.tm-hero {
    min-height: 500px;
    background: transparent;
}

.tm-mt-0 { margin-top: 0px; }
.tm-mt-60 { margin-top: 60px; }
.tm-mb-00 { margin-bottom: 00px; }
.tm-mb-50 { margin-bottom: 50px; }
.tm-mb-74 { margin-bottom: 74px; }
.tm-mb-90 { margin-bottom: 90px; }
.tm-text-primary { color: #009999; }
.tm-text-secondary { color: #CC6699; }
a.tm-text-primary:hover { color:#666666; }
.tm-bg-gray { background-color: #EEEEEE; }
.tm-input-paging {
    width: 40px;
    border-radius: 0;
    border: 1px solid #CCCCCC;
    background: #f4f4f4;
    text-align: center;
}

.nav-item { margin-right: 30px; }
.nav-item:last-child { margin-right: 0; }

.nav-link {
    color: #666666;
    border-bottom: 4px solid transparent;
    font-size: 1.2rem;
}

.nav-link-1.active,
.nav-link-1:hover {
    border-color: #33CCFF;
}

.nav-link-2.active,
.nav-link-2:hover {
    border-color: #FF6666;
}

.nav-link-3.active,
.nav-link-3:hover {
    border-color: #33CC66;
}

.nav-link-4.active,
.nav-link-4:hover {
    border-color: #CC66CC;
}

.tm-search-input {
    width: 360px;
    border-radius: 0;
    padding: 12px 15px;
    color: #009999;
    border: none;
}

.tm-search-input:focus {
    border-color: #009999;
    box-shadow: 0 0 0 0.25rem rgb(0 153 153 / 0.25);
}

.tm-search-input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #009999;
    opacity: 1; /* Firefox */
}
  
.tm-search-input::-ms-input-placeholder { /* Microsoft Edge */
    color: #009999;
}

.tm-search-btn {
    color: white;
    background-color: #009999;
    border: none;
    width: 100px;
    height: 50px;
    margin-left: -1px;
}

p, .tm-text-gray { color: #999; }
.tm-text-gray-light { color: #CCC; }
.tm-text-gray-dark { color: #666; }

.tm-video-item {
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.tm-video-item img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.tm-video-item figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.tm-video-item figcaption::before,
.tm-video-item figcaption::after {
    pointer-events: none;
}

.tm-video-item figcaption,
.tm-video-item figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tm-video-item figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.tm-video-item h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

.tm-video-item h2,
.tm-video-item p {
    margin: 0;
}

.tm-video-item p {
    letter-spacing: 1px;
    font-size: 68.5%;
}

.tm-gallery div.d-block { animation: show .5s ease; }

@keyframes show {
    0% {
    	opacity: 0;
    	transform: scale(0.9);
    }
    100% {
    	opacity: 1;
    	transform: scale(1);
    }
}

.tm-paging-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    font-size: 1.1rem;
    color: #999;
    background-color: #EEEEEE;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tm-paging-link:hover,
.tm-paging-link.active {
    background-color: #009999;
    color: #fff; 
}


/*---------------*/
/***** Ming *****/
/*---------------*/

figure.effect-ming {
	background: #030c17;
}

figure.effect-ming img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-ming figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 30px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
}

figure.effect-ming h3 {
    font-size: 1.3em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}

figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover h3 {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-ming:hover figcaption { background-color: rgba(58,52,42,0); }
figure.effect-ming:hover img { opacity: 0.4; }

.tm-footer-links li {
    list-style: none;
    margin-bottom: 5px;    
}

.tm-footer-links li a { color: #999999; }
.tm-footer-links li a:hover { color: #009999; }

.tm-social-links li {
    list-style: none;
    margin-right: 15px;
}

.tm-social-links li:last-child { margin-right: 0; }

.tm-social-links li a  {
    color: #999999;
    width: 44px;
    height: 44px;
    display: flex;
    background-color: #fff;
    align-items: center;
    justify-content: center;
}

.tm-social-links li a:hover {
    color: #fff;
    background-color: #009999;
}

.tm-footer { font-size: 0.95rem; }
.tm-footer-title { font-size: 1.4rem; }
.tm-dida { 
    font-size: 0.75rem;  
    line-height: 0.95;
}
.tm-footer-dida2 { font: 76%/110% EB Garamond, Arial, sans-serif; }
 

/* Videos ;*/
#tm-video-container {
    max-height: 900px;
    overflow: hidden;
    position: relative;
}

#tm-video {
    display: block;
    width: 100%;
    height: auto;
}


#tm-video-control-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    color: #e1e1e1;
}

.tm-video-details {
    height: 100%;
    padding: 00px;
}

/* menu bar */
#tm-bar-logo{
    position: absolute;
    top:0;
    left:0;

    z-index: 1000;
    color: #e1e1e1;
}

#menu-orizzontale {
  list-style: none; /* Rimuove i puntini */
  padding: 0;      /* Rimuove il padding predefinito della lista */
  margin: 0;       /* Rimuove il margine predefinito della lista */
}

#menu-orizzontale li {
  display: inline-block; /* Rende gli elementi della lista orizzontali */
  margin-right: 10px;  /* Aggiunge spazio tra gli elementi (opzionale) */
}

#menu-orizzontale li a {
  text-decoration: none; /* Rimuove la sottolineatura dai link */
  color: whitesmoke;         /* Imposta il colore del testo del link */
  padding: 5px;         /* Aggiunge un po' di spazio interno al link */
}

#tm-bar-menu{
    position: absolute;
    top:0;
    left:75%;
    width: 100%;
    height: 100%;
    z-index: 1001;
    color: #e1e1e1;
    float: left; 
    margin-right: 10px;
}
/* About */
.tm-row-1640 { max-width: 1640px; }
.tm-about-2-col { max-width: 716px; }
.tm-about-3-col { max-width: 540px; }

.tm-about-2-col,
.tm-about-3-col {
    margin-bottom: 0px;
}
.tm-about-2-col-padd {
padding: 10%;
}

.tm-about-icon-container {
    width: 150px;
    height: 150px;
    border: 1px solid #009999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-about-img-text { max-width: 940px; }

/* Contact */
select.form-control { border-radius: 0; }
select.form-control option { height: 30px; }

select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-image: url(../img/select-arrow.png);
    padding: 14px 20px;
    padding-right: 20px;
    color: #666;
}

.mapouter{
    position:relative;
    height:480px;
    width:100%;
    max-width: 480px;
}

.gmap-canvas {
    overflow:hidden;
    background:none!important;
    height:480px;
    width:100%;
}

.tm-contact-form { max-width: 420px; }
.tm-address-col { max-width: 520px; }
.tm-contacts { padding-left: 0; }

.tm-contacts li {
    list-style: none;
    margin-bottom: 20px;
}

.tm-contacts li a i { width: 30px; }
.tm-social { display: flex; }

.tm-social li {
    list-style: none;
    margin-bottom: 20px;
    margin-right: 15px;
}

.tm-social li a i {
    width: 40px;
    height: 40px;
    color: #666666;
    background-color: #EEEEEE;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tm-social li a:hover i {
    color: #fff;
    background-color: #009999;
}

.form-control,
input:-internal-autofill-selected,
select:not([multiple]) {
    color: #009999 !important;
}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color:  #009999;
    opacity: 1; /* Firefox */
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 50px;
        right: 0px;
        background: white;
        width: 150px;
        padding: 15px;
    }

    .tm-container-content { max-width: 870px; }
    .tm-contact-form, .tm-address-col, .mapouter { max-width: 100%; }
    .tm-people-row { max-width: 900px; }
}

@media (max-width: 767px) {
    .tm-paging-col { flex-direction: column; }
    .tm-paging { flex-wrap: wrap; }
    .tm-about-img-text { max-width: 640px; }
    .tm-about-2-col, .tm-about-3-col { margin-bottom: 50px; }
}

@media (max-width: 575px) {
    .tm-container-content { max-width: 420px; }

    .tm-search-form {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        justify-content: center;
    }

    .tm-search-input {
        width: 100%;
        max-width: 360px;
    }

    .tm-people-row { max-width: 420px; }
}

@media (max-width: 400px) {
    .tm-btn-big { padding: 12px 50px 14px; }
}

@media (max-width: 334px) {
    .tm-social-links {
        flex-wrap: wrap;
        justify-content: start !important;
    }

    .tm-social-links li { margin-right: 3px; }
}