/* @import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@0;1&family=Poppins&display=swap"); */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  /* #998d7a; */
  /* --main-color: #878585; */
  /* --main-color: #817d7a; */
  --main-color: #414e6d;
  --mc2: #606c884f;
  --mc3: #606c880e;
  --hover-color: #61a5cd;
  --main-color-light: hsla(0, 27%, 83%, 0.2);
  --text-color: rgb(45, 48, 50);
  --danger-color: transparent;
  --sidebar: #333c40;

  /* --gradient: linear-gradient(to right, #614385 0%, #516395 51%, #614385 100%); */
  /* --gradient: linear-gradient(to right, #606c88 0%, #3f4c6b 51%, #606c88 100%); */
  /* --gradient: #007bff; */
  /* --gradient: #2d9f1d; */
  /* --gradient: #5ea2bb; 1*/
  /* --gradient: #5e86bb; 2 */
  --gradient: #3998c0;
}

::-webkit-scrollbar-track {
  border-radius: 3px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #a2a2a2;
}

* {
  font-size: 11px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "Poppins", sans-serif; */
  font-family: "Montserrat", sans-serif;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  font-size: 15px;
  display: flex;
  justify-content: center;
  background: radial-gradient(
    circle at 76% 26%,
    #e9f0f5 0,
    #f2f0f4 57%,
    #f5f5f5 100%
  );
}

.content {
  justify-content: center;
  /* margin-left: 66px; */
  /* margin-right: 20px; */
  min-width: 80%;
  background-color: #f5f5f540 !important;
  padding: 0.625em 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}

section {
  margin-top: 15px;
  margin-bottom: 15px;
  min-width: 100%;
}

/* TITLE */

h1 {
  font-size: 2.5em;
  color: #353535;
  font-weight: 400;
}

h2 {
  font-size: 2rem;
  color: #353535;
  font-weight: 300;
}

h4 {
  font-size: 16px;
  font-weight: 600;
  color: rgb(50, 49, 48);
}

h5 {
  font-size: 14px;
  font-weight: 600;
}

label {
  color: #333333;
  font-weight: 500;
  font-size: 11px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="color"],
textarea {
  -webkit-appearance: none;
  /* background-color: rgb(241, 243, 244) !important;
  border: none !important; */
  box-sizing: border-box !important;
  caret-color: #1a73e8 !important;
  color: #202124 !important;
  font-family: inherit;
  font-size: 12px;
  /* font-size: inherit; */
  /* font-weight: inherit; */
  /* line-height: inherit; */
  /* min-height: auto; */
  /* outline: 0; */
  /* padding-bottom: 6px !important; */
  /* padding-inline-end: 8px !important; */
  /* padding-inline-start: 8px !important; */
  /* padding-top: 6px !important; */
  text-align: inherit;
  text-overflow: ellipsis;
  width: 100%;
  border-radius: 3px !important;
}

select {
  /* -webkit-appearance: none; */
  background-color: rgb(241, 243, 244) !important;
  border: none !important;
  box-sizing: border-box !important;
  caret-color: #1a73e8 !important;
  color: #202124 !important;
  font-family: inherit;
  text-align: inherit;
  text-overflow: ellipsis;
  font-size: 12px !important;
  border-radius: 3px !important;
}

/* TABLE*/
table {
  border-radius: 1.5rem !important;
  background: white;
  /* margin-bottom: 20px; */
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.133) 0px 1.6px 3.6px 0px,
    rgba(0, 0, 0, 0.11) 0px 0.3px 0.9px 0px;
}

thead {
  background-color: transparent;
  background-size: 200% auto;
  border-radius: 10px 10px 0px 0px;
  color: #3e3e3e;
  text-transform: capitalize;
  font-weight: bold;
  font-weight: bolder;
  font-size: 12px;
  /* box-shadow: rgba(0, 0, 0, 0.05) 0px 1.6px 3.6px 0px,
    rgba(0, 0, 0, 0) 0px 0.3px 0.9px 0px; */
}

