@font-face {
    font-family: 'PlusJakartaSans-Regular';
    src: url('./fonts/PlusJakartaSans-Regular.woff2') format('woff2'),
        url('./fonts/PlusJakartaSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PlusJakartaSans-Medium';
    src: url('./fonts/PlusJakartaSans-Medium.woff2') format('woff2'),
        url('./fonts/PlusJakartaSans-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.gd_custom_editor .gform_wrapper {
    background-color: #FFFFFF;
    padding: 45px;
    max-width: 800px;
    margin: 0 auto;
}

.gd_custom_editor.eidtor_with_form {
    padding: 75px 0;
}

.gd_custom_editor .gform_wrapper .gform_heading .gform_title {
    color: #26468B;
    font-family: Lexend;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 115%;
    /* 32.2px */
    margin-bottom: 30px;
}

.gd_custom_editor .gform_wrapper .gform_heading .gform_description {
    color: #555;
    font-family: Lexend;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 20px;
    /* 24px */
}

.gd_custom_editor .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 20px;
    grid-column-gap: 20px;
}

.gd_custom_editor .gform_wrapper.gravity-theme>.gform_validation_errors {
    display: none;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield:not(.gfield--type-name),
.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-name .ginput_complex>span {
    position: relative;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-name .ginput_complex>span:nth-child(2n+1) {
    padding-right: 10px !important;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-name .ginput_complex>span:nth-child(2n) {
    padding-left: 10px !important;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield:not(.gfield--type-checkbox)>.gfield_label,
.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-name .ginput_complex .gform-field-label {
    position: absolute;
    top: 10px;
    left: 15px;
    color: #26468B;
    font-family: Lexend;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    padding: 0;
    display: flex;
    width: auto;
    white-space: nowrap;
    gap: 5px;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-name .ginput_complex>span:nth-child(2n) .gform-field-label {
    left: 25px;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield>.gfield_label span,
.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-name .ginput_complex .gform-field-label span {
    color: #D20707;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield .ginput_container textarea,
.gd_custom_editor .gform_wrapper .gform_fields .gfield .ginput_container input:not([type=checkbox], [type=radio]),
.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-name input[type=text] {
    padding: 35px 15px 10px;
    border-radius: 8px;
    border: 1px solid #0087FF;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield .validation_message {
    border: medium none;
    background-color: transparent;
    padding: 0;
    text-align: left;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-checkbox {
    margin: 20px 0;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-checkbox .gfield_label {
    color: #26468B;
    font-family: Lexend;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    padding: 0;
    display: flex;
    width: auto;
    white-space: nowrap;
    gap: 5px;
    margin-bottom: 10px;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-checkbox .gfield_checkbox .gchoice {
    position: relative;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-checkbox .gfield_checkbox .gchoice input[type=checkbox] {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border: medium none;
    background: none;
    box-shadow: none;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-checkbox .gfield_checkbox .gchoice .gform-field-label {
    padding-left: 30px;
    color: #4F4F4F;
    font-family: 'PlusJakartaSans-Medium';
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 175%;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-checkbox .gfield_checkbox .gchoice .gform-field-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    border: 2px solid #0087FF;
    border-radius: 4px;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-checkbox .gfield_checkbox .gchoice .gform-field-label::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 9px;
    top: 10px;
    left: 4px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='10'%20viewBox='0%200%2012%2010'%20fill='none'%3E%3Cpath%20d='M11.5307%201.885C11.6659%202.02028%2011.7336%202.18456%2011.7336%202.37782C11.7336%202.57109%2011.6659%202.73537%2011.5307%202.87065L6.28349%208.11783L5.29783%209.10348C5.16254%209.23877%204.99827%209.30641%204.805%209.30641C4.61173%209.30641%204.44746%209.23877%204.31217%209.10348L3.32652%208.11783L0.702929%205.49424C0.567643%205.35895%200.5%205.19468%200.5%205.00141C0.5%204.80815%200.567643%204.64387%200.702929%204.50858L1.68859%203.52293C1.82387%203.38764%201.98815%203.32%202.18141%203.32C2.37468%203.32%202.53896%203.38764%202.67424%203.52293L4.805%205.66093L9.55934%200.89934C9.69463%200.764054%209.85891%200.696411%2010.0522%200.696411C10.2454%200.696411%2010.4097%200.764054%2010.545%200.89934L11.5307%201.885Z'%20fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    /* or cover depending on your need */
    transition: all 0.5s ease;
    opacity: 0;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-checkbox .gfield_checkbox .gchoice input[type=checkbox]:checked+.gform-field-label::before {
    background-color: #0087FF;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-checkbox .gfield_checkbox .gchoice input[type=checkbox]:checked+.gform-field-label::after {
    opacity: 1;
}

.gd_custom_editor .gform_wrapper .gform-footer .gform_button {
    border-radius: 8px;
    background: var(--Tint-light-blue, #4FC3FF);
    border-color: var(--Tint-light-blue, #4FC3FF);
    padding: 15px 37px;
    width: 100%;
    text-align: center;
}

.gd_custom_editor .gform_wrapper .gform-footer .gform_button span {
    color: var(--Darkest-blue-grey, #12262B);
    font-family: Lexend;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    transition: all 0.5s ease;
}

.gd_custom_editor .gform_wrapper .gform-footer .gform_button:hover span {
    color: #FFFFFF;
}

.gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-captcha {
    overflow: hidden;
}

.gd_custom_editor .gform_confirmation_message {
    text-align: center;
    margin-bottom: 0 !important;
}

@media (max-width: 1199px) {
    .gd_custom_editor.eidtor_with_form {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .gd_custom_editor .gform_wrapper {
        padding: 30px;
    }

    .gd_custom_editor .gform_wrapper .gform_heading .gform_title {
        margin-bottom: 20px;
    }

    .gd_custom_editor .gform_wrapper.gravity-theme .field_sublabel_above .ginput_complex {
        flex-direction: column;
        flex-wrap: nowrap;
        row-gap: 20px;
    }

    .gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-name .ginput_complex>span:nth-child(2n+1) {
        padding-right: 0 !important;
    }

    .gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-name .ginput_complex>span:nth-child(2n) {
        padding-left: 0 !important;
    }

    .gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-name .ginput_complex>span:nth-child(2n) .gform-field-label {
        left: 15px;
    }

    .gd_custom_editor .gform_wrapper .gform_fields .gfield.gfield--type-checkbox {
        margin: 0;
        width: 100%;
        grid-column: span 12;
    }

    .gd_custom_editor .gform_wrapper.gravity-theme .field_sublabel_above .ginput_complex>span {
        width: 100%;
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-bottom: 0;
    }

    .gd_custom_editor .gform_wrapper.gravity-theme .gfield.gfield--width-half {
        grid-column: span 12;
    }

    .gd_custom_editor.eidtor_with_form {
        padding: 42px 0;
    }

    .gd_custom_editor .gform_confirmation_message { 
        font-size: 24px;
    }
}

@media (max-width: 479px) {
    .gd_custom_editor .gform_wrapper {
        padding: 20px;
    }
}