.modal-section,
.modal-section * {
    box-sizing: border-box;
}

.modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
    overflow: scroll;
    background: rgba(0, 0, 0, 0.5);
}

.modal.is-visible {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    visibility: hidden;
    opacity: 0;
}

.modal.is-visible .modal-overlay {
    opacity: 1;
    visibility: visible;
    transition: visibility 0.2s linear, opacity 0.2s linear;
}

.modal-wrapper {
    position: absolute;
    z-index: 9999;
    top: 50%;
    left: 50%;
    margin: auto;
    width: 550px;
    background-color: #fff;
    box-shadow: 0 0 1.5em rgb(0 0 0 / 35%);
    transform: translate(-50%, -50%);
    max-width: 90%;
}

.modal-wrapper .modal-body {
    max-height: calc(100vh - 190px);
    overflow: auto;
    padding: 50px 50px;
    margin: 0;
}

.modal-footer {
    padding: 15px 50px;
    font-size: 24px;
    border-top: 1px solid #eee;
    z-index: 1;
    position: relative;
    background: #f5f5f5;
    text-align: center;
}

.modal-transition {
    transform: translate(-50%, -100%);
    opacity: 0;
}

.modal.is-visible .modal-transition {
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: transform 0.2s linear;
}

.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    z-index: 99;
    font-size: 19px;
}

#contact-form-section input::-webkit-input-placeholder,
#contact-form-section textarea::-webkit-input-placeholder {
    color: #636363;
}

#contact-form-section input::-moz-placeholder,
#contact-form-section textarea::-moz-placeholder {
    color: #636363;
}

#contact-form-section input:-ms-input-placeholder,
#contact-form-section textarea:-ms-input-placeholder {
    color: #636363;
}

#contact-form-section input:-moz-placeholder,
#contact-form-section textarea:-moz-placeholder {
    color: #636363;
}

#contact-form-section input[type="text"],
#contact-form-section select,
#contact-form-section textarea,
#contact-form-section input[type="submit"] {
    width: 100%;
    height: 45px;
    line-height: 22px;
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid #d9d9d9;
    margin-bottom: 0;
    box-sizing: border-box;
    border-radius: 4px;
    color: #000000;
    font-family: var(--primaryfont-regular);
}

#contact-form-section input[type="submit"] {
    width: auto;
}

#contact-form-section select {
    height: 45px !important;
    font-size: 14px !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    border-color: #d9d9d9 !important;
    background: #ffffff !important;
    text-transform: capitalize;
}

.rd-sgfrm-sl {
    position: relative;
}

.rd-sgfrm-sl select {
    -moz-appearance: none !important;
    -webkit-appearance: none;
    margin-bottom: 0 !important;
}

.rd-sgfrm select {
    margin-bottom: 0 !important;
}

.rd-sgfrm-sl:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666;
    position: absolute;
    right: 8px;
    top: 23px;
    margin-top: -3px;
    border-radius: 6px;
}

#contact-form-section textarea {
    height: 100px !important;
    resize: vertical;
}

.errortext {
    font-size: 12px;
    color: red;
    text-align: left;
    margin-bottom: 0;
}

form .modal-body>div {
    margin-bottom: 15px;
    text-align: left;
    padding: 0;
}

form .modal-body>div.rd-sgnbtn {
    margin-bottom: 0;
}

form .modal-body>div.rd-sgfrm:last-child,
form .modal-body>div.rd-sgfrm .sign_agree p {
    margin-bottom: 0;
}

form .modal-body>div.rd-sgfrm {
    padding: 0;
}

form .modal-body>div.rd-sgfrm.textarea-fl {
    line-height: 0;
}

form .modal-body>div.rd-sgfrm.textarea-fl label.error {
    line-height: 1.5;
}

.captcha-fld .cf-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0 auto;
    border: 1px solid #d9d9d9;
    padding: 10px 10px;
    border-radius: 4px 4px 0 0;
    border-bottom: none;
    background: #ffffff;
    flex-flow: wrap;
}

.captcha-fld>div {
    padding: 0;
}

#contact-form-section .captcha-fld>.cf-bot input[type="text"] {
    border-radius: 0 0 4px 4px;
    border: 1px solid #d9d9d9;
}

.contact-box .success-alert {
    display: none;
    margin: 0 auto 0;
    z-index: 2;
    width: 100%;
    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    background: rgb(255, 255, 255);
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.contact-box .scs-pop-inr {
    padding: 30px 20px 25px 20px;
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-flow: wrap column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #5cb85c;
    background: none;
    border-radius: 4px;
    text-align: center;
}

.contact-box .scs-pop-inr span.scs-txt {
    font-size: 20px;
}

.circle-loader {
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-left-color: #5cb85c;
    animation: loader-spin 1.2s infinite linear;
    position: relative;
    display: inline-block;
    vertical-align: top;
    border-radius: 50%;
    width: 70px;
    height: 70px;
}

.load-complete {
    -webkit-animation: none;
    animation: none;
    border-color: #5cb85c;
    transition: border 500ms ease-out;
}

.checkmark.draw:after {
    animation-duration: 800ms;
    animation-timing-function: ease;
    animation-name: checkmark;
    transform: scaleX(-1) rotate(135deg);
}

.checkmark:after {
    opacity: 1;
    height: 35px;
    width: 15px;
    transform-origin: left top;
    border-right: 3px solid #5cb85c;
    border-top: 3px solid #5cb85c;
    content: "";
    left: 15px;
    top: 35px;
    position: absolute;
}

@keyframes loader-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes checkmark {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }
    20% {
        height: 0;
        width: 15px;
        opacity: 1;
    }
    40% {
        height: 35px;
        width: 15px;
        opacity: 1;
    }
    100% {
        height: 35px;
        width: 15px;
        opacity: 1;
    }
}

#contact-form-section input[type="submit"] {
    padding: 0px 20px;
    background: #f0483e;
    border: 1px solid #f0483e;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    font-family: var(--zf-primary-semibold);
}

label.error {
    width: 100%;
    display: block;
    font-size: 12px;
    color: red;
    margin-top: 3px;
    text-align: left;
}

.rd-sgfrm .error {
    margin-top: 0;
}

.rd-sgfrm .error.testareas {
    color: #000;
}

.rd-sgnbtn {
    padding-top: 0px;
}

.note-txt {
    margin: 0;
}

.note-txt p {
    font-size: 12px;
}

.note-txt p a {
    font-family: var(--primaryfont-semibold);
}

.img-block>img {
    min-width: 120px;
    height: 100px;
    object-fit: contain;
}

@media only screen and (max-width: 480px) {
    .modal-wrapper .modal-body {
        padding: 25px 25px;
        max-height: calc(100vh - 230px);
    }
    .modal-wrapper .modal-footer {
        padding: 15px 25px;
    }
}