/*
Theme Name: Vittorio Bogazzi
Author: 
Description: 
Version: 1.0
*/

/* Additional styles specific to your template can be added below */

/* body{
   font-family: Montserrat;
} */

.main{
    overflow:hidden;
}


.navbar.fixed-top.content-color-blue .brand-light, .navbar.fixed-top .brand-dark{
  display:none;
}
.navbar.fixed-top .brand-light, .navbar.fixed-top.content-color-blue .brand-dark{
  display:flex;
}

/* TEXT CLASSES */
.font-montserrat{
   font-family: 'Montserrat' !important;
}
.font-size60{
   font-size: 60pt !important;
}
.font-size47{
   font-size: 47pt !important;
}
.font-size40{
   font-size: 40pt !important;
}
.font-size30{
   font-size: 30pt !important;
}
.font-size25{
   font-size: 25pt !important;
}
.font-size24{
   font-size: 24pt !important;
}
.font-size20{
   font-size: 20pt !important;
}
.font-size12{
   font-size: 12pt !important;
}

@media (max-width: 1600px) {
   .font-size60{
      font-size: 40pt !important;
   }
   .font-size47{
      font-size: 30pt !important;
   }
   .font-size40{
      font-size: 25pt !important;
   }
   .font-size30{
      font-size: 20pt !important;
   }
   .font-size25{
      font-size: 16pt !important;
   }
   .font-size24{
      font-size: 12pt !important;
   }
   .font-size20{
      font-size: 10pt !important;
   }
   .font-size12{
      font-size: 5pt !important;
   }
}

.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next, .owl-carousel button.owl-dot{
    
    border-radius: 50px;
    width: 50px!important;
    height: 50px!important;
}

.white .sa_owl_theme .owl-nav  button.owl-prev {
    background-size: 20%!important;
}

.white .sa_owl_theme .owl-nav  button.owl-next {
    background-size: 20%!important;
}

.line-height{
   line-height: 36px;
}

.footer-logo-mh{
   max-height: 50px;
}

footer .menu {
    padding: 0;
    margin: 0;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
}

footer .menu-item {
    list-style: none;
    padding: 0;
    flex: 1 0 0%;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
/*   padding-left: 0px !important;
   padding-right: 0px !important;*/
}

.navbar.sticky-top {
   transition: background-color 0.3s ease;
 }

@media screen and (min-width:960px){
    .menu-main-menu-container{
        margin:auto;
    }
}



.homePage-photo-container{
   /*padding-top: 10%;
   padding-bottom: 10%;*/
}

.homePage-photo{
   /*position: absolute;
   top: 12%;
   right: 5%;*/
}

.transparent-header {
   background-color: rgba(128, 128, 128, 0.5);
   backdrop-filter: blur(8px);
   -webkit-backdrop-filter: blur(8px);
   position: relative;
   z-index: 1;
 }
 
 .transparent-header .navbar {
   background-color: transparent;
 }

.content-color-blue{
   background-color: #005389;
}

.content-color-darkblue{
   background-color: #003D65;
}

.shadow-x0-y0-b15 {
   box-shadow: 0px 0px 15px rgba(0, 0, 0, 1);
 }

 .border-homaPage{
   border: 4px solid #fff;
 }

 /* Home page icon */

 .landing-section2 {
   padding: 15px;
}

.landing-section2 .col-sm-4 > div {
   border: 1px solid #357ca3;
   padding: 20px;
   position: relative;
   -webkit-border-radius: 5px;
   -moz-border-radius: 5px;
   border-radius: 5px;
   margin-bottom:2em;
}

.landing-section2 h3 {
   color: white;
   margin-top: 30px;
}

.landing-section2 .landing-icon {
   color: #357ca3;
   font-size: 3em;
   background: #003D65;
   display: table;
   margin: -1.4em auto 0;
   padding: 0 5px;
   width: 120px;
   height: 120px;
   line-height: 80px;
}

header nav .container-fluid{
   /*width: auto !important;*/
 }

@media screen and (max-width:960px){
    .navbar-brand img{
        max-width:260px;
    }
}

@media screen and (max-width:959px){
    .navbar-brand img{
        max-width:240px;
    }
}

@media screen and (min-width:768px){
    #navbarSupportedContent{
       justify-content: space-around; 
    }
}



.metaslider {
    max-height:1080px;
}

.sa_hover_container{
    background-position: center!important;
    background-repeat: no-repeat!important;
    background-color: rgba(0,33,54,0.2)!important;
    background-blend-mode: darken;
    padding:0!important;
}


.front-page-title{
    position:absolute;
    z-index:3;
    top:0;
    height:1080px;
    background:rgba(0,33,54,0.5);
    width:100%;
}

 .col-equal-w{
   flex: 1;
   padding: 1em;
 }

 .metaslider .caption-wrap {
	background-color: transparent !important;
	top: 60% !important;
	padding-left: 30%;
   left: 35% !important;
   transform: 	translate(-50%,-50%)!important;
	text-align: center;
	
	opacity: 1 !important;
	color: white;
}

