
.bx_my_order .bx_my_order_table td a { color: black; } /*Ссылкии в истории заказа*/
.bx-soa-cart-total.bx-soa-cart-total-fixed {
    position: fixed;
    top: 80px;
}


.dropdown.hover:hover>.dropdown-menu { 
	display: block !important; 
} 

.fixed { 						
	position: fixed;
	top:0;
	z-index: 20000;
	width: 100%;
}

/********************** Горизонтальное меню каталога **************************/

.navbar-default {
	background: none !important; 
	border: none !important;
}

.navbar { margin:0; }
.navbar-collapse {padding: 0;}


/********************** .Горизонтальное меню каталога **************************/

a.go_top {
	color: #333;
}

.go_top {
	position: fixed;
	bottom: 25px;
	right: 0;
	cursor: pointer;
	display: none;
	font-size: 40px;
	background: rgba(255, 255, 255, .6);

	padding: 0px 5px 0px 10px;
	/*border-radius: 20px 0 0 20px;*/
	z-index: 999;
	box-shadow: 0 0 10px rgba(0,0,0, .3);
}


.btn { box-shadow: none; }
.btn-primary {

	padding: 5px 15px;
	background: #E8E8E8;
	border: 1px solid #C9C9C9;
	color: #7A7A7A;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {

	padding: 5px 15px;
	background: #969696;
	border: 1px solid #878787;
	color: white;
}


.page-header {
	padding-top: 15px;
	padding-bottom: 5px;
	margin: 0 15px 25px;
	border-bottom: 1px solid #e6e6e6;
}

.page-header h1 {margin: 0; padding: 0; font-size: 32px;}

.btn-info {
	color: #424246;
	background-color: #E5E5E5;
	border-color: #C6C6C6;
	text-transform: uppercase;
	padding: 5px 15px;
	font-size: 14px;
	font-family: 'fregatbold';

}


.btn-info:hover, .btn-info:active, .btn-info:focus {
	color: #ffffff;
	background-color: black !important;
	border-color: black !important;
}





/********************************************************		Костыль для битрикса 		******************************************/

input, button, select, textarea {
	line-height: normal;
}

/***************************************************************************************************************************************/

