body {background: #b5aeaa;}


.ten_frontrow_bg_medium, .ten_frontrow_bg_small {display: none; width: 100%;}

#ten_frontrow_link {display: block; position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 100%; text-decoration: none;}

#ten_frontrow_trailer,
#ten_frontrow_trailer:hover,
#ten_frontrow_mobiletrailer,
#ten_frontrow_mobiletrailer:hover {display: none; position: absolute; z-index: 2; right: 0; top: 0; width: 0; height: 0; opacity: 0; background-image: none;}

#ten_frontrow_secondlink {display: block; position: absolute; z-index: 2; left: 50%; top: 167px; width: 159px; height: 42px; margin-left: 220px; border-radius: 10px; background-color: transparent; box-shadow: 0 0 0 rgb(86,0,255); transition: box-shadow 300ms ease;}
#ten_frontrow_secondlink:hover {box-shadow: 0 0 40px rgb(86,0,255);}

/* Трейлер и распорка */
.trailerb {max-width: 658px; width: 100%; margin: 10px 0 0 0; text-align: center; background: #000f26 url('lightbox_bg.png') no-repeat center top; color: #fff3dc; text-shadow: 1px 1px 1px #000000; font-family: Arial, sans-serif; font-size: 14px; padding: 0; border: 0; display: none; box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.9);}
.selector {display: none;}
.trailer {width: 90%; padding: 64px 30px 25px 30px; min-height: 381px;}

@media only screen and (max-width: 1199px) {
	.ten_topbar {display: none;}
	/* выводим ссылку из-под меню, чтобы гугл не ругался на их близость */
	#ten_frontrow_link {top: 50px; height: calc(100% - 50px);}
	#ten_frontrow_secondlink {display: none;}
	.ten_ears_wrap {margin: -150px auto 0 auto;}
}
@media only screen and (min-width: 820px) and (max-width: 1199px) {
	#ten_frontrow_trailer {left: 320px; bottom: 371px; width: 89px; height: 37px;}
	#ten_frontrow_mobiletrailer {display: none;}
}
@media only screen and (max-width: 819px) {
	/*#ten_frontrow_mobiletrailer {display: block; bottom: 15px;}*/
	.ten_ears_wrap {margin: 0 auto; display: none;}
	#ten_frontrow_trailer {display: none;}
}





/* По-умолчанию футер на сайте с нулевой высотой - здесь мы его включаем */
/* ...и сразу же отключаем, т.к. в этом брендировании он не используется */
div.ten_footer_wrap {display: none; width: 0; height: 0;}
a#ten_footer_link {display: block; width: 100%; height: 100%; margin: 0 auto; text-decoration: none;}
a#ten_footer_link:hover {text-decoration: none;}

@media only screen and (min-width: 820px) {
	div.ten_footer_wrap {background-image: none; background-position: center top; background-repeat: no-repeat;}
}
@media only screen and (min-width: 820px) and (max-width: 1199px) {
	div.ten_footer_wrap {height: 271px; background-size: 1366px auto;}
}
@media only screen and (max-width: 819px) {
	div.ten_footer_wrap {height: auto; background-image: none; background-size: 100%;}
	img.ten_footer_sizer {display: block;}
}



/* Фоновая картинка в шапке */
@media only screen and (max-width: 819px) {
	body {
		background-image: none;
	}
	.ten_frontrow_bg_medium {
		display: block;
		background-image: url('bg_medium_2x.jpg');
		background-position: center top;
		background-repeat: no-repeat;
		background-size: 100%;
	}
}
@media only screen and (min-width: 820px) and (max-width: 1200px) {
	body {
		background-image: url('bg.jpg');
		background-position: center 50px;
		background-repeat: no-repeat;
		background-size: 1380px auto;
	}
}
	@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 820px) and (max-width: 1200px),
	only screen and (min-resolution: 192dpi) and (min-width: 820px) and (max-width: 1200px) {
		body {
			background-image: url('bg_2x.jpg');
			background-size: 1380px auto;
		}
	}
@media only screen and (min-width: 1201px) {
	body {
		background-image: url('bg.jpg');
		background-position: center 50px;
		background-repeat: no-repeat;
		background-size: 2000px auto;
	}
}
	@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 1201px),
	only screen and (min-resolution: 192dpi) and (min-width: 1201px) {
		body {
			background-image: url('bg_2x.jpg');
			background-size: 2000px auto;
		}
	}








/* Рубль тому, кто объяснит смысл этого */
#ad-image-id {position: absolute !important;}
