@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css);
@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,700,900);

/*
html, body {
  padding: 0;
  margin: 0;
  background: rgba(130, 180, 49, 0.9);
  width: 100%;
  float: left;
    display: block;
}
*/

.isPaused {
  animation-play-state: paused;
}

main {
  display: none;
  text-align: center;
  font-family: Helvetica, Arial, Sans-Serif;
}

main .loader {
  color: white;
  opacity: 1;
  animation: fadeOut 7s forwards;
  -webkit-animation:  fadeOut 7s forwards;
}

#library {
  display: none;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    }
}

@-webkit-keyframes fadeOut {
  to {
    opacity: 0;
  }
}

table, th, td {
  border: 1px solid #5b6363;
  border-collapse: collapse;
  padding: 15px;
  border-spacing: 5px;
}	

.main-header{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color:yellow;
}
.main-header-dark{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color:darkgreen;
}

#Login {
  padding: 20px;
  background: #B6E0FF;
  color: #555;
  display: block;
  width: calc(100% - 24px);
  max-width: 980px;
  margin: 12px auto;
  border-radius: 4px;
  overflow-wrap: anywhere;
  position: relative;
}
#Login th,
#Login td {
  overflow-wrap: anywhere;
  word-break: break-word;
}
#Login table {
  width: 100%;
}
#Login img {
  max-width: 100%;
  height: auto;
}
.field-group { 
  margin:15px 0px; 
}
.input-field {
  padding: 8px;width: 200px;
  border: #A3C3E7 1px solid;
  border-radius: 4px; 
}
.input-field-sm {
  padding: 8px;width: 100%;
  border: #A3C3E7 1px solid;
  border-radius: 4px; 
}
.input-number {
  width: 80px; height: 25px;
  margin:0 !important;
  padding:0 !important;
  border: #A3C3E7 1px solid;
  border-radius: 4px; 
  background-color: white;
}
.input-number:read-only {
  background-color: rgb(138, 138, 138);
}
.form-submit-button {
  background: #65C370;
  border: 0;
  padding: 8px 20px;
  border-radius: 4px;
  color: #FFF;
  text-transform: uppercase; 
}
.form-submit-button-sm {
  background: #65C370;
  border: 0;
  padding: 8px 20px;
  border-radius: 4px;
  color: #FFF;
  font-size: x-small;
  text-transform: uppercase; 
}
.page-button {
  background: #FF3843;
  border: 0;
  padding: 8px 20px;
  border-radius: 4px;
  color: #FFF;
  text-transform: uppercase; 
}
.member-dashboard {
  padding: 40px;
  background: #D2EDD5;
  color: #555;
  border-radius: 4px;
  display: inline-block;
  text-align:center; 
}
.logout-button {
  color: #09F;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0px;
  cursor: pointer;
}
.error-message {
  text-align:center;
  color:#FF0000;
}
.demo-content label{
  width:auto;
}


*,
*:before,
*:after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
input {
  outline: none;
}

body {
  padding: 0;
  margin: 0;
  min-width: 100%;
  /* min-width: 970px; /* 100%; */
  background-color: rgba(224, 255, 174, 0.9);
  background-repeat: repeat;
  background-attachment: fixed;
  font-family: 'Roboto', sans-serif;
  background: -webkit-linear-gradient(45deg, rgba(4, 2, 96, 0.7), rgba(224, 255, 174, 0.9)) fixed, -webkit-linear-gradient(0deg, rgba(53, 114, 45, 0.3), rgba(0, 97, 0, 0.1)) fixed;
  background: -moz-linear-gradient(45deg, rgba(4, 2, 96, 0.7), rgba(224, 255, 174, 0.9)) fixed, -moz-linear-gradient(0deg, rgba(53, 114, 45, 0.3), rgba(0, 97, 0, 0.1)) fixed;
  background: -o-linear-gradient(45deg, rgba(4, 2, 96, 0.7), rgba(224, 255, 174, 0.9)) fixed, -o-linear-gradient(0deg, rgba(53, 114, 45, 0.3), rgba(0, 97, 0, 0.1)) fixed;
  background: linear-gradient(45deg, rgba(4, 2, 96, 0.7), rgba(224, 255, 174, 0.9)) fixed, linear-gradient(90deg, rgba(53, 114, 45, 0.3), rgba(0, 97, 0, 0.1)) fixed;
}
.panelX {
  width: 400px;
  height: 500px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
      border-radius: 10px;
  -webkit-box-shadow: 0 0 10px black;
  -moz-box-shadow: 0 0 10px black;
      box-shadow: 0 0 10px black;
  background: #141519;
  margin: 100px auto;
  text-align: center;
}
.panel {
  width: 500px;
  height: 730px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
      border-radius: 10px;
  -webkit-box-shadow: 0 0 10px black;
  -moz-box-shadow: 0 0 10px black;
      box-shadow: 0 0 10px black;
  background: #141519;
  margin: 100px auto;
  text-align: center;
}
.panel-login {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
      border-radius: 10px;
  -webkit-box-shadow: 0 0 10px black;
  -moz-box-shadow: 0 0 10px black;
      box-shadow: 0 0 10px black;
  background: #141519;
  margin: 10px auto;
  text-align: center;
}
.panel .state {
  margin-top: 5px;
  width: 100%;
  height: 155px;
  color: white;
  font-size: 20px;
}
.panel .state i.fa-ban {
  font-size: 40px;
}
.panel .state i.fa-unlock-alt {
  font-size: 25px;
  color: white;
  line-height: 33px;
  height: 30px;
  width: 30px;
  display: inline-block;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
      border-radius: 50%;
  border: 2px solid;
}
.panel .state h2 {
  font-weight: 400;
}
.panel .form {
  width: 340px;
  margin: 5px auto;
  -webkit-box-shadow: 0 0 2px black;
  -moz-box-shadow: 0 0 2px black;
      box-shadow: 0 0 2px black;
}

