video{
	background-color: transparent;
	color: transparent;
}


*{
	margin: 0;
	padding: 0;
}

img{
	border: none;
}

table.video-chat{
	z-index: 999;
	width: 351px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin: -120px 0 0 -160px;
	font: 12px/16px Tahoma, Verdana, sans-serif;
	table-layout: fixed;
	border-collapse: collapse;
}

table.video-chat .tt{
	background: url(./img/video-chat-tt.png);
	width: 351px;
	height: 32px;
}

* html table.video-chat .tt{
	background: none !important;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='_server/video/img/video-chat-tt.png', sizingMethod='crop');
}

table.video-chat .bb{
	background: url(./img/video-chat-bb.png);
	width: 351px;
	height: 32px;
}

* html table.video-chat .bb{
	background: none !important;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='_server/video/img/video-chat-bb.png', sizingMethod='crop');
}

table.video-chat .ml{
	width: 17px;
	background: url(./img/video-chat-ml.png) repeat-y 0 0;
}

* html table.video-chat .ml{
	background: none !important;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='_server/video/img/video-chat-ml.png', sizingMethod='scale');
}

table.video-chat .mr{
	width: 23px;
	background: url(./img/video-chat-mr.png) repeat-y 0 0;
}

* html table.video-chat .mr{
	background: none !important;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='_server/video/img/video-chat-mr.png', sizingMethod='scale');
}

table.video-chat .m{
	width: 311px;
	height: 166px;
	vertical-align: top;
	background: url(./img/video-chat-m.jpg) no-repeat 0 100%;
}

table.video-chat h2{
	font-size: 30px;
	color: #C3502A;
	text-transform: uppercase;
	line-height: 42px;
	text-align: right;
	background: url(./img/video-chat-title-bg.gif) repeat-x 0 100%;
	height: 42px;
	padding-right: 5px;
	margin: 0 !important;
	position: relative;
}

table.video-chat h2 img{
	position: absolute;
	top: -6px;
	left: 11px;
}

table.video-chat table{
	font-size: 100%;
	width: 100%;
}

table.video-chat table td{
	height: 85px;
	vertical-align: middle !important;
	padding: 0 10px 0 115px;
	color: #A2340F;
	background: url(./img/video-chat-camera.png) no-repeat 9px 50%;
}

table.video-chat a{
	color: #A2340F;
}

table.video-chat .buttons{
	text-align: center;
}

.playn_btn{
	height: 34px;
	display: inline-block;
}

.playn_btn a{
	height: 27px;
	display: block;
	float: left;
	width: 70px;
	background: url(./images/playbtn_bg.png) repeat-x;
	padding: 7px 10px 0px 5px;
	text-decoration: none;
	font-weight: bold;
}

.playn_btn .s_left_no_icon{
	height: 34px;
	width: 31px;
	display: block;
	float: left;
	background: url(./images/playbtn_left_no_icon.png) no-repeat;
}

.playn_btn .s_right{
	height: 34px;
	width: 10px;
	display: block;
	float: left;
	background: url(./images/playbtn_right.png) no-repeat;

}











video{
	display: inline-block;
	width: 100%;
	transform: scale(-1, 1); /*For Firefox (& IE) */
	-webkit-transform: scale(-1, 1); /*for Chrome & Opera (& Safari) */
	/*position: relative;
	top: 50%;
	transform: translateY(-50%);*/
}

.call_user_photo video{

}

#screensPositionOrigin{
	text-align: center;
	position: relative;
	background-color: #FFF;
	margin: 0 auto;
	width: 712px;
}

#screensPositionOrigin .bigScreenPlaceholder{
	position: relative;
	height: 534px;
	overflow: hidden;
	margin-bottom: 2px;
	background-color: #FFF;
	background-color: #eee;

}


.hideInterfaceBehindPreloader{
	position: absolute;
	z-index: 11;
	display: none;
	background-color: black;

	height: 100%;
}

.expanded .hideInterfaceBehindPreloader{

	width: 712px;
}


.hideInterfaceBehindPreloader .verticalCenterer{
	width: 100%;
	/*background: grey;*/
}

.hideInterfaceBehindPreloader .verticalCenterer .icon{
	width: 53px;
	height: 53px;
	margin: 0 auto;
	background-image: url("../images/lazy_loader_bl.gif");
	background-position: 0 0;
	background-repeat: no-repeat;
}

