.admin-top-menu {
    overflow: hidden;
}


@media only screen and (max-width: 1023px) {

    .CategoriesMainMenuAdaptive {}

    .CategoriesMainMenuAdaptive .TileMenuItem {}

    .TileMenuItem {

        height: 108px;
    }
}

@media only screen and (max-width: 768px) {
    .CategoriesMainMenuAdaptive .TileMenuItem {
        width: 33%;
    }

    #add-menu {
        display: flex;
    }

    .add-menu-tabs {
        display: none;
    }

}



/*Media queries*/

@media all and (max-width: 1240px) {
    .cat-desc .cat-desc-img {
        width: 50%;
    }

    .shop-item.shop-single-item {
        width: calc(100% - 50%);
    }

    .mg-compare-products .mg-compare-center {
        overflow: unset;
    }

    .mg-compare-products {
        overflow: auto;
    }

    .element-counter-wrap p {
        font-size: 3vw;
    }

    .b-index-head-bottom {
        background-position: 50% 0%;
        background-size: 100%;
        background-image: url('/uploads/bg/optika24-1240.jpg');
    }

    .truecontainer {
        max-width: 1024px
    }

    .shops-optics,
    .seotext-wrapper,
    .product-week,
    .oftalmolog,
    .discount-week,
    .partners,
    .b-index-head-bottom .truecontainer {
        width: 1024px;
    }

    .b-wrapper {
        min-width: 1024px;
    }

    .mg-search-block .search-field {
        width: 176px;
    }

    .mg-search-block .search-button {
        left: 150px;
    }

    .shops-optics__item {
        width: 32%;

    }

    .oftalmolog-wrap {
        padding: 10px 40px 26px 100px;
    }

    .partners-wrap {
        padding: 4px 40px 26px 40px;
    }

    .seotext {
        max-width: 828px;
    }

    .shops-optics {
        padding-top: 100px;
    }
}

@media all and (max-width: 1024px) {
    .discount-time-single {
        font-size: 3vw;
    }

    .discount-item-text-other .tags,
    .mg-discount-title-other {
        font-size: 23px;
    }

    .tags {
        text-align: center;
    }

    .without-first .tags {
        text-align: left;

    }

    .discount-other-img {
        width: 37%;
    }

    .discount-item-text-other {
        width: 63%;
        float: left;
    }

    .btns-discounts-other-block {
        display: flex;
        width: 100%;
    }

    .btns-discounts-other-block div {
        margin: auto;
    }

    .btns-discounts-other .btns-discounts-other-firstbtn {
        margin-bottom: 0;
    }

    .btns-discounts-other {
        width: 100%;
        float: left;
    }
	
	/*
    .bread-crumbs .last-crumb {
        font-size: 20px;
        position: relative;
        top: 0px;
        display: block;
    }
    */

    .mg-main-news-block.blog-article-list .mg-main-news-item {
        margin-top: 15px;
    }

    .b-index-head-bottom__doctors {
        padding-top: 47px;
    }

    .b-index-head-bottom {
        background-position: 50% 0%;
        background-size: 100%;
        background-image: url('/uploads/bg/optika24-1024.jpg');
    }

    .truecontainer {
        max-width: 900px;
    }

    .shops-optics,
    .seotext-wrapper,
    .product-week,
    .oftalmolog,
    .discount-week,
    .partners,
    .b-index-head-bottom .truecontainer {
        width: 900px;
    }

    .b-wrapper {
        min-width: 900px;
    }


    .shops-optics__item {
        width: 31%;

    }

    .partners-wrap {
        padding: 4px 40px 26px 20px;
    }

    .seotext {
        max-width: 760px;
    }

    .four-text-blocks {
        height: 300px;
    }

}


