/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 10 2026 | 01:15:50 */
/**
 * =========================================================
 * AVSYS - CONTACT FORM 7 / DIVI 5
 * Versión organizada - Select normal + Multi Select
 * =========================================================
 *
 * Estructura esperada:
 *
 * <div class="av-cf7 av-cf7-contacto">
 *     ...
 * </div>
 *
 * Clases CF7 para selects:
 *
 * Select normal:
 * class:av-cf7-select-normal
 *
 * Multi select:
 * class:av-cf7-select-multi multiple
 *
 * NOTA:
 * Los colores, tipografías, padding general, botón, checkbox
 * y mensajes pueden seguir controlándose desde Divi 5.
 *
 * =========================================================
 */

/* =========================================================
   1. VARIABLES Y CONTENEDOR PRINCIPAL
   ========================================================= */

.av-cf7 {
    --av-cf7-select-height: 55px;
    --av-cf7-select-bg: #ffffff;
    --av-cf7-select-text: #373737;
    --av-cf7-select-border: #c9c9c9;
    --av-cf7-select-border-hover: #b8b8b8;
    --av-cf7-select-border-focus: #5352eb;
    --av-cf7-select-radius: 28px;
    --av-cf7-multi-tag-bg: #5352eb;
    --av-cf7-multi-tag-text: #ffffff;
    --av-cf7-dropdown-bg: #ffffff;
    --av-cf7-dropdown-hover: #f5f5ff;
    --av-cf7-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    width: 100%;
    max-width: 100%;
}

/* =========================================================
   2. NORMALIZACIÓN CF7
   ========================================================= */

.av-cf7 p {
    margin-top: 0;
}

.av-cf7 .av-cf7-grid br {
    display: none;
}

/* =========================================================
   3. GRID
   ========================================================= */

.av-cf7 .av-cf7-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.av-cf7 .av-cf7-field {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    align-self: start;
}

.av-cf7 .av-cf7-full {
    grid-column: 1 / -1;
}

/* =========================================================
   4. LABELS Y WRAPPERS CF7
   ========================================================= */

.av-cf7 .av-cf7-field > label {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.av-cf7 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin: 5px 0 0 0 !important;
    padding: 0 !important;
}

/* =========================================================
   5. CAMPOS BASE
   ========================================================= */

.av-cf7 .av-cf7-field input,
.av-cf7 .av-cf7-field select,
.av-cf7 .av-cf7-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    box-sizing: border-box;
}

.av-cf7 .av-cf7-field textarea {
    resize: vertical;
}

/* =========================================================
   6. SELECT NORMAL
   CF7: class:av-cf7-select-normal
   ========================================================= */

