﻿/*переназначенные стили TBS3*/
a {color: #161C2A;}

.navbar {
	border-radius: 0px;
	margin-bottom: 0px;
}
.navbar-inverse {
	background-color: #000;
	border-color: #000;
}
.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus {
	color: #000;
	background-color: #EEEEEE;
}

.input-sm, .form-group-sm .form-control {
	border-radius: 0px;
}
.btn-sm, .btn-group-sm>.btn {
	border-radius: 0px;
}

.btn-primary {
    color: #fff;
    background-color: #164194; /* фирменный синий */
    border-color: #2e6da4;
}

/* перенос точки схлопывания меню с 768 на 992 пикс */
	@media (max-width: 992px) { .navbar-header { float: none; } .navbar-toggle { display: block; } .navbar-collapse { border-top: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); } .navbar-collapse.collapse { display: none!important; } .navbar-nav { float: none!important; margin: 7.5px -15px; } .navbar-nav>li { float: none; } .navbar-nav>li>a { padding-top: 10px; padding-bottom: 10px; }
 /* since 3.1.0 */ 
 	.navbar-collapse.collapse.in { display: block!important; } .collapsing { overflow: hidden!important; } } 

/*цвет шапки модального окна*/
 .modal-content .modal-header {
	background-color: #164194;
}
.modal-header {
	border-bottom: 2px solid #164194;
}
.modal-content .modal-title {
	color: #ffffff;
}
.modal-footer {
	padding: 15px;
	text-align: right;
	background-color: #040404;
	border-top: 2px solid #e5e5e5;
}

.dropdown-menu>li>a {
	min-width: 300px;
}

.dropdown-menu>li>a:hover {
  display: block;
  background-color: #ccc;
}
.dropdown-menu>li>ul>li>a:hover {
  display: block;
  background-color: #ccc;
/*  padding: 5px;*/
  color: #000;
  text-decoration: none;
}

.show-on-hover:hover > ul.dropdown-menu {
    display: block;    
}

.navbar-toggle {
	border: 0px solid transparent;
	color: #fff;
}

.breadcrumb {
    margin-bottom: 0px;
}

/* Исправление цвета пагинации */
.pagination>li>span {
    background-color: #164194;
    color: #fff;
}

/* конец переназначенные стили TBS3*/

.wrapper {
	background-color: #EEEEEE;
	border: 0 1px solid gray;
	box-shadow: 0 0 16px #A6A6A6;
	margin: 0 auto;
	max-width: 1440px;
	/*min-width: 990px;*/
}

.header-shadow {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0 0 20px 0;
	background: #f2f4f5;
	padding: 10px 0 10px 0;
	-webkit-box-shadow:  0 5px  5px 1px rgba(0,0,0,0.1);
	-moz-box-shadow:  0 5px  5px 1px rgba(0,0,0,0.1);
	box-shadow:  0 5px  5px 1px rgba(0,0,0,0.1);
}
.header {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0;
	background: #f2f4f5;
	padding: 10px 0 10px 0;
}

.footer-shadow {
	position: relative;
	z-index: 1;
	width: 100%;
	background: #f2f4f5;
	padding: 36px 0 36px 0;
	-webkit-box-shadow: inset 0 5px 5px 0 rgba(0,0,0,0.1);
	-moz-box-shadow: inset 0 5px 5px 0 rgba(0,0,0,0.1);
	box-shadow: inset 0 5px 5px 0 rgba(0,0,0,0.1);
}
.footer {
	position: relative;
	z-index: 1;
	width: 100%;
	background: #fff;
	padding: 10px 0 10px 0;
	font-size: 12px;
}
.footer2 {
	position: relative;
	z-index: 1;
	width: 100%;
	background: #161C2A;
	color: #fff;
	padding: 15px 0 15px 0;
	font-size: 12px;
}
.footer2 a {
	color: #ebebeb;
	text-decoration: none;
	/*border-bottom: 1px dashed #ebebeb;*/
	font-size: 12px;
	font-weight: bold;
}
.footer-logo a {
	color: #ebebeb;
	text-decoration: none;
	border-bottom: none;
	font-size: 12px;
}
.footer-black {
	position: relative;
	z-index: 1;
	width: 100%;
	background: #000;
	color: #fff;
	font-size: 12px;
	padding: 15px 0 10px 0;
}
.footer-black a {
	color: #fff;
	text-decoration: none;
	font-size: 12px;
}

