/* FIXES */
input.top_search_field {
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
}
/* FIXES */

/* CUSTOM DESIGN ELEMENTS */

#profile_custom_btn_for_replace,
#profile_custom_btn_for_replace2,
#profile_custom_btn_for_replace3,
.client_balance_custom_wrap {
	display: none;
}

/* CUSTOM DESIGN ELEMENTS */

html, body {
	min-height: 100%;
}
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.popup_box_container.big {
	min-width: 1100px;
}
body {
	background-repeat: repeat;
	background-attachment: fixed;
	margin: 0;
	padding: 0;
}

h1, h2, h3 {
	margin-top: 5px;
	margin-bottom: 8px;
	text-align: center;
}

input, select, textarea, .result_list ul li {
	font-size: 16px;
	color: black;
}

input.selector_input_selected:read-only {
	color: #000;
}

input.big_search_field {
	text-transform: uppercase;
}

.top_header {
	width: 100%;
}

.top_header, .center_page, .footer, .custom-footer {
	padding-left: env(safe-area-inset-left);
	padding-right: env(safe-area-inset-right);
}

.center_page {
	margin: 0 auto;
	min-height: 100%;
	overflow: hidden;
	position: relative;
	flex-grow: 1;
	width: 100%;
}
.header {
	left: 0;
	right: 0;
	bottom: 0;
	top: 48px;
	max-height: 0;
	position: fixed;
	z-index: 9996;
	overflow: hidden;
	-webkit-transition: max-height 500ms ease;
	-moz-transition: max-height 500ms ease;
	-ms-transition: max-height 500ms ease;
	-o-transition: max-height 500ms ease;
	transition: max-height 500ms ease;
}
.header.header_opened {
	max-height: 100%;
	overflow: auto;
}
.top_mobile {
	width: 100%;
	position: fixed;
	height: 48px;
	line-height: 48px;
	font-size: 110%;
	background: #333;
	color: #fff;
	z-index: 9996;
	left: 0;
	right: 0;
	top: 0;
	font-family: 'PfSquareSansProRegular';
}
.logo_laptop {
	display: none;
	color: #fff;
	text-decoration: none;
	margin-bottom: 10px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	overflow: hidden;
	text-align: center;
}
.logo_laptop img {
	max-width: 100%;
	margin-bottom: -4px;
}
.menu_open_btn, .logo_mobile {
	text-align: center;
}
.menu_open_btn {
	width: 48px;
	height: 48px;
}
a.logo_mobile, a.logo_mobile:hover {
	color: #fff;
	position: absolute;
	top: 0;
	font-size: 20px;
	text-decoration: none;
	left: 55px;
	right: 55px;
	height: 45px;
}
.search_open_btn {
	position: absolute;
	width: 48px;
	height: 48px;
	top: 0;
	right: 0;
	color: #fff;
	text-align: center;
}
.search_open_btn .glyphicon {
	line-height: 48px !important;
	top: 0 !important;
}
.search_open_btn.opened .glyphicon {
	display: none;
}
.search_open_btn .close_search {
	line-height: 50px !important;
	display: none;
	font-size: 120%;
}
.search_open_btn.opened .close_search {
	display: block;
}
#top_search_field_wrap {
	position: absolute;
	right: 55px;
	left: 768px;
	top: 0;
	opacity: 0;
	overflow: hidden;
	display: block;
}
#top_search_field_wrap input, .topSearchBtn {
	display: inline-block;
	vertical-align: middle;
}
#top_search_field_wrap input {
	-webkit-border-radius: 15px;
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius: 15px;
	-moz-border-radius-topright: 0;
	-moz-border-radius-bottomright: 0;
	border-radius: 15px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	width: 85%;
	height: 30px;
	line-height: 30px;
	-webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
	outline: none;
	border: none;
	padding-left: 12px;
	padding-right: 12px;
}
.topSearchBtn {
	height: 30px;
	line-height: 30px;
	width: 15%;
	text-align: center;
	-webkit-border-top-right-radius: 15px;
	-webkit-border-bottom-right-radius: 15px;
	-moz-border-radius-topright: 15px;
	-moz-border-radius-bottomright: 15px;
	border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
	background-color: #a9a9a9;
	color: #fff;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75);
	padding: 0;
	border: 0;
}
.topSearchBtn .glyphicon {
	line-height: 30px !important;
	top: 0 !important;
}
@media (min-width: 768px) {
	.logo_laptop {
		display: block;
	}
	.top_mobile {
		display: none;
	}
	.header {
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
		max-height: 10000px;
		height: 100%;
		overflow: visible;
		position: static;
	}
}
.nav {
	margin: 5px;
}
@media (min-width: 768px) {
	.nav {
		width: 175px;
		float: left;
		margin: 15px 0 15px 15px;
	}
}
@media (min-width: 992px) {
	.nav {
		width: 235px;
	}
}
.content {
	padding: 50px 5px 5px;
	margin-top: 0;
	position: relative;
}
@media (min-width: 768px) {
	.content {
		padding: 5px;
		margin-left: 190px;
		padding: 15px;
	}
}
@media (min-width: 992px) {
	.content {
		margin-left: 250px;
	}
}
.content > img, .header img {
	max-width: 100%;
}

