/*Header*/
body {
  /*--mybtncolorover:#2e8606;/*цвет кнопки при наведении*/
}
a:hover {
    opacity: 1;
}

/*===== HEADER =====*/
.menu-list {
  -webkit-justify-content:flex-start;
}
.header-phone {
    margin-right: 15px;
    margin-left: 15px;
}
.top-menu {
  background-color: var(--color);/*цвет верхней плашки*/
}
.top-name-logo, .top-menu-list a, .top-menu .nav li a {
    color:#fff;
}
.top-name-logo:hover, .top-menu-list a:hover, .top-menu .nav li a:hover {
    color:var(--btncolor);
}

.navbar-fixed-top {
  background: var(--color);
}
.navbar-fixed-top .nav > li > a.open-menu, .navbar-fixed-top .nav a, .navbar-fixed-top .nav > li > a.header-cart{
  color:#fff;
}
.navbar-fixed-top .nav > li > a.open-menu:hover, .navbar-fixed-top .nav a:hover, .navbar-fixed-top .nav > li > a.header-cart:hover{
  color:var(--btncolor);
}
.page-header a, .page-header b {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-self: center;
  display: block;
}
/*===== MODAL MENU =====*/
.btn-primary, .btn-info{
  background-color: var(--color);
}
.addToCartFull:hover, .addToCartFull:focus, .btn-primary:hover, .btn-primary:focus, .btn-info:hover, .btn-info:focus {
  color: var(--btncolor);
  background-color: var(--btncolorover);
}
/*#-- Product page--#*/
#modalProductView .prodict-page-description{
  overflow-x: scroll;
}
#modalProductView .prodict-page-description > table, #modalProductView .prodict-page-description > iframe{
  max-width: 100%;
}
/*===== FILTER =====*/
.mobile-filter {
  background: var(--color);
}
.oneclick-btn {
  background: var(--color);
}
#faset-filter .faset-filter-block-wrapper h4:hover{
  color:#333;
  background-color:#ededed;
  border-color:#adadad;
}
#price-filter-body {
    padding-bottom: 10px;
}
.filter-row #price-filter-body .faset-filter-block-wrapper h4, .filter-row #faset-filter-body .faset-filter-block-wrapper h4 {
    margin-bottom: 5px;
}
#faset-filter-reset {
  border: 1px solid gray;
  padding-left: 8px;
  border-radius: 3px;
}
#faset-filter-reset:hover {
  background-color: #ededed;
}
/*===== CATALOG CATALOG MENU=====*/
.big-menu-wrap {
  overflow-y: auto;
}
.catalog-img:hover .catalog-background{
background: var(--color);
}
.catalog-img:hover .catalog-title {
    font-weight: bold;
}
/*картинка слева от каталога*/
.big-menu .catimg, .hidden-menu .catimg{
  vertical-align: middle;
  width: 100%;
  display: inline-flex;
}
.big-menu .catimg img, .hidden-menu .catimg img {
  display: inline-flex !important;
  height: 40px;
  width: 40px;
  vertical-align: middle;
}
.big-menu .catimg span, .hidden-menu .catimg span{
  vertical-align: middle;
  display: inline;
  padding-top: 5px;
}
/*раскрывающееся меню*/
.menu-wrap .container-fluid {
  margin-bottom: 1em; 
}
.dropdown-menu > li > a {
  padding-left: 0px;
}
.main-menu-block > li > ul.dropdown-menu-indent-sm a {
    height: 45px;
  padding-left: 5px;
  line-height: 41px;
}
.header-1 .menu-wrap.active.act {
    height: 100vh;
    overflow-y: auto;
}
.fixed-menu.menu-wrap {
  margin-top: 50px;
}
.active.menu-wrap .container-fluid > .dropdown-menu img {
  display: block;
  height: 100%;
  float: left;
  border-right: 1px solid
  #E4E1E1;
  padding-right: 5px;
}
.active.menu-wrap .container-fluid > .dropdown-menu span {
  padding-left: 5px;
}
.dropdown-menu.dropdown-menu-ident-sm.imageflow{
  height: 100%;
  padding-left: 0.4em;
}
.dropdown-menu.dropdown-menu-ident-sm.imageflow img{
}
/*раскрывающееся меню мобилы*/
.hidden-menu.visible-xs {
}
.hidden-menu-close {
  display: none;
    width: calc(100vw - 287px);
    height: 100%;
    position: fixed;
    left: 287px;
    top: 0;
    margin: 0;
    z-index: 9999;
}
.hidden-menu-close.active {
  display: block;
}
.solid-menus {
    margin-top: -1px!important;/*fix белой полосы*/
}
/* модальное ajax окно */
.modal-body #fotoload > .bxslider-pre img {
    width: 100%;
}
/*===== SLIDER =====*/
.slider.tabs {
  padding: 1em;
  margin-bottom: 0px;
}
.carousel-inner .item a{
  width: 100%;
  display: inline-block;
}
.carousel-inner .item img{
  margin-left: auto;
  margin-right: auto;
}
div.swiper-button-next:hover, div.swiper-button-prev:hover {
    background-color: var(--btncolor);
    color: var(--color);
}
/*===== CATALOG MAIN TABLE =====*/
.catalog-main {
    background: #f6f6f6;
    padding-top: 2em;
}
.catalog-main .catalog-wrap a{
    background: #fff;
}
/*выравниваем надпись виртуального каталога*/
.virtual-cat .catalog-desc-wrap {
  position: absolute;
  top: 0;
  left: 0;
}
/*масштабируем картинку виртуального каталога*/
.catalog-img > .img img {
    max-height: 100%;
    max-width: 100%;
}
/*===== BRANDS SLIDER =====*/
.brand-cell{
  min-height: 60px;
  display: flex;
  align-content: center;
  align-items: center;
  text-align: center;
}
.brand-cell > .nav-header {
  margin-left: auto;
  margin-right: auto;
}
.brand-name {
    position: relative;
    text-align: center;
    font-style: italic;
}
.brands .mega-menu-column img{
  width: auto;
  max-height: 60px; 
}
.brands div.swiper-button-next, .brands div.swiper-button-prev{
  top: calc(50% - 0px) !important;
}
/*===== Now Buy popup =====*/
.modal-nowBuy{
  min-height: 110px;
}
.nowBuy-img img {
    max-height: 60px;
}
.nowBuy-info p {
    font-size: 11px;
    font-weight: 300;
    margin-bottom: 5px;
    padding-right: 5px;

}
.nowBuy-title {
    max-height: 30px;
    overflow: hidden;
}
/*===== NEWS =====*/
.news_img{
    max-width: 100%;
    margin-bottom: 1em;
}
.news_img img {
    max-width: 100%;
    max-height: 350px;
}
#ModalNewsImg img {
    max-width: 100%;
    margin-left: auto;
  margin-right: auto;
  display: block;
}
#NewsCarousel.float-right, #NewsCarousel2.float-right{
  float: right;
}
#NewsCarousel.float-left, #NewsCarousel2.float-left{
  float: left;
}
#NewsCarousel img, #NewsCarousel2 img {
    max-height: 350px;
    box-shadow: 0px 0px 30px 10px rgba(0,0,0,0.8);
}
#NewsCarousel .carousel-caption, #NewsCarousel2 .carousel-caption {
  font-weight: bold;
  font-size: medium;
}
@media (max-width: 768px) {
section.brands {
  background: none;
}
}

