/* Campos condicionales */
[data-class="wpcf7cf_group"] .campo {
    margin: 0.5rem 0 1.25rem;
}

/* Interruptores - switch */
.interruptores {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: 13px;
}

.interruptores .wpcf7-textarea {
    height: 100px;
}

.alternativos .raanet__interruptor .wpcf7-list-item-label:after {
    content:'\f00d';
    font-family:'Font Awesome 5 Free';
    text-align:right;
    padding-right:8px;
    font-size: 12px;
}

.alternativos .raanet__interruptor input:checked + .wpcf7-list-item-label:after {
    content:'\f00c';
    font-family:'Font Awesome 5 Free';
    text-align:left;
    font-size: 11px;
}

/* Label flotante */
.raanet__formularios-grid .campo {
  position: relative;
}

.raanet__formularios-grid .campo label,
.raanet__formularios-grid .raanet__formulario-textarea-label {
  position: absolute;
  top:50%;
  padding-left: 15px;
  font-size:13px;
  transform: translateY(-50%);
  pointer-events: none;
  font-weight: normal;
  transition: all 0.15s;
  color: var(--body_typography-color);
  z-index: 6;
}

.raanet__formularios-grid .campo  .raanet__campo-con-valor {
	top: 15%;
	font-size: 10px;
	color: var(--form_border_color);
}

.raanet__formularios-grid .campo .raanet__formulario-textarea-label {
  top:10%;
}

.raanet__formularios-grid .campo .raanet__formulario-textarea-label.raanet__campo-con-valor {
	top: 0;
	font-size: 10px;
    color: var(--form_border_color);
}

#wpcf7-f9-o1,
#wpcf7-f9-o1 a {
    color: #fff;
}

.wpcf7-form p {
    margin: 0;
}
.wpcf7-captchar, .wpcf7-form .wpcf7-date, .wpcf7-form .wpcf7-number, .wpcf7-form .wpcf7-quiz, .wpcf7-form .wpcf7-select, .wpcf7-form .wpcf7-text {
    height:35px;
    padding: 10px 0px 0 !important;
    min-height: 20px !important;
    border: none;
    border-bottom: 1px solid #393939;
    border-radius: 0;
    background: transparent;
    width: 100%;
}
.raanet__condicional_si {
    display:none;
}
.checkbox-condicional-correo-es .wpcf7-list-item-label {
    margin-left: 0.75rem;
}
.raanet__formulario-texto-legal {
   font-size: 9px;
   text-align: justify;
   line-height: 10px;
   margin-top: 20px;
}
.select-arrow {
    border: unset!important;
}

/**INTERRUPTOR ACEPTACION**/

.raanet__interruptor .wpcf7-list-item-label {
  width: 41px;
  height: 17px;
  display: block;
  position: relative;
  border-radius: 34px;
  background-color: #d8d8d8;
  transition: background-color 0.4s;
  margin-right: 0.75rem;
  font-size:0;
}
.raanet__interruptor .wpcf7-list-item-label:before {
    content: '';
    display: block;
    background-color: #3a3a3a;
    bottom: 3px;
    height: 11px;
    left: 3px;
    position: absolute;
    transition: .4s;
    width: 11px;
    z-index: 5;
    border-radius: 100%;
  }

.raanet__interruptor .wpcf7-list-item-label:after {
    display: block;
    line-height: 18px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    content: 'no';
    color: #484848;
    padding-left: 18px;
    transition: all 0.4s;
  }

.raanet__interruptor input {
  position: absolute;
  opacity: 0;
}

.raanet__interruptor input:checked + .wpcf7-list-item-label {
  background-color: #dd0812;
}
.raanet__interruptor.interruptor_newsletter input:checked + .wpcf7-list-item-label
{
    background-color: #fff;
}
.raanet__interruptor input:checked + .wpcf7-list-item-label:before {
    transform: translateX(23px);
  }

.raanet__interruptor input:checked + .wpcf7-list-item-label:after {
    content: 'si';
    color: #fff;
    padding-left: 6px;
    text-align: left;
  }
html[lang^="en"] .raanet__interruptor input:checked + .wpcf7-list-item-label:after {
    content: 'yes';
    text-transform: lowercase;
    padding-left: 6px;
}
html[lang^="fr"] .raanet__interruptor .wpcf7-list-item-label:after {
    content: 'non';
    text-transform: lowercase;
    padding-left: 15px;
}
html[lang^="fr"] .raanet__interruptor input:checked + .wpcf7-list-item-label:after {
    content: 'oui';
    text-transform: lowercase;
    padding-left: 6px;
}
.raanet__interruptor.interruptor_newsletter input:checked + .wpcf7-list-item-label:after
{
    color: #dd0812;
}
  
.raanet__interruptor input:checked + .wpcf7-list-item-label:before {
    background-color: #fff;
}
.raanet__interruptor.interruptor_newsletter input:checked + .wpcf7-list-item-label:before
{
    background-color: #dd0812;
}

