/* CIOCE EDITATI */
.d-none{
	display:none;
}

.cam_set_minimize{
	margin-bottom:-268px;
	margin-left:-165px;
}

.cam_set_500{
	width: 500px !important;
	height: 500px !important;	
}

.cam_set_496{
	width: 496px !important;
	height: 416px !important;	
}

.cam_set_full{
	width: 100vw !important;
	height:  calc(100vh - 60px) !important;
	margin-top:60px;
	border:2px solid black !important;
}

.cam_set_full_modal{
	width: calc(100vw - 4px) !important;
	height:  calc(100vh - 144px) !important;
}

#logo_webcamera{
	position: absolute;
	right: 5px;
	height: 40px;
	bottom: 5px;
}

#webcam-app {
	width: 300px;
	height: 300px;
	background-color: black;
	border: 2px solid #486684;
	position: absolute;
	bottom: 0px;
	left:0px;
	z-index: 99;
	display:none;
}

.webcam-container{
    height: 100%;
    width: 100%;
    background-color: black;
}

.app-panel{
    height: 100%;
    width: 100%;
    text-align: center;
    background-color: black;
}

#webcam{
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    margin: auto;
}

.md-modal{
    width: 296px;
    height: 216px;
    z-index: 2;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

#webcam_canvas{
	background-color: transparent;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 3;
	margin: auto;
	top: 0;
	left: 0;
}

.form-control.webcam-start{
    position: absolute;
    background: black;
    opacity: 0.8;
    border: none;
    color: white;
    text-shadow: 1px 1px #000;
    font-size: 1.2rem;
    width: 85px;
    height: 42px;
    z-index: 3;
    top: 45%;
    left: 0;
    right: 0;
    margin: auto;
}

.form-control.webcam-on {
	top: 3px !important;
	padding: 0px !important;
	margin-left:3px;
	height:32px;
	display:none;
}

.cameraControlsBotton {
	width: 100%;
	z-index: 4;
	background: transparent;
	opacity: 0.7;
	height: 50px;
	line-height: 50px;
	text-align:center;
}

.cameraControlsTop{
	z-index: 4;
	background: transparent;
	opacity: 0.7;
	width: 100%;
	height: 30px;
	text-align: right;
	line-height: 30px;
}

#exit-app{
	float:left;
	margin-left:10px;
}

.cameraControlsTop a{
	margin-left:5px;
	margin-right:5px;
	color: #486684;
	cursor:pointer;
}

.cameraControlsBotton a{
	margin-left:5px;
	margin-right:5px;
	color: #486684;
	cursor:pointer;
}

.cameraControlsBotton a i{
	margin-top:12px;
}

 .cameraFlip {
	width: 45px;
    height: 30px;
	margin-top:-12px;
	cursor:pointer;
}

.flash{ 
	position:fixed; 
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:black;
	z-index: 5;
}
/* FINE CIOCE EDITATI */
.form-switch {
	display: inline-block;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
  
.form-switch i {
	position: relative;
	display: inline-block;
	margin-right: .5rem;
	width: 60px;
	height: 30px;
	background-color: #e6e6e6;
	border-radius: 25px;
	vertical-align: text-bottom;
	transition: all 0.3s linear;
}
  
.form-switch i::before {
	content: "";
	position: absolute;
	left: 0;
	width: 56px;
	height: 25px;
	background-color: #fff;
	border-radius: 15px;
	transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
	transition: all 0.25s linear;
}
  
.form-switch i::after {
	content: "";
	position: absolute;
	left: 0;
	width: 26px;
	height: 26px;
	background-color: #fff;
	border: 1px solid grey;
	border-radius: 15px;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
	transform: translate3d(2px, 2px, 0);
	transition: all 0.2s ease-in-out;
}
  
.form-switch:active i::after {
	width: 60px;
	transform: translate3d(2px, 2px, 0);
}
  
.form-switch:active input:checked + i::after { transform: translate3d(16px, 2px, 0); }

.form-switch input { display: none; }

.form-switch input:checked + i { background-color: #4BD763; }

.form-switch input:checked + i::before { transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0); }

.form-switch input:checked + i::after { transform: translate3d(30px, 2px, 0); }

.form-switch input:disabled + i { background-color: #eeeeee; cursor: not-allowed; }

.form-switch input:disabled + i::after {
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.10);
}

.md-show {
    visibility: visible;
}
  
.md-effect-12 .md-content {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show.md-effect-12 ~ .md-overlay {
    background-color: #e4f0e3;
} 

.md-effect-12 .md-content h3,
.md-effect-12 .md-content {
    background: transparent;
}

.md-show.md-effect-12 .md-content {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}