ul.all_catalog_brands {
	padding: 0 !important;
}

ul.contacts_text, div.any_contacts_info {
    width: 100%;
	max-width: 610px;
    margin: 0 auto 15px;
}

ul.contacts_text a {
	text-decoration: none;
}

ymaps[id^=ymaps], iframe#google_map, .good_wrap, .autoparts_catalog_filter,
.autoparts_catalog_car_search, .post, .to_catalog_wrap, .to_catalog_modifs_table,
.catalog_to_parts_table, .search_table, .lights_catalog_wrap, .catalogs_list_wrap,
.cur_article_search_results_wrap, .ordercart_table {
	-webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,.2),
				0 1px 1px 0 rgba(0,0,0,.14),
				0 2px 1px -1px rgba(0,0,0,.12);
	-moz-box-shadow: 0 1px 3px 0 rgba(0,0,0,.2),
				0 1px 1px 0 rgba(0,0,0,.14),
				0 2px 1px -1px rgba(0,0,0,.12);
	box-shadow: 0 1px 3px 0 rgba(0,0,0,.2),
				0 1px 1px 0 rgba(0,0,0,.14),
				0 2px 1px -1px rgba(0,0,0,.12);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	overflow: hidden;
}

.cur_mark_logo_wrap {
	width: 70px !important;
	height: 70px !important;
	margin-bottom: 10px !important;
}

/* Главное меню */

#global-nav li, .global-nav li {
	position: relative;
}

#global-nav > li > a, .global-nav > li > a {
	display: block;
}

#global-nav > li#order_cart > a > span, .global-nav > li#order_cart > a > span {
	margin-left: 7px;
}

#global-nav li#login_and_reg_btn a, .global-nav li#login_and_reg_btn a {
	display: inline-block;
	width: 60px;
}

#global-nav li#login_and_reg_btn a#register_btn, .global-nav li#login_and_reg_btn a#register_btn {
	margin-top: -40px;
	margin-left: 61px;
	display: block;
	width: auto;
}

#global-nav li#logo a, .global-nav li#logo a {
	text-align: center;
	font-family: 'PFSquareSansProRegular';
}

#global-nav > li, .global-nav > li {
	padding: 0;
}

#global-nav a, .global-nav a {
	height: 40px;
	line-height: 40px;
	padding-left: 10px;
	padding-right: 10px;
	font-family: 'PFSquareSansProRegular';
	text-decoration: none;
}

#global-nav a .glyphicon, .global-nav a .glyphicon {
	font-size: 80% !important;
	margin-left: 5px;
}

#global-nav li a.active, .global-nav li a.active {
	border-left: 3px solid #C0392B;
}

#global-nav ul, .global-nav ul {
	display: none;
	background: #1a1a1a;
}

#global-nav ul ul, .global-nav ul ul {
	padding-left: 10px;
}

#global-nav ul li:hover > a, .global-nav ul li:hover > a {
    color: #fff;
	background: none;
}

#global-nav li li > a, .global-nav li li > a {
	color: rgba(255, 255, 255, 0.6);
}

#global-nav ul a, .global-nav ul a {
	height: 40px;
	padding-left: 15px;
	padding-right: 15px;
	white-space: nowrap;
	color: white;
	line-height: 40px;
	display: block;
	font-size: 90%;
}

