.tile:hover {
    background-color: #f1f4f6 !important;
    border: 1px solid #e0e0e0;
}

.sidebar-modal {
    position: fixed;
    overflow: auto;
    bottom: 0;
    right: -100%;
    width: 90%;
    max-width: 700px;
    background-color: #ffffff;
    border-top: 1px solid #e7eaed;
    border-left: 1px solid #e7eaed;
    box-shadow: -5px 0px 30px 0px #dddfe1;
    min-height: calc(100vh - 64px);
    max-height: calc(100vh - 64px);
    transition: 0.3s;
    z-index: 999;
}

.modal-prj.active,
.sidebar-modal.active {
    right: 0;
    transition: 0.3s;
}

.modal-prj::-webkit-scrollbar,
.sidebar-modal::-webkit-scrollbar {
    width: 15px; /* width of the entire scrollbar */
    height: 15px;
}

.modal-prj::-webkit-scrollbar-track,
.sidebar-modal::-webkit-scrollbar-track {
    background: #f1f1f1; /* color of the tracking area */
}

.modal-prj::-webkit-scrollbar-thumb,
.sidebar-modal::-webkit-scrollbar-thumb {
    background-color: #c1c1c1; /* color of the scroll thumb */
    border: 4px solid #f1f1f1; /* creates padding around scroll thumb */
}

.log-appear {
    -webkit-animation-name: appear;
    -webkit-animation-duration: 1s;
    animation-name: appear;
    animation-duration: 1s;
}

.disabled {
    pointer-events: none;
}

/* Images overlaping */
.avatar {
    display: inline-block;
    overflow: hidden;
    width: 35px;
}