.hideInterfaceBehindPreloader .verticalCenterer .text{
	color: white;
	text-align: center;
	font-size: 14px;
	margin: 8px 0 0;
	padding-bottom: 10px;
}





.hideInterfaceBehindPreloader{
	width: 189px;

}







/*Классы для разных высот Экранов*/



/*720*/
#screensPositionOrigin .bigScreenPlaceholder.height_720,
#targetScreen.height_720.expanded,
#myScreen.height_720.expanded{
	height: 400px;
}

.videoChatRow2.height_720 .interface,
.smallScreenPlaceholder.height_720,
#targetScreen.height_720,
#myScreen.height_720{
	height: 106px;
}

.videoChatRow2.height_720 .interface .buttonAction.startCall,
.videoChatRow2.height_720 .interface .buttonAction.сallFinished,
.videoChatRow2.height_720 .interface .buttonAction.finishCall{
	margin-top: 27px;
}

.videoChatRow2.height_720 .interface .buttonAction.sideCaller.startCall{
	margin-top: 34px;
}

.bigScreenHeight_720 #myScreen,
.bigScreenHeight_720 #targetScreen{
	top: 402px;
}



/*800*/
#screensPositionOrigin .bigScreenPlaceholder.height_800,
#targetScreen.height_800.expanded,
#myScreen.height_800.expanded{
	height: 445px;
}

.videoChatRow2.height_800 .interface,
.smallScreenPlaceholder.height_800,
#targetScreen.height_800,
#myScreen.height_800{
	height: 118px;
}

.videoChatRow2.height_800 .interface .buttonAction.startCall,
.videoChatRow2.height_800 .interface .buttonAction.finishCall{
	margin-top: 33px;
}






.videoChatRow2.height_800 .interface .buttonAction.sideCaller.startCall{
	margin-top: 40px;

}

.bigScreenHeight_800 #myScreen,
.bigScreenHeight_800 #targetScreen{
	top: 447px;
}













.bigScreenPlaceholder .callTimer{
	font-family: Arial, sans-serif;
	font-size: 20px;
	color: white;
	text-shadow: 1px 1px 2px black;
	position: absolute;
	right: 11px;
	top: 9px;
	z-index: 10;
}



#screensPositionOrigin .bigScreenPlaceholder.type2{
	background-position: center 176px;
}





#targetScreen,
#myScreen{
	position: absolute;
	z-index: 5;
	overflow: hidden;
	width: 189px;

	top: 536px;
	left: 0;

}


/*
#targetScreen{
	display: none;
}
*/







.stats{
	width: 100px;
	height: 9px;
	text-align: right;
	font-size: 9px;
	line-height: 9px;
	padding: 1px 0;
	position: absolute;
	z-index: 2;

	text-shadow: 0 1px 1px black;
	bottom: 1px;
	right: 2px;
}









#targetScreen.disabledVideoStream,
#myScreen.disabledVideoStream{
	background-color: black;
	background-position: center center;
	background-repeat: no-repeat;
}


#targetScreen.disabledVideoStream video,
#myScreen.disabledVideoStream video{
	display: none;
}

/*.side_receiver #myScreen.disabledVideoStream.initialState2 video{
	display: block;
}*/





.swappedScreen.disabledVideoStream{
	background-image: url("../images/oneOnOneChat_speakerIconSmall.png");
}

#myScreen.disabledVideoStream.disabledAudioStream,
#targetScreen.disabledVideoStream.disabledAudioStream{
	background-image: url("../images/oneOnOneChat_incognitoIcon_Small.png");
}

#targetScreen.expanded.disabledVideoStream.disabledAudioStream,
#myScreen.expanded.disabledVideoStream.disabledAudioStream{
	background-image: none;
}



#targetScreen.expanded.disabledVideoStream.disabledAidioStream{
	background-image: none;
}





.swappedScreen.expanded.disabledVideoStream{
	background-image: none;
}

#myScreen.disabledVideoStream.iconPosition2{
	background-position: center 155px;
}

.expanded.disabledVideoStream.disabledAudioStream,
.expanded.disabledVideoStream
{
	background-image: none;
}





#targetScreen.expanded,
#myScreen.expanded{
	height: 534px;
	width: 712px;
	top: 0;
	left: 0;
}

#targetScreen,
#myScreen{
	height: 141px;
}













