/* ---------------- PRELOADER ------------- */

#loader {
  position: absolute;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  background-color: #1d1f39;
  justify-content: center;
  align-items: center;
  display: flex;
}

/* Shadow */

.shadows {
  box-shadow: 0 0.5rem 0.8rem rgba(28, 28, 28, 0.157) !important;
}

#loader img {
}

#loader .load {
  font-size: 10px;
}

/* Pagination */
.pagination {
  justify-content: center !important;
}
.dataTables_info {
  margin-bottom: 15px;
  text-align: center;
}

/* Alert */

.alert-danger {
  background-color: #c02222 !important;
  padding: 24 !important;
  text-align: left !important;
  font-size: 10px !important;
  font-weight: 400 !important;
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}

/* ----------------- LOGIN ---------------- */
.alert {
  font-size: 12px;
  text-align: center;
  margin: 0;
  background-color: #02533c !important;
  color: #ddd !important;
  border: none;
  border-radius: 10px;
}

.login {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  height: 100vh;
  background-color: #001920;
}

.login .main {
  background-color: white;
  /* margin-bottom: 80px; */
  padding: 1px 21px;
  padding-bottom: 100px;
}

.login .main img {
  width: 235px;
}

.login .main h5 {
  margin-top: 13px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  color: #001920;
  margin-bottom: 4px;
}

.login .main p {
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  color: #2c2d2d;
}

.login .form-login {
  margin-top: -35px;
  padding: 60px 21px;
  background-color: #001920;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.login .form-login .form-title {
  font-size: 17px;
  font-weight: 700;
  color: #00a7e6;
}

.login .form-login .form {
  margin-top: 40px;
}

.login .form-login .form label {
  font-size: 12px;
  font-weight: 400;
  color: #f0f0f0;
  margin-bottom: 8px;
}

.login .form-login .input {
  background-color: #002530;
  padding: 15px 25px;
  color: #e2e2e2;
  font-weight: 400;
  font-size: 12px;
  border: none;
  border-radius: 10px;
}

.login .form-login .checkbox {
  background-color: #002530;
  border: none;
  border-radius: 5px;
  padding: 8px 8px;
  margin-right: 5px;
}

.login .form-login .btn-submit {
  padding: 13px 0px;
  border-radius: 9px;
  background-color: #00a7e6;
  font-size: 18px;
  font-weight: 700;
  color: #001920;
}

.login .form-login .register-text {
  color: white;
  font-size: 10px;
  font-weight: 300;
}

/* --------- Register ------------- */
.register {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  height: 100vh;
}

.register .bg-main {
  background: rgb(0, 52, 91);
  background: linear-gradient(90deg, rgba(0, 52, 91, 1) 0%, rgba(0, 25, 32, 1) 100%);
  /* margin-bottom: 80px; */
  padding: 64px 0px;
  margin: 11px;
  border-radius: 15px;
}

.register .bg-main h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.register .form-register {
  padding: 21px;
}

.register .form-register label {
  font-size: 12px;
  font-weight: 500;
  color: #3c3c3c;
  margin-bottom: 10px;
}

.register .form-register .input {
  font-size: 12px;
  font-weight: 300;
  color: #001920;
  padding: 13px 20px;
  background-color: #f3f3f3;
  border: none;
  border-radius: 9px;
}

.register .form-register .invalid-feedback {
  font-size: 11px;
  font-weight: 300;
}

.register .form-register .inputdiv {
  border-radius: 10px;
  background-color: #f3f3f3;
  padding: 10px;
  justify-content: center;
  place-self: center;
  text-align: center;
}

.register .form-register .inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.register .form-register .inputfile + label {
  font-size: 12px;
  font-weight: 600;
  color: #aeaeae;
  display: inline-block;
  cursor: pointer; /* "hand" cursor */
  transition: 0.3s all ease-in-out;
  padding-top: 13px;
  font-family: 'Poppins', sans-serif;
}

.register .form-register .inputfile label span {
  margin-top: 13px;
}

.register .form-register .inputfile:focus + label,
.register .form-register .inputfile + label:hover {
  color: rgb(87, 87, 87);
  transition: 0.3s all ease-in-out;
}

