@import url("https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");

/* Common styles */
* {
    font-family: "Comic Neue", cursive;
}
body {
    letter-spacing: 0.5px;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 0;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
:root {
    --white: #ffffff;
    --black: #000000;
    --brown: #3c3434;
    --green: #2e572b;
    --medium_green: #096049;
    --dark_green: #0e4738;
    --red: red;
}
.wrapper {
    display: flex;
    position: relative;
}
.wrapper .content {
    width: 100%;
    margin-top: 1%;
}
.form-control {
    border: 1px solid #ced4da !important;
}
.form-control[readonly] {
    background-color: initial !important;
}
[type="file"] {
    padding: 0.375rem 0.75rem !important;
}
/* .ck-editor__editable {
    height: 400px;
    max-height: 400px;
    overflow: scroll;
} */
.asterisk {
    color: red;
}
.destroy-modal .destroy-modal-btn,
.add-material .destroy-modal-btn {
    border-radius: 0;
}
.select2 {
    width: 100% !important;
}
.select2-container--default .select2-selection--single {
    font-size: 15px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0 !important;
    height: initial !important;
    padding-top: 0.2rem;
    padding-right: 0.3rem;
    padding-bottom: 0.2rem;
    padding-left: 0.3rem;
}
.select2-container--default .select2-selection--multiple {
    font-size: 15px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0 !important;
    height: initial !important;
    padding-top: 0.2rem;
    padding-right: 0.3rem;
    padding-bottom: 0.5rem;
    padding-left: 0.3rem;
}
.display-table {
    display: table;
}
/* Common styles */

/* Navbar styles */
.logo {
    font-size: 30px;
    color: var(--brown);
    font-weight: 900;
}
.nav {
    border-bottom: 1px solid var(--red);
}
.sidebar-collapse {
    background-color: var(--dark_green);
    color: var(--white);
    font-size: 18px;
    width: 40px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    margin-right: 12px;
    transition: all 0.3s;
}
.sidebar-collapse:hover {
    background-color: var(--green);
    transition: all 0.3s;
}
.sidebar-collapse i {
    height: 25px;
}
.dropdown-link {
    display: block;
    font-size: 14px;
    padding: 5px 15px;
}
/* .wrapper .dropdown .nav-link {
    font-size: 15px;
    color: var(--white);
    font-weight: 500;
} */
/* Navbar styles */

/* Footer styles */
.footer .copyright {
    font-size: 14px;
    padding: 10px 0;
}
/* Footer styles */

/* Sidebar styles */
.wrapper .sidebar {
    min-width: 250px;
    max-width: 250px;
    height: 85vh;
    overflow-y: scroll;
    background-color: rgb(255, 255, 255);
    transition: all 0.3s;
    margin-left: -250px;
}
.wrapper .sidebar.active {
    margin-left: 0;
    transition: all 0.3s;
}
.wrapper .sidebar .components {
    border-bottom: 1px solid rgb(80, 80, 80, 0.1);
    list-style: none;
    padding: 15px 15px 5px 15px;
}
.wrapper .sidebar .components .heading {
    font-size: 17px;
    color: var(--green);
    padding-bottom: 10px;
    letter-spacing: 0.9px;
    font-weight: 700;
}
.wrapper .sidebar .components li {
    padding-bottom: 8px;
}
.wrapper .sidebar .components .link {
    font-size: 13px;
    color: var(--brown);
    font-weight: 800;
    letter-spacing: 0.9px;
}
.wrapper .sidebar .components .link.active {
    color: var(--red);
    font-weight: 800;
}
.wrapper .sidebar .components .link i {
    padding-right: 5px;
}
.wrapper .sidebar .components .link:hover {
    color: var(--red);
}
.wrapper .sidebar::-webkit-scrollbar {
    width: 3px;
}
.wrapper .sidebar::-webkit-scrollbar-track {
    background: #ececec;
}
.wrapper .sidebar::-webkit-scrollbar-thumb {
    background: var(--dark_green);
}
.wrapper .sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}
/* Sidebar styles */

