/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

/*13.08.19*/
.section_info .dark_link span {
    font-weight: 600;
	margin-left: 5px;
	color: #33789f !important; }

/* tables-shkaf*/
.table{width:100%;margin-bottom:20px;}
.table th,.table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #ddd;}
.table th{font-weight:bold;}
.table thead th{vertical-align:bottom;}
.table caption + thead tr:first-child th,.table caption + thead tr:first-child td,.table colgroup + thead tr:first-child th,.table colgroup + thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0;}
.table tbody + tbody{border-top:2px solid #ddd;}
.table-condensed th,.table-condensed td{padding:4px 5px;}
.table-bordered{border:1px solid #ddd;border-collapse:collapse;*border-collapse:collapse;border-left:0;border-radius:4px;}
.table-bordered th,.table-bordered td{border-left:1px solid #ddd;}
.table-bordered caption + thead tr:first-child th,.table-bordered caption + tbody tr:first-child th,.table-bordered caption + tbody tr:first-child td,.table-bordered colgroup + thead tr:first-child th,.table-bordered colgroup + tbody tr:first-child th,.table-bordered colgroup + tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0;}
.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px;}
.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topright:4px;}
.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child,.table-bordered tfoot:last-child tr:last-child td:first-child{border-radius:0 0 0 4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;}
.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child,.table-bordered tfoot:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;}
.table-bordered caption + thead tr:first-child th:first-child,.table-bordered caption + tbody tr:first-child td:first-child,.table-bordered colgroup + thead tr:first-child th:first-child,.table-bordered colgroup + tbody tr:first-child td:first-child{-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topleft:4px;}
.table-bordered caption + thead tr:first-child th:last-child,.table-bordered caption + tbody tr:first-child td:last-child,.table-bordered colgroup + thead tr:first-child th:last-child,.table-bordered colgroup + tbody tr:first-child td:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-topleft:4px;}
.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#F0F0F0;}.table-hover tbody tr:hover td,.table-hover tbody tr:hover th{background-color:#f5f5f5;}
table [class*=span],.row-fluid table [class*=span]{display:table-cell;float:none;margin-left:0;}

/*table
table.colored_table{width:100%;box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-webkit-box-sizing:border-box;border-collapse:collapse;}
.colored_table thead{border:1px solid #E5E5E5;}
.colored_table thead tr{background:#F7F7F7;}
.colored_table tr td{padding:8px 29px;}
.colored_table tbody{border-left:1px solid #E7E7E7;border-right:1px solid #E7E7E7;border-bottom:1px solid #E7E7E7;}
.colored_table tbody tr td{border-bottom:1px solid #E7E7E7;}
*/

.colored_table p {margin: 0px 0px 0px 0px;}
.colored_table thead th{padding:8px 29px;}
.colored_table tr td{padding:8px 29px;}

.flexslider-section {
    position: relative;
    margin: 15px 0;
    height: 322px;
    padding: 0;
    zoom: 1;
    text-align: center;
    overflow: hidden;
}
.flexslider-section img {
    margin: 0 auto;
    max-width: 100%;
    height: 322px;
    max-height: 100%;
}
.flexslider-section .flex-direction-nav {
    position: absolute;
    width: 100%;
    top: 50%;
}
.flexslider-section .flex-direction-nav .flex-nav-prev {
    position: absolute;
    left: 10px;
}
.flexslider-section .flex-direction-nav .flex-nav-next {
    position: absolute;
    right: 10px;
}
.flexslider-section .flex-control-nav{
    /*position: absolute;
    bottom: 34px;
    margin: 0 auto;*/
    zoom: 1;
    top: -65px;
    position: relative;
    display: inline-block;
    z-index: 10;
}
.flexslider-section .slides li {
    margin: 0;
    padding: 0;
}
.flexslider-section .flex-control-nav li a {
    background: 0 0;
    border: 2px solid white;
    box-sizing: border-box;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -o-border-radius: 100%;
}
.flexslider-section .flex-control-nav li a.flex-active, .flexslider-section .flex-control-nav li a:hover  {
    background: white;
}

@media (max-width: 950px) {
    .flexslider-section {
        height: 300px !important;
    }
    .flexslider-section .flex-control-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .flexslider-section {
        height: 220px !important;
    }
}

@media (max-width: 600px) {
    .flexslider-section {
        height: 200px !important;
    }
}

@media (max-width: 550px) {
    .flexslider-section {
        height: 180px !important;
    }
}

@media (max-width: 450px) {
    .flexslider-section {
        height: 150px !important;
    }
}

