html {
  width: 100%;
}

body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  background-color: #ffffff;
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}

@media screen and (max-width: 300px) {
  body {
    width: 300px;
  }
}

.red_notice,
.green_notice {
  width: calc(100% - 30px);
  height: auto;
  padding: 8px 15px 10px 15px;
  margin: 20px auto 10px auto;
  position: relative;
  clear: both;
  display: table;
  text-align: center;
  font-size: 1.1em;
  font-weight: 500;
  border-radius: 5px;
  color: #ffffff;
}

@media print {
  .red_notice,
  .green_notice {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

@media screen and (max-width: 560px) {
  .red_notice,
  .green_notice {
    font-size: 1em;
  }
}

.red_notice {
  background-color: #d35858;
}

.green_notice {
  background-color: #94b174;
}

.red_notice a,
.red_notice a:visited {
  color: #2b0e42;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

/* NOTIFICATIONS */
.notification {
  width: calc(80% - 20px);
  height: auto;
  padding: 10px 10px 12px 10px;
  margin: 0 auto;
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 2001;
  color: #ffffff;
  text-align: center;
  font-size: 1.1em;
  border-radius: 5px;
}

@media print {
  .notification {
    display: none;
  }
}

@media screen and (max-width: 1080px) {
  .notification {
    font-size: 1em;
  }
}

@media screen and (max-width: 560px) {
  .notification {
    width: calc(90% - 20px);
    padding: 8px 10px 10px 10px;
    font-size: 1em;
  }
}

.notification_success {
  background-color: #94b174;
}

.notification_failure {
  background-color: #d35858;
}

.notification a,
.notification a:visited {
  color: #cacaca;
  text-decoration: none;
}

.close_not_btn {
  width: 22px;
  height: 22px;
  line-height: 22px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #525252 !important;
  font-size: 16px;
  text-align: center;
  position: absolute;
  right: -11px;
  top: -11px;
  z-index: 2002;
  border: 2px solid #525252;
  cursor: pointer;
}

/* HEADER BAR TOP */
.header {
  width: calc(100% - 10%);
  height: auto;
  padding: 5px 5%;
  margin: 0 auto;
  position: relative;
  clear: both;
  display: table;
  overflow: hidden;
  background-color: #010101;
}

@media screen and (max-width: 1080px) {
  .header {
    width: calc(100% - 40px);
    padding: 5px 20px;
  }
}

@media screen and (max-width: 767px) {
  .header {
    padding: 45px 20px 10px 20px;
  }
}

.site_logo {
  width: auto;
  height: auto;
  padding: 0 10px 0 0;
  display: table-cell;
  vertical-align: middle;
}

@media screen and (max-width: 560px) {
  .site_logo {
    width: 100%;
    padding: 0 0 5px 0;
    display: table;
    margin: 0 auto;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

.site_logo img {
  width: auto;
  height: 70px;
  display: table;
}

@media screen and (max-width: 1080px) {
  .site_logo img {
    height: 60px;
  }
}

@media screen and (max-width: 767px) {
  .site_logo img {
    height: 40px;
  }
}

@media screen and (max-width: 560px) {
  .site_logo img {
    height: 50px;
    margin: 0 auto;
    text-align: center;
  }
}

.quick_links {
  width: auto;
  height: auto;
  padding: 0 0 0 10px;
  display: table-cell;
  vertical-align: middle;
  text-align: right;
}

@media screen and (max-width: 560px) {
  .quick_links {
    width: 100%;
    padding: 10px 0 5px 0;
    display: table;
    position: relative;
    clear: both;
    text-align: center;
  }
}

.quick_links a,
.quick_links a:visited {
  color: #ffffff;
  text-decoration: none;
  float: right;
  margin: 0 0 0 15px;
  transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 560px) {
  .quick_links a,
  .quick_links a:visited {
    float: none;
    display: inline-block;
    text-align: center;
    margin: 0 10px;
  }
}

.quick_links a:hover,
.quick_links a:visited:hover {
  color: #536700;
}

.quick_links i {
  font-size: 26px;
}

@media screen and (max-width: 1080px) {
  .quick_links i {
    font-size: 24px;
  }
}

@media screen and (max-width: 767px) {
  .quick_links i {
    font-size: 20px;
  }
}

@media screen and (max-width: 560px) {
  .quick_links i {
    font-size: 18px;
  }
}

.icon_inner_text {
  font-family: "Noto Sans", sans-serif;
  font-weight: 500;
}

/* MAIN CONTENT HOLDER */
.content {
  width: calc(100% - 10%);
  height: auto;
  padding: 40px 5%;
  margin: 0 auto;
  position: relative;
  clear: both;
  display: table;
  overflow: hidden;
}

@media screen and (max-width: 1080px) {
  .content {
    width: calc(100% - 40px);
    padding: 40px 20px;
  }
}

@media screen and (max-width: 767px) {
  .content {
    padding: 40px 20px;
  }
}

.content_h2_header {
  width: calc(100% - 20px);
  height: auto;
  padding: 0;
  margin: 0 0 20px 0;
  position: relative;
  clear: both;
  display: table;
  font-size: 2.2em;
  line-height: 1em;
  font-weight: 600;
  color: #525252;
  font-family: "Noto sans", sans-serif;
  text-transform: uppercase;
}

@media screen and (max-width: 1080px) {
  .content_h2_header {
    font-size: 2em;
  }
}

@media screen and (max-width: 767px) {
  .content_h2_header {
    font-size: 1.6em;
  }
}

@media screen and (max-width: 560px) {
  .content_h2_header {
    font-size: 1.4em;
    text-align: center;
  }
}

@media screen and (max-width: 440px) {
  .content_h2_header {
    font-size: 1.3em;
    text-align: center;
  }
}

.content_h2_header i {
  color: #536700;
}

.content p {
  text-align: justify;
  line-height: 1.3em;
}

@media screen and (max-width: 767px) {
  .content p {
    text-align: left;
    font-size: 0.9em;
  }
}

@media screen and (max-width: 560px) {
  .content p {
    text-align: left;
  }
}

/* DASHBOARD */
.dashboard {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 20px auto;
  position: relative;
  clear: both;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  overflow: hidden;
}

@media screen and (max-width: 1080px) {
  .dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 560px) {
  .dashboard {
    grid-template-columns: repeat(1, 1fr);
  }
}

.dashboard_holder {
  height: auto;
  padding-bottom: 60%;
  margin: 0;
  position: relative;
  background-color: #161616;
  border-radius: 10px;
  transition: all 0.4s ease-in-out;
}

.dashboard_holder:hover {
  background-color: #000000;
}

.dashboard_holder_float {
  width: calc(100% - 40px);
  height: auto;
  padding: 0 20px;
  margin: 0 auto;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}

.dashboard_icon {
  width: auto;
  height: auto;
  padding: 0;
  margin: 0 auto 10px auto;
  position: relative;
  clear: both;
  display: table;
  text-align: center;
  color: #536700;
  font-size: 3vw;
  transition: all 0.4s ease-in-out;
}

@media screen and (max-width: 1080px) {
  .dashboard_icon {
    font-size: 6vw;
  }
}

@media screen and (max-width: 560px) {
  .dashboard_icon {
    font-size: 10vw;
  }
}

.dashboard_title {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0 auto;
  position: relative;
  clear: both;
  display: table;
  text-align: center;
  font-size: 1.4vw;
  line-height: 1em;
  color: #ffffff;
  transition: all 0.4s ease-in-out;
}

@media screen and (max-width: 1080px) {
  .dashboard_title {
    font-size: 3vw;
  }
}

@media screen and (max-width: 560px) {
  .dashboard_title {
    font-size: 5.5vw;
  }
}

.dashboard_broken {
  font-size: 30px;
  color: #ff0000;
  position: absolute;
  top: 5px;
  right: 10px;
  z-index: 2;
  animation: flash 1s infinite;
}

@media screen and (max-width: 560px) {
  .dashboard_broken {
    font-size: 25px;
  }
}

@media screen and (max-width: 440px) {
  .dashboard_broken {
    font-size: 20px;
  }
}

/* FILTER */
.filter_bar {
  width: calc(100% - 30px);
  height: auto;
  padding: 15px;
  margin: 10px auto;
  position: relative;
  clear: both;
  background-color: #030040;
  display: table;
}

@media screen and (max-width: 1080px) {
  .filter_bar {
    width: calc(100% - 20px);
    padding: 10px;
  }
}

.filter_group {
  width: calc(100% / 3 - 58px);
  height: auto;
  padding: 0;
  margin: 0 5px 0 0;
  position: relative;
  clear: none;
  float: left;
  display: table;
}

@media screen and (max-width: 560px) {
  .filter_group {
    width: 100%;
    margin: 0 0 5px 0;
  }
}

@media screen and (max-width: 560px) {
  .filter_group_with_button {
    width: calc(100% - 95px);
    margin: 0;
  }
}

.filter_bar input[type="text"],
.filter_bar select {
  width: calc(100% - 20px);
  height: 28px;
  padding: 10px;
  margin: 0 5px 0 0;
  border: 0;
  background-color: #e5e5e5;
  float: left;
  font-family: "Noto sans", sans-serif;
  font-size: 1.1em;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 1080px) {
  .filter_bar input[type="text"],
  .filter_bar select {
    font-size: 1em;
  }
}

@media screen and (max-width: 767px) {
  .filter_bar input[type="text"],
  .filter_bar select {
    font-size: 0.9em;
  }
}

@media screen and (max-width: 560px) {
  .filter_bar input[type="text"],
  .filter_bar select {
    height: 22px;
  }
}

.filter_bar input[type="text"]:hover,
.filter_bar select:hover {
  background-color: #ffffff;
}

.filter_bar select {
  width: 100%;
  height: 48px;
  border-radius: 4px;
}

@media screen and (max-width: 560px) {
  .filter_bar select {
    height: 42px;
  }
}

.form_calendar_icon {
  width: auto;
  padding: 0;
  margin: 0;
  position: absolute;
  top: calc(50% - 1px);
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 20px;
  color: #5a5a5a !important;
}

.submit_filter,
.reset_filter {
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0 0 0 5px;
  border: 0;
  float: right;
  border-radius: 4px;
  background-color: #536700;
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

@media screen and (max-width: 560px) {
  .submit_filter,
  .reset_filter {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
}

.submit_filter:hover,
.reset_filter:hover {
  background-color: #323e00;
}

/* ATTENDANCE REGISTER - DATA LIST */
.attendance_register_data {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0 auto;
  position: relative;
  clear: both;
  display: table;
}

.attendance_register_data table {
  width: 100%;
  border-collapse: collapse;
}

.attendance_register_data table tr:nth-child(odd) {
  background-color: #efefef;
}

.attendance_register_data table tr:nth-child(even) {
  background-color: #ffffff;
}

.incomplete_register:nth-child(odd),
.incomplete_register:nth-child(even) {
  background-color: #ff0000 !important;
}

.attendance_register_data table th {
  padding: 8px 10px;
  background-color: #161616;
  color: #ffffff;
  text-align: left;
  font-size: 1.1em;
}

.attendance_register_data .table_sub_header {
  padding: 8px 10px 6px 10px;
  background-color: #efefef !important;
  color: #000000 !important;
  text-align: right !important;
}

.attendance_register_data .table_sub_header i {
  color: #2b0e42;
  font-size: 20px;
  line-height: 1em;
  transition: all 0.3s ease-in-out;
}

.attendance_register_data .table_sub_header i:hover {
  color: #1d092e;
}

@media screen and (max-width: 1080px) {
  .attendance_register_data table th {
    font-size: 1em;
  }
}

@media screen and (max-width: 767px) {
  .attendance_register_data table th {
    font-size: 0.9em;
  }
}

@media screen and (max-width: 440px) {
  .attendance_register_data table th {
    font-size: 0.8em;
  }
}

.attendance_register_data table td {
  padding: 8px 10px;
  color: #252525;
  text-align: left;
  font-size: 1.1em;
  font-weight: 500;
}

.incomplete_register td {
  color: #ffffff !important;
}

@media screen and (max-width: 1080px) {
  .attendance_register_data table td {
    font-size: 1em;
  }
}

@media screen and (max-width: 767px) {
  .attendance_register_data table td {
    font-size: 0.9em;
  }
}

@media screen and (max-width: 440px) {
  .attendance_register_data table td {
    font-size: 0.8em;
  }
}

.td_right {
  text-align: right !important;
}

.inline_button {
  width: 32px;
  height: 32px;
  line-height: 31px;
  text-align: center;
  border: 0;
  margin: 0 0 0 5px;
  background-color: #536700;
  color: #ffffff;
  font-size: 14px;
  display: table;
  float: right;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 767px) {
  .inline_button {
    float: none;
    clear: both;
  }
}

.inline_button:hover {
  background-color: #323e00;
}

.td_buttons {
  width: 111px;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .td_buttons {
    width: 32px;
    white-space: normal;
  }
}

/* ATTENDANCE REGISTER - ADD & EDIT */
.attendance_current_date {
  width: auto;
  height: auto;
  padding: 10px 25px;
  background-color: #d4d4d4;
  color: #333333;
  border-radius: 5px;
  display: table;
  position: relative;
  clear: both;
  font-size: 1.1em;
  font-weight: 500;
}

@media screen and (max-width: 440px) {
  .attendance_current_date {
    width: calc(100% - 20px);
    padding: 10px 10px;
    font-size: 1.1em;
    text-align: center;
  }
}

.attendance_date_tag {
  font-weight: 700;
  color: #727272;
}

.group_hours_populate {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 30px 0 20px 0;
  position: relative;
  clear: both;
  display: table;
}

@media screen and (max-width: 560px) {
  .group_hours_populate {
    text-align: center;
  }
}

.group_hours_populate_tag {
  height: auto;
  padding: 0 10px 26px 0;
  display: table-cell;
  vertical-align: middle;
  font-size: 1.8em;
  line-height: 1em;
  font-weight: 600;
  color: #525252;
  white-space: nowrap;
}

@media screen and (max-width: 1080px) {
  .group_hours_populate_tag {
    font-size: 1.6em;
  }
}

@media screen and (max-width: 767px) {
  .group_hours_populate_tag {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 560px) {
  .group_hours_populate_tag {
    width: 100%;
    font-size: 1.2em;
    display: table;
    position: relative;
    padding: 0 0 5px 0;
    text-align: center;
  }
}

.group_hours_populate_input {
  width: 100%;
  height: auto;
  padding: 0 0 0 10px;
  display: table-cell;
  vertical-align: middle;
}

@media screen and (max-width: 560px) {
  .group_hours_populate_input {
    padding: 0;
    display: table;
    position: relative;
  }
}

.group_hours_populate_input input[type="number"] {
  width: calc(100% - 24px);
  height: 30px;
  padding: 10px;
  border: 2px solid #c4c4c4;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: 500;
  text-align: right;
}

@media screen and (max-width: 560px) {
  .group_hours_populate_input input[type="number"] {
    height: 20px;
    padding: 10px 10px;
    font-size: 1em;
    text-align: center;
  }
}

.hours_apply_button {
  width: auto;
  height: auto;
  padding: 4px 0 0 0;
  margin: 0 0 0 20px;
  position: relative;
  clear: none;
  float: right;
  font-size: 0.9em;
  font-weight: 500;
  color: #1f05b3;
  cursor: pointer;
}

@media screen and (max-width: 560px) {
  .hours_apply_button {
    margin: 0 10px;
    clear: both;
    float: none;
    font-size: 0.9em;
    display: inline-block;
    text-align: center;
  }
}

.attendance_select_group {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 20px auto;
  position: relative;
  clear: both;
  display: table;
}

.attendance_select_group_outer {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 20px auto;
  position: relative;
  clear: both;
  display: table;
}

.attendance_select_group_tag {
  width: 30%;
  height: auto;
  padding: 0 10px 0 0;
  display: table-cell;
  vertical-align: middle;
  font-size: 1.8em;
  line-height: 1em;
  font-weight: 600;
  color: #525252;
  white-space: nowrap;
}

@media screen and (max-width: 1080px) {
  .attendance_select_group_tag {
    font-size: 1.6em;
  }
}

@media screen and (max-width: 767px) {
  .attendance_select_group_tag {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 560px) {
  .attendance_select_group_tag {
    font-size: 1.1em;
    display: table;
    position: relative;
    padding: 0 0 5px 0;
  }
}

.attendance_select_group_list {
  width: 70%;
  height: auto;
  padding: 0 0 0 10px;
  display: table-cell;
  vertical-align: middle;
}

@media screen and (max-width: 560px) {
  .attendance_select_group_list {
    padding: 0;
    display: table;
    position: relative;
  }
}

.attendance_select_group_list select {
  width: 100%;
  height: 50px;
  padding: 10px;
  border: 2px solid #c4c4c4;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: 500;
}

.attendance_select_group_list input[type="date"] {
  width: calc(100% - 24px);
  height: auto;
  padding: 10px;
  margin: 0;
  border: 2px solid #c4c4c4;
  border-radius: 4px;
  font-size: 1.1em;
  font-family: "Noto Sans", sans-serif;
}

.attendance_current_group_name {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 20px 0 10px 0;
  position: relative;
  clear: both;
  display: table;
  font-size: 1.4em;
  line-height: 1.1em;
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
}

@media screen and (max-width: 1080px) {
  .attendance_current_group_name {
    font-size: 1.3em;
  }
}

@media screen and (max-width: 767px) {
  .attendance_current_group_name {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 560px) {
  .attendance_current_group_name {
    font-size: 1.1em;
  }
}

@media screen and (max-width: 440px) {
  .attendance_current_group_name {
    text-align: center;
    font-size: 1.1em;
  }
}

.attendance_employee_list table {
  width: 100%;
  padding: 5px;
  margin: 5px 0;
  border: 1px solid #c4c4c4;
  border-radius: 5px;
}

@media screen and (max-width: 767px) {
  .attendance_employee_list table {
    padding: 5px;
  }
}

.attendance_employee_list table th {
  width: 100%;
  text-align: left;
  font-size: 1.2em;
  color: #525252;
  font-weight: 600;
  padding: 0 20px 0 0;
}

@media screen and (max-width: 767px) {
  .attendance_employee_list table th {
    font-size: 1.1em;
  }
}

@media screen and (max-width: 560px) {
  .attendance_employee_list table th {
    font-size: 1em;
  }
}

@media screen and (max-width: 440px) {
  .attendance_employee_list table th {
    font-size: 0.9em;
  }
}

.attendance_employee_list table td {
  width: 50px;
  text-align: right;
  white-space: nowrap;
}

.attendance_employee_list input[type="number"] {
  width: 70px;
  height: 28px;
  padding: 5px 10px;
  border: 0;
  border-radius: 5px;
  font-size: 1em;
  font-weight: 500;
  text-align: right;
  background-color: #efefef;
  font-family: "Noto Sans", serif;
}

@media screen and (max-width: 560px) {
  .attendance_employee_list input[type="number"] {
    width: 60px;
    font-size: 0.9em;
  }
}

.already_attended {
  background-color: #74f374 !important;
}

/* EMPLOYEE MODAL POPUP */
.employee_view_popup {
  width: calc(90% - 40px);
  height: auto;
  padding: 20px;
  margin: 0 auto;
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: none;
  background-color: #efefef;
  border-radius: 5px;
  z-index: 50001;
}

.employee_info {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  position: relative;
  clear: both;
  display: table;
}

.employee_info_left {
  width: 70%;
  height: auto;
  padding: 0 10px 0 0;
  display: table-cell;
  vertical-align: middle;
}

@media screen and (max-width: 1080px) {
  .employee_info_left {
    width: 60%;
  }
}

@media screen and (max-width: 560px) {
  .employee_info_left {
    width: 100%;
    padding: 0;
    display: table;
    position: relative;
    clear: both;
  }
}

.employee_info_right {
  width: 30%;
  height: auto;
  padding: 0 0 0 10px;
  display: table-cell;
  vertical-align: middle;
}

@media screen and (max-width: 1080px) {
  .employee_info_right {
    width: 40%;
  }
}

@media screen and (max-width: 560px) {
  .employee_info_right {
    width: 60%;
    padding: 20px 0 0 0;
    margin: 0 auto;
    display: table;
    position: relative;
    clear: both;
  }
}

@media screen and (max-width: 440px) {
  .employee_info_right {
    width: 80%;
  }
}

@media screen and (max-width: 300px) {
  .employee_info_right {
    width: 100%;
  }
}

.employee_view_popup_photo {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  position: relative;
  clear: both;
  display: table;
}

.employee_view_popup_photo_float {
  width: 100%;
  height: auto;
  padding-bottom: 100%;
  margin: 0;
  position: relative;
  clear: both;
  display: table;
  background-color: #252525;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.employee_popup_modal {
  border: 0 !important;
  margin: 0 !important;
  border-collapse: collapse;
}

.employee_popup_modal tr:nth-child(even) {
  background-color: #d3d3d3;
}

.employee_popup_modal th,
.employee_popup_modal td {
  padding: 8px !important;
  font-size: 1.1em !important;
}

@media screen and (max-width: 1080px) {
  .employee_popup_modal th,
  .employee_popup_modal td {
    font-size: 1em !important;
  }
}

@media screen and (max-width: 767px) {
  .employee_popup_modal th,
  .employee_popup_modal td {
    font-size: 0.9em !important;
  }
}

.employee_popup_modal a,
.employee_popup_modal a:visited {
  text-decoration: none;
}

.employee_view_popup_filter {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0 auto;
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal_close_button {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 22px;
  color: #ffffff !important;
  background-color: #ff0000;
  position: absolute;
  top: -15px;
  right: -15px;
  z-index: 50003;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.modal_close_button:hover {
  transform: rotate(180deg);
}

.employee_popup_icon {
  color: #2b0091 !important;
  cursor: pointer !important;
}

/* ATTENDANCE REPORT */
.attendance_monthly_report {
  width: calc(100% - 20px);
  height: auto;
  padding: 10px;
  margin: 0 auto;
  position: relative;
  clear: both;
  overflow: visible;
}

@media print {
  /* Set page size to A4 landscape */
  @page {
    size: A4 landscape;
    margin: 10mm;
  }
}

.table-container {
  overflow-x: auto;
  /* Enables horizontal scrolling for the table only */
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on iOS */
}

.attendance_monthly_report table {
  width: 100%;
  /* Ensures table takes full width inside the container */
  min-width: 1000px;
  /* Adjust as needed for minimum table width */
  border-collapse: collapse;
}

.attendance_monthly_report table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.7em;
}

.attendance_monthly_report_bottom_border {
  border-bottom: 2px solid #000000 !important;
}

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

.attendance_monthly_report_right_align {
  text-align: right !important;
}

.attendance_monthly_report_bold {
  font-weight: 600;
}

.attendance_monthly_report_shaded {
  background-color: #a0a0a0;
}

.attendance_monthly_report_deductions {
  width: 50px;
}

.attendance_monthly_report table th {
  padding: 5px;
  border: 1px solid #c4c4c4;
  background-color: #252525;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 16px;
}

.attendance_monthly_report table td {
  padding: 5px;
  border: 1px solid #c4c4c4;
}

.attendance_monthly_report .saturday {
  background-color: #efefef;
  border-left: 2px solid black !important;
  border-right: 2px solid black !important;
}

.attendance_monthly_report .sunday {
  background-color: #dadada;
  border-left: 2px solid black !important;
  border-right: 2px solid black !important;
}

/* Set equal width for each day cell */
.day-cell {
  width: 25px;
  /* Adjust width as needed */
  text-align: center;
}

@media print {
  /* Table and general print styling */
  .attendance_monthly_report {
    width: 100%;
    border-collapse: collapse;
    transform: scale(0.8);
    transform-origin: top left;
  }

  .attendance_monthly_report th,
  .attendance_monthly_report td {
    border: 1px solid #000;
    padding: 5px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .saturday {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Optional styling to make the print layout more readable */
  .attendance_monthly_report th {
    background-color: #f0f0f0;
  }

  .attendance_monthly_report .filter_bar {
    display: none;
  }
}

/* CUSTOM CHECKBOXES AND RADIO BUTTONS */
.checkbox_container,
.radio_container {
  display: block;
  position: relative;
  padding-left: 40px;
  margin-bottom: 38px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox_container.disabled_btn {
  opacity: 0.7 !important;
  cursor: default !important;
}

.checkbox_container.full_disabled_btn {
  pointer-events: none !important;
  opacity: 1 !important;
  cursor: default !important;
}

/* Hide the browser's default checkbox */
.checkbox_container input,
.radio_container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 38px;
  width: 38px;
  background-color: #536700;
}

.checkbox_container .checkmark {
  border-radius: 0;
}

.radio_container .checkmark {
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.checkbox_container:hover input ~ .checkmark,
.radio_container:hover input ~ .checkmark {
  background-color: #3d4d00;
}

/* When the checkbox is checked, add a blue background */
.checkbox_container input:checked ~ .checkmark,
.radio_container input:checked ~ .checkmark {
  background-color: #536700;
  border-radius: 5px;
}

.checkmark {
  border-radius: 5px !important;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox_container input:checked ~ .checkmark:after,
.radio_container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox_container .checkmark:after,
.radio_container .checkmark:after {
  left: 15px;
  top: 10px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* PAGINATION */
.pagination {
  margin-top: 30px;
  text-align: center;
}

.pagination a {
  padding: 8px 12px;
  margin: 0 1px;
  text-decoration: none;
  color: #333;
  background-color: #dfdfdf;
  border: 0;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.pagination a.active {
  background-color: #007bff;
  color: #ffffff;
}

.pagination a:hover {
  background-color: #004ea1;
  color: #ffffff;
}

.pagination a.prev,
.pagination a.next {
  font-weight: bold;
}

/* FOOTER */
.footer {
  width: calc(100% - 10%);
  height: auto;
  padding: 10px 5%;
  margin: 0 auto;
  position: relative;
  clear: both;
  display: table;
  background-color: #161616;
  text-align: center;
  font-size: 0.8em;
  color: #ffffff;
  font-weight: 500;
}

@media screen and (max-width: 1080px) {
  .footer {
    width: calc(100% - 40px);
    padding: 10px 20px;
  }
}

@media screen and (max-width: 767px) {
  .footer {
    padding: 10px 20px 45px 20px;
  }
}

@media screen and (max-width: 560px) {
  .footer {
    font-size: 0.7em;
  }
}

.footer a,
.footer a:visited {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.footer a:hover,
.footer a:visited:hover {
  color: #c4c4c4;
}

.footer_holder {
  width: 100%;
  height: auto;
  padding: 2px 0;
  margin: 0 auto;
  position: relative;
  clear: both;
  display: table;
}

/* FORM STYLING */
fieldset {
  width: calc(100% - 34px);
  height: auto;
  padding: 15px;
  margin: 0 auto 20px auto;
  border: 2px solid #030040;
  border-radius: 5px;
}

legend {
  width: auto;
  padding: 0 10px;
  font-size: 1.5em;
  font-weight: 500;
  font-family: "Noto sans", sans-serif;
  text-transform: uppercase;
  color: #030040;
}

@media screen and (max-width: 767px) {
  legend {
    font-size: 1.4em;
  }
}

@media screen and (max-width: 560px) {
  legend {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 440px) {
  legend {
    font-size: 1.1em;
    text-align: center;
  }
}

.password_error {
  width: calc(100% - 20px);
  height: auto;
  padding: 6px 10px;
  margin: 20px auto;
  position: relative;
  clear: both;
  display: none;
  background-color: #ff0000;
  color: #ffffff;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9em;
}

.gen_btn {
  width: auto;
  height: auto;
  margin: 10px 0 0 0;
  padding: 8px 25px;
  background-color: #2b0e42;
  color: #ffffff;
  font-family: "Noto sans", sans-serif;
  font-size: 1.2em;
  font-weight: 400;
  border: 0;
  border-radius: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 440px) {
  .gen_btn {
    width: 49%;
    padding: 8px 20px;
    font-size: 1em;
  }
}

.gen_btn_right {
  float: right;
}

.gen_btn:hover {
  background-color: #11051a;
}

.form_group {
  clear: both;
  display: table;
  height: auto;
  margin: 0 0 15px 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.form_group_full {
  clear: both;
  display: table;
  height: auto;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.form_group_left {
  clear: none;
  display: table;
  float: left;
  height: auto;
  margin: 0 1% 0 0;
  padding: 0;
  position: relative;
  width: 49%;
}

@media screen and (max-width: 560px) {
  .form_group_left {
    clear: both;
    float: none;
    margin: 0 0 15px;
    width: 100%;
  }
}

.form_group_right {
  clear: none;
  display: table;
  float: right;
  height: auto;
  margin: 0 0 0 1%;
  padding: 0;
  position: relative;
  width: 49%;
}

@media screen and (max-width: 560px) {
  .form_group_right {
    clear: both;
    float: none;
    margin: 0;
    width: 100%;
  }
}

.form_group_1_3 {
  clear: none;
  display: table;
  float: left;
  height: auto;
  margin: 0 1% 0 0;
  padding: 0;
  position: relative;
  width: calc(100% / 3 - 1%);
}

@media screen and (max-width: 560px) {
  .form_group_1_3 {
    margin: 0 0 15px 0;
    width: 100%;
  }
}

.form_group_2_3 {
  clear: none;
  display: table;
  float: left;
  height: auto;
  margin: 0 1% 0 1%;
  padding: 0;
  position: relative;
  width: calc(100% / 3 - 2%);
}

@media screen and (max-width: 560px) {
  .form_group_2_3 {
    margin: 0 0 15px 0;
    padding: 0;
    width: 100%;
  }
}

.form_group_3_3 {
  clear: none;
  display: table;
  float: right;
  height: auto;
  margin: 0 0 0 1%;
  padding: 0;
  position: relative;
  width: calc(100% / 3 - 1%);
}

@media screen and (max-width: 560px) {
  .form_group_3_3 {
    margin: 0 0 15px 0;
    width: 100%;
  }
}

.form_label {
  clear: both;
  display: table;
  height: auto;
  margin: 0;
  padding: 0 0 4px 0;
  position: relative;
  width: 100%;
}

.form_label label {
  color: #4d4d4d;
  font-family: "Noto Sans", sans-serif;
  font-size: 1em;
  font-weight: 500;
}

.form_field {
  clear: both;
  display: table;
  height: auto;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.form_field input[type="text"],
.form_field input[type="number"],
.form_field input[type="password"],
.form_field input[type="email"],
.form_field input[type="file"] {
  background-color: #ffffff;
  border: 1px solid #c4c4c4;
  font-family: "Noto Sans", sans-serif;
  height: 25px;
  margin: 0;
  outline: none;
  padding: 10px 10px;
  transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  width: calc(100% - 20px - 2px);
}

.form_field input[type="text"]:hover,
.form_field input[type="text"]:focus,
.form_field input[type="number"]:hover,
.form_field input[type="number"]:focus,
.form_field input[type="password"]:hover,
.form_field input[type="password"]:focus,
.form_field input[type="email"]:hover,
.form_field input[type="email"]:focus,
.form_field input[type="file"]:hover,
.form_field input[type="file"]:focus {
  background-color: #f2f2f2;
  border: 1px solid #c4c4c4;
}

.form_field select {
  background-color: #ffffff;
  border: 1px solid #c4c4c4;
  font-family: "Noto Sans", sans-serif;
  height: 47px;
  margin: 0;
  outline: none;
  padding: 10px 10px;
  transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  width: 100%;
}

.form_field select:hover,
.form_field select:focus {
  background-color: #f2f2f2;
  border: 1px solid #c4c4c4;
}

.form_field textarea {
  background-color: #ffffff;
  border: 1px solid #c4c4c4;
  font-family: "Noto Sans", sans-serif;
  height: 125px;
  margin: 0;
  outline: none;
  padding: 10px 10px;
  transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  width: calc(100% - 20px - 2px);
}

.form_field textarea:hover,
.form_field textarea:focus {
  background-color: #f2f2f2;
  border: 1px solid #c4c4c4;
}

.form_oneliner_label {
  display: table-cell;
  height: auto;
  padding: 0 2% 0 0;
  vertical-align: middle;
  width: 48%;
}

.form_oneliner_field {
  display: table-cell;
  height: auto;
  padding: 0 0 0 2%;
  vertical-align: middle;
  width: 48%;
}

.form_note {
  clear: both;
  color: #525252;
  display: table;
  font-size: 0.8em;
  font-weight: 500;
  height: auto;
  margin: 2px 0 0 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.form_note a,
.form_note a:visited {
  text-decoration: none;
}

.red_asterisk {
  color: red;
  font-size: 0.6em;
  vertical-align: super;
}

.red_asterisk:before {
  color: red;
  content: "\f069";
  font-family: "Font Awesome 6 Pro", sans-serif;
  font-size: 0.8em;
  vertical-align: super;
}

.hfield {
  display: none;
}

.password_toggle {
  position: absolute;
  top: 9px;
  right: 10px;
  font-size: 22px;
  color: #525252;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.password_toggle:hover {
  color: #252525;
}

/* LEGENDS */
.system_legends {
  width: calc(100% - 24px);
  height: auto;
  padding: 10px;
  margin: 20px 0 0 0;
  position: relative;
  clear: both;
  display: table;
  border: 2px solid #d8d8d8;
  border-radius: 5px;
}

.system_legend_holder {
  width: auto;
  height: auto;
  padding: 0;
  margin: 0 30px 0 0;
  position: relative;
  clear: none;
  float: left;
  display: table;
}

@media screen and (max-width: 560px) {
  .system_legend_holder {
    margin: 0 12px 0 0;
  }
}

.system_legend_colour {
  width: 25px;
  height: 25px;
  padding: 0;
  display: table-cell;
  vertical-align: middle;
}

@media screen and (max-width: 560px) {
  .system_legend_colour {
    width: 15px;
    height: 15px;
  }
}

.system_legend_colour.green {
  background-color: #74f374;
}

.system_legend_colour.red {
  background-color: #ff0000;
}

.system_legend_colour.orange {
  background-color: #ffa500;
}

.system_legend_colour.grey {
  background-color: #575757;
}

.system_legend_name {
  width: auto;
  height: auto;
  padding: 0 0 0 5px;
  display: table-cell;
  vertical-align: middle;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 1em;
}

@media screen and (max-width: 560px) {
  .system_legend_name {
    font-size: 0.8em;
  }
}