.menu-border {
	padding: 0 15px 0 15px;
	border-bottom: solid 1px #ccc;
}
.main-menu a {
	color: #252525;
	text-decoration: none;
	font-size: 12px;
	color: #333333;
}
.main-menu-head   {
	text-transform: uppercase;
	font-size: 12px;
	text-decoration: none;
	color: #d50000;
}
.sub-menu-head a:hover {
	background-color: #d50000;
	color: white;
	text-decoration: none;
}

.footzag {
	font-weight: bold;
	padding-bottom: 10px; 
}


/*полезняшка*/
.txt-right {
	text-align: right;
}
.txt-left {
	text-align: left;
}
.text-danger {
	color: #d50000;
}
.img-ramka img {
	border: 1px solid #000;
}
.img-fullstr img {
	margin: 10px;
	max-width: 100%;
}
.img-fullstr2 img {
	margin:  0 5px 5px 0;
}
.speedbar a {
	text-decoration: underline;
	color: #ccc;
}
.fullstory a, .fullstory td a {
	text-decoration: underline;
	color: #d50000;
}
.banners .fullstory a {
	text-decoration: underline;
	color: #2D2D2D;
}

.banners .static-link a {
	text-decoration: underline;
	color: #2D2D2D;
}
.banners .static-link h2 {font-size: 21px;}
.banners .static-link h3 {font-size: 19px;}
.banners .static-link h4 {font-size: 16px;}

.banners a strong {
	color: #2D2D2D;
	text-decoration: none;
	border-bottom: 1px dashed #2D2D2D;
}

.skachat h2   {
	font-size: 16px;
	margin-top: -10px;
	margin-bottom: 5px;
}
.skachat tbody tr, .skachat tr td {
	vertical-align: baseline;
}
.seo-style h1, .seo-style h2 {
	font-size: 16px;
	margin-top: 1px;
	margin-bottom: 1px;
}
.title-h4{
	margin-bottom: 10px;
}
.title-h4 a {
	line-height: 1.1;
	font-weight: bold; 
	font-size: 17px;
	color: black;
	text-decoration: none;
}
.h1 {
	font-size: 16px;
	margin-top: 1px;
	margin-bottom: 1px;
}

/*OWL carusel - стили для каруселей и слайдеров */
#owl-demo .item{
  margin: 3px;
}
#owl-demo .item img{
	  display: block;
	  width: 100%;
	  height: auto;
}

#owl-demo2 .item img{
	    display: block;
	    width: 100%;
	    height: auto;
}

.galleryfullstoryOWL>.owl-theme .owl-controls .owl-buttons  {
    color: #FFF;
    display: inline-block;
    zoom: 1;
    margin: 5px;
    padding: 3px 10px;
    font-size: 12px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 0px;
    background: #869791;
    filter: Alpha(Opacity=50);
    opacity: 0.5;
}


/*тексты под каруселями */
.carus-main a{
	color: #000;
	text-decoration: none;
	border-bottom: 1px dashed #000;
	font-size: 12px;
}

/*рамки вокруг иконк на главной */
.ramka-main {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 10px;
	text-align: center;
	left: 0;
	right: 0;
	border: 1px solid #655a5a;
	text-decoration: none;
}
.ramka-main a .text {
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-size: 16px;
	color: black;
}

.only-ramka {
	border: 1px solid #655a5a;
}

/*стили с сайта iveco */
.banners {
	font-size: 13px;
}
.banners .banner {
	padding: 15px 15px 15px 15px;
	background-color: white;
	margin: 0 0 32px 0;
}
.banners .banner .title {
	position: absolute;
	margin-top: 5px;
	margin-left: -22px;
	padding: 2px 10px 2px 20px;
	background-color: black;
	color: white;
	text-transform: uppercase;
	text-align: center;
}
.banners .banner .title .tri {
	position: absolute;
	width: 7px;
	height: 5px;
	margin-left: -20px;
	margin-top: -7px;
	background-image: url(images/tri.png);
}
.banners .subtitle {
	font-weight: bold;
}
.banners a {
	color: black;
	text-decoration: none;
}
.banners a:hover {
	color: #999;
	text-decoration: underline;
}

/* тени для блоков */
.effect1 {
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
	-moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
	-webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
	-khtml-box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}