.register .form-register .inputfile + label * {
  pointer-events: none;
}

.register .form-register .btn-submit {
  padding: 13px 0px;
  border: none;
  border-radius: 9px;
  background-color: #00a7e6;
  font-size: 18px;
  font-weight: 700;
  color: #001920;
}

.register .form-register .register-text {
  color: #001920;
  font-size: 10px;
  font-weight: 300;
}

/* --------- DASHBOARD ----------- */
.dashboard {
  padding: 26px 24px;
  padding-bottom: 120px;
  background-color: #f6f6f6;
  width: 100%;
  min-height: 100vh;
}

.dashboard .ratio {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 60px;
  position: relative;
  width: 60px;
}

.dashboard .greeting {
  margin-bottom: 20px;
}

.dashboard .greeting h5 {
  color: #00345b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 3px;
  font-family: 'Poppins', sans-serif;
}

.dashboard .greeting p {
  color: #001920;
  font-size: 12px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
}

.dashboard .total-presensi .title {
  font-size: 14px;
  font-weight: 600;
  color: #00345b;
  font-family: 'Poppins', sans-serif;
}

.dashboard .total-presensi .box {
  background: linear-gradient(0deg, rgba(0, 15, 19, 1) 0%, rgba(0, 52, 91, 1) 100%);
  padding: 12px;
  border-radius: 20px;
}