#global-nav ul a:hover, .global-nav ul a:hover {
	opacity: 1;
}

/* Конец главного меню */

/* Футер */

.custom-footer, .footer {
	flex-shrink: 0;
    	width: 100%;
	margin: 0 auto;
	padding-bottom: env(safe-area-inset-bottom);
}

.footer_text_wrap, .platform_logo_wrap, .new_platform_logo_wrap {
	display: inline-block;
	vertical-align: middle;
	padding: 10px;
}

.footer_text_wrap {
	width: 100%;
}

.platform_logo_wrap, .new_platform_logo_wrap {
	width: 100%;
	text-align: center;
}
.platform_logo_wrap a, .new_platform_logo_wrap a {
	width: 102px;
	height: 49px;
	display: inline-block;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
	.footer-content {
		padding: 0 20px;
	}
	.footer_text_wrap {
		width: 500px;
	}
	.platform_logo_wrap, .new_platform_logo_wrap {
		width: auto;
		display: flex;
		justify-content: flex-end;
	}
}

@media (min-width: 992px) {
	.footer_text_wrap {
		width: 700px;
	}
}

.footer-content {
	position: relative;
	margin: 0 auto;
}

/* Футер */

/* Кнопки уточнения бренда */

.brands_choosing_wrap {
	margin-right: -5px;
}

.brands_choosing_wrap a, .brands_choosing_wrap span {
	padding: 7px 10px;
	display: inline-block;
	white-space: nowrap;
	background-color: #fff;
	color: #333;
	font-size: 15px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-decoration: none;
	border: 1px solid #e0e0e0;
	margin-right: 5px;
	margin-bottom: 5px;
}

.brands_choosing_wrap span {
	background: #ddd;
	border-color: #ddd;
}

.brands_choosing_wrap a:hover {
	border-color: #c5c5c5;
}

.brands_choosing_wrap a:active {
	border-color: #a2a2a2;
}

@media (min-width: 768px) {
	.brands_choosing_wrap {
		margin-right: -10px;
	}
	
	.brands_choosing_wrap a, .brands_choosing_wrap span {
		margin-right: 10px;
		margin-bottom: 10px;
	}
}

/* Кнопки уточнения бренда */

ul.info-s li {
	font-size: 13px;
}

ul.info-s li a {
	color: #6699FF;
	margin: 0;
	padding: 0;
	border-width: 0;
	text-decoration: underline;
}

ul.info-s li a:hover {
	text-decoration: none;
	padding: 0;
}

li.info-date {
	color: #BABABA;
	position: relative;
}

li.info-controls {
	margin-left: 15px;
}

/* Новости */

.post {
	position: relative;
	margin: 0 0 20px 0;
	padding: 10px;
	background: #fff;
}

.post .grey_contol_txt_btns_wrap {
	position: absolute;
	top: 10px;
	right: 10px;
}

.page_cont > .grey_contol_txt_btns_wrap {
	position: absolute;
	right: 0;
	top: 0;
}

.main_page_text_wrap .post-header h2,
.main_page_text_wrap #post_content {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

@media (min-width: 768px) {
	.post {
		padding: 15px 15px 10px 15px;
	}
	.post .grey_contol_txt_btns_wrap {
		top: 15px;
		right: 15px;
	}
	a.editing_button {
		top: 15px;
		right: 15px;
	}
	.main_page_text_wrap .posts-wrap {
		margin-right: -15px;
	}
	.main_page_text_wrap .post-outer {
		float: left;
		width: 33.33333333333%;
		padding-right: 15px;
	}
	.main_page_text_wrap .post {
		margin-bottom: 0;
	}
}

.post div.edit_row_all_width_field input, #editing_unit_fields div.edit_row_all_width_field input {
	width: 100%;
}

.post-header h3, .post-header h3 a {
	padding: 0;
	color: #999;
	text-decoration: none;
	font-size: 21px;
	line-height: 20px;
	background: none;
	text-align: left;
	font-weight: 100;
}

.post-header h1, .post-header h2, .post-header h2 a, .post-header h2 a:hover {
	padding: 0;
	margin: 0;
	font-size: 110% !important;
	text-align: left;
	font-family: Verdana;
	line-height: 18px;
	color: #343844;
	font-weight: normal;
}

