/* RELAX STYLES */
body{font-size: 14px; font-style: normal; font-family: Arial; color: #333; margin: 0; background: url(/img/bkg.gif) repeat scroll left top; font-weight: normal; }
h1 {/*font-size: 20px;*/ font-weight: normal; color: #B10000; font-family: Arial; MARGIN: 0px 5px 5px 5px}
h2 {/*font-size: 16px; font-weight: bold; */color: #B10000; font-family: Arial; MARGIN: 0px 5px 5px 5px; text-align: left}
h2 a{color: #B10000;}
a.h2:hover {TEXT-DECORATION: none;}
img{ max-width: 100%; height: auto;}
.error {font-size: 110%; font-weight: bold; color: #FF0000; font-family: Arial; MARGIN: 5px; text-align: center} /*ошибки*/
.label {  border-radius: 0;}
#con .btn-warning{ margin: 3px;}
.btn-level{color: #337ab7; border-color: #337ab7;  margin: 3px;}
/* Разметка---------#e6e5d8*/
#main { margin: 0 auto;  background: url(/img/bkg.gif) repeat scroll left top;} /* max-width: 1000px;*/
#head { margin: 0 auto; padding: 2px 0 5px 0;  text-align: center; background: radial-gradient(circle farthest-side at right center, #e6e5d8, #f7f7f2, #e6e5d8);  } /*background: #f7f7f2 url(/img/bkgc.gif) repeat-y ;*/
#head_logo{ border: none; max-width: 450px; margin: 5px auto;  text-align: center; vertical-align: middle; color:#0009;} /*background-color: #f7f7f2;*/
#head_logo a img{border: none; margin: 0;}
#head_logo u {color:#d58c2d;}
#head_c div.row{ text-align: left; padding: 10px; font-size: 16px} /* width: 450px;float: left;*/
#head_c span a {color:#5e5e45;}
#head_c div.telreg, div.telreg a { color: #d58c2d; font-size: 16px; font-weight: 700;}
#head_f { margin: 5px 0 5px 0px; } /*float: right; width: 200px;  background-color: #f7f7f2; padding: 0; text-align: center; vertical-align: middle;*/

/* 2 навигация*/
.navbar-default { margin-bottom: 0px;}
#m2 {margin: 0 auto; padding: 0; border: none; font-size: 14px; background: inherit;}
#m2 form{}
#m2 input{margin: 5px; }
#m2 ul{margin: 0 auto; padding: 0; border: none;  list-style: none; }
#m2 ul li{}
#m2 li a{color:#333;  margin: 3px 3px; padding:5px; }
#m2 li a:hover{ color:#b10000;}
#m2 ul li a img { border: none; vertical-align: middle; margin: 0 0 0 10px;  width:70px;  height:23px;}

/* 1 навигация*/
#m1 {/*margin: 0 auto; padding: 0; border: none;*/}   
#m1 ul {  list-style: none;  margin: 0;   padding: 0px 2px 0px 0px; border: none;  border-width: 1px 1px 0 0;}
#m1 ul li {   margin: 0; vertical-align: middle;   height: auto;   margin: 2px 1px;   padding: 0;   vertical-align: middle;  background-color: #5E5E45; }
#m1 ul li.r1 {  float: right; margin: 0; vertical-align: middle;  padding: 0 0 0 5px;  background: #5e5e45; width: auto;  height: 30px;    position:relative;   display:block;   vertical-align: middle;}
#m1 ul li a {  background-color: #5E5E45;    text-align:center;   padding: 2px;   color: #fff;  font-size: 13px;  font-variant: small-caps;  text-transform: uppercase;    margin: 0;   vertical-align: middle; }
#m1 ul li a:visited {
}
/* меняем цвета при наведении */
#m1 ul li a:hover {   color: #000;    background: #fff;   text-decoration: none;}
#m1 ul li ul {
   background-color: #fff;
margin: 0;
padding: 0;
color: #333;
text-shadow: none;
border: solid 1px #a9a9a9; border-width:1px 1px 1px 1px;
}
#m1 ul li ul li{
height: auto;
background: none;
background-image: none;
margin: 0;
padding: 0 5px;
border: none;
height: auto;
background-color: #fff;
z-index:100 !important;
}
#m1 ul li ul li a{
/* сделаем рамку в 1 пиксель */
font-size: 13px;
   background-color: #fff;
   color: #333;
   border: dotted 1px #a9a9a9; margin: 2px 0; padding: 3px 0 3px 15px; border-width: 1px 0 0  0;
    text-align: left;
 font-variant: normal;
  font-stretch: normal;
   height: auto;
   text-transform: none;

}
#m1  ul li ul li a:hover {
   text-decoration: underline;
}

/* последующие вправо вниз*/
#m1 ul li ul li ul {
visibility: hidden;
position: absolute;
left: 190px;
top: -1px;
}
/* отображаем вложенное меню при наведении мыши */
#m1 ul li:hover {
   position: relative;
}
#m1 ul li:hover > ul {
   visibility: visible;
}
.dropdown:hover .dropdown-menu {  display: block;  margin-top: 0;}

