/* **************************************
HOME PAGE
**************************************** */
/*
header
*/
@media screen and (max-width: 382px) {
    #search {
        padding-left: 0px;
    }
    #search .input-lg {
        text-align: center;
        width: 100%;
    }
    header #search > .input-group-btn {
        position: absolute;
        left: 12px;
        z-index: 4;

        margin: 0;
    }
}

/*
hr on all pages
*/
@media screen and (max-width: 1528px) {
    .hr {
        margin-left: auto;
        margin-right: auto;
    }
}

/*
.bannergrid_style_1
*/
@media screen and (max-width: 1215px) {
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .img_product {
        margin-right: 4%;
    }
}
@media screen and (max-width: 1120px) {
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .wrap_content {
        max-width: 486px;

        padding-top: 40px;
    }
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide {
        align-items: flex-start;

    }
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .img_product {
        max-width: 260px;
    }
}
@media screen and (max-width: 1020px) {
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .wrap_content p.h2,
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .wrap_content .h2,
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .wrap_content h2 {
        font-size: 29px;
        line-height: 1.3;
    }
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .wrap_content {
        max-width: 380px;
    }
}
@media screen and (max-width: 888px) {
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .img_product {
        max-width: 230px;
    }
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .wrap_content {
        padding-top: 22px;
    }
}
@media screen and (max-width: 860px) {
    .arrows {
        position: relative;
        width: 144px;
        margin-left: auto;
        bottom: 31px;
    }
    .arrows .swiper-button-next, .arrows .swiper-button-prev {
        width: 34px;
        height: 34px;
    }
    .arrows img {
        max-width: 44%;
    }
    .swiper-container-horizontal > .swiper-pagination-bullets {
        display: none;
    }
}
@media screen and (max-width: 676px) {
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide {
        flex-direction: column;
        align-items: center;
    }
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .img_product {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .img_product {
        max-width: 280px;
    }
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .wrap_content {
        max-width: 561px;
        text-align: center;
    }
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .wrap_content a {
        display: inline-flex;
        justify-content: center;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 54px;
        height: 54px;

        top: 34%;
    }
}
@media screen and (max-width: 496px) {
    .swiper-button-next {
        right: 0;
    }
    .swiper-button-prev {
        left: 0;
    }
}
@media screen and (max-width: 449px) {
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .img_product {
        max-width: 218px;
    }
    .bannergrid_style_1 {
        box-shadow: 100px 0px #E9E3E2, -100px 0px #E9E3E2;

    }
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .wrap_content p.h2,
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .wrap_content .h2,
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .wrap_content h2 {
        font-size: 23px;
    }
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .wrap_content .html_text {
        font-size: 14px;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 34px;
        height: 34px;
    }
    .swiper-button-next img, .swiper-button-prev img {
        max-width: 50%;
    }
}
@media screen and (max-width: 360px) {
    .bannergrid_style_1.swiper-container .swiper-wrapper .swiper-slide .img_product {
        max-width: 180px;
    }
}

/*
subscribe-now
*/
@media screen and (max-width: 1005px) {
    #email {
        margin-right: 0;
        width: 100%;
    }
    .container.subscribe-now__container {
        padding: 0 15px;
    }
    .subscribe-now__container > div:last-child button {
        margin-top: 19px;
    }
    .subscribe-now__container > div:last-child {
        border-left: 1px solid rgba(131, 131, 131, 0.5);
    }
    .subscribe-now__container > div:first-child > img {
        display: inline-block;
    }
    .subscribe-now__container > div {
        padding-right: 40px;
    }
    .subscribe-now {
        padding: 26px 0;
    }

    .container.soon-on-sale__container {
        padding: 0 15px;
    }
}
@media screen and (max-width: 860px) {
    .subscribe-now__container > div:last-child button {
        padding: 10px 20px;
        font-size: 14px;
    }
}
@media screen and (max-width: 780px) {
    .subscribe-now__container {
        flex-direction: column;
    }
    .subscribe-now__container > div {
        padding-right: 0;
    }
    .subscribe-now__container > div:last-child {
        margin-top: 50px;
    }
}
@media screen and (max-width: 500px) {
    .subscribe-now {
        padding-top: 36px;
    }
    .subscribe-now__container {
        text-align: center;
    }
    .subscribe-now__container > div:first-child {
        flex-direction: column;
    }
    .subscribe-now__container > div:first-child > img {
        margin-right: 0;
        margin-bottom: 24px;
    }
    .subscribe-now__container > div:last-child {
        padding: 16px;
    }
    .subscribe-now__container > div:last-child button {
        width: 100%;
    }
}
@media screen and (max-width: 340px) {
    .subscribe-now__container > div:last-child {
        padding: 0;
        border-left: none;
    }
}

