/* Bloque de contacto de la web anterior (custom.css de Websden): rejilla y campos del formulario. */
/* contact page css */
/* Loading effect */
.loading-form {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 99;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    font-size: 20px;
    text-align: center;
    padding-top: 20%;
}
.success-message {
    color: green;
    margin-top: 10px;
}
.error-message {
    color: red;
    margin-top: 10px;
}
#response-message {
    margin-top: 10px;
}
.contact-area-contact-page .section-header {
    border-top: 1px solid var(--border);
    padding-top: 37px;
}
@media only screen and (max-width: 991px) {
    .contact-area-contact-page .section-header {
        padding-top: 7px;
    }
}
.contact-area-contact-page .section-title-wrapper {
    display: grid;
    gap: 15px 60px;
    grid-template-columns: 1fr 1235px;
}
@media only screen and (max-width: 1919px) {
    .contact-area-contact-page .section-title-wrapper {
        grid-template-columns: 1fr 1000px;
    }
}
@media only screen and (max-width: 1399px) {
    .contact-area-contact-page .section-title-wrapper {
        grid-template-columns: 1fr 850px;
    }
}
@media only screen and (max-width: 1199px) {
    .contact-area-contact-page .section-title-wrapper {
        grid-template-columns: 1fr 750px;
    }
}
@media only screen and (max-width: 991px) {
    .contact-area-contact-page .section-title-wrapper {
        grid-template-columns: 1fr;
    }
}
.contact-area-contact-page .subtitle-wrapper {
    margin-top: 8px;
}
.contact-area-contact-page .section-title {
    max-width: 875px;
}
@media only screen and (max-width: 1919px) {
    .contact-area-contact-page .section-title {
        max-width: 675px;
    }
}
@media only screen and (max-width: 1399px) {
    .contact-area-contact-page .section-title {
        max-width: 495px;
    }
}
.contact-area-contact-page .section-content-wrapper {
    margin-top: 90px;
    margin-bottom: 4px;
    display: grid;
    gap: 40px 60px;
    grid-template-columns: 1fr 830px;
    align-items: flex-start;
}
@media only screen and (max-width: 1919px) {
    .contact-area-contact-page .section-content-wrapper {
        margin-top: 60px;
        grid-template-columns: 1fr 730px;
    }
}
@media only screen and (max-width: 1399px) {
    .contact-area-contact-page .section-content-wrapper {
        grid-template-columns: 1fr 680px;
    }
}
@media only screen and (max-width: 1199px) {
    .contact-area-contact-page .section-content-wrapper {
        grid-template-columns: 1fr 550px;
    }
}
@media only screen and (max-width: 991px) {
    .contact-area-contact-page .section-content-wrapper {
        grid-template-columns: 1fr;
    }
}
.contact-area-contact-page .contact-mail .title {
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    color: var(--primary);
}
.contact-area-contact-page .contact-mail .text {
    font-size: 30px;
    font-weight: 310;
    line-height: 1.6;
    letter-spacing: -0.07em;
    color: var(--primary);
    max-width: 410px;
    margin-top: 24px;
}
@media only screen and (max-width: 1919px) {
    .contact-area-contact-page .contact-mail .text {
        font-size: 24px;
        max-width: 330px;
    }
}
@media only screen and (max-width: 1199px) {
    .contact-area-contact-page .contact-mail .text {
        font-size: 20px;
        max-width: 280px;
    }
}
.contact-area-contact-page .contact-mail .text a {
    text-decoration: underline;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.contact-area-contact-page .contact-mail .text a:hover {
    color: var(--secondary);
}
.contact-area-contact-page .contact-social {
    margin-top: 51px;
}
.contact-area-contact-page .contact-social .title {
    font-size: 20px;
    font-weight: 400;
    line-height: 20px;
    color: var(--primary);
}
.contact-area-contact-page .contact-social .social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
}
.contact-area-contact-page .contact-social .social-links a {
    font-size: 30px;
    font-weight: 310;
    line-height: 1.6;
    letter-spacing: -0.07em;
    color: var(--primary);
    display: inline-block;
    transition: all 0.5s;
}
@media only screen and (max-width: 1919px) {
    .contact-area-contact-page .contact-social .social-links a {
        font-size: 24px;
    }
}
@media only screen and (max-width: 1199px) {
    .contact-area-contact-page .contact-social .social-links a {
        font-size: 20px;
    }
}
.contact-area-contact-page .contact-social .social-links a:hover {
    text-decoration: underline;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.contact-area-contact-page .contact-formwrap {
    display: grid;
    gap: 60px 60px;
    grid-template-columns: repeat(2, 1fr);
}
@media only screen and (max-width: 1399px) {
    .contact-area-contact-page .contact-formwrap {
        gap: 40px 40px;
    }
}
@media only screen and (max-width: 1199px) {
    .contact-area-contact-page .contact-formwrap {
        gap: 30px 30px;
    }
}
@media only screen and (max-width: 767px) {
    .contact-area-contact-page .contact-formwrap {
        grid-template-columns: repeat(1, 1fr);
    }
}
.contact-area-contact-page .contact-formwrap .message {
    grid-column: span 2;
    margin-top: 30px;
}
@media only screen and (max-width: 767px) {
    .contact-area-contact-page .contact-formwrap .message {
        grid-column: auto;
    }
}
.contact-area-contact-page .contact-formfield input {
    width: 100%;
    height: 40px;
    border: none;
    border-bottom: 1px solid var(--primary);
    outline: none;
    background-color: transparent;
    transition: all 0.5s;
    color: var(--primary);
}
.contact-area-contact-page .contact-formfield input:focus {
    border-color: var(--primary);
}
.contact-area-contact-page .contact-formfield input::placeholder {
    color: var(--primary);
}
.contact-area-contact-page .contact-formfield input:-webkit-autofill,
.contact-area-contact-page .contact-formfield input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s !important;
}
.contact-area-contact-page .contact-formfield select {
    width: 100%;
    height: 40px;
    border: none;
    border-bottom: 1px solid var(--primary);
    outline: none;
    background-color: transparent;
    transition: all 0.5s;
    color: var(--primary);
}
.contact-area-contact-page .contact-formfield select:focus {
    border-color: var(--primary);
}
.contact-area-contact-page .contact-formfield select option {
    width: 100%;
    max-width: 100%;
}
.dark .contact-area-contact-page .contact-formfield select option {
    background-color: var(--black);
}
.contact-area-contact-page .contact-formfield select option[disabled] {
    background-color: var(--black) !important;
}
.contact-area-contact-page .submit-btn {
    margin-top: 50px;
}
@media only screen and (max-width: 1399px) {
    .contact-area-contact-page .submit-btn {
        margin-top: 40px;
    }
}
