@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');


:root {
    --primary-color: #eba100;
    --primary-color-hover: #c38500;

    --white: #ffffff;
}

body{
    font-family: "Nunito", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6{
    margin-bottom: 0px;
    font-family: "Nunito", sans-serif;
    font-weight: 600;
}

p{
    margin-bottom: 0px;
    font-family: "Nunito", sans-serif;
    font-weight: 400;
}

span,a{
    font-family: "Nunito", sans-serif;
    font-weight: 400;
}

.login-box,
.register-box {
    width: 420px;
}

.main-sidebar{
    background-color: #f6f8fa;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 50px 0px;
    border-right: 1px solid #e9ebec;
}

.login-logo img {
    max-width: 250px;
    width: 100%;
    display: block;
    margin: 0 auto;
}

.main-login .btn-link {
    color: #287f71;
    text-decoration: none;
    font-weight: 600;
}

.navbar-nav .nav-item .nav-link:hover{
    color: #000 !important;
}
.navbar{
    vertical-align: middle;
}
.navbar-nav .nav-item .dropdown img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px !important;
    border: 1px solid #d1d1d1;
    box-shadow: 0px 0px 5px #00000033 !important;
}
.navbar-expand .navbar-nav{
    align-items: center;
    gap: 20px !important;
}
.main-header{
    padding: 10px 20px !important;
}
.main-header .navbar-nav .nav-item .dropdown a {
    color: #000;
    font-weight: 600;
    padding: 10px;
    border-right: 1px solid #e1e0e0;
}
.nav.nav-pills.nav-sidebar .nav-item .nav-link .right {
    position: absolute;
    top: 25px;
}
.main-header {
    z-index: 1034;
    border-bottom: 1px solid #eae7e7;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.btn-primary {
    background-color: #287F71 !important;
    border-color: #287F71 !important;
    color: var(--white);
    font-family: "Nunito", sans-serif;
    font-weight: 400;
}
.nav-link:focus {
    color: #287F71 !important;
}

.sidebar-collapse.sidebar-mini .main-sidebar .nav-sidebar .nav-link, .sidebar-collapse.sidebar-mini-md .main-sidebar .nav-sidebar .nav-link, .sidebar-collapse.sidebar-mini-xs .main-sidebar .nav-sidebar .nav-link {
    width: 3.6rem !important;
}

#quantityForm {
    margin-bottom: 0px;
}

.btn-primary:hover {
    background-color: #2e524a;
    border-color: #2e524a;
    color: var(--white);
}
.btn-primary:focus{
    background-color: #2e524a;
    border-color: #2e524a;
}

.login-box .card {
    border-radius: 10px;
    overflow: hidden;

}

.login-card-body,
.register-box-msg {
    padding: 30px 35px;

}

.login-box-msg,
.register-box-msg {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
    color: #444545;
    line-height: normal;
}

.alert-box {
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600 !important;
    padding: 6px 10px;
    margin-bottom: 15px;
}
/* / Table / */

.ui-datepicker {
    background-color: #ffffff ; 
    padding: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 5px;
}
.ui-datepicker .ui-datepicker-calendar{
    width: 100%;
    padding: 10px !important;
}

.card {
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    margin-bottom: 1rem;
    border-radius: 10px;
}

