@media (max-width: 480px) {
    .index-quality-item {
        width: 100%;
    }
    footer .col-xs-7,
    footer .col-xs-6,
    footer .col-xs-5 {
        width: 100%;
    }
    footer .top-menu {
        -moz-column-count: 2;
        -moz-column-gap: 30px;
        -webkit-column-count: 2;
        -webkit-column-gap: 30px;
        column-count: 2;
        column-gap: 30px;
    }
}
@media (min-width: 480px) and (max-width: 767px) {
    .index-quality-item {
        width: 50%;
    }
}
@media (max-width: 767px) {
    .index-contacts {
        padding-bottom: 0;
    }
    .index-contacts > .map {
        position: relative;
        left: 0;
        right: 0;
        width: 100%;
        height: 300px;
        top: auto;
        bottom: auto;
    }
    .index-slider-item {
        flex-direction: column-reverse;
    }
    .index-slider-item > * {
        width: 100%;
    }
    .index-slider .slick-dots {
        text-align: center;
        right: 0;
    }
    .slick-prev.slick-arrow {
        left: 0;
    }
    .slick-next.slick-arrow {
        right: 0;
    }
    .basket_quantity_control a {
        width: 20px;
        height: 20px;
        margin-top: -10px;
    }
    .basket_quantity_control a.plus {
        background-position: center 4px !important;
    }
    .basket_quantity_control a.minus {
        background-position: center -16px !important;
    }
    .index-slider-area {
        flex-wrap: wrap;
    }
    .index-slider-main-wrap {
        width: 100%;
        margin-bottom: 30px;
    }
    .index-slider-right-wrap {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .index-slider-right-wrap > div {
        width: 49%;
        width: calc( 50% - 15px );
        min-width: 180px;
    }
    .index-slider-bottom-area {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-right: 17px;
    }
    .index-slider-bottom-area > div {
        padding-right: 0;
        margin-bottom: 15px;
    }
}
@media (max-width: 580px) {
    .header > div:last-child {
        display: none;
    }
    .header > div:first-child {
        width: 100%;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .index-slider-right-wrap {
        justify-content: center;
    }
    .index-slider-right-wrap > div {
        width: 360px;
        max-width: 100%;
        margin-bottom: 15px;
    }

}
@media (min-width: 768px) and (max-width: 991px) {
    .index-quality-item {
        width: 33%;
    }
    /*.header-body {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }*/
    .header-search-area {
        width: 250px;
    }
    .menu-section-item {
        font-size: 14px;
    }
    .top-menu > li > a {
        font-size: 11px;
        letter-spacing: 0;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {

}
@media (max-width: 991px) {
    body {
        padding-top: 233px;
    }
    .index-quality-line {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: space-around;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }
    .faq-item-label {
        text-align: left;
    }
}
@media (min-width: 992px) {
    .header-cart,
    .header_profile {
        order: 2;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .header-body > * {
        margin: 10px 5px;
    }
    .header_profile {
        margin-bottom: -5px !important;
    }
}
@media (min-width: 1200px) {

}

/*************** header legend ***********************/
@media (min-width: 768px) and (max-width: 991px), (max-width: 560px) {
    .header-legend {
        display: none;
    }
}

/***************** mobile menu *******************/
.btn-mmenu {
    display: none;
    font-size: 32px;
    text-decoration: none;
    outline: none;
    vertical-align: middle;
    line-height: 40px;
    height: 40px;
    margin-right: 20px;
}
.btn-mmenu, .btn-mmenu:focus, .btn-mmenu:active, .btn-mmenu:hover {
    color: #000 !important;
}
.btn-mmenu > .forclose {
    visibility: hidden;
    transition: visibility 0s linear 0.25s, transform 0.25s ease-in;
}
body.open-menu .btn-mmenu > .forclose {
    visibility:visible;
    transform: rotate(180deg);
    transition: visibility 0s linear 0.25s, transform 0.25s ease-out;
}
.btn-mmenu > .foropen {
    visibility:visible;
    transition: visibility 0s linear 0.25s, transform 0.25s ease-in;
}
body.open-menu .btn-mmenu > .foropen {
    visibility:hidden;
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: visibility 0s linear 0.25s, transform 0.25s ease-in;
}
@media (max-width: 767px) {
    .btn-mmenu {
        display: inline-block;
    }
    .header-top-menu {
        position: fixed;
        top: 194px;
        bottom: 100vh;
        right: 0px;
        left: 0px;
        background: #fff;
        padding: 0 30px;
        overflow: auto;
        border-top: 1px solid #eaeaea;
        z-index: -1;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }
    body.open-menu .header-top-menu {
        bottom: 0px;
        padding: 30px;
        z-index: 6;
    }
    .header-top-menu > .container {
        min-height: 100%;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-align-content: flex-start;
        -ms-flex-line-pack: start;
        align-content: flex-start;
        -webkit-align-items: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }
    .header-top-menu .top-menu > li > a {
        color: #000 !important;
        opacity: 1;
        font-size: 16px;
    }
    .header-top-menu li {
        display: block;
        margin: 10px 0 !important;
    }
    .header-top-menu .top-menu {
        flex-direction: column;
        align-items: flex-start;
    }
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 99;
    }
    body {
        padding-top: 179px;
    }
    body.open-menu {
        overflow: hidden;
    }
    .header-top-menu {
        padding: 0;
    }
    .header-body > *,
    .header-body {
        margin: 0;
    }
    .header_profile {
        margin-bottom: -15px !important;
    }
    .header-login {
        color: #000 !important;
        font-size: 16px;
        margin: 15px 0;
        font-weight: 700;
    }

    .btn-section-list {
        display: block;
        color: #000 !important;
        text-decoration: none !important;
        font-size: 24px;
        text-align: center;
        padding: 10px;
        width: 50%;
    }
    .btn-section-list + .btn-section-list {
        border-left: 1px solid #eaeaea;
    }
    .menu-sections {
        margin: 0px -5px;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: flex-start;
        -webkit-transition: all 0.3s ease-out ;
        -moz-transition: all 0.3s ease-out ;
        -o-transition: all 0.3s ease-out ;
        transition: all 0.3s ease-out ;
    }
    .menu-sections.expand {
        padding: 15px;
        max-height: 1000px;
        position: fixed;
        top: 180px;
        background: #fff;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: auto;
    }
    .menu-sections ul {
        display: block;
        position: relative;
        border: none;
        box-shadow: none;
        padding: 0 0 5px 15px;
    }
    .menu-sections > li {
        padding: 0;
        margin: 0 5px;
    }
    .menu-section-item {
        padding: 3px 0;
    }

    .bx-filter {
        max-height: 0;
        overflow: hidden;
        -webkit-transition: all 0.3s ease-out ;
        -moz-transition: all 0.3s ease-out ;
        -o-transition: all 0.3s ease-out ;
        transition: all 0.3s ease-out ;
    }
    .btn-section-list.expand + .bx-filter {
        max-height: 1000px;
    }
}
/**************** end mobile menu ******************/

/*  Tablet  */
@media (min-width:767px){

    /* Column clear fix */
    .grid > .col-lg-1:nth-child(12n+1),
    .grid > .col-lg-2:nth-child(6n+1),
    .grid > .col-lg-3:nth-child(4n+1),
    .grid > .col-lg-4:nth-child(3n+1),
    .grid > .col-lg-6:nth-child(2n+1),
    .grid > .col-md-1:nth-child(12n+1),
    .grid > .col-md-2:nth-child(6n+1),
    .grid > .col-md-3:nth-child(4n+1),
    .grid > .col-md-4:nth-child(3n+1),
    .grid > .col-md-6:nth-child(2n+1){
        clear: none;
    }
    .grid > .col-sm-1:nth-child(12n+1),
    .grid > .col-sm-2:nth-child(6n+1),
    .grid > .col-sm-3:nth-child(4n+1),
    .grid > .col-sm-4:nth-child(3n+1),
    .grid > .col-sm-6:nth-child(2n+1){
        clear: left;
    }
}


/*  Medium Desktop  */
@media (min-width:992px){

    /* Column clear fix */
    .grid > .col-lg-1:nth-child(12n+1),
    .grid > .col-lg-2:nth-child(6n+1),
    .grid > .col-lg-3:nth-child(4n+1),
    .grid > .col-lg-4:nth-child(3n+1),
    .grid > .col-lg-6:nth-child(2n+1),
    .grid > .col-sm-1:nth-child(12n+1),
    .grid > .col-sm-2:nth-child(6n+1),
    .grid > .col-sm-3:nth-child(4n+1),
    .grid > .col-sm-4:nth-child(3n+1),
    .grid > .col-sm-6:nth-child(2n+1){
        clear: none;
    }
    .grid > .col-md-1:nth-child(12n+1),
    .grid > .col-md-2:nth-child(6n+1),
    .grid > .col-md-3:nth-child(4n+1),
    .grid > .col-md-4:nth-child(3n+1),
    .grid > .col-md-6:nth-child(2n+1){
        clear: left;
    }
}


/*  Large Desktop  */
@media (min-width:1200px){

    /* Column clear fix */
    .grid > .col-md-1:nth-child(12n+1),
    .grid > .col-md-2:nth-child(6n+1),
    .grid > .col-md-3:nth-child(4n+1),
    .grid > .col-md-4:nth-child(3n+1),
    .grid > .col-md-6:nth-child(2n+1),
    .grid > .col-sm-1:nth-child(12n+1),
    .grid > .col-sm-2:nth-child(6n+1),
    .grid > .col-sm-3:nth-child(4n+1),
    .grid > .col-sm-4:nth-child(3n+1),
    .grid > .col-sm-6:nth-child(2n+1){
        clear: none;
    }
    .grid > .col-lg-1:nth-child(12n+1),
    .grid > .col-lg-2:nth-child(6n+1),
    .grid > .col-lg-3:nth-child(4n+1),
    .grid > .col-lg-4:nth-child(3n+1),
    .grid > .col-lg-6:nth-child(2n+1){
        clear: left;
    }
}
