* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	margin: 0;
	padding: 0;
}
@font-face {
	font-family: 'NeoSansCyr';
	src: url('/fonts/NeoSansCyr-Medium.eot?') format('eot'),
	url('/fonts/NeoSansCyr-Medium.woff') format('woff'),
	url('/fonts/NeoSansCyr-Medium.ttf')  format('truetype'),
	url('/fonts/NeoSansCyr-Medium.svg#NeoSansCyr-Medium') format('svg');
}
a:link {font-family: "NeoSansCyr", Arial; color: #ffd57b; text-decoration: none; cursor: /*url('/img/cursor_pointer.png'),*/ pointer;}
a:visited {font-family: "NeoSansCyr", Arial; color: #ffd57b;}
html {
	text-align: center;
	/*cursor: url('/img/cursor_default.png'), default;*/
}
body {
	background: url('./../background2.jpg');
	background-size: cover;
	background-attachment: fixed;
	display: inline-block;
	max-width: 1000px;
	text-align: center;
	position: relative;
}
hr {
	margin: 10px auto;
	border: 1px solid #ffd57b;
}
textarea {
    outline: none;
	overflow: hidden;
	padding: 4px;
	border-radius: 5px;
	font-family: "NeoSansCyr", Arial;
	width: 300px;
	height: 80px;
	border: none;
	opacity: .4;
	resize: none;
	transition: all 0.3s ease-in-out;
}
textarea:hover {
	opacity: 1;
}
.main-menu, .header {
	position: relative;
	z-index: 3;
}
.page {
	max-width: 1000px;
	background: rgba(0, 0, 0, 0.5);
}
.header {
	padding-top: 10px;
}
.header h1, .header h2 {
	color: #ffd57b;
	font-family: "Measure", Arial;
	text-shadow: 1px 1px 2px #444;
}
.header h1 {
	font-size: 60px;
	margin: 0 0 0.1em;
}
.header h2 {
	font-size: 30px;
	margin: 0;
}
.logo {
	opacity: 0;
	z-index: 1;
	height: 50px;
	padding: 11px 14px 8px;
	position: absolute;
	top: 0px; left: 0px;
	color: #ffd57b;
	font-family: "Measure", Arial;
	transition: background 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.logo img {
	width: 30px;
	vertical-align: middle;
}
.logo span {
	font-size: 18pt;
	vertical-align: middle;
}
.main-menu {
	width: 1000px;
	position: relative;
	z-index: 2;
	margin: 0 auto;
}

.main-menu.scroll {
	margin-left: 50%;
	top: 0;
	left: -500px;
	position: fixed;
}
.main-menu.scroll .wrapper {
	background: rgba(0,0,0,.5);
}
.logo.scroll {
	opacity: 1;
	background: rgba(0,0,0,.5);
}

.main-menu .wrapper {
	display: inline-block;
	transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	border-top: 3px solid rgba(255,176,6,1);
}
.back-menu{
	height: 43px;
}
.menu-link, .menu-link:link, .menu-link:visited {
	display: inline-block;
	position: relative;
	padding: 8px 14px;
	font-family: "Measure", Arial;
	color: #ffd57b;
	text-decoration: none;
	font-size: 18pt;
	transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
	text-shadow: 1px 1px 2px #444;
	border-bottom: 3px solid rgba(255, 176, 6, 0);
	cursor: /*url('/img/cursor_pointer.png'),*/ pointer;
}
.menu-link:hover {
	color: #ffb006;
	border-bottom: 3px solid rgba(255,176,6,1);
	background: rgba(255,213,123,.1);
}

.text, .head, .soob-text, .soob-head {
	font-family: "Opinion Pro", Arial;
	color: #ffd57b;
	text-shadow: 1px 1px 2px #000;
	text-align: left;
	line-height: 1.4;
}
.head, .soob-head {
	font-family: "Measure", Arial;
	font-size: 18pt;
	border-bottom: 3px solid #ffd57b;
	padding: 3px;
	margin: 3px;
	margin-top: 10px;
	color: #ffd57b;
	width: 100%;
	text-align: left;
}
.text, .soob-text {
	padding: 10px 3px;
}
.content {
	margin: 80px auto;
}
.window, .soob {
	width: 90%;
}
.window, .soob, .background-dark {
	/* background: rgba(0,0,0,.3);
	box-shadow: 0 0 10px 5px rgba(0,0,0,.3); */
}
.window {
	margin: 10px auto 30px;
	display: inline-block;
}
.window p {
	margin: 0 10px;
}
.window .text img {
	max-width: 500px;
	display: block;
	margin: 30px auto;
	transition: all 0.5s ease-in-out;
}
.window .text iframe {
	display: block;
	width: 100%;
	margin: 30px auto;
}
.preview-history {
	width: 90%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 50px auto 0;
}
.preview-history div:empty {
	width: 190px;
	height: 0;
}
.history-block {
    cursor: /*url('/img/cursor_pointer.png'),*/ pointer;
	position: relative;
	top: 0px;
	transition: all 0.3s ease-in-out;
}
.history-link {
	display: inline-block;
	width: 150px;
	height: 100px;
	margin: 20px 20px;
}

.status {
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	text-align: center;
	font-family: "Measure", Arial;
	font-size: 18pt;
	transition: display 0.3s ease-in-out;
}
.history-block:hover {
	top: 5px;
}
.history-block.closed .status {color: #e25c5c;}
.history-block.opened .status {color: #6db76d;}

.history-block img {transition: opacity 0.3s ease-in-out;}

.history-block.closed img {opacity: .8;}
.history-block.opened img {opacity: 1;}

.history-block:hover img {opacity: 1;}

.preview-history img {
	width: 150px;
	height: 100px;
}
.soob {
	margin-top: 30px;
	display: inline-block;
	/* background: rgba(0,0,0,.3);
	box-shadow: 0 0 10px 20px rgba(0,0,0,.3); */
}
.footer {
	padding: 10px 0;
	font-family: "Opinion Pro", Arial;
	color: #ffd57b;
	text-shadow: 1px 1px 2px #000;
	font-size: 12pt;
}
.footer hr {
	width: 300px;
	color: #ffd57b;
}
.hide {display: none;}
.left {float:left;}
.right {float: right;}
.clear:after {
	content: '.';
	display: block;
	height: 0;
	visibility: hidden;
	clear: both;
}
.otstup {margin-top: 80px;}
.left, .right {font-family: "NeoSansCyr", Arial;}
.intop {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 80px;
	color: #ffd57b;
	font-family: "NeoSansCyr", Arial;
	font-size: 16pt;
	background: rgba(0,0,0,0.6);
	transition: background 0.3s ease-in-out;
	cursor: /*url('/img/cursor_pointer.png'),*/ pointer;
	padding: 8px 16px;
	/* border-bottom: 0px solid rgba(255,176,6,1); */
}
.intop:hover {
	color: #ffb006;
	border-width: 3px;
}

.music-battom {
	position: absolute !important;
	right: 6px;
	top: 6px;
	color: #ffb006;
	background: rgba(255,213,123,.2);
}
.music-battom:hover {
	background: rgba(255,213,123,.5) !important;
}


@media screen and (max-width: 960px), screen and (orientation: landscape) and (max-height: 800px) and (max-width: 1050px) {
	html, body, .page, .main-menu {
		width: 100%;
	}
	.header h1 {
		font-size: 35px;
		margin: 0 0 0.1em;
	}
	.header h2 {
		font-size: 20px;
		margin: 0;
	}
	.history-block {
		width: 50%;
	}
	.history-block .status {
		display: block;
	}
	.history-link:link {
	    margin: 20px 0px;
	}
	.intop {
		z-index: 1000;
		bottom: 10px;
		right: 10px;
	}
	.intop > span {
		display: none;
	}
	.window .text img {
		width: 90%;
		margin: 15px auto;
	}
	.main-menu.scroll {
		margin-left: 0;
		top: 0;
		left: 0;
		position: fixed;
	}
	.logo.scroll {
		z-index: -100;
		opacity: 0;
	}
}