@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  font-size: 92%;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  position: relative;
}
.row .center-box {
  float: none !important;
  margin-left: auto;
  margin-right: auto;
}
h1,
h2,
h3,
h4,
h5 {
  font-size: 2.4rem;
  line-height: normal;
  margin: 0.2rem 0 0.942rem 0;
}

.modal.modal-full {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  top: 0% !important;
}
.modal-full .modal-header {
  position: absolute;
  top: 0;
  left: auto;
  right: auto;
  width: 100%;
  height: 50px;
  padding-left: 20px;
}
.modal-full .modal-title {
  margin: 8px 0;
  font-size: 25px;
}
.modal-full .modal-content {
  margin-top: 50px;
  padding: 15px 10px !important;
}

#modal_close {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  padding: 6px 0;
  margin: 0;
}

.no-margin {
  margin: 0 !important;
}
main {
  flex: 1 0 auto;
}

.maincontent {
  margin: 0 100px;
}
.maincontrol {
  margin: 0 0 0 275px;
}

.footer-fixed {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 99;
}
.sidenav {
  width: 275px !important;
}

#pagetransition {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  background-color: #141414;
  z-index: 999991;
  top: 0;
}

#pagetransition #loader_container {
  position: absolute;
  display: block;
  text-align: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#pagetransition.close {
  transition: all 0.4s ease-in-out;
  transform: translateY(0%);
}

#pagetransition.open {
  transition: all 0.7s ease-in-out;
  transform: translateY(-100%);
}

.sidenav li > a > i,
.sidenav li > a > [class^="mdi-"],
.sidenav li > a li > a > [class*="mdi-"],
.sidenav li > a > i.material-icons {
  margin: 0 10px 0 0 !important;
  color: #ad1457;
}
.sidenav .collapsible-body li a,
.sidenav.fixed .collapsible-body li a {
  padding: 0 16px 0 40px !important;
}
.sidenav .collapsible-body li a::before,
.sidenav.fixed .collapsible-body li a::before {
  content: "\00bb";
  margin-right: 5px;
}
i.material-icons,
i.material-icons + span {
  vertical-align: middle;
}
/* BTN FLAT Tranparan */
.btn.btn-flat.colorless-on-hover:hover {
  background-color: transparent !important;
}
/*  TEXTAREA BORDERED */
textarea.bordered {
  height: 100px !important;
  border: 1px solid #a8a8a8;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  padding: 20px 10px;
}
/* IMAGE COVER */
img.img-cover {
  width: 100%;
  max-width: 250px;
  position: relative;
  margin: auto auto !important;
  display: block;
  object-fit: cover;
  padding: 10px !important;
  background-color: #ffffff;
  border: 1px solid #a8a8a8;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}

.cover-book {
  max-height: 230px;
  height: 230px;
  object-fit: cover;
  margin: auto;
  width: 100%;
}

.text-center {
  text-align: center !important;
}
@media only screen and (max-width: 992px) {
  header,
  main,
  footer {
    padding-left: 0;
  }
  .brand-logo {
    margin-left: 0 !important;
  }
  .maincontent {
    margin: 0 0 0px 0;
  }
  .maincontrol {
    margin: 0 0 0px 0;
  }
}

.col.s12 > .btn {
  width: 100%;
  margin: 6px 0;
}

.card-title {
  font-size: 13pt !important;
  font-weight: 500;
  color: #033649;
  font-family: "Montserrat", sans-serif;
  line-height: 28px !important;
}

.swiper-container {
  margin-left: 10px !important;
  margin-right: 10px !important;
  margin-top: 10px !important;
}
.swiper {
  width: 100%;
  height: 100%;
}
.swiper-slide img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  margin: 10px;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

/**** WARNA BAKGROUND **/
.bg-primary {
  /* background-color: #036564; */
  background: rgb(180, 2, 68);
  background: linear-gradient(
    288deg,
    rgba(180, 2, 68, 1) 0%,
    rgba(7, 0, 67, 1) 100%
  );
}

.bg-dark {
  background-color: #031634;
}
.bg-accent {
  background-color: #f7ac1f;
}
.bg-secondary {
  background-color: #033649;
}

.brand-logo img {
  width: 165px;
  height: 55px;
  margin: 0 8px;
}

/******************************
INPUT FIELDS CUTOM COLOR
*****************************/
/* label color */
.input-field label,
.input-field .prefix {
  color: rgb(179, 165, 175) !important;
}
/* label focus color */
.input-field input[type="text"]:focus + label,
.input-field input[type="password"]:focus + label,
.input-field textarea:focus + label {
  color: #ad1457 !important;
}
/* label underline focus color */
.input-field input[type="text"]:focus,
.input-field input[type="password"]:focus,
.input-field textarea:focus {
  border-bottom: 1px solid #ad1457 !important;
  box-shadow: 0 1px 0 0 #ad1457 !important;
}

/* icon prefix focus color */
.input-field .prefix.active {
  color: #ad1457 !important;
}

.icon18 {
  font-size: 18pt !important;
  vertical-align: -5px;
  margin-right: 10px !important;
}
.icon24 {
  font-size: 24pt !important;
  vertical-align: -7px;
  margin-right: 10px !important;
}
.icon30 {
  font-size: 30pt !important;
  vertical-align: -7px;
  margin-right: 10px !important;
}

/*****************************************
* SCROLL BAR
*****************************************/
body,
.sidenav {
  overflow: overlay !important;
}
/* pad aOpera dan Chrome */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  overflow: overlay;
  background: transparent !important;
}

