body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    font-family: Raleway, sans-serif;
    min-height: 100vh;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    color: #333333;
}

a {
    text-decoration: none;
}

.clear {
    clear: both;
}

.hide {
    display: none;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right;
}

input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
}

.alert ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.login-content,
.status-content {
    margin: 5% auto 0 auto;
    padding: 0;
    position: relative;
    text-align: center;
    text-shadow: 0 1px 0 #fff;
    max-width: 350px;
}

.status-content {
    max-width: 800px;
}

.status-content h4 {
    margin-top: 40px;
    margin-bottom: 40px;
}

.status-content h4 small {
    font-weight: normal;
}

.status-content h4.valid,
.status-content h4.invalid,
.status-content h4.pending {
    padding: 19px 25px;
    color: #ffffff;
    font-weight: 600;
}

.status-content h4.valid {
    background-color: #25550c;
}

.status-content h4.invalid {
    background-color: #cd0000;
}

.status-content h4.pending {
    background-color: #ff9933;
}

.status-content .form-group {
    text-align: left;
    margin: 10px 10% 0 10%;
}

.login-content img,
.status-content img {
    width: 108px;
}

.login-content h1:before,
.login-content h1:after,
.status-content h1:before,
.status-content h1:after {
    content: "";
    height: 1px;
    position: absolute;
    top: 10px;
    width: 20%;
}

