@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');

* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html {height: 100%;}

* html body {height: 100%;}

body {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    width: 100%;
    height: 100%;
    color: #000;
    line-height: 120%;
    background: #fff;
}
a {
	color: #005596;
	transition: all 0.2s ease 0s;
	text-decoration: none;
}
a:hover {
	color: #009afc;
}
p { padding: 10px 0px; }
img { border: 0 none; }
ul, ol {
	padding: 10px 20px;
}
h1, h2, h3 { padding: 20px 0; line-height: 120%; }
h1 { text-transform: uppercase; font-size: 2em; }
h2 { text-transform: uppercase; font-size: 1.8em; }
h3 { font-size: 1.2em; color: #ff6600; }

hr { padding: 15px 0; margin: 15px; border: 0 none; border-top: 3px solid #eee; height: 0; }

/* Classes */
.center { text-align: center; }
.screen {
	position: relative;
	width: 100%;
	min-height: 100vh;
}
.screen .screen-title {
	position: relative;
	padding: 0 0 30px 0;
}
.block-center {
	position: relative;
	max-width: 1200px;
	margin: auto;
}

header {
	background: #000 url('../img/pic2.jpg') center center no-repeat;
	background-size: cover;
	background-attachment: fixed;
}
header a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0); }
header a:hover { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); }
header::before {
	content: '';
	position: absolute;
	width: 100%;
	min-height: 100vh;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
}
header .block-center {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
}
header .block-center .main {
	font-size: 24px;
	line-height: 120%;
	text-align: center;
	color: #fff;
}
header .block-center .main hr {
	margin: 30px 40%;
	height: 0; 
	border: 0 none;
	border-bottom: 1px solid #fff;
}
nav {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100px;
	z-index: 99;
}
nav .nav-block {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100px;
}
nav img.logo {
	height: 40px;
}
nav ul.menu {
	list-style: none;
	padding: 0;
	margin: 0 30px;
	line-height: 60px;
	text-transform: uppercase;
	font-size: 1.2em;
}
nav ul.menu li {
	display: inline-block;
	padding: 0 15px;
}
nav a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0); }
nav a:hover { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); }

.preim .block-center {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
}
.preim .block-center h2 {
	width: 100%;
}
.preim .block-center .preim-block {
	display: flex;
	justify-content: center;
	align-items: start;
	flex-wrap: wrap;
}
.preim .block-center .preim-item {
	width: 500px;
	min-height: 300px;
	padding: 30px 30px 30px 150px;
	margin: 30px;
	font-size: 14px;
	background-color: rgba(0,0,0,.05);
	background-position: 30px center;
	background-repeat: no-repeat;
	background-size: 200px;
}
.preim-item.trade { background-image: url('../img/icon_trade.svg'); }
.preim-item.math { background-image: url('../img/icon_math.svg'); }
.preim-item.smile { background-image: url('../img/icon_smile.svg'); }
.preim-item.speed { background-image: url('../img/icon_speed.svg'); }

.about {
	background: #000 url('../img/pic1.jpg') center center no-repeat;
	background-size: cover;
	background-attachment: fixed;
	color: #fff;
}
.about a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0); }
.about a:hover { color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); }
.about::before {
	content: '';
	position: absolute;
	width: 100%;
	min-height: 100vh;
	height: 100%;
	background-color: rgba(0,0,0,0.7);
}
.about .block-center {
	display: flex;
	min-height: 100vh;
	justify-content: center;
	align-items: center;
}

.reg .block-center {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
}
.admin .block-center {
	min-height: 60vh;
}

footer {
	position: relative;
	background: #000;
	color: #fff;
}

footer .block-center {
	padding: 30px 0;
	display: flex;
	justify-content: space-around;
	align-items: center;
}
footer .logo img { height: 40px; }
footer .phone { padding-left: 20px; background: transparent url('../img/phone_icon.svg') left center no-repeat; }
footer .rules {
	text-align: center;
	font-size: 12px;
}


