/* latin */
@font-face {
	font-family: 'Open Sans Condensed';
	font-style: normal;
	font-weight: 300;
	src: local('Open Sans Condensed Light'), local('OpenSansCondensed-Light'), url(../fonts/OpenSansCondensed-Light.ttf) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --text-color: #FFFFFF;
	--back-color: #1976d2;
    --link: #fff;
    --link-hover: #FFEB3B;
}

*{
	box-sizing: border-box;
}

/* Reset for old browsers (i.e. IE8/9) */
article,
aside,
details,
dialog,
figcaption,
figure,
footer,
header,
main,
menuitem,
meter,
nav,
section,
summary{
	display: block;
}

bdi,
time,
mark,
audio,
canvas,
progress,
video{
	display: inline-block;
}

html{
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* This reset is for iPad and iPhone*/
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="text"],
input[type="password"]
{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
}

h1,
h2,
h3,
h4,
p,
ul,
li {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
	color: var(--link);
	transition: color .3s;
}

a:hover {
	color: var(--link-hover);
}

::selection {
    color: #212121;
    background-color: #FFEB3B;
}

body {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	margin: 0 auto;
	padding: 0;
	min-height: 100%;
	min-width: 320px;
	max-width: 1920px;
	color: var(--text-color);
	background-color: var(--back-color);
	transition: font-size .2s;
}

.bannar-wrapper {
	position: relative;
	height: 30vw;
	min-height: 150px;
	max-height: 400px;
	transition: height .2s;
}

.flex {
	display: flex;
	justify-content: space-between;
}

.note{
	position: absolute;
    padding: 5px 50px 5px 20px;
    top: 25px;
    right: 0;
    background-color: rgba(0,0,0,.5);
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1em;;
    z-index: 1;
}

.note .nvod-logo {
	position: absolute;
    left: -50px;
    top: -3px;
}

header{
	margin: 0;
    width: 100%;
	top: 50%;
    transform: translateY(-50%);
    position: absolute;
	text-shadow: 0px 0px 5px #000,
				0px 0px 10px #000,
				0px 0px 20px #000,
				0px 0px 30px #000,
				0px 0px 40px #000;
	z-index: 1;
	transition: top .2s;
}

.title {
	text-align: center;
	font-weight: bold;
	font-size: 4em;
	letter-spacing: .1em;
	transition: font-size .2s;
}

.slogan {
	text-align: center;
	font-weight: normal;
	font-size: 2.5vw;
    letter-spacing: .1em;
}

.wrapper {
	padding: 20px;
}

main {
	position: relative;
	margin: 30px 10%;
	font-size: 1.3em;
	transition: margin .2s;
}

section {
	margin-top: 40px;
}

.section-title {
	margin-bottom: 20px;
}

.nvod-short-description {
    padding: 30px;
    border-radius: 10px;
	background-color: rgba(0, 0, 0, .25);
}

.nvod-logo-large {
	float: left;
    margin-right: 20px;
}

.enrollment form {
	align-items: flex-start;
}

.enrollment .personal-data {
	flex-basis: 30%;
	transition: flex-basis .2s;
}

.enrollment .courses-data {
	flex-basis: 60%;
}

.enrollment label {
	display: block;
	margin-left: 6px;
}

.enrollment input[type="text"],
.enrollment input[type="email"] {
	margin-bottom: 15px;
    padding: 4px 8px;
	width: 100%;
	height: 2em;
	font-family: inherit;
	font-size: .8em;
	border: none;
	border-radius: 6px;
}

.multi-columns input[type="text"] {
	width: 48%;
}

.enrollment .search-wrapper {
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5)
}

.enrollment .search-found {
    display: inline-block;
	width: 50px;
	padding: 0 5px;
    text-align: center;
    color: #ffeb3b;
    font-weight: bold;
}

.enrollment input.course-search {
	box-sizing: border-box;
	margin: 0;
	width: calc(100% - 54px);
	height: 40px;
	color: #fff;
	background-color: transparent;
}

.enrollment input.course-search::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

.enrollment .courses-list {
	padding: 5px 20px;
	min-height: 490px;
	max-height: 490px;
	font-size: .8em;
	line-height: 1.5;
	border: 2px solid rgba(0, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, .25);
	overflow: auto;
	transition: max-height .2s, min-height .2s;
}

.enrollment .courses-list p {
	margin: 5px 0 15px 0;
    margin-left: 30px;
	text-indent: -30px;
}

.enrollment .courses-list p.hidden {
	display: none;
}

.enrollment .courses-list p label {
	display: inline;
	position: relative;
	margin: 0;
}
.enrollment .courses-list p input {
	position: absolute;
	opacity: 0;
}