.alert-area .alert{
    text-align: center !important;
}
.ui-datepicker-header{
    display: flex;
    justify-content: space-between;
    padding: 10px;
}
.ui-datepicker-header a{
    color: #000;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}
.ui-datepicker-calendar td,th {
    padding: 10px;
}
.ui-datepicker-calendar td a {
    
    color: #000 !important;
    text-decoration: none;
}
.ui-datepicker .ui-widget-content span{
    color: red !important;
}
.ui-datepicker .ui-datepicker-header{
    display: flex;
    gap:20px;
}
.view-table {
    padding: 20px;
}
.view-table .table{
    border: 1px solid #d5d5d5 !important;
    border-radius: 10px !important;
}
.view-table .table th {
    background-color: #2E524A !important;
    color: #fff;
    padding: 10px 12px;
    font-weight: 500;
    border-bottom: none;
    border: 1px solid #2E524A !important;
}
.table thead th{
    vertical-align: top;
}
.table-title .btn {
    background-color: #132420 !important;
    border: none;
}
.table-title .btn:visited{
    box-shadow: none;
}
.user-panel .admin-logo img{
    width: 100%;
}
.sidebar .nav .nav-item .nav-link{
    padding: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}
.sidebar .nav .nav-item .nav-link:hover{
    color: #287F71;
    font-weight: 600;
}
.sidebar .nav .nav-item .nav-link:focus{
    border: none;
}
.sidebar .nav .nav-item .nav-link.active{
    color: #287f71;
    font-weight: 600;
    background-color: #287F711a;
    padding: 20px;
}
.sidebar-collapse .main-sidebar .nav-item .nav-link i {
    text-align: left;
}
.card-body ul li{
    list-style: none;
}

.inventory .form-select{
    padding: 10px 20px;
    background-color: #132420;
    color: #fff;
    border-radius: 5px;
    border: none;
    min-width: 300px;
}

.form-select{
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M7 10l5 5 5-5z" fill="%23fff"/%3E%3C/svg%3E') !important;
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    min-width: 120px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right 2px center !important;
    background-size: 25px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.view-table input{
    padding: 8px;

}

.nav-sidebar .menu-is-opening>.nav-link i.right, .nav-sidebar .menu-open>.nav-link i.right{
    transform: rotate(180deg) !important;
}

.main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    min-height: calc(100px - 100%);
    
}
.main-footer span{
    font-size: 15px;
}
.main-footer .float-right {
    display: none !important;
}
.main-footer a{
    color: #287F71;
    font-weight: 600;
}
.left-logo{
    height: 100%;
    object-fit: cover;
}
.left-logo img{
    max-width: 200px;
}
.company-table th:last-child {
    max-width: 200px;
    width: 180px;
}

.company-table td:last-child{
    white-space: nowrap;
}
.company-table td:last-child button{
    display: inline-block;
}
.company-table td button:last-child{
    margin-right: 0px;

}
.company-table .btn-danger{
    background-color: #b50c1c;
}
.company-table.collapsed tbody > tr:not(.child) td:first-child{
    position: relative;
    padding-left: 40px;
}
.company-table.collapsed tbody > tr:not(.child) td:first-child::before{
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    width: 20px;
    height: 20px;
    color: #ffffff;
    background-color: #287F71;
    border-radius: 18px;
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translate(0, -50%);
    padding-bottom: 1px;
}
.company-table.collapsed tbody > tr:not(.child).parent td:first-child::before{
    content: '-';
    padding-bottom: 2px;
}
.company-table tr.child td.child{
    padding: 0;
} 
.company-table tr.child td.child table{
    width: 100%;
    background-color: #f4f6f9;
}
.company-table tr.child td.child table tr:first-child td{
    border: none;
}
.selected-company img{
    height: 120px;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    padding: 10px;
}
.selected-company p{
    font-size: 18px;
    font-weight: 600;
    text-transform: capitalize;
}
.selected-company{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.selected-company span{
    font-size: 20px;
    font-weight: 700;
    color: #287F71;
    padding: 10px;
    text-transform: capitalize;
}
.nav.nav-pills.nav-sidebar {
    background-color: #fff;
    border-radius: 5px;
}
.inventory-content{
    min-height: 400px;
}
.company-title{
    padding: 20px !important;
}
.report-title{
    padding: 20px 20px 0px 20px;
}
.report-title h1{
    font-size: 25px;
}
.company-title h1{
    font-size: 25px;
    margin-bottom: 0px;
    text-transform: capitalize;
}
.view-table .btn-danger, .btn-success, .btn-info{
    padding: 10px;
    border-radius: 5px;
}

.view-table .btn-info, .btn-success {
    background-color: #27796e;
    border-color: #27796e;
}
.view-table button svg {
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.view-table svg {
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.view-table td input{
    width: 100%;
}
.view-table td{
    vertical-align: middle;
}

.table.company-table{
    border: 1px solid #e0e0e0;
}
.company-detail-tab{
    padding: 15px 20px;
    margin-top: 0px !important;
}
.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .5);
    vertical-align: middle;
    align-items: center;
    display: flex;
}

.wrapper{
    position: unset;
}
.card-header::after{
    display: none;
}
.card-header h2 {
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
}

.inventry-head select {
    padding: 10px 15px;
    border: 1px solid #dfdddd;
    border-radius: 5px;
    text-align: left;
}

.inventry-head select {
    padding: 10px 15px;
    border: 1px solid #dfdddd;
    border-radius: 5px;
    text-align: left;
    background-repeat: no-repeat;
    opacity: 1;
}

.inventry-head-main h2{
    font-size: 30px;
    font-weight: 600;
}

/*********/
/*Layout*/
/********/

.inventry-btn + .btn-primary{
    margin-top: 20px;
}
.inventry-btn + .btn-primary:hover{
    background-color: #0e594d !important;
}
.inventry-btn .btn-primary-dark{
    background-color:#08473d !important;
}

.inventry-btn .btn-primary-dark:hover{
    background-color: #287F71 !important;
}

.wrapper .content-wrapper{
    min-height: calc(100vh - 100px)!important;
    position: relative;
    padding-bottom: 60px;
}
.layout-fixed .wrapper .sidebar {
    height: calc(100vh - 0px);
    background: #fff;
}
.content-wrapper{
    height: auto;
}

/******************/
/* / pagination css / */
/******************/

.paginate-icon svg{
    width: 20px;
    height: 20px;
}
.paginate-icon nav div {
    display: flex;
    justify-content: center;
    align-items: center;
}
.paginate-icon div:first-child {
    display: flex;
    width: 100%;
    padding: 10px 0px;
    gap: 270px;
}
.paginate-icon div:first-child a {
    height: 40px;
}
.paginate-icon nav div:last-child div:last-child {
    background: white;
    position: absolute;
    bottom: 51px;
    margin: 0 auto;
    left: 50%;
    transform: translate(-45%, 0);
}
.company-pagination nav div:last-child div:last-child{
    background: white;
    position: absolute;
    bottom: 71px;
    margin: 0 auto;
    left: 50%;
    transform: translate(-45%, 0);
}
.report-pagination nav div:last-child div:last-child{
    background: white;
    position: absolute;
    bottom: 67px;
    margin: 0 auto;
    left: 50%;
    transform: translate(-45%, 0);
}

.paginate-icon nav div a+span:last-child {
    margin-left: 0px !important;
}
.paginate-icon nav div:last-child div:last-child a:hover {
    background-color: #287f71 !important;
    color: #fff !important;
}
.paginate-icon nav div:last-child div:last-child a{
    color: #287f71 !important;
    font-weight: 600;
}
.paginate-icon nav div:last-child div:last-child span{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 40px !important;
}
.paginate-icon nav div:last-child div:last-child a{
    height: 40px !important;
}

.report-highlight{
    width: 200px;
    font-size: 12px;
    padding: 0px 50px;
    font-weight: 600;
    position: relative;
    top: 0px;
}
.report-highlight .yellow-line{
    position: relative;
}
.report-highlight .yellow-line:before{
    content: "";
    background-color: #ffdd57;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 0;
    left: -25px;
    border-radius: 50%;
}
.report-highlight .blue-line{
    position: relative;
}
.report-highlight .blue-line::before{
    content: "";
    background-color: #569ff7;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 0;
    left: -25px;
    border-radius: 50%;
}

/****************/
/***Sidebar CSS**/
/****************/

.sidebar-mini.sidebar-collapse .main-sidebar:hover {
    width: 4.6rem !important;

}
.sidebar-mini.sidebar-collapse .main-sidebar, .sidebar-mini.sidebar-collapse .main-sidebar::before{
    width: 4.6rem !important;
}
.sidebar-mini.sidebar-collapse .nav-sidebar .nav-link p, .sidebar-mini.sidebar-collapse .nav-sidebar:hover .nav-link p{
    display: none !important;
}

.sidebar-collapse .nav-item .sub-nav {
    margin-left: 0;
}
li.nav-item.sub-nav .nav-link {
    width: 90%;
    margin-left: 20px;
    margin-right: 0 !important;
}

.sidebar-collapse .nav-item.sub-nav .nav-link{
    width: 100%;
    margin-left: 0px;
}

.nav-sidebar .nav-item .nav-link:hover{
    background-color: #287F711a;
}

/*******/
/**end**/
/*******/

/* Modal css */

.modal-content .modal-body form{
    margin-bottom: 0px;
}

/* end */

@media(max-width: 767px){
    .main-footer {
        flex-direction: column;
        gap: 5px;
    }
    .main-footer span{
        font-size: 14px;
    }
    .table thead th{
        vertical-align: top;
        font-size: 14px;
    }
    .inventry-btn .btn-danger{
        padding: 5px;
        font-size: 12px;
    }
    .view-table td input {
        min-width: 100px;
    }
    .view-table td{
        font-size: 12px;
    }
    .inventry-btn{
        padding: 0 10px !important;
    }
    .inventry-btn .btn-primary{
        padding: 5px !important;
        font-size: 12px;
    }
    .inventry-btn + .btn-primary {
        font-size: 14px;
        padding: 5px;
        max-width: 60px;
        text-align: center;
        display: flex !important;
        justify-content: center;
    }
    .view-table .btn-danger, .btn-success, .btn-info {
        padding: 8px;
    }
    .company-title h1{
        font-size: 20px;
    }
    .report-title h1{
        font-size: 20px;
    }
    .company-title .btn-primary{
        font-size: 12px;
        padding: 8px;
    }
    .company-table th:last-child{
        max-width: 100px;
    }
    .report-highlight{
        padding: 0px 30px;
    }
    .paginate-icon div:first-child{
        display: flex;
        gap: 0;
    }
    .paginate-icon nav div{
        display: unset;
    }
    .company-pagination nav div:last-child div:last-child{
        position: relative;
        bottom: 0px ;
        left: 0;
    }
    .paginate-icon nav div:last-child div:last-child span{
        display: flex;
        gap: 1px;
        box-shadow: none !important;
    }
    .company-title .btn-primary {
        min-width: 100px;
    }
    .inventry-head-main + form table{
        margin-bottom: 10px;
        padding: 10px !important;
    }
    .inventry-head-main + form .view-table{
        padding: 10px !important;
    }
    .inventry-head-main .inventry-head {
        width: 100%;
        display: flex;
        justify-content: end !important;
        margin-top: 10px;
    }
    .report-highlight + .btn-primary{
        margin-top: 10px;
    }
    .sidebar .nav .nav-item .nav-link{
        font-size: 13px;
    }
    .navbar-nav .dropdown.test .btn-primary{
        padding: 5px;
        font-size: 12px;
    }
    .right-auth .form-check{
        justify-content: start !important;
        display: flex !important;

    }
    .alert-warning{
        font-size: 12px !important;
    }
    
    .company-title input {
        font-size: 12px;
        padding: 5px;
    }
    .report-pagination nav div:last-child div:last-child {
        background: white;
        position: relative;
        bottom: 0;
        margin: 0 auto;
        left: 0;
        transform: translate(-45%, 0);
    }
}

@media(max-width: 480px){
    .navbar-expand .navbar-nav .nav-link {
        padding-right: 10px;
        padding-left: 10px;
    }
    .navbar-expand .navbar-nav {
        gap: 0;
    }
    .main-footer span {
        font-size: 12px;
    }
    .company-title{
        padding: 10px !important;
        margin: 0 !important;
    }
    .view-table{
        padding: 10px !important;
    }
    .view-table .paginate-icon{
        margin-top: 10px !important;
    }
    .company-table .btn-success, .company-table .btn-danger, .company-table .btn-info{
        padding: 5px;
    }
    .company-table .btn-success svg, .company-table .btn-danger svg, .company-table .btn-info svg{
        font-size: 10px !important;
        width: 12px;
        height: 12px;
    }
    .table thead th{
        vertical-align: top;
        font-size: 12px;
    }
    .report-title{
        padding: 10px 10px 0px 10px;
    }
}

@media screen and (max-width:375px) {
    .report-highlight{
        margin-top: 10px;
    }
}

/* Table Responsive */

.responsive-table tfoot tr td .responsive-td-label,
.responsive-table tbody tr td .responsive-td-label{
    display: none;
}
.gap-1{
    gap: 10px;
}
@media (max-width: 768px){
    .table.responsive-table{
        border:  none !important;
    }
    .responsive-table thead{
        display: none;
    }
    .responsive-table tfoot tr,
    .responsive-table tbody tr {
        border: 1px solid #d5d5d5 !important;
        margin-bottom: 20px;
    }
    .responsive-table tfoot tr td:first-child,
    .responsive-table tbody tr td:first-child{
        border-top:  0px;
    }
    .responsive-table tfoot tr td .responsive-td-label,
    .responsive-table tbody tr td .responsive-td-label{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 50%;
        background-color: rgb(39, 121, 110, 0.08);
        font-weight: 600;
        color: #101828;
    }
    .responsive-table tfoot tr td .responsive-td-value,
    .responsive-table tbody tr td .responsive-td-value{
        width: 50%;
    }
    .responsive-table tfoot tr td .responsive-td-label,
    .responsive-table tfoot tr td .responsive-td-value,
    .responsive-table tbody tr td .responsive-td-label,
    .responsive-table tbody tr td .responsive-td-value{
        padding: 6px 10px;
    }
    .responsive-table tfoot tr,
    .responsive-table tbody tr{
        display: flex;
        flex-direction: column;
    }
    .responsive-table tfoot tr td,
    .responsive-table tbody tr td{
        padding: 0px;
        display: flex;
        flex-wrap: wrap;

    }
}