@media (orientation: landscape) {
    #ModalNewsImg .modal-dialog{
  height: 90%;
  width: 60%;
}
}

@media (orientation: portrait) {
    #ModalNewsImg .modal-dialog{
  width: 95%;
  height: 60%;
}
}

/*===== Slider Newtip Main =====*/
.newtipslider .swiper-wrapper {
    padding-bottom: 10px;
}
.newtipslider div.swiper-button-next, .newtipslider div.swiper-button-prev{
  top:calc(50% - 47px) !important;
}

@media (min-width: 720px) and (max-width: 780px) {
.template-slider.hidden-xs.visible-ipad {
    display: block !important;
}
}
@media (min-width: 765px) and (max-width: 1198px) {
.newtipslider div.swiper-button-next, .newtipslider div.swiper-button-prev{
  top:calc(50% - 25px) !important;
}
.newtipslider .product-name{
  display: none !important;
}
.newtipslider .product-img{
  height: none;
} 
}
/*===== Slider News Main =====*/
.news-slider .news-img {
  margin: 0 auto;
  height: 176px;
  display: block;
  text-align: center;
  background:#fff;
}
.news-slider .news-img img{
  max-width: 100%;
    max-height: 170px;
    vertical-align: middle;
}
.dopmain{
  border-top: 1px solid #eaedef;
  border-bottom: 1px solid #eaedef;
  padding-top: 2em;
  padding-bottom: 2em;
}
.dopmain section:nth-child(2) {
  border-left: 1px solid #e3e8ea;
  border-right: 1px solid #e3e8ea;
}
.dopmain div.swiper-button-next, .dopmain div.swiper-button-prev {
  top:calc(50% - 47px) !important;
}
span.news-dalee {
  background: var(--color);
  position: relative;
  color:#fff;
  padding-left: 10px;
  padding-right: 10px;
}
span.news-dalee span:before {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  width: 0; 
    height: 0; 
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 5px solid #fff;
}
span.news-dalee span:after {
  display: block;
  position: absolute;
  right: -5px;
  top: 0;
  content: "";
  width: 0; 
  height: 0; 
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 5px solid var(--color);
}
/*===== Product Full =====*/
#fotoload .controls {
    top: calc(30%);
    position: absolute;
    display: block;
    width: 100%;
}
#fotoload .controls .bx-prev {
  float: left;
  z-index: 10;
  position: relative;
  left: -2em;
}
#fotoload .controls .bx-next {
  float: right;
  z-index: 10;
  position: relative;
  right: -2em;
}
#fotoload .bx-controls-direction a:hover {
    background-color: var(--btncolor);
}
.btn-circle:hover, .btn-circle:focus, .product-block-btn .btn:hover, .product-block-btn .btn:active, .carousel-control:hover, .carousel-control:active {
  color: var(--color);
    background: var(--btncolor);
    box-shadow: inset 0 3px 5px var(--btncolor);
}
/*--- Кнопки + / - ---*/
.quant-main .btn-default_l.btn-default:hover {
  background-color: var(--btncolor);
}
.quant-main .btn-default_r.btn-default:hover {
  background-color: var(--color);
}
/*--- Спецпредложения на страницк товара---*/
.specshop{
  background-color: #f6f6f6;
}
/*=== ORDER ===*/
.btn-success:hover, .btn-success:active {
  color: var(--btncolor);
  background-color: var(--btncolorover);
}
.paymOneEl.active, .paymOneEl:hover, .delivOneEl:hover, .delivOneEl.active {
  border: solid 2px var(--color);
}
.cart-btn-block .minus:hover, .cart-btn-block .minus:active{
  background-color: var(--btncolor);
}
.cart-btn-block .plus:hover, .cart-btn-block .plus:focus, .cart-btn-block td:hover .cart-plus, .cart-btn-block td:focus .cart-plus{
  background-color: var(--color);
  color: var(--btncolor);
}
#forma_cart_del .cart-delete:hover, #forma_cart_del .cart-delete:focus {
  background-color: var(--btncolor);
}
.order .btn.cart-clean:hover, .order .btn.cart-clean:focus, .order .btn.cart-clean:active, #forma_order .btn.btn-default.btn-lg:hover, #forma_order .btn.btn-default.btn-lg:focus, #forma_order .btn.btn-default.btn-lg:active {
  background-color: var(--btncolor);
}
