/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
/*
  2. Remove default margin
*/
* {
  margin: 0;
}
/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*
  5. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
/*
  6. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
  font: inherit;
}
/*
  7. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
}
/*
  8. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}

/* Full-width inputs */
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 8px 12px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Set a style for all buttons */
button {
  background-color: #04aa6d;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

/* Add a hover effect for buttons */
button:hover {
  opacity: 0.8;
}

/* Extra style for the cancel button (red) */
.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

/* Center the avatar image inside this container */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
}

/* Avatar image */
img.avatar {
  width: 40%;
  border-radius: 50%;
}

/* Add padding to containers */
.container {
  padding: 16px;
}

/* The "Forgot password" text */
span.psw {
  float: right;
  padding-top: 16px;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
    display: block;
    float: none;
  }
  .cancelbtn {
    width: 100%;
  }
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Exo 2";
  font-size: 18px;
}
body {
  padding-bottom: 50px;
}
.container {
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting:after,
table.dataTable thead > tr > th.sorting_asc:before,
table.dataTable thead > tr > th.sorting_asc:after,
table.dataTable thead > tr > th.sorting_desc:before,
table.dataTable thead > tr > th.sorting_desc:after,
table.dataTable thead > tr > th.sorting_asc_disabled:before,
table.dataTable thead > tr > th.sorting_asc_disabled:after,
table.dataTable thead > tr > th.sorting_desc_disabled:before,
table.dataTable thead > tr > th.sorting_desc_disabled:after,
table.dataTable thead > tr > td.sorting:before,
table.dataTable thead > tr > td.sorting:after,
table.dataTable thead > tr > td.sorting_asc:before,
table.dataTable thead > tr > td.sorting_asc:after,
table.dataTable thead > tr > td.sorting_desc:before,
table.dataTable thead > tr > td.sorting_desc:after,
table.dataTable thead > tr > td.sorting_asc_disabled:before,
table.dataTable thead > tr > td.sorting_asc_disabled:after,
table.dataTable thead > tr > td.sorting_desc_disabled:before,
table.dataTable thead > tr > td.sorting_desc_disabled:after {
  right: 5px !important;
}
table.dataTable thead > tr > th.sorting,
table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc,
table.dataTable thead > tr > th.sorting_asc_disabled,
table.dataTable thead > tr > th.sorting_desc_disabled,
table.dataTable thead > tr > td.sorting,
table.dataTable thead > tr > td.sorting_asc,
table.dataTable thead > tr > td.sorting_desc,
table.dataTable thead > tr > td.sorting_asc_disabled,
table.dataTable thead > tr > td.sorting_desc_disabled {
  padding-right: 20px !important;
}
table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
  text-align: center !important;
}

.logo {
  max-width: 220px;
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
header {
  border-bottom: solid 1px;
  padding: 5px;
}

a {
  color: #f18918;
  text-decoration: none;
}

.flex-thirds {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.top_part {
  border-bottom: solid 1px;
  padding: 20px 0;
}
.clockbox {
  border: solid 5px #f18918;
  padding: 20px;
  text-align: center;
  width: 330px;
}
.clock#time {
  font-size: 44px;
  font-weight: 800;
}
.clock#date {
  font-size: 20px;
  font-weight: 700;
}

.right_info {
  width: 320px;
  border-top: solid 1px #f18918;
}
.right_info div {
  padding: 2px;
  border-bottom: solid 1px #f18918;
  display: flex;
  justify-content: space-between;
}
.right_info div span {
  display: flex;
  width: 40%;
}

.flex-middle {
  display: flex;
  justify-content: center;
}

.flex-middle a {
  width: 200px;
  height: 100px;
  background: #f18918;
  margin: 0 20px;
  border: solid 2px #000;
  color: #000;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  text-shadow: 1px 1px 2px #fff;
}
.middle_part {
  padding: 60px 0;
  border-bottom: solid 1px;
}
.flex-middle a.disabled {
  opacity: 0.3;
  pointer-events: none;
}
.disabled_at_start {
  opacity: 0.3;
  pointer-events: none;
}
.jobs a.disabled {
  opacity: 0.3;
  pointer-events: none;
}
.flex-middle a.clock_pop,
.jobs a.bundle_go {
  background: #40c840;
}
.flex-middle a.take_break,
.jobs a.proccessing_go {
  background: #ffe11a;
}
.flex-middle a.change_job,
.jobs a.drive_go {
  background: #ffae00;
}
.flex-middle a.next_pallet,
.jobs a.office_go {
  background: #5acff0;
}
.flex-middle a.clock_out {
  background: #f35d1a;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  display: flex;
}

