body {
  font-family: 'Roboto', sans-serif;
  width: 100%;
  font-size: 1vw;
  background:url(../img/ombak.png) no-repeat;
  background-position: bottom;
}

ul,li {
  list-style: none;
  margin:0;
  padding: 0;
}

a:hover { 
  opacity: 0.5;
}

div:after {
  float: none;
}

div:after {
  float: none ;
  border: none ;
  margin: 0 ;
  padding: 0 ;
}

header {
  margin:0 auto;
  background:url(../img/head_bg.jpg);
  width:100%;
  height: 100%;
  position: sticky;
  background-size: cover;
  background-attachment: fixed;
}

img { width: 100%; }

.bg-red-white-text {
  background-color: #dd3600;
  color: #fff;
}

.bg-green-white-text {
  background-color: #00a65a;
  color: #fff;
}

/*-----------------------dialog-----------------------*/
dialog {
  position: fixed !important;
  top: 50% !important;
  transform: translate(0, -50%);
  margin: 0px auto;

  border: 0;
  padding: 0;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.67);
}

.dialog-title {
  display: block;
  padding: 8px 12px 4px;
  margin: 0;
  border-top-left-radius: 2px;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  font-size: 1.5em;
  min-height: 24px;
}

.dialog-content {
  padding: 0.5em;
  margin: 24px;
  font-size: 1.5em;
  max-width: 24em;
}

.dialog-close {
  position: absolute;
  top: 5%;
  right: 3%;
  border: 0;
  margin: -3px 0px;
  padding: 3% 5%;
  border-radius: 3px;
  cursor: pointer;
  background: rgb(3, 169, 245);
  color: #fff;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
  transition: all .2s;
}

.dialog-reload {
  border: 0;
  margin-left:10px;
  padding: 5px 15px;
  border-radius: 3px;
  cursor: pointer;
  background: rgb(3, 169, 245);
  color: #fff;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
  transition: all .2s;
}

.dialog-reload:disabled {
  background: rgb(165, 165, 165);
  color: #fff;
}

dialog > .continue {
  margin-top: 10px;
  width: 90%;
  position: absolute;
  font-family: inherit;
  font-weight: 100;
  font-size: 15px;
  border: 0;
  height: 30px;
  bottom: 12px;
  left: 5%;
  padding: 5px 15px;
  border-radius: 3px;
  cursor: pointer;
  background: rgb(3, 169, 245);
  color: #fff;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
  transition: all .2s;
}

dialog > .continue:hover {
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.dialog-nomargin {
  margin : 0 !important;
}

/* ------------ loader ------------*/
#div_loading {
  position: fixed;
  display: none;
  background-color: rgba(0,0,0,0.5);
  width: 100%;
  height: 100vh;
  z-index: 1;
}

#div_loading > div {
  margin: calc(50vh - 120px) auto;
  vertical-align: middle;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

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

.tutorial-template {
  display: none;
}

.select2 {
  font-size: 1.5em;
  margin: 1em 0 0;
  width: 100% !important;
}
.select2-container {
  font-size: 1.5em;
  line-height: 50px; 
}
.select2-container .select2-selection--single {
  height: auto;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid #888;
  border-radius: 0;
}
.select2-container--default .select2-results>.select2-results__options { max-height: 40vh !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px; }
.select2-results__option[aria-selected] { line-height: 50px; }

section {
  display: table;
  margin : 0 auto 150px;
  max-width: 1200px;
  min-height: calc(100vh - 150px);
  width: 90%;
}

.wraper, .wraper2 {
  width: 90%;
  position: relative;
  margin: 0 auto;
  display: table;
  padding-top: 2%;
}

.left {
  width: 40%;
  float: left;
  padding-top: 5%;
}

.left h1 {
  width: 95%;
  margin: 0 auto;
}

.left_m {
  display: none;
}

.right {
  width: 60%;
  float: right;
  padding-top: 5%;
  display: table;
}

