/* общие стили *************************************************************/
html {
	min-width: 320px;
	width: 100%;
	overflow-y: scroll;
	position: relative;
}

body {
	font-family: 'Montserrat', sans-serif;
	color: #000; 
	background: #FFF;
	font-size: 15px; 
	margin: 0px; 
	font-weight: 400;
}

p	{
	margin-bottom: 1rem;
}

a, .link {
	color: #000;
	text-decoration: underline;
}

a:hover, .link:hover {
	color: #ff0060;
	text-decoration: underline;
}

button, input, textarea, select {
	font-family: 'Montserrat', sans-serif;
	font-size: 1em;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none !important;
}

h1, .h1 {
	font-size: 4em;
	font-weight: 200;
}
h2, .h2 {
	font-size: 3em;
	font-weight: 200;
}
h3, .h3 {
	font-size: 2em;
	font-weight: 200;
}
h4, .h4 {
	font-size: 1.6em;
	font-weight: 300;
}
h5, .h5 {
	font-size: 1.2em;
	font-weight: 300;
}

button, input[type=button], input[type=submit] {
	background-color: #fff;
	color: #000;
	border: 2px solid #000;
	border-radius: 5px;
	height: 3em;
	line-height: calc(3em - 4px);
	padding-left: 2em;
	padding-right: 2em;
	max-width: 100%;
	cursor: pointer;
	transition: all .2s ease;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none !important;
}

input[type=submit] {
	line-height: auto;
}

button:hover, input[type=button]:hover, input[type=submit]:hover {
	/*border: 2px solid #fff;*/
	background-color: #000;
	color: #fff;
}

button.red {
	color: #fff;
	background: #ff0060;
	border-color: #ff0060;
	font-weight: 600;
}

button.red:hover {
	color: #fff;
	background: #dc0053;
	border-color: #dc0053;
}

button[disabled], button:hover[disabled], input[type=button][disabled], input[type=button]:hover[disabled], input[type=submit][disabled], input[type=submit]:hover[disabled] {
	color: #aaa;
	border-color: #ccc;
	background-color: #eee;
	cursor: default;
}

button.small_button {
	height: 2em;
	line-height: calc(2em - 4px);
	padding: 0 1em;
}

input[type=text], input[type=email], input[type=password], textarea, select {
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding-left: .5rem;
	padding-right: .5rem;
	min-width: 50px;
	text-align: left;
	text-decoration: none;
}

input[type=text]:hover, input[type=email]:hover, input[type=password]:hover, textarea:hover, select:hover,
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, textarea:focus, select:focus {
	border: 1px solid #999;
}

input[type=text], input[type=email], input[type=password], select {
	height: 3em;
	line-height: calc(3em - 2px);
}

.loading:after {
	content: "\f110";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	position: absolute;
	right: .5em;
	top: calc(50% - 0.5em);
	/*transform: translateY(-50%);*/
	opacity: 0.35;
	z-index: 2;
	-webkit-animation: rotating 1s linear infinite;
	animation: rotating 1s linear infinite;
}

@keyframes rotating {
	100% {transform: rotate(360deg);}
}	

/* select */

select {
	padding-right: 2em;
	background-color: rgba(255, 255, 255, 1);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23777' fill-rule='evenodd' class='cls-1' d='M8,0L4.141,6.993,0.012,0.156Z'/%3E%3C/svg%3E%0A");
	background-repeat: no-repeat;
	background-position: right 13px center;
	outline: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none !important;
}

select:active {
	
}

.ui-widget * {
	font-family: 'Montserrat', sans-serif;
}

select.low, .ui-widget select {
	height: 1.5em;
	line-height: calc(1.5em - 2px);
	background-position: right 13px center;
}

.field_container {
	position: relative;
}

.field_container .field_name {
	position: absolute;
	top: .3em;
	font-size: 11px;
	width: calc(100% - 1.4em);
	left: .7em;
	z-index: 2;
	color: #999;
}

.field_container input, .field_container select {
	line-height: calc(2.5em - 2px);
	padding-top: 0.75em;
}

.field_container textarea {
	line-height: 1.5em;
	padding-top: 1em;
	min-height: 5.5em;
}

.field_container.error input[type=text], .field_container.error input[type=email], .field_container.error input[type=phone], .field_container.error textarea {
	border-color: #ff0060;
}

.field_container.error .field_name {
	color: #ff0060;
}