.modal_change {
  display: flex;
}
.third {
  width: 33.33%;
}
.modal_inner {
  width: 800px;
  max-width: 90%;
  background: #fff;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.modal_inner h2 {
  font-size: 30px;
}
.modal_inner h3 {
  font-size: 20px;
  margin-top: 20px;
  font-style: italic;
  color: #f18918;
}
.jobs_initial,
.jobs_confirm {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.jobs_initial {
  flex-direction: column;
}
.jobs {
  margin-top: 30px;
}
.third:nth-child(3) {
  justify-content: end;
  display: flex;
}
.third:nth-child(2) {
  justify-content: center;
  display: flex;
}
.third:nth-child(1) {
  justify-content: start;
  display: flex;
}

.modal_canvas {
  display: none;
}

.jobs {
  display: flex;
  justify-content: center;
}

.jobs a {
  width: 150px;
  height: 75px;
  background: #f18918;
  margin: 0 10px;
  border: solid 2px #000;
  color: #000;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 2px #fff;
}

.jobs_confirm .submit {
  background: #40c840;
}

.jobs_confirm .cancel {
  background: #f35d1a;
}

.jobs_confirm_job {
  display: none;
}

.stat_us {
  font-weight: bold;
  color: #f18918;
  animation: blinker 1s linear infinite;
  text-transform: capitalize;
}

@keyframes blinker {
  50% {
    opacity: 0.3;
  }
}
.work_part *,
.day_part * {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.work_part {
  display: none;
}
.timers {
  padding: 20px 0;
}
.work_part .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.work_part h2,
.day_part h2 {
  margin-bottom: 10px;
  text-align: center;
}

.timers .clock {
  font-size: 44px;
  font-weight: 800;
}

footer {
  background: #000;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.timers .container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
.timers .container > * {
  max-width: 45%;
  width: 100%;
}

#daily_timer small {
  font-size: 20px;
}

.form_box {
  padding: 40px;
  max-width: 600px;
  margin: 30px auto;
  background: #eee;
}
.form_box h2 {
  text-align: center;
  margin-bottom: 10px;
}

.modal_onbreak .modal_inner {
  width: 100%;
  height: 100vh;
}

.modal_continue h2 {
  font-size: 60px;
  margin-bottom: 30px;
}
.reports {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 40px;
}
#rep_hours,
#rep_daily {
  color: #f18918;
  font-weight: 900;
}
.modal_continue h3 {
  font-size: 16px;
}
.go_continue {
  background: transparent;
  height: auto;
  font-size: 16px;
  width: auto;
  border: 0;
  text-decoration: underline;
}
.hide_on_live {
  display: none;
}

th,
td {
  text-align: center;
  padding: 8px;
}
.monday.day-cell {
  background-color: rgba(255, 0, 0, 0.2);
  color: #000;
}
.monday {
  background-color: rgba(255, 0, 0, 1);
  color: #fff;
  text-align: center !important;
}
.monday.time-cell {
  background-color: rgba(255, 0, 0, 0.3);
  color: #000;
}
.tuesday.day-cell {
  background-color: rgba(0, 0, 255, 0.2);
  color: #000;
}
.tuesday {
  background-color: rgba(0, 0, 255, 1);
  color: #fff;
  text-align: center !important;
}
.tuesday.time-cell {
  background-color: rgba(0, 0, 255, 0.3);
  color: #000;
}
.wednesday.day-cell {
  background-color: rgba(0, 255, 0, 0.2);
  color: #000;
}
.wednesday {
  background-color: rgba(0, 255, 0, 1);
  color: #000;
  text-align: center !important;
}
.wednesday.time-cell {
  background-color: rgba(0, 255, 0, 0.3);
  color: #000;
}
.thursday.day-cell {
  background-color: rgba(255, 255, 0, 0.2);
  color: #000;
}
.thursday {
  background-color: rgba(255, 255, 0, 1);
  color: #000;
  text-align: center !important;
}

.thursday.time-cell {
  background-color: rgba(255, 255, 0, 0.3);
  color: #000;
}
.friday.day-cell {
  background-color: rgba(128, 0, 128, 0.2);
  color: #000;
}
.friday {
  background-color: rgba(128, 0, 128, 1);
  color: #fff;
  text-align: center !important;
}
.friday.time-cell {
  background-color: rgba(128, 0, 128, 0.3);
  color: #000;
}
.saturday.day-cell {
  background-color: rgba(255, 165, 0, 0.2);
  color: #000;
}
.saturday {
  background-color: rgba(255, 165, 0, 1);
  color: #000;
  text-align: center !important;
}
.saturday.time-cell {
  background-color: rgba(255, 165, 0, 0.3);
  color: #000;
}
.sunday.day-cell {
  background-color: rgba(128, 128, 128, 0.2);
  color: #000;
}
.sunday {
  background-color: rgba(128, 128, 128, 1);
  color: #fff;
  text-align: center !important;
}
.sunday.time-cell {
  background-color: rgba(128, 128, 128, 0.3);
  color: #000;
}
.total-cell.day-cell {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
}
.total-cell {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center !important;
}
.total-cell.time-cell {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
}
.day-cell,
th.time-cell {
  font-size: 16px !important;
}
.admin-tabs {
  padding: 40px 0;
}

.tab_heads {
  display: flex;
  border-bottom: solid 1px #000;
  border-right: solid 1px #000;
}
.tab_heads div {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  cursor: pointer;
  padding: 20px 0;
  border-top: solid 1px #000;
  border-left: solid 1px #000;
}
.tab_heads div.active {
  background: #333;
  color: #fff;
}

.tab_section {
  display: none;
}

.tab_section.table_active {
  display: block;
}

.saturday,
.sunday {
  display: none;
}

th.name_col,
td.name_col,
table.dataTable thead th.name_col,
table.dataTable thead td.name_col {
  min-width: 200px !important;
  width: 200px !important;
  text-align: left !important;
  box-sizing: border-box !important;
  background: #fff !important;
  z-index: 9;
}
th.name_id,
td.name_id,
table.dataTable thead th.name_id,
table.dataTable thead td.name_id {
  width: 65px !important;
  min-width: 65px !important;
  box-sizing: border-box !important;
  text-align: left !important;
  background: #fff !important;
  z-index: 9;
}
table.dataTable#weeklyReportTable th,
table.dataTable#weeklyReportTable tbody td {
  padding: 4px 4px;
  font-size: 18px;
}