h2 {
  font-size: 2.5em;
  color: #16b5ff;
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

form {
  width: 80%;
  margin: 0 auto;
}

#btn_generate {
  width: 70%;
  background:#ff9600;
  color: white;
  border-radius: 5px;
  border:none;
  padding: 3% 0;
  font-size: 1.25em;
  font-weight: bold;
  cursor: pointer;
  margin: 24px auto 0;
  display: block;
}

#btn_generate:disabled {
  background:#ccc;
}

#btn_generate:hover {
  opacity: 0.6;
}

.icon-img {
  width : auto;
  height: 50px;
  float: right;
}

.blue {
  color : #16b5ff;
  font-weight: bold;
}

.input-customer {
  padding: 4px 8px;
  border-bottom: 1px solid #888;
  font-size: 1.5em;
  width : calc(100% - 16px);
  margin: 1em 0 0;
  line-height: 50px;
}

.cara_bayar {
  width: calc(50% - 2vw);
  margin: 50px 0 0;
  position: relative;
  font-size: 1.5em;
  color: #888;
  background-color: #eee;
  border: 0px;
  cursor: pointer;
  display: none;
}

.cara_bayar.active {
  color: #000;
  background-color: #acf;
  border: 1px solid #8af;
  border-bottom: 0px;
}

#btn_cara_bayar_intra.active img {
  border: 1px solid #8af;
  background-color: #fff;
}

.detail_bayar {
  background-color: #acf;
  border-radius: 2vw;
  border: 1px solid #8af;
  display: none;
  margin: -36px auto 0px;
  padding-top: 12px;
}

#btn_cara_bayar_intra { margin-left: 2vw; }
#btn_cara_bayar_inter { margin-right: 2vw; padding-top: 22px; }

#div_intrabank dd, #div_interbank dd {
  font-size: 1.25rem;
}

.detail_bayar > div:first-child, #div_info_tagihan {
  background-color: white;
  border : 2px solid #087AF1;
  border-radius: 2vw;
  padding-top: 3%;
  padding-bottom: 3%;
  margin: 10px auto;
}

.detail_bayar > div:first-child {
  width: calc(94% - 1em);
  font-size: 2.25em;
  text-align: center;
  padding: 0.5em;
}

#div_info_tagihan{
  width: 70%;
  font-size: 1.2em;
  white-space: pre;
  box-sizing: border-box;
  padding-left: 30px;
  font-family: 'Consolas';
  display: none;
}

span.blue {
  padding: 0px 0.5em 0 0;
}

span.sleft, span.sright {
  display: block;
}

span.sleft { text-align: left; }
span.sright { text-align: right; font-weight: bold }

.copy { cursor: pointer; font-weight: normal; }
.copy img { width: 3.33%; padding: 0 1% 0 4%; }

.panah {
  cursor: pointer;
}

.logo {
  width: 20%;
  padding-top: 3%;
}

#div_tutorial_intra ul, #div_tutorial_inter ul {
  display: table;
}

#div_tutorial_intra li, #div_tutorial_inter li {
  width: 28%;
  padding: 2.5%;
  float: left;
}

#btn_cara_bayar_intra img {
  max-width: 120px;
  max-height: 40px;
  border-radius: 3px;
  padding: 0px 8px;
}

#div_qr_code {
  background-color: #acf;
  color: white;
  padding: 10px 0px;
  margin: 10px auto;
  width: 70%;
  border-radius: 2vw;
  border: 1px solid #8af;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  display: none;
}
#div_qr_code div:last-child {
  padding: 0px 10px;
}
#div_qr_code .title {
  font-size: 1.5em;
}
#qrcode {
  width: 25%;
  padding: 15px;
  border-radius: 2vw;
  background-color: white;
}

#mkmpg_contact input {
  border-bottom: 1px solid #888;
  font-size: 1.5em;
  width : calc(100% - 16px);
  margin: 1em 0 0;
  line-height: 50px;
  outline: none;
}

