/*
 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
------------------------------------------------------- */

:root {
    --header-height: 122px;
}

@media(max-width:980px) {
    :root {
        --header-height: 128px;
    }
}

@media(max-width:980px) {
    :root {
        --header-height: 120px;
    }
}

.field-wrap .nf-field-container {
    margin-bottom: 5px;
}

.nf-field-container {
    margin-bottom: 12px;
}


/* ------------------------------------------------------- */

#et-info {
    display: flex;
}

.nf-form-fields-required {
    display: none;
}

.nf-form-wrap .nf-field-label {
    text-transform: uppercase;
    font-size: 12px;
    color: rgb(4 19 42);
    line-height: 1;
}

.nf-form-wrap .nf-field-element input,
.nf-form-wrap .nf-field-element textarea,
.nf-form-wrap .nf-field-element select {
    padding: 10px 14px;
    border-radius: 4px;
    border: 1px solid #d7d7d7;
    font-size: 15px;
    font-weight: 400;
    color: #10203a;
    height: 42px;
    transition: all .3s ease;
    outline: 2px solid transparent;
    outline-offset: -2px
}

.nf-form-wrap .nf-field-element select {
    cursor: pointer;
    appearance: none;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMDIwM2EiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1jaGV2cm9uLWRvd24iPjxwYXRoIGQ9Im02IDkgNiA2IDYtNiIvPjwvc3ZnPg==);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) center;
    padding-right: 40px;
}

.nf-form-wrap .nf-field-element input:focus-visible,
.nf-form-wrap .nf-field-element textarea:focus-visible,
.nf-form-wrap .nf-field-element select:focus-visible {
    outline-color: #10203a;
}

.nf-form-wrap .nf-field-element textarea {
    height: auto;
    min-height: 120px;
}

.nf-after-field .nf-error-msg {
    font-size: 13px;
}

.nf-field-container.submit-container {
    margin: 0;
}

.nf-after-form-content .nf-error-msg {
    margin-top: 20px;
    margin-bottom: 0;
    margin-inline: 0;
    padding: 0.5rem 1rem;
    border-width: 1px;
    font-weight: 500;
    color: #fa4362;
    border-color: #fa4362;
    background: #ffe6ec;
}

.field-wrap .nf-field-element input[type="submit"] {
    background-color: var(--gcid-primary-color);
    font-weight: 500;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 0.01em;
    line-height: 1.4em;
    border-radius: 999px;
    width: 100%;
    text-align: center;
    min-height: 50px;
    cursor: pointer;
}

.field-wrap .nf-field-element input[type="submit"]:hover {
    background-color: var(--gcid-secondary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

@media(max-width:575px) {

    .nf-form-cont .one-half,
    .nf-form-cont .three-sixths,
    .nf-form-cont .two-fourths {
        width: 100% !important;
        margin: 0 0 16px !important;
    }
}




/* ******************************* Mobile Menu ******************************* */

body .nav-header-section .et_mobile_menu {
    overflow: auto;
    width: 100vw;
    position: fixed;
    top: var(--header-height);
    height: calc(100svh - var(--header-height));
}

html:has(.mobile_nav.opened) {
    overflow: hidden;
}

body .nav-header-section .et_mobile_menu ul.sub-menu>li>a {
    position: relative;
}

body .nav-header-section .et_mobile_menu ul.sub-menu>li>a::before {
    content: '';
    mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWFycm93LXJpZ2h0Ij48cGF0aCBkPSJNNSAxMmgxNCIvPjxwYXRoIGQ9Im0xMiA1IDcgNy03IDciLz48L3N2Zz4=);
    width: 1.5em;
    height: 1.5em;
    position: absolute;
    mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
    background: #c69e5b;
    left: -13px;
}

.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d" !important;
}

/* ******************************* Mobile Menu ******************************* */