@media all and (max-width: 900px) {
    .shop-item.shop-single-item {
        width: calc(100% - 75%);
    }

    .mg-product-slides {
        /* width: 674px !important;*/
    }

    .bx-next {
        left: 660px !important;
    }

    .mg-main-news-item:first-child .first-discount-img,
    .discount-items-single .first-discount-img {
        background-size: contain;
        display: none;
    }

    .first-discount-img-mobile {
        display: block;
    }

    .mg-news-details h1 {
        text-align: center;
    }

    .cat-search-block {
        padding: 0 0;
        width: 250px;
        margin: 20px 0 20px;
    }

    .left-block .cat-search-block {
        padding: 0 0;
        width: 100%;
        margin: 20px 0 20px;
    }

    .left-block .mg-search-block .search-button {
        right: 12px;
        left: auto;
        ;
    }

    .filter-block.catalog-filter .j-catalog__nav {
        display: none;
    }

    .filter-block.catalog-filter.open .j-catalog__nav {
        display: block;
    }

    .filter-block .menu-toggle.catalog-toogle,
    .filter-block .menu-toggle.filter-toogle {
        font-size: 18px;
        text-decoration: none;
        font-weight: 600;
    }

    .truecontainer {
        max-width: 100%;
    }

    .shops-optics,
    .seotext-wrapper,
    .product-week,
    .oftalmolog,
    .discount-week,
    .partners,
    .b-index-head-bottom .truecontainer {
        width: 100%;
    }

    .i-logo {
        width: 82%;
    }

    .mg-search-block {
        width: 26%
    }

    .b-wrapper {
        min-width: 100%;
    }


    .seotext {
        max-width: 90%;
    }

    .top-menu-block {
        display: none;
    }

    .element-item-title-wrap p,
    .element-discount-title-wrap p {
        font-size: 4vw;
    }

    .element-price-wrap p {
        font-size: 3.6vw;
    }

    .element-column-wrap {
        padding: 10px 20px 26px 20px;
    }

    .product-image {
        margin: 0 20px 5px 20px;
    }

    .bigbluebtn {
        padding: 6px 25px;
        font-size: 2.5vw;
    }

    .depatments-wrap {
        width: 100%;
    }

    .bigwhitebtn {
        padding: 7px 25px;
        font-size: 2.3vw;
    }

    .partners-btn-wrap {
        margin-top: 10px;
    }

    .element-partners-title h2 {
        font-size: 2.7vw;
    }

    .element-partners-desc p {
        font-size: 2.3vw;
    }

    .partners {
        padding-top: 18px;
        padding-bottom: 10px;
    }

    .shops-optics__item:nth-child(5n+1) {
        /* display: none */
    }

    .shops-optics__item:nth-child(3n+2) {
        margin-left: 0px;
        margin-right: 0px;
    }

    .shops-optics__item {
        margin-left: 20px !important;
    }

    .shops-optics__item {
        width: 46%;
    }
}

@media all and (max-width: 850px){
	.left-news-block{
		display:none;
	}
}

