/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');*/
@font-face {
    font-family: "Poppins";
    src: url("Poppins/Poppins-Regular.ttf");
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    overflow-x: hidden;
}
.container{
    position: relative;
    width: 100%;
}
.navigation{
    position: relative;
    width: 240px;
    height: 100%;
    background: #003147;
    transition: 0.5s;
    overflow: hidden;   
}
.navigation.active{
    width: 60px;
}

.navigation ul{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    
}
.navigation ul li{
    position: relative;
    width: 100%;
    list-style: none;
}
.navigation ul li:hover{
    background: #03a9f4;
}
.navigation ul li:nth-child(1){
    margin-bottom: 20px;
}
.navigation ul li:nth-child(1):hover{
    background: transparent;

}
.navigation ul li a{
    position: relative;
    display: block;
    width: 100%;
    display: flex;
    text-decoration: none;
    color: white;
}
.navigation ul li a .icon{
    position: relative;
    display: block;
    min-width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;

}
.navigation ul li a .icon .fa{
    color: white;
    font-size: 18px;
}
.navigation ul li a .title{
    position: relative;
    display: block;
    padding: 0 10px;
    height: 60px;
    line-height: 60px;
    white-space: nowrap;
}

.main{
    position: fixed;
    background: #f5f5f5;
    min-height: 100vh;
    width: calc(100% - 240px);
    left: 240px;
    transition: all 0.5s ease;

    /*position: relative;*/
    /*width: calc(100% - 240px);*/
    /*!*padding-top: 70px;*!*/
    /*left: 240px;*/
    /*min-height: 100vh;*/
    /*height: 100%;*/
    /*!*min-height: 150%;*!*/
    /*background: whitesmoke;*/
    /*transition: 0.5s;*/
    overflow: auto;
}
.main.active{
    width: calc(100% - 60px);
    left: 60px;
}


.main .topbar{
    display: flex;
    justify-content: space-between;
    height: 80px;
    background: #fff;
    width: calc(100% - 240px);
    align-items: center;
    position: fixed;
    z-index: 100;
    padding: 0 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    /*position: fixed;*/
    /*margin-left: 300px;*/
    /*position: fixed;*/
    /*width: 100%;*/
    /*background: white;*/
    /*height: 60px;*/
    /*padding: 0 20px;*/
    /*display: flex;*/
    /*z-index: 100;*/
    /*justify-content: space-between;*/
    /*align-items: center;*/
}

.topbar.active {
    display: flex;
    justify-content: space-between;
    height: 80px;
    background: #fff;
    align-items: center;
    position: fixed;
    z-index: 100;
    padding: 0 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    width: calc(100% - 60px);
}

.footer {
    position: fixed;
    /*margin-left: 300px;*/
    width: 100%;
    margin-left: 300px;
    bottom: 0;
    background: #1b1b1b;
    height: 40px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    transition: 0.9s;
    overflow: auto;
}

.footer p {
    color: whitesmoke;
}

.footer.active {
    width: calc(100% - 60px);
    left: -240px;
}

.main .topbar .search{
    position: relative;
    max-width: 200px;
    width: 100%;
    margin: 0 20px;

    /*display: flex;*/
    /*flex-direction: row;*/
    /*justify-content: center;*/
    /*position: relative;*/
    /*margin-top: 5px;*/
}


.main .topbar .search form input{
    height: 44px;
    width: 100%;
    outline: none;
    background: #F5F6FA;
    border: 2px solid #EFEEF1;
    border-radius: 6px;
    font-size: 18px;
    padding: 0 15px;
    /*width: 100%;*/
    /*height: 44px;*/
    /*border-radius: 50px;*/
    /*padding: 0 24px;*/
    /*border: 0;*/
    /*background-color: rgba(33, 33, 33, 0.12);*/
    /*font-weight: 500;*/
    /*outline: none;*/
}

.main .topbar .search form input::placeholder{
    opacity: 1;
    color: #6c6c6c;
}

