.modal-backdrop {
    background-color: transparent !important;
}

.widget-container {
    position: fixed;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 425px;
    height: 629px;
    border: 2px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    background-color: #fff;
    display: none;
}

.modal-chatbotclosemethod {
    right: 29px !important;
    top: 19% !important;
    width: 358px !important;
    left: auto;
}

.botcloseserveyesaf {
    .modal-dialog {
        width: auto !important;
        max-width: min-content;
    }
}

.modal-chatbotclosemethod {
    left: auto !important;
    top: auto !important;
}

.ngx-spinner-overlay {
    display: none;
}


/* Base styles */
.widget-container {
    font-size: 16px;
    /* Example base font size */
}

/* 30% */
@media (min-width: 300px) {

    /* 30% of 1000px */
    .widget-container {
        font-size: 14px;
        /* Adjust styles as needed */
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 463px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 40% */
@media (min-width: 400px) {

    /* 40% of 1000px */
    .widget-container {
        font-size: 14px;
        /* Adjust styles as needed */
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 463px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 50% */
@media (min-width: 500px) {

    /* 50% of 1000px */
    .widget-container {
        font-size: 14px;
        /* Adjust styles as needed */
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 237 px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 60% */
@media (min-width: 600px) {

    /* 60% of 1000px */
    .widget-container {
        font-size: 14px;
        /* Adjust styles as needed */
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 285px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 70% */
@media (min-width: 700px) {

    /* 70% of 1000px */
    .widget-container {
        font-size: 15px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 350px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

@media (max-width: 767px) {
    .widget-container {
        width: 95%;
        height: 80%;
    }
}

/* 80% */
@media (min-width: 800px) {

    /* 80% of 1000px */
    .widget-container {
        font-size: 16px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 400px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 90% */
@media (min-width: 900px) {

    /* 90% of 1000px */
    .widget-container {
        font-size: 17px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 420px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 100% */
@media (min-width: 1000px) {

    /* 100% of 1000px */
    .widget-container {
        font-size: 18px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 425px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 110% */
@media (min-width: 1100px) {

    /* 110% of 1000px */
    .widget-container {
        font-size: 19px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 425px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 120% */
@media (min-width: 1200px) {

    /* 120% of 1000px */
    .widget-container {
        font-size: 20px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 525px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 130% */
@media (min-width: 1300px) {

    /* 130% of 1000px */
    .widget-container {
        font-size: 21px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 625px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 140% */
@media (min-width: 1400px) {

    /* 140% of 1000px */
    .widget-container {
        font-size: 22px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 956px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 150% */
@media (min-width: 1500px) {

    /* 150% of 1000px */
    .widget-container {
        font-size: 23px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 625px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 160% */
@media (min-width: 1600px) {

    /* 160% of 1000px */
    .widget-container {
        font-size: 23px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 625px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 160% */
@media (min-width: 1700px) {

    /* 160% of 1000px */
    .widget-container {
        font-size: 23px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 725px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 160% */
@media (min-width: 1800px) {

    /* 160% of 1000px */
    .widget-container {
        font-size: 23px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 725px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 160% */
@media (min-width: 1900px) {

    /* 160% of 1000px */
    .widget-container {
        font-size: 23px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 750px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 160% */
@media (min-width: 2000px) {

    /* 160% of 1000px */
    .widget-container {
        font-size: 23px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 865px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}

/* 160% */
@media (min-width: 2100px) {

    /* 160% of 1000px */
    .widget-container {
        font-size: 23px;
        position: fixed;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        /* width: 618px; */
        height: 950px;
        border: 2px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        background-color: #fff;
        display: none;
    }
}


.modelpopupfunction {
    text-align: right;
    bottom: 43px;
    position: absolute;
    float: right;
    /*right: 21px; */
    right: -30px;
}

.closedivesaf {
    width: max-content !important;
    margin-right: auto !important;
    margin-left: auto !important;
}
#popupImage {
    height: 50vh;
    width: 40vh;
    background-repeat: no-repeat;
    background-size: 100%;
    float: right;
    cursor: pointer;
}
div#headerlogonew {
    background-image: url(https://esafbank.com/chatbot/assets/images/Hamber/ESAF/esaf-logoGIF.gif) !important;
margin-left: -20px!important;
    color: rgb(255, 255, 255)!important;
    text-align: left!important;
    background-repeat: no-repeat, no-repeat!important;
    margin-right: 40px!important;
    border-radius: 0px!important;
    height: 64px!important;
    margin-top: -14px!important;
    background-size: 50px!important;
    top: 5px!important;
    position: relative!important;
    width: 165px!important;
    left: 9px!important;
    
}