.success {
    color: green;
    font-weight: bolder;
    display: block !important;
}

.failure {
    color: red;
    font-weight: bolder;
    display: block !important;
}

.hidden {
    display:none !important;
}


.validate {
    display:block !important;
}

.pagination {
    justify-content: center !important;
}

.selectDates select {
    display:inline !important;
}

.selectDates {
    margin-bottom: 2rem;
}

#select-month {
    width: 30%;
}

#select-year, #select-day {
    width: 15%;
}

.header {

   margin-bottom: 2rem;
}

hr.separator {
    margin:2rem 0rem 2rem 0rem;
    padding-top: 2rem;
}


.links {
    .frame{
        width:100%;
        height:200px;;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid gray;

        img {
            max-width: 80%;
        }
    }
}

.black-bg {

    background-color: black;
}

.do-blue-bg {
    background-color: #071f49;
}

.index {
    h1 {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

html,
body {
  height: 100%;
}


.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

.form-signin .checkbox {
  font-weight: 400;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="username"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* ------------------------------------------------------------------
   QR scanner: responsive camera view
   The layout used to be locked to 330px (.form-signin) with a fixed
   250px scan box, which made the viewfinder tiny on phones.
   ------------------------------------------------------------------ */
main.qr-scanner {
    max-width: 600px;
}

#qr-reader {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#qr-reader video {
    width: 100% !important;
    height: auto !important;
    border-radius: 0.375rem;
}

#qr-reader__scan_region {
    min-height: 0;
}

#qr-reader__dashboard,
#qr-reader__dashboard_section {
    max-width: 100%;
}

#qr-reader__dashboard button {
    min-height: 44px;
}

/* Make the status text and submit button visible even though they start
   with the .hidden class. */
#alerts.success,
#alerts.failure,
#button.validate {
    display: block !important;
}

@media (max-width: 575.98px) {
    main.qr-scanner {
        padding-left: 8px;
        padding-right: 8px;
    }

    main.qr-scanner h1 {
        font-size: 1.5rem;
    }
}