.panel .login {
  height: 45px;
  width: 100%;
  background-color: #8bc34a;
  -webkit-border-radius: 45px;
  -moz-border-radius: 45px;
      border-radius: 45px;
  position: relative;
  line-height: 45px;
  text-align: center;
  font-weight: bold;
  color: white;
  margin-top: 10px;
  -webkit-transition: background .2s;
  -moz-transition: background .2s;
    -o-transition: background .2s;
      transition: background .2s;
  cursor: pointer;
}
.panel .login:active {
  -webkit-transform: translateY(2px);
  -moz-transform: translateY(2px);
    -ms-transform: translateY(2px);
    -o-transform: translateY(2px);
      transform: translateY(2px);
}
.panel .login:hover {
  background-color: #599b2d;
}
.panel .login:after {
  content: "\f084";
  font-family: 'FontAwesome';
  position: absolute;
  width: 45px;
  height: 45px;
  background-color: #599b2d;
  color: #fff;
  text-shadow: 1px -1px #467a23, 2px -2px #487d24, 3px -3px #4a8025, 4px -4px #4b8326, 5px -5px #4d8627, 6px -6px #4f8928, 7px -7px #508c28, 8px -8px #528f29, 9px -9px #54922a, 10px -10px #55952b, 11px -11px #57982c;
  left: 0;
  top: 0;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
      transform: rotate(90deg);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
      border-radius: 50%;
  text-align: center;
  line-height: 45px;
}
.panel input[type='text'] {
  background-color: #22232a;
  -webkit-border-radius: 45px;
  -moz-border-radius: 45px;
      border-radius: 45px;
  font-size: 15px;
  height: 45px;
  border: none;
  padding-left: 15px;
  width: -webkit-calc(100% - 15px);
  width: -moz-calc(100% - 15px);
  width: calc(100% - 15px);
  margin-bottom: 10px;
}
.panel input[type='text'][placeholder] {
  color: #656d79;
  font-size: 15px;
  font-weight: 500;
}
.panel input[type='password'] {
  background-color: #22232a;
  -webkit-border-radius: 45px;
  -moz-border-radius: 45px;
      border-radius: 45px;
  font-size: 15px;
  height: 45px;
  border: none;
  padding-left: 15px;
  width: -webkit-calc(100% - 15px);
  width: -moz-calc(100% - 15px);
  width: calc(100% - 15px);
  margin-bottom: 10px;
}
.panel input[type='password'][placeholder] {
  color: #656d79;
  font-size: 15px;
  font-weight: 500;
}
.panel .fack {
  margin-top: 30px;
  font-size: 14px;
}
.panel .fack i.fa {
  text-decoration: none;
  color: #fff;
  vertical-align: middle;
  font-size: 20px;
  margin-right: 5px;
}
.panel .fack a:link {
  color: #616973;
}
.panel .fack a:visited {
  color: #555c65;
}

.block {
  display: block;
  width: 100%;
  border: none;
  background-color: #4CAF50;
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}
.block-sm {
  display: block;
  width: 100%;
  border: none;
  background-color: #4CAF50;
  padding: 14px 28px;
  font-size: 10px;
  cursor: pointer;
  text-align: center;
}

.cell{
  padding-left:5px;
  padding-right:5px;
}