/*
soon-on-sale__container
*/
@media screen and (max-width: 1005px) {
    .soon-on-sale > div > img {
        min-width: 280px;
    }
    .soon-on-sale__container div {
        padding: 0;
        width: 100%;
    }
    .soon-on-sale > div > div {
        display: flex;
        flex-direction: column;
        justify-content: center;

        padding: 0 3%;
    }
}
@media screen and (max-width: 624px) {
    .soon-on-sale__container div h2 {
        font-size: 29px;
        line-height: 1.4;
    }
}
@media screen and (max-width: 570px) {
    .soon-on-sale > div > img {
        min-width: 208px;
    }
    .soon-on-sale__container div h2 {
        margin-bottom: 20px;
    }
    .soon-on-sale > div > div {
        padding: 16px;
    }
}
@media screen and (max-width: 497.98px) {
    .soon-on-sale__container {
        flex-direction: column;
        text-align: center;
    }
    .soon-on-sale > div > img {
        height: 300px;
    }
    .soon-on-sale__container div h2 {
        font-size: 40px;
    }
    .soon-on-sale > div > div {
        padding-bottom: 30px;
    }
}
@media screen and (max-width: 400px) {
    .soon-on-sale > div > img {
        height: 248px;
    }
}
@media screen and (max-width: 376px) {
    .soon-on-sale__container div h2 {
        font-size: 32px;
    }
}
@media screen and (max-width: 346px) {
    .soon-on-sale > div > img {
        height: 218px;
    }
}

/*
product-tab-5in1
*/
@media screen and (max-width: 1432px) {
    .product-tab-5in1 .swiper-wrapper .swiper-slide {
        padding-left: 46px;
    }
    .product-tab-5in1 .swiper-button-next {
        right: 0;
    }
    .product-tab-5in1 .swiper-button-prev {
        left: 0;
    }
}
@media screen and (max-width: 1345px) {

    .product-tab-5in1 .swiper-wrapper .swiper-slide {
        padding-left: 0;
    }
    .product-tab-5in1 .swiper-wrapper {
        padding-left: 24px;
    }
}
@media screen and (max-width: 1200px) {
    .product-tab-5in1 .swiper-wrapper {
        padding-left: 0;
    }
    .product-tab-5in1 .swiper-container {
        padding-left: 45px;
    }
}
@media screen and (max-width: 1046px) {
    .product-tab-5in1 .swiper-container {
        padding-left: 0px;

        max-width: 800px;
    }
    .product-tab-5in1 .item.cat_item img {
        /*box-shadow: none;*/
    }
}

@media screen and (max-width: 991px) {
    .product-tab-5in1 .item.cat_item .bnt_cat {
        margin: 0 auto;
    }
    .product-tab-5in1 .item.cat_item {
        text-align: center;
    }
    .product-tab-5in1 .price {
        justify-content: center;
    }
    .product-tab.product-tab-5in1 .item.cat_item .image {
        margin: 0 auto 20px;
    }
    figure {
        margin: 0;
    }
}
@media screen and (max-width: 970px) {
    .five-in-1-arrows {
        position: static;

        width: 100%;
        height: 60px;

        display: flex;
        justify-content: center;

        border: 1px solid #F7F1F0;
        border-radius: 2px;
    }
    .product-tab-5in1 .item.cat_item .image {
        margin-left: auto;
        margin-right: auto;
    }
    .product-tab-5in1 .swiper-wrapper {
        padding-bottom: 20px;
    }
    .product-tab-5in1 .swiper-container .swiper-button-next,
    .product-tab-5in1 .swiper-container .swiper-button-prev,
    .recomended-wrap .swiper-button-next, .recomended-wrap .swiper-button-prev {
        width: 34px;
        height: 34px;

        top: 62%;

        position: relative;

    }
    .product-tab-5in1 .swiper-container .swiper-button-next {
        order: 1;

        margin-left: 40px;
    }
    .product-tab-5in1 .swiper-container .swiper-button-next img,
    .product-tab-5in1 .swiper-container .swiper-button-prev img,
    .recomended-wrap .swiper-button-next img, .recomended-wrap .swiper-button-prev img {
        max-width: 44%;
    }
    .hr {
        margin-top: 24px;
    }
}