/* Table styles */
.table-container {
    width: 90%;
    margin: auto;
}
.table-container .card {
    border-radius: 0;
}
.table-container .table-title {
    font-size: 17px;
    font-weight: 800;
    display: inline-block;
    margin-right: 15px;
}
.table-container .create-btn {
    margin-left: auto;
    font-size: 15px;
    color: var(--white);
    background-color: var(--medium_green);
    width: 120px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.3s;
}
.table-container .create-btn:hover {
    background-color: var(--dark_green);
    transition: all 0.3s;
}
.table-container .table tr th {
    font-size: 17px;
    color: var(--black);
    text-align: center;
    font-weight: 800;
}
.table-container .table tr td {
    font-size: 15px;
    color: var(--gray);
    vertical-align: middle;
    text-align: center;
}
.table-container div.dataTables_wrapper div.dataTables_info,
.table-container .dataTables_length label,
.table-container .dataTables_filter label,
.table-container .dataTables_wrapper .paginate_button a,
.table-container .edit,
.table-container .destroy {
    font-size: 14px;
}
.table-container .dataTables_wrapper .row:nth-child(3) {
    margin-top: 10px;
    align-items: center;
}
.table-container .weekly-wage-btn {
    font-size: 20px;
    color: var(--white);
    font-weight: 700;
    width: 200px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    transition: all 0.5s;
}
.table-container .calculate-btn {
    background-color: var(--medium_green);
}
.table-container .disburse-btn {
    background-color: var(--orange);
}
.table-container .calculate-btn:hover {
    background-color: var(--green);
    transition: all 0.3s;
}
.table-container .disburse-btn:hover {
    background-color: #d76f18;
    transition: all 0.3s;
}
.table-container .date-search {
    margin-left: auto;
}
.table-container .date-search .search-btn {
    font-size: 15px;
    color: var(--white);
    background-color: var(--medium_green);
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.3s;
}
.table-container .date-search a.search-btn {
    margin-left: 5px;
}
.table-container .date-search .search-btn:hover {
    background-color: var(--dark_green);
    transition: all 0.3s;
}
.table-container .download-bill {
    background-color: var(--medium_green);
    color: var(--white);
    font-size: 11px;
    padding: 7px;
    transition: all 0.3s;
}
.table-container .download-bill:hover {
    background-color: var(--dark_green);
    transition: all 0.3s;
}

.dt-buttons {
    display: none;
}
.ul-dropdown {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding-left: 0;
    z-index: 99999;
}
.ul-dropdown a {
    text-decoration: none;
    color: #ffffff;
}
.ul-dropdown li {
    color: #ffffff;
    background-color: #2f2f2f;
    border-color: #2f2f2f;
    display: block;
    float: left;
    position: relative;
    text-decoration: none;
    transition-duration: 0.5s;
    padding: 12px 35px;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.428571;
}
.ul-dropdown .first-li {
    padding: 12px 43px;
}
.ul-dropdown li:hover {
    cursor: pointer;
}
.ul-dropdown li ul {
    visibility: hidden;
    opacity: 0;
    min-width: 9.2rem;
    position: absolute;
    transition: all 0.5s ease;
    margin-top: 8px;
    left: 0;
    display: none;
}
.ul-dropdown li:hover > ul,
.ul-dropdown li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
}
.ul-dropdown li ul li {
    clear: both;
    width: 100%;
    color: #ffffff;
}
.first-li .material-icons {
    position: relative;
    display: inline-block;
    top: 0;
    margin-top: -1.1em;
    margin-bottom: -1em;
    font-size: 0.8rem;
    vertical-align: middle;
    margin-right: 5px;
}
/* Table styles */