.av-cf7 select.av-cf7-select-normal {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: var(--av-cf7-select-height) !important;
    min-height: var(--av-cf7-select-height) !important;
    max-height: var(--av-cf7-select-height) !important;
    margin: 0 !important;
    padding: 0 52px 0 16px !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    color: var(--av-cf7-select-text) !important;
    background-color: var(--av-cf7-select-bg) !important;
    background-image: var(--av-cf7-select-arrow) !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 14px 8px !important;
    border: 2px solid var(--av-cf7-select-border) !important;
    border-radius: var(--av-cf7-select-radius) !important;
    outline: none !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.av-cf7 select.av-cf7-select-normal:hover {
    border-color: var(--av-cf7-select-border-hover) !important;
}

.av-cf7 select.av-cf7-select-normal:focus {
    border-color: var(--av-cf7-select-border-focus) !important;
    box-shadow: 0 0 0 2px rgba(83, 82, 235, 0.10) !important;
}

/*
 * Opciones del select normal.
 *
 * width/min-width/max-width ayudan a neutralizar estilos
 * heredados de Divi/CF7 que puedan limitar el ancho de
 * cada <option>.
 *
 * En selectores nativos el navegador/SO puede ignorar parte
 * de estos estilos al desplegar el picker.
 */

.av-cf7 select.av-cf7-select-normal option {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    padding: 7px 10px !important;
    box-sizing: border-box !important;
    color: var(--av-cf7-select-text) !important;
    background-color: #ffffff !important;
}

.av-cf7 select.av-cf7-select-normal::-ms-expand {
    display: none;
}

/* =========================================================
   7. MULTI SELECT - CONTENEDOR
   Generado por el JavaScript global AVSYS
   ========================================================= */

.av-cf7-multiselect {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* =========================================================
   8. MULTI SELECT - SELECT NATIVO OCULTO
   Sigue siendo el campo real que procesa CF7
   ========================================================= */

.av-cf7 select.av-cf7-select-multi.av-cf7-native-multi {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

/* =========================================================
   9. MULTI SELECT - CONTROL VISIBLE
   ========================================================= */

.av-cf7-multiselect-control {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: var(--av-cf7-select-height);
    padding: 7px 52px 7px 14px;
    box-sizing: border-box;
    background-color: var(--av-cf7-select-bg);
    border: 2px solid var(--av-cf7-select-border);
    border-radius: var(--av-cf7-select-radius);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.av-cf7-multiselect-control:hover {
    border-color: var(--av-cf7-select-border-hover);
}

.av-cf7-multiselect-control:focus,
.av-cf7-multiselect.is-open .av-cf7-multiselect-control {
    border-color: var(--av-cf7-select-border-focus);
    box-shadow: 0 0 0 2px rgba(83, 82, 235, 0.10);
}

/* =========================================================
   10. MULTI SELECT - FLECHA
   ========================================================= */

.av-cf7-multiselect-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    width: 14px;
    height: 8px;
    transform: translateY(-50%);
    background-image: var(--av-cf7-select-arrow);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 8px;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.av-cf7-multiselect.is-open .av-cf7-multiselect-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* =========================================================
   11. MULTI SELECT - VALORES / PLACEHOLDER
   ========================================================= */

.av-cf7-multiselect-values {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    gap: 6px;
}

.av-cf7-multiselect-placeholder {
    display: block;
    padding: 4px 2px;
    color: #666666;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
}

/* =========================================================
   12. MULTI SELECT - TAGS / PILLS
   ========================================================= */

.av-cf7-multiselect-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 8px 5px 11px;
    box-sizing: border-box;
    background-color: var(--av-cf7-multi-tag-bg);
    color: var(--av-cf7-multi-tag-text);
    border-radius: 15px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.15;
}

.av-cf7-multiselect-tag-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.av-cf7-multiselect-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 0 0 0 5px;
    padding: 0;
    background: transparent;
    border: 0;
    color: inherit;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 18px;
    cursor: pointer;
    opacity: 0.80;
}

.av-cf7-multiselect-remove:hover {
    opacity: 1;
}

/* =========================================================
   13. MULTI SELECT - DROPDOWN
   ========================================================= */

.av-cf7-multiselect-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 99999;
    display: none;
    width: 100%;
    max-height: 280px;
    margin: 0;
    padding: 7px;
    overflow-y: auto;
    box-sizing: border-box;
    background-color: var(--av-cf7-dropdown-bg);
    border: 1px solid #d7d7d7;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.av-cf7-multiselect.is-open .av-cf7-multiselect-dropdown {
    display: block;
}

/* =========================================================
   14. MULTI SELECT - OPCIONES
   ========================================================= */

.av-cf7-multiselect-option {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    gap: 10px;
    margin: 0;
    padding: 10px 12px;
    box-sizing: border-box;
    border-radius: 9px;
    color: var(--av-cf7-select-text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    cursor: pointer;
}

.av-cf7-multiselect-option:hover {
    width: 100%;
    background-color: var(--av-cf7-dropdown-hover);
}

.av-cf7-multiselect-option.is-selected {
    width: 100%;
    background-color: rgba(83, 82, 235, 0.08);
}

.av-cf7-multiselect-option.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.av-cf7-multiselect-option input[type="checkbox"] {
    flex: 0 0 auto;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    margin: 0 !important;
    accent-color: #5352eb;
    cursor: pointer;
}

/* =========================================================
   15. MULTI SELECT - ESTADOS
   ========================================================= */

.av-cf7-multiselect.is-invalid .av-cf7-multiselect-control {
    border-color: #dc3232 !important;
    box-shadow: 0 0 0 2px rgba(220, 50, 50, 0.08) !important;
}

.av-cf7-multiselect.is-disabled .av-cf7-multiselect-control {
    opacity: 0.60;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

/* =========================================================
   16. VALIDACIÓN CF7
   ========================================================= */

.av-cf7 .wpcf7-not-valid-tip {
    display: block;
    margin: 5px 0 0 0 !important;
    padding: 0;
    line-height: 1.35em;
}

.av-cf7 .av-cf7-field:has(.wpcf7-not-valid-tip) {
    margin-bottom: 0 !important;
}

/* =========================================================
   17. HONEYPOT
   ========================================================= */

.av-cf7 .av-cf7-honeypot {
    display: none !important;
}

/* =========================================================
   18. ACCEPTANCE
   ========================================================= */

.av-cf7 .av-cf7-acceptance {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
}

.av-cf7 .av-cf7-acceptance a {
    color: #009ddc;
}

.av-cf7 .av-cf7-acceptance a:hover {
    text-decoration: underline;
}

.av-cf7 .av-cf7-acceptance-required {
    margin-top: 24px;
}

.av-cf7 .av-cf7-acceptance-marketing {
    margin-top: 10px;
}

.av-cf7 .av-cf7-acceptance .wpcf7-list-item {
    margin: 0 !important;
}

.av-cf7 .av-cf7-acceptance .wpcf7-list-item > label {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    margin: 0 !important;
    padding: 0;
    text-align: left;
}

.av-cf7 .av-cf7-acceptance input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 2px 0 0 0 !important;
}

.av-cf7 .av-cf7-acceptance .wpcf7-list-item-label {
    display: inline-block;
}

.av-cf7 .av-cf7-acceptance .wpcf7-not-valid-tip {
    margin-top: 5px !important;
    text-align: center;
}

/* =========================================================
   19. RECAPTCHA
   ========================================================= */

.av-cf7 .av-cf7-recaptcha {
    margin-top: 18px;
    margin-bottom: 0;
    text-align: center;
}

.av-cf7 .av-cf7-recaptcha a {
    color: #666666;
    text-decoration: underline;
}

.av-cf7 .av-cf7-recaptcha a:hover {
    color: #009ddc;
}

/* =========================================================
   20. BOTÓN / SPINNER
   ========================================================= */

.av-cf7 .av-cf7-actions {
    margin-top: 24px;
    text-align: center;
}

.av-cf7 .av-cf7-actions .wpcf7-spinner {
    margin: 0 0 0 12px;
    vertical-align: middle;
}

/* Oculta arrow del botón */
.et_pb_contact_form_7_0 .et_pb_button.wpcf7-submit::after {
    display: none !important;
}

/* =========================================================
   21. RESPUESTA GENERAL CF7
   ========================================================= */

.av-cf7 ~ .wpcf7-response-output,
.av-cf7 .wpcf7-response-output {
    display:flex;
    align-items:flex-start;
    gap:14px;
    margin:20px 0 0 0;
    padding:14px 18px;
    box-sizing:border-box;
    border:1px solid;
    border-radius:8px;
    font-size:16px;
    line-height:24px;
    font-weight:500;
    text-align:left;
}

.av-cf7 ~ .wpcf7-response-output::before,
.av-cf7 .wpcf7-response-output::before {
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 30px;
    width:30px;
    height:30px;
    box-sizing:border-box;
    border-radius:50%;
    font-family:Arial,Helvetica,sans-serif;
    font-size:20px;
    line-height:30px;
    font-weight:700;
}

/* Envío correcto */
.wpcf7-form.sent .av-cf7 ~ .wpcf7-response-output,
.wpcf7-form.sent .av-cf7 .wpcf7-response-output {
    background-color:#eaf8ef;
    border-color:#28a745;
    color:#176b2c;
}

.wpcf7-form.sent .av-cf7 ~ .wpcf7-response-output::before,
.wpcf7-form.sent .av-cf7 .wpcf7-response-output::before {
    content:"✓";
    background-color:#28a745;
    color:#ffffff;
}

/* Validación / campos incompletos */
.wpcf7-form.invalid .av-cf7 ~ .wpcf7-response-output,
.wpcf7-form.invalid .av-cf7 .wpcf7-response-output,
.wpcf7-form.unaccepted .av-cf7 ~ .wpcf7-response-output,
.wpcf7-form.unaccepted .av-cf7 .wpcf7-response-output {
    background-color:#fff9db;
    border-color:#e0b400;
    color:#665200;
}

.wpcf7-form.invalid .av-cf7 ~ .wpcf7-response-output::before,
.wpcf7-form.invalid .av-cf7 .wpcf7-response-output::before,
.wpcf7-form.unaccepted .av-cf7 ~ .wpcf7-response-output::before,
.wpcf7-form.unaccepted .av-cf7 .wpcf7-response-output::before {
    content:"!";
    background-color:#f2c200;
    color:#ffffff;
}

/* Error de envío / antispam */
.wpcf7-form.failed .av-cf7 ~ .wpcf7-response-output,
.wpcf7-form.failed .av-cf7 .wpcf7-response-output,
.wpcf7-form.aborted .av-cf7 ~ .wpcf7-response-output,
.wpcf7-form.aborted .av-cf7 .wpcf7-response-output,
.wpcf7-form.spam .av-cf7 ~ .wpcf7-response-output,
.wpcf7-form.spam .av-cf7 .wpcf7-response-output {
    background-color:#fdecec;
    border-color:#d63638;
    color:#9b1c1f;
}

.wpcf7-form.failed .av-cf7 ~ .wpcf7-response-output::before,
.wpcf7-form.failed .av-cf7 .wpcf7-response-output::before,
.wpcf7-form.aborted .av-cf7 ~ .wpcf7-response-output::before,
.wpcf7-form.aborted .av-cf7 .wpcf7-response-output::before,
.wpcf7-form.spam .av-cf7 ~ .wpcf7-response-output::before,
.wpcf7-form.spam .av-cf7 .wpcf7-response-output::before {
    content:"×";
    background-color:#d63638;
    color:#ffffff;
}
/* =========================================================
   22. TABLET / MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {
    .av-cf7 .av-cf7-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 14px;
    }
    .av-cf7 .av-cf7-full {
        grid-column: auto;
    }
    .av-cf7 select.av-cf7-select-normal {
        height: var(--av-cf7-select-height) !important;
        min-height: var(--av-cf7-select-height) !important;
        max-height: var(--av-cf7-select-height) !important;
        padding-right: 48px !important;
        font-size: 16px !important;
        background-position: right 18px center !important;
    }
    .av-cf7-multiselect-control {
        min-height: var(--av-cf7-select-height);
        padding: 7px 48px 7px 14px;
    }
    .av-cf7-multiselect-arrow {
        right: 18px;
    }
    .av-cf7-multiselect-placeholder {
        font-size: 16px;
    }
    .av-cf7-multiselect-dropdown {
        max-height: 240px;
    }
    .av-cf7-multiselect-option {
        width: 100%;
        padding: 11px 10px;
        font-size: 16px;
    }
    .av-cf7-multiselect-tag {
        font-size: 13px;
    }
    .av-cf7 .av-cf7-acceptance {
        text-align: left;
    }
    .av-cf7 .av-cf7-acceptance .wpcf7-list-item > label {
        display: flex;
        justify-content: flex-start;
    }
    .av-cf7 .av-cf7-acceptance .wpcf7-not-valid-tip {
        text-align: left;
    }
	/* Avisos CF7 */
	.av-cf7 ~ .wpcf7-response-output,
    .av-cf7 .wpcf7-response-output {
        gap:12px;
        padding:13px 14px;
        font-size:15px;
        line-height:22px;
    }

    .av-cf7 ~ .wpcf7-response-output::before,
    .av-cf7 .wpcf7-response-output::before {
        flex-basis:28px;
        width:28px;
        height:28px;
        font-size:18px;
        line-height:28px;
     }
}