@media screen and (max-width: 596px) {
    .product-tab-5in1 .swiper-container .swiper-button-next,
    .product-tab-5in1 .swiper-container .swiper-button-prev,
    .recomended-wrap .swiper-button-next, .recomended-wrap .swiper-button-prev {
        position: absolute;
        top: 50%;

        width: 54px;
        height: 54px;

    }
    .product-tab-5in1 .swiper-container .swiper-button-next,
    .recomended-wrap .swiper-button-next {
        right: 24px;
    }
    .product-tab-5in1 .swiper-container .swiper-button-prev,
    .recomended-wrap .swiper-button-prev {
        left: 24px;
    }

}
@media screen and (max-width: 449px) {
    .product-tab-5in1 .swiper-container .swiper-button-next,
    .product-tab-5in1 .swiper-container .swiper-button-prev,
    .recomended-wrap .swiper-button-next, .recomended-wrap .swiper-button-prev {
        width: 34px;
        height: 34px;
    }
    .product-tab-5in1 .swiper-container .swiper-button-next img,
    .product-tab-5in1 .swiper-container .swiper-button-prev img,
    .recomended-wrap .swiper-button-next img, .recomended-wrap .swiper-button-prev img {
        max-width: 44%;
    }
    .product-tab-5in1 .swiper-container .swiper-button-next,
    .recomended-wrap .swiper-button-next {
        right: 0px;
    }
    .product-tab-5in1 .swiper-container .swiper-button-prev,
    .recomended-wrap .swiper-button-prev {
        left: 0px;
    }
}

/*
footer
*/
@media screen and (max-width: 1158px) {
    footer p {
        width: 100%;
        order: 1;

        font-size: 14px;

        margin-top: 18px;
        padding-top: 10px;

        border-top: 1px solid rgba(184, 184, 184, 0.6);
    }
    footer p span {
        display: inline-block;

        margin-left: 8px;
    }
    footer ul li:first-child a {
        border-bottom: none;
    }
}
@media screen and (max-width: 895px) {
    footer .container > div {
        flex-direction: column;
    }
    footer ul {
        margin-bottom: 14px;
    }
    footer ul:last-child {
        margin-bottom: 0;
    }
    footer p {
        text-align: center;
    }
}
@media screen and (max-width: 651px) {
    footer ul:first-of-type {
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
    }
    footer ul:first-of-type li {
        margin-bottom: 18px;
    }
    footer ul li {
        margin-right: 0;

        text-align: center;
    }
    .social-icons {
        margin-left: 14px;
    }
}




/* **************************************
DROP DOWN MENU
**************************************** */

.mainMenu-wrap {

    background: #A62642;

    border-top: 1px solid #CEB58A;

    display: flex;
    display: none;

    padding-left: 32px;
}
.mainMenu-wrap > div {
    flex-basis: 10%;

    background: #CEB58A;
}
.mainMenu-wrap ul {
    flex-basis: 90%;
}
.mainMenu-wrap > ul {
    padding: 32px 0;
    padding-top: 22px;
}
.mainMenu-wrap ul li a {
    color: white;

    font-size: 16px;
    line-height: 1.52;

    display: block;

    padding: 5px 0;
}
.mainMenu-wrap > ul > li > a {
    padding: 9px 0;
}
.mainMenu-wrap > ul > li.active > a {
    color: #CEB58A;
}
.mainMenu-wrap > ul > li > a li.active > a {
    color: #CEB58A;
}
.mainMenu-wrap ul li {
    border: none;
}
.mainMenu-wrap ul li > div {
    display: block;

    position: static;

    padding: 0;
    padding-left: 32px;
}
.mainMenu-wrap ul li > div > ul {
    background: transparent;

    box-shadow: none;

    padding: 0;
}
.mainMenu-wrap ul li > div > ul a {
    font-size: 14px;

    color: rgba(255, 255, 255, .8);
}
.mainMenu-wrap ul li > div > ul li {
    padding: 0;
}
@media screen and (max-width: 350px) {
    .mainMenu-wrap ul li a {
        font-size: 14px;
    }
    .mainMenu-wrap ul li > div > ul a {
        font-size: 13px;
    }
}

/* **************************************
CATEGORY PAGE
**************************************** */

/*
catalog list
*/
@media screen and (max-width: 1099px) {
    .catalog ul li:nth-child(4n) {
        margin-right: 14px;
    }
    .catalog ul li:nth-child(3n) {
        margin-right: 0;
    }
    .catalog ul li {
        flex-basis: 32%;
    }
    .catalog ul li.readmore {
        width: 32%;
    }
}

