/* FORM STYLES */
@font-face {
    font-display: swap;
    font-family: Benton Sans;
    font-style: normal;
    font-weight: 400;
    src: url("fonts/BentonSansBBVA-Book.eot");
    src: url("fonts/BentonSansBBVA-Book.eot?#iefix") format("embedded-opentype"), url("fonts/BentonSansBBVA-Book.woff2") format("woff2"), url("fonts/BentonSansBBVA-Book.woff") format("woff"), url("fonts/BentonSansBBVA-Book.ttf") format("truetype"), url("fonts/BentonSansBBVA-Book.svg#BentonSansBBVA-Book") format("svg")
}

@font-face {
    font-display: swap;
    font-family: Benton Sans;
    font-style: normal;
    font-weight: 500;
    src: url("fonts/BentonSansBBVA-Medium.eot");
    src: url("fonts/BentonSansBBVA-Medium.eot?#iefix") format("embedded-opentype"), url("fonts/BentonSansBBVA-Medium.woff2") format("woff2"), url("fonts/BentonSansBBVA-Medium.woff") format("woff"), url("fonts/BentonSansBBVA-Medium.ttf") format("truetype"), url("fonts/BentonSansBBVA-Medium.svg#BentonSansBBVA-Medium") format("svg")
}

@font-face {
    font-display: swap;
    font-family: TiemposHeadline-Bold;
    font-style: normal;
    font-weight: 700;
    src: url("fonts/TiemposHeadline-Bold.otf");
}

@font-face {
    font-display: swap;
    font-family: Benton Sans;
    font-style: normal;
    font-weight: 700;
    src: url("fonts/BentonSansBBVA-Bold.eot");
    src: url("fonts/BentonSansBBVA-Bold.eot?#iefix") format("embedded-opentype"), url("fonts/BentonSansBBVA-Bold.woff2") format("woff2"), url("fonts/BentonSansBBVA-Bold.woff") format("woff"), url("fonts/BentonSansBBVA-Bold.ttf") format("truetype"), url("fonts/BentonSansBBVA-Bold.svg#BentonSansBBVA-Bold") format("svg")
}

*,
:after,
:before {
    box-sizing: border-box;
}

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    border: 0;
    font-size: 100%;
    font: inherit;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

:root {
    --error: rgb(185, 42, 69);
    --grey6: #121212;
}

body[lang="es_mx"] .form .form-group[data-type=legal-box],
body[lang="es_mx"] .form .form-group.--acceptance.-legal-checkbox {
    display: none!important;
}


form {
    display: block;
    position: relative;
    max-width: calc(720px + 380px);
    margin:  0 auto;
    width: 100%;
    padding: 115px 190px 125px 190px;
    background-color: #fff;
    opacity: 1;
    overflow-y: auto;
    pointer-events: all;
    opacity: 1;
    height: 100%;
    width: 100%;
}

.--text-center {
    text-align: center;
}

.--thin {
    font-weight: 400 !important;
}

.title {
    font-family: "TiemposHeadline-Bold";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    padding-right: 40px;
    text-align: left;
    position: relative;
}

.title b, 
.title strong {
    font-weight: 700;
}

