/* Font Martian Mono - font-family: 'Martian Mono', monospace; */
@import url("https://fonts.googleapis.com/css2?family=Martian+Mono:wght@200&display=swap");

*::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.body {
  width: 100%;
  background-color: #181d31;
}

form {
  width: 400px;
  height: 520px;
  background-color: rgba(250, 240, 228);
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  border-radius: 10px;
  border: 2px solid rgba(255, 133, 81);
  box-shadow: 0 0 10px rgba(8, 7, 16, 0.6);
  padding: 50px 35px;
}

.main-pages {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .main-pages {
    margin-left: 0px;
    padding-left: 0px;
    padding-right: 0px;
  }

  .main-pages .row .text-start {
    font-size: 12px;
  }

  .main-pages .row .text-start .garis {
    display: none;
  }

  .main-pages .row .text-start .text-dark {
    display: grid;
  }

  .main-pages .row .text-end {
    font-size: 12px;
  }

  .main-pages .row .text-end .garis {
    display: none;
  }

  .main-pages .row .text-end .text-danger {
    display: grid;
  }

  .main-pages .row .section-body .table {
    font-size: 12px;
  }

  .main-pages .row .section-body .table .btn-group a .btn {
    font-size: 12px;
  }
}

.thumbnail {
  border: 0;
}

#webcodecam-canvas,
#scanned-img {
  background-color: #2d2d2d;
}

#camera-select {
  display: inline-block;
  width: auto;
}

.btn {
  margin-bottom: 2px;
}

.form-control {
  height: 32px;
}

.h4,
h4 {
  width: auto;
  float: left;
  font-size: 20px;
  line-height: 1.1;
  margin-top: 5px;
  margin-bottom: 5px;
}

.controls {
  display: inline-block;
  float: right;
}

.well {
  position: relative;
  display: inline-block;
}

.panel-heading {
  display: inline-block;
  width: 100%;
}

.container {
  width: 100%;
}

pre {
  border: 0;
  border-radius: 0;
  background-color: #333;
  margin: 0;
  line-height: 125%;
  color: whitesmoke;
}

button {
  outline: none !important;
}

.table-bordered {
  color: #777;
  cursor: default;
}

.table-bordered a:hover {
  text-decoration: none;
}

.table-bordered th a {
  float: right;
  line-height: 3.49;
}

.table-bordered td a {
  float: left;
}

.table-bordered th img {
  float: left;
}

.table-bordered th,
.table-bordered td {
  vertical-align: middle !important;
}

.scanner-laser {
  position: absolute;
  margin: 40px;
  height: 30px;
  width: 30px;
  opacity: 0.5;
}

.laser-leftTop {
  top: 0;
  left: 0;
  border-top: solid red 5px;
  border-left: solid red 5px;
}

.laser-leftBottom {
  bottom: 0;
  left: 0;
  border-bottom: solid red 5px;
  border-left: solid red 5px;
}

.laser-rightTop {
  top: 0;
  right: 0;
  border-top: solid red 5px;
  border-right: solid red 5px;
}

.laser-rightBottom {
  bottom: 0;
  right: 0;
  border-bottom: solid red 5px;
  border-right: solid red 5px;
}

#webcodecam-canvas {
  background-color: #3f2305;
}

#scanned-QR {
  word-break: break-word;
}

.webcam {
  width: 100%;
}

.webcam .panel {
  line-height: 50px;
}

.webcam .panel .panel-title {
  font-size: 20px;
  text-align: center;
}

.canvas {
  width: 54vh;
}

@media screen and (max-width: 768px) {
  .canvas {
    width: 100%;
  }
}

/* Validate Password */
#alert {
  display: none;
  /* background: #f1f1f1; */
  color: #000;
  position: relative;
  /* padding: 10px; */
  margin: auto;
}

#alert p {
  font-size: 12px;
  margin-top: 15px;
  margin-left: 15px;
}

.valid {
  color: green;
}

.valid:before {
  position: relative;
  content: "✔";
}

.invalid {
  color: red;
}

.invalid:before {
  position: relative;
  content: "✘";
}