@media (max-width: 996px) {
.sa_hover_container{
        min-height:500px!important;
    }
 }

.contatti-info-padding{
	padding: 150px;
}

.servizi-photo-custom-margin{
	margin: 50px !important;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus,
.wpcf7-form label:focus {
  outline: 2px solid white;;
}

select#lang_choice_polylang-2, select#lang_choice_polylang-3 {
	border: 2px solid white;
    border-radius: 10px;
	color: white;
	background: transparent;
	padding: 4px 8px;
}

select#lang_choice_polylang-2 option, select#lang_choice_polylang-3 option  {
  background: #005389;
  color: #fff;
  border:none;
  line-height: 130px;
  min-height: 90px;

}


.wpcf7-not-valid-tip{
	color: #681a16 !important;
}


.wpcf7-form label {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.contactForm-background{
	background-color: #5BC5ED;

}

.text-right{
	text-align: right;
}

/* contact form container class */
.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container textarea {
	background-color: #2D8CBB;
	color: white;
   width: 100%;
	padding: 4px;
   border: none;
   border-radius: 4px;
}

.contact-form-container {
   height: 100%;
   position: absolute;
   top: 0;
	 right: 5%;
   background-color: #5BC5ED;
   padding: 40px;
   color: white;
}

.contact-form-container h2 {
   margin-bottom: 10px;
}

.contact-form-container textarea {
   height: 80px;
	 max-height: 100px;
}

.contact-form-container input[type="submit"] {
   background-color: #fff;
   color: black;
   border: none;
   padding: 10px 20px;
   border-radius: 25px;
   cursor: pointer;
}

.contact-form-container input[type="submit"]:hover {
   color: white;
}

.contact-form-container input[type="submit"]:hover {
   background-color: #2D8CBB;
   color: white;
}

.image-container {
  position: relative;
  display: inline-block;
}

/*contact form class*/
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
	color: white;
	 padding-left: 16px;
   border-radius: 16px;
  }

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
  color: white;
}

.image-overlay:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.light-background-half{
    height:60%;
    background-color:#5BC5ED;
    position:absolute;
    z-index:-1;
}

@media screen and (max-width:1079px){
    .light-background-half{
        height:100%;

    }
}

/* Show the overlay and change image color on hover */
.image-container:hover .image-overlay {
  opacity: 0.8;
}

.rounded-image {
	overflow: hidden;
   border-radius: 16px !important;
}

/* CSS to change the image color on hover */
.image-container:hover img {
  filter: brightness(80%);
}

/* Remove link styles from WordPress widgets */
.widget a {
  color: white;
  text-decoration: none;
}

.navbar-nav li a {
    color: #fff;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #fff;
}

.text-disable h2{
   display: none;
 }
 
 .text-enable:hover h2{
   display: block;
 }

#wpsm_counter_b_row_813, #wpsm_counter_b_row_824,
#wpsm_counter_b_row_825,
.wpsm_counterbox {
    text-align: center;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

#wpsm_counter_b_row_813, #wpsm_counter_b_row_824,
#wpsm_counter_b_row_825, .wpsm_counterbox .wpsm_count-title {
    min-height: 0px !important;
}

#wpsm_counter_b_row_813, #wpsm_counter_b_row_824,
#wpsm_counter_b_row_825, .wpsm_counterbox .wpsm_count-title {
    margin-top: 0px !important;
}

#wpsm_counter_b_row_813, #wpsm_counter_b_row_824,
#wpsm_counter_b_row_825, .wpsm_counterbox .wpsm_number {
   margin-top: 0px !important;
	font-size: 35pt !important;
}

.wpsm_col-sm-6 {
   width: 100% !important;
}

/* GDPR checkbox CF7 */
.gdpr-check {
  margin-top: 1.25rem;
  padding-left: 1.75rem;
  margin-left:-48px;
}

.gdpr-check .wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.gdpr-check input[type="checkbox"] {
  margin-top: 3px;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  accent-color: #0d6efd; /* colore Bootstrap primary, adattalo al sito */
  cursor: pointer;
}

.gdpr-check .wpcf7-list-item-label {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.5;
	margin-left:0.5rem;
}

.gdpr-check .wpcf7-list-item-label a {
  color: #0d6efd;
  text-decoration: underline;
}

.gdpr-check .wpcf7-list-item-label a:hover {
  color: #0a58ca;
}

/* Evidenzia errore se non spuntata */
.gdpr-check .wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #dc3545;
  margin-top: 0.25rem;
}


@media (max-width: 1200px) {
	.servizi-photo-custom-margin{
		margin: 0px !important;
	}
}

@media (max-width: 587px) {
   .contact-form-container {
      right: 0%;
	  margin-left:auto;
	  position:relative;	
   }
}


@media (min-width: 576px) {
  .contact-form-container {
    width: 90%; 
	margin-left:auto;
	position:relative;		  
  }
}

@media (min-width: 768px) {
  .contact-form-container {
    width: 40%;
	margin-left:auto;
	position:relative;		  
  }
}

