html {
	height: 100%;
}

body {
	background-image: url(../img/bg_app.jpg);
	background-repeat: repeat-y;
	background-position: center;
	background-size: cover;
	background-attachment: fixed
}

.navbar {
	padding: 0px 10px;
}

#navbarSupportedContent {
    background-color: #fff9;
    padding: 5px;
}

.notif {
    width: 100%;
    max-height: 50px;
    overflow-y: auto;
}

.bg-light {
	background-color: rgba(255, 255, 255, 0.7) !important;
}

img.img-fluid.mx-auto.d-block {
    max-height: 100%;
    left: 0;
    right: 0;
}

#webcam:fullscreen{
	background-color: #304060;
}

.logo_webcam {
    position: absolute;
    box-shadow: 0px 0px 20px #fff;
    border-radius: 5px;
    z-index: 1;
    margin: 11px;
    filter: invert(100%) blur(0.3px) opacity(80%);
    width: 50px;
    height: 50px;
	bottom: 0;
	right: 0;    
}

.glass {
	background-color: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;	
}

.snapshot_container {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 500px;
	height: 425px;
	border: 10px solid #fff;
	background-color: #fff;
}

.snapshot {
	width: 500px;
}

textarea.message {
	position: absolute;
	bottom: 0;
	left: 0;
}

img.close {
	position: absolute;
	top: -10px;
	right: -10px;
	cursor: pointer;
	z-index: 1;
}

img.share {
	cursor: pointer;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 75px;
	height: 27px;
}

.uploading {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0.5);
	z-index: 1;
}

/*************resize_msg*****************/

