:root{
    --red: #db4f55;
    --red-darker:#aa494d;
}

html,
body {
    height: 100%;
    background-color: #f5f5f5;
    font-family:Inter var,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
}
.font-bold{
    font-weight: bold;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container{
    padding: 70px 15px 20px;
    position: relative;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
    input, select, textarea {
        font-size:16px !important;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.panel{
    overflow:hidden;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.panel img.panel-img{
    object-fit: contain;
    width: 100%;
    background-color: #606060;
}
.panel{
    border:0;
}
.panel .panel-footer{
    background: #f6f6f6;
    border:0;
}
.panel.panel-red{
    background: var(--red);
    color:  white;
}
.panel.panel-red .panel-heading{
    border-bottom-color: var(--red);
}

.sidebar{
    position:fixed;
    top:0px;
    bottom:0;
    left:0;
    z-index:1000;
    display:block;
    padding:20px;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #444444;
    border-right:1px solid #eee;
    transition: transform 100ms ease-in-out;
}
.sidebar.toggle-close{
    transform: translateX(-100%);
    transition: transform 100ms ease-in-out;
}
@media (max-width: 768px){
    .sidebar{
        width:300px;
    }
    body{
        font-size: 12px;
    }
    h4, .h4{
        font-size:16px;
    }
    h1, .h1{
        font-size:26px;
    }
    h2, .h2{
        font-size: 24px;
    }
    .btn-block{
        margin-top:15px;
    }

    /* table change to card view  */
    table.table-card-mobile, table.table-card-mobile thead, table.table-card-mobile tbody, table.table-card-mobile th, table.table-card-mobile td, table.table-card-mobile tr{
        display: block;
    }
    table.table-card-mobile tbody tr td:first-child{
        padding-left:8px !important;
    }
    table.table-card-mobile > thead > tr {
        position: absolute;
        top:-9999px;
        left:-9999px;
    }
    table.table-card-mobile > tbody > tr > td{
        border-top: none;
    }
    table.table-card-mobile tr {
        border-bottom: 1px solid #f6f6f6;
    }

}
@media (max-width:991px){
    .navbar-toggle{
        float: left;
        margin-left:5px;
        display: block !important;
    }
    .navbar-worker .navbar-toggle{
        float:right;
    }
}
@media (min-width:991px){
    .sidebar{
    }
    .sidebar.toggle-close{
        transform:translateX(0px);
        transition: transform 100ms ease-in-out;
    }
}
/*
.nav-sidebar{
    margin-right:-21px;
    margin-bottom:20px;
    margin-left:-20px;
} */

.nav-sidebar > li.text{
    padding-left:20px;
    padding-right:20px;
    color: #f8f8f8;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.02rem;
    padding-bottom:15px;
    margin-bottom:15px;
    border-bottom: 1px solid #606060;
}

/* sub nav */
.nav-sidebar ul {
    list-style-type: none;
    padding-left:15px;
}
.nav-sidebar ul > li{
    margin-top:5px;
}
.nav-sidebar ul > li > a {
    font-size:14px;
    padding-right:20px;
    padding-left:20px;
    color: #f8f8f8;
    font-weight:normal;
    letter-spacing: 0.05rem;
    border-left:4px solid transparent;
}

.nav-sidebar > li > a {
    font-size:18px;
    padding-right:20px;
    padding-left:20px;
    color: #f8f8f8;
    font-weight:normal;
    letter-spacing: 0.05rem;
    border-left:4px solid transparent;
}
.nav-sidebar .close{
    color: white;
    text-shadow: none;
    opacity: 1;
    font-size:24px;
}

.nav-sidebar > li.active > a, .nav-sidebar > .active > a:hover, .nav-sidebar > .active > a:focus, .nav-sidebar > li > a:hover, .nav-sidebar > li > a:focus, .nav-sidebar ul > li.active {
    /* color: var(--red); */
    color:#f8f8f8;
    border-left:4px solid var(--red);
    background-color: inherit;
    font-weight: bold;
}

.btn.btn-red{
    background-color: var(--red);
    color: white;
}

.btn.btn-red:hover{
    background: var(--red-darker);
}
.btn-group > .btn-red:not(:first-child){
    border-left: 1px solid var(--red-darker);
}
/* If table is within a panel, we set the first and the last child of td/th to 15px so it aligns nicely with the panel-body */

.panel .table tr th:first-child, .panel .table tr td:first-child{
    padding-left:15px;
}

.panel .table tr th:last-child, .panel .table tr td:last-child{
    padding-right:15px;
}

.btn{
    border-radius: 8px;
}

.borderless > tbody > tr > td, .borderless > tbody > tr > th {
    border-top: none;
}

.sortable-inventory tr{
    cursor: grab;
}

.list-justify{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* only for ready-collection page  */
.ready-collection.list-justify{
    flex-wrap: wrap;    
}
.ready-collection.list-justify .inventory_name{
    width:50%;
}
@media screen and (max-width:425px) {
    .ready-collection.list-justify div{
        width:100%;
        margin-top:5px;
    }
    .ready-collection.list-justify .inventory_name{
        width:100%;
    }   
}



.img-contain{
    width:100%;
    height:100%;
    object-fit: contain;
    background: #444444;
    border-radius: 8px;
}
.breadcrumb{
    background: white;
}
.label-rounded{
    border-radius: 100px;
}

.well{
    border:none;
}
.swiper-container {
  width: 100%;
  height: 100%;
}
.swiper-wrapper{
    padding-top:10px;
    padding-bottom:10px;
    margin-bottom:30px;
}

.swiper-slide {
  border-radius: 8px;
}


.swiper-slide.dashboard-inventory{
    /* width:100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); */


}

.swiper-slide.dashboard-inventory  img.panel-img{
    /* object-fit: cover;
    object-position: center;
    width: 100%;
    background-color: #444444; */

}

.truncate{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.panel > .panel-heading{
    border-bottom:1px solid #ddd;
}

.dropdown-menu.dropdown-right{
    right:0;
    left:auto;
}


.table.table-align-center tbody > tr > td, .table.table-align-center tbody > td > th{
    vertical-align: middle;
}

.footer {
    display: flex;
    justify-content: space-between;
}

[class*='col-']{
    padding-left:7.5px;
    padding-right:7.5px;
}
.row{
    margin-left:-7.5px;
    margin-right:-7.5px;
}
.form-horizontal .form-group {
    margin-left:-7.5px;
    margin-right:-7.5px;
}

.d-inline{
    display: inline-block;
    width: auto;
}
.d-inline > label{
    display: inline-block;
}
.d-inline > input , .d-inline > select {
    display: inline-block;
    width: auto;
}

.popover ol{
    padding-left:15px;
    font-size:12px;
}
.popover{
    font-size:12px;
}

.flex{
    display: flex;
    align-items: baseline;
}
.text-red{
    color: var(--red);
}

.font-bold{
    font-weight: bold;
}

@media(max-width:376px){
    .btn{
        /* margin-bottom:5px; */
    }
}

.no-data-box{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media print {
    canvas#department-issued-chart {
        min-height: 100%;
        max-width: 100%;
        max-height: 100%;
        height: auto!important;
        width: auto!important;
    }
}


.kb-view p {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
    font-size: 16px;
    line-height: 1.5;
    word-wrap: break-word;
}

.kb-view ol li{
    font-size:16px;
    line-height:1.5;
    word-wrap: break-word;
}


.footer-sticky-bottom{
    padding: 15px 15px;
    background: white;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 99;
}

.row-flex{
    display: flex;
    flex-wrap: wrap;
}