.wysiwyg.--medium {
    color: var(--text-primary, #070E46);
    font-family: Benton Sans;
    font-size: 20px;
    font-style: normal;
    font-weight: 350;
    line-height: 32px;
    text-align: left;
    margin: 8px 0 40px 0;
    max-width: 720px;
}

.wysiwyg {
    color: inherit;
    font-family: Benton Sans, Helvetica, Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.45;
}

.form .form-group {
    display: block;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.form input[type=email]::placeholder,
.form input[type=text]::placeholder {
    color: var(--text-placeholder, #47536D)!important;
    font-size: 15.008px!important;
}

.form input[type=email],
.form input[type=phone],
.form input[type=search],
.form input[type=tel],
.form input[type=text] {
    padding: 16px!important;
    border-radius: 8px;
    border: 2px solid var(--border-resting, #47536D)!important;
    background: var(--bg-alternative-default, #F7F8F8)!important;
    height: 56px!important;
    overflow: hidden!important;
    color: var(--text-placeholder, #47536D)!important;
    text-overflow: ellipsis!important;
    white-space: nowrap!important;
    font-family: Benton Sans!important;
    font-size: 15.008px!important;
    font-style: normal!important;
    font-weight: 350!important;
    line-height: 24px!important;
    width: 100%!important;
    max-width: 600px!important;
    outline: none!important;
}

.form-group.error input[type=email],
.form-group.error input[type=phone],
.form-group.error input[type=search],
.form-group.error input[type=checkbox] + span:before,
.form-group.error input[type=tel],
.form-group.error input[type=text] {
    border: 2px solid var(--border-alert, #C30A0A)!important;
    color: var(--text-alert, #C30A0A)!important;
}

.form-group.error input[type=email]::placeholder,
.form-group.error input[type=text]::placeholder {
    color: var(--text-alert, #C30A0A)!important;
}


.form input[type=email][aria-invalid=true],
.form input[type=phone][aria-invalid=true],
.form input[type=search][aria-invalid=true],
.form input[type=tel][aria-invalid=true],
.form input[type=text][aria-invalid=true] {
    border: 2px solid #dc3232
}

.form input[type=email]::-moz-placeholder,
.form input[type=phone]::-moz-placeholder,
.form input[type=search]::-moz-placeholder,
.form input[type=tel]::-moz-placeholder,
.form input[type=text]::-moz-placeholder {
    font-family: Benton Sans, Helvetica, Arial, sans-serif;
    font-size: 14.7px;
    line-height: 60px
}

.form input[type=email]::placeholder,
.form input[type=phone]::placeholder,
.form input[type=search]::placeholder,
.form input[type=tel]::placeholder,
.form input[type=text]::placeholder {
    font-family: Benton Sans, Helvetica, Arial, sans-serif;
    font-size: 14.7px;
    line-height: 60px
}

.form input[type=email]:-ms-input-placeholder,
.form input[type=phone]:-ms-input-placeholder,
.form input[type=search]:-ms-input-placeholder,
.form input[type=tel]:-ms-input-placeholder,
.form input[type=text]:-ms-input-placeholder {
    font-family: Benton Sans, Helvetica, Arial, sans-serif;
    font-size: 14.7px;
    line-height: 60px
}

.form input[type=email]::-ms-input-placeholder,
.form input[type=phone]::-ms-input-placeholder,
.form input[type=search]::-ms-input-placeholder,
.form input[type=tel]::-ms-input-placeholder,
.form input[type=text]::-ms-input-placeholder {
    font-family: Benton Sans, Helvetica, Arial, sans-serif;
    font-size: 14.7px;
    line-height: 60px
}

.form input[type=email]:focus+.label.--inside,
.form input[type=phone]:focus+.label.--inside,
.form input[type=search]:focus+.label.--inside,
.form input[type=tel]:focus+.label.--inside,
.form input[type=text]:focus+.label.--inside {
    color: #02a5a5;
}

.form .label {
    color: #121212;
    display: block;
    font-family: Benton Sans, Helvetica, Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase
}

.form .label.--inside {
    left: 19px;
    margin-bottom: 0;
    position: absolute;
    top: 16px;
    transition: color .4s ease-out
}

.form input[type="checkbox"].error +span:before {
    border: 2px solid var(--border-alert, #C30A0A) !important;
}

.form .checkbox-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between
}

.form .checkbox {
    align-items: start;
    gap: 8px;
    display: flex;
    flex-basis: content;
    width: 100%
}

.form .checkbox input[type=checkbox] {
    opacity: 0;
    position: relative;
    right: 0
}

.form .checkbox input+span {
    display: inline-block;
    pointer-events: none;
    position: absolute
}

.form .help-block {
    font-family: Benton Sans, Helvetica, Arial, sans-serif;
    color: var(--text-primary, #070E46);
    font-size: 15.008px;
    font-style: normal;
    font-weight: 350;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding-left: 16px;
}

input.error::placeholder {
    color: var(--error) !important;
}

.form select {
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    background-image: url("https://www.bbvaspark.com/wp-content/themes/bbvaspark/img/icon-arrow-down-dark.svg");
    background-position: 98% 50%;
    background-repeat: no-repeat;
    background-size: auto 16%;
    border: 1px solid #121212;
    border-radius: 0;
    color: #121212;
    cursor: pointer;
    font-family: Benton Sans, Helvetica, Arial, sans-serif;
    font-size: 14.7px;
    height: 70px;
    line-height: 25px;
    padding: 20px 15px 0 15px;
    width: 100%
}

.form .checkbox label {
    margin: 0;
    color: var(--text-primary, #070E46);
    font-family: Benton Sans;
    font-size: 15.008px;
    font-style: normal;
    font-weight: 350;
    line-height: 24px;
    padding-top: 9px;
}

.--font-primary {
    font-family: Benton Sans, Helvetica, Arial, sans-serif;
}

.form .form-group.--submit {
    margin: 32px 0 0 0;
}

.form .form-group.--submit .button {
    margin: 0;
}

.button.--secondary {
    background-color: #02a5a5;
}

.button {
    display: flex;
    min-width: 128px;
    padding: 10px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-family: Benton Sans;
    font-weight: 500;
    width: fit-content;
    height: 56px;
    text-align: center;
    cursor: pointer;
    background: var(--bg-main-default, #001391);
    color: var(--Neutral-100-White, #FFF);
    border: 2px solid var(--bg-main-default, #001391);
}

.button:hover {
    border-color: var(--bg-main-pressed, #070E46);
    background: var(--bg-main-pressed, #070E46);
}

.form .form-group.--acceptance {
    margin-top: 0px;
    margin-bottom: 16px;
}

.form .checkbox label a {
    font-weight: 100;
    text-decoration: underline;
}

a {
    color: inherit;
    font-weight: 400;
    outline: 0;
    text-decoration: none;
}

.button.--secondary:hover {
    background-color: #072146;
    background-color: var(--primary);
    color: #fff;
    color: var(--white);
}

.button.--primary:hover {
    background-color: #028484;
    color: #fff;
}

.button.--primary:hover.--disabled {
    background-color: #2dcccd;
    color: #072146;
}

.button.--secondary {
    background-color: #02a5a5;
}

.button.--secondary:hover {
    background-color: #072146;
    color: #fff;
}

.button.--secondary:hover.--disabled {
    background-color: #02a5a5;
    color: #072146;
}

.button.--disabled {
    cursor: not-allowed;
    opacity: .4
}

.button.--disabled:focus {
    color: #072146;
}

.button.--disabled:focus:after {
    opacity: .0001
}

.button.--center {
    left: 50%;
    transform: translateX(-50%)
}

.grecaptcha-badge {
    display: none !important
}

div#contact_component_message_succes_waiting {
    padding: 150px 0;
    margin: 0!important;
}

div#contact_component_message_succes {
    padding: 80px 80px!important;
    margin: 0!important;
}

div#contact_component_message_error {
    margin: 0!important;
    padding: 80px 80px!important;
}

.form-group[data-type=legal-box] {
    border-radius: 16px;
    background: var(--surface-base-default, #F7F8F8);
    display: flex;
    gap: 8px;
    padding: 24px;
    align-items: start;
    max-width: 100% !important;
    text-decoration: none;
    margin-bottom: 16px;
    width: 100%!important;
    max-width: 720px!important;
}

.form-group[data-type=legal-box] .wrap-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group[data-type=legal-box] .wrap-text .title {
    color: var(--text-action-default, #001391);
    font-family: Benton Sans;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    text-decoration: none;
    line-height: 24px;
    text-align: left;
    margin: 0;
}

.form-group[data-type=legal-box] .wrap-text .subtitle {
    margin: 0;
    text-decoration: none;
    color: var(--text-primary, #070E46);
    font-family: Benton Sans;
    font-size: 15.008px;
    font-style: normal;
    font-weight: 350;
    line-height: 24px;
}

.form-group input[type=checkbox] {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    cursor: pointer;
    margin: 0;
}

.form-group input[type=checkbox]  +span:before {
    content: "";
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid var(--border-resting, #47536D);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    border-radius: 8px !important;
    background: none !important;
    display: block;
    cursor: pointer;
}

.form-group input[type=checkbox]:checked + span:after {
    display: block;
    position: absolute;
    cursor: pointer;
    top: 5px;
    left: 16px;
    width: 10px;
    height: 22px;
    border: solid var(--icon-action-default, #001391);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    content: "";
    visibility: visible;
}

.form-group[data-type=acceptance] .checkbox-group {
    border-radius: 16px;
    background: var(--surface-base-default, #F7F8F8);
    padding: 24px;
    max-width: 100% !important;
    outline: none !important;
    width: 100%!important;
    max-width: 720px!important;
}

.custom-select.-filter .selected input.select-filter.-focus + .text{
  font-size: 12px !important;
  line-height: 16px !important;
  transition: all 0.2s ease-in-out !important;
  transform: translateY(-10px) !important;
}

.custom-select.open .wrap-options {
    display: flex !important;
}

.custom-select.-filter .selected {
    max-width: 600px;
    height: 56px !important;
    border-radius: 8px;
    background: var(--bg-alternative-default, #FFF);
    width: 100%;
    padding: 16px;
    display: flex;
    border: none !important;
    outline: none !important;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    position: relative;
    cursor: pointer;
}

.custom-select .wrap-options .options .option .text {
    color: var(--text-action-default, #001391);
    font-family: Benton Sans;
    font-size: 15.008px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    pointer-events: none;
}

.custom-select.-filter.-predictive .selected input[type=text] {
    width: 100% !important;
    left: 0px !important;
    top: 0px !important;
    height: 56px !important;
    border: 2px solid var(--border-resting, #47536D) !important;
    background: var(--bg-alternative-default, #F7F8F8) !important;
}

.custom-select.-filter .selected input.select-filter {
    width: calc(100% + 4px) !important;
    position: absolute !important;
    left: -2px !important;
    top: -2px !important;
    bottom: 0 !important;
    right: 0px !important;
    padding: 23px 50px 5px 16px !important;
    overflow: hidden !important;
    color: var(--text-input, #070E46) !important;
    font-family: Benton Sans !important;
    font-size: 15.008px !important;
    font-style: normal !important;
    font-weight: 350 !important;
    outline: none !important;
    line-height: 24px !important;
    z-index: 0 !important;
    outline: none !important;
    border: none !important;
}

.custom-select.-filter .selected .text {
    color: var(--text-placeholder, #47536D);
    font-family: Benton Sans;
    font-size: 15.008px;
    font-style: normal;
    pointer-events: none;
    font-weight: 350;
    line-height: 24px;
    z-index: 0 !important;
    display: block;
    position: relative;
}

.custom-select.-filter .selected .wrap-ico {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    pointer-events: all !important;
    cursor: default !important;
    z-index: 0 !important;
}

.custom-select.-filter .selected .wrap-ico svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    display: none;
    cursor: pointer;
    pointer-events: all !important;
}

.custom-select.-filter .wrap-options {
    border-radius: 16px;
    position: absolute;
    top: 48px;
    z-index: 9;
    width: 100%;
    top: 56px !important;
    display: none;
    flex-direction: column;
}

.custom-select .wrap-options .options {
    max-width: 600px;
    margin-top: 0 !important;
    padding-top: 16px;
    padding-bottom: 16px;
    background: var(--surface-base-default, #F7F8F8) !important;
}

.custom-select.-filter .wrap-options .options .wrapper::-webkit-scrollbar {
  width: 8px;
}

.custom-select.-filter .wrap-options .options .wrapper::-webkit-scrollbar-thumb {
  background: #666666;
  border-radius: 4px;
}

.custom-select.-filter .wrap-options .options .wrapper::-webkit-scrollbar-track {
  background: rgba(102, 102, 102, 0.2);
  border-radius: 4px;
}

.custom-select.-filter .wrap-options .options .wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 344px;
    overflow: auto;
    padding: 0 16px 16px 16px;
}

.custom-select.-filter .wrap-options .options .wrapper .option {
    background: var(--surface-base-default, #FFF) !important;
    width: 100%;
    padding: 8px 16px;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
}

input[type=text]:focus,
input[type=mail]:focus,
.form .form-group .custom-select input.select-filter.-focus {
    outline: none !important;
    border: 2px solid var(--border-action-default, #001391) !important;
}

.custom-select.-filter.error .selected input.select-filter {
    border: 2px solid var(--border-alert, #C30A0A) !important;
    color: var(--text-alert, #C30A0A) !important;
}

.custom-select.-filter.error .selected input.select-filter + .text {
    color: var(--text-alert, #C30A0A) !important;
}

div#contact_component_message_error svg,
div#contact_component_message_succes svg {
    width: 80px;
    max-width: 80px;
    min-width: 80px;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    margin-bottom: 16px;
}


div#contact_component_message_succes .title,
div#contact_component_message_error .title {
    text-align: center;
    color: var(--text-primary, #070E46);
    margin:  0 0 8px 0;
}

div#contact_component_message_error .wysiwyg.--medium,
div#contact_component_message_succes .wysiwyg.--medium {
    color: var(--text-primary, #070E46);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}













/* MEDIA QUERIES */

@mixin clearfix {
    zoom: 1;

    &:before,
    &:after {
        content: ".";
        display: block;
        height: 0;
        overflow: hidden;
    }

    &:after {
        clear: both;
    }
}

@media (max-width: 1024px) {

    div#contact_component_message_succes svg,
    div#contact_component_message_error svg {
        margin-bottom: 8px;
    }

    .custom-select.-filter .selected,
    .form-group[data-type=acceptance] .checkbox-group,
    .form-group[data-type=legal-box],
    .form input[type=email], .form input[type=phone], .form input[type=search], 
    .form input[type=tel], .form input[type=text] {
        max-width: 100% !important;
    }

    .form-group .custom-select.-filter .selected input.select-filter {
        max-width: calc(100% + 13px) !important;
    }

    form {
        padding: 20px;
    }

    .form .form-group {
        margin-bottom: 16px;
    }

    .form .form-group.--submit {
        margin: 24px 0 0 0;
    }

    .title {
        color: var(--text-primary, #070E46);
        text-align: center;
        font-size: 40px;
        font-style: normal;
        font-weight: 700;
        line-height: 48px;
        text-align: center;
        margin: 0 0 8px 0;
        padding-right: 0 !important;
    }

    .wysiwyg.--medium {
        color: var(--text-primary, #070E46);
        text-align: center;
        font-size: 15.008px;
        font-style: normal;
        font-weight: 350;
        line-height: 24px;
        margin-bottom: 32px !important;
        max-width: 100%!important;
    }

    .form .form-group.--submit .button {
        width: 100%;
        max-width: 100%;
    }
    
    
}

