
#EAcatalog_container
{
	margin:30px 0px;
}


/* Блок с кнопками выбора типа ТС */

#EA_header_btn_type_box
{
	background: #f2f2f2;
    display: inline-block;
    margin-bottom: 5px;
    border-radius: 7px;
    padding: 2px;
}

.EA_header_btn_type
{
	display: inline-block;
    background: none;
    border-radius: 5px;
    padding: 6px 25px;
    line-height: 1em;
    color: #222;
    cursor: pointer;
	font-size:14px;
}

.EA_header_btn_type:hover
{
    background: #ddd;
}

.EA_header_btn_type.active
{
    background: #fff;
}
.bg_red_active
{
    background: #fdb4b4 !important;
}



/* ............................................................................. */
/* ............................................................................. */
/* ............................................................................. */
/* ............................................................................. */
/* ............................................................................. */



/* Блок с кнопками выбора марки, модели и т.д. */

#EAcatalog_header
{
	margin:0px 0px 30px;
	background:#f2f2f2; 
	border-radius: 7px; 
	padding: 4px;
}
.EAcatalog_header_btn
{
    display: inline-block;
    background: none;
    border-radius: 4px;
    padding: 25px;
    line-height: 1em;
    color: #222;
	cursor:pointer;
	width:24.5%;
	font-size:16px;
	position:relative;
}
.EAcatalog_header_btn span
{
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	margin-right: 30px;
    display: block;
}
.EAcatalog_header_btn:hover
{
    background: #ddd;
}
.EAcatalog_header_btn.active
{
    background: #fff;
}
.EAcatalog_header_btn .fa
{
    position: absolute;
	top: 26px;
    right: 15px;
    color: #777;
    line-height: 1em;
}


@media (max-width: 991px) {
	.EAcatalog_header_btn
	{
		width:49.5%;
		padding: 5px;
	}
	.EAcatalog_header_btn .fa
	{
		display:none;
	}
	.EAcatalog_header_btn span
	{
		white-space: normal;
		margin-right: 0px;
	}
	#EA_list{
		margin-bottom: 30px !important;
        border: 1px solid #eee;
        border-radius: 7px;
        max-height: 150px !important;
	}
}

@media (max-width: 500px) {
	.EAcatalog_header_btn
	{
		width:100%;
	}
	.EAcatalog_tab_element div{
		background:none !important;
		padding:5px!important;
	}
	#EAcatalog_content_categories .EAcatalog_tab_element div{
		min-height: 60px;
	}
	.EAcatalog_tab_element div span{
		position:static!important;
		margin:0!important;
		
	}
	#EA_list{
		margin-bottom: 30px !important;
        border: 1px solid #eee;
        border-radius: 7px;
        max-height: 150px !important;
	}
	#EA_products_div{
		margin-left: -15px;
		margin-right: -15px;
	}
	#EA_products_div .EAcatalog_product_img{
		
	}
	#EA_products_div .EAcatalog_product_text{
		margin: 0!important;
		width:100%!important;
		max-width:200px!important;
		display:block!important;
	}
}

.EAcatalog_product_img{
	cursor:pointer;
}
.EAcatalog_product_img .fa{
	display:none;
}
.EAcatalog_product_img:hover .fa{
	display:inline-block;
}

/* ............................................................................. */
/* ............................................................................. */
/* ............................................................................. */
/* ............................................................................. */
/* ............................................................................. */





.EA_content_box
{
	background: #fff;
	border-radius: 7px; 
	box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.15);
    padding: 16px 24px;
}










/* ............................................................................. */
/* ............................................................................. */
/* ............................................................................. */
/* ............................................................................. */
/* ............................................................................. */



/* Страница с товарами */

.EA_search_container
{
	margin-bottom:20px;
}
.EA_search_container input
{
	width: 100%;
    border: 1px solid #eee;
    border-radius: 7px !important;
    padding: 10px 10px;
    line-height: 1em;
}
#EA_list
{
	margin: 0;
    padding: 5px;
	max-height: 400px; 
	overflow: auto;
	border: 1px solid #eee;
	border-radius: 7px;
}
#EA_list li
{
	display: block;
    border: 1px solid #fff;
    border-radius: 5px;
    line-height: 1em;
}
#EA_list li:hover
{
    border: 1px solid #ddd;
    cursor: pointer;
}
#EA_list li>div
{
    padding: 5px 10px;
}



