.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: 4px;
}



.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, #description {
    margin:10px 10px 5px;
}

#title {
    margin-top:30px;
}


.overlay-content {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    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%;*/
    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: 100px;
    line-height: 16px;
    overflow: auto;
}

#myCanvas {
    display: none;
}

#answer {
    display: none;
    position: absolute;
    top: 30%;
    width:100%;
    text-align: center;
}

#answer span {
    margin: 0 auto;
    color: #fff;
    background: #404040;
    padding: 4px;
    border-radius: 2px;
    animation: pulse 2s infinite;
    opacity: 0.9;
    text-transform: capitalize;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
}

/*
#question-answer input[type="text"] {
    width: 80%;
    height: 20px;
    padding-right: 20%;
}

#question-answer input[type="submit"] {
    margin-left: -20%;
    height: 25px;
    width: 20%;
    background: #333;
    color: white;
    border: 0;
    -webkit-appearance: none;
}
*/

#element-dynamic {
    position: absolute;
    font-size: 40px;
    color:#fff;
    top: 20px;
    left: 20px;
    cursor: pointer;
}

.input-container{
    margin-top:40px;
	position:relative;
	margin-bottom:10px;
    min-height: 30px;
}
.input-container label{
	position:absolute;
	top:0px;
	right:0;
	font-size:18px;
	color:#fff;	
	transition: all 0.5s ease-in-out;
}
.input-container input{ 
  border:0;
  border-bottom:1px solid #555;  
  background:transparent;
  padding:10px 0 8px 0;
  font-size:18px;
  color:#fff;
}
.input-container input:focus{ 
 border:none;	
 outline:none;
 border-bottom:1px solid #fff;	
 color: #fff;
 padding:10px 0 8px 0;
}

.input-container input:focus ~ label {
	top:-22px;
	font-size:14px;
	
}

/* Change the white to any color ;) */
.input-container input:-webkit-autofill,
.input-container input:-webkit-autofill:hover, 
.input-container input:-webkit-autofill:focus, 
.input-container input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px #404040 inset !important;
    padding:10px 0 8px 0;
}

.tpd-skin-dark {
    opacity: 1 !important;
}

.btni {
	color:#fff;
	background-color:#404040;
	outline: none;
    border: 0;
    color: #fff;
	padding:10px 20px;
	text-transform:uppercase;
	margin-top:0;
	border-radius:2px;
	cursor:pointer;
	position:relative;
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
	}

	70% {
		transform: scale(1.2);
	}

	100% {
		transform: scale(0.95);
	}
}

html, body, #overlay-content {
  overflow-x: hidden;
  overflow-y: hidden;
}
body {
  position: relative;
}