#loaderContainer{text-align:center;width:200px;vertical-align:middle;background:rgba(0,0,0,.6);overflow:hidden;padding:10px;border-radius:8px;color:#fff;position:fixed;left:calc(50% - 100px);top:calc(50% - 100px);z-index:9999}
#loaderContainer .lw-loading-status{background:rgba(255,255,255,.6);padding:8px;border-radius:8px;-webkit-box-shadow:inset 2px 2px 0 0 rgba(0,0,0,.2);box-shadow:inset 2px 2px 0 0 rgba(0,0,0,.2)}
.preloader{
  font-size:10px;
  margin:5em auto;
  width:1em;
  height:1em;
  border-radius:50%;
  position:relative;
  text-indent:-9999em;
  -webkit-animation:load4 1.3s infinite linear;
  animation:load4 1.3s infinite linear
}

@-webkit-keyframes load4{
  0%,100%{
      box-shadow:0 -3em 0 .2em #fff,2em -2em 0 0 #fff,3em 0 0 -.5em #fff,2em 2em 0 -.5em #fff,0 3em 0 -.5em #fff,-2em 2em 0 -.5em #fff,-3em 0 0 -.5em #fff,-2em -2em 0 0 #fff
  }
  12.5%{
      box-shadow:0 -3em 0 0 #fff,2em -2em 0 .2em #fff,3em 0 0 0 #fff,2em 2em 0 -.5em #fff,0 3em 0 -.5em #fff,-2em 2em 0 -.5em #fff,-3em 0 0 -.5em #fff,-2em -2em 0 -.5em #fff
  }
  25%{
      box-shadow:0 -3em 0 -.5em #fff,2em -2em 0 0 #fff,3em 0 0 .2em #fff,2em 2em 0 0 #fff,0 3em 0 -.5em #fff,-2em 2em 0 -.5em #fff,-3em 0 0 -.5em #fff,-2em -2em 0 -.5em #fff
  }
  37.5%{
      box-shadow:0 -3em 0 -.5em #fff,2em -2em 0 -.5em #fff,3em 0 0 0 #fff,2em 2em 0 .2em #fff,0 3em 0 0 #fff,-2em 2em 0 -.5em #fff,-3em 0 0 -.5em #fff,-2em -2em 0 -.5em #fff
  }
  50%{
      box-shadow:0 -3em 0 -.5em #fff,2em -2em 0 -.5em #fff,3em 0 0 -.5em #fff,2em 2em 0 0 #fff,0 3em 0 .2em #fff,-2em 2em 0 0 #fff,-3em 0 0 -.5em #fff,-2em -2em 0 -.5em #fff
  }
  62.5%{
      box-shadow:0 -3em 0 -.5em #fff,2em -2em 0 -.5em #fff,3em 0 0 -.5em #fff,2em 2em 0 -.5em #fff,0 3em 0 0 #fff,-2em 2em 0 .2em #fff,-3em 0 0 0 #fff,-2em -2em 0 -.5em #fff
  }
  75%{
      box-shadow:0 -3em 0 -.5em #fff,2em -2em 0 -.5em #fff,3em 0 0 -.5em #fff,2em 2em 0 -.5em #fff,0 3em 0 -.5em #fff,-2em 2em 0 0 #fff,-3em 0 0 .2em #fff,-2em -2em 0 0 #fff
  }
  87.5%{
      box-shadow:0 -3em 0 0 #fff,2em -2em 0 -.5em #fff,3em 0 0 -.5em #fff,2em 2em 0 -.5em #fff,0 3em 0 -.5em #fff,-2em 2em 0 0 #fff,-3em 0 0 0 #fff,-2em -2em 0 .2em #fff
  }
}

@keyframes load4{
  0%,100%{
      box-shadow:0 -3em 0 .2em #fff,2em -2em 0 0 #fff,3em 0 0 -.5em #fff,2em 2em 0 -.5em #fff,0 3em 0 -.5em #fff,-2em 2em 0 -.5em #fff,-3em 0 0 -.5em #fff,-2em -2em 0 0 #fff
  }
  12.5%{
      box-shadow:0 -3em 0 0 #fff,2em -2em 0 .2em #fff,3em 0 0 0 #fff,2em 2em 0 -.5em #fff,0 3em 0 -.5em #fff,-2em 2em 0 -.5em #fff,-3em 0 0 -.5em #fff,-2em -2em 0 -.5em #fff
  }
  25%{
      box-shadow:0 -3em 0 -.5em #fff,2em -2em 0 0 #fff,3em 0 0 .2em #fff,2em 2em 0 0 #fff,0 3em 0 -.5em #fff,-2em 2em 0 -.5em #fff,-3em 0 0 -.5em #fff,-2em -2em 0 -.5em #fff
  }
  37.5%{
      box-shadow:0 -3em 0 -.5em #fff,2em -2em 0 -.5em #fff,3em 0 0 0 #fff,2em 2em 0 .2em #fff,0 3em 0 0 #fff,-2em 2em 0 -.5em #fff,-3em 0 0 -.5em #fff,-2em -2em 0 -.5em #fff
  }
  50%{
      box-shadow:0 -3em 0 -.5em #fff,2em -2em 0 -.5em #fff,3em 0 0 -.5em #fff,2em 2em 0 0 #fff,0 3em 0 .2em #fff,-2em 2em 0 0 #fff,-3em 0 0 -.5em #fff,-2em -2em 0 -.5em #fff
  }
  62.5%{
      box-shadow:0 -3em 0 -.5em #fff,2em -2em 0 -.5em #fff,3em 0 0 -.5em #fff,2em 2em 0 -.5em #fff,0 3em 0 0 #fff,-2em 2em 0 .2em #fff,-3em 0 0 0 #fff,-2em -2em 0 -.5em #fff
  }
  75%{
      box-shadow:0 -3em 0 -.5em #fff,2em -2em 0 -.5em #fff,3em 0 0 -.5em #fff,2em 2em 0 -.5em #fff,0 3em 0 -.5em #fff,-2em 2em 0 0 #fff,-3em 0 0 .2em #fff,-2em -2em 0 0 #fff
  }
  87.5%{
      box-shadow:0 -3em 0 0 #fff,2em -2em 0 -.5em #fff,3em 0 0 -.5em #fff,2em 2em 0 -.5em #fff,0 3em 0 -.5em #fff,-2em 2em 0 0 #fff,-3em 0 0 0 #fff,-2em -2em 0 .2em #fff
  }
}