@media screen and (max-width: 760px) {
    .catalog ul li:nth-child(4n) {
        margin-right: 14px;
    }
    .catalog ul li:nth-child(3n) {
        margin-right: 14px;
    }
    .catalog ul li:nth-child(2n) {
        margin-right: 0;
    }
    .catalog ul li {
        flex-basis: 48%;
    }
    .catalog ul li.readmore {
        width: 48%;
    }
}
@media screen and (max-width: 537px) {
    .catalog ul li:nth-child(n) {
        margin-right: 0;
    }
    .catalog ul li {
        flex-basis: 100%;
    }
    .catalog ul li.readmore {
        width: 100%;
    }
}

/*
products list
*/
@media screen and (max-width: 1187px) {
    .products-list .item.cat_item {
        max-width: unset;
    }
}
@media screen and (max-width: 989px) {
    .products-list .item.cat_item {
        flex-basis: 46%;;
    }
}
@media screen and (max-width: 928px) {
    .products-wrap > div:nth-child(2) {
        flex-basis:  100%;
    }
    .products-list .item.cat_item {
        flex-basis: 30%;
    }
    .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
}
@media screen and (max-width: 834px) {
    .products-list .item.cat_item {
        flex-basis: 45%;
    }
}
@media screen and (max-width: 858px) {
    .products-list .name {
        padding-right: 20px;
    }
}
@media screen and (max-width: 580px) {
    .products-list {
        justify-content: center;
    }
    .products-list .item.cat_item {
        flex-basis: 100%;

        text-align: center;

        align-items: center;

        margin-right: 0;
    }
    .products-list .price {
        justify-content: center;
    }
    .products-list .products-list .name {
        padding-right: 0;

        /*max-width: 400px;*/
    }
    .pagination {
        margin: 0 auto;
    }
    .pagination li {
        padding: 10px;
        margin-right: 0;
    }
}
@media screen and (max-width: 336px)  {
    #input-sort, #input-limit, select[name="category_id"], #input-country, #input-zone {
        background: none, #FFFFFF;

        text-align: center;
    }
}

/* ***********************************
 REWARDS PAGE
**************************************** */
@media screen and (max-width: 900px) {
    .information-content ol > li {
        padding-right: 24px;
    }
}
@media screen and (max-width: 575px) {
    .information-content ol > li {
        padding: 16px;

        flex-direction: column;
        align-items: center;

        font-size: 14px;
        line-height: 1.5;
    }
    .information-content ol > li::before {
        font-size: 26px;
    }
}
/* ***********************************
where-to-buy
**************************************** */
@media screen and (max-width: 991px) {
    .shop-book-address {
        padding-left: 0;
        padding-right: 30px;
    }
}
@media screen and (max-width: 790px) {
    .where-to-buy {
        display: block;

        text-align: center;
    }
    .where-to-buy .hr {
        width: 100%;

        margin: 0 auto;
        margin-top: 32px;
    }
    .shop-book {
        margin-top: 40px;

        display: flex;
        justify-content: center;
    }
    .shop-book-address {
        padding-right: 0;
    }
}
/* ***********************************
ABOUT US PAGE
**************************************** */
@media screen and (max-width: 800px) {
    .about-us {
        column-count: 1;

        text-align: left;
    }
}
/* ***********************************
NEWS PAGE
**************************************** */
@media screen and (max-width: 900px) {
    .octemplates-blog_category .product-layout {
        width: 49%;
    }
}
@media screen and (max-width: 720px) {
    .octemplates-blog_category .product-layout {
        width: 100%;

        display: flex;
        justify-content: center;

        text-align: center;
    }
    .octemplates-blog_category h1 {
        text-align: center;
    }
}
/* ***********************************
CONTACTS PAGE
**************************************** */
@media screen and (max-width: 991px) {
    .contacts ul {
        flex-direction: column;
        align-items: center;

        text-align: center;
    }
    .contacts ul li {
        width: 100%;
    }
    .contacts ul li button {
        margin: 0 auto;
    }
    .contacts ul li p {
        box-shadow: 0px 4px 14px rgba(47, 29, 29, 0.06);
        border-radius: 1px;

        margin-bottom: 24px;

        max-width: unset;

        padding: 16px;
    }
}
@media screen and (max-width: 651px) {
    .contacts ul li button {
        width: 100%;

        padding: 16px;
    }
}
@media screen and (max-width: 360px) {
    .contacts ul li p  {
        font-size: 14px;
    }
}

