/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

.infobox {border:0px #FFF solid;}




@media only screen and (min-width: 768px) {
	.testo_in_2_colonne p {column-count: 2 !important;column-gap: 2em !important;}
	.valore .ib-desc {font-size:22px !important;}
}

@media only screen and (max-width: 767px) {
	.testo_in_2_colonne p {column-count: 1 !important; text-align:center !important;}
	.valore .ib-desc {font-size:18px !important; line-height:22px !important;}
	.mfn-main-slider.mfn-rev-slider {padding-top:110px !important; background-color:#262626;}
	.logo_header img {height:60px !important; width: auto !important;}
}

@media only screen and (max-width: 1023px) {
	#SR7_2_1-3-1 {height:85% !important;}
	.mfn-main-slider {background-color:#262626;}
	.entry-content {margin-top:-80px !important;}
}




@media only screen and (min-width: 1000px) {
		#gf-consulting-hr-solutions-curva {height:200px;margin-bottom:-200px;z-index:1000;}
		#lavorando-curva {height:200px;margin-bottom:-200px;z-index:1000;}
		#gf-consulting-pa-solutions-curva {height:200px;margin-bottom:-200px;z-index:1000;}
		#polyedros-curva {height:200px;margin-bottom:-200px;z-index:1000;}
}

@media only screen and (max-width: 999px) {
		#gf-consulting-hr-solutions-curva {height:100px;margin-bottom:-100px;z-index:1000;}
		#lavorando-curva {height:100px;margin-bottom:-100px;z-index:1000;}
		#gf-consulting-pa-solutions-curva {height:100px;margin-bottom:-100px;z-index:1000;}
		#polyedros-curva {height:100px;margin-bottom:-100px;z-index:1000;}
}




.grecaptcha-badge {display: none !important;}



/***************************************************/



/* Layout a griglia */
.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Campi al 50% */
.form-grid p {
  flex: 1 1 48%;
  margin: 0;
}

/* Campi full-width */
.form-grid p:has(textarea),
.form-grid p:has(input[type="file"]),
.form-grid p:has(.wpcf7-submit),
.form-grid p:has(input[type="checkbox"]) {
  flex: 1 1 100%;
  font-size:14px;
}

/* Stile input */
.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 0.6em;
  border: 1px solid #000;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
  color: #000 !important;
}


.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border: 1px solid #000;
  background-color:#FFF;
}

.form-grid select:focus option {
    background-color:#FFF;
    color:#555 !important;
}

.form-grid select option:first-of-type {
    color:#555 !important;
}

/* File upload */
.form-grid input[type="file"] {
  padding: 0.3em;
}

/* Checkbox */
.form-grid input[type="checkbox"] {
  margin-right: 0.5em;
}

/* Bottone invio */
.form-grid input[type="submit"] {
  background-color: #0073aa;
  color: #FFF;
  border: none;
  padding: 0.8em 1.2em;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .form-grid p {
    flex: 1 1 100%;
  }
}

.form-grid input::placeholder, .form-grid textarea::placeholder {color:#555 !important;}
.form-grid input:focus::placeholder, .form-grid textarea:focus::placeholder {color:#BBB !important;}

.titolo-nella-form {display:inline-block;float:left;text-align:left !important; font-size:14px; line-height:17px; margin-bottom:5px;}
.legenda-nella-form {display:inline-block;float:left;text-align:left !important; font-size:14px; line-height:17px; width:100%; margin-top:10px;}

.checkbox-element {width:100%;}

.checkbox-element .wpcf7-list-item-label {display:none;}

.checkbox-element .wpcf7-form-control-wrap {float:left;display:inline-block;height:25px;}
.checkbox-element .wpcf7-list-item label {padding:0px; margin: 0px;}
.checkbox-element input[type="checkbox"] {padding:0px; margin: 0 auto; width:20px !important; height:20px !important;}
.checkbox-element .testo-checkbox {text-align:left !important;padding-top:5px;float:left;display:inline-block;font-size:14px; line-height:20px; vertical-align:middle;}

.wpcf7-response-output {margin-top: 20px !important;font-size: 14px;line-height:17px;padding: 0px !important;border: 1x red solid;font-weight: 700;}


@media (max-width: 767px) {
    .checkbox-element .wpcf7-form-control-wrap {width:15%;}
    .checkbox-element .testo-checkbox {width:85%;}
}
@media (min-width: 768px) and (max-width: 1999px) {
    .checkbox-element .wpcf7-form-control-wrap {width:7%;}
    .checkbox-element .testo-checkbox {width:93%;}
}
@media (min-width: 2000px) {
    .checkbox-element .wpcf7-form-control-wrap {width:7%;}
    .checkbox-element .testo-checkbox {width:93%;}
}


/*******************************************/

#mfn-footer-template {
  font-size: 16px;
  line-height:24px;
}


#mfn-footer-template a {
    color: #c4c4c4 !important;
    padding:0px 3px;
}

#mfn-footer-template a:hover {
    color: #FFF !important;
    background-color:#003986 !important;
    padding:0px 3px;
}



/*******************************************/



.logo_footer {width:250px;height:auto;}
#back_to_top {background-color:rgba(255,255,255,0.5);}
    #back_to_top i {color:#555 !important;}

#back_to_top.sticky {
    position: fixed;
    right: 15px;
    bottom: 75px;
    z-index: 9001;
}

@media only screen and (max-width: 767px) {
    #back_to_top.in_footer, #back_to_top.sticky {
        right: 15px !important;
        margin: 0;
    }
}



/*******************************************/



.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    border: 3px red solid !important;
    font-size:25px !important;
    line-height: 30px;
    padding: 10px !important;
    background-color: #ffdce2;
    color: red !important;
}


.wpcf7 form.sent .wpcf7-response-output {
    border: 3px #46b450 solid !important;
    font-size:25px !important;
    line-height: 30px;
    padding: 10px !important;
    background-color: #dcffdd;
    color: #46b450 !important;
}

.wpcf7 label {font-size:18px; line-height:24px;}




/*******************************************/


:focus {
  box-shadow: 0 0 0 3px rgba(0, 123, 200, 0.8);
  outline: none;
  border-radius: 4px;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus,
#filtro-corsi select:focus, #filtro-corsi input[type=text]:focus,
#filtro-annunci select:focus, #filtro-annunci input[type=text]:focus {
  box-shadow: 0 0 0 3px rgba(0, 123, 200, 0.8);
  outline: none;
  border-radius: 4px;
}

/* Forza l'apertura del submenu al focus dentro al li */
.menu-item-has-children:focus-within > .sub-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}

/* Mantieni nascosto normalmente */
/*
.menu-item-has-children > .sub-menu {
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  position: absolute;
  z-index: 999;
}
*/