
  


:root {
  --c-primary: #0098AD;
  --c-gray: #D8D8D8;
  --c-secondary: #2f6d75;
}

body {
  box-sizing: border-box;
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;
}

p {
     font-size: .9em;
}

.custom-size {
    font-size: small;
}

hr {
    color: var(--c-primary);
}

.content-link a:link {
  color: var(--c-primary);
  background-color: transparent;
  text-decoration: none;
}

.content-link a:visited {
  color: var(--c-secondary);
  background-color: transparent;
  /*text-decoration: none;*/
}

.content-link a:hover {
  color: var(--c-primary);
  background-color: transparent;
  text-decoration: underline;
}

.pointer {
    cursor: pointer;
}

.btn-custom {
  cursor: pointer;
  position: relative; /* Assicura che il pseudo-elemento ::after si posizioni correttamente */
}

.btn-custom::after {
  content: "";
  display: block;
  position: absolute; 
  left: 0; 
  bottom: 0; 
  width: 0;
  height: 2px;
  background-color: black;
  transition: width .2s ease;  /*Aggiunge la transizione per la larghezza */
}

.btn-custom:hover::after {
  width: 100%; /* Allunga fino alla larghezza completa quando si passa sopra */
}

.custom-bg-gray {
  background-color: var(--c-gray);
}

.custom-bg-primary {
  background-color: var(--c-primary);
}

.custom-c-gray {
  color: var(--c-gray);
}

.custom-c-primary {
  color: var(--c-primary);
}

.black-and-white {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

.custom-form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    border-color: var(--c-primary);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.footer-item-size {
    font-size: 11px;
}

.fs-7 {
    font-size: 12px;
}


/*  =======================================================================
||          COOKIE CONSENT
||  ======================================================================= */

.cc-nb-reject, .cc-nb-okagree, .cc-cp-foot-save{
    background-color: var(--c-primary)!important;
}

.cc-pc-head-close:active, .cc-pc-head-close:focus{
    border:2px solid var(--c-primary)!important;
}




/*  =======================================================================
||          PREVIEW
||  ======================================================================= */

.small-content {
    line-height: 1.2;
    margin-bottom: 5px;
}

.small-content .bold{
  font-family: "Jost";
  font-size: .8rem;  
}

.small-content .regular{
  font-family: "Jost";
  font-size: 0.8rem;  
  font-weight: 300;
}

.small-content .title {
  font-family: "Jost";
  font-size: 1.2rem!important; 
  font-weight: 500;
}

/*  =======================================================================
||          SCROLL BAR PREVIEW
||  ======================================================================= */

/* width */
::-webkit-scrollbar {
  width: 5px;
  height: 0px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}




/*  =======================================================================
||          PROGETTI TIPOLOGIA
||  ======================================================================= */

#menu-project {
    /*padding: 3rem 0rem;*/
    padding: 0rem 5vw;
}

#menu-project > div {
    padding: 0rem 30px;
}



/*  =======================================================================
||          NAVBAR
||  ======================================================================= */

.nav-link {
    font-size: 13px;
}

.navbar-icon {
    width: 250px;
}

/* Dropdown Button */
.btn {
  background-color: #2196F3;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  outline: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  /*background-color: #fff;*/
  background-color: rgba(255, 255, 255);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  font-size: 13px!important;
  cursor: pointer;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    /*background-color: var(--c-gray);*/
    color: var(--c-primary);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.btn:hover, .dropdown:hover .btn  {
  background-color: #0b7dda;
}

.nav-item .nav-link {
    font-family: "Jost";
    font-weight: 600!important;
}

.nav-item .nav-link .active {
    font-weight: 700!important;
}

.dropdown-content a {
    font-family: "Jost";
}

.dropdown-content .active {
    font-weight: 500!important;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}


/*  =======================================================================
||          CAROUSEL HOME
||  ======================================================================= */

#homeCarousel {
  height: 70vh;
}

.transition-mode {
  transition: 0.75s;
}

.item {
  height: 30vh;
  width: 20vw;
  background-color: var(--c-primary);
}

.item.active {
  height: 70vh;
  width: 50vw;
}

.item img {
  opacity: 0.5;
  filter: grayscale(100%);
}

.item.active img {
  opacity: 1;
  filter: unset;
}

.box-carousel {
  height: fit-content;
}

.box-carousel img{
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
}

