/* 
    Created on : Jul 20, 2022, 8:06:57 AM
    Author     : beno_
*/
/*aaaa*/


/*--- BP Edited ---*/
input[type=checkbox], input[type=radio] {
  cursor: pointer;
}

.jumbotron {
  background: transparent;
  padding: 0;
}

.whitecontainer {
  position: relative;
  padding: 3px 10px;
}

#barangpenumpangForm h1 {
  font-size: 1.4rem;
  color: #000;
  text-align: center;
}

#barangpenumpangForm .barangBawaanHandheld h1 {
  line-height: 1.2;
  font-size: 1.2rem;
}

#bahasa {
  text-align: right;
}

#lang-display {
  width: 210px;
}

#lang-display, #tanggalLahirTgl, #tanggalLahirBln, #tanggalLahirThn, #tanggalKedatanganOption {
  padding: 0.375rem 0.5rem;
  line-height: 1.5;
  border: solid 1px #ced4da;
  border-radius: 0;
  margin-bottom: 0.5rem;
  margin-top: 5px;
  height: 42px;
}

#lang-display+span {
  text-align: left;
}

#tanggalLahirTgl, #tanggalLahirBln, #tanggalLahirThn {
  display: inline-block;
  margin-right: 0;
  width: 32%;
}

button#prevBtn, #nextBtn, #btnSubmitCDOnline, #prosesBtn, #btnSubmitBC32BC34 {
  padding: 8px 20px;
  font-size: 1rem;
  background: #02275d;
  border: none;
  color: #FFF
}

#prevBtn {
  background: #6f92c7;
}

/** input **/
#barangpenumpangForm .invalid {
  border-bottom: 1px solid #F44336;
  box-shadow: 0 1px 0 0 #f44336;
  background: #FFDDDD;
  background-color: #ffdddd;
}

.btn {
  border-radius: 0;
  padding: 8px 20px;
  font-size: 1rem;
}

label {
  margin-bottom: 0rem;
  font-size: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif;
  font-weight: 400;
  transition: linear .3s;
}

.label-pkg {
  right: 30px;
  position: absolute;
  bottom: 15px;
}

input.form-control {
  margin-bottom: .5rem;
  margin-top: 5px;
  padding: .5rem;
  border-radius: 0;
  transition: linear .3s;
  height: calc(1.5em + 0.75rem + 6px);
  font-size: 1rem;
  color: #005598;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.select2-container--open .select2-dropdown--below, select2-dropdown select2-dropdown--above, .select2-container--default .select2-search--dropdown .select2-search__field {
  text-transform: uppercase;
}

.tab .col-md-6 {
  margin-bottom: 5px;
}

.tab.barangBawaan label {
  font-weight: 400;
}

#barangpenumpangForm {
  padding: 0 20px;
}

#barangpenumpangForm .detailCD {
  font-size: 1rem;
  background: transparent;
}

.tabbarangbc34.detailCD {
  cursor: auto
}

.barangBawaan>div>.row:nth-child(even) {
  border-bottom: solid 1px #DDD;
  margin-bottom: 10px;
  padding: 5px;
}

.barangBawaan>div>.row:nth-child(odd), .tabbarangbc34>div>.row, .barangBawaanHandheld>div>.row {
  text-align: justify;
  padding-bottom: 10px;
}

#isianIMEI select+span, #isianIMEI input {
  text-transform: uppercase;
}

#kategoriKarantina {
  width: 100%;
  height: 42px;
  border-radius: 0;
  margin-top: 5px;
  border: 1px solid #ced4da;
}

#isianBarangBC22a label.toggle {
  width: 100%;
}

input.unaccompaniedBagage {
  padding: 2px;
  margin-left: 30px;
  width: 15px;
  height: 15px;
}

.barangBawaan .btn, .barangBawaanHandheld .btn, #isianDataKeluarga .btn {
  padding: 5px 15px;
  border: solid 1px #adadad;
  margin-right: 20px;
  border-radius: 0;
}

.barangBawaan td .btn, .barangBawaanHandheld td .btn, #myTableKeluarga td .btn {
  border-radius: 0;
  padding: 1px 5px;
  border: none;
  width: 36px;
  margin-right: 3px;
}

table.table td, table.table th {
  padding: 0.4rem;
  font-size: 0.9rem;
}

.table-bordered td:last-child, .table-bordered th:last-child {
  min-width: 108px !important;
}

.detailCD .row:last-child .col-md-6 {
  margin: 0;
}

/** select2 modification **/
.select2-container {
  font-weight: 400;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  text-transform: uppercase;
  color: #005598;
}

.select2-container .select2-selection--single {
  height: 42px;
}

.select2-container .select2-selection--single {
  height: 42px;
  border-radius: 0;
  border: 1px solid #ced4da;
  margin-bottom: 0.5rem;
  margin-top: 5px;
}

.selecttwo label {
  margin-top: 0rem;
}

.selecttwo label>span:first-child {
  line-height: 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif;
  font-weight: 400;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
  top: 5px;
}