.post-header {
	position: relative;
	margin-bottom: 20px;
}

.post-body {
	position: relative;
	margin: 20px 0;
}

.post.editing .post-header,
.post.editing .grey_contol_txt_btns_wrap, .post.editing #post_content,
.post.editing ul.info-l {
	display: none;
}

.post.editing .post-body {
	margin: 0;
}

.post-body, .post-body p {
	font-size: 14px;
}

ul.info-l {
	margin-top: 15px;
}

ul.info-l li.info-date {
	font-size: 16px;
	color: #BABABA;
}

/* Новости */

table.edit_rows {
	width: 100%;
}

/*.edit_row_field a, .edit_row_all_width_field a {
	margin: 0 0 10px;
	font-size: 15px;
	text-decoration: underline;
	padding: 0;
	border-bottom-width: 0;
	line-height: 21px;
}

.edit_row_field a:hover, .edit_row_all_width_field a:hover {
	padding: 0;
}*/

.popup_cont .edit_row_label {
	text-align: right;
	width: 123px;
	vertical-align: top;
}

.edit_row_label, .edit_row_all_width_label {
	color: #555;
}

.edit_row_label {
	padding: 6px 8px 6px 0;
	font-size: 70%;
}

.edit_row_all_width_label {
	padding: 7px 0 5px;
	font-size: 12px;
}

.edit_row_field textarea, .edit_row_all_width_field textarea {
	margin-top: 3px;
}

.edit_row_field div.textarea span {
	line-height: inherit;
	font-size: 11px;
}

.edit_row_field div.textarea span a {
	text-decoration: underline;
}

.edit_row_field div.textarea span a:hover {
	text-decoration: none;
}

.edit_row_field span {
	line-height: 24px;
}
.edit_row_field span.fl_r {
	text-decoration: underline;
	color: #69C;
	cursor: pointer;
}
.edit_row_field span.fl_r:hover {
	text-decoration: none;
}

.page_fields_cont div.any_mes {
	font-family: 'PFSquareSansProRegular';
	font-size: 16px;
}

.page_fields_cont {
	max-width: 500px;
	margin: 20px auto 0;
}

.page_fields_cont input, .page_fields_cont textarea {
	font-size: 15px;
	width: 100%;
}

.page_fields_cont input {
	padding: 5px;
}

.popup_cont h3 .flat_btn {
	padding: 8px 12px;
	width: auto;
}

.se_btn .flat_btn {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

table.article_info_box_cont,
table.vin_queries {
	margin: 20px 0;
}

table.article_info_box_cont td,
table.vin_queries td {
	border: 1px solid #ddd;
}

table.vin_queries td.query_id {
	width: 45px;
}

table.vin_queries td.vin, table.vin_queries td.date {
	width: 120px;
}

table.vin_queries td.car_brand {
	width: 180px;
}

table.vin_queries td.new_query_btn {
	width: 200px;
}

h3.order_header {
	letter-spacing: 1px;
}

h3.order_header table {
	width: 100%;
}

h3.order_header table td {
	line-height: 25px;
}

h3.order_header table td.controls {
	width: 390px;
}

.order_wrap .flat_btn {
	margin-bottom: 10px;
	margin-top: 12px;
	padding: 7px 12px;
	font-size: 13px;
	width: auto;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

table.vin_queries {
	width: 100%;
}

div.has_changes_text {
	margin-top: 15px;
	font-size: 13px;
	max-width: 70%;
}

h3.order_header {
	text-align: left;
}

table.vin_queries td {
	padding: 10px;
}

.serach_results_desc, .on_no_news_message {
	font-size: 150%;
	color: #7b7b7b;
	font-family: 'PFSquareSansProRegular';
}

table.vin_queries thead td {
	font-size: 14px;
}

table.vin_queries thead tr {
	color: #000;
	background: #f7f7f7;
}

table.article_info_box_cont td, table.vin_queries tbody td {
	background: #fff;
}

table.article_info_box_cont {
	font-size: 14px;
	width: 100%;
	margin: 10px 0;
}

table.article_info_box_cont td{
	padding: 5px;
}

table.article_info_box_cont td.char_name {
	color: #5f5f5f;
	width: 20%;
}

table.cart {
	width: 100%;
}

table.cart td#cart_articles {
	border-right: 1px solid #FFF;
	padding-right: 15px;
}

table.cart td {
	vertical-align: top;
}

.vin_query_answer_controls {
	width: 498px;
	margin: 0 auto;
}

.vin_query_answer_controls .flat_btn {
	display: inline-block;
	margin: 0 15px 15px;
}

.vin_query_text_container {
	font-size: 16px;
	font-weight: normal;
}

table.cart .edit_row_label {
	width: 110px;
}

#get_info_icon {
	border-radius: 8px;
	padding: 0 4px;
	background: #34495E;
	color: #fff;
	cursor: pointer;
}
table.vin_queries tbody tr {
	cursor: pointer;
}
td.drop_vin_query_btn {
	background-color: #FF8083 !important;
	color: #fff;
	width: 20px;
	cursor: pointer;
}
td.drop_vin_query_btn:hover {
	background-color: #FE4348 !important;
}
td.new_query_btn {
	padding: 0 !important;
}
td.new_query_btn a {
	background-color: rgba(0, 122, 255, 0.6) !important;
	cursor: pointer;
	display: block;
}
td.new_query_btn a:hover {
	background-color: rgba(0, 122, 255, 1) !important;
}
td.new_query_btn a, td.new_query_btn a:hover {
	text-decoration: none;
	border: 0;
	margin: 0;
	color: #fff;
}