.effect2 {

   -webkit-box-shadow: 0 10px 6px -6px #777;
       -moz-box-shadow: 0 10px 6px -6px #777;
            box-shadow: 0 10px 6px -6px #777;
}
.effect7 {
    position:relative;
    -webkit-box-shadow:0 0 15px rgba(0, 0, 0, 0.8);
       -moz-box-shadow:0 0 15px rgba(0, 0, 0, 0.8);
            box-shadow:0 0 15px rgba(0, 0, 0, 0.8);
}
.effect7:before, .effect7:after {
    content:"";
    position:absolute;
    z-index:-2;
    -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    top: 10px;
    left: 20px;
    right: 20px;
    -moz-border-radius: 100px 100px 100px 100px / 10px 10px 10px 10px;
    border-radius: 100px 100px 100px 100px / 10px 10px 10px 10px;
}
.effect7:after {
    right: 20px;
    left: 20px;
    -webkit-transform:skew(8deg) rotate(3deg);
       -moz-transform:skew(8deg) rotate(3deg);
        -ms-transform:skew(8deg) rotate(3deg);
         -o-transform:skew(8deg) rotate(3deg);
            transform:skew(8deg) rotate(3deg);
}


/*fullstory - для прайсов */
.original-price {
	height: 100%;
	width: 100%;
	font-size: 12px;
	margin: 0;
	padding: 2px;
	border: 1px solid #d50000;
}
.price-red {
	color: #d50000;
	font-size: 1.7em;
}	
.ramka-fullstr {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 10px;
	text-align: left;
	color: #fff;
	border: 1px solid #d50000;
	background-color: #d50000;
	text-decoration: none;
}
.ramka-fullstr a {
	color: #fff;
	text-transform: uppercase;
	font-size: 16px;
}
/*shortstory  GRYD - для прайсов */
.shstory-1 {
	height: 320px;
	overflow: hidden;
}

/*форма предзаказа */
.preorder_hidden,.preorder_hidden div{display:none}


/*мега меню с табами */
.navbar-brand { 
  width: 70px;
  height: 50px;
  background: url('http://www.iv-service.ru/favicon.ico') no-repeat center center;
  background-size: 50px;  
}

.nav-tabs {
  display: inline-block;
  border-bottom: none;
  padding-top: 15px;
  font-weight: bold;
}
.nav-tabs > li > a, 
.nav-tabs > li > a:hover, 
.nav-tabs > li > a:focus, 
.nav-tabs > li.active > a, 
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  border: none;
  border-radius: 0;
}