.ui-autocomplete {
  max-height: 200px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
}

/* IE 6 doesn't support max-height
 * we use height instead, but this forces the menu to always be this tall
 */
* html .ui-autocomplete {
  height: 200px;
}

.ui-menu .ui-menu-item {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/** form **/
.form-control:focus {
  border-color: #02275d;
  box-shadow: 0 0 0 0.2rem rgb(2 39 93 / 39%);
}

.select2-dropdown {
  top: -8px;
  border: 1px solid #ced4da;
  border-radius: 0;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus-visible {
  outline: solid 1px #1a13669c;
}

.tooltip-btn {
  background: transparent;
  color: #000;
  padding: 0;
  width: 15px;
  font-size: 0.9rem;
  margin-left: 10px;
}

/** countdown loader **/
#countdown-container {
  position: absolute;
  z-index: 9999999;
  display: block;
  width: 227px;
}
.countdown {
  position: absolute;
  width: 200px;
  top: 15%;
  text-align: center;
  font-size: 5rem;
  font-family: 'Roboto';
  color: #02275d;
}
#countdown-container .lds-ring {
  display: inline-block;
  position: relative;
  width: 190px;
  height: 190px;
  top: 40%;
}
#countdown-container .lds-ring div {
  width: 180px;
  height: 180px;
  margin: 8px;
  border: 8px solid #02275d;
  border-color: #02275d transparent transparent transparent;
}
#countdown-message {
    text-align: center;
    font-size:1.2rem
}

/** loader ring **/
.whitecontainer {
  position: relative;
}

.loader-container {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  top: 0;
  background: #ffffff;
  z-index: 9999999;
  text-align: center;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  top: 40%;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #02275d;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #02275d transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

#barangpenumpangForm .table {
  display: inline-table;
  overflow-x: auto;
}

#dokumen .material-icons {
  font-size: 36px;
  position: relative;
  padding-left: 10px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#saved-wait {
  z-index: 10000000;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  top: 50%;
  text-align: center;
  font-family: 'Open Sans';
  font-size: 18px;
  display: none;
}

/* notif draft (toast) */
#toast-container {
  position: fixed;
  z-index: 999999;
}

.md-toast {
  background-color: #fd7e14;
  color: #FFF;
  font-size: 0.9rem;
}

.md-toast-top-right {
  top: 72px;
  right: 72px;
}

.md-toast .btn {
  padding: 0.5rem 0.8rem;
  box-shadow: 1px 1px 2px 0px #00000061;
  margin: 15px 5px 0 0;
  border-radius: 0;
  color: #FFF;
}

#toast-container>div {
  position: relative;
  width: 18.75rem;
  padding: 15px 15px 15px 50px;
  margin: 0 0 6px;
  overflow: hidden;
  filter: alpha(opacity=95);
  background-repeat: no-repeat;
  background-position: 15px center;
  -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
  opacity: .95;
}

.fa-warning {
  position: absolute;
  left: 10px;
  top: 21px;
  font-size: 28px;
}

#pernyataan, #pernyataan34 {
  width: 10%;
  display: inline-block;
  height: 20px;
  margin-top: 4px;
}

#kalimat-pernyataan {
  display: inline-block;
  width: 90%;
}

/** slider **/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 25px;
  margin-top: 3px;
  float: right;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch input:disabled+.slider {
  opacity: 0.2;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(/assets/img/check-no.png) no-repeat center center / cover;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background: url(/assets/img/check-yes.png) no-repeat center center / cover;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(35px);
  -ms-transform: translateX(35px);
  transform: translateX(35px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.detailCD {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.download-qr {
  display: none;
}

#qrModal, #lastQrModal {
  background: white;
  width: 90%;
  height: 90%;
  margin: auto;
  overflow-x: hidden;
  border-radius: 10px;
  left: 5%;
  top: 50px;
}

#print-qr .btn, .download-qr .btn {
  padding: 8px 25px;
  border-radius: 0;
}

#contentQrCode {
  position: relative;
  padding: 0 30px;
}

#qr-image {
  position: relative;
  text-align: center;
}

#contentQrCode img {
  position: relative;
  z-index: 999
}

#contentQrCode canvas {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
}

.print-qr {
  width: 200px;
  height: 340px;
}

#qr-text, #qr-pelabuhan {
  display: block;
  text-align: center;
  width: 90%;
  margin: auto;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.qrClose {
  text-align: right;
}

#lastQR {
  padding: 0 0 10px 0;
  border-bottom: solid 1px #ddd;
  margin-bottom: 10px;
  text-align: center;
}

#ketentuan-bp {
  width: 100%;
  text-align: left;
  background: #eee;
}

#ketentuan {
  padding: 1em;
  border-left: solid 1px #eee;
  border-right: solid 1px #eee;
  border-bottom: solid 1px #eee;
  font-size: 0.8rem;
  text-align: justify;
}

#ketentuan ul li {
  list-style-type: none
}

#ketentuan ul ul {
  padding-left: 15px;
}