/* Mobile responsiveness helpers */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  /* Make the common form container fit small screens */
  #Login {
    padding: 16px;
    display: block;
    width: calc(100% - 24px);
    margin: 12px;
    box-sizing: border-box;
  }
  #Login table {
    width: 100% !important;
  }

  /* Prevent wide content from forcing horizontal scroll */
  img {
    max-width: 100%;
    height: auto;
  }
  input, select, textarea {
    max-width: 100%;
  }
  table {
    max-width: 100%;
  }
  table, th, td {
    padding: 8px;
  }

  /* Stack action buttons vertically on phones */
  .form-submit-button,
  .form-submit-button-sm,
  .page-button {
    width: 100%;
    margin-top: 8px;
    box-sizing: border-box;
  }

  /*
    Pages often use 2-column tables for form layout.
    Applying `.form-table` makes them stack label + field cleanly on mobile.
  */
  table.form-table,
  table.form-table tbody,
  table.form-table tr,
  table.form-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }
  table.form-table td:first-child {
    padding-bottom: 4px;
    font-weight: 600;
  }
  table.form-table td:last-child {
    padding-top: 0;
  }

  /* Convert multi-column dependent list to stacked "cards" on mobile */
  #depTable {
    width: 100% !important;
  }
  #depTable thead {
    display: none;
  }
  #depTable, #depTable tbody, #depTable tr, #depTable td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }
  #depTable tr {
    border: 1px solid #5b6363;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.75);
  }
  #depTable td {
    border: 0;
    border-bottom: 1px solid rgba(91, 99, 99, 0.35);
    padding: 10px 10px;
    text-align: left !important;
  }
  #depTable td:last-child {
    border-bottom: 0;
  }
  #depTable td:before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.75);
    margin-bottom: 2px;
  }

  /* Vaksinasi page: stack the 4-column date row vertically on mobile */
  #uploadTable,
  #uploadTable tbody,
  #uploadTable tr,
  #uploadTable td {
    display: block;
    width: 100% !important;
  }
  #uploadTable td {
    border-left: 0;
    border-right: 0;
  }
  #uploadTable input[type="date"] {
    display: block;
    width: 100%;
    margin-top: 6px;
  }
  #vaccination-pic {
    width: 100%;
    height: auto !important;
  }

  /* Prevent Bootstrap grid gutters from causing overflow inside table cells (asnaf add form). */
  .asnaf-add-form .row {
    margin-left: 0;
    margin-right: 0;
  }
  .asnaf-add-form [class^="col-"],
  .asnaf-add-form [class*=" col-"] {
    padding-left: 0;
    padding-right: 0;
  }

  /* DataTables: allow horizontal swipe when scrollX is enabled */
  .dataTables_wrapper {
    max-width: 100%;
  }
  .dataTables_scrollBody {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
  /* DataTables v2 uses dt-scroll-body/dt-scroll-head class names. */
  .dt-scroll-body {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  /* When DataTables scrollX is enabled it creates a separate header table; hide the body header to avoid double headers. */
  .dataTables_scrollBody thead,
  .dt-scroll-body thead {
    visibility: hidden;
  }
  .dataTables_scrollBody thead th,
  .dataTables_scrollBody thead td,
  .dt-scroll-body thead th,
  .dt-scroll-body thead td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
    height: 0 !important;
  }

  /* Plain Bootstrap responsive tables: allow horizontal swipe */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  /* Search forms using .input-field should not be fixed-width on mobile */
  #Login .input-field {
    width: 100%;
  }
}
