.rz-dropdown {
    width: 100% !important;
    min-width: unset;
}

.rz-calendar .rz-inputtext {
    height: 35px;
}

.credential-img-card {
    aspect-ratio: 3 / 2;
    padding: 10px;
    background: #fff;
}

.credential-img {
    min-height: auto !important;
    cursor:pointer;
        width: auto;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
}

.chat-row .chat-avatar {
    background-color: #fff
}

.modal-content {
    width: 100%;
    position: absolute;
    /*position: absolute; --removed*/
    top: 80px
}

@media only screen and (min-width:1400px) and (max-width:1500px) {
    .chats-body-wrapper .rz-listbox-header {
        top: -75px
    }
}

@media only screen and (min-width:1281px) and (max-width:1399px) {
    .chats-body-wrapper .rz-listbox-header {
        top: -38px
    }
}

@media only screen and (max-width:1280px) {
    .chats-body-wrapper .rz-listbox-header {
        position: absolute;
        top: -80px;
        right: 0;
        margin: 0;
        width: auto;
        padding: 5px 10px
    }

    .chats-body-wrapper .rz-listbox-filter-container .rzi-search {
        display: none
    }

    .chats-body-wrapper .rz-listbox-header input {
        width: 10px;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>');
        background-repeat: no-repeat;
        background-position: 0 4px;
        padding-left: 20px
    }

        .chats-body-wrapper .rz-listbox-header input:focus {
            width: 100%;
            max-width: 340px
        }
}

@media only screen and (min-width:1280px) and (max-width:1400px) {
    .table-data-listing > li .table-list-item:nth-last-child(-n+1) {
        overflow: hidden;
        padding-left: 20px;
        padding-right: 5px;
        width: 140px
    }

    .table-list-item {
        font-size: 14px;
        width: calc(65% - 320px)
    }
}

@media only screen and (min-width:1360px) {
    .required-document-list-container {
        min-width: unset !important
    }

    .table-list-item {
        width: 60%
    }
}

@media only screen and (min-width:1024px) and (max-width:1359px) {
    .inner-top .heading {
        font-size: 24px
    }

    .navbar-width .main-left-navbar {
        min-width: 220px
    }

    .right-container-width {
        max-width: calc(100% - 240px)
    }

    .table-list-item {
        width: 60% !important
    }

    .table-data-listing > li .table-list-item:nth-last-child(-n+1) {
        width: 360px !important
    }

    .user-management-wrapper {
        padding-left: 10px
    }
}

@media only screen and (min-width:1281px) and (max-width:1400px) {
    .messaging-div.chat-body, .messaging-div.chat-list {
        max-width: 32.5% !important;
        flex: initial !important;
        margin-left: 1%;
        min-height: calc(100vh - 180px)
    }

    .messaging-div.chat-body {
        max-width: 65.5% !important
    }
}

@media only screen and (min-width:576px) and (max-width:1280px) {
    .messaging-div {
        max-width: 49% !important;
        /*flex: initial !important;*/
        margin-left: 1%;
        min-height: calc(100vh - 180px)
    }

    .chat-body-header {
        padding: 10px 15px
    }

        .chat-body-header .text-start {
            margin-left: 10px !important;
            width: 70% !important;
            margin-top: 5px
        }

    .chat-head-content > div.font-18.mb-2 {
        max-width: initial !important;
        margin-bottom: 5px !important;
        margin-right: 20px
    }

    .messaging-div.chat-list li {
        position: relative
    }

    .chats-body-wrapper {
        bottom: 100px
    }

    .chat-body-footer .btn-success {
        min-width: 100px;
        margin-left: 5px !important
    }
}

@media only screen and (min-width:1024px) and (max-width:1140px) {
    .inner-top .heading {
        font-size: 22px
    }

    .table-list-item {
        width: 90px
    }

    .tab-container:not(.chat-list .tab-container) {
        overflow: auto;
        padding-top: 10px;
        border-radius: 0
    }

    .tab-container .tab-content, .tab-container .tab-heading {
        min-width: 1280px
    }

    .main-body-content > .row > .col-sm-12.col-md-8.col-lg-8 {
        flex: initial;
        max-width: 100%
    }

    .manage-control-btn {
        flex: inherit;
        max-width: 47.8%
    }
}

@media only screen and (min-width:1024px) {
    body.nav-collapsed-expand .navbar-width {
        max-width: 50px !important;
        flex: auto !important;
        width: 40px !important;
        transition: all 0.2s ease-in-out;
    }

    .main-left-navbar {
        max-width: 70px !important;
        overflow: hidden;
        min-width: 40px !important;
        transition: all 0.2s ease-in-out;
    }

    body.nav-collapsed-expand .navbar-width, body.nav-collapsed-expand .navbar-width .main-left-navbar {
        min-width: 280px !important;
    }

    body.nav-collapsed-expand .rfm-counter {
        right: 0 !important;
    }

    .right-container-width {
        max-width: calc(100% - 80px) !important;
        min-height: calc(100vh - 185px) !important;
        flex: auto !important;
        transition: width 0.2s ease-in-out;
    }

    body.nav-collapsed-expand .navbar-width ~ .right-container-width {
        max-width: calc(100% - 280px) !important;
    }

    .user-initial-application-wrapper {
        margin-left: 15px
    }

        .user-initial-application-wrapper .required-fields .rz-dropdown, .user-initial-application-wrapper .required-fields select {
            margin-left: 10px !important
        }
}