#mkmpg_contact button {
  padding: 3% 5%;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  background: rgb(3, 169, 245);
  color: #fff;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
  transition: all .2s;
  margin-top: 1em;
  font-size: 1em;
  width: 100%;
}

#btn_cetak_struk {
  width: 70%;
  background: rgb(3, 169, 245);
  color: white;
  border-radius: 5px;
  border:none;
  padding: 3% 0;
  font-size: 1.25em;
  font-weight: bold;
  cursor: pointer;
  margin: 24px auto 0;
  display: block;
}

#btn_cetak_struk:hover {
  opacity: 0.6;
}

.double {
  font-size: 14pt;
  font-weight: bold;
  display: inline;
}

@media only screen and (max-width: 912px) {
  body { font-size: 6px; }

  section { background-size: auto; }

  .left { display: none; }
  .left_m {
    display: table;
    width: 100%;
    float: none;
    padding: 15% 0 0 0;
  }
  .left_m img { width: 50%; margin: 0 auto; }
  .left_m h1 { text-align: center; }

  .right {
    width: 100%;
    float: none;
    padding-top: 15%;
  }

  h2 {
    width: 100%;
    text-align: center;
    font-size: 7em;
    padding-bottom: 10%;
  }

  form { width: 100%; }
  .select2 { font-size: 4em; margin: 16px 0 0; }
  .select2-container { font-size: 4em; line-height: 35px; }
  .select2-container .select2-selection--single { padding: 8px 0; }
  .select2-container--default .select2-selection--single .select2-selection__arrow { height: 35px; }
  .select2-results__option[aria-selected] { line-height: 35px; }
  .input-customer { font-size: 4em; }
  
  #btn_generate {
    width: 100%;
    font-size: 4em;
    margin-top: 7%;
  }

  .dialog-title { font-size: 4em; }
  .dialog-content { font-size: 4em; }
  
  .logo {
    width: 50%;
    margin: 0 auto;
  }

  .icon-img {
    height : 35px;
  }

  .detail_bayar > div:first-child {
    font-size: 4em;
  }

  #div_info_tagihan {
    width: 100%;
    font-size: 2.5em;
    padding: 12px 24px;
  }

  #div_qr_code {
    width: 100%;
    font-size: 2.5em;
  }

  #kode { font-size: 1.25em; }

  .copy img { width: 6.67%; padding: 0 1% 0 4%; }

  .tutorial {
    width: 100%;
    text-align: center;
    padding-top: 10%; 
  }

  .tutorial p {
    margin: 0 auto;
    padding-bottom: 2%;
    font-size: 1.5em;
    text-align: center;
  }

  .tutorial img {
    width: 10%;
  }

  .input-customer {
    margin: 10px 0 0;
  }

  #div_tutorial_intra ul, #div_tutorial_inter ul {
    display: table;
    padding-bottom: 0;
  }

  #div_tutorial_intra li, #div_tutorial_inter li {
    width: 45%;
    padding:2.5%;
    float: none;
    font-size: 4em;
    display: inline-flex;
  }

  .cara_bayar { bottom: 1.5em; font-size: 3em; }
  .detail_bayar { margin-top: -28px; }
}

@media only screen and (max-width: 640px) {
  body { font-size: 5px; }
  #qrcode {  width: 50%; }
}

@media only screen and (max-width: 412px) {
  body { font-size: 4px; }
  h2 { font-size: 6.5em; }
  .cara_bayar { bottom: 2.3em; }
  #btn_cara_bayar_intra img {
    max-width: 100px;
    max-height: 31px;
  }
  #div_intrabank dd, #div_interbank dd { font-size: 1em; }
}

@media only screen and (min-width: 912px) {
  body { font-size: 14px; }
  .cara_bayar { bottom: 1.72em; }
}

@media only screen and (min-width: 1200px) {
  body { font-size: 15px; }
  .cara_bayar { bottom: 1.6em; }
}