/**LABEL FLOTANTE**/
  
.raanet__formulario-wrap {
  margin-bottom: 35px;
  position: relative;
  width: 100%;
}

.raanet__formulario-100 {
    flex: 1 1 100%;
}

.raanet__formulario-50 {
    flex: 1 1 50%;
}
.raanet__formulario-25 {
    flex: 1 1 25%;
}

.raanet__formulario-wrap label {
  position: absolute;
  top:28%;
  padding-left: 0px;
  font-size:16px;
  transform: translateY(-50%);
  pointer-events: none;
  font-weight: normal;
  transition: all 0.15s;
  color: #393939;
  z-index: 6;
  font-family: 'Poppins', sans-serif;
}

#footer .raanet__formulario-wrap label,
#footer .wpcf7-form .wpcf7-text{
	color:#fff;
}

.raanet__formulario-wrap .raanet__campo-con-valor {
	top: 15%;
	font-size: 10px;
 	color: #393939;
    font-family: 'Poppins', sans-serif;
}

/* Ajuste para textarea (cuadros de texto grandes) */
.raanet__formulario-wrap .raanet__formulario-textarea-label {
  position: absolute;
  top:35%;
  font-size:12px;
  transform: translateY(-50%);
  pointer-events: none;
  font-weight: normal;
  transition: all 0.15s;
  color:#393939;
  z-index: 6;
  font-family: 'Poppins', sans-serif;
  background: transparent;
}
.raanet__formulario-wrap .raanet__formulario-textarea-label.raanet__campo-con-valor {
	top: 0;
	font-size: 10px;
    color:#393939;
}

/* MENSAJES DE ERROR */
.wpcf7-form .wpcf7-not-valid-tip {
    display: block;
    position: absolute;
    min-width: 200px;
    left: 0;
    top: -25px;
    font-size: 12px;
}
textarea.raanet__formulario-campos + .wpcf7-not-valid-tip {
    display: block;
    position: absolute;
    min-width: 200px;
    left: 0;
    top: 0px;
    font-size: 12px;
}
.raanet__interruptor + .wpcf7-not-valid-tip {
    display: block;
    position: absolute;
    min-width: 200px;
    left: 0;
    top: -18px;
    font-size: 12px;
}

/** CHECKBOXES **/
.raanet__formulario-checkboxes-wrap {
    font-size:13px;
    margin: 1rem 0 1.5rem;
}
.raanet__formulario-checkboxes-wrap p, .raanet__formulario-checkboxes-wrap p a
{
    color: #393939;
}
.raanet__formulario-checkboxes-wrap > span {
    display: inline-block;
}
.raanet__formulario-checkboxes-wrap > span:not(:last-child) {
    margin-bottom:6px;
}
/*Personalizacion basica de los formularios, tamaños, bordes, espaciados y color del texto escrito*/
.wpcf7-select {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
}
.wpcf7-list-item{
    margin:0;
}
/* Dade - Formularios */
.acceptance-newsletter-footer-es input[type="checkbox"],
.checkbox-hablamos-es input[type="checkbox"],
.acceptance-hablamos-es input[type="checkbox"]{
    margin: -1px 5px 0 0
}
.sector-lellamamos-es .select-arrow,
.pais-lellamamos-es .select-arrow,
.sector-contacto-es .select-arrow,
.pais-contacto-es .select-arrow,
.pais-trabaja-es .select-arrow {
    border:unset;
}
.cssformularioscontacto,
.raanet__formulario-campos {
	caret-color: #393939;
    border: none;
    border-bottom: 1px solid #393939;
    border-radius: 0;
    font-family: 'Poppins', sans-serif;
    color: #393939;
    height: 70px;
    padding-left: 0;
    background: transparent;
}
.raanet__formulario-campos:focus
{
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid #393939;
    outline: none !important;
    box-shadow: none !important;
}
.raanet__formulario-campos + .select-arrow {
    background: transparent!important;
}
.raanet__formulario-flex-responsive {
    display:flex;
    flex-direction:column;
}
@media (min-width:1024px) {
.raanet__formulario-flex-responsive {
    flex-direction:row;
}
.raanet__formulario-flex-responsive .raanet__formulario-wrap:first-child {
    margin-right:16px;
}
.raanet__formulario-flex-responsive .raanet__formulario-wrap:last-child {
    margin-left:16px;
}
.raanet__formulario-flex-responsive .raanet__formulario-wrap:only-child {
    margin:0
}
}
@media(max-width:768px)
{
    .wpcf7-captchar, .wpcf7-form .wpcf7-date, .wpcf7-form .wpcf7-number, .wpcf7-form .wpcf7-quiz, .wpcf7-form .wpcf7-select, .wpcf7-form .wpcf7-text
    {
        width: 100%;
    }
}
