﻿
overlay-b {
    z-index: 99;
}

/*#region Form Overlays*/
.form_overlay .overlay_background {
    background: rgba(0,0,0,.2);
}
.form_overlay .overlay_content {
    background: var(--elevation_gray_1);
    border: 1px solid var(--elevation_gray_3);
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.10), 0px 0px 2px 0px rgba(0, 0, 0, 0.15);
    max-width: 95%;
    max-height: 95%;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}
.form_overlay .close_overlay_button {
    padding: 0;
    top: 32px;
    right: 32px;
}
@media(max-width: 450px) {
    .form_overlay form {
        top: 20px;
        right: 20px;
    }
}

.form_overlay form {
    padding: 0px 35px 10px 25px;
    max-width: 100%;
    box-sizing: border-box;
}
@media(max-width: 768px) {
    .form_overlay form {
        padding: 0px 20px;
    }
}
@media(max-width: 500px) {
    .form_overlay form {
        padding: 0px;
    }
}
.form_overlay form.submitted{
    display: none;
}
.form_overlay form .flex_div{
    display: flex;
    column-gap: min(4.5vw, 66px);
}
@media(max-width: 768px){
    .form_overlay form .flex_div {
        flex-direction: column;
        row-gap: 25px;
    }
}

.form_overlay form .flex_div .left_div{
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    width: 467px;
    max-width: 50%;
}
@media(max-width: 768px) {
    .form_overlay form .flex_div .left_div {
        max-width: 100%;
    }
}
.form_overlay form .left_div h5{
    font-size: 42px;
    line-height: normal;
    padding-bottom: 8px;
    font-feature-settings: 'pnum' on, 'lnum' on;
}
@media(max-width: 450px) {
    .form_overlay form .flex_div .left_div h5 {
        padding-top: 25px;
        font-size: max(9.3vw, 35px);
    }
}
.form_overlay form .left_div img {
    height: 99px;
    width: fit-content;
}
@media(max-width: 500px) {
    .form_overlay form .flex_div .left_div img {
        height: fit-content;
        max-width: 80%;
    }
}

.form_overlay form .input_label{
    display: flex;
    flex-direction: column;
    row-gap: 8px;        
}
.form_overlay form .input_label input,
.form_overlay form .input_label select,
.form_overlay form .input_label textarea {
    border: none;
    border-radius: 16px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.10), 0px 0px 2px 0px rgba(0, 0, 0, 0.15);
    padding: 0px 16px;
}
.form_overlay form .input_label input::placeholder,
.form_overlay form .input_label select option:first-child,
.form_overlay form .input_label textarea::placeholder {
    color: #D4D4D4;
}
.form_overlay form .input_label input,
.form_overlay form .input_label select {
    height: 40px;
    max-width: 100%;
}
.form_overlay form .input_label textarea{
    resize: none;
    padding: 10px 16px;
    max-width: 100%;
    height: min(210px, max(90px, calc(100vh - 500px)));
    box-sizing: border-box;
}

.form_overlay form .right_div {
    width: 350px;
    max-width: 100%;
}
@media(max-width: 768px) {
    .form_overlay form .right_div {
        width: unset;
    }
}

.form_overlay form .right_div img {
    padding-top: 58px;
    max-width: 100%;
}
@media(max-width: 768px) {
    .form_overlay form .right_div img {
        display: none;
    }
}
.form_overlay form .right_div h6:first-child {
    padding-top: 120px;
}
@media(max-width: 768px) {
    .form_overlay form .right_div h6:first-child {
        padding-top: 0;
    }
}
.form_overlay form .right_div h6 {
    padding-bottom: 16px;
    font-variant-numeric: lining-nums proportional-nums;
}
.form_overlay form .right_div .input_label:not(:first-child){
    padding-top: 12px;
}
.form_overlay form .right_div .checkbox_label{
    width: fit-content;
    display: flex;
    align-items: center;
    column-gap: 6px;
    padding-bottom: 8px;
}
.form_overlay form .right_div .checkbox_label input{
    cursor: pointer;
    width: 24px;
    height: 24px;
    border: 1px solid var(--elevation_light_blue);
}

.form_overlay form .center_div {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}
.form_overlay form .center_div .h6 {
    width: 500px;
    max-width: 90%;
    font-feature-settings: 'pnum' on, 'lnum' on;
}
@media(max-width: 450px) {
    .form_overlay form .center_div .h6 {
        padding-top: 25px;
    }
}
.form_overlay form .center_div img {
    height: 99px;
    width: fit-content;
}
@media(max-width: 500px) {
    .form_overlay form .center_div img {
        height: fit-content;
        max-width: 80%;
    }
}
.form_overlay form .center_div p {
    max-width: 470px;
    line-height: 140%;
}

.form_overlay form .submit_button{
    cursor: pointer;
    margin-top: 56px;
}

.form_overlay .thank_you_div{
    display: none;
    padding: 0 0 23px 0;
    width: 800px;
    max-width: 100%;
    text-align: center;
    flex-direction: column;
    align-items: center;
    row-gap: 14px;
}
.form_overlay .thank_you_div.show{
    display: flex;
}
.form_overlay .thank_you_div p{
    width: 572px;
    max-width: 100%;
}
.form_overlay .thank_you_div button.download_link {
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
    padding: 0;
}
.form_overlay .thank_you_div img {
    padding-top: 20px;
}
/*#endregion*/