/* small desktops */
@media screen and (max-width: 1060px) {
  #container {
    min-width:auto;
    max-width:none;
    width: 991px;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .content {
    min-width:auto;
    max-width:none;
  }
  #slider {
    width: 100% !important;
  }
  #dots {
    left: 50%;
    transform: translateX(-50%);
  }
  h1 {
    font-size: 24px;
  }
  #main-slider {
    width: 95%;
    height: auto;
    background: none;
    padding: 0
  }
  #main-slider .owl-nav .owl-prev {
    left: -17px;
  }
  #main-slider .owl-nav .owl-next {
    right: -17px;
  }
  .books-slider.owl-carousel .owl-next {
    right: 0;
  }
  .books-slider.owl-carousel .owl-prev {
    left: -20px;
  }
  .catalog.newItem .item {
    margin-left: 10px;
    margin-right: 10px;
  }
  .catalog.smallItem .item {
    margin-left: 10px;
    margin-right: 10px;
  }
  .deliveryback2, .deliveryback3, .deliveryback4 {
    border-right: none !important;
  }
  .about_comp .about_comp_table tr td {
    display: block;
    width: 100% !important;
  }
  .ratings_upper {
    width: 100% !important;
  }

  .itemBacket table td {
    padding: 15px 0px 20px 0;
  }
  .formPlusMinusItem {
    width: 170px;
  }
  .removeItem, .postpone {
    display: block;
  }
  .totalAmount {
    margin-left: 0;
  }
  .delLink {
    margin-top: 15px;
  }
}

/* tablets */
@media screen and (max-width: 990px) {
  #container {
    width: 768px;
  }
  .leftSideBar {
    width: 150px;
  }
  .fixContent, .nav {
    padding-left: 165px;
  }
  .head {
    height: 100px;
  }
  .containerHead {
    width: 75%;
  }
  .headL {
    padding-top: 30px;
    width: 120px;
  }
  .headL img {
    max-width: 85%;
  }
  .headC {
    padding-top: 35px;
    width: 240px;
  }
  .blockInputAndRegistrationLink {
    width: 105px;
  }
  .blockBasket {
    width: 130px;
    float: left;
  }
  .blockIco {
    margin-top: 21px;
    float: left;
  }
  .headR {
    margin: 0;
    float: left;
    width: 25%;
  }
  .blockFormSearch {
    margin-top: 25px;
  }

  /* menu */
  .menuHoriz ul li a {
    padding: 0 14px 0 0;
  }
  .menuHoriz {
    margin-bottom: 10px;
  }
  .blockLinkAlphabet ul li {
    padding: 9px 8px 0;
  }
  /* end menu */

  .catalog-section table {
    table-layout: fixed;
  }

  .middleSect {
    margin-bottom: 20px;
  }

  .middleSect .middleSectFirst, .middleSect td, .blockNews {
    width: 100%;
    display: block;
    float: none;
  }
  .footer {
    margin-top: 0;
    bottom: auto !important;
  }
  .footerContent {
    width: 95%;
    min-width: auto;
  }

  .fixContent.noCat {
    padding-left: 0;
  }

  .blockBasket {
    font-size: 12px;
  }

  .nav.noCat {
    padding-left: 0;
    padding-right: 0;
  }

  .delLink {
    display: none;
  }

  .makingPurchase {
    height: auto;
    -webkit-background-size: contain;
    background-size: contain;
  }

  .formPlusMinusItem input[type="text"], .coupon input[type="text"] {
    width: 30px;
  }

  .itemBacket .nameAuthorItem .title a {
    width: 12px;
  }

  .totalAmount {
    padding: 10px 0 0 10px;
  }

  .pageNews .questionBL {
    height: auto;
    float: none;
    width: 100%;
    margin-right: 0;
  }

  .about_comp, .about_comp ol, .about_comp ul {
    text-align: left;
  }

  .about_comp h2 {
    line-height: 1.2;
  }
}