/* Edit styles */
.edit-container .card {
    border-radius: 0;
}
.edit-container .card .single-form-input,
.add-material .single-form-input {
    margin-bottom: 15px;
    position: relative;
}
.edit-container .card .delete-image {
    position: absolute;
    right: 8px;
    top: 8px;
    font-size: 25px;
    cursor: pointer;
    color: red;
    background-color: var(--white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.edit-container .card .delete-image:hover {
    color: rgb(131, 12, 12);
    transition: all 0.3s;
}
.edit-container .form-label,
.add-material .form-label {
    font-size: 15px;
    margin-bottom: 3px;
}
.edit-container .form-control,
.add-material .form-control {
    font-size: 15px;
    border-radius: 0;
    letter-spacing: 0.5px;
}
.edit-container .image {
    height: 328px;
    width: 100%;
    object-fit: contain;
}
.edit-container .form-btn,
.add-material .form-btn {
    font-size: 15px;
    background-color: var(--brown);
    color: var(--white);
    border-radius: 0;
    transition: all 0.3s;
    width: 120px;
}
.edit-container .form-btn:hover,
.add-material .form-btn:hover {
    background-color: var(--red);
    transition: all 0.3s;
}
.edit-container .form-back-btn {
    font-size: 15px;
    background-color: var(--gray);
    color: var(--white);
    border-radius: 0;
    transition: all 0.3s;
    width: 120px;
}
.edit-container .form-back-btn:hover {
    background-color: var(--orange);
    transition: all 0.3s;
}
/* Edit styles */

/* Dashboard styles */
.dashboard-container {
    max-width: 1500px;
    margin: auto;
}
.dashboard .card {
    border: 0;
}
.dashboard .card-body .row {
    -webkit-box-shadow: 0px 0px 8px -5px rgb(0 0 0 / 70%);
    -moz-box-shadow: 0px 0px 8px -5px rgb(0 0 0 / 70%);
    box-shadow: 0px 0px 8px -5px rgb(0 0 0 / 70%);
    margin-bottom: 50px;
    padding: 25px;
    border-radius: 25px;
}
.dashboard .table-title {
    font-size: 17px;
    font-weight: 800;
}
.dashboard .card-header {
    padding: 15px;
    border-color: var(--white);
}
.dashboard .section-title {
    font-size: 20px;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}
.dashboard .section-title:hover {
    color: var(--dark_green);
    margin-bottom: 10px;
    display: inline-block;
}
.dashboard .swiper {
    padding-bottom: 30px;
}
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: -7px;
}
.dashboard .dashboard-title {
    font-size: 20px;
    color: var(--brown);
    font-weight: 600;
    padding-bottom: 15px;
    line-height: 20px;
}
.dashboard .dashboard-number {
    font-size: 35px;
    color: #0056f3;
    line-height: 35px;
}
.dashboard .single-data {
    height: 125px;
    text-align: center;
    border: 2px solid #dbdbdb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
}
.dashboard .single-box {
    width: 18%;
}
.attendance-dashboard .single-box {
    height: 50px;
    width: 19%;
    margin-bottom: 20px;
}
.attendance-dashboard .dashboard-title {
    font-size: 20px;
    color: crimson;
    padding-bottom: 0px;
}
/* Dashboard styles */

/* Login page styles */
.auth-notification {
    color: red;
    font-size: 22px;
    text-align: center;
}
.guest-login-page .footer {
    position: absolute;
    bottom: 0;
    color: var(--white);
}
/* .login nav {
    display: none;
}
.login {
    background-image: url('../images/login_background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login .login-form {
    width: 400px;
}
.login .login-form .card-header {
    font-size: 20px;
    color: rgb(112, 111, 111);
    text-align: center;
    padding: 15px 0;
}
.login .login-form .card-body {
    padding: 25px 0;
    display: flex;
}
.login .login-form .card-body .row {
    flex-direction: column;
    width: 300px;
}
.login .login-form .card-body form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.login .login-form .card-body form .col-form-label {
    font-size: 14px;
    color: rgb(112, 111, 111);
}
.login .login-form .card-body form .form-check-label {
    font-size: 13px;
    color: rgb(112, 111, 111);
}
.login .login-form .card-body form .form-control {
    font-size: 14px;
    color: rgb(112, 111, 111);
}
.login .login-form .card-body form .login-btn {
    font-size: 15px;
    color: var(--white);
    background-color: var(--purple);
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s;
}
.login .login-form .card-body form .forgot-link {
    font-size: 14px;
    font-weight: 500;
    border: 0;
    border-bottom: 1px solid transparent;
}
.login .login-form .card-body form .forgot-link:hover {
    border-bottom: 1px solid var(--purple);
}
.modal-btn {
    font-size: 15px;
    color: var(--white);
    background-color: var(--gray);
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    border-radius: 5px;
    border: 0;
    transition: all 0.3s;
}
.delete-btn {
    font-size: 15px;
    color: var(--white);
    background-color: red;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    border-radius: 5px;
    border: 0;
    transition: all 0.3s;
} */
/* Login page styles */

.warning-message {
    font-size: 18px;
    color: red;
    font-weight: 600;
    padding-top: 10px;
}
