#contact-form-lightbox .lightbox-body::-webkit-scrollbar {
    width: 16px;
}

#contact-form-lightbox .lightbox-body::-webkit-scrollbar-track {
    border-radius: 8px;
}

#contact-form-lightbox .lightbox-body::-webkit-scrollbar-thumb {
    height: 56px;
    border-radius: 8px;
    border: 4px solid transparent;
    background-clip: content-box;
    background-color: #888;
}

#contact-form-lightbox .lightbox-body::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}
.contact-modal-form textarea {
    resize: auto !important;
}

.contact-modal-form textarea::placeholder {
    color: #ccc;
}

.contact-modal-form input, .contact-modal-form textarea {
    border-radius: 4px !important;
}

.contact-modal-form input {
    height: 45px !important;
    line-height: 45px !important;
}

.lightbox {
    width: 800px;
}

.lightbox-body {
    background-color: #fff;
    padding: 15px 55px;
    max-height: 850px;
}

.lightbox-body .body-header {
    display: flex; 
    position: relative;
    background: #fff; 
    z-index: 5; 
    margin-top: 10px;
    margin-bottom: 20px;
}

.body-header-container {
    display: flex;
}

.lightbox-body .body-header .body-header-name-container {
    margin-left: 15px;
}

.lightbox-body .body-header .body-header-name-container .body-header-title {
    text-transform: uppercase;
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
}

.lightbox-body .body-header .body-header-name-container .body-header-subtitle {
    line-height: 24px;
    margin-bottom: 0px;
}

.form-two-column-container {
    display: flex;
    gap: 20px;
}

.form-two-column-container .form-column {
    flex-basis: 50%;
    margin-bottom: 20px;
}

.input-container:not(.checkbox-container) label, .tinymce label {
    font-weight: 600;
}

.input-container label span.required, .tinymce label span.required {
    color: red;
    position: initial;
    font-weight: 600;
}

.input-container.checkbox-container label a {
    font-size: .93em;
    color: blue;
    text-decoration: underline;
}

.legal-language {
    margin-bottom: 20px;
    border-top: 1px solid #eee;
    padding-top: 10px;
    line-height: 18px;
    font-size: 12px;
}

button.send-message {
    display: inherit;
    position: inherit;
    background-image: none;
    width: auto;
    height: auto;
    padding: 8px 15px 8px 15px;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.2rem;
    line-height: 20px;
    float: left;
    margin-bottom: 10px;
}

.lightbox .close {
    right: -35px;
    top: -80px;
}

#message-notification {
    padding-bottom: 10px;
    padding-top: 10px;
}

input[type="checkbox"] + label.agree-error {
    font-weight: 600;
    color: red;
}

input[type="checkbox"] + label.agree-error:before {
    border: 1px solid red;
}

@media only screen and (max-width: 380px) {
    .lightbox-body {
        padding: 12px 28px;
        max-height: 650px;
    }
}

@media only screen and (min-width: 381px) and (max-width: 400px) {
    .lightbox-body {
        padding: 12px 28px;
        max-height: 800px;
    }
}

@media only screen and (min-width: 720px) and (max-width: 850px) and (orientation: portrait) {
    .lightbox {
        width: 700px;
    }
}

@media only screen and (max-width: 767px) {
    .lightbox {
        width: 100%;
    }

    .form-two-column-container {
        display: inline;
    }
    .lightbox-body {
        padding: 12px 28px;
    }

    .lightbox .close {
        right: -10px;
        top: -230px;
    }

    .body-header-container {
        display: block;
    }

    .body-header-container img {
        margin-bottom: 10px;
    }

    .lightbox-body .body-header .body-header-name-container {
        margin-left: 0px;
    }

    .lightbox-body .body-header .body-header-name-container .body-header-title {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .lightbox-body .body-header .body-header-name-container .body-header-title {
        line-height: 21px;
    }
}

@media only screen and (max-width: 767px) and (orientation: landscape) {
    .lightbox .close {
        right: -10px;
        top: -175px;
    }
}