.contracted{

}





.videoChatRow2{
	width: 712px;
	margin: 0 auto;

}




.smallScreenPlaceholder{
	height: 141px;
	width: 189px;
	overflow: hidden;
	background-color: #eee;
	margin-right: 2px;
	float: left;
	position: relative;
	background-image: url("../images/icocam.svg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 40px auto;
}




ul.selectedOptions,
ul.controlMenu
{
	position: absolute;
	z-index: 2;
}


ul.myVideoChatOptions{
	bottom: 8px;
	left: 50%;
	display: none;
	margin-left: -91px;

}

ul.myVideoChatOptions.initialState{
	margin-left: -22px;
}

ul.myVideoChatOptions.initialState li.cameraWrapper,
ul.myVideoChatOptions.initialState li.microWrapper{
	display: none;
}








ul.selectedOptions{
	top: 0;
	left: 0;
}

ul.selectedOptions.initialState{
	display: none;
}



ul.otherSideVideoChatOptions{
	bottom: 8px;
	left: 50%;
	display: none;
	margin-left: -45px;
}


ul.controlMenu li,
ul.controlMenu li a{
	width: 45px;
}



ul.selectedOptions li,
ul.selectedOptions li a,

ul.controlMenu li,
ul.controlMenu li a{

	display: block;
	height: 36px;
}

ul.selectedOptions li,
ul.selectedOptions li a{
	width: 36px;
}







ul.controlMenu li,
ul.selectedOptions li{
	float: left;
}

ul.selectedOptions li{
	display: none;
}

ul.controlMenu li a{
	background-color: rgba(0, 0, 0, 0.5);
}

ul.controlMenu li a:hover{
	background-color: rgba(0, 0 ,0, 0.2);
}


ul.controlMenu li a div,
ul.selectedOptions li a div{
	width: 36px;
	height: 36px;
	margin: 0 auto;
}

ul.controlMenu li a.changeMyVideoResilution{
	padding-top: 9px;
	height: 27px;
}

ul.controlMenu li a.changeMyVideoResilution div{
	width: 28px;
	height: 18px;
	background-position: 0 -269px;
}

ul.controlMenu li a.changeMyVideoResilution.res_low div{
	background-position: -29px -269px;
}

ul.controlMenu li a.changeMyVideoResilution.res_medium div{
	background-position: -58px -269px;
}

ul.controlMenu li a.changeMyVideoResilution.res_high div{
	background-position: -87px -269px;
}




/*Настройки ЧАТА*/


#chatSettings{
	opacity: 0;
	width: 206px;
	padding: 12px 15px 12px 15px;
	position: absolute;
	left: 50%;
	margin-left: -119px;
	background-color: rgba(0, 0, 0, 0.6);
	color: white;
	top: 50%;
	height: 64px;
	margin-top: -44px;
	z-index: 11;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	text-align: left;
	font-family: Arial, sans-serif;
	border: 1px solid transparent;
}


#chatSettings.overBlackScreen{
	background-color: rgba(0, 0, 0, 0.9);
	border: 1px solid #E6E6E6;
}

#chatSettings .row{
	margin-top: 17px;
}

#chatSettings .label{
	float: left;
	font-size: 12px;
	margin-top: 6px;
}


#chatSettings .control{
	float: right;
	width: 100px;

}


#chatSettings .inner{
	position: relative;
}


#chatSettings div.piDropdown{
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: 1px solid transparent;

}

#chatSettings.overBlackScreen div.piDropdown{
	border: 1px solid white;

}

#chatSettings div.piDropdown .currentValue{
	border: 1px solid #CFCFCF;
	height: 18px;

	-webkit-border-radius: 3px;
	-webkit-border-top-right-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius: 3px;
	-moz-border-radius-topright: 6px;
	-moz-border-radius-bottomright: 6px;
	border-radius: 3px;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;

}

#chatSettings.overBlackScreen div.piDropdown .currentValue{
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}





#chatSettings .inner div.piDropdown .arrow{
	background-color: black;
	background-image: url(../images/piSelectArrowBg_black_25_48.png);
	-webkit-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomright: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

#chatSettings .inner div.piDropdown .list .inner .one.current{
	background: black;
	color: white;
}

#chatSettings .inner div.piDropdown .list .inner .one{
	background: white;
	color: black;
}