table.dataTable#weeklyReportTable th.sorting {
  padding-right: 20px;
}
.dataTable {
  padding: 40px 0;
}
.tab_section h2 {
  margin-bottom: 40px;
  text-align: center;
}
.tab_section {
  padding: 20px 0 100px;
}

table.dataTable tbody th,
table.dataTable tbody td {
  text-transform: capitalize;
}

.settings_table form {
  max-width: 650px;
  margin: 0 auto;
  border: solid 1px #aaa;
  padding: 40px;
  background: #f5f5f5;
}
.settings_table .form-control {
  margin-bottom: 20px;
}
.settings_table label {
  display: block;
  font-weight: 500;
  text-align: center;
}
.settings_table input {
  width: 100%;
  text-align: center;
  padding: 6px;
}
.dataTables_scrollHeadInner table {
  padding-bottom: 0;
}
.dataTables_scrollBody table {
  padding-top: 0;
}
.dataTable {
  min-width: 1160px;
}
.current_table .dataTable {
  min-width: 830px;
}
.days_table .dataTable {
  min-width: 1010px;
}
.months_table .dataTable {
  min-width: 360px;
}
@media (max-width: 1100px) {
  .flex-thirds > div:first-child {
    display: none;
  }
  .third {
    width: 50%;
  }
  .flex-middle a,
  .jobs a {
    margin: 0 5px;
    font-size: 20px;
    width: auto;
    padding: 20px 30px;
    height: auto;
  }
  .third:nth-child(2) {
    justify-content: flex-start;
  }
  .modal_inner h2 {
    font-size: 22px;
  }
  .modal_inner h3 {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .flex-middle a,
  .jobs a {
    margin: 0 5px;
    font-size: 20px;
    width: auto;
    padding: 10px 20px;
    height: auto;
  }
  .tab_heads {
    flex-wrap: wrap;
    width: auto;
    display: inline-flex;
  }
  .tab_heads div {
    width: auto;
    padding: 20px;
  }
  .admin-tabs .container {
    justify-content: center;
    display: flex;
  }
}

@media (max-width: 780px) {
  .flex-thirds {
    flex-direction: column;
  }
  .third:nth-child(2) {
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
  }
  .third:nth-child(3) {
    justify-content: center;
    width: 100%;
  }
  .flex-middle {
    flex-wrap: wrap;
    gap: 10px;
  }
  .flex-middle a,
  .jobs a {
    margin: 0;
  }
  .timers .container > * {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
  .timers .container {
    flex-direction: column;
  }
  .work_part {
    order: 1;
  }
  .day_part {
    order: 2;
  }
  .jobs {
    flex-wrap: wrap;
    gap: 10px;
  }
  .tab_heads div {
    width: 50%;
    padding: 15px;
  }
  .settings_go {
    width: 100% !important;
  }
}

@media (max-width: 520px) {
  .tab_section h2 {
    font-size: 20px;
  }
  table,
  table.dataTable#weeklyReportTable th,
  table.dataTable#weeklyReportTable tbody td {
    font-size: 16px !important;
  }

  th.name_col,
  td.name_col,
  table.dataTable thead th.name_col,
  table.dataTable thead td.name_col {
    min-width: 150px !important;
    width: 150px !important;
    text-align: left !important;
    box-sizing: border-box !important;
    background: #fff !important;
    z-index: 9;
  }
  th.name_id,
  td.name_id,
  table.dataTable thead th.name_id,
  table.dataTable thead td.name_id {
    width: 65px !important;
    min-width: 65px !important;
    box-sizing: border-box !important;
    text-align: left !important;
    background: #fff !important;
    z-index: 9;
  }
  footer {
    font-size: 12px;
  }
}