/* datepicker jquery */
#ui-datepicker-div {
  border: solid 1px #ffffff;
  box-shadow: 3px 3px 12px #00000059;
  width: auto;
  background: #FFF;
}

.ui-datepicker-other-month {
  background: white;
}

.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled {
  opacity: .65
}

.ui-datepicker .ui-datepicker-header {
  border-radius: 0;
  background: transparent;
  border: none;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
  background: #edf6ff;
  width: 36px;
  height: 36px;
  line-height: 2;
  text-align: center;
  border: none;
  font-size: 0.8rem;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
  width: 45%;
}

.ui-datepicker .ui-datepicker-title {
  margin-top: -3px;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
  border: solid 1px #cbcbcb;
  margin-left: 2px;
  font-family: 'Roboto';
  font-size: 0.9rem;
  padding: 5px;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
  background: #badfff;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
  border-radius: 0;
  border: solid 1px #aaa;
  font-family: 'Roboto';
}

.ui-datepicker th {
  width: 14.28%;
  font-weight: 400;
  font-size: 0.9rem;
}

.ui-datepicker td {
  padding: 1px;
}

/** responsive **/
@media (max-width: 992px) {
  #barangpenumpangForm .table {
    display: block;
  }

  #barangpenumpangForm {
    padding: 0;
  }
}

@media (max-width: 960px) {
  #print-qr {
    display: none;
  }

  .download-qr {
    display: block;
  }
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

  /*    #bahasa {
            text-align:center;
        }*/
  #barangpenumpangForm label {
    font-size: 1rem;
  }

  .switch {
    width: 48px;
    height: 23px;
  }

  .slider.round {
    border-radius: 17px;
  }

  .slider:before {
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 4px;
  }

  input:checked+.slider:before {
    -webkit-transform: translateX(25px);
    -ms-transform: translateX(25px);
    transform: translateX(25px);
  }

  #barangpenumpangForm table th {
    font-size: 1rem;
  }

  .md-toast-top-right {
    top: 12px;
    right: 12px;
  }

  .rolldate-container .rolldate-panel {
    width: 100%;
    left: 0;
  }

  .tab.barangBawaan {
    padding: 0 15px;
  }

  .tab.barangBawaan .col-10, .tab.barangBawaan .col-2 {
    padding: 0;
  }

  .tab.barangBawaan .col-2 {
    padding-left: 16px;
  }
}

/* Landscape phones and down */
@media (max-width: 480px) {
  body {
    font-size: 0.9rem
  }

  .headline fieldset h2 {
    font-size: 1.2rem
  }

  input.form-control {
    font-size: 0.9rem;
  }

  .whitecontainer {
    padding: 5px;
  }

  .wrapperMain hr {
    display: none;
  }

  #barangpenumpangForm label {
    font-size: 0.9rem;
  }

  #barangpenumpangForm .detailCD {
    padding: 14px
  }

  #barangpenumpangForm .detailCD, #barangpenumpangForm .detailCD p {
    font-size: 0.9rem;
  }

  #isianIMEI.detailCD, #barangasalbc34.detailCD {
    padding: 5px
  }

  .barangBawaan input {
    height: 42px;
    margin-bottom: 5px;
  }

  .barangBawaan input[type=checkbox], input[type=radio] {
    height: auto;
  }

  #barangpenumpangForm .barangBawaan .col-md-6, #barangpenumpangForm .barangBawaan .row>.col-md-12, #barangpenumpangForm .barangBawaanHandheld .col-md-6, #barangpenumpangForm .barangBawaanHandheld .row>.col-md-12 {
    padding: 0px;
    height: 60px;
    margin: 0 0 20px 0;
  }

  #barangpenumpangForm table.table td, #barangpenumpangForm table.table th {
    padding: 0.4rem;
    font-size: 0.6rem
  }

  .switch {
    float: none;
  }

  #barangpenumpangForm .barangBawaan .row>.col-md-12 {
    height: 20px;
    margin: 0;
  }

  #barangpenumpangForm .barangBawaanHandheld .col-md-6, #barangpenumpangForm .barangBawaanHandheld .row>.col-md-12 {
    padding: 0px 15px;
  }

  table .btn {
    padding: 0 5px;
    margin-right: 5px;
  }
}

/** loader small **/
.small-loader {
  display: inline-block;
  position: absolute;
  width: 80px;
  height: 42px;
  right: 20px;
  z-index: 999;
  bottom: 20px;
}

.small-loader div {
  position: absolute;
  top: 30px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #02275d;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.small-loader div:nth-child(1) {
  left: 8px;
  animation: small-loader1 0.6s infinite;
}

.small-loader div:nth-child(2) {
  left: 8px;
  animation: small-loader2 0.6s infinite;
}

.small-loader div:nth-child(3) {
  left: 32px;
  animation: small-loader2 0.6s infinite;
}

.small-loader div:nth-child(4) {
  left: 56px;
  animation: small-loader3 0.6s infinite;
}

@keyframes small-loader1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes small-loader3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes small-loader2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}