@media (max-width: 768px) {
  .td-block {display: block;}
  .td-block.fll {float: left;}
  .td-block.flr {float: right;}
  .box-fogot a {display: inline-block; margin-top: 10px;}
  .order-list-table tbody tr {background: none; box-shadow: none; border-top: 1px solid #d9e0e3;}
  .order-list-table tbody tr:first-child {border: none;}
  .order-list-table tbody td { width: 100%; border: none; }
  .order-list-table tbody td + td {float: left; width: 30%;}
  .order-list-table tbody td + td + td {
    overflow: hidden;
    width: 70%;
  }
  .order-list-table tbody td + td + td + td{
    overflow: inherit;
    width: auto;
    float: left;
    margin-right: 10px;
  }
  .order-list-table tbody td + td + td + td + td + td {
    margin-right: 0;
  }
  .table-basket tbody tr td + td {
    padding-top: 10px;
  }

  .paginator {
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
  }
}
@media (min-width: 768px) {
  .modal-header {
    padding: 30px 30px 20px 30px;
  }
  .modal-footer {
    padding: 0 30px 30px 30px;
  }
  .modal-body {
    padding: 0 30px 10px 30px;
  }
  footer {
      text-align: left;
  }
  .footer-copy {
      margin-bottom: 0;
  }
  .footer-phone,
  .footer-god {
      text-align: right;
  }
  .side-title {
    font-size: 18px;
    line-height: 22px;
  }
  .side-manager-des b {
    font-size: 13px;
  }
  .main {
    padding-top: 68px;
  }
  .tabs-items-nav {
    margin-bottom: 55px;
  }
  .tabs-items-nav-body {
    display: -webkit-flex !important;
    display: -ms-flex !important;
    display: flex !important;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
  }
  .tabs-items-nav-body a {
    font-size: 15px;
    font-family: 'ProximaNovaRegular';
    color: #212b36;
    text-transform: uppercase;
    padding: 0 0 15px 0;
    line-height: 1;
    border-bottom: 3px solid transparent;
  }
  .tabs-items-nav-body a:hover,
  .tabs-items-nav-body a:focus {
    color: #ee1f23;
    text-decoration: none;
  }
  .tabs-items-nav-body a.active {
    color: #ee1f23;
    font-family: 'ProximaNovaBold';
    border-bottom-color: #ee1f23;
  }  
  .table-basket {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 8px 8px 40px rgba(33,43,54,0.08);
  }
  .table-basket thead td {
    padding: 25px 5px;
    border-bottom: 1px solid #eaeef0;
    font-size: 15px;
    line-height: 1;
    color: #212b36;
    font-family: 'ProximaNovaRegular';
  }
  .table-basket tbody td {
    padding: 20px 5px;
    border-bottom: 1px solid #eaeef0;
  }
  .table-basket tbody td:last-child,
  .table-basket thead td:last-child {
    padding-right: 30px;
  }
  .table-basket tbody td:first-child,
  .table-basket thead td:first-child {
    padding-left: 30px;
  }
  .table-basket tbody tr:hover td {
    background-color: #eaeef0;
  }
  .table-basket-article input,
  .table-basket-name,
  .table-basket-price,
  .table-basket-num span {
    color: #48585f;
  }
  .table-basket tbody tr:hover .table-basket-article input,
  .table-basket tbody tr:hover .table-basket-name,
  .table-basket tbody tr:hover .table-basket-price span,
  .table-basket tbody tr:hover .table-basket-num span {
    color: #212b36;
  }
  .table-basket tfoot td {
    border-top-color: #000;
    padding: 25px 40px;
    background-color: #fff;
  }
  .table-basket-sum {
    width: 104px;
  }
  .table-basket-sum a {
    width: 30px;
  }
  .table-basket-sum input[type="text"] {
    width: 42px;
  }
  .table-basket-price,
  .table-basket-num,
  .box-table-basket-sum,
  .table-basket-article {
    text-align: center;
    width: 100%;
  }

  .class-width-00 {width: 32px;}
  .class-width-01 {width: 155px;}
  .class-width-02 {width: 135px;}
  .class-width-03 {width: 90px;}
  .class-width-04 {width: 105px;}
  .class-width-05 {width: 115px;}
  .table-basket-img {
    width: 54px;
    margin-right: 15px;
  }
  .table-basket-name {
    font-size: 15px;
    line-height: 20px;
  }
  .table-basket-article input {width: 145px;}

  #accordion .box-table-basket-sum {
    text-align: left;
  }
  .btn-basket {
    height: 32px;
    width: 32px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .btn-basket:after {
    left: 0;
  }

  .class-width-10 {width: 32px;}
  .class-width-09 {width: 120px;}
  .class-width-08 {width: 90px;}
  .class-width-07 {width: 75px;}
  .class-width-06 {width: 150px;}

  .class-width-11 {width: 200px;}
  .class-width-12 {width: 140px;}
  .class-width-13 {width: 250px;}
  .class-width-14 {width: 180px;}

  .header-basket:hover .header-basket-popup {
    display: block;
  }

  .product-tabs-content > div {
    padding: 30px;
  }

  .product-basket-sum .table-basket-sum {
    width: 136px;
  }
  .product-basket-sum .table-basket-sum input[type="text"] {
    width: 74px;
  }
  .product-img-slider-item a {
    height: 305px;
    padding: 30px;
    line-height: 246px;
  }
  .product-tabs-content > div {
    display: none;
    padding: 30px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 0 30px rgba(33,43,54,0.08);
    margin-bottom: 20px;
  }
  .product-tabs-content > div > div > div {
    padding: 0;
    box-shadow: none;
  }
  .product-tabs-content > div.active {
    display: block;
  }
  .product-tabs-content > div > div {
    display: block;
    box-shadow: none;
  }
  .box-sort a {
    padding: 0 10px;
  }
  .filter {
    margin-bottom: 60px;
  }
  .filter-item {
    border: none;
  }
  .filter-body {
    display: block;
    padding: 25px 5px 30px 5px;
  }

  .list-catalog-items-item span {
    position: absolute;
    left: 0;
    bottom: 20px;
    padding: 0 20px;
    font-size: 16px;
    line-height: 20px;
  }
  .list-catalog-items-item > div:after {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    top: 20px;
    bottom: -7px;
    background-color: #fff;
    box-shadow: 8px 8px 40px rgba(33,43,54,0.08);
    overflow: hidden;
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
  }
  .list-catalog-items-item > div:before {
    content: '';
    position: absolute;
    left: 35px;
    right: 35px;
    top: 35px;
    bottom: -12px;
    background-color: #fff;
    box-shadow: 8px 8px 40px rgba(33,43,54,0.08);
    overflow: hidden;
    border-radius: 10px;
    z-index: -2;
    opacity: 0;
  }
  .list-catalog-items-item:hover > div:after,
  .list-catalog-items-item:hover > div:before {
    opacity: 1;
  }

  .btn-buy {
    width: 32px;
    height: 32px;
    background-image: url('../images/system/btn-buy.png'), -webkit-linear-gradient(to right, #ed1c24, #fb4213);
    background-image: url('../images/system/btn-buy.png'), -moz-linear-gradient(to right, #ed1c24, #fb4213);
    background-image: url('../images/system/btn-buy.png'), linear-gradient(to right, #ed1c24, #fb4213);
    box-shadow: 3px 3px 20px rgba(237,29,36,0.5);
    background-repeat: no-repeat;
    background-position: 0 0;
  }
  .btn-buy:hover,
  .btn-buy:focus {
    background-image: url('../images/system/btn-buy.png'), -webkit-linear-gradient(to right, #fb4213, #ed1c24);
    background-image: url('../images/system/btn-buy.png'), -moz-linear-gradient(to right, #fb4213, #ed1c24);
    background-image: url('../images/system/btn-buy.png'), linear-gradient(to right, #fb4213, #ed1c24);
  }
  .btn-buy.btn-added {
    background: #212b36 url('../images/system/btn-buy.png') 0 0 no-repeat;
  }
  .order-form .btn {
    width: auto;
  }

  .btn-delete {
    display: inline-block;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    border: 1px solid #eaeef0;
    background: #fff url('../images/system/btn-delete.png') 50% 50% no-repeat;
  }
  .sms-item-user {
    padding-right: 25%;
  }
  .sms-item-manager {
    padding-left: 25%;
  }
  .list-news-img img {
    margin: 0;
    width: 100%;
  }
  .list-news-img a {
    max-width: 100%;
  }

  .box-profile-line-boxbtns {
    margin: 0 -15px;
  }
  .box-profile-line-boxbtns > div {
    margin: 0 15px;
  }
  .box-profile-line-box-name {
    width: 60%;
    margin-bottom: 0;
  }
  .box-profile-line-box-edit {
    width: 20%;
  }
  .box-profile-line-box-delete {
    width: 20%;
    text-align: right;
  }
  .box-profile-line-box-checkbox {
    width: 20%;
    margin-bottom: 0px;
  }
  .box-profile-line-boxmailsms {
    width: 60%;
  }
  .box-profile-line-editlink {
    width: 20%;
    text-align: right;
  }

  .box-login {
    padding: 30px 30px 10px 30px;
  }
  .box-login-title {
    font-size: 30px;
  }
  .filter-complaints {
    padding: 25px 30px;
  }
  .filter-complaints-item {
    margin-bottom: 0;
  }
  .box-profile-line-m-name {
    width: 20%;
    margin-bottom: 0px;
  }
  .box-profile-line-m-des {
    width: 80%;
  }
  .box-profile-line-m-saledes {
    width: 20%;
  }
  .box-profile-line-m-salename {
    width: 80%;
    margin-bottom: 0px;
  }
  .article img.pull-left {
    margin: 0 30px 30px 0;
    overflow: hidden;
    border-radius: 10px;
    max-width: 40%;
  }
  .article-date {
    float: left;
    margin: 8px 20px 0 0;
  }

  #formlogin .modal-header {
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 40px;
  }
  #formlogin .modal-body {
    padding-left: 60px;
    padding-right: 60px;
  }
  #formlogin .modal-footer {
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 50px;
    padding-top: 25px;
  }
  #formlogin .modal-footer p {
    margin-bottom: 20px;
  }

  .login-page-bgwhite {
    padding: 35px 60px;
  }
  .login-page-bggrey {
    margin-left: -60px;
    margin-right: -60px;
    padding: 25px 60px;
  }

}

@media (min-width: 1024px) {
  h1 {
    font-size: 36px;
    margin: 30px 0;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 26px;
  }
  h4 {
    font-size: 24px;
  }
  h5 {
    font-size: 22px;
  }
  h6 {
    font-size: 20px;
  }
  h4,
  .h4,
  h5,
  .h5,
  h6,
  .h6 {
    margin: 20px 0;
  }
  .order-form {
    padding: 30px 30px 5px 30px;
  }
  .filter-body {
    display: block;
    padding: 20px 15px 30px 15px;
  }
  .slider-goods {
    margin-top: -40px;
  }
  .product-box-price {
    padding: 30px;
  }  
  .product-basket-sum .table-basket-sum {
    width: 111px;
  }
  .product-basket-sum .table-basket-sum input[type="text"] {
    width: 49px;
  }
  .container {
      padding-left: 97px;
      padding-right: 15px;
  }
  .footer-logo {
      margin-bottom: 25px;
      line-height: 18px;
  }
  footer {
      padding-bottom: 25px;
    margin-top: 70px;
  }
  .footer-line {
      margin-bottom: 40px;
  }
  .footer-phone {
      font-size: 20px;
      margin-bottom: 20px;
  }
  .footer-god a {
      line-height: 1;
      padding-top: 7px;
  }
  header {
    position: relative;
    padding-top: 30px;
    padding-bottom: 60px;
  }
  .header-logo {
    font-size: 14px;
    line-height: 18px;
  }
  .header-logo img {
    width: auto;
    margin-right: 15px;
  }
  .header-basket {
    margin-left: 20px;
  }
  .main {
    padding-top: 0;
  }
  .header-basket-link {
    padding-left: 40px;
    padding-right: 24px;
    background-image: url('../images/system/icon-basket-red.png');
  }
  .header-basket-link:after {
    content: '';
    position: absolute;
    right: 3px;
    top: 7px;
    width: 9px;
    height: 5px;
    background: url('../images/system/str-basket.png') 0 0 no-repeat;
  }
  .header-basket:hover .header-basket-link:after {
    background-position: 0 -5px;
  }
  .header-phone {
    width: 190px;
  }
  .side-title {
    text-align: left;
  }

  .content {
    order: 2;
  }
  .sidebarleft {
    order: 1;
  }
  .tabs-items-title {
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 20px;
  }

  .table-basket tbody td:last-child,
  .table-basket thead td:last-child {
    padding-right: 15px;
  }
  .table-basket tbody td:first-child,
  .table-basket thead td:first-child {
    padding-left: 15px;
  }

  .table-basket-box-name {
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }
  .table-basket-img {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .table-basket-name {
    width: 100%;
  }
  .product {
    margin-bottom: 50px;
  }
  .list-catalog-items-item span {
    bottom: 30px;
    padding: 0 30px;
  }
  .sms-item {
    padding: 30px;
  }
  .box-profile {
    margin-bottom: 50px;
    padding: 30px;
  }
  .box-profile-line-item {
    padding: 20px 30px;
  }

  .box-bonus {
    padding: 30px;
  }

  .order-list-title {
    padding-left: 30px;
    padding-right: 30px;
  }

  .article-title p {
    font-size: 36px;
    line-height: 42px;
  }

  /*08.11.2016*/
  .wholesale-clients-invite > div {
    padding: 80px 70px;
  }
  .wholesale-clients-form > div {
    padding: 80px 80px;
  }
  .wholesale-clients-form h3,
  .wholesale-clients-invite h3 {
    font-size: 30px;
  }
  .wholesale-clients-form .btn-primary {
    min-width: 165px;
  }
}

@media (min-width: 1252px) {
  .footer-logo {
      line-height: 18px;
  }
  .footer-logo a {
      font-size: 14px;
    -webkit-background-size: 98px;
    background-size: 98px;
  }
  .footer-god a {
      padding-top: 13px;
  }
  .header-phone {
    width: auto;
  }
  .side-block {
    padding: 30px 30px 40px 30px;
  }
  .side-title {
    font-size: 20px;
    line-height: 24px;
  }
  .side-manager-des b {
    font-size: 16px;
  }

  .btn {
    padding-left: 25px;
    padding-right: 25px;
  }
  .table-basket tbody td:last-child,
  .table-basket thead td:last-child {
    padding-right: 30px;
  }
  .table-basket tbody td:first-child,
  .table-basket thead td:first-child {
    padding-left: 30px;
  }
  .class-width-01 {width: 155px;}
  .table-basket-box-name {
    -webkit-flex-flow: row nowrap;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
  }

  .table-basket-img {
    width: 54px;
    margin-bottom: 0;
    margin-right: 15px;
  }
  .table-basket-name {
    width: auto;
  }

  .product-basket-sum .table-basket-sum {
    width: 154px;
  }
  .product-basket-sum .table-basket-sum input[type="text"] {
    width: 92px;
  }
  .product-tabs-nav a {
    padding: 0 30px;
  }
  .product-img-slider-item a {
    height: 365px;
    padding: 30px;
    line-height: 305px;
  }
  .product-img-mini div {
    width: 70px;
    height: 70px;
  }
  .product-img-mini div a {
    width: 70px;
    height: 70px;
    line-height: 56px;
  }
  .product-img-mini div a img {
    max-width: 56px;
    max-height: 56px;
  }


  /*08.11.2016*/
  .wholesale-clients-form > div {
    width: 80%;
  }
  .wholesale-clients-form h3,
  .wholesale-clients-invite h3 {
    font-size: 36px;
  }
}