th {
  /* font-weight: bold; */
  border: none !important;
  margin-top: 5px !important;
  padding: 10px !important;
  font-size: 12px;
  text-transform: uppercase;
}

td {
  border: none !important;
  border-bottom: 1px solid #0000001a !important;
}

.dataTables_length select,
.dataTables_filter input {
  padding: 5px 10px 5px 10px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  border: 1px #0000001a solid !important;
  background-color: #f7f7f7 !important;
}

.paginate_button {
  padding: 5px !important;
  font-size: 10px;
  margin-top: 10px;
  font-weight: 500;
}

/* BOOTSTRAP */
.card {
  background-color: transparent;
  border: none;
  border-radius: 0.5em;
  margin-bottom: 20px;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.card-body {
  padding: 0px;
}

.modal-header {
  /* background-color: #f5f4f8; */
  background-color: var(--gradient);
  border: none;
  color: #fff;
  border-radius: 1em 1em 0px 0px;
}

.modal-content {
  background-color: #fafafa;
  border: none;
  border-radius: 1em;
}

.btn {
  border: none !important;
}

/* .btn-regular {
  width: auto;
  background-color: var(--mc3);
  background-color: var(--mc3);
  color: #000;
  border-radius: 0.5em;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  padding-left: 0.8em;
  padding-right: 0.8em;
  font-size: 0.9875em;
  box-shadow: 0 15px 45px var(--main-color-light);
} */

.btn-regular:hover {
  background-color: var(--hover-color);
  border: 1px solid var(--hover-color);
  color: #fff;
}

.btn.focus,
.btn:focus {
  outline: 0;
  box-shadow: none !important;
}

.btn-regular {
  width: auto;
  background-color: #ffffff;
  border: 1px solid var(--gradient) !important;
  text-align: center;
  color: #3998c0;
}

.formBtnDanger,
.btn-danger {
  color: #dc3545;
  border: 1px solid #dc3545 !important;
  background-color: #fffefe;
}

.btn-outline-secondary {
  background-color: var(--main-color);
  color: #fff;
}

.form-control {
  font-size: 0.9rem;
  font-weight: 500;
  color: #000;
  background-color: rgb(255, 255, 255) !important;
  border: 1px solid #d8d8d8 !important;
}

.margin {
  margin-bottom: 15px;
}

.form-control[readonly] {
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.form-group > label {
  /* top: 16px;
  left: 6px;
  position: relative;
  background-color: white;
  padding: 0px 5px 0px 5px;
  font-size: 0.8em; */
  margin-bottom: 0px;
}

/* STYLING */
.bold {
  font-weight: bold;
}
.bigBtn {
  padding: 5px 0px 5px 0px;
  background-color: var(--gradient);
  text-align: center;
  /* max-width: 102px; */
  width: 100%;
  /* text-transform: uppercase; */
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  /* box-shadow: 0 0 20px #eee; */
  border-radius: 18px;
}

.bigBtn:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.sectionTitle {
  background-color: var(--gradient);
  padding: 5px;
  text-align: center;
  border-radius: 10px;
  color: white;
  padding-left: 10px;
}

.formBtn {
  padding: 5px 10px 5px 10px;
  background-color: var(--gradient);
  text-align: center;
  /* text-transform: uppercase; */
  transition: 0.5s;
  background-size: 200% auto;
  color: var(--gradient);
  width: 100%;
  max-width: 100px;
  /* box-shadow: 0 0 20px #eee; */
  border-radius: 10px;
}

.btn-grad:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.formBtn:hover {
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.backgroundContainer {
  /* padding: 10px !important; */
  /* background: #f8f8f8; */
  /* background: #ffffff; */
  /* border: solid 0px black; */
  border-radius: 1.5rem !important;
  background: white;
  margin-bottom: 20px;
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.133) 0px 1.6px 3.6px 0px,
    rgba(0, 0, 0, 0.11) 0px 0.3px 0.9px 0px;
}

.background {
  border-radius: 1.5rem !important;
  background: white;
  /* margin-bottom: 20px; */
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.133) 0px 1.6px 3.6px 0px,
    rgba(0, 0, 0, 0.11) 0px 0.3px 0.9px 0px;
  width: fit-content;
}

.dataTable {
  padding: 0px;
  /* background: #f8f8f8; */
  background: #ffffff;
  /* border: solid 0px black; */
  border-radius: 0.5rem !important;
  margin-bottom: 20px;
  margin-top: 20px;
}

.bx {
  font-size: 20px;
  color: var(--main-color);
}

.bigSelectBackground {
  max-width: 250px;
  padding: 5px;
  /* background: #f8f8f8; */
  background: #ffffff;
  /* border: solid 0px black; */
  border-radius: 5rem !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  box-shadow: rgba(0, 0, 0, 0.133) 0px 1.6px 3.6px 0px,
    rgba(0, 0, 0, 0.11) 0px 0.3px 0.9px 0px;
}

.bigSelect {
  font-size: 14px;
  font-weight: 600;
  border: none !important;
}

/* PICTURE UPLOAD */

.backgroundPictureUpload {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  /* background: #f8f8f8; */
  background: #ffffff;
  border: solid 0px black;
  border-radius: 0.5rem !important;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); */
  margin-bottom: 20px;
  box-shadow: rgba(0, 0, 0, 0.133) 0px 1.6px 3.6px 0px,
    rgba(0, 0, 0, 0.11) 0px 0.3px 0.9px 0px;
}