.nav-list { border-bottom: 1px solid #eee; }
.nav-list > li { 
  padding: 20px 15px 15px;
  border-left: 1px solid #eee; 
}
.nav-list > li:last-child { border-right: 1px solid #eee; }
.nav-list > li > a:hover { text-decoration: none; }
.nav-list > li > a > span {
  display: block;
  font-weight: bold;
  text-transform: uppercase;
}

.mega-dropdown { position: static !important; }
.mega-dropdown-menu {
  padding: 20px 15px 15px;
  text-align: center;
  width: 100%;
}

/* Обратный звонок */
.call-top {
	position: fixed;
	top: 30%;
	right: 1px;
	text-indent: -9000px;
	overflow: hidden;
	background: url('../images/call/call.png');
	display: block;
	width: 39px;
	height: 198px;
}

/* кнопки в стиле ??веко */
.price1 {
	color: #fff;
	background: #000;
	font-size: 13px;
	font-weight: normal;
	text-transform: uppercase;
	padding: 0 12px;
	display: inline-block;
	height: 27px;
	line-height: 27px;
}
.price1 a {
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	padding-bottom: 10px;
}
.price1_1 {
	color: #fff;
	background: #000;
	font-size: 13px;
	font-weight: normal;
	padding: 0 12px;
	display: inline-block;
	height: 27px;
	line-height: 27px;
}
.price1_1 a {
	color: #fff;
	text-transform: none;
	text-decoration: none;
	padding-bottom: 10px;
}
.price2 {
	color: #fff;
	background: #164194;
	font-size: 13px;
	font-weight: normal;
	padding: 0 7px;
	display: inline-block;
	height: 27px;
	width: 100%;
	line-height: 27px;
	text-align: center;
}
.price2 a {
	color: #fff;
	text-transform: none;
	text-decoration: none;
}
.price2_1 {
	color: #fff;
	background: #164194;
	font-size: 13px;
	font-weight: normal;
	padding: 0 7px;
	display: inline-block;
	height: 27px;
	width: 100%;
	line-height: 27px;
	text-align: center;
}
.price2_1 a {
	color: #fff;
	text-transform: none;
	text-decoration: none;
}

.price-green {
	color: #fff;
	background: #4f7942;
	font-size: 13px;
	font-weight: normal;
	padding: 0 7px;
	display: inline-block;
	height: 27px;
	width: 100%;
	line-height: 27px;
	text-align: center;
}
.price-green a {
	color: #fff;
	text-transform: none;
	text-decoration: none;
}
.price-green_1 {
	color: #fff;
	background: #4f7942;
	font-size: 13px;
	font-weight: normal;
	padding: 0 7px;
	display: inline-block;
	height: 27px;
	width: 100%;
	line-height: 27px;
	text-align: center;
}
.price-green_1 a {
	color: #fff;
	text-transform: none;
	text-decoration: none;
}
.price {
	color: #fff;
	background: #c41e3a;
	font-size: 15px;
	font-weight: bold;
	padding: 0 7px;
	display: inline-block;
	height: 27px;
	line-height: 27px;
}

.old-price {
	color: #000;
	background: #fff;
	font-size: 15px;
	font-weight: bold;
	padding: 0 7px;
	display: inline-block;
	height: 27px;
	line-height: 27px;
}
.price22 {
	color: #fff;
	background: #164194;
	font-size: 15px;
	font-weight: bold;
	padding: 0 7px;
	display: inline-block;
	height: 27px;
	line-height: 27px;
}
.price3 {
	color: #fff;
	background: #4f7942;
	font-size: 15px;
	font-weight: bold;
	padding: 0 7px;
	display: inline-block;
	height: 27px;
	line-height: 27px;
}

.price3 a {
	text-decoration: none;	
	color: #fff;
	font-weight: bold;
}

.price4 {
	color: #fff;
	background: #485294;
	font-size: 15px;
	font-weight: bold;
	padding: 0 7px;
	display: inline-block;
	height: 27px;
	line-height: 27px;
}

.price4 a {
	text-decoration: none;	
	color: #fff;
	font-weight: bold;
}

.shapka-1 p {
	margin-top: 15px;
}
.shapka-2 p {
	margin-top: 15px;
}
.shapka-3 p {
	margin-top: 15px;
}
.shapka-4 p {
	font-weight: bold; 
	font-size: 24px;
}

.shapka-5 p, .shapka-5 a {
	font-weight: bold; 
	font-size: 14px;
	color: #164194;
	margin-top: -15px;
	text-decoration: underline;
	padding-left: 45px;
}

.shapka-6 p, .shapka-6 a {
	font-weight: bold; 
	font-size: 14px;
	color: #164194;
	margin-bottom: 0px;
	text-decoration: underline;
	padding-left: 45px;
}

.short-pic {
	width: 100%;
}

.short-pic100 img {
	width: 100%;
}

/*  рекомендованные запчасти  */

.anons-zap-img {
	float: left; /* Обтекание по правому краю */
	margin-right: 10px;
	width: 100px; /* Ширина блока */
}
.anons-zap-img img {
	border: 1px solid grey; /* Параметры рамки */
	width: 100px;
}

.anons-zap  {
	width: 100px;
	font-size: 10px;
	color: #555555;
	float: right; 

}

.anons-zap b {
	font-weight: bold;
	color: #000;
	font-size: 12px;
}

.anons-zap span {
	font-weight: bold;
    font-size: 12px;
	color: red;
}

.anons-zap-td td {
	vertical-align: top;
}


/* выравнивание блоков по 3 в ряд */
#dle-content .short-news:nth-of-type(3n+1) { clear: both; }
/* выравнивание блоков по 2 в ряд */
#dle-content .short-news2:nth-of-type(2n+1) { clear: both; }

/* полная новость большие картинки */
.fullst img {
	padding: 0px;
}
.fullst2 img {
	margin: 0 5px 5px 0;
	max-width: 100%;
}

/* полная новость картинки-карусели */
.fullst-carusel img {
	display: none;
}

/* полная новость спрятать большую картинку */
.no-only-pic img:nth-of-type(1) {
	display: none;
}

/*для больших таблиц*/
.fancy {
	width: 600px;
	border: 1px solid #8c8c8c;
	font-size: 10px;
	border-spacing: 0px;
}


.fancy thead th {

    vertical-align: middle;
    font-size: 9px;

    border: 1px solid #8c8c8c;
    background: #17469e;
    color: #fff;
    padding:0 2px;
}

.fancy tbody td {
    border: 1px solid #8c8c8c;
    text-align: left;
    padding: 4px;
    vertical-align: middle;
    line-height: 17px;
    font-size: 12px;
}

.fancy tbody td:first-child {
    text-align: left;
}

.fancy tr td:first-child a{text-decoration:none;}

.fancy tr td:first-child a:first-child{font-weight:bold;}

.fancy tbody td:last-child {
    /*line-height: 35px;*/
}

.bulet-1 {
	background-image: url(../images/blue_bulet.png);
	background-repeat: no-repeat;
	background-position: center;
	text-align: center; 
	color: #17469e;
}


/*для модальных окон конструктов форм обратной связи*/
.form-bootstrap h1 {
color: #000;
font-size: 18px;
line-height: 28px;
margin-bottom: 10px;
text-align: left;
}

h1#fosmod_title  {
	/* color: #fff; */
	font-size: 18px;
	line-height: 20px;
}

.form-bootstrap textarea,
.form-bootstrap select {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form-bootstrap textarea {
	display: block;
	width: 100%;
	min-height: 80px;
}

.form-bootstrap input {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}


/*стили для выделения активной ссылки */

.active2 {
	padding: 5px;
	background-color: #164194;
	color: #fff !important;;
}
/*стили активной ссылки в li + js */
.sortMenu ul {
list-style: none;
padding-left: 0;
}
.sortMenu ul li ul {
list-style: none;
padding-left: 20px;
}
.sortMenu ul li.current>a span {
border-bottom-width: 0;
}
.sortMenu a span {
border-bottom: 1px solid #c2c2c2;
}
.sortMenu a:hover {
background-color: #ccc;  /*цвет фона при наведении*/
color: #000;
text-decoration: none;
}
.sortMenu ul li.current>a {
background-color: #164194; /*цвет фона активной ссылки*/
color: white;
text-decoration: none;
}
.sortMenu a {
padding: 2px 3px;
display: inline-block;
font-size: 12px;
color: #252525;
text-decoration: none;
}

.sortMenu ul li .active  {
background-color: #164194;
color: #fff;
text-decoration: none;
}


/* многоуровневое меню дропдаун */

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}


.navbar-inverse .navbar-nav>.active>a:hover{
	color: #000;
	background-color: #EEEEEE;
}

/*Маркер акции в краткой новости*/
.marker_02 {
	color: #fff;
	background: #c41e3a;
	font-weight: bold;
	padding: 5px 10px;
	text-transform: uppercase;	
}

/*Маркер "В наличии" в краткой новости*/
.marker_09 {
	color: #fff;
	background: #FF4A18;
	font-weight: bold;
	padding: 5px 10px;
	text-transform: uppercase;
	border-radius: 6px;
}

.marker_04 {
	
	margin-top: 5px;
	opacity: 1;	
}

.row .marker_04 {
	position: absolute;
	right: 15px;
	z-index: 100;
}

/*Маркер акции в полной новости*/
.marker_01 {
	color: #fff;
	background: #c41e3a;
	font-size: 30px;
	font-weight: bold;
	padding: 10px;	
}

.fullst2 .marker_01 {
	position: absolute;
	right: 15px;
	z-index: 100;
}

.marker_03 {
	margin-top: 65px;
	opacity: 1;	
}

.fullst2 .marker_03 {
	position: absolute;
	right: 15px;
	z-index: 100;
}

.actsia-td-1 {
	width: auto;
}
.actsia-td-2 {
	width: 200px;
	text-align: right;
	padding-left: 10px;	
}

.marker-sm-v1 {
	color: #fff;
	background: #c41e3a;
	font-size: 12px;
	font-weight: bold;
	padding: 10px;	
}
/* АДАПТИВНОСТЬ ДОРАБОТКА */
/* Правки для разной ширины экрана */


@media (min-width: 320px) and (max-width:  480px) {	/* если ширина экрана от 340px до 480px */
	.shapka-1 p {
		text-align: left;
	}
	.shapka-2 p {
		text-align: right;
		clear: both;
	}
	.shapka-3 p {
		text-align: center;
		font-size: 12px;
	}
	.shapka-4 p {
		text-align: center;
		font-weight: bold; 
		font-size: 16px;
		padding-left: 0px;
	}
	.shapka-5 p, .shapka-5 a {
		text-align: center;
		padding-left: 0px;
	}
	.shapka-6 p, .shapka-6 a {
		text-align: center;
		padding-left: 0px;
	}
	.short-pic {
		width: 150px;
	}
	.actsia-td-1 {
		width: auto;
	}
	.actsia-td-2 {
		width: 160px;	
	}
	.marker_03 {
		margin-top: 10px;	
	}
	#mob-header-3 {text-align: center;}
}

@media (min-width: 481px) and (max-width:  767px) {	/* если ширина экрана от 481px до 767px */
	.shapka-1 p {
		text-align: left;
	}
	.shapka-2 p {
		text-align: right;
		clear: both;
	}
	.shapka-3 p {
		text-align: left;
		
	}
	.shapka-4 p {
		text-align: right;
		font-weight: bold; 
		font-size: 24px;
	}
	.shapka-5 p, .shapka-5 a {
		padding-left: 10px; 
	}
	.short-pic {
		width: 150px;
	}
	.actsia-td-1 {
		width: auto;
	}
	.actsia-td-2 {
		width: 160px;	
	}
}

@media (min-width: 768px) and (max-width: 992px) {	/* если ширина экрана от 768px до 992px */
	.shapka-1 p {
		text-align: left;
	}
	.shapka-2 p {
		text-align: left;
	}
	.shapka-3 p {
		text-align: left;
		
	}
	.shapka-4 p {
		text-align: left;
		font-weight: bold; 
		font-size: 24px;
	}
	.shapka-5 p, .shapka-5 a {
		padding-left: 45px; 
	}
	.actsia-td-1 {
		width: auto;
	}
	.actsia-td-2 {
		width: 160px;	
	}
}


/*оформление табов*/

.nav-tabs {
  border-bottom: 1px solid #dddddd;
}
.nav-tabs {
  margin-bottom: 15px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus {
  color: #164194; /*цвет текста в активной вкладке*/
  background-color: #fff; /*цвет фона в активной вкладке*/
  border: 1px solid #424242; /*цвет рамки */
  border-bottom-color: transparent;
  cursor: default;
}

.nav-tabs > li.active > a:hover {
  color: #164194; /*цвет текста при наведении на вкладку*/
  background-color: #ccc; /*цвет фона при наведении на вкладку*/
  border: 1px solid #424242; /*цвет рамки при наведении */
}

.nav-tabs > li > a {
  margin-right: 2px;
  line-height: 1.42857143;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  color: #fff; /*цвет текста в неактивной вкладке*/
  background-color: #164194; /*цвет фона в неактивной вкладке*/
}

.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
}

.navbar {
	min-height: 36px;
  }

/*оформление полной новости в шаблоне fullstory_news.tpl*/

.fullstory img {
	padding: 5px;
	margin: 5px;
	max-width: 100%;
}
.fullstory h4 {
	font-size: 16px;
	line-height: 1.2;
	margin-top: 5px;
	margin-bottom: 5px;
}

.fullstory h3 {
	font-size: 20px;
	line-height: 1.4;
	margin-top: 5px;
	margin-bottom: 5px;
}


/* ============================================================== */
/* многоуровневое меню для DLE тега {catmenu} */
/* ============================================================== */
#primary_nav_wrap {
    margin-top: 15px z-index: 1500;
}

