/*
  blue: 2682B7
  bluedark: 0D699E
  red: DC3644
*/

body {
  color: #212524;
  overflow-y: scroll;
}

h1 {font-size: 22px;}
h2 {font-size: 20px;}
h3 {font-size: 18px;}
h4 {font-size: 16px;}
h5 {font-size: 14px;}

p {
  margin-bottom: 0.5rem;
}

a {color: #0D699E;}
a:hover, a:active, a:hover {color: #2682B7; text-decoration: none;}

.cblue {color: #2682B7;}
.cbluedark {color: #0D699E;}

.bgblue {background-color: #2682B7;}
.bgbluedark {background-color: #0D699E;}

.btn-light {
  color: #212524;
  background-color: #fff;
  border: 1px solid #dee2e6!important;
}
.btn-light:hover, .btn-light:active, .btn-light:focus, .btn-light:not(:disabled):not(.disabled):active {
  color: #212524;
  background-color: #fff;
  border: 1px solid #dee2e6!important;
}

.btn-primary {
  color: #fff;
  background-color: #2682B7;
  border-color: #2682B7;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active {
  color: #fff;
  background-color: #0D699E;
  border-color: #0D699E;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background-color: #f2f2f2; 
}
::-webkit-scrollbar-thumb {
  background-color: #ccc; 
}
::-webkit-scrollbar-thumb:hover {
  background-color: #bfbfbf; 
}

.cursor-pointer {
  cursor: pointer;
}

.fw-bolder {
  font-weight: 500!important;
}

/* -------------------- NAVBAR -------------------- */

.navbar .navbar-toggler, .dropdown-toggle {
  border-color: transparent;
  outline: none;
  box-shadow: none;
}

.navbar .dropdown-item:active {
  color: #222;
  background-color: #f8f9fa;
}

/* -------------------- HOME -------------------- */

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  background: #2682B7;
  border: 0!important;
}

/* -------------------- TEST -------------------- */

.test .question {
  min-height: 400px;
}

.test img {
  max-height: 260px;
  border-radius: 4px;
}

.test input {
  border: 1px solid rgba(0,0,0,.25);
  border-radius: .25rem!important;
}

.test input:active, .test input:focus {
  border: 1px solid #2682B7;
  border-radius: .25rem!important;
  outline: none;
}

.test .fotob {
  max-height: 80px;
}

.test .fotod {
  max-height: 120px;
}

.test .inputd {
  max-width: 60px;
  border-radius: .25rem!important;
}

.test .inputd:active, .test .inputd:focus {
  max-width: 60px;
  border-radius: .25rem!important;
  border: 1px solid #2682B7;
  outline: none;
}

.saktefoto {
  max-width: 20px;
  max-height: 20px;
  margin-top: 3px;
}

.form-check-input:checked, form-check-input:focus, form-check-input:active {
  background-color: #2682B7;
  border-color: #2682B7;
}

.form-check-input:disabled~.form-check-label, .form-check-input[disabled]~.form-check-label {
  opacity: 1;
}

/* -------------------- PAGINATION -------------------- */

.pagination-bottom .buttons .btn {
  width: 100%;
  touch-action: manipulation;
}

.pagination-bottom #back, .pagination-bottom #next, .pagination-bottom #finish {
  border-color: #2682B7;
  background-color: #2682B7;
  border-radius: 4px;
  touch-action: manipulation;
}

.pagination-bottom input[type="button"]:disabled {
  opacity: 0.5;
}

.test .pages ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

.test .pages li {
  min-width: 36px;
  float: left;
  margin-right: 8px;
  margin-bottom: 8px;
}

.test .pages li a {
  font-family: Arial, sans-serif;
  color: #212524;
  font-size: 12px;
  background-color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 5px 9px;
  border: 1px solid #dee2e6;
  display: block;
  border-radius: 4px;
}

.test .pages li a:hover {
  background-color: #2682B7;
  color: #fff;
  border-color: #2682B7;
}

.test .pages li.on a {
  color: #fff;
  background-color: #2682B7;
  border: 1px solid #2682B7;
}

/* -------------------- PAGES -------------------- */
.page {
  text-align: justify;
  padding-bottom: 8px;
}

/* -------------------- FOOTER -------------------- */

footer a {
  color: #333;
}

/* -------------------- MIN-WIDTH: 768 -------------------- */
@media (min-width: 768px) {
  .border-sm {
    border: 1px solid #dee2e6!important;
    margin-bottom: 1rem;
  }
}

/* -------------------- MAX-WIDTH: 320 -------------------- */
@media (max-width: 320px) {
  .atd {
    display: none;
  }
}

.blank-page{
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0; 
  background-color:transparent; 
  z-index:100000; 
  color:#000;
  display: none;
  justify-content: center;
  align-items: center;
}
.blank-page .blank{
  position: absolute; 
  width:100%; 
  height:100%; 
  background-color:#fff; 
  opacity:.95; 
  z-index:20
}
.blank-page .result{
  display: flex;
  justify-content: center;
  z-index: 100;
  padding: 5rem;
  background-color: #fff;
}
.close{
  position: absolute;
  top: 25px;
  right: 25px;
  color: #000;
  z-index: 100;
  font-weight: bold;
}
.close:hover{
  cursor: pointer;
}