/* ***********************************
PRODUCT PAGE
**************************************** */
@media screen and (max-width: 1140px) {
    .product-wrap .thumbnails-wrap {
        margin-right: 20px;
    }
    #tab-specification-2 > div {
        display: flex;
        flex-wrap: wrap;
    }
    #tab-specification-2 > div p {
        margin-bottom: 14px;
    }
    #tab-specification-2 > div p:last-child {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 991px) {
    .product-wrap h1 {
        font-size: 30px;
        line-height: 119%;
    }
    .category {
        margin-bottom: 14px;
    }
}
@media screen and (max-width: 858px) {
    .product-wrap .thumbnails-wrap {
        margin-right: 0;
        order: 1;

        max-width: initial;
    }
    .product-wrap {
        flex-direction: column;
    }
    .product-wrap #tab-description {
        margin-bottom: 40px;
        order: 1;
    }
    .product-wrap .thumbnails {
        margin: 0;
        margin-bottom: 20px;

        display: flex;
        justify-content: center;
    }
    .thumbnails > li {
        margin-left: 0;
    }
    .product-wrap .tab-content {
        flex-basis: unset;
    }
    .product-wrap .price-cart {
        flex-wrap: wrap;
        justify-content: center;
    }
    .product-wrap h1, .category {
        margin-bottom: 20px;

        text-align: center;
    }
    #tab-specification, .thumbnails-wrap > button {
        order: 1;
    }
    .thumbnails-wrap > button {
        margin-right: auto;
    }
    #tab-specification-2 {
        text-align: center;
    }
    #tab-specification-2 > div {
        margin-bottom: 0;

        justify-content: center;
    }
    #tab-specification-2 > div p:last-child {
        margin-bottom: 14px;
    }
}
@media screen and (max-width: 686px) {
    #tab-specification-2 p.isbn {
        margin-bottom: 28px;
    }
    .product-wrap .bnt_cat {
        margin-top: 20px;
    }
}
@media screen and (max-width: 510px) {
    #tab-specification-2 {
        flex-direction: column;
        display: flex;
        align-items: center;
    }
    .authors {
        margin-right: 0;
    }
}
@media screen and (max-width: 469px) {
    .product-wrap .price-cart {
        flex-direction: column;
        align-items: center;
    }
    .price-cart .price {
        align-self: inherit;
        margin-right: 0;
    }
}
@media screen and (max-width: 360px) {
    .product-wrap .table.table-bordered {
        font-size: 14px;
    }
}


/* ***********************************
MODAL WINDOW (заказть оптовый тираж)
**************************************** */
@media screen and (max-width: 1143px) {
    .modal-content .name .h4 {
        font-size: 19px;
    }
    .modal-content #tab-specification {
        margin-left: 0;
    }
    #to-order-copies .modal-dialog {
        width: 80%;
        margin: auto;
    }
    .modal-content .image {
        margin-bottom: 14px;

        max-width: 28%;
    }
}
@media screen and (max-width: 1127px) {
    #to-order-copies .modal-dialog {
        width: 98%;
    }
    .modal-content {
        padding-left: 6px;
        padding-right: 6px;
    }
    #to-order-copies .modal-body {
        flex-direction: column;
        align-items: center;

        padding: 20px 0px 0px;
    }
    .modal-content #tab-specification {
        margin-top: 20px;
    }
    .modal-content .image {
        min-width: 200px;
    }
    #to-order-copies .wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .modal-content .name {
        width: 100%;
    }
    .modal-footer {
        justify-content: center;
    }
    .modal-content .btn-quantity-block {
        margin-right: 14px;
    }
    #to-order .modal-body__content:first-child {
        flex-wrap: wrap;
        justify-content: center;
    }
    .modal-content .image {
        margin-right: 0;
    }
    .modal-body .wrap {
        text-align: center;
    }
    .modal-content .btn-quantity-block {
        margin-right: 0;
    }
    .modal-content .price {
        justify-content: center ;
    }
    .modal-body__content:first-child {
        padding-right: 20px;
    }
    .modal-body__content:last-child {
        padding-top: 0;
    }
    .modal-body .name {
        padding: 0;
    }
}
@media screen and (max-width: 850px) {
    .modal-body {
        flex-direction: column;
    }
    .modal-body .wrap {
        text-align: left;
    }
    .modal-content .image {
        margin-right: 20px;
    }
    .modal-content .price {
        justify-content: flex-start;
    }
    #to-order .modal-body__content:first-child {
        margin-bottom: 40px;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    .modal-body__content:last-child {
        border: none;
        padding-left: 0;
    }
    .modal-body .name {
        padding-top: 20px;
    }
}
@media screen and (max-width: 600px) {
    #to-order .modal-body__content:first-child {
        flex-direction: column;
        align-items: center;
    }
    .modal-body .image {
        margin-right: 0;
    }
    .modal-body .wrap {
        text-align: center;
    }
    .modal-content .price {
        justify-content: center;
        margin-top: 20px;
    }
    .modal-body__content:first-child {
        padding-right: 0;
    }
}
@media screen and (max-width: 474px) {
    .modal-footer {
        flex-direction: column;
        padding: 0 10px;
    }
    .modal-footer button, .modal-footer a {
        width: 100%;
    }
    .modal-footer button.btn-close {
        margin: 0;
        margin-bottom: 16px;
    }
    #cart-added .modal-content {
        padding-bottom: 40px;
    }
    #cart-added .modal-body {
        padding: 0 10px;
    }
    #to-order .modal-body {
        padding: 0 10px;
    }
}
@media screen and (max-width: 336px) {
    .modal-content .price {
        flex-direction: column;
        align-items: center;
    }
    .modal-content .price .price-new {
        margin-right: 0;
    }
}

    /*-------------------------
    recomended products block
    ------------------------*/