#primary_nav_wrap ul {
    list-style: none;
    position: relative;
    float: left;
    margin: 0;
    padding: 10px;
}

#primary_nav_wrap ul a {
    display: block;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    line-height: 32px;
    padding: 0 15px;
    font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#primary_nav_wrap ul li {
    position: relative;
    float: left;
    margin: 0;
    padding: 0;
    z-index: 1500;
}

#primary_nav_wrap ul li.current-menu-item {
    background: rgba(35, 82, 124, 0.46);
    color: #fff;
}

#primary_nav_wrap ul li:hover {
    background: rgba(35, 82, 124, 0.46);
    color: #fff;
}

#primary_nav_wrap ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 0;
    border: solid 1px #ccc;
    z-index: 1500;
}

#primary_nav_wrap ul ul li {
    float: none;
    width: 260px;
}

#primary_nav_wrap ul ul a {
    line-height: 120%;
    padding: 10px 15px;
}

#primary_nav_wrap ul ul ul {
    top: 0;
    left: 100%;
}

#primary_nav_wrap ul li:hover > ul {
    display: block;
}


/* ============================== */
/* Изменения между версиями 11.2 и 11.3 */
/* ============================== */
.instagram-media, .twitter-tweet {display: inline-block !important;}



/* ============================== */
/* Исправление цвета текста в табах ТТХ машинок */
/* ============================== */
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background-color: #eee;
    border-color: #337ab7;
    color: #337ab7; 
}