.login-content h1:before,
.status-content h1:before {
    background: rgb(126, 126, 126);
    background: -moz-linear-gradient(right, rgba(126, 126, 126, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(right, rgba(126, 126, 126, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -o-linear-gradient(right, rgba(126, 126, 126, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -ms-linear-gradient(right, rgba(126, 126, 126, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(right, rgba(126, 126, 126, 1) 0%, rgba(255, 255, 255, 1) 100%);
    left: 0;
}

.login-content h1:after,
.status-content h1:after {
    background: rgb(126, 126, 126);
    background: -moz-linear-gradient(left, rgba(126, 126, 126, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(left, rgba(126, 126, 126, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -o-linear-gradient(left, rgba(126, 126, 126, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: -ms-linear-gradient(left, rgba(126, 126, 126, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(left, rgba(126, 126, 126, 1) 0%, rgba(255, 255, 255, 1) 100%);
    right: 0;
}

.login-content h1,
.status-content h1{
    line-height: 20px;
    margin: 30px 0;
    padding: 0;
    font-size: 22px;
    font-weight: normal;
    position: relative;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
    -moz-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
    -ms-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
    -o-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
    box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0, 0, 0, 0.08) inset;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border: 1px solid #c8c8c8;
    color: #777;
    margin: 0;
    height: 34px;
    width: 100%;
    padding: 3px 8px;
    box-sizing: border-box;
}

.separator {
    border-top: 1px solid #D8D8D8;
    margin-top: 30px;
    padding-top: 10px;
}

.btn {
    margin-bottom: 5px;
    margin-right: 5px;
    border-radius: 3px;
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
}

.btn-red {
    color: #ffffff;
    background-color: #25550c;
    border-color: #25550c;
}

.btn-red:focus,
.btn-red:hover {
    color: #25550c;
    background-color: #ffffff;
    border-color: #25550c;
}

header {
    width: 100%;
    display: flex;
    padding: 10px 20px;
    border-bottom: 3px solid #25550c;
    box-sizing: border-box;
}

header img {
    height: 42px;
}

header h2 {
    margin: 2px 0 0 10px;
    padding: 0;
    font-weight: normal;
    font-size: 20px;
    line-height: 18px;
    max-width: 500px;
}

header h2 span {
    font-size: 12px;
    line-height: 12px;
}

.nav a {
    font-weight: bold;
    color: #333333;
    margin: 0 7px;
}

.nav a:hover {
    text-decoration: underline;
}

.nav i {
    color: #25550c;
}

header .desktop {
    margin: 12px 0 0 auto;
}

.filter {
    text-align: center;
    margin: 40px auto;
    position: relative;
}

.filter .form-select {
    font-size: 14px;
    max-width: 200px;
    margin-right: 10px;
    display: inline-block;
}

.report-status {
    text-align: right;
    position: absolute;
    top: 0;
    right: 10px;
    width: 170px;
}

.vacation,
.vacation input {
    background-color: #FBE2D5 !important;
}

.public-holiday,
.public-holiday input {
    background-color: #F1A983 !important;
}

.report {
    width: 100%;
    border-top: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    margin: 0 0 40px 0;
    border-spacing: 0;
    border-collapse: separate;
}

.report td {
    padding: 0;
    text-align: center;
    border-bottom: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
}

.report th,
.report tfoot td {
    padding: 4px;
    text-align: center;
    border-bottom: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
}

.report .item td:hover {
    background-color: #eaeaea;
    cursor: pointer;
}

.report td.total,
.report td.total:hover {
    background-color: #eaeaea;
    font-weight: bold;
    cursor: default;
}

.report td input {
    width: 30px;
    min-height: 30px;
    border: 0;
    outline: none;
    text-align: center;
    background: #ffffff;
}

td.cell-title {
    width: 400px;
    padding: 4px;
    text-align: left !important;
}

table.tiny {
    margin-top: 10px;
    margin-bottom: 10px;
}

table.tiny th,
table.tiny td {
    padding: 1px;
}

table.tiny td {
    padding: 1px;
}

table.tiny input {
    width: auto;
    height: auto;
}

.settings {
    max-height: calc(100vh - 64px);
    display: flex;
    flex-wrap: nowrap;
}

.settings .sidebar {
    background-color: #eeeeee;
    width: 100%;
    max-width: 280px;
    min-height: calc(100vh - 64px);
}

.settings .sidebar ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    border-top: 3px solid #25550c;
    border-bottom: 3px solid #25550c;
}

.settings .sidebar li {
    border-bottom: 1px solid #cccccc;
}

.settings .sidebar li a {
    display: block;
    padding: 10px 10px 10px 20px;
    color: #333333;
    font-weight: bold;
}

.settings .sidebar li a:hover {
    background-color: #cccccc;
}

.settings .sidebar li a.active {
    background-color: #cccccc;
    color: #25550c;
}

.settings .content {
    padding: 20px;
    width: 100%;
}

.settings .security {
    width: 300px;
    margin: 40px auto;
}

.settings .security form {
    margin-top: 40px;
}

.list {
    width: 100%;
    margin: 20px auto auto auto;
}

.settings .list {
    padding-bottom: 100px;
}

.list table {
    width: 100%;
    border-top: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    border-spacing: 0;
    border-collapse: separate;
}

.list th,
.list td {
    border-bottom: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    padding: 6px;
}

.list th {
    background-color: #dfdcc1;
}

.actions {
    margin-top: 20px;
}

.actions-home {
    margin-top: 20px;
    margin-right: 20px;
}

.greetings {
    margin-top: 20px;
}

.headtitle {
    font-size: 22px;
    line-height: 26px;
}

.form-group label,
.col label {
    font-weight: bold;
    margin-bottom: 4px;
}

.form-select {
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    font-family: Raleway, sans-serif;
    font-size: 14px;
    line-height: 18px;
}

.form-control.jv-error {
    border-color: #cd0000;
    margin-top: 4px;
}

.jv-error,
.error {
    color: #cd0000;
}

.jv-error {
    margin-top: 5px;
}

.error p {
    margin-bottom: 5px;
}

.items-list h5 {
    font-size: 20px;
}

.items-list ul {
    list-style-type: none;
    margin: 20px 0;
}

.items-list ul li {
    margin-bottom: 10px;
}

.items-list ul li input {
    width: 16px;
    height: 16px;
}

.items-list ul li label {
    font-weight: normal;
}

.search-customer {
    margin-top: 15px;
}

#customers-list .item {
    margin-top: 15px;
    padding: 5px;
    border-bottom: 1px solid #eeeeee;
}

.search-customer button {
    border: 1px solid #cd0000;
    background-color: #cd0000;
    color: #ffffff;
    float: right;
    font-weight: bold;
}

.search-customer button:hover {
    background-color: #ffffff;
    color: #cd0000;
}

ul.ui-autocomplete {
    z-index: 1100;
}

.ui-widget.ui-widget-content {
    max-height: 400px;
    overflow-y: auto;
}

#overlay {
    position: fixed;
    top:0px;
    left:0px;
    width: 100%;
    height: 100%;
    background: black;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100000;
}

.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #25550c;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
    left: 50%;
    top: 50%;
    position: relative;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.reports-review {
    margin-top: 40px;
    margin-bottom: 40px;
}

.reports-review .record {
    display: flex;
    padding: 5px;
}

.reports-review .record:hover {
    background: #c7dbd2;
    cursor: pointer;
}

.reports-review .record i {
    margin-left: auto;
}

.reports-review .record i:hover {
    cursor: pointer;
}

.report-status-new {
    --bs-btn-color: #000;
    --bs-btn-bg: #ffc107;
    --bs-btn-border-color: #ffc107;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #ffca2c;
    --bs-btn-hover-border-color: #ffc720;
    --bs-btn-focus-shadow-rgb: 217,164,6;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #ffcd39;
    --bs-btn-active-border-color: #ffc720;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #ffc107;
    --bs-btn-disabled-border-color: #ffc107;
}

.report-status-approved {
    --bs-btn-color: #fff;
    --bs-btn-bg: #198754;
    --bs-btn-border-color: #198754;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #157347;
    --bs-btn-hover-border-color: #146c43;
    --bs-btn-focus-shadow-rgb: 60,153,110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #146c43;
    --bs-btn-active-border-color: #13653f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #198754;
    --bs-btn-disabled-border-color: #198754;
}

.report-status-rejected {
    --bs-btn-color: #fff;
    --bs-btn-bg: #212529;
    --bs-btn-border-color: #212529;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #424649;
    --bs-btn-hover-border-color: #373b3e;
    --bs-btn-focus-shadow-rgb: 66,70,73;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #4d5154;
    --bs-btn-active-border-color: #373b3e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #212529;
    --bs-btn-disabled-border-color: #212529;
}

.container-dashboard {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    max-width: 1400px;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

.dashboard.reports-review .btn {
    padding: 0 5px;
    margin: 0 10px;
    font-size: 12px;
}

textarea.form-control {
    font-size: 14px;
    min-height: 200px;
}

.rejected-reason {
    padding: 15px;
    border: 1px solid #cccccc;
    margin-bottom: 20px;
    background-color: #fbfbfb;
}

.rejected-reason ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.rejected-reason li {
    margin-bottom: 10px;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 10px;
}

.rejected-reason li:last-child {
    border-bottom: none;
}

.rejected-reason li i {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 5px;
    background-color: #cccccc;
    border-bottom: 1px solid #cccccc;
    margin-bottom: 10px;
}

.modal-body .row {
    margin-bottom: 15px;
}

.modal-title {
    font-size: 18px;
}

.modal-title span {
    background-color: #fd7e14;
    display: inline-block;
    padding: 2px 10px;
    color: #ffffff;
    font-size: 16px;
}

#files-list {
    margin-top: 20px;
}

#files-list i {
    color: #664d03;
}

#files-list i.fa-trash {
    color: #cd0000;
}

.modal.show .modal-dialog {
    max-width: 600px;
}

.mobile {
    display: none;
}

@media screen and (max-width: 480px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    header {
        display: inline-block;
        padding: 10px;
    }

    header .d-flex {
        display: block !important;
        text-align: center;
        width: 260px;
        margin: 0 auto;
    }

    header img {
        width: 130px;
        float: left;
    }

    header h2 {
        margin: 0 0 0 10px;
        font-size: 18px;
        line-height: 22px;
    }

    footer {
        padding-top: 30px;
    }

    .filter {
        text-align: center;
        margin: 20px auto;
    }

    .filter .form-select {
        width: 150px;
        margin-right: 0;
    }

    .filter #user-id {
        max-width: 300px;
        width: 300px;
        margin-bottom: 10px;
    }

    .filter .report-status {
        width: 100%;
        position: relative;
        text-align: center;
        right: 0;
        padding-top: 20px;
    }

    .filter span.btn {
        margin-top: 10px;
        font-size: 12px;
        padding: 2px 8px;
        margin-top: 0px;
    }

    .report td {
        width: 50px;
        height: 50px;
        position: relative;
        font-size: 16px;
    }

    .report td span {
        position: absolute;
        top: 0;
        right: 0;
        padding: 0 2px;
        background-color: #25550c;
        color: #fff;
        font-size: 12px;
    }

    .dashboard-note {
        margin-top: -30px;
        margin-bottom: 30px;
        font-size: 11px;
    }

    .customers-list {
        margin-bottom: 30px;
    }

    .customers-list td {
        height: auto;
        font-size: 14px;
        padding: 2px;
    }

    .report th {
        background-color: #c7d1c5;
    }

    .customers-list td.customer {
        width: 80%;
    }

    .report td input {
        border: 1px solid #cacaca;
        width: 50px;
    }

    .nav {
        width: 100%;
        position: fixed;
        bottom: 0;
        padding: 15px 5px;
        border-top: 3px solid #25550c;
        text-align: center;
        display: block;
        background: rgb(251,251,251);
        background: linear-gradient(180deg, rgba(251,251,251,1) 50%, rgba(234,234,234,1) 100%);
    }

    .status-content h1 span {
        max-width: 230px;
        display: inline-block;
    }
}
