.inactive-enquiry-popup {
    width: 320px;
    position: fixed;
    left: 30px;
    bottom: 20px;
    border: 1px solid #0a368b;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
    z-index: 9999;
    background: #fff;
}

.country-flag-enquiry {
    height: 2.6rem;
    width: 2.6rem;
    margin: 0 1rem 0 0;
}

.inactive-enquiry-popup .modal-header {
    background: #0a368b;
    padding: 20px 0;
    display: flex;
    align-items: center;
}

.inactive-enquiry-popup .modal-header img {
    max-width: 100px;
    display: block;
}

.inactive-enquiry-popup .modal-header .close {
    padding: 0 10px;
    color: #fff;
    opacity: 1;
    text-shadow: none;
    cursor: pointer;
}

.inactive-enquiry-popup .alert .close {
    cursor: pointer;
}

.inactive-enquiry-popup .enquiryForm-inner {
    padding: 5px 15px 8px;
    overflow: auto;
    height: calc(100% - 45px);
}

.inactive-enquiry-popup .enquiryForm-inner .form-group .text-danger {
    font-size: 12px;
    display: flex;
    margin-top: 3px;
}

.inactive-enquiry-popup .enquiryForm-inner .form-group .text-danger img {
    padding-right: 3px;
    height: 12px;
    margin-top: 3px;
}

.inactive-enquiry-popup .form-group {
    margin-bottom: 7px;
}

.inactive-enquiry-popup label {
    margin-bottom: 2px;
    font-size: 13px;
    color: #000;
}

.inactive-enquiry-popup .enquiryForm-inner.p-20 {
    padding: 12px 15px 8px;
    height: calc(100% - 45px);
    box-sizing: border-box;
}

.enquiryForm-inner label {
    display: flex;
    align-items: flex-start;
}

.enquiryForm-inner .consent-field label {
    display: flex;
    align-items: flex-start;
    margin-left: 8px;
}

.enquiryForm-inner label input[type="checkbox"] {
    margin: 4px 8px 4px 0;
}