@media only screen and (max-width:1023px) {
    a.navbar-brand {
        margin-left: 50px
    }

    .modal-content.view-application-details .modal-footer {
        max-height: 130px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .modal-content.view-application-details .modal-footer > .row .col-sm-12{
        text-align:center;
        margin-bottom:10px;

    }
    body.openNav .mobile-icon svg {
        display: none
    }

    .mobile-icon {
        color: #fff !important;
        display: block;
        position: absolute;
        top: 10px;
        border-color: #fff !important
    }

    body.openNav .mobile-icon {
        left: 0;
        border-color: transparent;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="white" viewBox="0 0 16 16"><path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/></svg>');
        background-repeat: no-repeat;
        background-position: 4px 4px
    }

    .top-header .input-search {
        min-width: 180px;
        width: 50px
    }

    .top-header .rightside .custom-dropdown .dropdown-toggle {
        min-width: 20px !important;
        position: relative;
        padding: 5px !important
    }

    .inner-top .heading {
        font-size: 22px;
        margin-left: 10px
    }

    .navbar-width {
        max-width: 280px;
        position: relative;
        left: -280px;
        z-index: 99
    }

    body.openNav .navbar-width {
        left: 0;
        z-index: 99
    }

        body.openNav .navbar-width:before {
            content: "";
            display: block;
            width: 100vw;
            height: 100vh;
            background-color: rgb(0 0 0 / 81%);
            position: fixed;
            z-index: 2;
            left: 0;
            top: 0
        }

    .top-header .custom-dropdown .dropdown-menu {
        z-index: 0;
        right: 0;
        position: absolute;
        left: auto;
        top: 40px;
        padding: 5px
    }

    .right-container-width {
        max-width: 100%;
        margin-left: unset;
        flex: auto
    }

    .main-body-content .row .col-sm-12.col-md-8.col-lg-8 {
        margin-left: 15px;
        flex: initial;
        max-width: 100%
    }

    .main-body-content .accordion-wrapper {
        margin-left: -15px
    }

    .tab-container .nav-tabs {
        min-width: max-content
    }

    .tab-container:not(.chat-list .tab-container) {
        overflow: auto;
        overflow-y: hidden;
        padding-top: 10px;
        border-radius: 0;
    }

    .tab-container .tab-content, .tab-container .tab-heading {
        min-width: 1280px
    }

    .main-body-content {
        margin-top: 10px
    }

        .main-body-content.user-initial-application .row select, .main-body-content.user-initial-application .rz-dropdown {
            margin-left: 10px !important
        }

        .main-body-content .renewal-application-wrapper .row .rz-dropdown {
            margin-left: 15px !important
        }

    .btn-success-next {
        margin-left: 0
    }

    .action-control {
        margin-bottom: 20px
    }

    .messaging-div {
        max-width: 90%;
        margin: 15px auto 5px
    }

    #flush-collapseTwo .accordion-body .row.input-group:nth-child(5) .col-sm-3 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .manage-control-btn {
        flex: inherit;
        max-width: 47.8%
    }

    .applications-card .card-body {
        font-size: 14px;
    }

    .applications-card {
        min-height: 280px;
    }
}

@media only screen and (min-width:767px) and (max-width:768px) {
    .inner-top .col-sm-3.col-md-4, .inner-top .col-sm-9.col-md-8 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .action-control .btn {
        padding: 8px 20px
    }

    .heading-my-notifications, .notifications-container {
        margin-left: -15px
    }
}

@media only screen and (max-width:800px) {
    .top-header .rightside .custom-dropdown #uname {
        display: none
    }

    .custom-credential-accordian .card {
        flex: 0 0 49.5% !important;
        max-width: 49.5% !important
    }

    .document-vault-wrapper .vault-controls {
        padding-right: 0 !important;
        justify-content: center;
    }
}

@media only screen and (max-width:768px) {
    .main-body-content .renewal-application-wrapper .row.input-group.required-fields {
        width: 95.5%
    }

    .submit-application.cam-open > video {
        width: 90vw
    }
}

