@media (max-width: 1200px) {
    .intro-banner .intro ul li span {
    font-size: 30px;
    }
    #header .dj-megamenu-ps {
    margin-right: 150px;
    }
    body .category-filter {
    display: block;
}
    body .ba-gallery select.ba-select-filter {
    display: none !important;
}
    body .ba-gallery .category-filter a.ba-filter, body .ba-gallery .category-filter a.ba-filter-active {
    display: inline-block !important;
}
}

@media (max-width: 1100px) {
    #header .dj-megamenu-ps {
    margin-right: 130px;
}
    #header .dj-megamenu-ps li a.dj-up_a {
    padding: 0 10px;
    font-size: 16px;
    }
    #footer>div:nth-of-type(1) {
    width: 250px;
}
    #footer>div:nth-of-type(2) {
    width: calc(100% - 250px);
}
    .gallery ul li, .products-block>ul>li, .blog-list>ul>li, .image ul li {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 33.3%;
            flex: 0 1 33.3%;
}
.instagram-block>div {
    flex-wrap: wrap;
}
}

@media (max-width: 979px) {
    .intro-banner .intro ul {
    margin: 0 15px;
}
    .intro-banner .intro ul li:nth-of-type(1) {
    margin-right: 7.5px;
}
    .intro-banner .intro ul li:nth-of-type(2) {
    margin-left: 7.5px;
}
    .languageswitcher {
    right: 90px;
}
    #dj-megamenu112mobile {
    display: block;
    height: 18px;
}
    .banner .text, .video-banner .text {
    bottom: 25px;
    }
    .banner .text span, .video-banner .text span {
    font-size: 40px;
    }
    .btn-pink {
    font-size: 17px;
    }
.info-blocks ul {
    margin: 25px 0;
    }
.ba-gallery-content-wrapper {
    margin-top: 25px;
}
    .gallery .custom .ba-gallery-content-wrapper {
    margin-bottom: 0;
}
    .about-us {
    padding: 35px 0;
    margin-top: 35px;
}
    .about-us h2 {
    margin-bottom: 35px;
}
    .contact-form h2 {
    margin-bottom: 35px;
}
    .contact-form form {
    margin: 0 auto 10px;
}
    .copyr {
    padding: 125px 0 25px 0;
}
    .page-title, .blog-list, .view-form .page-header {
    margin-bottom: 35px;
}
    .desc-block {
    margin-bottom: 35px;
}
    .page-title h1, .view-form .page-header h1 {
    padding-top: 25px;
    padding-bottom: 25px;
    }
    .contentpaneopen .products-block {
    margin: 35px 0;
}
.contentpaneopen .products-block h2 {
    margin-bottom: 15px;
}
    .contacts .contact-data h2 {
    margin-bottom: 35px;
}
.banner, .video-banner {
    min-height: 250px;
}
}

@media (max-width: 850px) {
    .info-blocks ul {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .info-blocks ul li {
    margin: 25px 12.5px;
}
    .ba-gallery {
    padding: 0 !important;
}
    .gallery ul li, .products-block>ul>li, .blog-list>ul>li, .image ul li, .itemid-128 .gallery ul li {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 50%;
            flex: 0 1 50%;
    }
}

@media (max-width: 750px) {
    .view-featured #header {
    padding-top: 25px;
    padding-bottom: 25px;
    }
    .intro-banner .intro ul {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
    .intro-banner .intro ul li {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 100%;
            flex: 0 1 100%;
        margin: 0 0 0 0 !important;
    height: 25vh;
    min-height: 200px;
    }
    .intro-banner .intro ul li:nth-of-type(1) {
    margin-bottom: 15px !important;
    }
    .intro-banner .intro ul li span {
    top: 25%;
    }
    .view-featured #header>div {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .view-featured .languageswitcher {
    position: initial;
    -webkit-box-flex: 100%;
        -ms-flex: 100%;
            flex: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 10px;
    }
    #footer>div:nth-of-type(1) {
    width: 100%;
}
    #footer>div:nth-of-type(1)>div {
    max-width: unset;
    padding-left: 25px;
    padding-right: 25px;
    text-align: center;
}
    #footer .logo {
    margin-left: auto;
    margin-right: auto;
}
    #footer .social ul {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    }
    .view-featured #footer {
    height: 225px;
}
    .view-featured #footer .social ul {
    padding-top: 15px;
    padding-bottom: 0px;
    }
    #footer>div:nth-of-type(2) {
    width: 100%;
}
    .contacts {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .contacts>div {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 100%;
            flex: 0 1 100%;
    padding: 0 !important;
}
    .contacts .contact-data {
    margin-bottom: 50px;
}
.view-featured .intro-banner {
    min-height: 475px;
}
	.h-contacts ul li {
    margin-left: 10px;
}
}

@media (max-width: 600px) {
    .gallery ul li, .products-block>ul>li, .blog-list>ul>li, .image ul li, .itemid-128 .gallery ul li {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 100%;
            flex: 0 1 100%;
}
    body .category-filter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
    body .ba-gallery select.ba-select-filter {
    display: block !important;
}
    body .ba-gallery .category-filter a.ba-filter, body .ba-gallery .category-filter a.ba-filter-active {
    display: none !important;
}
	.h-contacts ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    padding: 3px 25px;
}
	.h-contacts ul li {
    padding: 0px 0 0px 13px;
    margin-right: 165px;
    font-size: 16px;
}
	.h-contacts ul li:last-child {
    position: absolute;
    top: 0;
	}
	.h-contacts ul li:before {
    top: 7px;
}
}
    
@media (max-width: 500px) {
    .intro-banner .intro ul li {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 100%;
            flex: 0 1 100%;
    }
    .f-w-block, .page-title h1, .view-form .page-header h1 {
    padding: 0 15px;
    }
    .s-w-block {
    padding: 0 15px;
    }
    .banner, .video-banner {
    max-height: 300px;
    }
    .page-title h1, .view-form .page-header h1 {
    padding-top: 25px;
    padding-bottom: 25px;
}
}

@media (max-width: 400px) {
    .intro-banner .intro ul li span {
    top: 50px;
}
    .languageswitcher {
    right: 60px;
    top: 30px;
}
    .languageswitcher a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
}
    #dj-megamenu112mobile {
    position: absolute;
    right: 15px;
    top: 34px;
}
    .banner .text span, .video-banner .text span {
    font-size: 35px;
}
    .btn-pink {
    font-size: 17px;
}
    h2 {
    font-size: 25px;
}
    .s-w-block {
    text-align: left;
    }
}