#chatSettings .inner div.piDropdown .currentValue{
	background: white;
	color: black;
}

#chatSettings h2{
	color: white;
	font-size: 14px;
}

#chatSettings .inner a.closeChatSettings{
	background-position: -116px -269px;
	width: 15px;
	height: 15px;
	position: absolute;
	top: -4px;
	right: -8px;
}






ul.controlMenu li a.micro div{
	background-position: -339px -36px;
}

ul.myVideoChatOptions li a.micro{
	-webkit-border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

ul.controlMenu li a.off,
ul.selectedOptions li a{
	background-color: #FC2D61;
}


ul.controlMenu li a.micro.off div,
ul.selectedOptions li a.otherSideMicroMuted div,
ul.selectedOptions li a.micro div{
	background-position: -375px -36px;
}



ul.controlMenu li a.camera div{
	background-position: -339px 0;
}

ul.controlMenu li a.swapScreens div{
	background-position: -411px -0px;
}

.expanded ul.controlMenu li a.swapScreens div{
	background-position: -447px -0px;
}



ul.myVideoChatOptions li a.swapScreens,
ul.otherSideVideoChatOptions li a.swapScreens{
	-webkit-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomright: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}


ul.myVideoChatOptions.initialState li a.swapScreens{
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

ul.mySelectedVideoChatOptions.initialState li a{
	cursor: not-allowed;
}


.connectionState{
	font-size: 15px;
}



ul.controlMenu li a.camera.off div,
ul.selectedOptions li a.camera div,
ul.selectedOptions li a.otherSideVideoMuted div{
	background-position: -375px 0;
}


ul.otherSideVideoChatOptions li a.speaker{
	-webkit-border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;

}

ul.controlMenu li a.speaker div{
	background-position: -339px -72px;
}

ul.controlMenu li a.speaker.off div,
ul.selectedOptions li a.speaker div,
ul.selectedOptions li a.otherSideBlokedYourVoice div{
	background-position: -375px -72px;
}


ul.selectedOptions li a.otherSideOptions{
	cursor: not-allowed;
}


















.interface{
	height: 141px;
	width: 521px;
	background-color: #ddd;
	float: left;
}




.interface .buttonAction{
	height: 35px;
	float: left;
	color: #ffffff;

	-webkit-border-radius: 26px;
	-moz-border-radius: 26px;
	border-radius: 26px;

	text-decoration: none;
	text-align: center;
	padding: 17px 0 0;

	display: none;
}

.interface .buttonAction.startCall
{
	width: 220px;
	margin: 44px 15px 0 0;
	font-size: 15px;
	font-weight: bold;
	padding-top: 12px;
	height: 40px;
	line-height: 14px;
	display: none;


}



.interface .buttonAction.startCall.first{
	margin-left: 33px;
}

.interface .buttonAction.sideCaller.startCall{
	width: 159px;
	font-size: 12px;
	line-height: 11px;
	margin: 51px 10px 0 0;
	padding-top: 8px;
	height: 30px;
}




.interface .buttonAction.sideCaller.startCall.first{
	margin-left: 12px;
}


.interface .buttonAction.startCall.paddingTop2{

}



.interface .buttonAction.finishCall{
	width: 200px;
	margin: 44px 0 0 0;
	font-size: 20px;
}



.interface .buttonAction.finishCall.first{
	margin-left: 160px;
}




/*
.interface .buttonAction.sideReceiver{
	width: 148px;
	font-size: 13px;
	margin: 46px 15px 0 0;
	font-weight: bold;
	padding-top: 17px;
	height: 33px;

*/












.buttonAction.startCall{
	background-color: #98c700;

}


.interface .buttonAction.startCall:hover{
	background-color: #a4d700;
}

.buttonAction.startCall.inactive{
	background-color: #ABABAB;
	cursor: not-allowed;
}

.buttonAction.startCall.inactive:hover{
	background-color: #ABABAB;
}


.buttonAction.finishCall{
	background-color: #FC2D61;
}

.buttonAction.сallFinished{
	background-color: #ABABAB;
	font-size: 20px;
	width: 240px;
	margin: 44px 0 0 135px;
}




.interface .buttonAction.finishCall:hover{
	background-color: #fc3e6a;
}





#block_make_call, #block_end_call, #block_disabled_call, #perform_action_videochat {
	position: absolute;
	top: 39px;
	left: 158px;
}


.videochat_action input {
	transition: all .2s;
	background-color: #98c700;
	width: 204px;
	height: 63px;
	border-radius: 31px;
	font-size: 20px;
	color: #fff;
	padding: 0 0 2px;
}

#youAreIncognitoMessage{
	opacity: 0;
	position: absolute;
	z-index: 10;

	background-color: rgba(0, 0, 0, 0.5);
	font-size: 14px;
	color: #ffd200;
	padding: 21px 0 23px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	left: 50%;
	top: 32px;
	text-align: center;
	width: 538px;
	margin-left: -268px;



}