.main .topbar .search form .bs {
    position: absolute;
    height: 40px;
    width: 40px;
    background: #2697FF;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    font-size: 22px;
    transition: all 0.4 ease;
    /*position: absolute;*/
    /*height: 44px;*/
    /*border-top-right-radius: 50px;*/
    /*border-bottom-right-radius: 50px;*/
    /*border: 0;*/
    /*font-size: 20px;*/
    /*color: #121212;*/
    /*background-color: transparent;*/
    /*cursor: pointer;*/
}

.main .topbar .toggle {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
}

.main .topbar .toggle i {
    font-size: 35px;
    margin-right: 10px;
}
.main .topbar .icons{
    display: flex;
    align-items: center;
    background: #F5F6FA;
    border: 2px solid #EFEEF1;
    border-radius: 6px;
    height: 50px;
    min-width: 190px;
    padding: 0 15px 0 2px;
    /*display: flex;*/
    /*flex-direction: row;*/
    /*justify-content: space-between;*/
    /*padding: 20px;*/
    /*align-items: center;*/
    /*color: #6c6c6c;*/
}

.main .topbar .profile-details img {
    height: 40px;
    width: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.main .topbar .profile-details .admin_name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0 10px;
    white-space: nowrap;
}

.main .topbar .profile-details i {
    font-size: 25px;
    color: #333;
}
.main .topbar .icons a{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 20px;
    font-size: 18px;
}
.main > .topbar > .icons > .not-ico > .count{
    position: absolute;
    top: 2px;
    background-color: #B53C2C;
    color: white;
    border-radius: 3px;
    font-size: 15px;

}

.main .topbar .icons ul li{
    list-style: none;
}


.main > .topbar > .icons > .not-ico:hover > ul{
   visibility: visible;
    opacity: 1;
}

.main > .topbar > .icons > ul > li{
    position: relative;
    padding: 1rem 0;
}

.main .topbar .icons ul{
    margin-top: 350px;
    background-color: white;
    border: 1px solid #ccc;
    padding: 2rem;
    display: none;
    opacity: 0;

}

.main .topbar .icons ul li{
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
}

.main .topbar .icons ul li:last-child{
    border-bottom: 0;
}
.main .topbar .icons #logout{
    color: #ff253a;
}

.main .home-content {
    position: absolute;
    padding-top: 80px;
    height: max-content;
}

/*.toggle{*/
/*    position: relative;*/
/*    width: 60px;*/
/*    height: 60px;*/
/*    cursor: pointer;*/
/*}*/
/*.toggle::before{*/
/*    content: '\f0c9';*/
/*    font-family: 'Font Awesome 5 Free';*/
/*    font-weight: 900;*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    line-height: 60px;*/
/*    font-size: 24px;*/
/*    text-align: center;*/
/*    color: black;*/

/*}*/
.topbar.search {
    position: relative;
    height: 50px;
    max-width: 550px;
    width: 100%;
    margin: 0 20px;
}

.topbar.search label {
    position: relative;
    width: 100%;
}

.topbar.search label input {
    height: 100%;
    width: 100%;
    outline: none;
    background: #F5F6FA;
    border: 2px solid #EFEEF1;
    border-radius: 6px;
    font-size: 18px;
    padding: 0 15px;
}

.topbar.search label .fa {
    position: absolute;
    left: 15px;
    top: 4px;
     
}
.user{
    position: relative;
    min-width: 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}
.user img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cardBox{
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}
.cardBox .card{
    position: relative;
    background: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}
.cardBox .card .numbers{
    position: relative;
    font-size: 2em;
    font-weight: 500;
}
.cardBox .card .cardName{
    color: #999;
}
.cardBox .card .iconBox{
    font-size: 1.5em;
    color: #003147;
}
.details{
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
}
.details .recentOrders{
    position: relative;
    display: grid;
    min-height: 530px;
    background: #fff;
    padding: 20px;
}
.cardHeader{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.cardHeader h2{
    font-weight: 600;
}
.btn{
    position: relative;
    padding: 5px 10px;
    background: #03a9f4;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    border: none;
}

.btn-lg, .btn-group-lg > .btn {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.btn-sm, .btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-block + .btn-block {
    margin-top: 0.5rem;
}

input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
    width: 100%;
}


.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #0062cc;
    border-color: #005cbf;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-secondary:focus, .btn-secondary.focus {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
    box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}

