@media screen and (orientation: landscape) {
	.logo div { opacity: 0 }
	.navbar { opacity: 0 }
	.navbar { opacity: 1 }
	.row-top { height: 5%; background-color: #000; opacity: 0.6; margin: 0  } 
	.row-bottom { height: 5%; background-color: rgba(0, 0, 0, 0.60); opacity: 0.6; margin: 0  }
	.row-center { height: 80%; margin: 0 }
	.overlay-left, .overlay-right {background-color: #000; opacity: 0.6; }
}

@media screen and (orientation: portrait) {
	.logo div { opacity: 1 }
	.navbar { opacity: 1 }
	.row-top { height: 20%; background-color: #000; opacity: 0.6; margin: 0  } 
	.row-bottom { height: 40%; background-color: rgba(0, 0, 0, 0.60);  margin: 0  }
	.row-center { height: 40%; margin: 0 }
	.overlay-left, .overlay-right {background-color: #000; opacity: 0.6; }
}

.overlay-center {
    text-align: center;
    padding-top: 20%;
}

html, body {
    height: 100%;
}

video {
    transform: scaleX(1) !important;
}

.container {
    /* height: 100% */
}

canvas {
    display: none;
}

#div-video {
    margin: 0;
    position:absolute;
    top: 0;
    height: 100vh;
    width:100%
}

.flashcamera {
    animation: flash 0.2s linear normal;
}

@keyframes flash { 
    100% {
        background-color: #ffffff;
        opacity: 1;
    }
}

#div-video-overlay {
    margin: 0;
    z-index:100;
    position:absolute;
    top: 0;
    height: 100vh;
    width:100%
}


#div-loading {
    height: 100%;
    width: 100%;
    align-items: center;
    position: absolute;
    display: none;
    z-index: 9999;
}

#div-loading svg {
    display: block;
    margin: 0 auto;
}

#div-cart {
    height: 100%;
    background-color: #f9f9f9;
    padding-top: 10px;
    margin: 0 -15px;
}


#div-cart .cart-header {
    margin: 0;
    padding: 15px 10px 0 10px;
}

#div-cart .cart-header .cart-reset {
    text-align: right;
    padding-top: 2px;
    font-size: 1.3rem;
}


#div-cart h1 {
    margin: 0;
    font-size: 1.3rem;
}

#div-cart .cust-name {
    margin: 3px 0 20px 0;

}

#div-video {
    object-fit: cover;
    margin: 0 auto;
    overflow: hidden;
}

#qr-video {
    object-fit: cover;
    margin: 0 auto;
}

#fakeImg { 
    display:none;

}

.logo {
   margin: 0;
   
}

.logo div {
    background-color: #fff;
    padding: 15px;
    z-index: 150;
    transition: opacity 2s;
    border-bottom: 1px solid #e4e4e4;
}

#modal-messagebox {
    color: #424242;
    border-color: #c0c0c0;
    position: absolute;
    bottom: 62px !important;
    width: 100%;
    z-index: 999;
    top: auto !important;
}

.modal {
    top: auto !important;
}

.modal-information { background-color: #55b0cd }
.modal-error { background-color: #a12525 }

.modal-title {
    color: #fff;
    font-weight: bold;
}


.navbar.fixed-bottom {
    padding: 0;
    display: none;
}

.fixed-bottom {
    background-color: #f1f1f1;
}

.nav-bar { transition: opacity 2s }
.nav-fill { width: 100%; }

.nav-pills .nav-item {
    line-height: 65px;
    width: 50%;
}

.nav-pills .nav-item {
    border-right: 1px solid #484848;
}

.nav-pills .btn {
    height: 48px;
    width: 100%;
    background-color: transparent;
    font-weight: bold;
    color: #fff;
}

.cart-item {
    border: 1px solid #e4e4e4;
    background-color: #fff;
    margin-bottom: 5px;
    padding: 10px;
}

.cart-item .name {
    font-weight: bold;
    overflow: hidden;
}

.cart-item .amount {
    width: 60px;
    font-size: 11px;
    text-align: right;
}

.cart-item .trash {
    color: #a12525;
}

#div-pin {
    margin: 10px;
    display: none;
}

#div-confirm {
    margin: 10px;
    display: none;
}

#confirmpin {
    border: 1px solid #305d9c;
    border-radius: 5px;
    background-color: #305d9c;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 30px;
    padding: 10px;
}


.inputpin {
    text-align: center;
    background-color: #305d9c;
    border-color: #4e6dab;
    margin-top: 15px;
    color: #fff;
    font-size: 22px;
}

.inputpin:focus {
    background-color: #305d9c;
    border-color: #305d9c;
    color: #fff;
}

.buttonpin {
    margin-top: 15px;
}

#scanbutton { display: none; }

#div-scanbutton {
    border: 7px solid #f8f9fa;
    padding: 3px;
    background-color: #f92222;
    width: 95px;
    height: 95px;
    margin: 20px auto;
    border-spacing: 10px;
    opacity: 1;
    border-radius: 50%;
    box-shadow: 0 0 0pt 7px#bd2130;
}

.autoscannerenable { color: #0aa538 !important }

.scaninfo {
    font-size: 18px;
    font-weight: 600;
    display: none;
}

.scaninfo-show { 
    display: block;
}

#div-debug {
    color: #fff;
    font-size: 12px;
}
#span-reset-camera { 
    font-size: 12px;
    padding:2px;
    border:1px solid #fff;
    border-radius: 3px;
    cursor: pointer;
}

.div-price {
    font-size: 12px;
    font-weight: bold;
    margin-top:4px;
}

.div-sum {
    padding: 6px 0 6px 0;
}

.span-info-small {
    font-size: 10px;
    margin-top: 4px;
}

.span-sum {
    float:right;
    font-size: 16px;
    font-weight: bold;
    margin-top: 14px;
}

.div-product-not-found {
    font-size: 12px;
    font-weight: bold;
    margin-top: 4px;
    color: #a12525;
}

.history {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 42px;
    font-weight: 600;
}

.history a { text-decoration:none; color: #424242 }

.main {
    padding: 20px;
}

#panLoggedIn { display:none; }