@media screen and (max-width: 767px) {
  #container {
    width: 540px;
  }
  .blockLinkAlphabet {
    overflow-x: auto;
    margin-bottom: 0;
  }
  .blockLinkAlphabet + .hints .arrow-to-left {
    transform: rotate(180deg);
    float: left;
  }
  .blockLinkAlphabet + .hints .arrow-to-right {
    float: right;
  }
  .leftSideBar {
    display: none;
  }
  .fixContent, .nav {
    padding: 0 15px;
  }
  .books-slider.owl-carousel .owl-prev {
    left: 0;
  }
  #main-slider {
    width: 100%;
  }
  h1 {
    font-size: 20px;
  }
  .textLeftFooter {
    float: none;
    width: 100%;
    font-size: 11px;
  }
  .textRightFooter {
    font-size: 11px;
  }
  .text {
    animation-iteration-count: 4;
    animation-timing-function: cubic-bezier(12s);
  }
  .copyrihgt {
    font-size: 11px;
  }
  .menuHoriz {
    display: none;
  }
  .mobile-menu.active {
    display: block;
  }
  .desktop-cart {
    display: none;
  }
  .mobile-cart {
    display: block;
  }
  .formQuestion {
    width: 100%;
  }
  .buttonZakaz.formb {
    width: 100%;
  }
  .formQuestion input[type="text"], .formQuestion input[type="password"], .formQuestion .dd {
    max-width: 80% !important;
  }
  .podlogkaBasket {
    min-width: 84px;
  }
  .totalAmount {
    border: none;
  }
  .delItem {
    margin: 0 5px;
  }
  .blBlue .blBlueL {
    padding: 5px 10px;
    font-size: 11px;
    background-size: 100% 100px;
    background-position: center;
    height: auto;
  }
  .make_order td {
    display: block;
    width: 100%;
  }
  .formQuestion.pageZakaz * {
    width: 100% !important;
  }
  .make_order textarea {
    max-width: 80%;
  }
  .formQuestion.pageZakaz [alt="CAPTCHA"] {
    width: auto !important;
  }
  .dd .ddTitle > span.ddTitleText {
    position: relative;
    top: -16px;
    margin-left: 20px !important;
  }
  div[id^="ymaps-map-id_"] {
    width: 100% !important;
  }
  div[id^="ymaps-map-id_"] > ymaps {
    width: 100% !important;
  }
  #details_delivery {
    height: auto !important;
  }
  #delivery_table tr td {
    box-sizing: border-box;
  }
  .blockListPayments.methodsDelivery {
    width: 100% !important;
  }
  .descMethodsDeliv {
    width: 100%;
  }
  .blockListPayments.methodsDelivery ul li {
    width: auto;
  }
  .zakaz:not(.mobile) {
    display: none;
  }
  .zakaz.mobile {
    display: block;
    width: 100%;
  }
  .buttonZakaz, .allMethods {
    width: 100%;
  }
  .allMethods table {
    width: inherit;
  }
  .allMethods table td {
    width: 100%;
  }
  .mobile-menu_lk .linkRegistSite {
    color: #000 !important
  }
  .subsections-mobile {
    display: block;
  }
  .ratings_table .subsections-mobile {
    display: none;
  }
  .ratings_table {
    margin-left: 0 !important;
  }
  .ratings_table td {
    display: block;
    margin: 0 auto;
  }
}

