/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Apr 22, 2024, 8:21:16 AM
    Author     : bhenry
*/

#qr-reader {
    //border-radius: 25%;

}
#qr-reader video {

    border-radius: 25%;
    margin: 0px auto;
}

#qr-reader {
background-color: #000000;
border: none !important;
}

#qr-shaded-region {
    border-color: rgb(0 0 128 / 72%) !important;
border-radius: 25%;
}
button#html5-qrcode-button-camera-stop {
    padding: 12px 14px 12px 14px;
    border-radius: 50px;
    background-color: #d12727;
    font-size: 1.2em;
    color: #f3f3f3;
    text-shadow: 1px 1px 2px #000, -1px -1px 2px #ffffff;
}
button#html5-qrcode-button-camera-permission {
    background-color: deepskyblue !important;
}

button#html5-qrcode-button-camera-start,
button#html5-qrcode-button-camera-permission,
button#lockbutton,
button#closebutton,
button#clear-results {
    padding: 12px 14px 12px 14px;
    border-radius: 50px;
    background-color: #0aad76;
    font-size: 1.2em;
    color: #f3f3f3;
    text-shadow: 1px 1px 2px #000, -1px -1px 2px #ffffff;
}

button#closebutton {
    background-color: #98d798 !important;
    margin: 2rem auto;
}

button#lockbutton {
    margin: auto;
}

button#clear-results {
    background-color: #978585 !important;
    color: #cdcdcb !important;
    font-size: small !important;
    float: right;
}

.result-actions, .qr-capture {
    border: 1px solid #ffffff;
    padding: 0.12rem 0.22rem;
    margin: 0px;
}
.result-actions {
    font-size: 0.75rem;
    font-weight: 700;
    text-align: end;
    color: #0f0f0f;
    background-color: #e6e6fa;
    border-bottom: 3px solid #00f;
}
.qr-actions img {
    padding: 8px 0px 4px 15px;
}
.qr-result {
    font-size: 1.15rem;
    font-weight: 500;
    background-color: #c0c0c0;
    color: #4d4671;
}
#qr-results {
    height: auto;
    overflow-y: auto;
    overflow-x: clip;
    box-shadow: 1px 2px 5px 2px #000000c9;
}
div#qr-results:empty {
    box-shadow: none;
}
#qr-results:hover {
    overflow-y: visible !important;
    position: relative;
}
#qr-results:focus {
    height: 14.2rem;
    overflow-y: scroll;
}
.result-actions a {
    color: #ff0000;
}

.scan-logo {
    display: none;
}
figure.wp-block-image.aligncenter.size-full.is-resized.scan-logo {
    text-align: center;
}
@media only screen and (min-width: 600px) {
    #qr-results {
        width: 80vw;
        width: 80svw;
        margin: auto;
    }

}



.scan-pic {
    box-shadow: 1px 1px 5px 0px #000;
    margin: 0rem 1rem 0.4rem 1rem;
    padding: 0px !important;
    width: 1.2rem;
    height: 1.2rem;
}

.scan-pic:hover {
    transform: scale(15);
}


.result-actions {
    display:none;
}

.qr-result:hover + .result-actions,
.result-actions:hover,
.qr-result:focus + .result-actions,
.result-actions:focus
{
    display: block;
}
/*
 details > summary {
    list-style: "v ";
 }

details[open] > summary {

    list-style: '˄ ';
}
*/
/*   new scanner results panel interface design */
.qr-actions {
    background-color: #f1f1f1;
    box-shadow: inset 1px 1px 5px 1px #000000a6;
    text-align: end;
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0.45rem 1rem;
}
div#qr-results details {
    color: #000;
}
div#qr-results details {
    background-color: #d3d3d3;
}

div#qr-results details:nth-of-type(odd) {
    background-color: #a9a9a9;
}

summary {
    padding: .45rem 1.1rem;
    border: 2px solid green;
    margin: .45rem 1.1rem;
}
.qr-actions a:last-child {
    margin-right: 1rem;
}


#html5-qrcode-button-camera-stop,
#closebutton {

    color: #c30404 !important;

}

#html5-qrcode-button-camera-start,
#lockbutton {
    background-color: #98d798 !important;
    color: #15c734 !important;

}

#qr-reader__header_message {
    padding: 4px 14px !important;
    margin: 5px 7px !important;
    font-size: unset !important;
}
#qr-reader__scan_region > div:nth-child(4)::after {
content: "Press the Reset Scanner Button to Continue";
display: inline-block;
padding: 3rem 1rem;
line-height: 2.2rem;
}


.qr-actions time {
    display: flex;
    line-height: 0.7rem;
    font-size: 0.7rem;
    padding: 0.6rem 0rem 0rem 0.7rem;
}
input[type="checkbox"] {
    height: 1.8rem;
    width: 1.3rem;
}

.flashbody {
  animation: pulse .3s linear 0s 25 alternate;
}

@keyframes pulse {
  0%, 100% {
    background-color: #ff0000;
  }
  75% {
    background-color: #ffff00;
  }
  50% {
    background-color: #00ffff;
  }
  25% {
    background-color: #0000ff;
 }
}




@media all and (display-mode: fullscreen) {
    body {
        background-color: #000000;
        color: hsl(-27 16% 68% / 1);
    }
    #qr-results {
        height: 4.25rem;
        margin-bottom: 0px !important;
        color: #000;
        position: fixed;
        bottom: 0;
        left: 0;
    }

    #qr-capture {
        #color: #000;
    }
    #scan-setting-gear {
        filter: invert(100%);
    }
    .wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
        display: none;
    }
}



/* Make all icon elements have a hand cursor */
div[class*="icon"], span[class*="icon"], img[class*="icon"] {
    cursor: pointer;
}