.dashboard .total-presensi .box h5 {
  font-size: 36px;
  color: #00a7e6;
  font-weight: 600;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.dashboard .total-presensi .box p {
  font-size: 10px;
  color: #00a7e6;
  font-weight: 400;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.dashboard .alert-success {
  background-color: #00345b !important;
  border-radius: 15px;

  padding: 22px;
}

.dashboard .alert-success p {
  color: white !important;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-align: left;
}

.dashboard .alert-warning {
  background-color: #b89c0c !important;
  border-radius: 15px;

  padding: 22px;
}

.dashboard .alert-warning p {
  color: white !important;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-align: left;
}

.dashboard .alert-danger {
  background-color: #c02222 !important;
  padding: 22px !important;
  border-radius: 15px;
}

.dashboard .alert-danger p {
  text-align: left !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  color: white !important;
  font-family: 'Poppins', sans-serif;
}

.dashboard .riwayat .title {
  font-size: 14px;
  font-weight: 600;
  color: #00345b;
  font-family: 'Poppins', sans-serif;
}

.dashboard .riwayat .card {
  border-radius: 20px;
  margin-top: 15px;
}

.dashboard .riwayat .card .table {
  color: #00345b;
}

.dashboard .riwayat .card .table thead {
  border-color: #00345b;
  border-top: 2px solid currentColor;
  font-size: 14px;
}

.dashboard .riwayat .card .table tbody tr {
  font-size: 13px;
}

.dashboard .riwayat .card .btn-search {
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  background-color: #00345b;
  align-items: center;
  display: grid;
}

.dashboard .card-rekap {
  padding: 12px 18px;
  border-radius: 10px !important;
}

.dashboard .card-rekap p {
  font-size: 12px;
  font-weight: 300;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
}

.dashboard .card-rekap h5 {
  text-align: center;
  font-size: 16px !important;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

div.nav {
  background: linear-gradient(0deg, rgba(0, 15, 19, 1) 0%, rgba(0, 52, 91, 1) 100%);
  border-radius: 31px;
  /* position: fixed; */
  bottom: 20px;
  position: fixed;
  width: 260px;
  height: 60px;
  left: 50%;
  margin-left: -125px; /* Negative half of width. */
  z-index: 999;
}

div.nav ul {
  padding-right: 2rem;
}

div.nav ul li {
  list-style-type: none;
  padding: 7px 12px;
}

/* ---------- Profile ------------ */

.profile {
  margin: 15px 22px;
}

.profile .header .title {
  margin: auto !important;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #00345b;
}

.profile .detail .ratio {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 160px;
  position: relative;
  text-align: center;
  margin: auto;
  width: 160px;

  opacity: 1;
  display: block;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.profile .detail h5 {
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #001920;
}

.profile .detail p {
  margin-top: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #001920;
  margin-bottom: 0px;
}

.profile .logout {
  color: #c00909 !important;
}

.profile .middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.profile .edit:hover .ratio {
  opacity: 0.3;
}

.profile .edit:hover .middle {
  opacity: 1;
}

.profile .text {
  color: white;
  font-size: 16px;
}
/* ---------- ERROR PAGE --------- */

.error {
  width: 100%;
  height: 100vh;
  padding: 0px 30px;
  background-color: #efefef;
}

.error .row {
  height: 100%;
}

.error .main {
  margin: auto;
}

.error p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #262626;
  margin-bottom: 17px;
}

.error button {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  background-color: #00a7e6;
  color: #ffffff;
  padding: 10px 30px;
  border: none;
  border-radius: 20px;
}

/* ------- Presensi ------------ */
.presensi {
  margin: 15px 22px;
}

.presensi .header .title {
  margin: auto !important;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #00345b;
}

.presensi .content {
  margin: 20px 0px;
  margin-bottom: 40px;
}

.presensi .content .date {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #00345b;
}

.presensi .inputdiv {
  border-radius: 15px;
  background: linear-gradient(0deg, rgba(0, 15, 19, 1) 0%, rgba(0, 52, 91, 1) 100%);
  padding: 50px 0px;
  justify-content: center;
  place-self: center;
  text-align: center;
}

.presensi .inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.presensi .inputfile + label {
  font-size: 12px;
  font-weight: 600;
  color: #00a7e6;
  display: inline-block;
  cursor: pointer; /* "hand" cursor */
  transition: 0.3s all ease-in-out;
  padding-top: 13px;
  font-family: 'Poppins', sans-serif;
}

.presensi .inputfile label span {
  margin-top: 13px;
}

.presensi .inputfile:focus + label,
.presensi .inputfile + label:hover {
  color: rgb(245, 245, 245);
  transition: 0.3s all ease-in-out;
}

.presensi .inputfile + label * {
  pointer-events: none;
}

.presensi .location {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #00345b;
}

.presensi .content .koor {
  font-size: 12px;
  color: #00345b;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.presensi .content .map {
  width: 100%;
  height: 150px;
  border-radius: 20px;
}

.presensi .content .time {
  padding: 9px 40px;
  font-size: 16px;
  font-weight: 800;
  color: #00a7e6;
  background-color: #00345b;
  border-radius: 21px;
  margin: auto;
}

.presensi .content .btn-submit {
  background: linear-gradient(0deg, rgba(0, 15, 19, 1) 0%, rgba(0, 52, 91, 1) 100%);
  color: white;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 0px;
  border-radius: 12px;
}

.presensi .content .status {
  font-size: 12px;
  text-align: center;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
}

/* Typewritter */

/*  Upload Surat Page */
.card-opt {
  background: linear-gradient(0deg, rgba(0, 15, 19, 1) 0%, rgba(0, 52, 91, 1) 100%);
  padding: 54px 0px;
  color: #00a7e6;
  border-radius: 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 35px;
}

.center-vertical {
  margin: 0;
  -ms-transform: translateY(30%);
  transform: translateY(30%);
}

.presensi .pilihan {
  height: 100vh;
}

.pills .nav .active {
  background: linear-gradient(0deg, rgba(0, 15, 19, 1) 0%, rgba(0, 52, 91, 1) 100%);
  color: white !important;
}

.pills .nav-link {
  font-size: 10px;
  padding: 15px 25px;
  border-radius: 16px;
  color: #969696 !important;
  border: 1px solid #cecece;
}

.pills .btn-submit {
  background: linear-gradient(0deg, rgba(0, 15, 19, 1) 0%, rgba(0, 52, 91, 1) 100%);
  padding: 10px 0px;
}

.pills label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
}

.pills table td,
.pills table th {
  font-size: 10px;
}

.pills table button {
  font-size: 10px;
}

.pills h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  margin-top: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.pills .modal .btn-tutup {
  background: linear-gradient(0deg, rgba(0, 15, 19, 1) 0%, rgba(0, 52, 91, 1) 100%);
  color: white !important;
  padding: 10px 0px;
  margin: 0px 20px;
}