.btn-secondary.disabled, .btn-secondary:disabled {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #545b62;
    border-color: #4e555b;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-danger:focus, .btn-danger.focus {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}

.btn-danger.disabled, .btn-danger:disabled {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #bd2130;
    border-color: #b21f2d;
}

.btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus,
.show > .btn-danger.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}
.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn.disabled, .btn:disabled {
    opacity: 0.65;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.btn-success{
    background-color: #28a745 !important;
    border-color: #c3e6cb;
    text-align: center;
}
.success{
    margin-top: 20px;
    color: white;
    background-color: #28a745 !important;
    border-color: #c3e6cb;
    height: 50px;
    padding: 5px;
    width: 500px;
    text-align: center;
}
.danger{
    margin-top: 20px;
    color: white;
    background-color: #ff253a !important;
    border-color: #c3e6cb;
    text-align: center;
}
.warning{
    margin-top: 20px;
    color: white;
    background-color: #ffb01d !important;
    border-color: #c3e6cb;
    text-align: center;
}

.details table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.details table thead td{
    font-weight: 600;
}
.details .recentOrders table tr{
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.details .recentOrders table tbody tr:last-child{
    border-bottom: none;
}
.details .recentOrders table tbody tr:hover{
    background: #03a9f4;
    color: #fff;
}
.details .recentOrders table tr td{
    padding: 9px 5px;
}
.details .recentOrders table thead tr td:last-child,
.details .recentOrders table tbody tr td:last-child{
    text-align: right;
}
.details .recentOrders table thead tr td:nth-child(2),
.details .recentOrders table tbody tr td:nth-child(2){
    text-align: right;
    padding-right: 20px;
}
.details .recentOrders table thead tr td:nth-child(3),
.details .recentOrders table tbody tr td:nth-child(3){
    text-align: center;
    padding-right: 20px;
}
.status{
    position: relative;
    padding: 2px 4px;
    background: #f00;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
}
.slide-menu{
    display: none;
}

.main #loading_spinner{
    display: none;
    justify-content: center;
    align-content: center;
    align-self: center;
    
}

.pages{
    padding: 20px;
}
.pages a{
    text-decoration: none;
    padding: 10px;
    color: #2f323a;
    transition: 0.5s;
}
.pages a:hover{
    background: #19B3D3;
    color: #dddddd;
    transition: 0.5s;
}

/*Loan*/

.loan-content{
    width: 100%;
    padding: 0 30px;
}

.loan-content form{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0 12px 0;

}


.loan-content form .input-box{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin: 25px 0;
}

.loan-content .input-box input[type="text"], .loan-content .input-box input[type="number"], .loan-content .input-box input[type="disabled"] {
    margin: 14px;
    width: 100%;
    height: 56px;
    border: 1px solid #cbced1;
    border-radius: 5px;
    padding: 0 25px;
}

.loan-content .input-box input:focus,
.loan-content .input-box input:valid{
    border-color: rgb(7, 185, 81);
}

.max-content {
    width: max-content;
}

.fit-content {
    width: fit-content;
}

@media (max-width: 1240px) {
    .main {
        width: calc(100% - 60px);
        left: 60px;
    }

    .sidebar.active ~ .main {
        /* width: calc(100% - 220px); */
        overflow: hidden;
        left: 220px;
    }

    .main .topbar {
        width: calc(100% - 60px);
        left: 60px;
    }

    .sidebar.active ~ .main .topbar {
        width: calc(100% - 220px);
        left: 220px;
    }

}

@media (max-width: 400px) {
    .main {
        width: 100%;
        left: 0;
    }

    .sidebar.active ~ .main {
        left: 60px;
        width: calc(100% - 60px);
    }

    .main .topbar {
        width: 100%;
        left: 0;
    }

    .sidebar.active ~ .main .topbar {
        left: 60px;
        width: calc(100% - 60px);
    }
}