* { box-sizing: border-box; }
html, body {
    font-family: ProximaNova,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html.dark, body.dark {
  width: 100%;
  height: 100%;
}

a { text-decoration: none !important; }

h1, .uk-h1, h2, .uk-h2, h3, .uk-h3, h4, .uk-h4, h5, .uk-h5, h6, .uk-h6, .uk-heading-small, .uk-heading-medium, .uk-heading-large, .uk-heading-xlarge, .uk-heading-2xlarge {
    /* margin: 0 0 20px 0; */
    font-family: ProximaNova,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
    /* font-weight: 300; */
    color: #222;
    text-transform: none;
}

/* border */
.border-bottom { border-bottom: 2px solid }
.border-bottom.blue { border-color: #2196F3 }
.border-bottom.cyan { border-color: #00BCD4 }
.border-bottom.green { border-color: #4caf50 }
.border-bottom.lime { border-color: #8bc34a }
.border-bottom.orange { border-color: #ff5722 }
.border-bottom.purple { border-color: #9c27b0 }
.border-bottom.red { border-color: #af0000 }
.border-bottom.yellow { border-color: #ffbf3f }
.border-remove { border: none !important }

/* background */
.background-default-transparent { background-color: rgba(255,255,255,0.7) }
.background-grey { background-color: #d2d2d2 !important }
.background-main { background-color: #116466 !important }
.background-secondary { background-color: #ffd600 !important }
.background-red { background-color: #af0000 !important }
.background-theme { background: linear-gradient(135deg, #116466, #ffd600); }
.background-image {
  /* content: ''; */
  background: url("https://isurya.mtre3.id/assets/img/glass.png");
  /* width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  opacity: 0.3; */
}

/* button */
button.background-secondary { background-color: #ffd600 !important; color: #333 !important; }
button.background-secondary:hover { background-color: #3fb896 !important; color: #fff !important; }
button.uk-light:hover { background-color: #3fb896 !important; color: #fff !important; border: none !important }
a.uk-light:hover { color: #3fb896 !important; }
button img { margin-top: -3px; width: 25px; height: 25px; }

/* border */
.dashed { border: 1px dashed #ddd; }

/* color */
.color-main { color: #116466 !important }
.color-primary { color: #2196F3 !important }
.color-secondary { color: #ffd600 !important }

/* Frame */
.frame-navbar { 
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 250px;
  padding: 20px 10px 10px 10px;
  background-color: #116466;
  border-bottom: 55px solid transparent;
  overflow: auto;
}

.frame-navbar::-webkit-scrollbar-thumb{
  background: #ffd600;
}

.frame-navbar a:not(.uk-button, .uk-search-icon) {
  color: #d2d2d2;
  width: 100%;
  display: block;
  padding: 10px 25px;
}

.frame-navbar .nav li:not(.border-bottom) {
  position: relative;
  margin-top: 0;
}

.frame-navbar .nav li:hover {
  background-color: #009688;
}

.frame-navbar .nav li.border-bottom {
  border-width: 1px;
  border-color: #009688;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 10px;
}

.frame-navbar .nav li.active::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 4px;
  height: 30px;
  background-color: #ffd600;
  border-radius: 3px;
}

.frame-navbar .nav-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 250px;
  padding: 10px;
}
.frame-navbar .nav-bottom button { border-color: #009688; }

.frame-navbar .nav-sub-frame {
  width: 230px;
  background: #eeeeee;
  border-radius: 20px;
}

.frame-navbar .nav-sub { margin: 0; padding: 10px 0; } 
.frame-navbar .nav-sub a:not(.uk-button) {
  color: #20130a;
  padding: 8px 5px;
  width: 100%;
  display: block;
}

.frame-navbar .nav-sub p {
  color: #20130a;
}

.frame-navbar .nav-sub a:not(.uk-button):hover { color: #061e34; font-weight: 600; }

.frame-navbar .nav-sub a.uk-button { color: #ffffff }
.frame-navbar .nav-sub li { padding: 0px 10px; }

.frame-navbar .nav-sub li.border-bottom {
  border-width: 1px;
  border-color: #929292;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.frame-navbar .uk-search {
  border: 1px solid #009688;
  color: #ffffff;
}

.frame-navbar .uk-search input {
  border: none;
  color: #ffffff;
}

.frame-navbar::-webkit-scrollbar-track {
  background: #061e34 !important;
}

.frame-navbar-mobile {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 0 10px;
  background-color: #061e34;
  z-index: 10;
}

.frame-navbar-mobile a { 
  color: #ffffff; 
  padding: 15px 0 30px 0;
}

.frame-navbar-mobile a:hover { color: #32465b }
.frame-navbar-mobile .nav li.active a {color: #ffd600 }

/* F CONTENT */
.frame-content:not(.expanded) {
  border-left: 250px solid transparent;
}

.frame-content .content-list {
  width: 350px;
  height: 100vh;
  background-color: #f8f8f8;
  overflow: auto;
  position: relative;
  border-bottom: 42px solid transparent;

  mask-image: linear-gradient(to top, transparent, black), linear-gradient(to left, transparent 5px, black 5px);
  mask-size: 100% 20000px;
  mask-position: left bottom;
  -webkit-mask-image: linear-gradient(to top, transparent, black), linear-gradient(to left, transparent 5px, black 5px);
  -webkit-mask-size: 100% 20000px;
  -webkit-mask-position: left bottom;
  transition: mask-position 0.3s, -webkit-mask-position 0.3s;
}

.frame-content .content-list:hover { -webkit-mask-position: left top; }

.frame-content .content-list.expanded { width: 100%; border: none; background-color: #ffffff; }
.frame-content .content-list.expanded .pagination {  
  bottom: 15px;
  left: unset;
  right: 20px;
  border: none;
  border-radius: 20px;
  background: #061e34;
  width: auto;
  padding-right: 20px;
}

.content-list .list-header { padding: 10px 20px 10px 20px; border-color: #ddd; border-width: 1px; background-color: #ffffff; min-height: 78px; }
.content-list .list-header p { margin: 0; }
.content-list .list-header .uk-button-link, .content-list .table-data .uk-button-link { padding: 0 5px; color: #666 }
.content-list .list-header .uk-button-link:hover, .content-list .table-data .uk-button-link:hover { color: #3fb896 }
.content-list .list-header .uk-button-group .uk-button-link:last-child { padding-right: 0 }
.content-list .list-header .action-frame {
  width: 230px;
  /* background: #ffffff; */
  border-radius: 10px;
  padding: 10px;
  background-color: #061e34; 
  color: #fff; 
}

.content-list .list-header .action-frame .action { 
  margin: 0; 
} 

.content-list .list-header .action-frame .action a:not(.uk-button) {
  color: #fff;
  width: 100%;
  display: block;
}

.content-list .list-header .action-frame .action li { position: relative; padding: 5px 20px; border-radius: 5px; }
.content-list .list-header .action-frame .action li:not(:first-child):hover { background-color: #009688; }
.content-list .list-header .action-frame .action li.active:after { 
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 4px;
  height: 21px;
  background-color: #ffd600;
  border-radius: 3px;
}
.content-list .list-header .action-frame .action .border-bottom { border-width: 1px; }
.content-list .list-header .action-frame .action p { color: #20130a; }

.content-list .list-data { margin: 0; }
.content-list .list-data li {
  margin-top: 0;
  padding: 10px 20px 5px 20px;
  cursor: pointer;
}

.content-list .list-data li:hover a, .content-list .list-menu a:hover { color: #3fb896; }
.content-list .list-data li a, .content-list .list-menu a { color: #061e34; }
/* .content-list .list-data li.default:hover { border: none !important } */

.content-list .table-data { padding: 0 20px; margin-bottom: 50px; }

.content-list:not(.expanded) .list-data li.active {
  background-color: #ffffff;
  border-bottom: 3px solid #ffd600;
}

.content-list:not(.expanded) .list-data:not(.default) li:not(.active):hover,
.content-list.expanded .list-data:not(.default) li:hover {
  border-bottom: 3px solid #32465b;
  background-color: #ffffff;
}

.content-list .list-data li p { margin: 0 }
.content-list .table-data .uk-button:not(:last-child){  border-right: 1px solid #ddd; }



/* F CONTENT FORM */
.frame-content .content-form {
  width: 100%;
  height: 100vh;
  background-color: #f8f8f8;
  overflow: auto;
}


.content-form .form-header { padding: 10px 20px 10px 20px; border-color: #ddd; border-width: 1px; background-color: #ffffff; }
.content-form .form-header p { margin: 0; }
.content-form .form-header input, .content-form .form-header select { height: 24px !important; color: #333 }
.content-form .form-header .uk-button-link { padding: 0 5px; color: #333 }
.content-form .form-header .uk-button-group .uk-button-link:last-child { padding-right: 0 }
.content-form .form-body { 
  padding: 15px 20px 15px 25px;
}

.content-form .form-body .form-group:first-child { padding-left: 0; }

/* F CONTENT VIEW */
.frame-content:not(.expand) .content-view:not(.print) {
  position: fixed;
  top: 0;
  right: 0;
  width: calc(100vw - 600px);
  height: 100vh;
  background-color: #ffffff;
  overflow: auto;
  z-index: 999;
  border-left: 1px solid #e5e5e5;
}


.frame-content .content-view.collapsed, .frame-content .content-view .view-close { display: none; }

.frame-content .content-view.expanded { width: calc(100vw - 250px) !important; }
.frame-content .content-view.expanded .view-close { display: initial; }

.content-view .view-header { padding: 10px 20px 11px 20px; border-color: #ddd; border-width: 1px; background-color: #ffffff; }
.content-view .view-header p { margin: 0; }
.content-view .view-header input, .content-view .view-header select { height: 24px !important; color: #333; border: none !important; }
.content-view .view-header .uk-button-link { padding: 0 5px; color: #333 }
.content-view .view-header .uk-button-group .uk-button-link:last-child { padding-right: 0 }

.content-view .view-body { padding: 10px 20px 10px 20px; }
.open-view:hover { cursor: pointer; }

.content-view.print { 
  background-color: rgb(204,204,204); 
  min-height: 100vh;
  overflow: auto;
}
.content-view .view-print {
  width: 210mm;
  min-height: 297mm;
  margin: auto;
  margin-top: 20px;
  background-color: #fff;
  padding: 2cm 1.5cm 2cm 2cm;
  position: relative;
}

.view-print .page-header, .view-print .page-header-space {
  height: 55px;
}

.view-print .page-footer, .view-print .page-footer-space {
  height: 30px;
}

.view-print .page-footer-space, .view-print .page-header-space { display: none; }

.view-print .page-footer {
  position: absolute;
  bottom: 20px;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}

.view-print .page-header {
  width: 100%;
  border-bottom: 1px solid #ddd;
}

.view-print .page {
  page-break-after: always;
}

/* ION ICON */
ion-icon { font-size: 20px }

/* Loading page */
.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #ffd600;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#loading {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 999;
  background-color: #ffffff;
  text-align: center;
  display: none;
  align-items: center;
  justify-content: center;
}

#loading.active {
  display: flex;
}

#loading p { margin-left: 15px; }

/* Login page */
#login-layout {
  width: 100%;
  height: 100%;
}

#login-layout #login-container{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  box-sizing: border-box;
}

#login-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(20deg, #116466, #ffd600);
  overflow: hidden;
  /* transform: skewY(3deg) translateY(-80px); */
}

#login-bg:after {
  content: '';
  background: url("https://isurya.mtre3.id/assets/img/glass.png");
  width: 800%;
  position: absolute;
  top: -400%;
  right: -400%;
  height: 800%;
  opacity: 0.3;
  animation-name: rotate;
  animation-duration: 140s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@-moz-keyframes rotate {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}
@-webkit-keyframes rotate {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}
@-o-keyframes rotate {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}
@keyframes rotate {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

#login-form {
  padding: 12px;
  /* background-color: #fff; */
  border-radius: 5px;
}

#login-form h5 { display: inline-block; width: 100%; margin-bottom: 15px; }
#login-form input {
  border-radius: 5px;
}

#login-form, #login-help { padding-left: 12px; }

#login-miscellaneous {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding-top: 8px;
  padding-right: 30px;
}

/* Material icons */
/* Rules for sizing the icon. */
.material-icons-round:not(.default), .material-icons-outlined:not(.default) { vertical-align: middle; margin-top: -3px; }
.material-icons-round.md-14, .material-icons-outlined.md-14 { font-size: 14px; }
.material-icons-round.md-18, .material-icons-outlined.md-18 { font-size: 18px; }
.material-icons-round.md-20, .material-icons-outlined.md-20 { font-size: 20px; }
.material-icons-round.md-24, .material-icons-outlined.md-24 { font-size: 24px; }
.material-icons-round.md-36, .material-icons-outlined.md-36 { font-size: 36px; }
.material-icons-round.md-48, .material-icons-outlined.md-48 { font-size: 48px; }
.material-icons-round.md-64, .material-icons-outlined.md-64 { font-size: 64px; }

/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }


/* trumbowyg  */
.trumbowyg-box {
  margin: 0;
}


/* PENPLATE */
.penplate.dashed { padding: 10px }
.penplate p:empty:not(:focus)::before { content: attr(data-placeholder); color: #a5a5aa }
.penplate p { min-height: 30px; margin: 0 !important; }
.penplate.small p { min-height: 30px; margin: 0 !important; }
.penplate textarea { visibility: hidden !important; height: 6px !important;  }

/* PAGING */
.pagination {
  position: fixed;
  bottom: 0;
  left: 250px;
  z-index: 9;
  background: #fff;
  width: 350px;
  padding: 10px 5px;
  text-align: center;
  border-top: 1px solid #ddd;
}

.pagination ul { margin: 0 }
.pagination ul li.uk-active a { color: #ffd600; font-weight: bold; }

/* UI KIT REPLACE */
.uk-accordion .uk-accordion-title { font-size: 14px; }
.uk-accordion .uk-accordion-content { 
  border-bottom: 1px solid;
  padding-bottom: 10px;
  margin-top: 20px;
  color: #009688;
}

.uk-button { text-transform: none; padding: 0 15px; text-align: left; font-weight: 400px; }
.uk-button-success { background-color: #32d296; color: #fff; }
.uk-button-warning { background-color: #faa05a; color: #fff; }
.uk-button-link { padding: 0 5px; color: #666 }
.uk-button-link:hover { color: #3fb896 }
.uk-flex-middle .material-icons-round { margin: 0 !important; }
.uk-form-blank { height: 40px; }
textarea.uk-form-blank { height: 100px; line-height: 1.5em; }
.uk-heading-divider { padding-bottom: .1em }
.uk-input.custom, .uk-select.custom, .uk-textarea.custom {
  font-size: .875rem;
  border: none;
  border-bottom: 1px solid #ddd !important;
}
.uk-input.error { border: 2px solid #af0000 }
.uk-input.success { border: 2px solid #32d296 }
.uk-label-muted { background-color: #cccccc; }

.uk-modal-dialog:after{
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  width: 5px;
  height: 35px;
  background-color: #ffd600;
  border-radius: 3px;
}


.uk-notification-message, .uk-label-secondary { background: #222; color: #fff; }
.uk-notification-message .uk-notification-close { color: #fff; }
.uk-navbar-item, .uk-navbar-nav>li>a, .uk-navbar-toggle { min-height: 55px }
.uk-padding-xsmall { padding: 8px 15px; }
.uk-subnav-pill>.uk-active>a { background-color: #af0000 }
.uk-search-input.uk-border-pill { padding-left: 15px; }
.uk-table-hover tbody tr:hover, .uk-table-hover>tr:hover { background-color: #009688; color: #fff }

/* V */
/* ------------------------------------------------------------------------------------ */

.voucher {
  width: 500px;
  height: 300px;
  border: 1px solid;
}

.voucher .body-left, 
.voucher .body-right { float: left }

.voucher .body-left {
  width: 290px;
  height: 300px;
  border-right: 10px solid;
}


.voucher .body-right {
  width: 200px;
  height: 300px;
}


/* W */
/* ------------------------------------------------------------------------------------ */
.width-release { min-width: unset; max-width: unset; }

/* width */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------ */
/* RESPONSIVE */
/* ------------------------------------------------------------------------------------ */
/*  ==================================== */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  
}

/* Large devices (landscape tablets, 960px and down) */
@media only screen and (max-width: 960px) {
  .frame-content:not(.expanded) { border-left: none; }
  .frame-content .content-list { border-bottom: 70px solid transparent; width: 100%; }
  .frame-content .content-view.expanded { width: 100% !important; }
  .content-form { border-bottom: 70px solid transparent }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1320px) {

}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1440px) {

}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1640px) {

}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1920px) {

}


/* ------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------ */
/* PRINT */
/* ------------------------------------------------------------------------------------ */
/*  ==================================== */

@media print { 
  .view-header { display: none !important; } 
  .content-view .view-print {
    width: initial;
    padding: initial;
    margin: 0;
    height: initial;
  }
  
  .view-print .page-footer {
    position: fixed;
    bottom: 0;
    border-top: 1px solid #ddd;
  }

  .view-print .page-header {
    position: fixed;
    top: 0;
    border-bottom: 1px solid #ddd;
  }

  .view-print .page-footer-space, .view-print .page-header-space {
    display: block;
  }

  thead {display: table-header-group;} 
  tfoot {display: table-footer-group;}
  button {display: none;}
  body {margin: 0;}
  
}

/* 
@page:first {
  margin-top: 0;
}
@page:last {
}
@page:left {
  margin: 2cm 1.5cm 2cm 2cm;
}
@page:right {
  margin: 2cm 2cm 2cm 1.5cm;
} */

@page {
  margin: 10mm 20mm 10mm 20mm
}