/*  */
@font-face {
    font-family: Georgia;
    src: url(Georgia/georgia.ttf);
}
a {
    text-decoration: none;
    color: black;
}
html, body {
	height: 100%;
}
body {
	display: flex;
	flex-direction: column;
	font-family: Georgia;
}
header {
	background-color: #333333;
	min-height: 40px;
	color: white;
	background: rgba(10,10,10,1);
	background: -moz-linear-gradient(top, rgba(10,10,10,1) 0%, rgba(59,59,59,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(10,10,10,1)), color-stop(100%, rgba(59,59,59,1)));
	background: -webkit-linear-gradient(top, rgba(10,10,10,1) 0%, rgba(59,59,59,1) 100%);
	background: -o-linear-gradient(top, rgba(10,10,10,1) 0%, rgba(59,59,59,1) 100%);
	background: -ms-linear-gradient(top, rgba(10,10,10,1) 0%, rgba(59,59,59,1) 100%);
	background: linear-gradient(to bottom, rgba(10,10,10,1) 0%, rgba(59,59,59,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a0a0a', endColorstr='#3b3b3b', GradientType=0 );
    z-index: 1;
	flex: 0;
}
header.mobile {
	min-height: 150px;
}
footer {
	background-color: #cccccc;
	min-height: 40px;
	flex: 0;
}
.content {
	display: flex;
	flex-direction: column;
    z-index: 0;
	flex: 1;
}
[class*="row-"] {
	min-height: 40px;
}
.contaner {
	margin: 0 auto;
	max-width: 1000px;
	min-height: 20px;
}
.header-row {
	display: flex;
	flex-direction: row;
}
/* End */

/* menu */
.main-menu {
	display: flex;
}
.main-menu>.item-menu {
	background: rgba(10,10,10,1);
	background: -moz-linear-gradient(top, rgba(10,10,10,1) 0%, rgba(59,59,59,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(10,10,10,1)), color-stop(100%, rgba(59,59,59,1)));
	background: -webkit-linear-gradient(top, rgba(10,10,10,1) 0%, rgba(59,59,59,1) 100%);
	background: -o-linear-gradient(top, rgba(10,10,10,1) 0%, rgba(59,59,59,1) 100%);
	background: -ms-linear-gradient(top, rgba(10,10,10,1) 0%, rgba(59,59,59,1) 100%);
	background: linear-gradient(to bottom, rgba(10,10,10,1) 0%, rgba(59,59,59,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a0a0a', endColorstr='#3b3b3b', GradientType=0 );
}
.item-menu {
	position: relative;
	display: flex;
	flex-direction: row;
	background-color: #333333;
	transition: background 2s;
}
.item-menu>.body-item-line {
	position: absolute;
	right: 0px;
	width: 10px;
	height: 100%;
	background-color: #3e3e3e;
	transition: width 0.3s;
}
.item-menu:hover>.body-item-line {
	width: 2px;
}
.item-menu:not(:last-child) {
	border-bottom: 1px solid #3e3e3e;
}
.item-menu:hover, .main-menu>.item-menu:hover {
	background: #000000;
}
.main-menu>.item-menu>a {
	font-size: 22px;
}
.item-menu>a {
	white-space: nowrap;
	cursor: pointer;
	color: #dddddd;
	text-decoration: none;
	padding: 7px 22px 7px 12px;
	font-size: 14px;
}
.item-menu>a:hover {
	color: #ffffff;
}
.item-menu>.body-item {
	top: 0;
	left: 100%;
	margin-top: 0;
	margin-left: -1px;
}
.main-menu>.item-menu>.body-item {
	top: 100%;
	left: 0;
	margin-top: -1px;
	margin-left: 0;
}
.item-menu>.body-item {
	position: absolute;
	display: none;
}
.item-menu:hover>.body-item {
	display: flex;
	flex-direction: column;
}
/* mobile menu*/
.mobile-menu {
	position: relative;
    width: 150px;
	height: 150px;
}
.button-mobile-menu {
	cursor: pointer;
	margin: 19px;
    width: 112px;
	height: 112px;
    background-image: url("../img/menu.png");
    background-position: center center; /* Положение фона */
    background-size: cover;
}
.body-mobile-menu {
	position: absolute;
	display: none;
	flex-direction: column;
	top: 100%;
	left: -19px;
	margin-top: -1px;
}
.button-mobile-menu:active .body-mobile-menu, .button-mobile-menu:hover .body-mobile-menu, .button-mobile-menu:focus .body-mobile-menu{
	display: flex;
}
.body-mobile-menu>a {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 80px;
	white-space: nowrap;
	cursor: pointer;
	color: #dddddd;
	text-decoration: none;
	padding: 20px 60px;
	background-color: #333333;
}
.body-mobile-menu>a:not(:last-child) {
	border-bottom: 1px solid #666666;
}
/* End menu */
/* log */
.log-box {
	display: flex;
    flex-direction: row-reverse;
	display: flex;
    flex: 1;
}
.log-box .button-login,.log-box  .button-logout {
	cursor: pointer;
	opacity: 0.8;
    margin: 9px;
    width: 22px;
	height: 22px;
    background-position: center center; /* Положение фона */
    background-size: cover;
}
.log-box.mobile .button-login,.log-box.mobile .button-logout {
    margin: 19px;
    width: 112px;
	height: 112px;
}
.button-login {
    background-image: url("../img/login.png");
}
.button-logout {
    background-image: url("../img/logout.png");
}
.button-log:hover {
	opacity: 1;
}
.log-box .log-name {
	white-space: nowrap;
	cursor: pointer;
	color: #dddddd;
	padding: 7px 22px 7px 12px;
	font-size: 22px;
}
.log-box.mobile .log-name {
	display: flex;
	justify-content: center;
	align-items: center;
    flex: 1;
	font-size: 60px;
}
.log-name:hover {
	color: #ffffff;
}
/* End log */

/* black-body */
.black-body {
	position: fixed;
	display: none;
    width: 100%;
	height: 100%;
	background-color: #000000cc;
	z-index: 2;
}
.login-box, .Reg-box {
	position: fixed;
	display: none;
	flex-direction: column;
    width: 378px;
	left: 50%;
	top: 20%;
	margin-left: -200px;
	background-color: #ffffff;
	border-radius: 20px;
	padding: 10px;
	z-index: 2;
	border: 1px solid black;
}
.login-box.mobile, .Reg-box.mobile {
    -webkit-transform: scale(1.5);
    -ms-transform: scale(1.5); 
    transform: scale(1.5);
}
.login-box .block-line, .Reg-box .block-line {
	display: flex;
    flex-direction: row;
    margin: 10px 0;
}
.login-box .head-text, .Reg-box .head-text {
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
    font-size: 40px;
    flex: 1;
}
.login-box label, .Reg-box label {
    flex: 1;
	margin-right: 10px;
    text-align: right;
}
.login-box input, .Reg-box input {
    flex: 2;
    margin-right: 50px;
}
.login-box .errors {
	display: flex;
	justify-content: center;
    flex: 1;
}
.login-box .error {
	margin: 0 7px;
	border: 2px solid #797979;
    width: 9px;
	height: 9px;
    background-color: #cccccc;
}
.login-box .error.selected {
    background-color: #000000;
}
.submit-line {
	justify-content: center;
}
.login-box .button-submit, .login-box .button-reg, .Reg-box .button-reg-log, .Reg-box .button-reg-submit {
    font-weight: bold;
    font-size: 25px;
    margin: 0 10px;
    color: #7d7d7d;
	cursor: pointer;
}
.login-box .button-submit:hover, .login-box .button-reg:hover, .Reg-box .button-reg-log:hover, .Reg-box .button-reg-submit:hover {
    color: #000000;
}
/* End black-body*/
/* footer */
.footerText {
	display: flex;
	justify-content: center;
	align-items: center;
    min-height: 40px;
}
/* End footer */