@charset "UTF-8";

body, html {
    margin: 0;
    height: 100%;
    width: 100%;
    font-family: "Lato", "Helvetica", sans-serif;
    color: #4a4e54;
}

body {
    background-color: #333333;
}

.alert-message {
    word-break: break-word;
}

/* KENDO */

.k-widget {
    background-color: white;
}

.k-header {
    background-color: #AD0028;
    color: white;
}

.k-window {
    border: none;
}

.k-primary {
    background-color: #E1E1E1;
}

/* QR CODE SCANNER */
#qrCodeScanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: black;
	z-index: 100;
}

#qrCodeScannerPreview {
    position: absolute;
    top: 0px;
    left: 0;
    width: auto;
    height: 100vh;
    pointer-events: none;
}

#qrCodeCamera {
    opacity: 0;
    display: none;
}

#qrCodeFrame {
    width: auto;
    height: auto;
}

.qr-code-scanner-content {
    height: inherit
}

.qr-scanner-overlay {
    position: absolute;
    top: calc(50% - 200px);
    left: calc(50% - 170px);
    width: 340px;
    height: 340px;
    z-index: 2;
}

.qr-code-scanner-close {
    position: absolute;
    z-index: 10;
    top: 0;
    right: -5px;
    color: white !important;
    min-width: unset !important;
    text-shadow: 0 0 10px black;
}

.scan-line {
    width: calc(100% - 6px);
    height: .5px;
    left: 3px;
    background: red;
    opacity: .5;
    position: absolute;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    transition: all .2s linear;
    -webkit-animation: scanner 2s linear infinite;
    -moz-animation: scanner 2s infinite linear;
    -o-animation: scanner 2s infinite linear;
    animation: scanner 2s linear infinite;
    box-shadow: 0 0 15px red;
    z-index: 3;
}

.overlay-frame {
    border: 3px solid red;
    height: 100%;
	width: 100%;
    border-radius: 5px;
	box-sizing: border-box;
    opacity: .5;
}

#connecting {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    opacity: 0;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: all .3s;
}

@-webkit-keyframes scanner {
    0% { bottom: 100% }
    50% { bottom: 0 }
    to { bottom: 100% }
}

@-moz-keyframes scanner {
    0% { bottom: 100% }
    50% { bottom: 0 }
    to { bottom: 100% }
}

@-o-keyframes scanner {
    0% { bottom: 100% }
    50% { bottom: 0 }
    to { bottom: 100% }
}

@keyframes scanner {
    0% { bottom: 100% }
    50% { bottom: 0 }
    to { bottom: 100% }
}

@media screen and (min-device-width: 991px) {
    #qrCodeScannerPreview {
        top: 0;
        left: 50%;
        min-height: 100vh;
        width: auto;
        height: 100vh;
        position: absolute;
    }
}