.inactive-enquiry-popup .form-control-enquiry {
    border: 1px solid #c5c5c5 !important;
    display: block;
    width: 100%;
    height: 32px;
    padding: 0.375rem 0.75rem;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.inactive-enquiry-popup textarea.form-control-enquiry {
    height: 70px;
    min-height: 70px;
    resize: none;
}

.consent-field {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.consent-field .enquiry-consent-checkbox {
    margin-top: 1px;
    min-width: 20px;
}

.mobile-enquiry .icon-down-arrow {
    opacity: 0;
    font-size: 3px;
}

#consentPopup .btn-group {
    width: 100%;
}

.inactive-enquiry-popup .alert {
    font-size: 13px;
}

.inactive-enquiry-popup .alert p {
    margin: 0px;
}

.inactive-enquiry-popup {
    width: 370px;
}

.inactive-enquiry-popup {
    border: 3px solid #c2ccde;
}

.inactive-enquiry-popup .modal-header {
    background: transparent;
    margin: 10px 25px 0px;
    padding: 10px 0 15px;
}

.inactive-enquiry-popup .modal-header .close {
    color: #0c3688;
    font-size: 26px;
    font-weight: normal;
}

.enquiryForm-inner h3 {
    font-size: 24px;
    color: #0c3688;
    font-weight: 400;
    margin-bottom: 15px;
}

.inactive-enquiry-popup .enquiryForm-inner {
    padding: 15px 25px 25px;
}

.enquiryForm-inner label {
    text-transform: uppercase;
    color: #0c3688;
}

.inactive-enquiry-popup label {
    margin-bottom: 4px;
    margin-top: 20px;
}

.inactive-enquiry-popup .form-control-enquiry {
    height: 40px;
    border-color: #959595 !important;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    color: #0c3688;
}

.inactive-enquiry-popup .form-control-enquiry::placeholder {
    font-weight: 300;
    color: rgba(0, 0, 0, 0.4);
    font-size: 14px;
}

.btn-group-custom {
    background: #edf2fb;
    padding: 15px 25px;
    display: flex;
}

.btn-group-custom .btn {
    flex: 1;
    text-transform: uppercase;
    border-radius: 8px;
    border: 2px solid #0c3688;
    padding: 10px;
    font-size: 15px;
}

.btn-group-custom .btn-primary {
    background: #0c3688;
}

.btn-group-custom .btn-outline-primary {
    background: #fff;
    color: #0c3688;
}

.btn-group-custom .btn-disabled {
    background: #ccc;
    border-color: #ccc;
    color: #444;
    pointer-events: none;
}

.inactive-enquiry-popup .enquiryForm-inner.p-20 {
    padding: 8px 25px 8px;
}

.submit-enquiry-inprogress {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media all and (max-width: 480px) {
    .inactive-enquiry-popup {
        left: 15px;
        width: calc(100% - 30px);
        box-sizing: border-box;
        bottom: auto;
    }

    .inactive-enquiry-popup .enquiryForm-inner {
        padding: 10px;
    }
}

.popupLeft .flagWrap {
    max-width: 20px;
}

.popupLeft .country img {
    max-width: 100%;
    border-radius: 100%;
    height: 20px;
}

.popupLeft .input-group-text {
    padding: 3px 5px 3px 8px;
}

.popupLeft .inactive-enquiry-popup label {
    margin-top: 0;
}

.popupLeft .form-group {
    margin-bottom: 10px;
}

.popupLeft .form-control {
    font-size: 13px;
    background: #f9fbff;
    height: 35px;
    border-radius: 0.25rem;
    padding: 2px 8px;
    border: 1px #ced4da solid;
    font-weight: normal;
}

.popupLeft .form-control:focus {
    box-shadow: none;
    border-color: #0c3688;
    background: #f9fbff;
}

.popupLeft .consent-field {
    margin-bottom: 5px;
}

.popupLeft .consent-field label {
    text-transform: none;
    color: #aaa;
    font-size: 12px;
    line-height: 15px;
}

.popupLeft .consent-field label a {
    color: #0c3688;
}

.popupLeft .btn-group-custom {
    padding: 8px 25px;
}

.popupLeft .btn-group-custom .btn {
    padding: 5px 10px;
}

.popupLeft .enquiryForm-inner h3 {
    margin-bottom: 10px;
}

.enquiryForm-inner.p-20 {
    height: auto;
}

.popupLeft .input-group-prepend .input-group-text {
    background: #f9fbff;
    color: #0c3688;
}

.popupLeft .input-group-prepend .country-code {
    font-size: 13px;
    font-weight: 600;
    padding-left: 3px;
}

.popupLeft .dropdown-menu {
    right: 0;
    padding: 3px 0;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

.popupLeft .dropdown-item {
    padding: 1px 10px;
    font-size: 13px;
}

.popupLeft .form-group {
    position: relative;
}

.popupLeft .dropdown-menu.country-number-enquiry li img {
    max-width: 25px;
    margin-right: 5px;
}

.minw-100 {
    min-width: 100%;
}

@media all and (max-height: 620px) {
    .popupLeft .inactive-enquiry-popup .enquiryForm-inner.p-20 {
        /*height: calc(100vh - 175px);*/
        /*height: auto;*/
    }
}

@media all and (max-width: 430px) {
    .inactive-enquiry-popup {
        width: auto;
        right: 20px;
        left: 20px;
    }
}

@media all and (max-width: 768px) {
    body #ymDivBar {
        right: 5px;
        bottom: 5px;
    }

    #ymDivBar img {
        max-height: 45px;
    }

    .popupLeft .inactive-enquiry-popup {
        bottom: 60px;
    }
}

/* When email field is visible */
@media all and (max-height:575px) {
    .enquiryForm-inner.p-20.maxHeight {
        height: calc(100vh - 184px);
    }
}

/* When email field is not visible */
@media all and (max-height:505px) {
    .enquiryForm-inner.p-20.minHeight {
        height: calc(100vh - 186px);
    }
}