@media all and (max-width: 740px) {
    
    .o24-shop-info .o24-shop-item-time {
        width: 100%;
        max-width: 100%;
    }
    
    .mg-product-slides .slides-slider .slides-item {
        height: 100px
    }

    .mg-product-slides .slides-slider .slides-item,
    .mg-product-slides .slides-slider .active-item,
    .mg-product-slides .slides-slider .slides-item.active {
        border: 0;
    }

    .bx-prev,
    bx-next {
        display: none;
    }

    .shop-item.shop-single-item {
        width: calc(100% - 52%);
    }

    .mg-product-slides {
        /* width: 674px !important; */
    }

    .bx-next {
        left: 660px !important;
    }

    .search-results.products-wrapper.list .product-wrapper .product-image {
        width: 100%;
    }

    .search-results.products-wrapper.list .product-wrapper .product-all {
        width: 100%;
    }

    .search-results.products-wrapper.list .product-name a {
        width: 100%;
        font-size: 24px;
        padding-top: 0px;
        line-height: 26px;
    }

    .search-results.products-wrapper.list .product-wrapper .product-buttons .addToCart {
        margin: 15px 0px;
    }

    .discount-time-single {
        font-size: 4vw;
    }

    .left-side-77s {
        width: 100%;
    }

    .right-side-23s {
        width: 100%;
    }

    .mg-main-news-item:first-child .mg-news-title-discount {
        font-size: 32px;
    }

    .mg-main-news-item.discount .discount-item {
        border: 0;
    }

    .btns-discounts-other-block {
        margin: 5px;
    }

    .btns-discounts-other-block {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
    }

    .btns-discounts-other-block div {
        margin: auto;
        flex-grow: 1;
        flex-basis: 50%;
    }

    .btns-discounts-other-block .shops-discounts-time {
        flex-basis: 51%;
    }

    .discount-item-text-other {
        margin-top: 0px;
    }

    .discount-other-img,
    .discount-item-text-other,
    .btns-discounts-other {
        width: 100%;

    }

    .discount-item-text-other {
        padding: 0;
    }

    .mg-news-info {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .discount-items .mg-news-info .mg-list-discount-img {
        max-width: 740px;
        height: auto;
        padding: 0;
    }

    .mg-discount-date {
        display: none;
    }

    .first-usluga-button {
        margin-top: 10px;
    }

    .mg-discount-main-desc {
        margin-top: 8px;
    }

    .btns-discounts-first {
        text-align: center;
        margin-top: 20px;
    }

    .text-header-discount h1 {
        font-size: 7vw;
        margin: 0;
        line-height: 8vw;
    }

    .text-header-discount {
        font-size: 20px;
    }

    .btn-big,
    .first-usluga-button {
        font-size: 4vw;
        width: 100%;
        display: block;
        padding: 10px;
    }

    .product-name,
    .product-price,
    .product-rightblock {
        width: 100%;
    }

    .product-name a {
        font-size: 18px;
        line-height: 19px;
    }

    .news-items {
        /*column-count: 1;*/
    }

    .news-item:first-child {
        height: auto;
    }

    .news-item {
        height: auto;
        margin: 18px 0;
		width: 100%;
    }

    .news-item:first-child .discount-img {
        height: 246px;
    }

    .mg-main-news-item:first-child {
        padding: 0;
    }

    .news-item:first-child .mg-news-title-news {
        text-align: left;
        color: #333;
        font-size: large;
        line-height: inherit;

    }

    .mg-main-news-block.blog-article-list .mg-main-news-item {
        margin: 0;
    }

    .news-item:first-child .mg-news-text-news {
        text-align: left;
        width: 100%;
    }

    .mapstabs label {
        display: none;
    }

    .mapstabs select {
        display: block;
        background: transparent;
        border: 0;
        color: #fff;
        font-size: 26px;
    }

    .mapstabs select > option {
        background-color: #2ea2f8;
    }

    .footer-wrapper .element-col-25:not(:nth-child(1)) {
        margin-top: 25px;
    }

    .element-col-25 {
        width: 50%;
    }

    .footer-wrapper {
        flex-wrap: wrap;
    }

    .four-text-blocks {
        flex-wrap: wrap;
    }

    .four-text-block {
        width: 100%;
    }

    .four-text-blocks {
        height: auto;
    }

    .b-index-head-bottom__text {
        right: 0;
        bottom: auto;
        width: 100%;
        position: relative;
        left: -15px;
        width: calc(100% + 30px);
    }

    .b-index-head-bottom {
        height: auto;
        background-image: url('/uploads/bg/optika24-740x500.jpg');
    }

    .shops-optics {
        padding-top: 30px;
    }

    .b-index-head-bottom__doctors {
        position: relative;
        padding-top: 5vw;
        margin: 0 auto;
        padding-left: 0;
        width: 100%;
        height: 65vw;
    }

    .b-index-head-bottom__doctors__title {
        margin-bottom: 22px;
        width: 100%;
        color: #333;
        font-family: Arial;
        font-size: 6vw;
        font-weight: 700;
        line-height: 7vw;
    }
}

@media all and (max-width: 560px) {
    .cat-param-table tr td {
    padding-left: 0px;
}
    .cat-param-table tr td img {
        padding-left: 0px;}
    .shop-item.shop-single-item {
        width: 100%;
    }

    .mg-product-slides .slides-slider .slides-item {
        height: 50px
    }

    .mg-product-slides > .bx-wrapper {
        margin: 0 auto;
    }

    .cat-desc .cat-desc-img {
        width: 100%;
    }

    .cat-desc-img .mg-product-slides {
        width: calc(100% - 20px) !important;
    }

    .mg-news-details h1 {
        font-size: 6vw;
    }

    .mg-main-news-item:first-child .mg-news-title-discount {
        width: 100%;
    }

    .btns-discounts-other .btns-discounts-other-firstbtn,
    .btns-discounts-other .btns-discounts-other-secondbtn {
        width: 100%;
        margin-bottom: 10px;
    }

    .btns-discounts-other-block div {
        flex-basis: 100%;
    }

    .shops-optics__item {
        width: 100%;
    }

    .shops-optics__item:nth-child(4n+1) {
        /* display: none */
    }

    .shops-optics__item {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
}

@media all and (max-width: 500px) {
    .mg-product-slides {
        width: calc(100% - 20px);
    }

    .element-counter-wrap p {
        font-size: 6vw;
    }

    .mg-news-date {
        display: none;
    }

    .go-back-link {
        width: 100%;
        
    }
    
    .mg-back1 {
	    margin-top: 2rem;
	    margin-bottom: 2rem;
    }

    .shop-item-mini .shops-site-link,
    .shop-item-mini .shop-map {
        width: 100%;
        display: block;
    }

    .block-shop-site-link {
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .topcontainer {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .element-row {
        flex-wrap: wrap;
    }

    .element-row.warp-revers-mobile {
        flex-wrap: wrap-reverse;
    }

    .element-col-50,
    .element-col-75,
    .element-col-25 {
        width: 100%;
    }

    .truecontainer {
        flex-wrap: wrap;
    }

    .s-header__top {
        height: 110px;

    }

    .s-header__top .i-logo {
        position: relative;
        text-align: center;
        width: 100%;
        margin-left: 0px;
    }

    .mg-search-block {
        width: 90%;
        margin: 0 auto;
    }

    .mg-search-block .search-field {
        width: 100%;
    }

    .mg-search-block .search-button {
        right: 12px;
        left: auto;
    }

    .element-item-title-wrap,
    .element-discount-title-wrap {
        width: 100%;
        max-width: 100%;
    }

    .element-price-wrap p {
        font-size: 5.6vw;
    }

    .element-item-title-wrap p,
    .element-discount-title-wrap p {
        font-size: 5vw;
    }

    .bigbluebtn {
        padding: 7px 36px;
        font-size: 5.5vw;
    }

    .element-oftalmolog-title,
    .element-oftalmolog-desc,
    .element-oftalmolog-quote {
        width: 100%;
        max-width: 100%;
    }

    .oftalmolog {
        text-align: center;
    }

    .element-column-wrap {
        margin: 0 auto;
    }

    .depatment-name h3 {
        top: 20px;

    }

    .depatment-block {
        height: 62px;

    }

    .partners-btn-wrap,
    .partners-wrap {
        text-align: center;
        display: block;
    }

    .element-partners-title h2 {
        font-size: 5.5vw;
    }

    .element-partners-desc p {
        font-size: 4.6vw;
    }

    .bigwhitebtn {
        font-size: 5.3vw;
    }

    .discount-week-image img {
        width: 100%;
    }

    .discount-week,
    .product-week,
    .seotext-wrapper {

        padding-top: 30px;






    }
}
    
@media all and (max-width: 992px) {
	.bread-crumbs {
		text-align: left;
	}
}

