body {
    margin: 0;
    padding: 0;
}
#modalLoading {
    z-index: 1052;
}
#modalLoading .modal-dialog {
    margin: 40vh auto;
}
nav {
    position: fixed;
    left: -250px;
    background-color: #a8102b;
    height: 100vh;
    width: 250px;
    margin: 0;
    padding: 0;
    color: white;
    transition: left 0.5s;
    z-index: 3;
}
nav.hide {
    left: -250px;
}
nav.show {
    left: 0;
}
.nav-header {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid white;
}
.nav-content {
    padding: 20px 0;
    margin: 0;
}
.nav-content ul {
    margin: 0;
    padding: 0;
}
.nav-content li {
    list-style: none;
}
.nav-content li a {
    display: block;
    text-decoration: none;
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 20px;
    width: 100%;
}
.nav-content li.active a {
    background-color: #8a0d24;
}
.nav-content li a:hover {
    background-color: #8a0d24;
}
.nav-footer {
    bottom: 0;
    position: absolute;
    width: 100%;
    text-align: center;
    display: none;
}
.nav-footer a {
    color: white;
    background: #8c0e24;
    padding: 10px;
    width: 100%;
    display: block;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
}
.background-navbar.active {
    background-color: #0000003b;
    height: 100vh;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2;
}
header {
    border-bottom: 1px solid black;
    padding: 5px 15px;
    margin-bottom: 10px;
    position: fixed;
    width: 100%;
    background-color: white;
    z-index: 1;
}
header .row {
    display: flex;
    align-items: center;
}
header .btn-menu {
    width: 40px;
    height: 39px;
    float: left;
    text-align: center;
    display: flex;
    align-items: center;
    margin: 5px 5px 5px 0;
    border: 1px solid gray;
    border-radius: 5px;
}
header .btn-menu:hover {
    background-color: #e8e8e8;
    cursor: pointer;
}
header .btn-menu i {
    font-size: 25px;
    margin: 0 auto;
}
header img {
    height: 49px;
    margin: 0 5px;
}
header label {
    margin: 0 5px;
}
header a {
    text-decoration: none !important;
    color: #333;
    font-size: 15px;
    font-weight: bold;
}
main {
    padding: 0;
    margin: 70px 0 0 0;
}

.w100 {
    width: 100% !important;
}
.mb10 {
    margin-bottom: 10px;
}
.mb0 {
    margin-bottom: 0;
}
.text-center {
    text-align: center;
}
.dataTables_scrollBody {
    height: 60vh;
}
.btn-danger {
    border-radius: 5px !important;
    background: #a8102b;
}
/*.btn.btn-sm.btn-link { padding: 0 5px; font-size: 17px; }*/
td.actions {
    padding: 5px !important;
}
.type-danger .modal-header {
    background: #a8102b !important;
}
.was-validated .invalid-feedback {
    display: block;
    color: #a8102b;
    font-size: 12px;
    font-style: italic;
}
.invalid-feedback {
    display: none;
}
.list-unstyled {
    color: #a94442 !important;
    font-style: italic !important;
}
.was-validated .help-block {
    display: block;
    color: #2d752d;
    font-style: italic;
}
.help-block {
    display: none;
}
.dt-buttons.btn-group.flex-wrap { display: none !important; }

/* Small devices such as large phones (640px and up) */
@media only screen and (max-width: 767px) {
    .nav-footer {
        display: block;
    }
    header a {
        display: none;
    }
}