.fullst-noimage img {
	display: none;
}

/* Модальные окна jQueryUI */
.ui-dialog .ui-widget .ui-widget-content .ui-corner-all .modalfixed .dle-popup-alert .ui-draggable .ui-dialog-buttons {
	z-index: 2007;
}

/* Новые ссылки */

.historySale {
	padding: 10px;
	background-color: #164194; /* фирменный синий */
	color: #fff !important;
}
/* .historySale a {
	color: #fff;
} */

/* оформление списков внутри полной новости */
.fullstory ul {
	list-style: square outside;
	color: #164194;
	margin-left: -20px;
}

.fullstory ol{
  counter-reset: myCounter;
}

.fullstory ol li{
  list-style: none;
}

.fullstory ol li:before {
  counter-increment: myCounter;
  content:counter(myCounter);
  color: white;
  background: #164194;
  display: inline-block;
  text-align: center;
  margin: 5px 10px;
  line-height: 40px;
  width: 40px;
  height: 40px;
}

.fullstory .btn-primary a {
	color: #fff;
}

/* Обрезка слайдов под один размер */
.crop-box-h200-cover {
    position: relative;
    overflow:hidden;
    min-height: 200px;
}
.crop-box-h200-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.crop-box-h200-contain {
    position: relative;
    overflow:hidden;
    min-height: 200px;
}
.crop-box-h200-contain img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.crop-box-h240-cover {
    position: relative;
    overflow:hidden;
    min-height: 240px;
}
.crop-box-h240-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.main_gallery li img {
    float: left;
    margin-right: 5px;
	margin-bottom: 5px;
    border: 5px solid #fff;
    width: 160px;
    height: 160px
}