.carousel-overlay {
  position: absolute; 
  bottom: 0; 
  background: linear-gradient(rgba(10, 10, 10, 0), rgba(10, 10, 10, .7));
  color: #f1f1f1; 
  transition: opacity 2s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 2vw;
  width: inherit;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  z-index: -1;
}

.item.active .carousel-overlay {
  z-index: inherit;
}

.carousel-caption {
    bottom: 0px;
    width: 100%;
    left: 0px;
    right: 0px;
}

.mobile-carousel-content { 
    background: linear-gradient(rgba(10, 10, 10, 0), rgba(10, 10, 10, .7));
    line-height: 1.2;
    padding-top: 150px;
}

.mobile-carousel-content .bold{
  font-family: "Jost";
  font-size: 1rem;  
}

.mobile-carousel-content .regular{
  font-family: "Jost";
  font-size: .9rem;  
  font-weight: 300;
}

.mobile-carousel-content .title {
  font-family: "Jost";
  font-size: 1.5rem; 
  font-weight: 500;
}



/*  =======================================================================
||          CHI SIAMO
||  ======================================================================= */

.chiSiamo-listItem p{
    font-size: .7em;
}

.hide-p-h p {
    display: none !important;
}

.hide-p-h h5 {
    display: none !important;
}

.hide-p-h h2 {
    display: none !important;
}

.hide-p-h .animatedBox p {
  display: block !important;
}

.hide-animation div {
    display: none !important;
}

.hide-animation h5 {
    display: block !important;
}

.hide-animation h2 {
    display: block !important;
}


/*  =======================================================================
||          CONTATTI
||  ======================================================================= */

#map {
    height: 400px; /* The height is 400 pixels */
    width: 100%; /* The width is the width of the web page */
}


/*  =======================================================================
||          GALLERIA
||  ======================================================================= */

.gallery{
  position: relative;
}

.gallery-input {
  display: none;
}

.gallery-col {
  display: none;
}

.overlay {
  display: block;
  position: absolute; 
  bottom: 0; 
  background: rgba(0, 0, 0, 0); 
  color: #f1f1f1; 
  width: 100%;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
}

.gallery-container {
    position: relative;
    height: 100%;
    
}

.opacity-onhover:hover {
  background-color: var(--c-primary);
}

.opacity-onhover:hover img {
  opacity: .5;
  transition: .5s;
}

.gallery-container:hover .overlay {
  opacity: 1;
}

.relative-content {
    line-height: 1.4vw;
}

.relative-content .bold {
  font-family: "Jost";
  font-size: 1.4vw;  
}

.relative-content .regular {
  font-family: "Jost";
  font-size: 1.2vw;  
  font-weight: 300;
}

.relative-content .title {
  font-family: "Jost";
  font-size: 2vw; 
  font-weight: 500;
}

.relative-content p:last-of-type {
    margin-bottom: 0px;
}

/*  =======================================================================
||          MODAL GALLERIA
||  ======================================================================= */

.modal-content {
  background-color: rgb(0, 0, 0, 0.8);
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: var(--c-primary);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  transform: translate(-100%, 0%);
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

.modal-header {
    border-bottom: 1px solid var(--c-primary);
}

.modal-footer {
    border-top: 1px solid var(--c-primary);
}



/*  =======================================================================
||          MEDIA QUERY
||  ======================================================================= */

/* For tablets: */
@media only screen and (min-width: 600px) {
    
  .navbar-icon {
      width: 300px;
  }
  /*
  #menu-project {
        padding: 3rem 7rem;
    }
  */
}

/* For Desktop: */
@media only screen and (min-width: 900px) {
  
  #menu-project {
        padding: 0rem 20vw;
    }
  
}

/* For large screen: */
@media only screen and (min-width: 1200px) {
    .relative-content {
        line-height: 1;
    }
    
    .relative-content .bold{
      font-family: "Jost";
      font-size: 1rem;  
    }
    
    .relative-content .regular{
      font-family: "Jost";
      font-size: .9rem;  
      font-weight: 300;
    }
    
    .relative-content .title {
      font-family: "Jost";
      font-size: 1.5rem; 
      font-weight: 500;
    }
    
    .dropdown-content {
      background-color: rgba(255, 255, 255, .5);
    }
}

/* For x-large screen: */
@media only screen and (min-width: 1400px) {
    /*
    #menu-project {
        padding: 0rem 24rem;
    }
    */
}