/*###### NAVBAR #####*/
@media (max-width: 781px) {
  .navbar-collapse{
  background-color: var(--colore-navbar-sfondo);
}
.dropdown-menu{
  background-color: var(--colore-navbar-sfondo) !important;
}
.menu-item-type-custom{
  margin-bottom: 10px;
    background-color: var(--colore-navbar-sfondo) !important;
} 
.nav-link::after{
 margin-right: 40px;
}
} 

@media screen and (max-width: 997px) and (min-width: 768px) {
 a.nav-link{
  justify-content: center;
  margin-right: 30px;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--colore-navbar-testo);
  position: relative; /* Needed for absolute positioning of the pseudo-element */
  padding-bottom: 5px; /* Add some space for the underline */
  text-decoration: none; /* Remove default underline if any */
  display: inline-block; /* Ensure proper positioning */
  font-weight: 600;
}
}

@media (max-width: 781px) {

  .nav-logo h1 {
      font-size: 19px;
      width: 220px;
      padding-left: 10px;
  }
  .nav-logo img {
    width: 130px;
    padding-left: 3%;
  }
  
  a.nav-link.active{
  text-align: center !important;
  padding-top: 10px;
  font-size: 18px;
  color: white !important;
  background-color: var(--colore-active-menu);
  border-radius: 10px;
  }

  a.nav-link{
  text-align: center !important;
 /*  padding-top: 15px; */
  font-size: 18px;
  width: 100%;
  margin-top: 20px;
  }
  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1); /* Colore del bordo se necessario */
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .dropdown-menu {
    background-color: rgba(31, 30, 29, 0.589);
    border-radius: 10px;
    width: 100%;
    text-align: center;
  }
  .dropdown-item{
    color: white !important;
  }

} 
/*##### FOOTER ######*/
@media (max-width: 781px) {
.site-footer {
  padding: 50px 24px;
}

.site-footer_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.footer_col {
  width: 75%;
  padding-bottom: 12px;
  border-bottom: 1px solid #9a9dc665;
}

.logo_container {
  width: auto;
  height: auto;
  margin-bottom: 8px;
}

.logo_container img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.icons_container i {
  color: var(--colore-testo-secondario);
  font-size: 26px;
}


@media (max-width: 781px) {
  /*##### HERO HOME ######*/
  .corner-tl{
    margin-top: 50px;
  }
  .corner-tr{
 margin-top: 50px;
  }
  /*##### BIO HOME ######*/
  .space-bio-home{
   /*  height: 100%;
    max-height: 100%; */
  }
  .bio-home{
    display: block;
    width: 100vw;
  }
  .itam-bio-home{
    width: 100vw;
    max-width: 100vw;
    margin: 0px;
  }
  .itam-bio-home p{
   width: 90%;
   font-size: 18px;
  }
  .bio-home-img{
    margin-bottom: 40px;
  }
  .icons_container_home{
    margin-top: 5px;
    margin-left: 10px;
    padding-bottom: 40px;
  }
}

}
/*#### SIDEBAR ######*/
@media (max-width: 781px) { 
  .only-desktop{
    display:none;
  }
  .only-mobile{
    display:block;
  }
}

@media (max-width: 1200px) {
  /*#### PAGINA - ARTICOLI BLOG O LAVORO SINGOLO ######*/
.contenuto-lavoro-blog{
width: 67%;
}
.contenuto-aside{
width: 23%;
}
}

/* media dove appare il tasto del menu mobile */
@media (max-width: 781px) { 
  /*#### PAGINA - ARTICOLI BLOG O LAVORO SINGOLO ######*/

.singolo-main{
  display: block;
}
.contenuto-lavoro-blog{
width: 100%;
}
.contenuto-aside{
width: 100%;
}
}
/*#### PAGINA - HOME ######*/

/*#### HERO BANNER - HOME ######*/

/*#### PAGINA BIO ######*/
@media (max-width: 800px) {
.foto-bio-page{
  display: none;
}
.bio-icon-social{
 display: none; 
}
.head-bio{
  background-color: rgba(8, 8, 8, 0.50);
  background-image: url('../image/andrea-lupi-m.jpg');
  background-blend-mode:darken;
  background-size: cover;
}
.pagina-bio-content{
  width: 90%;
  font-size: 18px;
}
.logo-pag-bio{
  width: 130px !important;
  padding-top: 10px;
  height: auto;
  object-fit: contain;
}
.linea-rossa{
  margin-bottom: 20px;
}
.itam-bio-page{
  width: 100% !important;
  padding-bottom: 20px;
}
.sessione-bio-skills{
  width: 100%;
}
.servizi-lavoro-bio{
  margin-top: -30px;
}
.item-servizi-bio{
width: 40%;
} 

.item-servizi-bio i{
  font-size: 50px;
  font-weight: 300;
  text-align: center;
}

/* ## PAGINATUTTI I LAVORI ##### */
.schede-lavori-pagina{
text-align: center;
width: 100% !important;
}
.schede-lavori-pagina{
  gap: 30px;
  align-items: center;
  justify-content: center;
}
.scheda-lavoro-page{
  width: 43%;
  margin-bottom: -50px;
}
.scheda-lavoro-content h4{
  font-size: 13px;
}

}