@media screen and (max-width: 970px) {
    .recomended-wrap .five-in-1-arrows {
        margin-top: 20px;
    }
    .recomended-wrap .five-in-1-arrows .swiper-button-next {
        order: 1;
        right: 0;
    }
    .recomended-wrap .five-in-1-arrows .swiper-button-prev {
        left: 0;

        margin-right: 40px;
    }
    .recomended-wrap .swiper-wrapper {
        margin-left: 0;
    }
    .recomended-wrap .swiper-slide {
        text-align: center;
    }
    .recomended-wrap .swiper-slide .item.cat_item {
        align-items: center;
    }
    .recomended-wrap .price {
        justify-content: center;
    }
    .product-wrap {
        margin-bottom: 44px;
    }
}
@media screen and (max-width: 596px) {
    .recomended-wrap .five-in-1-arrows .swiper-button-next {
        margin-right: 14px;
    }
    .recomended-wrap .five-in-1-arrows .swiper-button-prev {
        margin-left: 20px;
    }
    .five-in-1-arrows {
        height: auto;
        border: none;
        margin-top: 0;
    }
}
/* ***********************************
REGISTRATION PAGE
**************************************** */
@media screen and (max-width: 991px) {
    .account-register fieldset {
        width: 100%;
        padding-right: 20px;
    }
    .account-register fieldset .col-sm-10 {
        max-width: 100%;
    }
}
@media screen and (max-width: 719px) {
    .account-register .btn-submit {
        margin-top: 20px;
        margin-left: 29px;
    }
}
@media screen and (max-width: 500px) {
    .text_account_already p.circle {
        display: none;
    }
    .text_account_already {
        padding: 24px 16px;
    }
}
@media screen and (max-width: 480px) {
    .account-register fieldset {
        padding-right: 0px;
        padding-left: 0px;
    }
}
@media screen and (max-width: 398px) {
    .account-register .btn-submit {
        margin-left: 0;
        margin-top: 10px;

        width: 100%;
    }
    .checkbox-inline a {
        margin-left: 0;
    }
    .account-register .pull-right {
        justify-content: center;
    }
    label[for="agree"] {
        justify-content: center;
        text-align: center;
    }
    .checkbox {
        margin-bottom: 14px;
    }
}
/* ***********************************
ACCOUNT LOGIN PAGE
**************************************** */
@media screen and (max-width: 991px) {
    .account-login .col-sm-6 {
        flex: 1 1 100%;

        max-width: 100%;
    }
    .account-login .col-sm-6:first-of-type {
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 480px) {
    .well {
        padding: 0;
        box-shadow: none;
    }
    .log-in {
        margin-top: 10px;
    }
    .account-forgotten .buttons.clearfix {
        flex-direction: column;
        align-items: center;
    }
    .account-forgotten .buttons.clearfix .pull-left {
        margin-right: 0;
        margin-bottom: 14px;
    }
    .account-forgotten .buttons.clearfix > div,
    .account-forgotten .buttons.clearfix  .btn-continue-buy,
    .account-login .btn-continue-buy {
        width: 100%;
    }
}

/* ***********************************
MY ACCOUNT PAGE
**************************************** */
@media screen and (max-width: 1298px) {
    .account-account #content .hr {
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width: 878px) {
    .account-account .list-unstyled {
        justify-content: flex-start;
    }
    .account-account #content ul li {
        flex-basis: 30%;

        margin-right: 3%;
    }
}
@media screen and (max-width: 689px) {
    .account-account .list-unstyled {
        justify-content: space-between;
    }
    .account-account #content ul li {
        flex-basis: 48%;

        margin-right: 0;
    }
}
@media screen and (max-width: 585px) {
    .account-address table td {
        display: flex;
    }
    .account-address .text-right .btn-continue-buy {
        margin-right: 14px;
    }
}
@media screen and (max-width: 460px) {
    .account-account #content ul li {
        flex-basis: 100%;
    }
    .buttons.clearfix {
        flex-direction: column;
    }
    .buttons.clearfix > div {
        margin: 0;
    }
    .buttons.clearfix .pull-left {
        margin-bottom: 20px;
    }
    .buttons.clearfix .btn-cart {
        width: 100%;
    }
}

