div.calendar {
    /* Higher z-index applied to display calendar above the modal */
    z-index: 3000000001;
}

.ctech-wrapper .ctech-modal.ctech-show#modal-rfq,
.ctech-wrapper .ctech-modal.ctech-show#modal-rfs {
    /* Higher z-index applied to display modal above livechat plugin */
    z-index: 3000000000;
}

div:has(.g-recaptcha-bubble-arrow), div:has(.g-recaptcha-bubble-arrow) div {
    /* Higher z-index applied to display recaptcha above the modal */
    z-index: 3000000002 !important;
}

#modal-rfq.rfq-animate-slide-up .ctech-modal-content,
#modal-rfs.rfq-animate-slide-up .ctech-modal-content {
    position: relative;
    animation: rfq_animate_slide_up 0.7s;
}

.ctech-wrapper .ctech-modal#modal-rfq, .ctech-wrapper .ctech-modal#modal-rfs {
    overflow-y: auto;
    left: unset;
    right: 0;
    width: 60%;
    top: 0;
}

.ctech-wrapper .ctech-modal#modal-rfq .ctech-modal-dialog.ctech-modal-lg,
.ctech-wrapper .ctech-modal#modal-rfs .ctech-modal-dialog.ctech-modal-lg {
    max-width: unset;
    margin: 0;
    min-height: 100%;
    align-items: unset;
}

.ctech-wrapper .ctech-modal#modal-rfq .ctech-modal-dialog.ctech-modal-lg .ctech-modal-content,
.ctech-wrapper .ctech-modal#modal-rfs .ctech-modal-dialog.ctech-modal-lg .ctech-modal-content {
    border: 0;
    border-radius: 0;
}

.ctech-wrapper .ctech-modal-backdrop.ctech-show {
    opacity: 0.75;
}

.ctech-wrapper #modal-rfq .ctech-modal-body, .ctech-wrapper #modal-rfs .ctech-modal-body {
    padding: 20px;
}

.ctech-wrapper .request-ctechmodal-close {
    right: 100%;
    position: fixed;
    top: 4px;
    left: unset;
    z-index: 1021;
    border-radius: 0px;
    height: 28px;
    width: 28px;
    font-size: 18px;
    color: rgb(0, 0, 0);
    margin: -4px 1px;
    background: rgb(255, 255, 255);
    display: block;
    padding: 0px;
    line-height: 1.5;
    border: none;
    text-align: center;
}

.request-completed-title {
    margin-top: 20px;
}

/* AJAX loader */
#modal-rfq .rfq-ajax-loader,
#modal-rfq .rfq-ajax-loader:after,
#modal-rfs .rfq-ajax-loader,
#modal-rfs .rfq-ajax-loader:after {
    position: absolute;
    top: 1px;
    bottom: 1px;
}

[dir] #modal-rfq .rfq-ajax-loader, [dir] #modal-rfq .rfq-ajax-loader:after,
[dir] #modal-rfs .rfq-ajax-loader, [dir] #modal-rfs .rfq-ajax-loader:after {
    border-radius: 5px;
}

[dir=ltr] #modal-rfq .rfq-ajax-loader, [dir=ltr] #modal-rfq .rfq-ajax-loader:after,
[dir=ltr] #modal-rfs .rfq-ajax-loader, [dir=ltr] #modal-rfs .rfq-ajax-loader:after {
    right: 1px;
    left: 1px;
}

[dir=rtl] #modal-rfq .rfq-ajax-loader, [dir=rtl] #modal-rfq .rfq-ajax-loader:after,
[dir=rtl] #modal-rfs .rfq-ajax-loader, [dir=rtl] #modal-rfs .rfq-ajax-loader:after {
    left: 1px;
    right: 1px;
}

#modal-rfq .rfq-ajax-loader, #modal-rfs .rfq-ajax-loader {
    z-index: 100;
    display: none;
}

#modal-rfq .rfq-ajax-loader:after, #modal-rfs .rfq-ajax-loader:after {
    z-index: 101;
    content: ' ';
    opacity: 0.5;
}

[dir] #modal-rfq .rfq-ajax-loader:after, [dir] #modal-rfs .rfq-ajax-loader:after {
    background: #cccccc;
}

#modal-rfq .rfq-ajax-loader:before, #modal-rfs .rfq-ajax-loader:before {
    z-index: 102;
    position: absolute;
    top: 50%;
    font-family: 'Font Awesome 5 Free';
    content: "\f110";
    font-size: 4em;
    font-weight: 900;
}

[dir=ltr] #modal-rfq .rfq-ajax-loader:before, [dir=ltr] #modal-rfs .rfq-ajax-loader:before {
    left: 50%;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    animation: fa-spin 1.5s infinite linear;
}

[dir=rtl] #modal-rfq .rfq-ajax-loader:before, [dir=rtl] #modal-rfs .rfq-ajax-loader:before {
    right: 50%;
    -ms-transform: translateX(50%) translateY(-50%);
    -moz-transform: translateX(50%) translateY(-50%);
    -webkit-transform: translateX(50%) translateY(-50%);
    transform: translateX(50%) translateY(-50%);
    animation: fa-spin 1.5s infinite linear;
}

#modal-rfq .ajax-running .rfq-ajax-loader, #modal-rfs .ajax-running .rfq-ajax-loader {
    display: block;
}
/* End AJAX loader */

.request-message-container .alert {
    padding: 8px 35px 8px 14px;
}

.request-message-container .alert .close {
    font-size: 16px;
    border: none;
    position: relative;
    top: -5px;
    right: -10px;
    background: none;
    float: right;
    color: #000;
    opacity: 0.2;
    text-shadow: 0 1px 0 #ffffff;
}

.request-message-container .alert-heading {
    font-family: 'Open Sans', sans-serif;
}

.ctech-modal .req-modal-body .sella-msg-box.alert,
.iframe-wrapper .req-modal-body .sella-msg-box.alert {
    font-size: 13px;
    padding: 0;
    background: none;
    border: none;
    color: #ff0000;
}

.ctech-modal .req-modal-body .sella-msg-box.alert.fade.in:not(.show),
.iframe-wrapper .req-modal-body .sella-msg-box.alert.fade.in:not(.show) {
    opacity: 1;
}

.ctech-modal .req-modal-body .sella-msg-box.alert .close,
.iframe-wrapper .req-modal-body .sella-msg-box.alert .close {
    display: none;
}

.req-modal-body .subform-repeatable table.table tbody tr td:first-child,
.req-modal-body .subform-repeatable table.table thead tr th:first-child {
    padding-left: 0;
}

.ctech-wrapper .req-header .ctech-row {
    margin: 0;
}

.ctech-modal .req-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.ctech-modal .req-header .req-header-body {
    position: relative;
    padding: 10px 17px;
    border-bottom: 1px solid #eee;
    background: #fff;
    z-index: 1;
}

.req-header .req-header-body h2.req-modal-title {
    margin-bottom: 0;
}

.req-form-body {
    margin-top: 60px;
}

body.ctech-modal-open {
    /* Prevent scrolling in parent window when modal is open */
    overflow: hidden;
}

.ctech-modal .req-modal-body .grecaptcha-badge {
    display: none;
}

@media (max-width: 767px) {
    .ctech-wrapper .ctech-modal#modal-rfq, .ctech-wrapper .ctech-modal#modal-rfs {
        width: 100%;
    }

    .ctech-modal .req-modal-body .req-header-left {
        width: 85%;
    }
}

@keyframes rfq_animate_slide_up {
    from {
        bottom: -300px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}