@media screen and (max-width: 539px) {
  .owl-nav {
    top: 130px;
  }
  #main-slider .owl-nav .owl-next img, #main-slider .owl-nav .owl-prev img {
    width: 26px;
  }
  #main-slider .owl-nav .owl-next {
    right: -12px;
  }
  #main-slider .owl-nav .owl-prev {
    left: -12px;
  }
  #main-slider .owl-nav {
    top: 14vw;
  }
  .mobile-head, .mobile-menu {
    display: block;
  }
  .head, #container .blockLinkAlphabet {
    display: none;
  }
  #container {
    width: 100%;
  }
  .item .icoBacket, .priceCont .icoBacket {
    margin-right: 10px;
  }
  .catalog.newItem .item {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .catalog.smallItem .item {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .books-slider.owl-carousel .owl-item img {
    width: auto;
    max-width: 110px;
  }
  .podlogkaBig2 {
    width: 130px;
    height: 200px;
    -webkit-background-size: contain;
    background-size: contain;
    margin: 0 auto;
  }
  .item .title {
    width: 130px;
    margin: 5px auto 0;
  }
  .priceCont {
    width: 130px;
    left: 50%;
    transform: translateX(-50%);
  }
  .item .authorsBook, .goodsDay .authorsBook {
    width: 130px;
    margin: 0 auto 9px;
    display: block;
  }
  .podlogkaSmall {
    margin: 0 auto;
  }
  .blockQA img {
    max-width: 100%;
    height: auto;
  }
  .blockQA img {
    max-width: 100%;
    height: auto;
  }
  .pageNews.blockQA img {
    max-width: 50px;
  }
  .catalog {
    margin-left: 0;
  }
  .catalog .item {
    margin-left: 0;
    float: none;
    display: inline-block;
    vertical-align: middle;
    width: 49%;
  }
  .upper {
    width: 100% !important;
  }
  .citySelectSpan {
    display: table;
  }
  .deliveryItem {
    width: 100% !important;
  }
  .selectionTable td {
    width: 100%;
    display: block;
  }
  .descItemT td.descImg, .descItemT td.descData {
    display: block;
  }
  .podlogkaBig {
    background-size: contain;
    width: 131px;
    height: 191px;
  }
  .descImg img {
    max-width: 100%;
  }
  .podlogkaBig img {
    max-width: 115px;
  }
  .icoPanelDetail {
    width: 149px;
  }
  .blFormReport textarea {
    width: 100%;
  }
  .oneItem table td:not(.dataTableTd) {
    width: 100%;
    display: block;
    padding: 0;
  }
  #Roznica > div {
    margin: 0 !important;
  }
  #rigth #blockCat {
    width: 100% !important;
  }
  div.catalog-section table td {
    padding-left: 0 !important;
  }
  div.catalog-section #blockSort + table tr > td[id^="bx_"] {
    display: inline-block;
    width: 29%;
  }
  .blockNews .news {
    margin-bottom: 10px;
  }
  .middleSect td a[href^="tel"] {
    display: inline-block;
  }
  .oneItem .descItem .podlogkaBig, .oneItem .descItem .podlogkaBigClear, .oneItem .descItem .podlogkaKanc, .oneItem .descItem .podlogkaBigFlip {
    float: none;
  }
  .oneItem .slider {
    width: 100% !important;
  }
  .oneItem > table {
    width: 100%;
  }
  .blockSorting a, .blockSorting span {
    display: inline-block;
  }
  .FullSearchSelectSpan {
    display: inline-block;
  }
  #social_comments_table {
    width: 100%;
  }
  #social_comments_table td {
    display: block;
    width: 100%;
  }
  .first.column, .last.column {
    width: 100% !important;
  }
  div.under_description {
    width: 100%;
  }
  .errMsg {
    left: 50%;
    transform: translateX(-50%);
  }
  .make_order textarea {
    width: 100% !important;
  }
  div.order_description {
    width: 100% !important;
    float: none !important;
  }
  .allMethods table td div {
    width: 100%;
  }
  [name="REASON_CANCELED"] {
    width: 100%;
  }
  .footerContent h1 {
    margin: 0;
  }
  .footer .copyrihgt p {
    margin: 0;
  }
  table.vk_likes {
    width: 100%;
    overflow: hidden;
  }
  .podarok-cert {
    font-size: 15px;
  }
  .podarok-cert img {
    float: none;
    display: block;
  }
}