.panel-akk {
    margin: 15px 0;
}
.panel-akk .panel-heading-akk {
    margin-top: 5px;
}
.panel-akk .panel-heading-akk a {
    background: #095272;
    color: #ffffff;
    display: block;
    padding: 10px 40px 10px 15px;
    position: relative;
    transition: 0.3s;
}
.panel-akk .panel-heading-akk a:hover {
    background: #0a5c80;
}
.panel-akk .panel-heading-akk a i {
    font-size: 16px;
    width: 30px;
}
.panel-body-akk {
    padding: 15px;
}
.panel-collapse-akk {
    display: none;
}
.panel-heading-akk.in a {
    background: #0a5c80;
}
.panel-heading-akk a::after {
    content: "\f107";
    font-family: "FontAwesome";
    position: absolute;
    right: 15px;
    transition: 0.3s;
}
.panel-heading-akk.in a::after {
    transform: rotate(180deg);
}

.pb-20{
    margin-bottom: 39px;
}

.opener_icon.no_bg span {
    background: url(../images/arrows.png) 8px -255px no-repeat;
}
.opener_icon span {
    background: url(../images/arrows.png) 8px -188px no-repeat;
}
.opener_icon, .opener_icon span {
    display: inline-block;
    height: 29px;
    width: 29px;
    cursor: pointer;
    vertical-align: middle;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
}

.opener_icon:hover span {
    background-position: 8px -210px;
}
.opener_icon.no_bg:hover span, .opener_icon:hover span, h4:hover .opener_icon span {
    background-position: 8px -210px;
}
.opener_icon.opened.no_bg:hover span, .opener_icon.opened:hover span, h4:hover .opener_icon.opened span {
    background-position: -25px -212px;
}

.opener_icon.opened.no_bg span {
    background-position: -24px -257px;
}


.flexslider .dark  .banner_title, .flexslider .dark  .banner_title a{background: #e1e6eac7; padding: 3px;}
.flexslider .dark  .banner_text{background: #e1e6eac7; padding: 3px;}

.flexslider .light .banner_title{text-shadow:0px 0px 10px rgba(0, 0, 0, 0.3); background: #95a1a7a8; padding: 3px;}
.flexslider .light .banner_text {text-shadow:0px 0px 5px rgba(0, 0, 0, 0.6); background: #95a1a7a8; padding: 3px;}

@media (max-width: 450px){
body .wrapper .top_slider_wrapp .flexslider .slides>li {
		background-size: 155% auto;}}

@media (max-width: 950px){
body .top_slider_wrapp .flexslider .slides>li {
    background-size: 120% auto;
	}}


/* ARTICLE BLOCK */
.catalog_block .article_block{
	font-size: 12px;
	color: #999999;
	display: inline-block;
}
.catalog_block .item-stock, .catalog_block .article_block{
	display: inline-block;
	margin: 0px 6px;
}
/* ARTICLE BLOCK */

/* Выпиливаем бэкграунд карты в разделе контакты*/
.contacts_map:before {
    background: rgba(255, 255, 255, 0.55) no-repeat scroll center center;
    content: " ";
}

/* Статьи блога и новости: картинки, таблицы и длинные слова внутри текста не шире колонки
   (на телефоне иначе вся страница становится шире экрана) */
.news_detail_wrapp .detail_text img {
	max-width: 100%;
	height: auto;
}
.news_detail_wrapp .detail_text p > img:only-child {
	display: block;
	margin: 15px auto;
}
.news_detail_wrapp .detail_text figure {
	margin: 15px 0;
	max-width: 100%;
}
.news_detail_wrapp .detail_text table {
	max-width: 100%;
}
/* прокрутка таблицы только на телефоне: display:block на десктопе сжимает таблицу прайсов до ширины содержимого */
@media (max-width: 767px) {
	.news_detail_wrapp .detail_text table {
		display: block;
		overflow-x: auto;
	}
}
.news_detail_wrapp .detail_text {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* Корзина: уведомление, что цена тиража (>N шт.) будет пересчитана менеджером */
.clemer-estimate-notice {
	margin: 0 0 15px;
	padding: 12px 16px;
	border: 1px solid #f0c36d;
	border-left: 4px solid #e8a317;
	background: #fff8e5;
	color: #4a3a12;
	font-size: 14px;
	line-height: 1.5;
}
.clemer-estimate-notice__items {
	margin-top: 4px;
	font-size: 13px;
	opacity: .85;
}

/* «Уточняйте» вместо цены: единицу измерения («/шт») не показываем */
.values_wrapper:has(.clemer-req) + .price_measure { display: none; }

/* Главная (блок «Хиты продаж / Мы советуем / По акции / Новинки»): единица измерения «/шт» у цен не показывается */
.best_block .catalog_item_wrapp .price_measure { display: none; }