@media (min-width: 992px) {
  .contact-form-container {
    width: 40%;
	margin-left:auto;
	position:relative;	  
  }
}

@media (min-width: 1200px) {
  .contact-form-container {
    width: 40%;
	margin-left:auto;
	position:relative;
  }
}

 @media (min-width: 991px) {
   .justify-content-center{
		 justify-content:center!important
	 }
 }

 @media screen and (min-width: 992px) {
   .landing-section2.content-color-darkblue {
     background-image: url('data:image/svg+xml,%3Csvg%20id%3D%22Livello_1%22%20data-name%3D%22Livello%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20284.61%20544.68%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bopacity%3A0.7%3B%7D.cls-2%7Bfill%3A%2343baea%3B%7D.cls-3%7Bfill%3A%23013152%3B%7D.cls-4%7Bfill%3Anone%3Bstroke%3A%23ae0018%3Bstroke-miterlimit%3A10%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22Group_394%22%20data-name%3D%22Group%20394%22%20class%3D%22cls-1%22%3E%3Cpath%20id%3D%22Path_347%22%20data-name%3D%22Path%20347%22%20class%3D%22cls-2%22%20d%3D%22M124%2C514.27V492.19c-1%2C1.16-2.08%2C2.26-3.17%2C3.36A76.87%2C76.87%2C0%2C0%2C1-10.46%2C441.19V271.32l.25.05%2C59.29%2C56.5a40.42%2C40.42%2C0%2C0%2C1%2C12.56%2C29.32v39.35a45.2%2C45.2%2C0%2C0%2C0%2C41.4%2C45v-62.3l21%2C20%2C19.44%2C18.52L155.23%2C429v33.75a48.41%2C48.41%2C0%2C0%2C0%2C48.39%2C48.4V426.81c0-15.65-8.61-21.08-13.91-26.13l-37.24-35.49q-4.35-4.69-9.05-9.41c-12.1-12.22-25.81-24.64-40-37.27l-34.88-33.2-45.2-43.05C3.47%2C219.44-11%2C196.28-14.19%2C173c-6-44.24%2C21.22-80.14%2C37-90.87%2C0%2C0%2C0%2C0%2C0%2C0a33.17%2C33.17%2C0%2C0%2C1%2C3.29-2c-7.67%2C29%2C2.81%2C57.73%2C23%2C86.3%2C57.09%2C81%2C191.77%2C161.12%2C211.38%2C246.1a97.06%2C97.06%2C0%2C0%2C1%2C1.83%2C10.58%2C10.86%2C10.86%2C0%2C0%2C1%2C.07%2C1.28c.05.8.07%2C1.6.07%2C2.42v87.47a69.2%2C69.2%2C0%2C0%2C1-138.4.05v-.05Z%22%20transform%3D%22translate(15.03%20-38.82)%22%2F%3E%3Cg%20id%3D%22Group_392%22%20data-name%3D%22Group%20392%22%3E%3Cpath%20id%3D%22Path_350%22%20data-name%3D%22Path%20350%22%20class%3D%22cls-3%22%20d%3D%22M26.1%2C80.13c6.26-4.08%2C14.76-8.78%2C16.94-9.78%2C56-25.47%2C143.66-53.6%2C224.71-4.82a3.75%2C3.75%2C0%2C0%2C1-1.92%2C7c-52.25%2C0-177.77%2C22.63-216.75%2C93.93C28.91%2C137.86%2C18.43%2C109.15%2C26.1%2C80.13Z%22%20transform%3D%22translate(15.03%20-38.82)%22%2F%3E%3Cpath%20id%3D%22Path_348%22%20data-name%3D%22Path%20348%22%20class%3D%22cls-4%22%20d%3D%22M149.73%2C222.27%22%20transform%3D%22translate(15.03%20-38.82)%22%2F%3E%3Cpath%20id%3D%22Path_349%22%20data-name%3D%22Path%20349%22%20class%3D%22cls-4%22%20d%3D%22M149.73%2C222.27%22%20transform%3D%22translate(15.03%20-38.82)%22%2F%3E%3Cpath%20id%3D%22Path_351%22%20data-name%3D%22Path%20351%22%20class%3D%22cls-2%22%20d%3D%22M262.43%2C424.38h-.07a11.1%2C11.1%2C0%2C0%2C0-.07-1.28Z%22%20transform%3D%22translate(15.03%20-38.82)%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E'); 
     background-repeat: no-repeat; 
     background-size: 15%; 
     background-position: bottom left;
   }
 }

 @media (min-width: 576px) {
   .footer_logo-center {
     display: flex;
     align-items: center;
     justify-content: center;
   }
 }

 @media (max-width: 576px) {
   .center-text-footer {
     text-align: center !important;
   }
	 .wp-block-cover	 {
		 /*min-height:50vh!important;*/
	 }	 
 }

 @media (max-width: 991px){
   .custom-justify-content {
      justify-content: center!important;
  }
 }

 @media (max-width: 1749px) {
   /*.homePage-photo {
      position: relative;
      top: 0%;
      right: 0%;
   }*/
 }