/* ............................................................................. */
/* ............................................................................. */
/* ............................................................................. */
/* ............................................................................. */
/* ............................................................................. */














body {
   padding: 0 !important;
}


#EAcatalog_container{
	padding: 0;
	margin: 0;
}
#EAcatalog_container > div:first-child{
    margin-top: 30px;
}
#EAcatalog_container > div:last-child{
    margin-bottom: 0px;
}




.EAcatalog_breadcrumbs{
	margin-bottom: 20px;
    border-bottom: 1px solid #e4e4e4;
}
.EAcatalog_breadcrumbs > div{
	display:inline-block;
	padding: 8px 0px 6px 0px;
	cursor:pointer;
	position: relative;
}
.EAcatalog_breadcrumbs > div:hover:after{
	content: '';
    display: inline-block;
    height: 1px;
    background: #e4e4e4;
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 8px;
}




.EAcatalog_nav_box{
	overflow-x: auto;
}
.EAcatalog_nav_tabs{
	padding: 0;
	margin: 0;
    margin-bottom: 20px;
    border: 0;
    border-bottom: 1px solid #e4e4e4;
	white-space: nowrap;
}
.EAcatalog_nav_tabs li{
	padding: 0;
    margin: 0;
    border: 0;
    list-style: none;
    list-style-type: none;
    display: inline-block;
    border-radius: 4px 4px 0px 0px;
	border: 1px solid transparent;
	border-bottom: 1px solid #e4e4e4;
    padding: 7px 17px 5px 17px;
    position: relative;
    bottom: -1px;
	cursor: pointer;
}
.EAcatalog_nav_tabs li:hover{
	background: #f2f2f2;
	border-color:#e4e4e4;
}
.EAcatalog_nav_tabs .active{
	background: #fff;
	border: 1px solid #e4e4e4;
	border-bottom: 1px solid #fff;
	z-index: 2;
}
.EAcatalog_nav_tabs .active:hover{
	background: #fff;
	border-bottom: 1px solid #fff;
}





.EAcatalog_nav_letters{
	padding: 0;
	margin: 0;
    margin-bottom: 20px;
    border: 0;
	white-space: nowrap;
	font-size: 0;
	overflow-x: auto;
}
.EAcatalog_nav_letters li{
	width: 35px;
    text-align: center;
    padding: 0;
    margin: 0;
    border: 0;
    list-style: none;
    list-style-type: none;
    display: inline-block;
    border-radius: 0px;
    border: 1px solid #e4e4e4;
    border-right: 0;
    padding: 7px 0px 5px 0px;
    line-height: 1em;
    cursor: pointer;
    font-size: 14px;
}
.EAcatalog_nav_letters li:first-child{
	border-radius:4px 0px 0px 4px;
}
.EAcatalog_nav_letters li:last-child{
	border-radius:0px 4px 4px 0px;
	border-right: 1px solid #e4e4e4;
}
.EAcatalog_nav_letters li:hover{
	background: #f2f2f2;
	cursor:pointer;
}
.EAcatalog_nav_letters #EAcatalog_nav_letter_popular, .EAcatalog_nav_letters #EAcatalog_nav_letter_all{
	width:auto;
	padding-left: 10px;
	padding-right: 10px;
}
.EAcatalog_nav_letters .active{
	background: #f2f2f2;
}




