/*
Theme Name:  Divi Child
Theme URI:   https://www.netlab360.it
Description: Divi child theme.
Author:      NetLab
Author URI:  https://www.netlab360.it
Template:    Divi
Version: Updated for Divi 4
*/

/* ============= CF7 ============== */
input[type="checkbox"] {
  appearance: checkbox;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  width: 18px;
  height: 18px;
  opacity: 1 !important;
  position: static !important;
  margin: 0 6px 0 0;
  vertical-align: middle;
  
}
select.form-control, 
textarea.form-control {border:1px solid #bbb;}

.wpcf7-acceptance {line-height:1.2em;}
input[type="radio"], input[type="checkbox"] { background: #fff !important; border-color: #101010 !important; padding: 0 !important; width: auto !important;}
.et_contact_bottom_container {display:inline-block;}
.wpcf7-spinner {position:absolute;}
.et_contact_bottom_container button, 
.et_contact_bottom_container button:hover {padding:.3em 1em;}


.wpcf7 p input, 
.wpcf7 p select, 
.wpcf7 p textarea {
    background-color: transparent;
    color: #0a2438;
    border: 1px solid #1d2127;
    padding: 1rem 1.5rem;
	border-radius:8px;
	font-size:15px;
}
.wpcf7 p select {
	width:100%;
	
	appearance: none;        /* rimuove la freccetta nativa (per Chrome/Safari) */
	-moz-appearance: none;   /* per Firefox */
	-webkit-appearance: none;
	
	background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 0.7em center;
	background-size: 1.5em;

}
.wpcf7 select:invalid {
  color: #999; /* colore tipo placeholder */
}

.wpcf7 option[disabled] {
  color: #999; /* per fallback browser */
}

.wpcf7 p textarea {height:10rem;}

.wpcf7 p input:focus,
.wpcf7 p select:focus, 
.wpcf7 p textarea:focus {border-color:#b02318;}

.wpcf7 .wpcf7-submit {color:#fff; background:#d00022; border-color:#b02318; border-radius:2rem; font-size: 1.25rem; font-weight:500;}
.wpcf7 .wpcf7-submit:hover {background-color:#29ffb2; color:#000;}

.select-wrapper select {
  appearance: none;         /* nasconde la freccia nativa */
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  padding-right: 2rem;      /* spazio per la freccia custom */
}
/*
.select-wrapper {
  position: relative;
  display: inline-block;
  width:100%;
}

.select-wrapper::after {
  content: "â–¼";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666;
  font-size: 0.8rem;
}
*/
.form-check {display:flex;}
.form-check small {font-size: min(3.1vw, 13px);}

/* ============ /CF7 ============== */

.ds-vertical-align {display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; flex-direction: column; justify-content: center;}
.ds-vertical-align-bottom { display:-webkit-box; display:-moz-box; display:-ms-flexbox; display:-webkit-flex; display:flex; -webkit-flex-wrap:wrap; flex-wrap:wrap; flex-direction:column; justify-content:flex-end;}

.nowrap {white-space:nowrap;}

@media all and (max-width: 980px) {
	.custom_row {display:-webkit-box; display:-moz-box; display:-ms-flexbox; display:-webkit-flex; display:flex; -webkit-flex-wrap:wrap; flex-wrap:wrap;}
	.first-on-mobile {-webkit-order:1; order:1;}
	.second-on-mobile {-webkit-order:2; order:2;}
	.third-on-mobile {-webkit-order:3; order:3;}
	.fourth-on-mobile {-webkit-order:4; order:4;}
}

.wt-cli-manage-consent-link {cursor:pointer;}

.container {width:94%;}


@media only screen and (max-width: 767px) {
	body {
	  overflow-x: hidden;
	}	
  .no-scroll-mobile {
    transform: none !important;
    transition: none !important;
  }
}

#top-menu-nav>ul>li.menu-btn > a{
	background:#d00022;
    padding: .5rem 1rem !important;
    margin-top: -0.75rem;
    border-radius: 2rem;
    color: #fff !important;
	opacity:1;
}
#top-menu-nav>ul>li.menu-btn > a:hover {background-color:#29ffb2; color:#101010 !important; opacity:1 !important;}
@media (min-width: 981px) and (max-width:1220px) {
	#logo {max-width:15vw;}
	#top-menu>li {padding-right:16px;}
	#top-menu-nav>ul>li.menu-btn > a {padding:.5rem .5rem !important;}
	#top-menu>li>a {font-size:15px; letter-spacing:-0.03em;}
}
@media (min-width: 981px) and (max-width:1140px) {
	#top-menu>li.menu-item-secondary {display:none;}
}


@media only screen and (min-width: 981px) {
    .et_pb_hidden_desktop {
        display: none !important;
    }
}
@media only screen and (min-width: 768px) and (max-width: 980px) {
    .et_pb_hidden_tablet {
        display: none !important;
    }
}
@media only screen and (max-width: 767px) {
    .et_pb_hidden_phone {
        display: none !important;
    }
}

.dsm_lottie.icon {float:left; transform: scale(3.5); margin-right: 10px !important; top:-4px;}
.dsm_lottie.absolute-icon .dsm_lottie_wrapper {position:absolute;}
.dsm_lottie.absolute-icon .dsm_lottie_wrapper svg {margin-top:-30%;}

#footer-info a {font-weight:600;}

.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-banner-checkbox input.cmplz-consent-checkbox {display:none;}