/** Main override style **/

nav {
    height: calc(100% - 100px);
}

nav ul {
    height: 100%;
}

.nav-sidebar .nav-item:last-child {
    margin-top: auto;
}

.sidebar-mini .brand-link .brand-image {
    margin: auto !important;
}

.sidebar-mini .brand-link .brand-image.small-size {
    display: none;
}

.sidebar-mini.sidebar-collapse .brand-link .brand-image.regular-size {
    display: none;
}

.sidebar-mini.sidebar-collapse .brand-link .brand-image.small-size {
    display: block;
}

/** ERRORS **/
.has-error input,
.has-error select,
.has-error textarea {
    border: 1px solid #ff0000;
}

.hidden {
    display: none;
}

/** Table: Monthly report **/
#monthly-reports table thead th {
    width: 200px;
}

#monthly-reports table thead th:first-of-type {
    width: 170px;
}

#monthly-reports table thead th:last-of-type {
    width: 100px;
}

/** Table: Users list **/
#users_list th:first-child,
#users_list tbody tr td:first-child {
    font-weight: bold;
    text-align: center;
}

#users_list tbody tr td {
    cursor: pointer;
}

/** Modal overflow **/
.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

#enter-national-holiday-modal .modal-body {
    overflow-y: visible;
}

/** Approve/Reject form */
.approve-reject-screen {
    -ms-flex-align: center;
    align-items: center;
    background-color: #e9ecef;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    -ms-flex-pack: center;
    justify-content: center;
}
.approve-reject-screen__content {
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    max-width: 600px;
    width: 100%;
    padding: 20px;
    /*border: ;*/
}
.approve-reject-screen h2 {
    margin-bottom: 1.5rem;
}
.approve-reject-screen input {
    max-width: 400px;
}
.approve-reject-screen p {
    margin-bottom: 10px;
}
.approve-reject-screen .form-horizontal {
    margin: 30px 0;
}
.approve-reject-screen__footer {
    margin-top: 2rem;
}
.errors-and-warnings-box li {
    cursor: pointer;
}

@media (max-width: 992px) {
    .help-page .col-md-9 {
        margin-top: 20px;
    }
}