::-webkit-scrollbar-track {
  /* padding: 3px; */
  /* box-shadow: inset 0 0 5px rgba(66, 22, 25, 0.5); */
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(202, 136, 141, 0.4);
}
::-webkit-scrollbar-track-piece {
  display: none;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(66, 22, 25, 0.9);
}

/*Pada Safari*/
::-ms-scrollbar {
  width: 8px;
  height: 8px;
  overflow: overlay;
  background: transparent !important;
}
::-ms-scrollbar-track {
  background-color: transparent;
}
::-ms-scrollbar-thumb {
  background: rgba(202, 136, 141, 0.4);
}

/* Handle on hover */
::-ms-scrollbar-thumb:hover {
  background: rgba(66, 22, 25, 0.9);
}

/*****************************************
TOAS CUTOMIZED
*****************************************/
#smart-toast-container {
  position: fixed;
  bottom: auto;
  top: 80;
  left: 50%;
  transform: translate(-50%, 0);
  width: 45% !important;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  justify-content: center;
}
.smart-toast {
  transition: all 0.3s;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: row;
  padding: 0 40px 0 20px;
  width: 100%;
}
.smart-toast .close {
  position: absolute;
  width: 44px;
  height: 44px;
  background: transparent;
  border: transparent;
  cursor: pointer;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  right: 8px;
  top: 0;
  bottom: 0;
  margin: auto;
  font-size: 14pt;
}
.smart-toast .close:hover {
  background: rgba(255, 255, 255, 0.237);
}
.smart-toast.close.success {
  color: #000000b0;
}
.smart-toast .close.failed {
  color: #ffffffbe;
}
.smart-toast:last-child {
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}
.smart-toast.dark {
  background-color: #242424;
}
.smart-toast.success {
  background-color: #00f128;
}
.smart-toast.success p {
  color: #141414;
  font-size: 11.5pt;
  font-weight: 500;
}
.smart-toast.failed {
  background-color: #ff0000;
}
.smart-toast.failed p,
.smart-toast.dark p {
  color: #ffffff;
  font-size: 11.5pt;
  font-weight: 700;
}
.smart-toast .guide {
  text-decoration: none;
  font-weight: bold;
}
.smart-toast p {
  text-align: center;
  width: 100%;
  padding: 1rem;
}
.smart-toast .open {
  visibility: visible;
  transition: all 0.3s;
  transform: translate(-50%, 0%);
}

.smart-toast:last-child {
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}

.toast p {
  margin: 0 !important;
}

/*** PADDING ***/
.mar-0 {
  margin: 0 !important;
}

.mar-t-0,
.mar-y-0 {
  margin-top: 0 !important;
}

.mar-r-0,
.mar-x-0 {
  margin-right: 0 !important;
}

.mar-b-0,
.mar-y-0 {
  margin-bottom: 0 !important;
}

.mar-l-0,
.mar-x-0 {
  margin-left: 0 !important;
}

.mar-1 {
  margin: 0.25rem !important;
}

.mar-t-1,
.mar-y-1 {
  margin-top: 0.25rem !important;
}

.mar-r-1,
.mar-x-1 {
  margin-right: 0.25rem !important;
}

.mar-b-1,
.mar-y-1 {
  margin-bottom: 0.25rem !important;
}

.mar-l-1,
.mar-x-1 {
  margin-left: 0.25rem !important;
}

.mar-2 {
  margin: 0.5rem !important;
}

.mar-t-2,
.mar-y-2 {
  margin-top: 0.5rem !important;
}

