/* Responsive */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    body > #grid-container-main {
        grid-template-areas:
        "leftnav main";
    }

    #grid-container-main > .grid-container-left {
        display: block;
    }
}

/* Other stuff */
@media (max-width: 992px) {
    .dataTables_info {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    #main-content-fill div.dataTables_wrapper div.dataTables_length,
    #main-content-fill div.dataTables_wrapper div.dataTables_filter,
    #main-content-fill div.dataTables_wrapper div.dataTables_info,
    #main-content-fill div.dataTables_wrapper div.dataTables_paginate {
        text-align: left;
    }
}

/* Grid */
#grid-container-main {
    overflow-x: hidden;
    display: grid;
    grid-template-areas:
    "main main";
    grid-template-columns: 256px 1fr;
}

.grid-container-left {
    box-sizing: border-box;
    border-right: 1px solid rgba(0, 0, 0, .005);
    background: #f9f9f9;
    grid-area: leftnav;
    min-height: calc(100vh - 65px);
    display: none;
}

.grid-container-right {
    grid-area: main;
}

/* Generic */
body a {
    text-decoration: none;
}

body a:hover {
    text-decoration: none;
}

body a:visited {
    text-decoration: none;
}

td.dt-minimal-width {
    width: 10px;
}

td.dt-no-wrap {
    white-space: nowrap;
}

body .dropdown-no-arrow.dropdown-toggle::after {
    content: none;
}

body .dropdown-item.disabled {
    cursor: not-allowed;
    color: #e01d1d;
}

body .note-editor.note-frame {
    border: 1px solid rgba(0, 0, 0, .125);
}

/*IDs*/

#main-nav-bar {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
}

#core-loading-card {
    z-index: 2050;
    width: 18rem;
    height: 6rem;
    margin-left: -9rem;
    margin-top: -3rem;
    left: 50%;
    top: 35%;
}

#core-modal-dialogue {
    z-index: 2040;
}

#core-modal-dialogue .alert {
    word-break: break-word;
}

#core-modal-dialogue div.modal-content {
    box-shadow: inset 0 6px 0 rgba(255, 255, 255, .15), 0 3px 10px rgba(0, 0, 0, 0.275);
}

#sidebar-container {
    padding: 0;
    border-right: 1px solid rgba(0, 0, 0, .005);
}

#main-content-header {
    overflow: hidden;
    height: 36px;
}

#main-content-fill .table td,
#main-content-fill .table th,
#main-modal-container .table td,
#main-modal-container .table th {
    padding: 0.5rem;
    vertical-align: middle;
}

#main-content-fill table.dataTable thead .sorting:before,
#main-content-fill table.dataTable thead .sorting:after,
#main-content-fill table.dataTable thead .sorting_asc:before,
#main-content-fill table.dataTable thead .sorting_asc:after,
#main-content-fill table.dataTable thead .sorting_desc:before,
#main-content-fill table.dataTable thead .sorting_desc:after,
#main-content-fill table.dataTable thead .sorting_asc_disabled:before,
#main-content-fill table.dataTable thead .sorting_asc_disabled:after,
#main-content-fill table.dataTable thead .sorting_desc_disabled:before,
#main-content-fill table.dataTable thead .sorting_desc_disabled:after,
#main-modal-container table.dataTable thead .sorting:before,
#main-modal-container table.dataTable thead .sorting:after,
#main-modal-container table.dataTable thead .sorting_asc:before,
#main-modal-container table.dataTable thead .sorting_asc:after,
#main-modal-container table.dataTable thead .sorting_desc:before,
#main-modal-container table.dataTable thead .sorting_desc:after,
#main-modal-container table.dataTable thead .sorting_asc_disabled:before,
#main-modal-container table.dataTable thead .sorting_asc_disabled:after,
#main-modal-container table.dataTable thead .sorting_desc_disabled:before,
#main-modal-container table.dataTable thead .sorting_desc_disabled:after {
    bottom: 0.5em;
}