.discount_value {
	font-size: 54px;
	height: 54px;
	line-height: 54px;
}

.error_page {
	background-color: #ea6a3d !important;
	text-align: center;
	border: 0;
}

.error_page h1, .error_page a {
	color: #eee;
}
.error_page a {
	text-decoration: none;
	font-size: 15px;
	border-bottom: 1px solid #eee;
	-webkit-transition: all 150ms linear;
	-moz-transition: all 150ms linear;
	-o-transition: all 150ms linear;
	transition: all 150ms linear;
}

.error_page a:hover {
	text-decoration: none;
	border-bottom-color: rgba(0, 0, 0, 0);
}

.change_mail_page h3, .change_mail_page a {
	font-family: 'PFSquareSansProRegular';
	color: #808080 !important;
}

.change_mail_page h3 {
	font-size: 40px;
}

.change_mail_page a {
	font-size: 25px;
	text-decoration: underline;
}

.change_mail_page a:hover {
	text-decoration: none;
}

.new_pass_form {
	width: 450px;
	margin: auto;
}

.new_pass_form td, .new_pass_form td.edit_row_label {
	padding-top: 5px;
	padding-bottom: 5px;
}

.new_pass_form h3 {
	font-size: 24px;
}

.new_pass_form .edit_row {
	width: 442px;
}

.new_pass_form .edit_row_label {
	font-size: 14px;
	padding: 12px 0 5px;
}

.new_pass_form input {
	width: 100%;
	padding: 7px 3px;
}

.new_pass_form .flat_btn {
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
	font-family: 'PFSquareSansProRegular';
	border-radius: 3px;
}

div.auto_catalogs a {
	background-color: rgba(174, 168, 211, 0.8);
}

div.auto_catalogs a:hover {
	background-color: rgba(174, 168, 211, 1);
}

/* СТИЛИ ДЛЯ КЛИЕНТСКОГО КОНТЕНТА */

.page_cont, .post-body {
	line-height: 170%;
	font-size: 13px;
	color: #000;
	word-wrap: break-word;
	font-family: Arial;
	position: relative;
}

.page_cont a, .post-body a {
	text-decoration: underline;
}

.page_cont a:hover, .post-body a:hover {
	text-decoration: none;
}

.page_cont img, .post-body img {
	max-width: 100%;
}

.page_cont ul, .page_cont ol, .post-body ul, .post-body ol, .page_element ul, .page_element ol {
	padding: 0 0 0 18px;
}

/* СТИЛИ ДЛЯ КЛИЕНТСКОГО КОНТЕНТА */

.all_informers_wrap {
	margin: 10px auto 10px;
	text-align: center;
}
.cur_informer_wrap {
	display: inline-block;
	padding-left: 10px;
	padding-right: 10px;
}