#topmenu .topmenu_grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#searchform {
  position: relative;
  margin-top: 3px;
}
#searchform #s {
  padding-right: 38px;
}
#searchform #searchsubmit {
  position: absolute;
  right: 5px;
  top: 2px;
  width: 30px;
  height: 30px;
  display: block;
  border: none;
  background: url("img/icon-magnifier.png") no-repeat center;
  background-size: 100%;
  padding: 0;
}

/**/
#mobile_menu_opener {
  display: none;
}

/**/
#owl-demo .owl-dots,
#owl-demo .owl-nav {
  display: none;
}

/**/
#bottom_sidebar {
  display: none;
}

/**/
#main .content .catalog_item {
  min-width: 33.3333333333%;
  max-width: 33.3333333333%;
}
#main .content .row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

@media (max-width: 1400px) {
  #slider-block .owl-carousel .owl-item {
    height: auto;
  }
  #slider-block .slide_holder {
    height: auto;
  }
}
@media (max-width: 1200px) {
  #topmenu ul li {
    padding: 9px 20px 0 20px;
  }
  #main .content .special_offer_cardprice_title span {
    display: inline-block;
  }
  #main .content .special_offer_cardprice_num {
    width: 100%;
    text-align: left;
    padding-left: 50px;
  }
  #main .special_offer_item .special_offer_cardprice_title span {
    display: inline-block;
  }
  #main .special_offer_item .special_offer_cardprice_num {
    width: 100%;
    text-align: left;
    padding-left: 50px;
  }
  #item_header .intro_details .special_offer_cardprice_title {
    width: calc(100% - 50px);
  }
  #item_header .intro_details .special_offer_cardprice_num {
    width: 100%;
    text-align: left;
    padding-left: 50px;
  }
}
@media (max-width: 1000px) {
  #topbar {
    height: 100px;
    margin-bottom: 80px;
  }
  #topbar .table tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  #topbar .table tr td {
    min-width: 50%;
    max-width: 50%;
  }
  #topbar .table tr td .button_box {
    text-align: right;
    margin-top: 5px;
    margin-bottom: 15px;
  }
  #topbar .logo {
    width: 100%;
    max-width: 308px;
    height: auto;
  }
  #topmenu {
    top: 100px;
    height: auto;
    min-height: 80px;
  }
  #topmenu .topmenu_grid {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .container {
    width: calc(100% - 30px) !important;
  }
  #main .sidebar {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  #main .sidebar .special_offers .header img {
    margin: -2px -1px 0;
    width: calc(100% + 2px);
    height: 75px;
  }
  #main .sidebar .widget.categories-menu {
    min-width: 100%;
    max-width: 100%;
  }
  #main .sidebar .widget.categories-menu > ul {
    margin-bottom: 15px;
  }
  #main .sidebar #pink_card {
    min-width: 35%;
    max-width: 35%;
  }
  #main .sidebar #prm_block {
    min-width: calc(65% - 15px);
    max-width: calc(65% - 15px);
  }
  #main .sidebar #prm_block.special_offers .ui-tabs-panel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  #main .sidebar #prm_block.special_offers .special_offer_item {
    width: calc(50% - 14px);
    display: inline-block;
  }
  #main .sidebar #prm_block.special_offers .special_offer_item .special_offer_cardprice_num {
    padding-left: 40px;
  }
  #main .content {
    width: 100%;
  }
  #footer .left {
    width: 50%;
  }
  #footer .left .logo {
    max-width: 308px;
    width: calc(100% - 45px);
    height: auto;
    display: block;
    margin-right: 10px;
  }
  #footer .menus {
    width: 50%;
  }
  #news_content img {
    max-width: 500px;
    display: block;
    height: auto;
    margin: 0 auto 20px;
  }
  #breadcrumbs-block .page-title {
    font-size: 28px;
    line-height: 1.4;
  }
  #item_content p.item_title {
    font-size: 28px;
    line-height: 1.4;
  }
  #bottom_sidebar {
    display: block;
    margin-top: 40px;
  }
  #main > .container .row:not(.sidebar_show) .sidebar {
    display: none;
  }
  #main > .container .row.sidebar_show #pink_card,
  #main > .container .row.sidebar_show #prm_block {
    display: none;
  }
}
@media (max-width: 920px) {
  #cart .modal-dialog {
    max-width: calc(100% - 30px);
    min-width: calc(100% - 30px);
    width: 100%;
  }
}
@media (max-width: 900px) {
  #item_header {
    height: auto;
    padding-bottom: 20px;
  }
  #item_header img.bg {
    width: auto;
    height: 100%;
  }
  #item_header .col-xs-6 {
    width: 100%;
  }
  #cart .modal-content table.shop td {
    font-size: 12px;
  }
  #cart .modal-content table.shop .summary td span {
    font-size: 12px;
  }
  #cart .modal-content table.shop th:first-child {
    width: 40%;
  }
}
@media (max-width: 800px) {
  #testimonial_send .col-xs-6 {
    width: 100%;
  }
  .textimonial_block .t_city {
    font-size: 10px;
  }
  .textimonial_block .textimonial_text {
    font-size: 12px;
  }
}
@media (max-width: 740px) {
  #cart .modal-dialog {
    max-width: calc(100% - 20px);
    min-width: calc(100% - 20px);
    width: 100%;
  }
}
@media (max-width: 700px) {
  #topbar {
    margin-bottom: 40px;
  }
  #topmenu {
    min-height: 40px;
  }
  #topmenu ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #topmenu ul li {
    padding-left: 0;
    padding-right: 0;
  }
  #topmenu ul li::before {
    display: none;
  }
  #topmenu ul#main-nav {
    display: none;
  }
  #topmenu ul#main-nav.open {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-bottom: 10px;
  }
  #topmenu .topmenu_search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  #topmenu .topmenu_search #searchform {
    min-width: calc(100% - 44px);
    max-width: calc(100% - 44px);
    margin-top: 0;
  }
  #mobile_menu_opener {
    display: block;
    width: 34px;
    height: 34px;
    background: url("img/icon_menu.svg") no-repeat center;
    background-size: 80%;
    border: solid 2px #fff;
    padding: 3px;
    border-radius: 3px;
  }
  #mobile_menu_opener.open {
    background: url("img/icon_close.svg") no-repeat center;
    background-size: 90%;
  }
  #slider-block .slide_holder {
    padding-bottom: 90px;
  }
  #slider-block .slide_holder .container .col-xs-6 {
    width: 100%;
    text-align: center;
  }
  #main .sidebar {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #main .sidebar #pink_card {
    min-width: 300px;
    max-width: 300px;
  }
  #main .sidebar #prm_block {
    min-width: 100%;
    max-width: 100%;
  }
  #main .content .catalog_item {
    min-width: 50%;
    max-width: 50%;
  }
  #main .content .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .news_unit .col-xs-4 {
    width: 50%;
  }
  .news_unit .col-xs-8 {
    width: 100%;
    margin-bottom: 20px;
  }
  #item_content {
    padding: 0;
  }
  #item_content h2 {
    font-size: 24px;
  }
  #cart .modal-content table.shop thead {
    display: none;
  }
  #cart .modal-content table.shop tr {
    border-top: 1px solid #d5d5d5;
  }
  #cart .modal-content table.shop .summary .summary_empty {
    display: none;
  }
  #cart .modal-content table.shop .summary td {
    padding: 8px;
  }
  #cart .modal-content table.shop .summary td span {
    font-size: 16px;
  }
  #cart .modal-content table.shop td {
    font-size: 16px;
    display: block;
    width: 100%;
    padding: 8px;
    text-align: left;
  }
  #cart .modal-content table.shop td.shop_title {
    font-weight: 700;
  }
  #cart .modal-content table.shop td.shop_remove {
    display: none;
  }
  #cart .modal-content table.shop td.shop_num {
    display: none;
  }
  #cart_top .cart_top_title {
    width: 100%;
  }
  #cart_top .cart_top_desc {
    width: 230px;
  }
  #cart_top .cart_top_control {
    width: calc(100% - 230px);
  }
  #cart_top .cart_top_control .radio input[type=radio] {
    margin-top: 1px;
  }
  #cart_bottom .col-xs-8 {
    width: 100%;
  }
  #cart_bottom .catalog_item {
    width: 250px;
  }
  #cart_bottom .catalog_item img {
    display: block;
    width: 100%;
    max-height: auto;
    height: auto;
  }
}
@media (max-width: 600px) {
  #footer .left {
    width: 100%;
  }
  #footer .left .slogan {
    padding: 0;
  }
  #footer .menus {
    padding-top: 20px;
    width: 100%;
  }
  #footer .menus .item:first-child {
    margin-left: 35px;
    width: calc(100% - 35px);
  }
  #item_navigation .col-xs-4 {
    width: 100%;
  }
  #single_bottom h3 {
    font-size: 24px !important;
    line-height: 1.4 !important;
  }
  #breadcrumbs-block {
    background-size: auto 100%;
  }
  #breadcrumbs-block .kama_breadcrumbs .kb_title {
    width: 100%;
    display: block;
    padding-top: 10px;
  }
  #cart_send .button-orange {
    font-size: 14px;
  }
  #cart_send_answer .thankyou_alert,
  #cart_send_loader .thankyou_alert,
  #back_call_loader .thankyou_alert {
    text-align: center;
    font-size: 16px;
  }
}
@media (max-width: 550px) {
  #slider-block .slide_holder {
    padding-bottom: 0;
  }
  #slider-block .slide_holder .slide_holder_img {
    display: none;
  }
  #slider-block .slide_holder .slide_holder_img2 {
    display: block;
  }
  #slider-block .slide_holder .container {
    display: none;
  }
}
@media (max-width: 500px) {
  #main h1 {
    font-size: 19px;
  }
  #main .sidebar #prm_block.special_offers .ui-tabs-panel {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  #main .sidebar #prm_block.special_offers .special_offer_item {
    min-width: calc(100% - 14px);
    max-width: calc(100% - 14px);
  }
  #main .content .catalog_item {
    min-width: 100%;
    max-width: 100%;
  }
  .textimonial_block .col-xs-3 {
    width: 100%;
  }
  .textimonial_block .textimonial_text {
    width: 100%;
  }
  #testimonial_send input[type=text],
  #testimonial_send textarea {
    font-size: 12px;
  }
  .news_unit .col-xs-4 {
    width: 100%;
  }
  .news_unit .title {
    font-size: 14px;
  }
  .news_unit .news_excerpt {
    font-size: 14px;
  }
  .news_unit .news_link {
    font-size: 14px;
  }
  #item_header .intro_details p,
  #main .sidebar .widget .desc_title,
  .qv_first_quote p,
  .textimonial_block,
  #news_content p,
  #item_content li,
  #news_content li {
    font-size: 14px;
    line-height: 1.4;
  }
  #news_content {
    padding: 0;
  }
  #contacts_form .col-xs-8 {
    width: 100%;
  }
  #cart_top .cart_top_desc {
    display: none;
  }
  #cart_top .cart_top_control {
    width: 100%;
    margin-top: 10px;
  }
  #cart_top .cart_top_control .radio {
    font-size: 12px;
  }
  #cart_top .cart_top_control .radio label {
    min-height: auto;
  }
  #cart_bottom .col-xs-8 .col-xs-6 {
    width: 100%;
    padding-top: 10px;
  }
  #contacts_form .col-xs-4 {
    width: 100%;
  }
}
@media (max-width: 450px) {
  .button-cart {
    padding: 5px;
  }
  #topbar .tel {
    font-size: 14px;
  }
  #main_text .container {
    padding: 0;
  }
  #main_text .container .col-xs-12 {
    padding: 0;
  }
  #footer .left .logo,
  #footer .left .slogan,
  #footer .left .info {
    margin-left: 0;
  }
  #footer .menus .item:first-child {
    margin-left: 0;
    width: 100%;
  }
  #footer .col-xs-12 {
    padding: 0;
  }
  #testimonial_send {
    padding: 10px 5px;
  }
}