html,
body {
    height: 100%;
}

body {
    font-size: 16px !important;
}

main > .container {
    padding: 15px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button {
    padding: 0 15px !important;
    color: rgb(255,255,255);
}
.nav li {
    height: 30px;
    line-height: 30px;
    color: white;
}

.navbar-brand img {
    max-height: 40px;
}

.navbar-brand {
    padding: 5px 15px !important;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        color: white;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}



@media (min-width: 1200px) {
    .logo > img {
        max-width: 24vw;
        max-height: 14vh;
    }
}
@media (min-width: 900px) {
    .logo > img {
        max-width: 30vw;
        max-height: 16vh;
    }
}
@media (min-width: 600px) {
    .logo > img {
        max-width: 44vw;
        max-height: 10vh;
    }
}

.qrcode-container {
    max-width: 600px;
    margin: 15px auto;
    color: white;
}

.container-instructions {
    margin-top:20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 650px;
    /*background-color: rgba(0,0,0,0.3);*/
    display: flex;
}

.container-instructions .instructions {
    padding: 15px 25px;
    font-size: 0.75em;
    width: 100%;
}
.container-instructions .instructions p {
    text-align: center;
}
.container-instructions .qrcode-app {
    padding: 15px 25px;
}
.container-instructions .qrcode-app img {
    border: 6px solid white;
    max-width: 115px;
}


.container-login {
    width: 100%;
    margin: 0 auto;
}

.transparent-icon {
    color: rgba(255,255,255,0.16);
}

.container-voucher {
    padding: 10px;
    height: 95vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-grow: 2;
}
.container-voucher .logo img {
    max-height: 14vh;
}
.container-voucher .qrcode img {
    max-height: 50vh;
    border: 20px solid white;
}
.container div h1 {
    font-size: 5rem;
}
@media (min-width: 1200px) {
    .container-voucher .logo img {
        max-height: 14vh;
    }
    .container-voucher .qrcode img {
        max-height: 50vh;
    }
    .container div h1 {
        font-size: 4rem;
    }

}
@media (min-width: 900px) {
    .container-voucher .logo img {
        max-height: 14vh;
    }
    .container-voucher .qrcode img {
        max-height: 35vh;
    }
    .container div h1 {
        font-size: 3rem;
    }
}

@media (min-width: 320px) {
    .container-voucher .logo img {
        max-height: 14vh;
    }
    .container-voucher .qrcode img {
        max-height: 30vh;
    }
    .container div h1 {
        font-size: 3.5rem;
    }
    .container div h3 {
        font-size: 2.8rem;
    }
}



.link-params, .link-print, .link-fullscreen {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 10px;
}

.link-print i, .link-fullscreen i {
    cursor: pointer;
}

@media print {
    .link-print * {
        display: none !important;
    }
    h1, h3 {
        color: #000 !important;
    }
    h1 {
        font-size: 3em !important;
    }
    h3 {
        font-size: 1.9em !important;
    }
    .logo {
        background-color: #d0d0d0 !important;
        padding: 25px 40px;
        -webkit-print-color-adjust: exact;
    }
}

.background_video {
    width: 100vw;
    z-index: -1;
}
.background_video video {
    position: fixed;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100vw;
    height: 100vh;
}


.navbar-nav > li.link > a {
    margin-top: 10px !important;
    line-height: unset !important;
    padding: 10px !important;
    display: unset !important;
    margin-right: 20px;
    color: #fff;
}

.label-status > strong {
    color: rgba(255,255,255,0.5);
    padding-right: 14px;
}
.status-message {
    padding-left: 35px;
}
.status-message > i {
    font-size: 1.5em;
    margin-left: -35px;
    position: absolute;
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
    .info-user {
        display: none !important;
    }
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
    .info-user {
        display: unset !important;
    }
}

.thumb-grupos {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    gap: 20px;
    margin: 0 auto;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.thumb-grupos li img {
    max-width: 30vw;
}

/* Mobile Devices */
@media (max-width: 480px) {
    .thumb-grupos li img {
        max-width: 30vw;
    }
}

/* Low resolution Tablets and iPads */
@media (min-width: 481px) and (max-width: 767px) {
    .thumb-grupos li img {
        max-width: 23vw;
    }
}

/* Tablets iPads (Portrait) */
@media (min-width: 768px) and (max-width: 1024px){
    .thumb-grupos li img {
        max-width: 22vw;
    }
}

/* Laptops and Desktops */
@media (min-width: 1025px) and (max-width: 1280px){
    .thumb-grupos li img {
        max-width: 20vw;
    }
}

/* Big boi Monitors */
@media (min-width: 1281px) {
    .thumb-grupos li img {
        max-width: 15vw;
    }
}

.qrcode-alert {
    margin: 40px 0px;
    font-weight: bold;
}

.alert.alert-warning.qrcode-alert {
    color: #000000 !important;
}

div:where(.swal2-container) .swal2-html-container {
    font-size: 16px !important;
}