.mar-r-2,
.mar-x-2 {
  margin-right: 0.5rem !important;
}

.mar-b-2,
.mar-y-2 {
  margin-bottom: 0.5rem !important;
}

.mar-l-2,
.mar-x-2 {
  margin-left: 0.5rem !important;
}

.mar-3 {
  margin: 1rem !important;
}

.mar-t-3,
.mar-y-3 {
  margin-top: 1rem !important;
}

.mar-r-3,
.mar-x-3 {
  margin-right: 1rem !important;
}

.mar-b-3,
.mar-y-3 {
  margin-bottom: 1rem !important;
}

.mar-l-3,
.mar-x-3 {
  margin-left: 1rem !important;
}

.mar-4 {
  margin: 1.5rem !important;
}

.mar-t-4,
.mar-y-4 {
  margin-top: 1.5rem !important;
}

.mar-r-4,
.mar-x-4 {
  margin-right: 1.5rem !important;
}

.mar-b-4,
.mar-y-4 {
  margin-bottom: 1.5rem !important;
}

.mar-l-4,
.mar-x-4 {
  margin-left: 1.5rem !important;
}

.mar-5 {
  margin: 3rem !important;
}

.mar-t-5,
.mar-y-5 {
  margin-top: 3rem !important;
}

.mar-r-5,
.mar-x-5 {
  margin-right: 3rem !important;
}

.mar-b-5,
.mar-y-5 {
  margin-bottom: 3rem !important;
}

.mar-l-5,
.mar-x-5 {
  margin-left: 3rem !important;
}

.pad-0 {
  padding: 0 !important;
}

.pad-t-0,
.pad-y-0 {
  padding-top: 0 !important;
}

.pad-r-0,
.pad-x-0 {
  padding-right: 0 !important;
}

.pad-b-0,
.pad-y-0 {
  padding-bottom: 0 !important;
}

.pad-l-0,
.pad-x-0 {
  padding-left: 0 !important;
}

.pad-1 {
  padding: 0.25rem !important;
}

.pad-t-1,
.pad-y-1 {
  padding-top: 0.25rem !important;
}

.pad-r-1,
.pad-x-1 {
  padding-right: 0.25rem !important;
}

.pad-b-1,
.pad-y-1 {
  padding-bottom: 0.25rem !important;
}

.pad-l-1,
.pad-x-1 {
  padding-left: 0.25rem !important;
}

.pad-2 {
  padding: 0.5rem !important;
}

.pad-t-2,
.pad-y-2 {
  padding-top: 0.5rem !important;
}

.pad-r-2,
.pad-x-2 {
  padding-right: 0.5rem !important;
}

.pad-b-2,
.pad-y-2 {
  padding-bottom: 0.5rem !important;
}

.pad-l-2,
.pad-x-2 {
  padding-left: 0.5rem !important;
}

.pad-3 {
  padding: 1rem !important;
}

.pad-t-3,
.pad-y-3 {
  padding-top: 1rem !important;
}

.pad-r-3,
.pad-x-3 {
  padding-right: 1rem !important;
}

.pad-b-3,
.pad-y-3 {
  padding-bottom: 1rem !important;
}

.pad-l-3,
.pad-x-3 {
  padding-left: 1rem !important;
}

.pad-4 {
  padding: 1.5rem !important;
}

.pad-t-4,
.pad-y-4 {
  padding-top: 1.5rem !important;
}

.pad-r-4,
.pad-x-4 {
  padding-right: 1.5rem !important;
}

.pad-b-4,
.pad-y-4 {
  padding-bottom: 1.5rem !important;
}

.pad-l-4,
.pad-x-4 {
  padding-left: 1.5rem !important;
}

.pad-5 {
  padding: 3rem !important;
}

.pad-t-5,
.pad-y-5 {
  padding-top: 3rem !important;
}

.pad-r-5,
.pad-x-5 {
  padding-right: 3rem !important;
}

.pad-b-5,
.pad-y-5 {
  padding-bottom: 3rem !important;
}

.pad-l-5,
.pad-x-5 {
  padding-left: 3rem !important;
}

.mar-auto {
  margin: auto !important;
}

.mar-t-auto,
.mar-y-auto {
  margin-top: auto !important;
}

.mar-r-auto,
.mar-x-auto {
  margin-right: auto !important;
}

.mar-b-auto,
.mar-y-auto {
  margin-bottom: auto !important;
}

.mar-l-auto,
.mar-x-auto {
  margin-left: auto !important;
}
