.no-mediaqueries .box { color: red; }
.mediaqueries .box { color: green; }

small {
    font-size: 90% !important;
    white-space: pre-wrap !important;
    line-height: 1.4em !important;
    display: block;
    width:90%;
    padding-bottom: 13px;
    padding-left:15px;
}

.fixed-bottom img {
    display: none !important;
}

.sticky-top span {
    display: inline-block;
    padding-top: 5px;
}

.fixed-bottom {
    background: #fff !important;
    padding-left: 5px !important;
}

video {
    object-fit:fill;
}

.btn-group-fab {
    position: fixed;
    width: 50px;
    height: auto;
    right: 20px; bottom: 20px;
    z-index: 9999;
}
.btn-group-fab div {
    position: relative; width: 100%;
    height: auto;
}
.btn-group-fab .btn {
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    display: block;
    margin-bottom: 4px;
    width: 40px; height: 40px;
    margin: 4px auto;
    background: #7d8f97;
    border-color: #7d8f97;
}
.btn-group-fab .btn-main {
    width: 50px; height: 50px;
    right: 50%; margin-right: -25px;
    z-index: 9;
}

#video-container{
    position: relative;  
}

#download-photo {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    object-fit:contain;
}

#webcam, #canvas {
    position: absolute;
    top: 0;
    left: 0;
}

body i.fa-spinner {
    display: none;
}

#video-container {
    overflow: hidden !important; 
}

body {overflow-y: hidden;}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.6);
    overflow-x: hidden;
    /*  transition: 0.5s;*/
    display: flex;
    align-items: stretch;
}

.overlay-content {
  position: relative;
    background: #fff;
     width: 100%;
    margin: 20px;
    border-radius: 2px;
}



.overlay .closebtn {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 34px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    height: 35px;
    width: 35px;
    z-index: 9999;
    line-height: 30px;
    text-align: center;
}

.overlay a {text-decoration: none;}

.box {
  box-shadow: 0 3px 3px rgba(0,0,0,0.4);
}

#immagine {
    max-width: 50%;
    text-align: center;
    margin: 20px;
    display: inline-block;
    float: left;
}

#title {
    margin:20px 10px 20px;
}


.overlay-content {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: contain;
    overflow: hidden;
}
.overlay-content > header {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px;
    background: inherit;
    background-attachment: fixed;
}

.overlay-content > header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100%;
    background: inherit;
    background-attachment: fixed;
    -webkit-filter: blur(12px);
    filter: blur(12px);
    transform: scale(1.5) translateY(30px);
    overflow: auto;
}

.overlay-content #title, .overlay-content #description {
    color: white;
    position: relative;
    z-index: 1;
}

.overlay-content #description {
    max-height: 200px;
    line-height: 16px;
}

#myCanvas {
    display: none;
}