/* ***********************************
OC FILTER
**************************************** */
@media screen and (max-width: 928px) {
    .left {
        /*display: flex;*/
        /*margin-bottom: 32px;*/
        /*padding: 16px 24px;*/
        /*border: 1px solid  #E9E3E2;*/
        /*border-radius: 1px;*/

        padding-right: 0;
        flex-basis: auto;
    }
    .all-buttons {
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;

        position: relative;
    }
    .list-group {
        width: 100%;
        padding: 20px;
        padding-top: 32px;

        order: 1;
    }
    .list-group .checkbox-inline-wrap {
        margin-bottom: 24px;
    }
    .filter-title {
        color: #838383;
    }
    .all-buttons > .filter-title {
        display: flex;
        align-items: center;

        margin-bottom: 0;

        cursor: pointer;
    }
    .all-buttons > .filter-title::after {
        content: '';

        display: inline-block;

        width: 8px;
        height: 8px;

        border-bottom: 2px solid #838383;;
        border-right: 2px solid #838383;;

        transform: rotate(45deg);

        margin-left: 10px;
    }
    .d-block {
        display: none !important;
    }
    #ocfilter .buttons.clearfix {
        justify-content: flex-start;
    }

}
@media screen and (max-width: 513px) {
    .all-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    .all-buttons > .filter-title {
        margin-top: 14px;
    }
    .list-group {
        padding-left: 0;
        padding-right: 0;
    }
    .value-name {
        flex-basis:  100%;
    }
    #ocfilter .buttons.clearfix {
        justify-content: flex-end;
    }
}
@media screen and (max-width: 460px) {
    .list-group .btn-continue-buy {
        width: 100%;
    }
    .all-buttons {
        padding: 16px;
    }
    .list-group {
        padding-bottom: 0;
    }
}
@media screen and (max-width: 430px) {
    .checkout-checkout .btn-continue-buy {
        width: 100%;
    }
}

/* ***********************************
CART PAGE
**************************************** */

/*
totals wrap (top block)
*/
@media screen and (max-width: 1080px) {
    .checkout-cart .totals-wrap {
        flex-wrap: wrap;
    }
    .checkout-cart .btns-group {
        flex-basis: 100%;

        margin-top: 20px;
    }
}
@media screen and (max-width: 650px) {
    .checkout-cart-in p.totals-cart {
        flex-basis: 100%;
        margin-top: 40px;
    }
    .checkout-cart .btns-group {
        margin-top: 40px;
    }
}
@media screen and (max-width: 514px) {
    .checkout-cart .btns-group {
        flex-direction: column;
    }
    .checkout-cart .btns-group a {
        margin: 0;
    }
    .checkout-cart .btns-group a.btn-continue-buy {
        margin-bottom: 20px;
    }
    .checkout-cart .totals-wrap {
        padding: 15px;

        justify-content: center;
    }
    .checkout-cart .voucher-input-group {
        flex-basis: 100%;
    }
    .checkout-cart .voucher-input-group input {
        width: 90%;
    }
    .checkout-cart-in p.totals-cart {
        text-align: center;
    }
}
@media screen and (max-width: 334px) {
    .checkout-cart .voucher-input-group input {
        width: 86%;
    }
}

