html, body {
	height: 100%;

	display: flex;
	flex-direction: column;
}

body {
	margin: 0px;
	padding: 0px;
	font-family: 'Yandex Sans Text Regular', 'Courier New';

	background: #000 url('../images/bg.jpg') no-repeat 50% 50% fixed;
	background-size: cover;
}

div.body_panel {
	z-index: -1;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(38,44,91, 0.7);
}

.video_list {
	overflow: auto;
	overflow-y: hidden;
	white-space: nowrap;
	max-width: 100%;
}
.video_list.course {
	white-space: normal;
}


img {
	max-width: 400px;
	height:auto;
	border-style: none;
}

a {
	color: #0000CC;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}
a:visited {
	color: #7878EE;
}

div.vspace20 { height: 20px; }
div.vspace40 { height: 40px; }

div.clear {
	clear: both;
}

.page {
	padding: 10px 10px 10px 20px;
	font-family: 'Yandex Sans Display Light', 'Courier New';
	width: 100%;
	background: #fff;
	font-size: 1.2em;
	box-sizing: border-box;
}

.content {
	min-height: 100vh;
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
}

header {
	margin: 40px 0 0 0;
	padding: 10px;
	height: 4em;
	color: #FFFA06;
}
header h1 {
	font-size: 1.5em;
	padding: 5px 0 5px 0;
	margin: 0;
}

header .border {
	width: 150px;
	border-top: 1px solid #FF060C;
	margin-bottom: 5px;
}
header .logo-text {
	font-size: 1em;
}

menu.main-menu {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
}

menu.main-menu li {
	display: block;
	padding: 10px;
}

menu.main-menu li a {
	font-family: 'Yandex Sans Text Regular';
	font-size: 2em;
	display: block;
	text-decoration: none;
	text-align: center;
	color: #ccc;
}

menu.main-menu li a:hover {
	text-decoration: none;
	animation-name: pulse;
	animation-duration: 1s;
	animation-fill-mode: both;
	color: #fff;
	text-decoration: none;
	background: rgba(71,83,171, 0.4);
}

@media (min-width: 900px) {
	menu.main-menu {
		flex-direction: row;
	}

	menu.main-menu li a {
		flex-grow: 1;
		width: 28vw;
		font-size: 2.5em;
	}
}

.video_page {
	text-align: center;
	font-family: Tahoma, Arial;
	font-size: 12px;
	font-weight: bold;
	color: #777;
}

.video_list .video_item {
	display: inline-block;
	margin: 5px;
	width: 200px;
	text-align: center;
	white-space: normal;
}
.video_list .video_item_title {
	overflow: hidden;
	width: 200px;
	height: 80px;
}
.video_item img {
	width: 150px;
}

.video_title {
	padding-left: 20px;
	font: normal normal 400 18px/normal Tahoma;
}

.video_list_vert {
	overflow: auto;
	overflow-x: hidden;
	height: 100%;
	white-space: nowrap;
	max-height: 1400px;
	width: 260px;
}
.video_list_vert .video_item {
	margin: 5px;
	width: 230px;
	text-align: left;
	white-space: normal;
	border-bottom: 1px solid #ccc;
}

.footer {
	padding: 10px 0 0 0;
	border-top: 1px solid #c5c8d0;
	width: 100%;
	text-align: right;
	background: #fff;
}
.footer p, div {
	margin: 0px;
	padding: 0px;
}
.footer_text {
	font-size: 12px;
	color: #777;
	font-family: Arial;
	padding: 10px;
}
.footer_long_text {
	max-width: 400px;
}