.enrollment .courses-list .fake-checkbox {
	display: inline-block;
	position: relative;
	margin: 0;
	width: 1.2em;
	height: 1.2em;
	vertical-align: text-top;
	border: 1px solid rgba(0, 0, 0, .3);
	border-radius: 4px;
	background: rgba(0, 0, 0, .25) no-repeat center center;
	cursor: pointer;
	transition: background .2s, box-shadow .2s;
}

.enrollment .courses-list .fake-checkbox:hover,
.enrollment .courses-list .fake-checkbox:focus {
	background-color: rgba(139, 195, 74, 0.2);
}

.enrollment .courses-list p input:checked+.fake-checkbox {
	border-color: #8BC34A;
	background-color: #8BC34A;
	box-shadow: 0 0 10px 1px #8BC34A;
}

.enrollment .courses-list p span {
	margin-left: .5em;
}

.enrollment .send-enrollment {
	background-color: rgba(0,0,0,.5);
	border: 2px solid rgba(0, 0, 0, 0.3);
	border-top: none;
    border-radius: 0 0 6px 6px;
	padding: 20px;
	overflow: hidden;
}

.enrollment .send-enrollment .form-submit{
	padding: 5px 30px;
	float: right;
    border: 2px solid;
    border-radius: 6px;
    background-color: #8BC34A;
    font-size: 1em;
    font-family: inherit;
	color: #fff;
	cursor: pointer;
	transition: background-color, .2s, box-shadow .2s;
}

.enrollment .send-enrollment .form-submit:hover,
.enrollment .send-enrollment .form-submit:focus{
	background-color: #FF5722;
	box-shadow: 0 0 10px 1px;
}

.training-procedure {
	margin-top: 65px;
}

.steps {
	list-style: none;
	margin-left: 20px;
	counter-reset: list-counter;
}

.steps li {
	position: relative;
	margin: 20px 0;
    padding-left: 65px;
    min-height: 3em;
}

.steps li:before {
	position: absolute;
	left: 0;
	top: -18px;
	font-size: 3em;
	content: counter(list-counter);
	counter-increment: list-counter;
}

.steps .number {
	display: inline-block;
    min-width: 40px;
    font-size: 3em;
    font-weight: bold;
}

.footer {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
	padding: 10px 20px;
	background-color: #212121;
}

.footer .left-column {
	align-self: flex-end;
}

.footer .middle-column {
    margin-left: 50px;
	align-self: flex-end;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
	justify-content: space-between;
	transition: margin-left .2s;
}

.footer .mee-links {
    margin-bottom: 40px;
	font-size: 1.2em;
}

.footer .contacts {
	margin-bottom: 10px;
	font-size: 12pt;
    color: #AAA;
}

.footer .contacts span {
	display: inline-block;
	width: 35px;
}

.footer .contacts a {
	margin-left: 10px;
	color: #AAA;
}

.footer .contacts a:hover {
	color: var(--link-hover);
}

.footer .copyright {
	font-size: 12pt;
	color: #AAA;
	transition: font-size .2s;
}

.footer .right-column {
	align-self: flex-end;
    flex-shrink: 1;
    text-align-last: end;
}

@media (max-width: 1000px){
	.title {
		font-size: 3em;
	}

	.slogan {
		font-size: 2em;
	}

	main {
		margin: 30px 5%;
	}
}

@media (max-width: 850px){
	.title {
		font-size: 2.5em;
	}

	.slogan {
		font-size: 1.5em;
	}

	main {
		margin: 30px 2%;
	}

	.enrollment .personal-data {
		flex-basis: 37%;
	}

	.footer {
		flex-direction: column;
	}

	.footer .left-column {
		align-self: center;
	}
	
	.footer .middle-column {
		margin-left: 0;
		align-self: center;
		align-items: center;
	}

	.footer .mee-links {
		margin-bottom: 10px;
		text-align: center;
	}

	.footer .copyright {
		text-align: center;
	}
	
	.footer .right-column {
		margin-top: 40px;
		align-self: center;
	}
}

@media (max-width: 650px){
	body {
		font-size: 14px;
	}

	.title {
		font-size: 1.8em;
	}

	.slogan {
		font-size: 1em;
	}

	main {
		margin: 30px 10%;
	}

	.enrollment form {
		align-items: stretch;
		flex-direction: column;
	}

	.enrollment .courses-list {
		min-height: 100px;
		max-height: 300px;
	}
}

@media (max-width: 400px){
	.title {
		font-size: 1.4em;
	}

	.slogan {
		font-size: .8em;
	}

	main {
		margin: 30px 15px;
	}

	.enrollment .send-enrollment .form-submit {
		padding: 5px 10px;
	}

	.footer .copyright {
		font-size: 10pt;
	}
}