/* ========================================= */
/* Poll Component for IVECO-AKT (DLE CMS)    */
/* Based on iOS-style design system          */
/* ========================================= */

:root {
  /* Fallbacks, если переменные не объявлены глобально */
  --poll-bg: var(--ios-card, #ffffff);
  --poll-text: var(--ios-text, #1d1d1f);
  --poll-border: var(--ios-border, #d2d2d7);
  --poll-primary: var(--primary-color, #164194);
  --poll-radius: 12px;
  --poll-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* --- Контейнер опроса (универсальный) --- */
.poll-wrapper,
.dpad.infoblock.radial,
#pollbox.gr-box {
  background: var(--poll-bg);
  border: 0.5px solid var(--poll-border);
  border-radius: var(--poll-radius);
  padding: 20px 16px;
  margin: 24px 0;
  box-shadow: var(--poll-shadow);
  max-width: 100%;
}

/* Заголовки */
.poll-wrapper .heading,
.poll-wrapper .vtitle,
#pollbox .vtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--poll-text);
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--poll-border);
  line-height: 1.3;
  text-align: center;
}

/* --- Список вариантов (DLE native overrides) --- */
/* DLE генерирует форму с id="poll" внутри {list} */
.poll-wrapper #poll,
#pollbox #poll {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Скрываем стандартные маркеры списка DLE */
.poll-wrapper #poll ul,
#pollbox #poll ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.poll-wrapper #poll li,
#pollbox #poll li {
  margin: 0;
  padding: 0;
}

/* --- Элемент ответа (Radio/Checkbox) --- */
.pollanswer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 4px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-radius: 8px;
}

.pollanswer:hover {
  background: rgba(0, 113, 227, 0.04);
}

/* Скрываем нативный инпут, но оставляем доступным для a11y */
.pollanswer input[type="radio"],
.pollanswer input[type="checkbox"],
#pollbox input[type="radio"],
#pollbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid var(--poll-border);
  border-radius: 50%; /* Круглые как в iOS */
  background: var(--poll-bg);
  margin: 2px 0 0 0;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  display: grid;
  place-content: center;
}

/* Квадратные для множественного выбора (опционально) */
.pollanswer input[type="checkbox"],
#pollbox input[type="checkbox"] {
  border-radius: 6px;
  margin-right: 20px
}

/* Состояние Checked */
.pollanswer input:checked,
#pollbox input:checked {
  background-color: var(--poll-primary);
  border-color: var(--poll-primary);
}

/* Иконка галочки через SVG (как в вашем стиле) */
.pollanswer input:checked::after,
#pollbox input:checked::after {
  content: "";
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* Фокус для доступности (клавиатура) */
.pollanswer input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.25);
}

/* Текст варианта ответа */
.pollanswer label,
.pollanswer span,
#pollbox .form-check-label {
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--poll-text);
  cursor: pointer;
  user-select: none;
  padding-top: 2px; /* Визуальное выравнивание с инпутом */
  display: flex;
  align-items: center;
}
.form-check-label .form-check-input {margin-right: 20px}

/* --- Футер опроса (кнопки и статистика) --- */
.poll-footer,
.dpad.infoblock.radial > div[align="center"]:last-of-type,
#pollbox .vfoot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 0.5px solid var(--poll-border);
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Статистика голосов */
.poll-stats,
.dpad.infoblock.radial [voted],
#pollbox [voted] {
  font-size: 0.9rem;
  color: var(--secondary-text, #6e6e73);
  text-align: center;
  width: 100%;
  margin-bottom: 12px;
  font-weight: 500;
}