/* Раскрытие меню при наведении */
/* если максимальное разрешение экрана составит 469 пикселей */
/*.dropdown:hover > .dropdown-menu { display: block; }
@media (min-width: 1024px) {
	}*/





	.form-control:focus {
		border-color: #AEAEAE;
		outline: 0;
		-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 0, 0, .3);
		box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 0, 0, .3);
	}

	.modal-content {
		margin-top: 60px;
		z-index: 1100 !important;
	}

	.modal-backdrop {
		z-index: 0 !important; 
	}

	/*.modal-header { background: #EAEAEA; }*/
	.modal-header h3 { font-size: 30px; text-align: center; margin-bottom: 15px; border-bottom: 1px solid #EAEAEA; margin-left: -15px; margin-right: -15px; padding-bottom: 20px;}

	.modal-header .price { font-size: 20px; margin-top: 15px; }

	.b_red {border: red 1px solid;}


	body {
		font-family: 'fregat';

	}

	strong, b {font-family: 'fregatbold';}


	a:hover {text-decoration: none;}

	h1 { font-family: 'fregat';}

	.main { box-shadow: 0 5px 30px rgba(0,0,0, .07);  border-top: none; position: relative;}


	/*	верхняя плашка	*/
	.top_menu_end_enter { padding: 8px 0 7px; background: #F2F2F2; border-bottom: 1px solid #D3D3D3}
	.top_menu_end_enter_vertical {
		/*padding: 15px 0 13px;*/
        padding: 0px !important;
		/*background: rgba(0,0,0, .1);*/
		background: rgba(0,0,0, .8);
		border-top: 1px solid #D3D3D3;
		border-bottom: 1px solid #D3D3D3;
		text-transform: uppercase;
		font-size: 13px;
	}

	.top_menu_end_enter a{ color: #787878; }
	.top_menu_end_enter a:hover{ color:red; text-decoration: none; }
	.top_menu ul{margin-bottom: 0 !important;}
	.top_menu li{margin-right: 12px;}
	.top_menu_end_enter .reg_enter { text-align: right; text-transform: uppercase; font-size: 14px;}
	.top_menu_end_enter_vertical .reg_enter { text-align: right; text-transform: uppercase; font-size: 14px;}
	.top_menu_end_enter .reg_enter a, .top_menu_end_enter_vertical .reg_enter a{ display: inline-block; margin-left: 10px; }
.top_menu_end_enter .reg_enter a:hover{ /*color: rgba(255,255,255, .8);*/ }


.top_menu_end_enter_vertical {
	background: rgba(0,0,0, .7);
	/*border-bottom: 1px solid #A5A5A5;*/
	border-top: none;
	border-bottom: none;
}

.top_menu_end_enter_vertical a {color: rgba(255,255,255, .9); !important;}
.top_menu_end_enter_vertical a.root-item-selected {color:  rgba(255,255,255, .5) !important;}
/*	.верхняя плашка	*/






/*	шапка	*/
.header {background: white; }


.header_table{height: 105px; display: table; width: 100%;}
.header_table .logo_cell, .header_table .contacts_cell, .header_table .form_search_cell{display: table-cell; vertical-align: middle; /*border: 1px #ccc solid;*/}
.header_table .logo_cell	{width: 33%;}
.header_table .logo_cell div{ display: table;}
.header_table .logo_cell div div{ display: inline-block; vertical-align: middle;}
.header_table .logo_cell	.slogan{ text-transform: uppercase; font-size: 11px; line-height: 10pt; display: inline-block; vertical-align: middle;}
.header_table .logo_cell img{margin-right: 10px; float: left;}

.header_table .contacts_cell { text-align: center; width: 33%; }
.header_table .contacts_cell .tel{font-size: 16px; color: #7a7a7a; }
.header_table .contacts_cell .call_back{font-size: 13px;}

.header_table .form_search_cell { text-align: right; width: 33%; padding-left: 40px;}
.header_table .form_search .form-control {
	display: block;
	width: 100%;
	height: 35px;
	border: 1px solid #ccc !important;
	border-right: none !important;
	box-shadow: none !important;
	padding: 6px 10px;
}
.header_table .form_search .btn {
	background: none;
	border: 1px solid #ccc !important;
	border-left: none !important;
	padding: 6px 10px;
	height: 35px;
}

/*	.шапка	*/




/*	Главное меню	*/

.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus { background: none !important; color: rgba(255,255,255, .5); }


.main_menu_gorizontal {
	text-transform: uppercase;
	font-size: 12px;
}		
.main_menu_gorizontal a, .main_menu_gorizontal a:hover, .main_menu_gorizontal a:focus, .main_menu_gorizontal a:active { color:white; }



.main_menu_gorizontal ul { border-left: 1px dotted rgba(255,255,255, .15);  border-right: 1px dotted rgba(255,255,255, .1);}
li.more_razdel { border-left: 1px dotted rgba(255,255,255, .1);  border-right: 1px dotted rgba(255,255,255, .1); background: rgba(255,255,255, .05);}
.nav-justified>li {
	vertical-align: middle;
}
.nav-justified>li a:hover, .nav-justified>li a:focus, .nav-justified>li a:active { background: none !important; }

.nav-justified>li a:hover, .nav-justified>li a:active, .nav-justified>li:focus { background: none; }
.nav .open>a, .nav .open>a:hover, .nav .open>a:focus {
	background: none !important;
	border: none !important;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
	color:rgba(255,255,255, .5);
	background: none !important;
}
.nav-justified>.dropdown .dropdown-menu {
	top: 35px !important; 
	width: 200px;
}
.main_menu_gorizontal .dropdown-menu {
	left: 0;
	background: #777777;;
	border: none !important;
	font-size: 14px;
	text-transform: none;
}
.dropdown-menu li a{ color: white; }
li.more_razdel .dropdown-menu {
	right: 0;
	/*background: red;*/
	border: none !important;
}
.dropdown-menu li:hover{ background: rgba(255,255,255, .2); }
/*	.Главное меню	*/


.white {background: white; /*position: relative;*/}


/*	Табы	*/

.prod_tabs {background: rgba(255,255,255, .45); margin-top: -15px; padding-top: 15px;}

.nav-tabs.tabs_prod {
	border-bottom: none;
	font-size: 20px;
	text-transform: uppercase;
	font-family: 'fregatbold';
	margin-left: 30px;
	/*background: rgba(255,255,255, .2)*/
}

.nav-tabs.tabs_prod>li.active>a, .nav-tabs.tabs_prod>li.active>a:hover, .nav-tabs.tabs_prod>li.active>a:focus {
	color: white;
	background-color: #707070;
	border: none !important;
	/*border-bottom-color: transparent;*/
	cursor: default;
}

.nav.tabs_prod>li>a {
	position: relative;
	display: block;
	padding: 5px 30px;
	margin-bottom: 20px;
	color: #515151;
	border-bottom
}

.nav.tabs_prod>li.active>a::after {
	content: ''; 
	position: absolute; 
	left: 43%;
	bottom: -20px;
	border: 10px solid transparent;
	border-top: 10px solid #707070; 

}

.nav.tabs_prod>li>a span{ border-bottom: 2px #515151 dotted; }
.nav.tabs_prod>li.active>a span{ border-bottom:none; }

.nav.tabs_prod>li.rasprod>a {color: red !important;}
.nav.tabs_prod>li.rasprod>a span{ border-bottom: 2px red dotted; }

.nav.tabs_prod>li.active.rasprod>a {color: white !important; background: red}
.nav.tabs_prod>li.active.rasprod>a span{ border-bottom: none; }
.nav.tabs_prod>li.active.rasprod>a::after {
	border-top: 10px solid red; 
}
.nav.tabs_prod>li>a span:hover, .nav.tabs_prod>li>a span:focus, .nav.tabs_prod>li>a span:active { border-bottom: none !important; }


/*	.Табы	*/


/*	 Статьи на главной   */


.content_index { padding: 30px 0 0;}
.content_index .title{
	background: #a8a8a8;
	padding: 7px 12px;
	/*display: inline-block;*/
	text-transform: uppercase;
	color: white;
	font-family: 'fregatbold';
	font-size: 14px;
	margin-right: 15px;
	margin-bottom: 30px;
}

.content_index .title::after {
	content: '';
	position: absolute;
	right: 15px;
	top: 8px;
	border: 8px solid transparent;
	border-left: 8px solid #a8a8a8;
}


.content_index a { color:rgba(0,0,0, .8); }
.content_index a strong{ color: black; }
.content_index .statiya { height: 100px; overflow: hidden; }
.content_index .statiya strong {
	display: block;
	margin-bottom: 10px;
	font-family: 'fregat';
	font-weight: normal;
	font-size: 18px;
	/*line-height: 16pt;*/
}

.content_index img {margin: 15px 0; }


.index_more_content { text-align: right; font-size: 12px; white-space: nowrap;}

.content_index img, .footer .logo  img{
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray; /* IE 6-9 */
	/*Добавим вот такой вот код*/
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
	/*конец кода с transition*/
}

.content_index a:hover img {
	-webkit-filter: none;
	-moz-filter: none;
	-ms-filter: none;
	-o-filter: none;
	filter: none;
	filter: none; /* IE 6-9 */
}

/*	 .Статьи на главной   */}



/*	Акции  */

.akciya {margin: 1px !important; height: 220px}

.index_akcii { height: 220px; margin: 1px;}
.akciya .index_akcii>div{
	/*width: 99.9%;*/
	background: rgba(0,0,0, .6);
	color: white;
	padding: 15px;
	position: absolute;
	line-height: 11pt;
	bottom: 0;
	right: 0;
	left: 0;
	margin-right: 1px;
	margin-left: 1px;
	/*display: block;*/
}
.index_akcii .title_akcii{ 
	font-family: 'fregatbold';
	display: block; 
	margin-bottom: 10px; 
	text-transform: uppercase; 
	font-size: 18px;
	line-height: 16pt;
}

.index_akcii .proc_skidki {
	background: white;
	width: 40px;
	height: 40px;
	display: inline-block;
	float: right;
	margin: 0;
	text-align: center;
	border-radius: 35px;
	padding-top: 13px;

}

.index_akcii .proc_skidki div{
	color: red; 
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	margin-left: -5px;
	font-family: 'fregatbold';
	font-size: 16px;

}

/*	.Акции  */


/* о нас, новости */


.index_about {padding: 30px; color: white; background: rgba(0,0,0, .3); font-size: 16px; line-height: 20pt;}
.index_about .text{margin-top: 30px;}
.index_about h3{ margin: 0 0 20px 0; padding: 0 0 3px; font-size: 30px; text-transform: uppercase; font-family: 'fregatbold'; border-bottom: 1px solid rgba(255,255,255, .3);}


.index_diler {font-size: 13px; line-height: 18pt; color: rgba(255,255,255, .75);}
.index_diler .fa{margin-right: 5px;}
.index_diler h4 { border-bottom: 1px solid #7c717c; padding: 0 0 10px 0; margin: 0 0 15px; color: white; }
.index_diler .name{font-size: 16px; margin-bottom: 8px; line-height: 14pt;}
.index_diler a.dilers{font-size: 18px; margin: 60px 0; color: white; padding: 8px 40px; background: rgba(0,0,0, .1);}

/* о нас, новости */


/* footer  */

.footer { margin-top: 20px; margin-bottom: 30px; font-size: 12px; color: rgba(0,0,0, .8);}
.footer a{color: rgba(0,0,0, .8); text-decoration: underline;}

.footer .logo  {margin-bottom: 20px; }
.footer .logo  img { opacity: .6; width: 120px; height: auto; margin-bottom: 10px;}
.footer .copyr {margin-bottom: 7px; }
.footer .samovar {width: 300px;}
.footer .samovar {width: 300px;}

.footer .contacts {margin-bottom: 20px; display: inline-block; text-align: left; }

.footer .tel {font-size: 16px;}
.footer .call_back {margin-bottom: 10px;}
.footer .regim  span{color: #A0A0A0;}

.footer .icon { display: inline-block; width: 10px; text-align: center; margin-right: 7px}

.footer .menu_bottom { font-size: 14px; line-height: 18pt; }

.footer .social { text-align: right; font-size: 32px; margin-top: -5px;}
.footer .social a{ color: rgba(0,0,0, .5); }




/*		Фиксированный блок		*/

.block_fixed {
	position: fixed;
	top: 300px;
	/*right: 0;*/
	/*width: 400px;*/
	width: 60px;
	height: 300px;
	z-index: 2000;
}

/*					Корзина				*/


/*					.Корзина				*/





.video {
	width: 100%;
	position: relative;
	padding-top: 56.25%;
	margin-bottom: 30px;
}
.video iframe, .video object, .video embed{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*Хлебные крошки*/
.bx-breadcrumb {
	color: #A0A0A0;
}

.bx-breadcrumb i {
	color: #A0AAB0;
}
.bx-breadcrumb .bx-breadcrumb-item a { color: black; }



.bx-soa-item-title a {color: black !important;}

/*Оформление заказа*/

.bx-soa-pp-delivery-cost {
	position: absolute;
	font-size: 11px;
	color: #fff;
	padding: 1px 4px;
	right: -10px;
	top: -8px;
	bottom: inherit;
	border-radius: 1px;
	background: rgba(0,0,0,.8);
	text-align: center;
}

input[type=checkbox].bx-soa-pp-company-checkbox {
	display: none;
}

.bx-soa-section.bx-step-completed {
    border: 1px solid #ddd;
}

.bx-soa-section.bx-selected {
    border: 3px solid #A5A5A5;
}

/*@media all and (min-width:768px)*/
.nav-justified > li {
    display: table-cell;
    width: 0% !important;
}

.list-inline > li {
    display: inline-block;
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.dropdown-toggle
{
    color:white;
}

@media (max-width: 1200px) {
	
.index_slider {display: none;}		
}

.b_red1 {
    /* Делаем блок флекс-контейнером */
    display: flex;
    /* Выравниваем содержимое по горизонтали (центр) */
    justify-content: center;
    /* Выравниваем содержимое по вертикали (центр) */
    align-items: center;
    
    /* Задаем фиксированные размеры контейнера (подставьте свои значения) */
    width: 250px; 
    height: 250px;
    
    /* Добавляем рамку или фон для наглядности (опционально) */
    border: 1px solid #ccc; 
    overflow: hidden; /* Скрываем всё, что вылезает за пределы */
	   border: none !important; /* Убираем рамку, если она есть */
    text-align: center; /* Дополнительно центрируем содержимое внутри */
	margin: 0 auto;
}

.b_red1 img {
    /* Ограничиваем максимальную ширину и высоту картинки */
    max-width: 100%;
    max-height: 100%;
    
    /* Ключевое свойство: сохраняет пропорции и вписывает картинку в контейнер */
    object-fit: contain; 
	 border: none; /* Убирает явную рамку */
    outline: none; /* Убирает обводку при фокусе */
    display: block; /* Убирает возможные отступы снизу у строчных элементов */
    margin: 0 auto; /* Центрируем саму картинку по горизонтали */
}

.prod_title {
    text-align: center; /* Центрирование текста */
    display: block; /* Гарантируем, что блок занимает всю ширину */
    line-height: 1.2;
    padding: 5px 0;
}

.bx_price
{
	text-align: center; /* Центрирование текста */
    display: block; /* Гарантируем, что блок занимает всю ширину */
    line-height: 1.2;
    padding: 5px 0;
}

.top_menu {
    display: flex !important;
    justify-content: space-between;
    align-items: stretch; /* Растягивает все пункты на одну высоту */
    width: 100%;
    margin: 0;
    padding: 0;
	padding-top: 2px;
	padding-bottom: 2px;
    list-style: none;
}

.top_menu > li {
    flex: 1 1 auto;
    display: flex;
    align-items: center; 
    justify-content: center;
    /* Вертикальный разделитель */
    border-right: 1px solid rgba(255, 255, 255, 0.1); 
}

.top_menu > li:last-child {
    border-right: none; /* Убираем линию у последнего пункта */
}

.top_menu > li > a {
    display: flex;
    align-items: center; /* Центровка текста по вертикали */
    justify-content: center; /* Центровка текста по горизонтали */
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    
    /* Увеличенная высота (отступы сверху и снизу по 25px) */
    padding: 25px 10px; 
    
    width: 100%;
    height: 100%;
    text-align: center;
    transition: color 0.3s ease; /* Плавное изменение только цвета текста, если нужно */
}

/* Оставляем только изменение цвета текста при наведении, без фона */
.top_menu > li > a:hover {
    color: #222222 !important; /* Текст становится чуть серее при наведении */
}

@media (min-width: 1300px) {
    .container {
        width:90% !important;
		max-width: 2900px;
    }
}

.carousel-inner .item .text div
{
	max-width: 500px;
}

/* Позиционирование 2-го и 3-го уровней меню */
.left_menu .dropdown-menu {
    top: 0;            /* Выравниваем верхнюю границу с родителем */
    left: 100%;        /* Сдвигаем вправо на всю ширину родителя */
    margin-top: -1px;  /* Компенсируем возможную рамку */
    margin-left: 0;    /* Убираем лишние отступы */
}

/* Для мобильных устройств лучше оставить стандартное поведение или скрыть */
@media (max-width: 991px) {
    .left_menu .dropdown-menu {
        position: static;
        float: none;
    }
}
