@media (max-width: 991.98px){
    .search-label{
        display: none!important;
    }

    #main-content .cardtable-head > div{
        margin-bottom: 0px;
    }

    .cardtable-head .cardtable-spacer{
        width: 0px;
        margin-left: -10px!important;
        /*margin-right: -20px!important;*/
    }

    .dataTables_length > label:last-of-type{
        display: none!important;
    }

    .dataTables_length{
        min-width: 150px;
    }

    #expansion .nav{
        margin-top: 5px;
    }

    .loading-message > h5{
        display: none;
    }

    .simple-card .dropdown-toggle{
        font-size: 0px;
        float: right;
        margin-right: 10px;
    }

    .simple-card .dropdown-toggle:after{
        font-size: initial;
        margin: 0px;
    }
}

@media (min-width: 992px){
    .dataTables_length{
        min-width: 212px;
    }

    .loading-bg{
        width: 100%;
        height: 100%;
        position: fixed;
        margin: 0px;
        top: 0px;
        background-color: rgba(0,0,0,0.3);
        left: 0px;
        padding: 0px;
    }
    
    .loading-message{
        text-align: center;
        padding: 10px;
    }
    
    .loading-message .la-ball-scale-ripple-multiple{
        margin: auto;
    }
}

/*Cursor stylings*/
.main-card > .card-body,
.simple-card > .card-body,
.ct-input,
.ct-input > option,
.ct-input-lg,
.ct-input-lg > option{
    cursor: pointer;
}

#ct-crumbs > span > .close{
    position: absolute;
    right: 5px;
    top: 5px;
}

.card-checkbox{
    width: 25px;
    margin-left:5px;
}

.card-body .text-oneline{
    overflow-wrap: anywhere;
}

.col-md-2.pull-right.search-wrapper > .dropdown,
.col-md-2.pull-right.search-wrapper > .listen-button-wrapper > a {
    float: right;
}

.app-container.closed-sidebar .toggle-sidebar-button > .closed-sidebar{
    display: block;
}

.app-container.closed-sidebar .toggle-sidebar-button > .open-sidebar,
.app-container.closed-sidebar .toggle-sidebar-button > .collapse-text{
    display: none;
}

.main-card-body > div > img,
.main-card .thumbnail-view img{
    width: auto;
    height: auto;

    max-width: 145px;
    max-height: 145px;
    object-fit: contain;
}

.card.shadow div.main-card{
    margin-left: 10px;
    margin-right: 10px;
}

#contentTabsContent{
    margin-bottom:10px;
}
.expanded-bg{
    position: relative;
    z-index: 100;
    width: 100%;
    top:0px;
    background-color: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
}
.expanded{
    /*top:45px; 
    width:90%; 
    z-index:100;
    position:absolute;*/

    width: 90%;
    margin-bottom: 45px;
    margin-top: 45px;
    position: initial!important;
    height: min-content;
}
.select-all{
    width: 15px;
    height: 15px;
}
.ct-checkboxes{
    width: 15px;
    height: 15px;
}
.card-detail{
    width: 100%;
    height: 90%;
    border-left: 1px solid rgba(179, 179, 179, 0.4);
}
.file-details{
    width:100%;
}
.vl {
    border-left: 1px solid lightgrey;
    height: 85%;
}
.ct-input{
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
}
.ct-input-lg{
    width:120px !important;
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
}
#ct-search{
    width:200px !important;
}
.ct-sort-order{
    width:75px !important;
}
.sg-card-header{
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(96, 51, 12, 0.125);
}
.sg-card-header > h5{
    margin-bottom: 0px !important;
    padding-left: 1rem !important;
}