#main-content-fill table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child,
#main-content-fill table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child,
#main-modal-container table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child,
#main-modal-container table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child {
    padding-left: 30px;
}

#main-content-fill table.dataTable thead > tr > th.sorting_asc,
#main-content-fill table.dataTable thead > tr > th.sorting_desc,
#main-content-fill table.dataTable thead > tr > th.sorting,
#main-content-fill table.dataTable thead > tr > td.sorting_asc,
#main-content-fill table.dataTable thead > tr > td.sorting_desc,
#main-content-fill table.dataTable thead > tr > td.sorting,
#main-modal-container table.dataTable thead > tr > th.sorting_asc,
#main-modal-container table.dataTable thead > tr > th.sorting_desc,
#main-modal-container table.dataTable thead > tr > th.sorting,
#main-modal-container table.dataTable thead > tr > td.sorting_asc,
#main-modal-container table.dataTable thead > tr > td.sorting_desc,
#main-modal-container table.dataTable thead > tr > td.sorting {
    padding-right: 30px;
}

#main-content-fill table tr > td.dt-word-break,
#main-modal-container table tr > td.dt-word-break {
    min-width: 160px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

#main-content-fill .dropleft .dropdown-toggle::before {
    content: unset;
}

#main-content-fill table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child, #main-content-fill table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

#main-content-fill div.dataTables_wrapper div.dataTables_paginate {
    padding-top: 0.85em;
}

#main-content-fill .form-inline.no-break .input-group {
    width: auto;
}

#main-content-fill .btn.btn-icon > span {
    display: inline-block;
    float: left;
    padding-right: 10px;
}

#main-content-fill .btn.btn-icon > i {
    display: inline-block;
    float: right;
    line-height: 1.5;
}
body .text-purple {
    color: #7e63b3;
}
#main-content-fill .text-purple {
    color: #6f42c1;
}

#main-content-fill .btn-outline-purple {
    color: #6f42c1;
    border-color: #6f42c1;
}

#main-content-fill .btn-outline-purple:hover {
    color: #eee;
    background-color: #6f42c1;
}

#main-content-fill .btn-outline-purple:focus {
    box-shadow: 0 0 0 .2rem rgba(111, 66, 193, 0.5);
}

#main-content-fill .btn-purple {
    color: #eee;
    background-color: #6f42c1;
}

#navbarSupportedContent .dropdown-menu i {
    padding-left: 10px;
}

#breadcrumbs {
    min-height: 24px;
    overflow: visible;
    font-weight: bold;
}

#breadcrumbs span {
    font-weight: normal;
}

#sidebar-container ul {
    width: 100%;
    padding: 0;
    margin: 0 0 1rem;
    display: table;
}

#sidebar-container li > a:hover {
    background-color: #1a2f52;
    color: #ffffff;
    cursor: pointer;
}

#sidebar-container li {
    display: table-row;
}

#sidebar-container li > a {
    color: #212529;
    display: table-cell;
    padding: .75rem .75rem .75rem 15px;
    border-bottom: 1px solid #dee2e6;
}

#sidebar-container li > h4 {
    display: table-cell;
    padding: .75rem .75rem .75rem 15px;
    border-bottom: 1px solid #dee2e6;
}

#sidebar-container li a > i {
    float: right;
    padding-top: 4px;
}

#sidebar-container h4 {
    margin-bottom: 0;
}

#sidebar-container nav.intranet-left-nav ul li:nth-of-type(odd) {
    background-color: #f9f9f9;
}

#sidebar-container nav.intranet-left-nav ul li:nth-of-type(even) {
    background-color: #fff;
}

/*Classes*/
.list-group-item-fixed > b {
    display: inline-block;
}

.list-group-striped > li:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.custom-control-label::after {
    cursor: pointer;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #ffffff;
}

.input-group > .form-control.date-picker:not(:first-child) {
    cursor: pointer;
    background-color: #ffffff;
}

.custom-file-input {
    cursor: pointer;
}

.custom-file-label {
    cursor: pointer;
}

.dtr-details .custom-checkbox {
    display: none;
}