.pictureUplaodTitle {
  font-size: 1.2em;
  font-weight: 500;
}

.containerPreview {
  max-height: 220px;
  overflow: auto;
  display: flex;
  margin-bottom: 10px;
}

.imagePreview {
  max-height: 150px;
  width: 100%;
  border: none;
  position: relative;
  outline: none;
}

.badge-picture-upload {
  font-size: 13px;
  background-color: var(--main-color);
  color: #fff;
  font-weight: 400;
  padding: 5px;
}

.badge-picture-delete {
  font-size: 13px;
  background-color: var(--danger-color);
  color: #fff;
  font-weight: 400;
  padding: 5px;
}

/* SEARCH INPUT */

.wrapper .search-input {
  background: #fff;
  width: 100%;
  border-radius: 5px;
  position: relative;
}
.search-input input {
  outline: none;
  border-radius: 5px;
}
.search-input.active input {
  border-radius: 5px 5px 0 0;
}
.search-input .autocom-box {
  padding: 0;
  opacity: 0;
  pointer-events: none;
  max-height: 280px;
  overflow-y: auto;
}
.search-input.active .autocom-box {
  padding: 10px 8px;
  opacity: 1;
  pointer-events: auto;
}
.autocom-box li {
  list-style: none;
  padding: 8px 12px;
  display: none;
  width: 100%;
  cursor: default;
  border-radius: 3px;
}
.search-input.active .autocom-box li {
  display: block;
}
.autocom-box li:hover {
  background: #efefef;
}

.scheduleCell {
  border: 1px solid #3c5560 !important;
  /* border-radius: 10px !important; */
  padding: 5px !important;
  margin: 3px !important;
  text-align: center;
  cursor: pointer;
  background-color: transparent;
  color: #3c5560;
  min-width: 30px;
  font-size: 10px;
  font-weight: 600;
}

.scheduleCell.Off {
  background-color: #bf394f;
  color: #fff;
  border: none !important;
}

.scheduleCell.leave.approved {
  background-color: #3966bf;
  color: #fff;
  border: none !important;
}

.scheduleCell.leave.pending {
  background-color: #db7c00;
  color: #fff;
  border: none !important;
}

.scheduleCell.late {
  background-color: #ff851b;
  color: #fff;
  border: none !important;
}

.scheduleCell.absent {
  background-color: #bf394f;
  color: #fff;
  border: none !important;
}

.scheduleCell.over {
  background-color: #3966bf;
  color: #fff;
  border: none !important;
}

.scheduleCell:hover {
  background-color: #0000001a;
  color: #000;
  border: none !important;
}
