/* Вебкамера */

#webcam {
	position: fixed;
	left: 50%;
	bottom: -555px;
	margin-left: -235px;
	height: 550px;
	width: 470px;
	border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
	-webkit-border-radius: 4px 4px 0 0;
	box-shadow: 0 0 4px #000;
	-moz-box-shadow: 0 0 4px #000;
	-webkit-box-shadow: 0 0 4px #000;
	border: 1px solid #777;
	background: url("../images/webcam/cam_bg.jpg") repeat-y;
	z-index: 25;
}

	/* Глазок */

	#webcam .eye {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 65px;
		background: url("../images/webcam/cam.png") no-repeat center center;
	}
	
	/* Параметры */
	
	#webcam .settings {
		display: none;
		position: absolute;
		bottom: 28px;
		right: 35px;
		width: 30px;
		height: 28px;
		background:url("../images/webcam/settings.png") no-repeat;
	}
	
	/* Активные параметры */
	
	#webcam .settings:hover {
		background-position: left bottom;
	}
	
	/* Экран */
	
	#webcam .screen {
		margin: 66px auto 22px;
		width: 400px;
		height: 400px;
		line-height: 400px;
		color: #333;
		text-align: center;
		border: 1px solid #444;
		background: #fff;
	}
	
		/* Незаметный текст */
	
		#webcam .screen .faded {
			color: #ccc;
		}
	
	/* Панель кнопок */
	
	#webcam .buttons .panel {
		text-align: center;
	}
	
		/* Кнопки */
	
		#webcam .buttons .panel .common_button, #webcam .buttons .panel .ext_button {
			display: inline-block;
			margin: 0 4px;
			width: 99px;
			height: 38px;
			line-height: 32px;
			color: #fff !important;
			font-size: 16px;
			text-align: center;
			text-decoration: none;
			text-shadow: 1px 1px 1px #000;
			border: none;
			background: url("../images/webcam/buttons.png") no-repeat;
		}
		
		/* Дополнительная кнопка */
		
		#webcam .buttons .panel .ext_button {
			text-shadow: 1px 1px 1px #000;
			background: url("../images/webcam/buttons.png") no-repeat right top;
		}
		
		/* Кнопка фото и выхода */
		
		#webcam .buttons .panel .shoot_button, #webcam .buttons .panel .exit_button {
			display: none;
		}
		
		/* Активные кнопки */
		
		#webcam .buttons .panel .common_button:hover, #webcam .buttons .panel .ext_button:hover {
			background-position: left bottom;
			text-decoration: none !important;
		}
		
		/* Активная дополнительная кнопка */
		
		#webcam .buttons .panel .ext_button:hover {
			background-position: right bottom;
		}
		
		/* Кнопки при нажатии */
		
		#webcam .buttons .panel .common_button:active, #webcam .buttons .panel  .ext_button:active {
			position:relative;
			bottom: -1px;
		}