/* Путь по сайту*/
.breadcrumb {color:#333; }
.breadcrumb a{color:#333; }
.breadcrumb a:hover{ color:#b10000; }
/* контекстное меню пр колонка*/
#myslidemenu ul {border: solid 1px #a9a9a9; border-width:1px 1px 1px 1px; padding: 3px; margin: 0; Z-INDEX: 20;list-style: none; color: #333333; font-size: 14px; color:#333333; text-align: left; width: auto;}
#myslidemenu ul li{position:relative; border: dotted 1px #a9a9a9; margin: 2px 0; padding: 3px 0 3px 5px; border-width:  0 0 1px 0;
vertical-align: middle; display: block; clear: both;}
#myslidemenu ul li a{ display: block; text-decoration:none; cursor: pointer; color: #333333; padding: 3px 0 3px 15px ; background: url(/img/st.gif) left no-repeat; }
#myslidemenu ul li strong{ display: block; text-decoration:none; color:#b10000; padding: 3px 0 3px 15px ; background: url(/img/st.gif) left no-repeat; font-weight: bold;}
#myslidemenu ul li a.act{color:#b10000;font-weight: bold; }
#myslidemenu ul li a:hover{color:#b10000; text-decoration: none;}/*#bf9400 background-color:#f5f7f8;*/
#myslidemenu ul li ul{margin:0px 0px 0px 5px; display: none; border: none; padding: 3px; font-size: 11px; }
#myslidemenu ul li ul.act{ display:block;  }
#myslidemenu ul li ul li{padding: 3px 0 3px 15px; margin: 0px 0; font-weight:normal; /*border: solid 1px #a9a9a9; */ margin: 2px 0; padding: 8px 0;/* border-width:  1px 0 0 0; */}
#myslidemenu ul li ul li a{text-decoration:none; cursor: pointer; color: #333333; padding: 3px 0 3px 15px ; margin: 0;}
#myslidemenu ul li ul li a:hover{color:#a00; text-decoration: none;}
#myslidemenu ul li ul li.act{background-color:#f5f7f8; font-weight: bold;}
#myslidemenu ul li ul li a.act{color:#b10000; font-weight: bold;}
.put {font-size: 13px; background-color:#f8ecc1; margin:1px;}
/*центр*/
#con{clear: both; width: 100%; margin: 0px; padding: 0px; background-color: #fff;}
#center{ margin: 0px;  }
/*Левая колонка*/
#left{ margin: 0; padding:2px 0 0 0;  background-color: #fff;}
#left h2{min-height:20px;  padding: 2px 5px; margin: 0;  color: #333;   font-size: 13px;   font-stretch: condensed;   font-variant: small-caps;
   font-weight: bold;   text-transform: uppercase;    margin: 0;   vertical-align: middle;
   border:1px solid #d6d4c0;  background:#e6e5d8;}
#left h2 a{color:#333; text-decoration: none;}
/*правая колонка*/
#r_col{ margin: 0px; padding:2px 0 0 0;  background-color: #fff;}
#r_col h2{ padding: 8px 5px; margin: 0;  color: #333;   font-size: 16px;  /* font-stretch: condensed;   font-variant: small-caps;
   font-weight: bold; */  text-transform: uppercase;    margin: 0;   vertical-align: middle;
   border:1px solid #d6d4c0;  background:#e6e5d8;}
#r_col table.item_block {width: 100%;}
/*подвал*/
#bot { width: 100%; margin: 0 auto; padding: 2px 0 5px 0; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc;  clear: both; text-align: center; font-size: 14px; background: radial-gradient(circle farthest-side at right center, #e6e5d8, #f7f7f2, #e6e5d8); /*background: #f7f7f2 url(/img/bkgc.gif) repeat-y ;*/
}
#bot ul{margin: 0 auto; padding: 0; border: none;  list-style: none; float: left; width: 100%;}
#bot ul li{display: inline;}
#bot ul li a{color:#333; font-size: 14px; margin: 3px 5px; }



/*контент*/
#content{ margin: 0; padding: 5px;}
#content h1{font-size: 26px; margin-top: 10px;}
#content h2{font-size: 18px; margin-top: 10px;}
#content h3{font-size: 18px; margin-top: 10px;}
#content h4{font-size: 16px; margin-top: 5px;}
#content div.atten{clear: both; font-size: 16px; margin: 10px; border: solid 1px #B10000; padding: 10px 10px 10px 70px; background: url('/img/logo_sg_50.png') no-repeat left center; min-height: 100px;}
#content table.item_block{float: left; width: auto; margin-right: 10px;}
#content p{margin: 5px; text-indent: 15px;}
/*-----end шабдон------------*/

/*блок SG*/
div.atten{clear: both; font-size: 16px; margin: 10px; border: solid 1px #B10000; padding: 10px 10px 10px 70px; background: url('/img/logo_sg_50.png') no-repeat left center;}

/*Карточки таблицей*/
.item_block{width: auto; margin: 0 auto; padding:0; border-collapse: collapse;  text-align: center; clear: left;}
.item_block tr{ margin: 0; padding:0;}
.item_block tr td{width: auto; margin: 0 auto; padding:5px;  border:1px solid #d6d4c0; }
#center .item_block tr td{width: 185px;}
.item_block tr td div.tit {min-height: 40px;}
.item_block tr td div.tit a{color: #000; font-size: 14px; font-weight: normal;}
.item_block tr td div.tit a:hover{text-decoration: none;}
.item_block tr td div.img {min-height: 120px; border: none; margin: auto; padding:0; text-align: center;}
.item_block tr td div.img img {width: 140px; border: none; margin: auto; padding:0;}
.item_block tr td div.kom {color: #ccc; font-size: 11px; padding: 1px 10px; margin: auto 0 0 0; text-align: center;}
.item_block tr td div.price { color: #d58c2d;font-size: 14px; font-weight: bold; margin: 0; padding: 1px 10px; text-align: center;}
/*Карточки div*/
.item_block{width: auto;  padding:0; border-collapse: collapse;  text-align: center; }
.item_block div{ margin: 0 auto; }
.item_block div div {width: auto;  padding: 5px;  border: 1px solid #d6d4c0; }
#center .item_block div  div{width: 180px; }
.item_block div div div.tit {min-height: 40px; border: none; text-align: left; display: block;}
.item_block div div div.tit a{color: #000; font-size: 14px; font-weight: normal;}
.item_block div div div.tit a:hover{text-decoration: none;}
.item_block div div div.img {min-height: 120px; border: none; margin: auto; padding:0; text-align: center; border: none; display: block;}
.item_block div div div.img img {width: 140px; border: none; margin: auto; padding:0;}
.item_block div div div.kom {color: #ccc; font-size: 11px; padding: 1px 10px; margin: auto 0 0 0; text-align: center; border: none; display: block;}
.item_block div div div.price { color: #d58c2d;font-size: 14px; font-weight: bold; margin: 0; margin-bottom: 5px; padding: 1px 10px; text-align: center; border: none; display: block;}

/*flex блоки*/
div.item_blockf{width: auto;  padding:0; border-collapse: collapse;  text-align: center; clear: left;}
div.item_blockf > ul{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /*space-around;*/
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: flex-start;
    align-self: stretch; 
   margin: 0 auto; list-style-type: none; padding: 0;
}
div.item_blockf > ul > li {
   display: block;
   min-width: 230px;
   flex:1 1 230px;
   align-self: stretch; 
   padding: 15px 5px 5px;  border: 1px solid #d6d4c0; margin: 5px;
   margin: 5px;
   /*max-width: 300px;*/
   
}
div.item_blockf > ul > li >.sgitem{
   display: block;
   min-width: 180px;
   flex:1 1 180px;
   align-self: stretch; 
   padding: 5px;  border: 1px solid #d6d4c0; margin: 5px;
}
div.item_blockf > ul > li > div.tit {min-height: 40px; border: none; display: block;}
div.item_blockf > ul > li > div.tit a{color: #000; font-size: 14px; font-weight: normal;}
div.item_blockf > ul > li > div.tit a:hover{text-decoration: none;}
div.item_blockf > ul > li > h3 {min-height: 40px; border: none; display: block; font-size: 16px;}
div.item_blockf > ul > li > h3 a{color: #333;; font-size: 16px; font-weight: normal;}
div.item_blockf > ul > li > h3 a:hover{text-decoration: underline; color: #B10000;}
div.item_blockf > ul > li > h4 {min-height: 40px; border: none; display: block; font-size: 14px;}
div.item_blockf > ul > li > h4 a{color: #000; font-size: 14px; font-weight: normal;}
div.item_blockf > ul > li > h4 a:hover{text-decoration: none;}
div.item_blockf > ul > li > div.img {min-height: 120px; border: none; margin: auto; padding:2px 0; text-align: center; border: none; display: block;}
div.item_blockf > ul > li > div.img img { border: none; margin: auto; padding:0;} /*width: 140px;*/
div.item_blockf > ul > li > div.kom {/*color: #ccc; */font-size: 12px; padding: 1px 10px; margin: auto 0 0 0; text-align: center; border: none; display: block;}
div.item_blockf > ul > li > div.price { color: #d58c2d;font-size: 16px; font-weight: bold; margin: 0; margin-bottom: 5px; padding: 1px 10px; text-align: center; border: none; display: block;}
div.item_blockf > ul > li.news {min-width: 300px ;}/*margin: 5px auto;*/
div.item_blockf > ul > li.news> h3 a{ font-size: 20px;}
#r_col div.item_blockf > ul > li.news> h2{background: none;}

div.itemblok{ display: table; top: 0; left: 0; height: 100%; max-width: 300px;  padding: 10px; margin: 0 auto;}
div.itemblok > h3 {display: table-header-group; min-height: 40px; border: none; font-size: 16px; margin: auto ;}
div.itemblok > h3 a{color: #333; font-size: 16px; font-weight: normal;  margin: 10px auto 5px;}
div.itemblok > h3 a:hover{text-decoration: underline; color: #B10000;}
div.itemblok > div.img { display: table-row; min-height: 120px; margin: auto; padding: 0; text-align: center; margin: 5px auto;  }
div.itemblok > div.img img { border: none; margin: 8px auto;} /*width: 140px;  margin: 10px auto;*/
div.itemblok > div.bot {  display: table-cell;  vertical-align: bottom;  text-align: center; margin: 5px auto;  }
div.itemblok > div.bot > div.kom {  margin: auto 0; text-align: center;}
div.itemblok > div.bot > div.price { color: #d58c2d;font-size: 16px; font-weight: bold; margin: 0; margin-bottom: 5px; padding: 6px 10px; text-align: center; border: none; display: block;}
div.itemblok > div.bot > div.price > small{color: #777}
div.itemblok > div.bot > form.str_cart2 > div.input-group > input { min-width: 40px;}

/*flex блоки разделы*/
div.level_blockf{width: auto;  padding:0; border-collapse: collapse;  text-align: center; clear: left;}
div.level_blockf > ul{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /*space-around;*/
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: flex-start;
    align-self: stretch; 
	margin: 0 auto; list-style-type: none; padding: 0;
}
div.level_blockf > ul > li {
   display: block;
   min-width: 230px;
   flex:1 1 230px;
   align-self: stretch; 
   padding: 5px;  border: 1px solid #d6d4c0; margin: 5px;
}
div.level_blockf > ul > li :hover{border-color: #B10000;}
div.level_blockf > ul > li > div.tit {min-height: 40px; border: none; display: block;}
div.level_blockf > ul > li > div.tit a{color: #000; font-size: 14px; font-weight: normal;}
div.level_blockf > ul > li > div.tit a:hover{text-decoration: none;}
div.level_blockf > ul > li > h3 { display: block; font-size: 16px; margin: 5px auto;}
div.level_blockf > ul > li > h3 a{color: #B10000; font-size: 16px; font-weight: normal;}
div.level_blockf > ul > li > h3 a:hover{text-decoration: underline; }
div.level_blockf > ul > li > div.img {min-height: 100px; border: none; margin: auto; padding:0; text-align: center; border: none; display: block;}


/*-Разделы блок----------------------------------------------------*/
.sort{text-align: left; margin: 5px; padding: 5px; background:#e6e5d8; border:1px solid #d6d4c0; color:#333; font-size: 14px;}
.sort form { margin: 0; padding: 0; border:0; display: inline; }
/*-------------------------------------------------------------*/

div.tech_s { border: 1px solid #D6D4C0;}
div.tech_s h2{ margin: 0; padding: 5px;}
div.tech_s ul{list-style: none; margin: 0; padding: 0;}
div.tech_s ul li{ margin: 3px 0 3px 10px; padding: 0;}

/* Cлайдер  */
#slider {width: auto;}
#myCarousel{max-width: 659px; margin: 3px auto;}
#myCarousel .item { /*background: #333; height: 200px !important;*/ text-align: center;  }
#myCarousel.main .item {/*background: #333;*/ text-align: center; height: max-content; }
#myCarousel .carousel{	margin:0 10px 10px 0;}
.carousel-showmanymoveone .cloneditem-1,
.carousel-showmanymoveone .cloneditem-2,
.carousel-showmanymoveone .cloneditem-3 {  display: none;}

@media all and (min-width: 768px) {
  .carousel-showmanymoveone .carousel-inner > .active.left,
  .carousel-showmanymoveone .carousel-inner > .prev {
    left: -50%;
  }
  .carousel-showmanymoveone .carousel-inner > .active.right,
  .carousel-showmanymoveone .carousel-inner > .next {
    left: 50%;
  }
  .carousel-showmanymoveone .carousel-inner > .left,
  .carousel-showmanymoveone .carousel-inner > .prev.right,
  .carousel-showmanymoveone .carousel-inner > .active {
    left: 0;
  }
  .carousel-showmanymoveone .carousel-inner .cloneditem-1 {
    display: block;
  }
  
@media all and (min-width: 768px) and (transform-3d), all and (min-width: 768px) and (-webkit-transform-3d) {
  .carousel-showmanymoveone .carousel-inner > .item.active.right,
  .carousel-showmanymoveone .carousel-inner > .item.next {
    -webkit-transform: translate3d(50%, 0, 0);
            transform: translate3d(50%, 0, 0);
    left: 0;
  }
  .carousel-showmanymoveone .carousel-inner > .item.active.left,
  .carousel-showmanymoveone .carousel-inner > .item.prev {
    -webkit-transform: translate3d(-50%, 0, 0);
            transform: translate3d(-50%, 0, 0);
    left: 0;
  }
  .carousel-showmanymoveone .carousel-inner > .item.left,
  .carousel-showmanymoveone .carousel-inner > .item.prev.right,
  .carousel-showmanymoveone .carousel-inner > .item.active {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
    left: 0;
  }
}
@media all and (min-width: 992px) {
  .carousel-showmanymoveone .carousel-inner > .active.left,
  .carousel-showmanymoveone .carousel-inner > .prev {
    left: -25%;
  }
  .carousel-showmanymoveone .carousel-inner > .active.right,
  .carousel-showmanymoveone .carousel-inner > .next {
    left: 25%;
  }
  .carousel-showmanymoveone .carousel-inner > .left,
  .carousel-showmanymoveone .carousel-inner > .prev.right,
  .carousel-showmanymoveone .carousel-inner > .active {
    left: 0;
  }
  .carousel-showmanymoveone .carousel-inner .cloneditem-2,
  .carousel-showmanymoveone .carousel-inner .cloneditem-3 {
    display: block;
  }
}
@media all and (min-width: 992px) and (transform-3d), all and (min-width: 992px) and (-webkit-transform-3d) {
  .carousel-showmanymoveone .carousel-inner > .item.active.right,
  .carousel-showmanymoveone .carousel-inner > .item.next {
    -webkit-transform: translate3d(25%, 0, 0);
            transform: translate3d(25%, 0, 0);
    left: 0;
  }
  .carousel-showmanymoveone .carousel-inner > .item.active.left,
  .carousel-showmanymoveone .carousel-inner > .item.prev {
    -webkit-transform: translate3d(-25%, 0, 0);
            transform: translate3d(-25%, 0, 0);
    left: 0;
  }
  .carousel-showmanymoveone .carousel-inner > .item.left,
  .carousel-showmanymoveone .carousel-inner > .item.prev.right,
  .carousel-showmanymoveone .carousel-inner > .item.active {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
    left: 0;
  }
}
.carousel-showmanymoveone >.carousel-inner > .active, .carousel-showmanymoveone >.carousel-inner > .next, .carousel-showmanymoveone >.carousel-inner > .prev {display: flex;}
.carousel-control {
    width: 10%;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 2px red;
    background-color: rgba(0,0,0,0);
    filter: alpha(opacity=50);
    opacity: .5;
}
.carousel-control.right, .carousel-control.left {background-image: none; opacity: 1;}
.carousel-control.right > a, .carousel-control.left > a { color: #337ab7; }
}
div.sgitem {padding: 5px;  border: 1px solid #d6d4c0; margin: 5px; text-align: center;}
div.sgitem > h3 {min-height: 40px; border: none; display: block; font-size: 16px;}
div.sgitem > h3 a{color: #333;; font-size: 16px; font-weight: normal;}
div.sgitem > h3 a:hover{text-decoration: underline; color: #B10000;}
div.sgitem > h4 {min-height: 40px; border: none; display: block; font-size: 14px;}
div.sgitem > h4 a{color: #000; font-size: 14px; font-weight: normal;}
div.sgitem > h4 a:hover{text-decoration: none;}
div.sgitem > div.img {/*min-height: 120px;*/  margin: auto; padding:2px 0; text-align: center; border: none; display: block;}
div.sgitem > div.img img { border: none; margin: auto; padding:0; display: block;} /*width: 140px;*/
div.sgitem > div.kom {/*color: #ccc; */font-size: 12px; padding: 1px 10px; margin: auto 0 0 0; text-align: center; border: none; display: block;}
div.sgitem > div.price { color: #d58c2d;font-size: 16px; font-weight: bold; margin: 0; margin-bottom: 5px; padding: 1px 10px; text-align: center; border: none; display: block;}


/*Новости на главной*/
div.main_news {margin: 10px 0 5px; padding-top: 5px; border-top: solid 1px #D6D4C0;}
div.main_news h3{font-size: 16px; font-weight: bold; color: #D58C2D; }
div.main_news h3 a{font-size: 16px; font-weight: bold; color: #D58C2D; }
div.main_news div p.date{ color: #D58C2D;}

.item-responsive {
  position: relative; /* относительное позиционирование */
}
.item-responsive:before {
  display: block; /* отображать элемент как блок */
  content: ""; /* содержимое псевдоэлемента */
  width: 100%; /* ширина элемента */
}
.item-16by9 {
  padding-top: 56,25%; /* (9:16)*100% */
}
.item-responsive>.content {
  position: absolute; /* абсолютное положение элемент */
  /* положение элемента */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.item-1by15 {
  padding-top: 150%; /* (2:1)*100% */
}

#navbar-link {display: none;}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
#head_f {display: block;}
#navbar-link {display: none;}
#ml2 {right:0; left: auto;}
#ml261 {right:0; left: auto;}
#ml10 {right:0; left: auto;}
#ml640 {right:0; left: auto;}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
/*#head_f {display: none;}*/
#rcart {display: none;}
#navbar-link {display: none;}
#ml6 {right:0; left: auto;}
#ml5 {right:0; left: auto;}
#ml4 {right:0; left: auto;}
#ml2 {right:auto; left:0;}
#ml261 {right:auto; left:0;}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
/*#head_f {display: none;}*/
/*#menu1 {display: none;}*/
#imag {display: none;}
#navbar-link {display: block;}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
/*#head_f {display: none;}*/
/*#menu1 {display: none;}*/
#imag {display: none;}
#navbar-link {display: block;}
}

/* Вкладки на карточках и на разделах*/
.nav-tabs {
  border-bottom: 1px solid #C9302C;
  /* цвет панели */
  background-color: #fff !important;
}
.nav-tabs > li > a {
  margin-right: 2px;
  line-height: 1.42857143;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  /* цвет фона вкладки */
  background-color: #EC971F !important;
  /* цвет текста */
  color: #fff;
}
.nav-tabs > li > a:hover {
  /* цвет границ вкладки при наведении */
  border-color: #C9302C #C9302C #C9302C;
  /* цвет фона вкладки при наведении */
  background-color: #985F0D !important;
  /* цвет текста при наведении */
  color: #eee;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  /* свойства активной вкладки */
  color: #555;
  cursor: default;
  background-color: #fff !important;
  border: 1px solid #C9302C;
  border-bottom-color: transparent;
}
.tab-pane{border-bottom: 1px solid #C9302C; border-left: 1px solid #C9302C; border-right: 1px solid #C9302C; padding: 10px}
/*Адаптивный блок видео*/
	.thumb-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 (если 4:3 — поставьте 75%) */
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
.thumb-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*-------потеряшки------------------*/
div.atten1{clear: both; font-size: 20px; margin: 10px 0 0;  padding: 10px 10px 10px 10px; border: solid 1px #B10000;}
div.atten1 ul{ text-align: left; margin: 0; padding: 0;  list-style: none; list-style: none;  }
div.atten1 ul li{ float: left; background: url(/img/gl.gif) no-repeat; height: 50px; vertical-align: middle; padding-left: 60px; margin: 10px 5px; padding-top: 10px; }
td.atten1 {margin:0; border: none; vertical-align: top;}
td.atten1 img{margin: 75px 0; border: none;}


.flex_block{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /*space-around;*/
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: flex-start;
    align-self: stretch; 
}
.flex_item {
   display: block;
   min-width: 180px;
   flex:1 1 180px;
   align-self: stretch; 
}


.bs-callout {
padding: 20px;
margin: 20px 0;
border: 1px solid #eee;
border-left-width: 5px;
border-radius: 3px;
}
.bs-callout-danger {
border-left-color: #d9534f;
}
.bs-callout-warning {
border-left-color: #f0ad4e;
}
.bs-callout-info {
border-left-color: #5bc0de;
}
.bs-callout h4 {
margin-top: 0;
margin-bottom: 5px;
}
.bs-callout-danger h4 {
color: #d9534f;
}
.bs-callout-warning h4 {
color: #f0ad4e;
}
.bs-callout-info h4 {
color: #5bc0de;
}
