header p {
  text-align: left;
}
.header-container {
  height: auto;
  padding-bottom: 14px;
}
#openMenu {
  padding: 13px 8px;
  display: none;
  color: #fff;
  float: left;
  line-height: 18px;
  text-decoration: none;
  text-transform: uppercase;
  border-right: 1px solid #7ccdb2;
}
#nav.collapse {
  display: block;
  visibility: visible;
}
.buttonWid {
  z-index: 2;
}
.footer-middle .col-lg-3 {
  margin-top: 43px;
}
img {
  max-width: 100%;
}
.coppyright a {
  display: block;
  float: left;
  width: 33.333%;
  padding-right: 5px;
}
.coppyright img {
  height: auto;
}
#closeMenu {
  display: none !important;
}
.magik-verticalmenu {
  background: #fff;
}
.about-new li {
  margin-left: 20px;
}
.product-view .product-name h1 {
  width: auto;
}
.products-grid li.item.cat:nth-of-type(3n+1) {
  clear: none;
}
.old-table {
  width: 100%;
  overflow: auto;
  padding: 10px;
  border: 1px solid #ccc;
}
#anketa li {
  margin-left: 0;
}
.product-essential .product-image img {
  width: 100%;
}
table img {
  max-width: none;
}

/* lg */
@media (min-width: 1200px) {}
/* no-lg */
@media (max-width: 1199px) {
  header .margRig {
    margin-right: 0 !important;
  }
  header .logoWid {
    width: 23%;
  }
  header .buttonWid {
    padding-left: 0;
    width: 18% !important;
  }
  .search-box {
    width: 274px !important;
  }
  #nav > li > a {
    font-size: 11px;
    padding: 13px 8px;
  }
}

/* md */
@media (min-width: 992px) and (max-width: 1199px) {
  header .widFirst {
    width: 23% !important;
  }
  header .widSecond {
    width: 19% !important;
  }
  footer .smol {
    margin-top: 10px !important;
  }
}

/* sm */
@media (min-width: 768px) and (max-width: 991px) {
  #anketa .col-1 {
    width: 100%;
    padding-bottom: 0;
    border-bottom: 0;
  }
  #anketa .col-2 {
    width: 100%;
    padding-top: 0;
    border-top: 0;
  }
  header .logoWid {
    width: 40% !important;
  }
  header .widFirst {
    width: 30% !important;
  }
  header .widSecond {
    width: 25% !important;
  }
  header .buttonWid {
    width: 40% !important;
    text-align: center;
  }
  header .buttonWid .top-cart-contain {
    margin-top: -15px;
    margin-bottom: 0px;
    display: inline-block;
    float: none;
    width: 65%;
  }
  .search-btn-bg {
    height: 34px;
  }
  .search-box {
    width: 220px !important;
    padding-left: 0;
  }
  footer .smol {
    margin-top: 10px !important;
  }
  #categoryQ .LHS-nav {
    display: block !important;
  }
}

/* xs */
@media (max-width: 767px) {
  .product-essential {
    position: relative;
    z-index: -1;
  }
  #anketa .col-1 {
    width: 100%;
    padding: 30px;
    padding-bottom: 0;
    border-bottom: 0;
  }
  #anketa .col-2 {
    width: 100%;
    padding: 30px;
    padding-top: 0;
    border-top: 0;
  }
  #catalogGridQ {
    clear: both;
  }
  #categoryQ .LHS-nav .navbar-collapse {
    visibility: visible;
  }
  #categoryQ .LHS-nav {
    display: block !important;
  }
  .coppyright a {
    width: 100%;
    padding: 5px 5px 5px 0;
  }
  footer .smol {
    margin-top: 10px !important;
  }
  #openMenu {
    display: block;
  }
  #nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px 60px;
    z-index: 99;
    overflow: auto;
  }
  #nav > li:first-of-type {
    border-top: 1px solid #ccc;
  }
  #nav > li {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
    border-bottom: 1px solid #ccc;
  }
  #nav > li > a {
    display: block;
    width: 100%;
    text-align: center;
    background: #308f6f;
    border: 0;
  }
  #nav li.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: -1;
    margin: 0;
  }
  #closeMenu {
    display: block !important;
    position: fixed;
    right: 10px;
    top: 10px;
    color: #ccc;
    font-size: 20px;
    border: none !important;
    width: auto !important;
  }
  header {
    height: 130px !important;
  }
  header .logoWid {
    width: 50%;
    max-width: 200px;
    position: absolute;
    top: 15px;
    left: 0;
  }
  header .widFirst {
    position: absolute;
    top: 15px;
    left: 220px;
    width: 170px !important;
  }
  header .widSecond {
    position: absolute;
    top: 15px;
    left: 375px;
    width: 160px !important;
  }
  .adressWid {
    position: absolute;
    top: 0;
    right: 0;
  }
  header .buttonWid {
    position: absolute;
    top: 75px;
    right: 10px;
    width: 140px !important;
  }
  .buttonWid .top-cart-contain {
    margin-top: 0;
    top: 0;
    left: 0;
    height: auto;
  }
  .search-box {
    margin-top: 7px;
    width: 100% !important;
    max-width: 270px;
  }
  .collapse.in {
    display: block !important;
  }
  #magik-slideshow {
    height: auto !important;
  }
}

/* xxs */
@media (max-width: 630px) {
  header .widFirst {
    display: none;
  }
  header .widSecond {
    display: none;
  }
  .col-xxs-12 {
    width: 100%;
  }
  .col-xxs-6 {
    width: 50%;
  }
  .col-xxs-offset-0 {
    margin-left: 0 !important;
  }
  .col-xxs-offset-6 {
    margin-right: 50% !important;
  }
  .newsQ {
    max-width: 300px;
    float: none;
    margin: 0 auto;
  }
  .logoFoot {
    display: none;
  }
  .coppyright {
    float: right;
  }
}
@media (max-width: 500px) {
  .search-box {
    max-width: 200px;
  }
}