.browser_Firefox #youAreIncognitoMessage{
	width: 548px;
	margin-left: -274px;
}




.disabledVideoStream .stats{
	display: none;

}





#messagePopup{
	display: none;
	position: absolute;
	z-index: 10;
	width: 340px;
	padding: 0 30px;

	margin-left: -200px;

	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	left: 50%;
	top: 50%;
	font-size: 15px;
	color: black;







}

/*
video#my-video{
	display: none;
}
*/





#messagePopup.leftAligned{
	text-align: left;
	margin-left: -263px;
	width: 540px;
}


#messagePopup a{
	color: black;
	font-weight: bold;
	line-height: 25px;
}






#messagePopup #connectionState{
	display: inline-block;
	vertical-align: middle;
	line-height: normal;

}


#messagePopup.myOutcomingCall{

	background-position: 37px 25px;
	background-repeat: no-repeat;
	background-color: #EEEEEE;
	color: black;
	top: 50%;
	height: 118px;
	line-height: 118px;
	width: 350px;
	margin-left: -205px;
	margin-top: -59px;
}





#messagePopup.myOutcomingCall.type1{
	background-image: url("../images/animatedPhoneGray.gif");

}


#messagePopup.myOutcomingCall.type2{
	background-image: url("../images/animatedPhoneBlack.gif");
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
}






#messagePopup.myOutcomingCall.type3{
	background-color: rgba(0, 0, 0, 0);
	background-image: url("../images/animatedPhoneBlack.gif");
	color: white;
	margin-top: 32px;
}



#messagePopup.myOutcomingCall.type4{
	background-image: url("../images/animatedPhoneBlack.gif");
	background-color: rgba(0, 0, 0, 0);
	color: white;
}







#messagePopup.myOutcomingCall #connectionState{
	text-align: left;
	margin-left: 130px;
}


#messagePopup.notification,
#messagePopup.empty,

#messagePopup.error{
	background-image: url("../images/icocam.svg");
	background-position: center 0;
	background-repeat: no-repeat;
	background-size: 130px auto;
}




#messagePopup.notification,
#messagePopup.error{
	padding-top: 112px;


}

#messagePopup.error{
	color: red;
}





#messagePopup.empty{
	height: 83px;
}








#messagePopup.error a{
	color: #6796DD;
	font-size: 16px;
	line-height: 46px;
}




#messagePopup.error2{
	color: red;
	width: 600px;
	margin-left: -330px;
	top: 335px;
}


#messagePopup.noRequiredDevicesNotification.type2{
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	width: 563px;
	padding: 20px 0 23px;
	margin-left: -281px;
	top: 235px;
	font-size: 13px;
 }


#messagePopup.noRequiredDevicesNotification.type3{
	color: white;
	top: 365px;

 }







#messagePopup.reсeiverRedirectedToChatPageNotification{
	width: 505px;
	text-align: left;
	margin-left: 0;
	left: 38px;
	padding: 0;




	padding: 20px 10px 0 151px;
	height: 62px;
	top: 226px;
	margin-top: 0;


}








#messagePopup.reсeiverRedirectedToChatPageNotification.type1{
	background-color: #EEEEEE;

}

#messagePopup.reсeiverRedirectedToChatPageNotification.type2{
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	width: 475px;


}

#messagePopup.reсeiverRedirectedToChatPageNotification.type3{
	/*background-color: rgba(0, 0, 0, 0.5);*/
	background-image: url("../images/oneOnOneChat_speakerIconBig.png");
	background-position: center 0;
	background-repeat: no-repeat;

	color: white;
	width: 475px;


}






#messagePopup.reсeiverRedirectedToChatPageNotification .waitForAnsver{
	font-weight: bold;
	color: #955C00;
}