/* шапка сайта *************************************************************/
body .top_menu_container {
	height: 150px;
	background-color: rgba(255, 255, 255, 0);
	transition: all .3s ease;
	position: fixed;
	width: 100%;
	z-index: 100;
}

body.scrolled .top_menu_container {
	height: 80px;
	background-color: rgba(240, 240, 240, .9);
}

@media (max-width : 980px) {
	body .top_menu_container, body.scrolled .top_menu_container, body.mainpage.scrolled .top_menu_container {
		height: 70px;
		background-color: rgba(255, 255, 255, .9);
	}
	
	body.mainpage .top_menu_container {
		background-color: rgba(255, 255, 255, 0);
	}
}

body .top_menu_container > div, body .top_menu_container > div > div {
	height: 100%;
}

body .top_menu_container  div.clear {
	height: 0;
}

/*
.top_menu_container .logo {
	width: 80%;
	max-width: 200px;
	height: 54px;
	position: relative;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url(/template/images/leosilver-logo-2019.svg);
}
*/

.top_menu_container .logo {
	width: 85%;
	max-width: 300px;
	height: 50px;
	position: relative;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.top_menu_container .logo svg {
	width: 100%;
	height: auto;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	fill: black;
	transition: .3s all ease;
}

.top_menu_container.scrolled {
	height: 75px;
}

.top_menu {
	display: inline-block;
}

.top_menu > a {
	display: block;
	padding: .5rem 2rem .5rem 0;
	text-decoration: none;
	font-size: 1.1333em;
}

.menu_container {
	width: calc(100% - 200px);
}

.sysmenu_container {
	width: 200px;
}

.mainpage .top_menu > a {
	color: #fff;
}

.mainpage.scrolled .top_menu > a {
	color: #000;
}
	
.top_menu.active > a {
	color: #ff0060;
}

.top_menu:hover .top_menu_inner {
	display: block;
}

.top_menu_inner {
	position: absolute;
	display: none;
	border: 1px solid #ddd;
	transition: all .3s ease;
	background: #fff;
}

.top_menu_inner a {
	padding: .5rem 1rem;
}

.top_menu_inner a.active {
	color: #ff0060;
}

.top_menu_inner a:hover {
	background: #f5f5f5;
}

.icon {
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
	background-color: transparent;
	background-size: contain;
	display: inline-block;
	transition: transform .3s ease;
}

.icon:hover {
	/*transform: scale(1.2);*/
}

.icon svg {
	width: 24px;
	height: 24px;
	transform: .3 all ease;
	fill: #000;
}

.icon:hover svg {
	fill: #ff0060;
}

.mainpage .icon svg {
	fill: #fff;
}

.mainpage.scrolled .icon svg, .mainpage.mobile_menu_is_on .icon svg {
	fill: #000;
}

.breadcrumbs {
	font-size: 11px; 
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.breadcrumbs a {
	margin: .5rem;
}

.breadcrumbs a:first-child {
	margin-left: 0;
}

.header {
	font-size: 35px;
	font-weight: 500;
	/*font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.05em;*/
}

.cookie_alert {
	position: fixed;
	left: 50%;
	bottom: 1rem;
	border-radius: 3rem;
	padding: 1rem;
	background: rgba(0, 0, 0, .7);
	color: white;
	width: calc(100% - 2rem);
	max-width: 1000px;
	transform: translateX(-50%);
	box-shadow: 0 27px 20px -20px rgba(0, 0, 0, .5);
	z-index: 2;
}

.user_menu {
	display: none;
	position: absolute;
	right: -1rem;
	margin-top: .5rem;
	border: 1px solid #ddd;
	background-color: #fff;
	
}

.user_menu a, .user_menu span {
	display: block;
	padding: .5rem 1rem;
}

.user_menu a:hover {
	background: #f5f5f5;
}


/* мобильное меню ***********************************************************/

.mobile_menu_countainer {
	position: fixed;
	top: 0;
	bottom: 0;
	overflow-y: auto;
	padding-top: 70px;
	width: 100%;
	/*max-width: 320px;*/
	right: -100%;
	z-index: 99;
	background-color: rgba(240, 240, 240, 1);
	transition: all .3s ease;
}

.mobile_menu_countainer.mobile_menu_is_on {
	right: 0;
}

/* плюс/минус */

.mobile_menu .open_sub_btn {
	width: 48px;
	height: 48px;
	float: right;
	cursor: pointer;
	position: relative;
}

.mobile_menu > div > .open_sub_btn:before {
	top: 16px;
	right: 24px;
	width: 1px;
	height: 16px;
}

.mobile_menu > div > .open_sub_btn:after {
	top: 24px;
	right: 16px;
	width: 16px;
	height: 1px;
}

.mobile_menu > div > .open_sub_btn:before, .mobile_menu > div > .open_sub_btn:after {
	content: " ";
	position: absolute;
	background-color: #777;
	transition: transform .3s ease;
}

.mobile_menu > div > .open_sub_btn:hover:before, .mobile_menu > div > .open_sub_btn:hover:after {
	background-color: #ff0060;
}

.mobile_menu.opened > div > .open_sub_btn:before {
	transform: rotate(270deg);
}
.mobile_menu.opened > div > .open_sub_btn:after {
	transform: rotate(180deg);
}

/* пункты меню */

.mobile_menu a {
	display: inline-block;
	width: calc(100% - 48px);
	line-height: 48px;
	text-decoration: none;
	padding-left: 1rem;
	padding-right: 1rem;
}

.mobile_menu.long a {
	width: 100%;
}

.mobile_menu .mobile_menu_item {
	transition: all .3s ease;
	box-sizing: border-box;
	width: 100%;
}

.mobile_menu .mobile_menu_item:hover {
	background-color: rgba(255, 255, 255, .5);
}

.mobile_menu.active > div > a {
	color: #ff0060;
}

.mobile_menu > div > .mobile_menu_item {
	max-height: 0;
	overflow-y: hidden;
	transition: all .3s ease;
	border-top: 0px solid rgba(255, 255, 255, 0);
}

.mobile_menu.opened > div > .mobile_menu_item, .mobile_menu_countainer > div > .mobile_menu_item {
	max-height: 48px;
	border-top: 1px solid rgba(255, 255, 255, .5);;
}

.mobile_menu > .mobile_menu a {
	padding-left: calc(1rem + 24px);
	padding-right: 1rem;
}
.mobile_menu > .mobile_menu > .mobile_menu a {
	padding-left: calc(1rem + 48px);
}
.mobile_menu > .mobile_menu > .mobile_menu > .mobile_menu a {
	padding-left: calc(1rem + 72px);
}


/* боковое меню */

.inner_menu_container {
	/*background-color: rgba(240, 240, 240, 1);*/
	border: 0px solid rgba(225, 225, 225, .5);
	/*border-width: 0 1px 1px 1px;*/
}

.inner_menu a {
	display: inline-block;
	width: 100%;
	text-decoration: none;
	padding: 1rem 1rem;
	border-top: 1px solid rgba(225, 225, 225, .5);
}

.inner_menu.long a {
	width: 100%;
}

.inner_menu .inner_menu_item {
	transition: all .3s ease;
	box-sizing: border-box;
	width: 100%;
}

.inner_menu .inner_menu_item:hover {
	background-color: rgba(255, 255, 255, .5);
}

.inner_menu.active > div > a {
	color: #ff0060;
	background-color: rgba(240, 240, 240, .5);
}

.inner_menu > div > .inner_menu_item {
	/*max-height: 0;*/
	overflow-y: hidden;
	transition: all .3s ease;
	border-top: 0px solid rgba(255, 255, 255, 0);
}

.inner_menu.opened > div > .inner_menu_item, .inner_menu_countainer > div > .inner_menu_item {
	/*max-height: 48px;*/
	/*border-top: 1px solid rgba(255, 255, 255, .5);*/
}

.inner_menu > .inner_menu a {
	padding-left: calc(1rem + 24px);
	padding-right: 1rem;
}
.inner_menu > .inner_menu > .inner_menu a {
	padding-left: calc(1rem + 48px);
}
.inner_menu > .inner_menu > .inner_menu > .inner_menu a {
	padding-left: calc(1rem + 72px);
}



/* вход в систему ***********************************************************/

.login_form_container {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 100%;
	transform: translate(-50%, -50%);
	background: white;
	border-radius: 10px;
	max-width: 450px;
	max-height: 100vh;
	overflow-y: auto;
	z-index: 120;
}

#login_response {
	display: none;
}

.drop_shadow {
	box-shadow: 0 15px 20px -5px rgba(74, 89, 111, 0.2);
}

.fixed_black_bg, .popup_container {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background: rgba(226, 224, 222, .8);
	z-index: 119;
}

.error, .red {
	color: #ff0060;
}

.popup_window {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	max-width: 450px;
	transform: translate(-50%, -50%);
	background: white;
	border-radius: 10px;
}
.popup_window button {
	min-width: 100px;
}


/* иконки соцсетей **********************************************************/

.social-login {
	display: block;
	width: 3em;
	height: 3em;
	border-radius: 5px;
	line-height: calc(3em - 2px);
	background: #fff;
	border: 0px solid #ccc;
	text-align: center;
	text-decoration: none;
	margin-left: .25em;
	margin-right: .25em;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	transition: all .1s ease;
}

.social-login:hover {
	background: #f5f5f5;
	box-shadow: 0 6px 6px -2px rgba(0, 0, 0, .2);
}

.social-login .fab {
	font-size: 1.5em;
}

.fb .fab {
	color: #4267b2;
}

.vk .fab {
	color: #4a76a8;
}

.okru .fab {
	color: #ee8208;
}

.yandex .fab {
	color: #ff0000;
}

.mailru .mailru-icon {
	width: 1.5em;
	height: 1.5em;
	display: inline-block;
	vertical-align: middle;
	background-image: url(/template/images/mailru.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.google .google-icon {
	width: 1.5em;
	height: 1.5em;
	display: inline-block;
	vertical-align: middle;
	background-image: url(/template/images/google-favicon.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}


/* Основные блоки верстки *************************************************************/
body .content_container {
	padding-top: 150px;
	min-height: 100vh;
	padding-bottom: 100px;
}

body.mainpage .content_container {
	padding-top: 0;
	min-height: 100vh;
}

body.scrolled .content_container {
	
}

@media (max-width : 980px) {
	body .content_container {
		padding-top: 70px;
	}
}

/* Страницы *************************************************************/

.pages_container {
	text-align: center;
	position: relative;
}

.pages {
	display: inline-block;
	text-decoration: none;
	width: 2.5em;
	line-height: 2.5em;
	text-align: center;
	margin: 0 .25em;
	border-radius: 2.5em;
}

.pages:hover {
	background-color: rgba(240, 240, 240, 1);
	text-decoration: none;
}

.pages.active {
	color: #fff;
	background-color: #ff0060;
}


/* Меню с переключалками ******************************************************************/
.menu_tab_container {
	position: relative;
	border-bottom: 1px solid #ddd;
}

.menu_tab {
	display: inline-block;
	margin-right: 1.5rem;
	cursor: pointer;
	padding: .5rem 0;
	opacity: .5;
	/*font-size: 1.2em;*/
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 3px solid #fff;
}

.menu_tab.active {
	opacity: 1;
	border-bottom-color: #999;
}

.loading_bar {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(240, 240, 240, .5);
	z-index: 1000;
	display: none;
}

.loading_bar .fas {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.highlighted {
	/*background: #eee;*/
	border: 1px solid #dc0053;
	border-radius: 5px;
	color: #dc0053;
}

.highlighted_info {
	background: #ffc;
	/*border: 1px solid #dc0053;*/
	border: 0;
	border-radius: 5px;
	color: #333;
}

/* tables */

table.nice_table td, table.nice_table th, .nice_table .th {
	border-top: 1px solid rgba(0, 0, 0, .1);
}

table.nice_table th, .nice_table .th {
	font-weight: 600;
	background: rgba(0, 0, 0, .05);
}

table.nice_table td, table.nice_table th {
	padding: .5em 1em;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.nice_table .th, .nice_table .tr {
	display: block;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}

table.nice_table tr:hover td, .nice_table .tr:hover {
	background: rgba(0, 0, 0, .025);
}

/* radio */

label {
	display: inline-block;
	cursor: pointer;
	position: relative;
	font-size: 1em;
	padding-left: 2em;
	min-height: 1em;
	vertical-align: baseline;
}

input[type="radio"] {
	display: none;
}

input[type=radio] + label:before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	position: absolute;
	left: 0;
	top: 2px;
	background-image: url(/template/images/admin/radio-checkbox.png);
	background-position: 0 center;
	background-repeat: no-repeat;
	
}

input[type=radio]:checked + label:before {
	background-position: -17px center;
}


/* checkbox */

input[type="checkbox"] {
	display: none;
}

input[type=checkbox] + label:before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	position: absolute;
	left: 0;
	/*top: 50%;
	transform: translateY(-50%);
	*/
	top: .15em;
	background-image: url(/template/images/admin/radio-checkbox.png);
	background-position: -35px center;
	background-repeat: no-repeat;
	
}

input[type=checkbox]:checked + label:before {
	background-position: -53px center;
}