/*---=== Common Styles ===---*/

select[disabled]{
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}


/*Image Quality Comparison*/

.vcx-iq-comp{
	position: relative;
	display:flex;
	flex-wrap: wrap;
}

.vcx-iq-comp__overlay{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, .7);
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
	.vcx-iq-comp__overlay {
		background-color: transparent;
		backdrop-filter: blur(5px) brightness(50%);
		-webkit-backdrop-filter: blur(5px) brightness(50%);
	}
 }

#vcx_iq_comp:not(.-inactive) .vcx-iq-comp__overlay{
	display: none;
}

.vcx-iq-comp__overlay-con{
	max-width: 600px;
	color: #fff;
	text-align: center;
}

.vcx-iq-comp__overlay p{
	margin-top: 2em;
	font-size: .8em;
}

.vcx-iq-comp__item{
	width:50%;
	position: relative;
	padding: 1px;
	min-height:200px;
}

.vcx-iq-comp__item.-inactive{
	visibility: hidden;
	display: none;
}


@media screen and (max-width: 575px) {
	
	.vcx-iq-comp__item{
		width:100%;
		position: relative;
	}

}

.vcx-iq-comp__item .vcx-loader:after,
.vcx-iq-comp__item .vcx-loader:before{
	height:4em;
	width: 4em;
}

.vcx-iq-comp__item .vcx-iq-comp__device{
	position: absolute;
	top: 1vh;
    transform: translateX(-50%);
    left: 50%;
	z-index: 2;
}

.vcx-iq-comp__item .vcx-iq-comp__device select{
	padding: .2em .8em;
	color: #fff;
	background-color: #444;
	font-size: .8em;
	box-shadow: 0 0 0.25em 0.1em rgb(0 0 0 / 30%);
	border: 1px solid #777;
	cursor: pointer;
}

.vcx-iq-comp__item-options{
	position: absolute;
	bottom:.5em;
	left: 50%;
	display: flex;
	gap:.5em;
	transform: translateX(-50%);
	z-index: 2;
	width: 100%;
    justify-content: center;
    flex-wrap: wrap-reverse;
	}

.vcx-iq-comp__item-options select,
.vcx-iq-comp__item-options button{
	cursor: pointer;
	width: auto;
	height: 2em;
	padding: 0 .25em;
	color: #fff;
	background-color: #eb912d;
	border: none;
	border-radius: 0;
	font-size:.8em;
}

.vcx-iq-comp__item-options select[disabled]{
	cursor: not-allowed;
	color:#555;
	background-color: #888;
}

.vcx-iq-comp__image{
	cursor: all-scroll;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100%;
}

.vcx-iq-comp__image-con{
	width: 100%;
	height: 45vh;
	overflow: hidden;
	position: relative;
}

.vcx-iq-comp__image-con:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color:#999;
	/*
	background-size: 300%;
	background-position: center center;
	background-image: url("/vcx/v2020/frontend/images/vcx_preview.jpg");
	*/
	opacity: .4;
}



.vcx-iq-comp__image-con ul:before{
	content: "\f4a5"; /*Font Awesome 5 message-exclamation*/
	display:block;
	font-family: "Font Awesome\ 5 Pro";
	font-weight: 700;
	text-align: center;
	font-size: 3em;
	margin: .25em;
}

.vcx-iq-comp__image-con ul{
    list-style: none;
    max-width: 30em;
    padding: 1em 2em;
    font-size: .7em;
}
.vcx-iq-comp__image-con ul li{
	font-weight:600;
}

/* wraps the zoom image for each selected camera */

#vcx_iq_comp_preview {
	position: sticky;
	margin: 0 auto;
	width: 10em;
	bottom: 4em;
   z-index: 2;
}

#vcx_iq_comp.-inactive #vcx_iq_comp_preview{
	visibility: hidden;
}

#vcx_iq_comp_preview_image {
	position: relative;
	width: 100% !important;
	height: auto !important;    
	opacity: .6 !important;
	cursor: pointer;
	touch-action: none;
	user-drag: none;
	user-select: none;
	-webkit-user-drag: none;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

/* selector box that can be dragged on the preview image  */
#vcx_iq_comp_preview_selector {
   cursor: pointer;
   height: 2em;
   width: 3em;
   position: absolute;
   top: 50%;
   left: 50%;
   user-select: none;
   transform: translate(-50%, -50%);
   background-color:#eb912d;
}



/*--- Loader ---*/

.vcx-loader{
	position: absolute;
	top: 0;
	left: 0;
	height:100%;
	width:100%;
	display: flex;
	justify-content: center;
	align-items: center;
	display: none;
}

*.-loading .vcx-loader{
	display: flex;
	z-index: 2;
}

.vcx-loader:before,
.vcx-loader:after{
	content: "";
	position: absolute;    
	height: 2em;
	width: 2em;
	background-repeat: no-repeat;
}

.vcx-loader:before{
	background-image: url(/vcx/phonecam-2025/frontend/images/loading_circle.svg);
	filter: invert(80%);
}

.vcx-loader:after{
	background-image: url(/vcx/phonecam-2025/frontend/images/loading_third.svg);
	filter: invert(100%) brightness(50%);
	animation: loaderRotate 1s cubic-bezier(0.1, 0, 0.9, 1) 0s infinite normal forwards;
}

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

/*--- Rating Visual (stars) ---*/

.vcx-rating-visual{
   position: relative;
   display: inline-block;
   font-size: .8em;
}

@media screen and (max-width: 575px) {
   
	.vcx-comparison__table .vcx-rating-visual{
		font-size:.5em;	
	}

}

.vcx-rating-visual__icons{
   display:flex;
}

.vcx-rating-visual__icon{
   position: relative;
   font-style: normal;
}

.vcx-rating-visual__icon:before{
   content: "\f005";
   font-family: "Font Awesome\ 5 Pro";
   font-weight: 100;
   color: inherit;
}

.vcx-rating-visual--animated .vcx-rating-visual__icon:after{
   opacity: 0;

   animation-fill-mode: forwards;
   animation-name: shrink-in;
   animation-duration:.5s;
}

.vcx-rating-visual--animated .vcx-rating-visual__icon:nth-child(1):after{
   animation-delay:.5s;
}
.vcx-rating-visual--animated .vcx-rating-visual__icon:nth-child(2):after{
   animation-delay:.6s;
}
.vcx-rating-visual--animated .vcx-rating-visual__icon:nth-child(3):after{
   animation-delay:.7s;
}
.vcx-rating-visual--animated .vcx-rating-visual__icon:nth-child(4):after{
   animation-delay:.8s;
}
.vcx-rating-visual--animated .vcx-rating-visual__icon:nth-child(5):after{
   animation-delay:.9s;
}

.vcx-rating-visual__icon:after{
   position: absolute;
   font-family: "Font Awesome\ 5 Pro";
   font-weight: 700;
   left:0;
}

.vcx-rating-visual__icon--half:after{
   content: "\f089";
}

.vcx-rating-visual__icon--full:after{
   content: "\f005";
}

@keyframes shrink-in {
   0%{
     opacity: 0;
     transform: scale(10);
   }
   100% {
     opacity: 1;
     transform: scale(1);
   }
 }


 .vcx-rating-visual__vcx-version{
   display: block;
   font-weight: 400;
   font-size: 1.25rem;
   text-align: right;
}
