/* Custom Modal CSS */

body .atech-popup[id^="popup"],
body .atech-popup[id^="popup"] > .atech-popup--wrapper {
    display: contents;
}

body .atech-popup[id^="popup"] .modal {
    background: transparent;
    position: fixed;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    top: 0;
    left: 0;
    margin: 0 auto;
    padding: 0;
    border: none;
    border-radius: 0;
    z-index: 9999999999;
}

body .modal-backdrop {
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000000000;
}

body .atech-popup[id^="popup"] .modal .modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: 0.4s ease-in-out all;
}

body .atech-popup[id^="popup"] .modal .modal-content {
    background: #fff;
    position: relative;
    width: 50%;
    max-width: 550px;
    height: fit-content;
    max-height: calc(100vh - 72px);
    margin: 36px 0;
    overflow: visible;
}

body .atech-popup[id^="popup"] .modal .modal-header {
    background-color: #fbfbfb;
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    padding: 16px 24px 22px;
    box-shadow: none;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    z-index: 9;
}

body .atech-popup[id^="popup"] .modal .modal-header > .close {
    background: none;
    width: fit-content;
    height: fit-content;
    margin: 0;
    padding: 0;
    outline: none;
    box-shadow: none;
}

body .atech-popup[id^="popup"] .modal .modal-header > .close p {
    color: #000;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    line-height: 1;
}

body .atech-popup[id^="popup"] .modal .modal-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

body .atech-popup[id^="popup"] .modal .modal-body {
    background-color: #fbfbfb;
    padding: 0 26px 48px 32px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    overflow-y: scroll;
}

body .atech-popup[id^="popup"] .modal .modal-body::-webkit-scrollbar {
    -webkit-appearance: none;
    appearance: none;
    width: 7px;
}

body .atech-popup[id^="popup"] .modal .modal-body::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .4);
    box-shadow: 0 0 1px rgba(255, 255, 255, .4);
}

body .atech-popup[id^="popup"] .modal .modal-footer {
    display: none;
}

body .atech-popup[id^="popup"] .atech-modal .atech-modal--icon {
    background: #fbfbfb;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    top: -32px;
    left: calc(50% - 43px);
    margin: 0;
    border: 5px solid #fbfbfb;
    border-radius: 50%;
    box-shadow: none;
    overflow: hidden;
    z-index: 10;
}

body .atech-popup[id^="popup"] .atech-modal .atech-modal--icon img {
    object-fit: cover;
    /* width: 84%; */
    width: 70%;
}

body .atech-popup[id^="popup"] .atech-modal .atech-modal--header p {
    /* font-size: 2.6rem; */
    font-size: 2.8rem;
    font-weight: 600;
    /* font-family: 'Fjalla One', 'PT Sans Narrow', Helvetica, Arial, sans-serif; */
    font-family: 'Gelasio', 'Merriweather', 'Times', serif;
    letter-spacing: 0.17px;
    word-spacing: 0.4px;
    /* margin: 0 auto 2rem; */
    margin: 0.6rem auto 2.2rem;
    text-align: center;
}

body .atech-popup[id^="popup"] .atech-modal .atech-modal--tagline p {
    /* font-size: 1.5rem; */
    font-size: 1.6rem;
    text-align: center;
    /* margin: 0 0 2.6rem; */
    margin: 0 0 1rem;
}

body .atech-popup[id^="popup"] .atech-modal .atech-modal--content .gform_wrapper .top_label .gfield_label {
    color: #193657;
    font-size: 1.6rem;
    margin: 0 0 0.7rem;
}

body .atech-popup[id^="popup"] .atech-modal .atech-modal--content .gform_wrapper .ginput_container input {
    font-size: 1.5rem !important;
}

body .atech-popup[id^="popup"] .atech-modal .atech-modal--content .gform_wrapper .gform_required_legend {
    display: none;
}

body .atech-popup[id^="popup"] .atech-modal .atech-modal--content .gform_wrapper .top_label .gfield_label .gfield_required {
    /* color: var(--accent-color-dark); */
    color: #8c8c8c;
    font-size: inherit;
    padding: 0 0 0 0.35rem;
}

body .atech-popup[id^="popup"] .atech-modal .atech-modal--content .gform_wrapper .gfield {
    margin: 0;
    padding: 0;
}

body .atech-popup[id^="popup"] .atech-modal .atech-modal--content .gform_wrapper .ginput_container input,
body .atech-popup[id^="popup"] .atech-modal .atech-modal--content .gform_wrapper .gfield select,
body .atech-popup[id^="popup"] .atech-modal .atech-modal--content .gform_wrapper .gfield textarea {
	color: #000;
}

body .atech-popup[id^="popup"] .atech-modal .atech-modal--content .gform_wrapper .gform_footer {
    margin-top: 2rem;
    padding-bottom: 0;
}

body .atech-popup[id^="popup"] .atech-modal .atech-modal--content .gform_wrapper .gform_footer input[type=submit] {
    /* font-size: 1.6rem;
    margin: 1rem auto 0; */
    font-size: 1.7rem;
	margin: 0;
    padding: 1.3rem 2.6rem;
    padding-right: calc(2.4rem + 32px);
}

@media (min-width: 850px) {
    body .atech-popup[id^="popup"] .modal .modal-body {
        position: initial;
    }
}

@media (min-width: 1800px) {
    body .atech-popup[id^="popup"] .modal .modal-dialog {
        align-items: flex-start;
    }

    body .atech-popup[id^="popup"] .modal .modal-content {
        margin-top: 15rem;
    }
}

@media (max-width: 1000px) {
    body .atech-popup[id^="popup"] .atech-modal .atech-modal--header p {
        font-size: 2.2rem;
        letter-spacing: 0;
        word-spacing: 0;
    }
}

@media (max-width: 849px) {
    body .atech-popup[id^="popup"] .modal .modal-content {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
    }

    body .atech-popup[id^="popup"] .modal .modal-body {
        position: initial;
    }

    body .atech-popup[id^="popup"] .atech-modal .atech-modal--icon {
        position: initial;
        width: 70px;
        height: 70px;
        border: none;
        margin: 0 auto 1rem;
    }
}

@media (max-width: 511px) {
    body .atech-popup[id^="popup"] .atech-modal .atech-modal--header p > br {
        display: none;
    }
}

.atech-modal--content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 3rem;
    text-align: center;
}

.atech-modal--content p {
    margin: 0 0 3rem;
    text-align: center;
}

.atech-modal--content p:last-child {
    margin: 0;
}

.atech-modal--content a.button {
    background-image: none;
    background-color: #1d6b9f;
    height: auto;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.6;
    margin: 0.5rem 0 0;
    padding: 1.2rem 2.6rem;
    border-radius: 5px;
    box-shadow: 0px 5px 13px -2px rgba(0, 0, 0, 0.24);
    white-space: pre-wrap;
}

.atech-modal--content a.button:hover {
    filter: brightness(1.1);
    box-shadow: 0px 3px 9px -1px rgba(0, 0, 0, 0.17);
}