/* --- Кнопки (интеграция с .fbutton и .btn) --- */
.poll-wrapper .fbutton,
.poll-wrapper .btn,
#pollbox .btn {
  appearance: none;
  border: 1px solid var(--poll-primary);
  background: var(--poll-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px; /* Тач-таргет */
  min-width: 120px;
  text-align: center;
  text-decoration: none;
  flex: 1;
  max-width: 200px;
}

/* Вторичная кнопка (Результаты) - прозрачная */
.poll-wrapper .fbutton:last-of-type,
.poll-wrapper .btn-secondary,
#pollbox .btn-secondary,
#pollbox .vfoot .btn:last-child {
  background: transparent;
  color: var(--poll-primary);
  border-color: var(--poll-primary);
}

/* Hover/Active эффекты */
@media (hover: hover) {
  .poll-wrapper .fbutton:hover,
  .poll-wrapper .btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
  }
  
  .pollanswer:hover {
    background: rgba(0, 113, 227, 0.06);
  }
}

.poll-wrapper .fbutton:active,
.poll-wrapper .btn:active {
  transform: scale(0.98);
  opacity: 0.85;
}

/* --- Состояние "Результаты" (после голосования) --- */
/* DLE заменяет инпуты на бары прогресса, стилизуем их */
#poll .bar-container,
.poll-wrapper .bar {
  background: var(--poll-border);
  border-radius: 6px;
  height: 8px;
  overflow: hidden;
  margin: 4px 0 2px 0;
}

#poll .bar-inner,
.poll-wrapper .bar span {
  display: block;
  height: 100%;
  background: var(--poll-primary);
  border-radius: 6px;
  transition: width 0.4s ease;
}

.poll-percent {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--poll-text);
  margin-left: 8px;
}

/* --- Адаптивность (Mobile First) --- */
@media (max-width: 480px) {
  .poll-wrapper,
  #pollbox.gr-box {
    padding: 16px 12px;
    margin: 16px -12px; /* Вынос на края контейнера на мобильных */
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  
  .poll-footer,
  #pollbox .vfoot {
    flex-direction: column;
  }
  
  .poll-wrapper .fbutton,
  .poll-wrapper .btn,
  #pollbox .btn {
    width: 100%;
    max-width: none;
  }
  
  .pollanswer {
    padding: 10px 2px;
  }
  
  .pollanswer label,
  .pollanswer span {
    font-size: 1rem;
  }
}

#pollbox .btn-akt-black {
	background: black !important;
    color: white !important;
}

/* Dark mode support (если используется в шаблоне) */
@media (prefers-color-scheme: dark) {
  :root {
    --poll-bg: var(--ios-card-dark, #1c1c1e);
    --poll-text: var(--ios-text-dark, #f5f5f7);
    --poll-border: var(--ios-border-dark, #38383a);
  }
  
  .pollanswer:hover {
    background: rgba(255, 255, 255, 0.05);
  }
}


/* ========================================= */
/* dark https://codepen.io/axelaredz/pen/drbWJL */
/* ========================================= */
body.dark-theme {
    background: #2b303b;
    color: rgba(255, 255, 255, .7);
}
body.dark-theme article {
    background: #2b303b;
    border-color: #fff;
    padding:.5rem;
}
body.dark-theme p {
    color: lightgray;
}

body.dark-theme a{
    color: #fff;
}
body.dark-theme .wrapper {
    background-color: transparent;
}
body.dark-theme .banners .banner {
	background-color: transparent;
}
body.dark-theme .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: rgb(255 255 255 / 15%);
}
body.dark-theme .list-group-item {
    background-color: transparent;
    border: 1px solid #ddd;
}
body.dark-theme .effect2 {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
body.dark-theme .footer {
    background: transparent;
}
body.dark-theme .banners .banner .title .tri {
    background-image: none;
}
body.dark-theme .header {
    background: #080808a1;
}
body.dark-theme .bg-speedbar {
	background-color: transparent; 
}
body.dark-theme .breadcrumb {
    background-color: transparent;
}
body.dark-theme .panel {
    background-color: transparent;
}
body.dark-theme .btn-default {
    background-color: transparent;
}
/*CatSearch*/
body.dark-theme table.cs-table .cs-sort-th {
    background: transparent;
}
body.dark-theme table.cs-table tbody tr:nth-child(odd) td, 
body.dark-theme table.cs-table tbody tr:nth-child(odd) th {
    background-color: transparent;
}