@media only screen and (max-width:767px) {
    .body-bg {
        background-color: #3a3f8b;
        background-repeat: no-repeat;
        background-size: 100%;
        height: 100%;
        min-height: 100vh
    }

    .rz-checkbox-list-horizontal .rz-checkbox {
        width: 99%
    }

    .top-header {
        height: 80px
    }

        .top-header .navbar .col-sm-12.col-md-2.text-center {
            text-align: left !important
        }

        .top-header .navbar-brand {
            display: block
        }

            .top-header .navbar-brand .site-logo {
                text-align: left;
                max-width: 150px;
                margin-left: -15px
            }

        .input-search, .top-header .rightside > ul.list-inline > li:first-child {
            display: none
        }

        .top-header .rightside {
            position: absolute;
            top: 20px;
            right: 5px
        }

    .document-vault-wrapper .upload-vault-doc {
        width: 100% !important;
        max-width: 440px;
    }
    /*.msgsearch {
            width: 93%;
            margin-right: 10px;
        }*/
    /*.msgsearch {
            width: 14%;
            margin-right: 37px;
        }

            .msgsearch:active, .msgsearch:focus, .msgsearch:hover {
                width: 93%;
                margin-right: 10px;
            }*/

    .top-header .rightside .custom-dropdown .dropdown-toggle {
        min-width: 20px !important;
        position: relative;
        padding: 5px !important
    }

    .action-control .btn {
        padding: 8px 10px;
        margin-left: 5px !important
    }

    .inner-top .heading {
        font-size: 22px;
        margin-bottom: 20px;
        white-space: nowrap
    }

    .heading-my-notifications {
        margin-top: 40px
    }

    .custom-credential-accordian .card {
        flex: initial !important;
        max-width: 100% !important
    }
}

@media only screen and (max-width:640px) {
    .col-sm-3.messaging-div.chat-list.p-0.openchat + .messaging-div.chat-body {
        position: fixed;
        top: -10px;
        z-index: 10000;
        max-width: 100% !important;
        height: calc(100vh + 10px);
        min-height: calc(100vh + 10px)
    }

        .col-sm-3.messaging-div.chat-list.p-0.openchat + .messaging-div.chat-body .rz-listbox-header {
            top: -70px
        }

    .btn-close-chat-window {
        display: block;
        position: absolute;
        right: 2px;
        z-index: 9999;
    }

        .btn-close-chat-window svg {
            width: 30px;
            height: 30px
        }

    .chats-body-wrapper, .chats-body-wrapper .rz-listbox-list-wrapper {
        min-height: calc(100% - 280px);
        max-height: calc(100vh - 280px)
    }

    .chats-body-wrapper {
        bottom: 150px
    }

        .chats-body-wrapper .chat-box {
            max-width: 100%
        }

    .chat-body-footer {
        padding: 15px
    }

    .form-wrapper {
        width: 96%;
        top: 10px;
        transform: translate(-50%,10px)
    }

    .action-control .btn {
        padding: 8px 14px;
        font-size: 14px;
        min-width: auto
    }

    .chat-body-footer > .form-group.d-flex {
        flex-direction: column;
        justify-content: space-between;
        min-height: 110px
    }

    .chat-body-footer .btn-success {
        min-width: 100%;
        margin-left: initial !important
    }

    .chat-head-content > div.font-18.mb-2 {
        word-break: break-all;
        font-size: 16px !important
    }

    .chat-head-content > div.font-16 {
        font-size: 14px !important
    }

    .manage-control-btn {
        flex: initial;
        max-width: initial
    }
}

@media only screen and (max-width:575px) {
    .action-control {
        justify-content: start !important
    }

    .custom-accordion .accordion-button, .rz-button-text {
        font-size: 16px
    }

    .rz-dropdown, .rz-multiselect {
        display: block
    }

    .main-body-content .renewal-application-wrapper .row.input-group.required-fields {
        width: 92%
    }

    .chatOpen .messaging-div.chat-body {
        position: absolute;
        z-index: 99999;
        max-width: 100%;
        max-height: 100vh;
        min-height: 100vh;
        top: 0
    }

    .accordion-wrapper select:disabled {
        margin-left: -3px !important;
        width: calc(100vw - 60px) !important
    }

    #flush-collapseTwo .accordion-body .row.input-group:nth-child(5) .col-sm-3 {
        flex: initial;
        max-width: 100%
    }

    .today-separator {
        display: none
    }

        .today-separator + div.text-center.col-sm-2 {
            border-top: 1px solid #ccc
        }

    .cam-action-controls {
        justify-content: center;
        width: 100%;
        flex-flow: column wrap;
        align-content: space-around
    }

        .cam-action-controls .btn {
            margin-bottom: 10px
        }
}

@media only screen and (max-width:440px) {
    .nav-tabs.messaging-tabs > .nav-item > button {
        padding: 10px !important
    }
}

.modal-content.view-application-details {
    width: calc(100vw - 150px);
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-height: calc(100vh - 150px);
}

.modal-content.vault-documents {
    width: 150%;
    position: absolute;
    transform: translateY(-1%);
    left: -25%;
    max-height: 80vh;
}

.vault-documents .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-header.view-application {
    background: #e3e3e3 !important;
}

.close.modal-close-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (min-width:1200px) {
    .vault-controls {
        padding-right: 15px;
    }
}
