/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
/*******************************************
**VARIABLES*******************************
*******************************************/
:root {
	--display-font:'Dastin',Helvetica,Arial,Lucida,sans-serif; /*Define la fuente del botón*/
	--script-font:'Mirelle Script',Helvetica,Arial,Lucida,sans-serif; /*Define la fuente del botón*/
}


/***********************************************************************************
**GENERIC CLASSES*******************************************************************
***********************************************************************************/
sup{
	position:absulute;bottom:.75em;
	line-height:1em;
	font-size:calc(1em / 1.5);
}
/**Corrección páginas con padding?**/
@media only screen and (min-width: 1350px) {
  	.et-db #et-boc .et-l .et_pb_section_0_tb_header.et_pb_section{
     	padding-top:0px!important;padding-bottom: 0;   
   	}
	.post-type-archive-product #main-content .container{
		padding-top: 1em !important;
	}
}
/***********************************************************************************
**PLUGINS***************************************************************************
***********************************************************************************/
/**COMPLIANZ**/
#cmplz-document{
	max-width: 100%!important;margin-bottom:60px;
}
/**CONTACT 7*/
.et_pb_contact_form_7 input,
.et_pb_contact_form_7 textarea{
    background-color:#f3f3f3!important;
    border-radius:6px!important;
    color:black!important;
}

/* Mejora el foco para navegación por teclado */
.et_pb_contact_form_7 input:focus, 
.et_pb_contact_form_7 textarea:focus {
    border-bottom: 2px solid var(--gcid-primary-color)!important; /* Color corporativo llamativo */
    background-color:var(--gcid-69xzeub2m4)!important;
}

/* Espaciado para que no se amontone el texto */
.wpcf7 .form-group{
    margin-bottom: 20px;
}
.wpcf7 .form-group p{
    margin:0;
    padding:0;
    line-height:.75em;
}
.wpcf7 .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0px;
}
.wpcf7 fieldset {
    border: none;
    padding: 0;
    margin: 20px 0;
}
.wpcf7 legend {
    font-weight: bold;
    margin-bottom: 10px;
}
/** Error**/
.wpcf7 .obligatorio{
    color:red;
}
.wpcf7 label:hover .obligatorio:after{
    content:'campo obligatorio';
    background-color:red;
    color:white;
    display:inline-block;
    font-size:.7em;
    padding:.3em .5em;
    border-radius:6px;
    position:absolute;margin-left:.5em;margin-top:-5px;
}
.wpcf7-not-valid:not(:focus){
    border-bottom:2px solid red!important;
}
.wpcf7-not-valid-tip{
    font-size:.8rem;
}
.wpcf7-submit.et_pb_button{
    border:2px solid black;
    background-color:black;
    color:white!important;
}  

/**Response**/
.wpcf7 form .wpcf7-response-output {
    color:black;
	margin: 2em 0 1em;
	padding: 0.5em 1em;
    border-width:0 0 0 4px;
    background-color:rgba(0, 160, 210,.25) /* Blue */
}
.wpcf7 form.sent .wpcf7-response-output {
	background-color:rgba(70, 180, 80,.25); /* Green */    
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	background-color:rgba(220, 50, 50,.25);/* Red */
}
.wpcf7 form.spam .wpcf7-response-output {
    background-color:rgba(245, 110, 40,.25);/* Orange */
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	background-color:rgba(255, 185, 0,.25);/* Yellow */
}

/**Google Captcha**/
.grecaptcha-badge { visibility: hidden;}

/**Fivo Ajax Search**/
#menu-principal .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp{
	background-color:rgba(246,236,227,0);
}
.dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input{
    background-color:white;
    border:1px solid #BD9F85;    
}
.dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus,
.dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:hover{
    border:1px solid black;    
}
.dgwt-wcas-suggestions-wrapp{
	border-radius:20px!important;  
    box-shadow: 0 10px 40px -20px #000;
    margin-top:20px;    
}