.avatar:not(:first-child) {
    margin-left: -6px;
    -webkit-mask: radial-gradient(circle 15px at -10px 50%, transparent 99%, #fff 100%);
    mask: radial-gradient(circle 15px at -10px 50%, transparent 99%, #fff 100%);
}

.avatar img {
    width: 100%;
    display: block;
    border: 1px solid #dee1e6;
}

/* Width and Height Min Max */
.w10 {
    width: 10px !important;
}
.w30 {
    width: 30px !important;
}
.w35 {
    width: 30px !important;
}
.w40 {
    width: 40px !important;
}
.w50 {
    width: 50px !important;
}
.w60 {
    width: 60px !important;
}

.w70 {
    width: 70px !important;
}

.w80 {
    width: 80px !important;
}

.w90 {
    width: 90px;
}

.w100 {
    width: 100px;
}

.w110 {
    width: 110px;
}

.w120 {
    width: 120px;
}

.w130 {
    width: 130px;
}

.w140 {
    width: 140px;
}

.w150 {
    width: 150px;
}

.w160 {
    width: 160px;
}

.w170 {
    width: 170px;
}

.w180 {
    width: 180px;
}

.w190 {
    width: 190px;
}

.w200 {
    width: 200px;
}

.w210 {
    width: 220px;
}

.w220 {
    width: 220px;
}

.w240 {
    width: 240px;
}

.w250 {
    width: 250px;
}

.w260 {
    width: 260px;
}

.w270 {
    width: 270px;
}

.w280 {
    width: 280px;
}

.w300 {
    width: 300px;
}

.w350 {
    width: 350px;
}

.w400 {
    width: 400px;
}

.w500 {
    width: 500px;
}

.w900 {
    width: 900px;
}

.wmin40 {
    min-width: 40px;
}

.wmin50 {
    min-width: 50px;
}

.wmin60 {
    min-width: 60px;
}

.wmin67 {
    min-width: 70px;
}

.wmin80 {
    min-width: 80px !important;
}

.wmin100 {
    min-width: 100px;
}

.wmin110 {
    min-width: 110px;
}

.wmin115 {
    min-width: 115px;
}

.wmin120 {
    min-width: 120px;
}

.wmin150 {
    min-width: 150px;
}

.wmin200 {
    min-width: 200px;
}

.wmin250 {
    min-width: 250px;
}

.wmin280 {
    min-width: 250px;
}

.wmin300 {
    min-width: 300px;
}

.wmin700 {
    min-width: 700px;
}

.wmin30 {
    min-width: 30px;
}

.wmax30 {
    max-width: 30px !important;
}

.wmax40 {
    max-width: 40px;
}

.wmax50 {
    max-width: 50px;
}

.wmax60 {
    max-width: 60px !important;
}

.wmax80 {
    max-width: 80px;
}

.wmax100 {
    max-width: 100px !important;
}

.wmax110 {
    max-width: 110px !important;
}

.wmax120 {
    max-width: 120px !important;
}

.wmax130 {
    max-width: 130px !important;
}

.wmax135 {
    max-width: 135px !important;
}

.wmax140 {
    max-width: 140px !important;
}

.wmax150 {
    max-width: 150px !important;
}

.wmax200 {
    max-width: 200px;
}

.wmax250 {
    max-width: 250px;
}

.wmax300 {
    max-width: 300px;
}

.wmax345 {
    max-width: 345px;
}

.wmax400 {
    max-width: 400px;
}

.wmax500 {
    max-width: 500px;
}

.wmax600 {
    max-width: 600px;
}

.wmax700 {
    max-width: 700px;
}

.wmax900 {
    max-width: 900px;
}

.wmax1000 {
    max-width: 1000px;
}

.wmax1200 {
    max-width: 1200px;
}

.h35 {
    height: 35px;
}

.h30 {
    height: 30px;
}

.h32 {
    height: 32px;
}

.h25 {
    height: 25px;
}

.h20 {
    height: 20px;
}

.h10 {
    height: 10px;
}

.hmin30 {
    min-height: 30px !important;
}

.hmax140 {
    max-height: 140px !important;
}

.hmax420 {
    max-height: 420px !important;
}

.hmax450 {
    max-height: 450px !important;
}

.hmax500 {
    max-height: 500px !important;
}

.hmax600 {
    max-height: 600px !important;
}

.hmax700 {
    max-height: 700px !important;
}

.h70vh {
    height: 70vh;
}

.hmax70vh {
    max-height: 70vh;
}

.hr5 {
    border: 5px solid #f1f1f1;
}

.hr2 {
    border: 2px solid #f1f1f1;
}

.qr_size {
    width: 68mm;
    height: 30mm;
    min-width: 68mm;
    min-height: 30mm;
    max-width: 68mm;
    max-height: 30mm;
}

/* Animation */
.animate-apppear-1s {
    -webkit-animation-name: appear;
    -webkit-animation-duration: 1s;
    animation-name: appear;
    animation-duration: 1s;
}

.animate-apppear-2s {
    -webkit-animation-name: appear;
    -webkit-animation-duration: 2s;
    animation-name: appear;
    animation-duration: 2s;
}

.animate-slide-1s {
    -webkit-animation-name: slide;
    -webkit-animation-duration: 3s;
    animation-name: slide;
    animation-duration: 3s;
}

/* Animation */
@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.opacity-0 {
    opacity: 0;
}

.inpt-new {
    position: relative;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.inpt-new .inpt-label {
    position: absolute;
    left: 2px;
    top: 0;
    background-color: #ffffff;
    color: #3a4137;
    white-space: nowrap;
    transform: translate(0, 0);
    transform-origin: 0 0;
    line-height: 0.1;
    padding-top: 0.5em;
    font-size: 1.1em !important;
    transform: translate(0.25rem, -65%) scale(0.8);
}

.inpt-new .inpt-label.inpt-body {
    background-color: #f1f3f4;
}

.inpt-new input.form-control.form-control-sm,
.inpt-new select.form-control.form-control-sm {
    height: calc(1.8125rem + 4px) !important;
}

.inpt-new textarea.form-control.form-control-sm {
    height: auto !important;
}

.inpt-field {
    box-sizing: border-box;
    display: block;
    width: 100%;
}

.text-orange {
    color: #fd703b !important;
}

.top-0 {
    top: 0 !important;
}
.top-40 {
    top: 40% !important;
}
.top-45 {
    top: 45% !important;
}
.top-50 {
    top: 50% !important;
}
.top-100 {
    top: 100% !important;
}
.bottom-0 {
    bottom: 0 !important;
}
.bottom-40 {
    bottom: 40% !important;
}
.bottom-45 {
    bottom: 45% !important;
}
.bottom-50 {
    bottom: 50% !important;
}
.bottom-100 {
    bottom: 100% !important;
}
.border-top-grayblue-10 {
    border-top: 10px solid #e8eff9;
}

.bg-inherit {
    background-color: inherit !important;
}

.z1 {
    z-index: 1 !important;
}

.z2 {
    z-index: 2 !important;
}

.rounded-20 {
    border-radius: 20px;
}

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

.radio-1-4 {
    -ms-transform: scale(1.4); /* IE 9 */
    -webkit-transform: scale(1.4); /* Chrome, Safari, Opera */
    transform: scale(1.4);
}

.cursor-default {
    cursor: default;
}

/* Custom Input */
.inpt-prcnt {
    padding-right: 20px;
    background: url("../../libraries/fonts/fontawesome6/pro/svgs/light/percent.svg") no-repeat right;
    background-size: 12px;
    background-position-x: 90%;
}

.double-underline {
    text-decoration-line: underline;
    text-decoration-style: double;
}

.ng-animate.no-animate {
    transition: 0s none;
    -webkit-transition: 0s none;
    animation: 0s none;
    -webkit-animation: 0s none;
}

/* Datatables customization */
.table-nopad-tr.dataTable tbody tr,
.table-nopad-tr.dataTable tbody td,
.table-nopad-tr tbody tr,
.table-nopad-tr tbody td {
    padding-top: 2px;
    padding-bottom: 2px;
}

.td-set:hover {
    background-color: #d4e6ff;
}

.border-tri-top-right {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px;
    border-color: #ff0000 transparent transparent #ff0000;
    float: left;
    position: absolute;
    top: 0px;
    border-radius: 0px 0px 0px 0px;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 5px;
    max-width: 700px;
    margin: 20px auto;
    margin-top: 0;
}

.calendar-header {
    font-weight: bold;
    background-color: #f1f1f1;
    text-align: center;
    border: 1px solid #ddd;
}

.day {
    border: 1px solid #ddd;
    padding: 10px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
    cursor: default;
    min-width: 90px;
    min-height: 90px;
    user-select: text;
    overflow-wrap: break-word;
}

.day:hover {
    background-color: #f0f0f0;
}

.attendance-block {
    height: 22px;
    vertical-align: middle;
    margin-top: 2px;
    line-height: 1.9;
    font-size: 0.75rem;
}

/* Custom serach input */
.search-container {
    position: relative;
    width: 250px;
}

.search-container input[type="text"] {
    width: 100%;
    padding: 7px;
    padding-left: 35px; /* Space for the icon */
    font-size: 12px;
    border: 1px solid #d4d4d4;
    border-radius: 3px;
}

.search-container i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.hr-with-title {
    display: flex;
    align-items: center;
    width: 100%;
}

.hr-with-title hr {
    flex-grow: 1;
    border: none;
    border-top: 1px solid #ccc;
    margin: 0;
}

.hr-with-title .title {
    margin-right: 15px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

@page {
    size: auto;
    margin: 0;
}

@media print {
    /* Hide unwanted elements */
    header,
    footer {
        display: none !important;
    }
    /* Optional: Clear margins or padding */
    body {
        margin: 0;
        padding: 0;
    }
}

.notif_badge {
    background-color: #fa3e3e;
    border-radius: 2px;
    color: white;
    padding: 1px 3px;
    font-size: 11px;
    position: absolute;
    top: 0;
    right: -10px;
    font-family: Arial;
    font-weight: normal;
}

.notif_badge_li {
    background-color: #fa3e3e;
    border-radius: 2px;
    color: white;
    padding: 1px 3px;
    margin-left: 5px;
}

.hover-shadow:hover {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgb(224, 224, 224);
}

.sub-text {
    color: #7b7b7b;
}

.head-text {
    color: #3e3e3e;
}

.f11 {
    font-size: 11px !important;
}

.f12 {
    font-size: 12px !important;
}

button:focus {
    border: 2px solid #392ccd;
}