.EAcatalog_nav_filters{
	padding: 0;
	margin: 0;
    margin-bottom: 20px;
    border: 0;
	white-space: nowrap;
	font-size: 0;
	overflow-x: auto;
}
.EAcatalog_nav_filters li{
    padding: 0;
    margin: 0;
    border: 0;
    list-style: none;
    list-style-type: none;
    display: inline-block;
    border-radius: 0px;
    border: 1px solid #e4e4e4;
    border-right: 0;
    padding: 7px 17px 5px 17px;
    line-height: 1em;
    cursor: pointer;
    font-size: 14px;
}
.EAcatalog_nav_filters li:first-child{
	padding-left: 10px;
    padding-right: 10px;
	border-radius:4px 0px 0px 4px;
}
.EAcatalog_nav_filters li:last-child{
	border-radius:0px 4px 4px 0px;
	border-right: 1px solid #e4e4e4;
}
.EAcatalog_nav_filters li:hover{
	background: #f2f2f2;
	cursor:pointer;
}
.EAcatalog_nav_filters .active{
	background: #f2f2f2;
}



.EAcatalog_tab_element_BIG > div{
	display: block;
    border: 1px solid #e4e4e4;
	border-radius: 7px;
    padding: 10px 10px 7px 10px;
    line-height: 1em;
	margin-bottom: 5px;
	cursor: pointer;
}
.EAcatalog_tab_element_BIG > div:hover{
	background: #f2f2f2;
}
.EAcatalog_tab_element_BIG > div > div{
	white-space:nowrap;
	overflow:hidden;
	text-overflow: ellipsis;
}
.EAcatalog_tab_element_BIG > div > div small{
	color:#979797;
	font-size: 11px;
}


.EAcatalog_tab_element > div{
	display: block;
    border: 1px solid #e4e4e4;
	border-radius: 7px;
    padding: 10px 10px 7px 10px;
    line-height: 1em;
	margin-bottom: 5px;
	cursor: pointer;
}
.EAcatalog_tab_element > div:hover{
	background: #f2f2f2;
}
.EAcatalog_tab_element > div > div{
	white-space:nowrap;
	overflow:hidden;
	text-overflow: ellipsis;
}
.EAcatalog_tab_element > div > div small{
	color:#979797;
	font-size: 11px;
}





.EAcatalog_modifications{
	border: 1px solid #e4e4e4;
    border-top: 0;
    padding-top: 10px;
    padding-bottom: 6px;
	position: relative;
}
.EAcatalog_modifications:hover{
	background:#f2f2f2;
}
.EAcatalog_modifications .btn_primary{
	border: 1px solid #e4e4e4;
    display: inline-block;
    line-height: 1em;
    padding: 7px 10px 7px 10px;
    position: absolute;
    right: 5px;
    top: 0px;
    border-radius: 4px;
	cursor:pointer;
}
.EAcatalog_modifications:hover .btn_primary{
	background: #fff;
}
.EAcatalog_modifications .btn_property{
	border: 1px solid #e4e4e4;
    display: inline-block;
    line-height: 1em;
    padding: 7px 10px 7px 10px;
    position: absolute;
    right: 92px;
    top: 0px;
    border-radius: 4px;
	cursor:pointer;
}
.EAcatalog_modifications:hover .btn_property{
	background: #fff;
}
.EAcatalog_modifications_property{
	display:none;
    border: 1px solid #ddd;
    border-top: none;
    background: #fbfbfb;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 1.3em;
}
.EAcatalog_modifications_property > div > div{
	margin-bottom:10px;
}








.EAcatalog_tree, 
.EAcatalog_tree ul,
.EAcatalog_tree li {
  margin: 0;
  padding: 0;
  line-height: 1;
  list-style: none;
}
.EAcatalog_tree ul {
  margin: 0 0 0 .5em; /* вести линию вниз где-то с полбуквы родителя */
}
.EAcatalog_tree > li:not(:only-child),
.EAcatalog_tree li li {
  position: relative;
  padding: .2em 0 0 1.2em; /* отступ до текста; для раскрывающегося списка в ряде случаев (в Хроме есть баг) padding-top (.2em) лучше указывать в px */
	cursor: pointer;
}
.EAcatalog_tree li:not(:last-child) {
  border-left: 1px solid #ccc; /* толщина, цвет и стиль (вместо сплошной пунктирная или точечная) вертикальной линии */
}
.EAcatalog_tree li li:before,
.EAcatalog_tree > li:not(:only-child):before { /* горизонтальная линия */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1.1em; /* не более отступа до текста (1.2em) */
  height: .7em; /* начинается приблизительно с половины высоты буквы (.5em + .2em) */
  border-bottom: 1px solid #ccc;
}
.EAcatalog_tree li:last-child:before { /* вертикальная линия последнего пункта в каждом списке */
  width: calc(1.1em - 1px); /* для перфекционистов */
  border-left: 1px solid #ccc;
}