.resize_msg{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	
	/* background-color: #3ab5b9; */
	background: rgb(71,151,228);
	background: -moz-linear-gradient(300deg, rgba(71,151,228,1) 0%, rgba(47,166,190,1) 50%, rgba(69,214,227,1) 100%);
	background: -webkit-linear-gradient(300deg, rgba(71,151,228,1) 0%, rgba(47,166,190,1) 50%, rgba(69,214,227,1) 100%);
	background: linear-gradient(300deg, rgba(71,151,228,1) 0%, rgba(47,166,190,1) 50%, rgba(69,214,227,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4797e4",endColorstr="#45d6e3",GradientType=1); 
	
	z-index: 10000;
	
/* 	background-image: url(../img/bg_app.jpg);
	background-blend-mode: difference;
	background-size: cover;	 */
	
	-webkit-transition: all 0.7s ease-out;
	-moz-transition: all 0.7s ease-out;
	-o-transition: all 0.7s ease-out;
	transition: all 0.7s ease-out;
}

.fishtank {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.twist_out {
	background-image: url(../img/ruota.png);
	background-repeat: no-repeat;
	background-position: center;	
	height: 180px;
}

.twist {
	font-size: 175px;
	height: 190px;
	-webkit-animation: rotate-90-br-cw 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s both;
	        animation: rotate-90-br-cw 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s both;
	        
}

/**
 * ----------------------------------------
 * animation rotate-90-br-cw
 * ----------------------------------------
 */
@-webkit-keyframes rotate-90-br-cw {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
    -webkit-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
  }
  100% {
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
    -webkit-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
  }
}
@keyframes rotate-90-br-cw {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
    -webkit-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
  }
  100% {
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
    -webkit-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
  }
}


/*****************************/

.video_bg{
	min-height: 100%;
	min-width: 100%;
	opacity: 0.3;
}

.container_notif, .container_notif .notif {
    color: #fff;
}

.controls {
    position: absolute;
    z-index: 0;
    right: 0;
    line-height: 30px;
    text-shadow: 0px 0px 20px #fff;
    padding: 20px;
    cursor: pointer;
    
    width: 100%;
    height: 100%;
    
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

.top_left_screen{
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;	
}

.top_right_screen{
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;	
}

.bottom_left_screen{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;	
}

.bottom_right_screen{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;	
}

.container_notif {
    position: static;
    /* left: 50%;
    transform: translateX(-50%);
    z-index: 1; */
}

.fa-times-circle-o{
	position: absolute;
	margin: 5px;
	top: 10px;
	right: 010px;
	z-index: 1;
	
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

.fa-video-camera{
    position: absolute;
    margin: 5px;
	bottom: 50%;
	left: 50%;
	transform: translate(-50%,50%);
}

.fa-sliders{
    position: absolute;
    margin: 5px;
	bottom: 50%;
	left: 50%;
	transform: translate(-50%,50%);
}

.fa-gamepad{
    position: absolute;
    margin: 5px;
	bottom: 50%;
	left: 50%;
	transform: translate(-50%,50%);
}

.fa-area-chart{
    position: absolute;
    margin: 5px;
	bottom: 50%;
	left: 50%;
	transform: translate(-50%,50%);
}

.fa-times-circle-o:HOVER, .top_left_screen:HOVER, .top_right_screen:HOVER, .bottom_left_screen:HOVER, .bottom_right_screen:HOVER {
    color: #fff;
    text-shadow: 0px 0px 15px #fff;
}

.container_video{
	display: none;
	opacity: 0;
	cursor: default;
	
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

.container_sliders{
	display: none;
	opacity: 0;
	cursor: default;
	
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

.container_gamepad{
	display: none;
	opacity: 0;
	background-color: #fff9;
	cursor: default;
	
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;	
}

.container_chart{
	display: none;
	opacity: 0;
	cursor: default;
	
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

.container_camera_position{
	background-color: #fff9;
}

.full_screen #frames {
    position: relative !important;
}

.full_screen #frames img{
     height: 100%;
}

.full_screen #screen_bg{
    height: 100%;
}

.container_sliders, .container_video, .container_gamepad, .container_chart{
    height: 100%;
    max-width: 100%;
    background-color: #ffffff7d;
    border-radius: 5px;
}

/* Ripple effect */
.ripple {
  	background-position: center;
  	transition: background 0.8s;
  	border-radius: 10px;
	max-width: 175px;
}

.ripple:hover {
  	background: #47a7f5 radial-gradient(circle, transparent 1%, #47a7f5 1%) center/15000%;
}

.ripple:active {
  	background-color: #6eb9f7;
  	background-size: 100%;
  	transition: background 0s;
}

/*********/
.btns {
	
}

.circles-decimals {
	font-size: .4em;
}

.card {
	background-color: rgba(255, 255, 255, 0.7);
	min-height: 235px;
}
/*************************Checkbox************************************/

/* Checkbox body */
.the-amazing-toggle label {
	display: block;
	width: 54px;
	height: 32px;
	margin: 0px auto;
	border-radius: 100px;
	transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	background-color: #E6E9EC;
	cursor: pointer;
}

.the-amazing-toggle input {
	display: none;
}

/* The toggle */
.the-amazing-toggle i {
	height: 28px;
	width: 28px;
	background: #ffffff;
	display: inline-block;
	border-radius: 100px;
	margin-top: 2px;
	margin-left: 2px;
	transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	pointer-events: none;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
	background-repeat: no-repeat;
	background-position: center;
}

.lumen i {
	background-image: url(../img/light-bulb-off.png);
}

.lumen input:checked+label>i {
	background-image: url(../img/light-bulb-on.png);
}

.flumen i {
	background-image: url(../img/water-off.png);
}

.flumen input:checked+label>i {
	background-image: url(../img/water-on.png);
}

.aquae i {
	background-image: url(../img/raindrops-off.png);
}

.aquae input:checked+label>i {
	background-image: url(../img/raindrops-on.png);
}

.video i {
	background-image: url(../img/visibility-off.png);
}

.video input:checked+label>i {
	background-image: url(../img/visibility-on.png);
}

.the-amazing-toggle label:hover>i {
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.20);
	transform: scale(1.01);
}

.the-amazing-toggle input:checked+label>i {
	margin-left: 24px;
}

.the-amazing-toggle label:active {
	background-color: #A6B9CB;
}

.the-amazing-toggle label:active>i {
	width: 34px;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.20);
}

.the-amazing-toggle input:checked+label:active>i {
	margin-left: 18px;
}

.the-amazing-toggle input:checked+label {
	background-color: #008FFF;
}

/********************/

/**********carousel************/
.scene {
	box-sizing: border-box;
}

.touch {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
}

.button {
	
}

.scene {
	border: 1px solid #CCC;
	margin: 40px 0;
	position: relative;
	max-width: 245px;
	height: 140px;
	margin: 40px auto;
	perspective: 1000px;
}

.carousel {
	width: 100%;
	height: 100%;
	position: absolute;
	transform-style: preserve-3d;
	transition: transform 1s;
}

.carousel__cell {
	position: absolute;
	width: 190px;
	height: 120px;
	left: 10px;
	top: 10px;
	border: 2px solid black;
	line-height: 116px;
	font-size: 80px;
	font-weight: bold;
	color: white;
	text-align: center;
}

.carousel__cell img{
	cursor: pointer;
}

.carousel__cell:nth-child(9n+1) {
	background: hsla(0, 100%, 50%, 0.9);
}

.carousel__cell:nth-child(9n+2) {
	background: hsla(40, 100%, 50%, 0.9);
}

.carousel__cell:nth-child(9n+3) {
	background: hsla(80, 100%, 50%, 0.9);
}

.carousel__cell:nth-child(9n+4) {
	background: hsla(120, 100%, 50%, 0.9);
}

.carousel__cell:nth-child(9n+5) {
	background: hsla(160, 100%, 50%, 0.9);
}

.carousel__cell:nth-child(1) {
	transform: rotateX(0deg) translateZ(143px);
}

.carousel__cell:nth-child(2) {
	transform: rotateX(72deg) translateZ(143px);
}

.carousel__cell:nth-child(3) {
	transform: rotateX(144deg) translateZ(143px);
}

.carousel__cell:nth-child(4) {
	transform: rotateX(216deg) translateZ(143px);
}

.carousel__cell:nth-child(5) {
	transform: rotateX(288deg) translateZ(143px);
}
/***********************/

/*********loading***********/

@keyframes rotate_loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading_screen {
	display: none;
    background-color: #00162266;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;

}

.container_loading {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	overflow: hidden;
	animation-delay: 1s;
	animation: rotate_loading 7s infinite linear;
	
	position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;
    margin: auto;
    bottom: 0;
    right: 0;
}

.item-1 {
	width: 20px;
	height: 20px;
	background: #f583a1;
	border-radius: 50%;
	background-color: rgba(216, 197, 241, 0.5);
	margin: 7px;
	animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
	animation-delay: 200ms;
}
@keyframes scale {
  50%,
    75% {
    transform: scale(0.5);
  }
}
.item-2 {
	width: 20px;
	height: 20px;
	background: #f583a1;
	border-radius: 50%;
	background-color: rgba(157, 168, 231, 0.5);
	margin: 7px;
	animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
	animation-delay: 400ms;
}
@keyframes scale {
  50%,
    75% {
    transform: scale(0.5);
  }
}
.item-3 {
	width: 20px;
	height: 20px;
	background: #f583a1;
	border-radius: 50%;
	background-color: rgba(106, 165, 232, 0.5);
	margin: 7px;
	animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
	animation-delay: 600ms;
}
@keyframes scale {
  50%,
    75% {
    transform: scale(0.5);
  }
}
.item-4 {
	width: 20px;
	height: 20px;
	background: #f583a1;
	border-radius: 50%;
	background-color: rgba(121, 196, 235, 0.5);
	margin: 7px;
	animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
	animation-delay: 800ms;
}
@keyframes scale {
  50%,
    75% {
    transform: scale(0.5);
  }
}
.item-5 {
	width: 20px;
	height: 20px;
	background: #f583a1;
	border-radius: 50%;
	background-color: rgba(144, 209, 237, 0.5);
	margin: 7px;
	animation: scale 2s infinite cubic-bezier(0, 0, 0.49, 1.02);
	animation-delay: 1000ms;
}
@keyframes scale {
  50%,
    75% {
    transform: scale(0.5);
  }
}

/*****************/

@media ( max-width : 575.98px) {
	.logo {
		width: 40px;
		height: 40px;
	}
}

@media ( min-width : 576px) and (max-width: 767.98px) {
	.logo {
		width: 40px;
		height: 40px;
	}
}

@media ( min-width : 768px) and (max-width: 991.98px) {
	.logo {
		width: 75px;
		height: 75px;
	}
}

@media ( min-width : 992px) and (max-width: 1199.98px) {
	.logo {
		width: 75px;
		height: 75px;
	}
}

@media ( min-width : 1200px) {
	.logo {
		width: 75px;
		height: 75px;
	}
	#navbarSupportedContent {
	    background-color: transparent;
	    padding: unset;
	}

}