.partners-table {
	width: 100%;
	height: 60vh;
	overflow-y: auto;
	border-top: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
	margin: 30px 0 60px 0;
}
.partners-table  .item { margin: 15px 0; padding: 15px 0; border-bottom: 1px dotted #c0c0c0; }
.partners-table  .item.active { background-color: #fff2d6 !important; }
.partners-table  .item.info2 { background-color: #36be18; }
.partners-table  .item.info { background-color: #e1ffdb; }
.partners-table  .item.hide { display: none; }
.partners-table  .item .item-info, .partners-table  .item .item-other {
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	width: 100%;
}
.partners-table  .item .item-info { position: relative; padding-bottom: 15px; }
.partners-table  .item .item-info > div { padding-right: 15px; }
.partners-table  .item .item-info .item-lvl {
	position: absolute;
	right: 0;
	top: 0;
	display: inline-block;
	height: 18px;
	width: 18px;
	margin: 0 15px;
	background: transparent url('../img/icon_star.svg') 0 center repeat-x;
	background-size: 18px;
}
.partners-table  .item .item-other { display: none; font-size: 14px; }
.partners-table  .item .item-other > div {
	padding: 10px 5px;
	min-width: 200px;
}
.partners-table  .item > .item-other > div.verifycation { background-color: #eee; }
.partners-table  .item > .item-other div > span { display: block; font-weight: bold; }

.icon-refresh,
.icon-reset,
.icon-maxlevel,
.icon-users {
	display: inline-block;
	padding: 10px 25px;
	margin: 0 0 0 20px;
	background-position: 0 center;
	background-repeat: no-repeat;
	background-size: 18px;
}
.icon-refresh { background-image: url('../img/icon_refresh.svg'); }
.icon-reset { background-image: url('../img/icon_clear.svg'); }
.icon-maxlevel { background-image: url('../img/icon_star.svg'); }
.icon-users { background-image: url('../img/icon_users.svg'); }

/* Other classes */
.button {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	height: 60px;
	line-height: 60px;
	padding: 0 30px;
	border: 0 none;
	background-color: #ff6600;
	font-size: 18px;
	color: #fff;
}
.button:hover {
	box-shadow: 0 0 15px rgba(0,0,0,.5);
	background-color: #ff7f2a;
	border: 0 none;
	transition: all 0.2s ease 0s;
	color: #fff;
}
.inputbox {
	display: inline-block;
	height: 60px;
	line-height: 60px;
	padding: 0 10px;
	min-width: 300px;
	border: 1px solid #c0c0c0;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
}
span.inputbox {
	background-color: #eee;
}
label { display: inline-block; line-height: 60px; width: 150px; padding: 0 15px; text-align: right; }

.modal {
	position: fixed;
	display: none;
	z-index: 999;
	transition: all 0.2s ease 0s;
}
.modal.active {
	display: block;
}
.modal::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0,0,0,.5);
	z-index: 2;
}
.modal-window {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	display: flex;
	flex-direction: column;
	justify-content: start;
	max-width: 600px;
	width: 100%;
	background-color: #fff;
	text-align: center;
	z-index: 2;
}
.modal-window .modal-title {
	position: relative;
	height: 60px;
	line-height: 60px;
	overflow: hidden;
	padding: 0 60px;
	background-color: #eee;
	font-size: 1.2em;
	font-weight: bold;
}
.modal-window .modal-close {
	position: absolute;
	right: 0;
	top: 0;
	width: 60px;
	height: 60px;
	background: transparent url('../img/icon_close.svg') center center no-repeat;
	text-indent: -9999px;
	overflow: hidden;
}
.modal-window .modal-content {
	min-height: 250px;
	max-height: 350px;
	overflow-y: auto;
	padding: 30px;
}
.modal-window .modal-controls {
	height: 100px;
	line-height: 100px;
	border-top: 1px dotted #c0c0c0;
}
.modal-window .modal-controls .button {
	height: 45px;
	line-height: 45px;
}


@media screen and (max-width: 1200px) {
	.block-center {
		padding-left: 15px;
		padding-right: 15px;
	}
	nav ul.menu { font-size: .8em; }
}
@media screen and (max-width: 920px) {
	nav ul.menu { display: none; }
	nav .nav-block { justify-content: center; }
	
	footer .block-center { flex-wrap: wrap; }
	footer .block-center > div { padding: 15px; }
}
@media screen and (max-width: 640px) {
	body { font-size: 14px !important; }
	header .block-center .main { font-size: 18px; }
	.preim .block-center .preim-item { width: 100%; margin: 30px 0; padding: 30px; }
}
