body {
    font-size: .875rem;
}

.sidebar .fal {
    font-size: 16px;
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 48px 18px 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);

}

.main {
    width: calc(100% - 250px) !important;
    margin-left: 250px !important;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
 * Content
 */

[role="main"] {
    padding-top: 133px; /* Space for fixed navbar */
}

@media (min-width: 768px) {
    [role="main"] {
        padding-top: 48px; /* Space for fixed navbar */
    }
}

/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;

}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.btn, .form-control {
    border-radius: 0
}

.dataTable {
    border-spacing: 0;
}

.hide {
    display: none !important;
}

.datepicker-dropdown {
    padding: 10px !important;
}

.select2-container--default .select2-selection--single {
    font-size: inherit !important;
    font-family: inherit !important;
}

.select2-results__options .li {
    font-size: inherit !important;
    font-family: inherit !important;
    border-radius: 0;
}

.input-group-sm .select2-container--default .select2-selection--single {
    background-color: transparent !important;
    border: 1px solid #ced4da;
    border-radius: 0px;
    height: calc(1.8125rem + 2px);

}

.select2-container--default .select2-selection--single {
    background-color: transparent !important;
    border: 1px solid #ced4da;
    border-radius: 0px;
    height: 32px;
    width: 100%;
}

.input-group-sm .select2-selection__rendered {
    padding: .25rem .5rem;
    line-height: 1.5 !important;
    height: calc(1.8125rem + 2px);
}

.input-group-sm .select2-selection__arrow {
    margin-top: 1px;
}

.select3 .select2-selection__arrow b {
    line-height: normal;
}

.select2-selection__rendered {
    height: 32px;
}

.select2-selection__arrow {
    margin-top: 1px;
}

.select2, .select3 {
    width: 100%;
}

/*
* Datatable Buttons
*/

.datatable-buttons .dataTables_wrapper .dt-buttons {
    float: left;
    width: 30%;
    text-align: center;
}

.datatable-buttons .dataTables_wrapper .dt-buttons .btn {
    font-size: 12px !important;
}

.datatable-buttons .dataTables_wrapper .dt-buttons .btn-group {
    text-align: center;
}


/*
* Datatable
*/

.data-table, .dataTable {
    font-size: 14px;
    border-spacing: 0;
}

.dataTables_wrapper {
    margin: 0;
    padding: 0;
}

.dataTables_length {
    width: 35%;
    float: left
}

.dataTables_filter {
    float: right;
}

.dataTables_info {
    float: left;
    width: 35%;
}