/*
product-cart-wrap (own block for product)
*/
@media screen and (max-width: 1194px) {
    .checkout-cart .reset-btn {
        top: unset;
        bottom: 0;
        right: 50%;
    }
}
@media screen and (max-width: 1020px) {
    .checkout-cart .price-total-wrap {
        margin-left: 6%;
    }
}
@media screen and (max-width: 976px) {
    .checkout-cart .product-cart-wrap {
        flex-wrap: wrap;
        justify-content: space-between;

        padding-left: 15px;
        padding-right: 15px;
    }
    .checkout-cart .name {
        margin-right: auto;

        flex-basis: 70%;

        padding-top: 20px;
    }
    .checkout-cart .price-wrap, .checkout-cart .btn-quantity-block, .checkout-cart .price-total-wrap {
        margin-top: 35px;
    }
    .checkout-cart .price-total-wrap {
        flex-basis: 13%;

        margin-left: 0;
    }
    .checkout-cart .reset-btn {
        top: 0;
        right: 15px;
    }
}
@media screen and (max-width: 716px) {
    .checkout-cart .name {
        flex-basis: 100%;

        padding-left: 0;
        padding-right: 0;
    }
}
@media screen and (max-width: 622px) {
    .checkout-cart .price-wrap {
        flex-basis: 20%;
    }
}
@media screen and (max-width: 580px) {
    .checkout-cart .price-wrap {
        flex-basis: 24%;
    }
}
@media screen and (max-width: 506px) {
    .checkout-cart .price-wrap {
        flex-basis: 25%;
    }
}
@media screen and (max-width: 442px) {
    .checkout-cart .price-total-wrap {
        flex-basis: 100%;

        font-size: 14px;
    }
    .checkout-cart .price-wrap {
        flex-basis: 33%;
    }
}
@media screen and (max-width: 400px) {
    .checkout-cart .product-cart-wrap {
        padding-top: 40px;

        flex-direction: column;
        align-items: center;

        text-align: center;
    }
    .checkout-cart .checkout-cart .reset-btn {
        right: 50%;
        transform: translate(36%, 0);
    }
    .checkout-cart .price {
        flex-direction: column;
        align-items: center;
    }
    .checkout-cart .price span {
        width: auto;
    }
    .checkout-cart .price .price-new {
        margin-right: 0;
    }
    .checkout-cart .name {
        margin: 0;
    }
}


/* ***********************************
SEARCH PAGE
**************************************** */

/*
search input block
*/
@media screen and (max-width: 989px) {
    .product-search .search-input-block .checkbox-inline {
        flex-basis: 40%;
        max-width: initial;
    }
}
@media screen and (max-width: 800px) {
    .product-search .search-input-block .checkbox-inline {
        margin-top: 30px;
    }
    .product-search .search-input-block > div {
        flex-basis: 50%;

        max-width: initial;
    }
}
@media screen and (max-width: 560px) {
    .product-search .search-input-block .checkbox-inline {
        flex-basis: 100%;

        margin: 0;
    }
    .product-search .search-input-block > div {
        flex-basis: 100%;

        margin-bottom: 30px;
    }
    .product-search select[name="category_id"] {
        background-position: 96% 14px;
    }
}
@media screen and (max-width: 430px) {
    #button-search {
        width: 100%;
    }
}
@media screen and (max-width: 398px) {
    .product-search .checkbox {
        margin-bottom: 0;
    }
}

/*
all button block
*/
@media screen and (max-width: 928px) {
    .product-search .all-buttons {
        justify-content: flex-start;
    }
    .product-search .all-buttons > div {
        max-width: initial;
        flex-basis: 50%;
    }
}
@media screen and (max-width: 637px) {
    .product-search .all-buttons {
        flex-direction: column;
    }
    .product-search .input-group .input-group-addon {
        flex-basis: 20%;
    }
    .product-search .all-buttons > div {
        margin-bottom: 20px;
    }
    .product-search .all-buttons > div:last-child {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 580px) {
    .product-search .name {
        padding-right: 0;
    }
}
@media screen and (max-width: 538px) {
    .product-search .input-group .input-group-addon {
        flex-basis: 24%;
    }
}
@media screen and (max-width: 461px) {
    .product-search .input-group > .form-control {
        width: 100%;
    }
    .product-search .input-group > label {
        margin-bottom: 3px;
        flex-basis: 100%;
    }
}
@media screen and (max-width: 336px) {
    .product-search #input-sort, .product-search #input-limit,
    .product-search select[name="category_id"] {
        text-align: left;

        background: url(/image/catalog/content/arrow-down.svg) no-repeat 93% 9px, #FFFFFF;
    }
}

/*
products list
*/
@media screen and (max-width: 989px) {
    .product-search .products-list .item.cat_item {
        flex-basis: 30%;
    }
}
@media screen and (max-width: 800px) {
    .product-search .products-list .item.cat_item {
        flex-basis: 46%;
    }
}
@media screen and (max-width: 580px) {
    .product-search .products-list .item.cat_item {
        flex-basis: 100%;
    }
}

/* ***********************************
MANUFACTURER PAGE (BRANDS)
**************************************** */
/*
alphabet list
*/

/*
manufacturers block
*/
@media screen and (max-width: 1000px) {
    .manufacture-name {
        flex-basis: 47%;
    }
}
@media screen and (max-width: 700px) {
    .manufacture-name {
        flex-basis: 100%;
        margin-right: 0;
    }
}