.EAcatalog_tree .EAcatalog_tree_drop {
  position: absolute;
  left: -.5em;
  top: .4em; /* .2em (font-size: 80%;) + .2em (padding из .EAcatalog_tree li li) */
  width: .9em;
  height: .9em;
  line-height: .9em;
  text-align: center;
  background: #fff;
  font-size: 80%;
  cursor: pointer;
}
.EAcatalog_tree li:last-child > .EAcatalog_tree_drop {
  margin-left: 1px;
}
.EAcatalog_tree .EAcatalog_tree_drop + div + ul {
  display: none;
}
.EAcatalog_tree .EAcatalog_tree_drop_open + div + ul {
  display: block;
}

.EAcatalog_tree .EAcatalog_tree_caption:hover{
	text-decoration: underline;
}




#EAcatalog_parts .table tr:hover{
	background: #f2f2f2;
}
#EAcatalog_parts .btn_primary, #EAcatalog_modal_products_info_body .btn_primary, .EAcatalog_breadcrumbs .btn_primary, #EAcatalog_add_bloknot_btn .btn_primary{
	background: #fff;
	border: 1px solid #e4e4e4;
    display: inline-block;
    line-height: 1em;
    padding: 7px 10px 7px 10px;
    border-radius: 4px;
	cursor:pointer;
	position: relative;
}

.EAcatalog_breadcrumbs .btn_primary, #EAcatalog_add_bloknot_btn .btn_primary{
	float: right;
    position: relative;
    top: 4px;
}







.EAcatalog_garage_btn{
	position: absolute; 
	top: 12px; 
	right: 17px; 
	text-align: right;
	cursor:pointer;
}
.EAcatalog_garage_btn + div{
	position: absolute; 
	top: 38px; 
	right: 15px; 
	background: #fff; 
	border: 1px solid #e4e4e4;
	z-index: 2;
	display:none;
	max-height: 300px;
    overflow-y: auto;
}
.EAcatalog_garage_btn + div > div{
	padding:3px 10px;
	cursor:pointer;
	border-bottom: 1px solid #e4e4e4;
}
.EAcatalog_garage_btn + div > div:last-child{
	border-bottom: none;
}
.EAcatalog_garage_btn + div > div:hover{
	background:#f2f2f2;
}

#EAcatalog_add_bloknot_msg{
	display: inline-block;
    margin-right: 15px;
}








@media (max-width: 400px) {
	.EAcatalog_nav_box{
		margin-right: 32px;
	}
	.EAcatalog_garage_btn {
		position: absolute;
		top: 10px;
		right: 17px;
		text-align: right;
		cursor: pointer;
		border-bottom: 1px solid #e4e4e4;
		width: 31px;
		padding-bottom: 4px;
	}
}



@media (max-width: 991px) {
	.EAcatalog_tree{
		margin-bottom:20px;
	}
}
@media (max-width: 600px) {
	#EAcatalog_parts > .table{
		margin-top:30px;
	}
	#EAcatalog_parts > .table>tbody>tr>td, 
	#EAcatalog_parts > .table>tbody>tr>th, 
	#EAcatalog_parts > .table>tfoot>tr>td, 
	#EAcatalog_parts > .table>tfoot>tr>th, 
	#EAcatalog_parts > .table>thead>tr>td, 
	#EAcatalog_parts > .table>thead>tr>th {
		display: block;
		padding: 1px 0px;
	}
	#EAcatalog_parts > .table>tbody>tr>td:last-child {
		padding-bottom: 30px;
	}
	
	.EAcatalog_breadcrumbs  .btn_primary {
		margin-bottom: 20px;
	}
}

