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

    header.front-header {
        position: fixed;
        top: 3px;
        right: var(--section-margin);
        left: auto;
    }

    .menu-button {
        display: block;
        margin-left: 0;
        background: #7100a5;
        padding: 10px;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

}

/* end 1599 */
@media screen and (max-width: 1199px) {

    .breadcrumbs__link,
    .breadcrumbs__current,
    .breadcrumbs__separator {
        font-size: 18px;
    }

    .menu-button {
        display: block;
        margin-left: 0;
        background: #7100a5;
        padding: 10px;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .page-header__title {
        font-size: 42px;
    }

    .pagination {
        padding: 0;
    }


    .header-location {
        font-size: 16px;
    }

    .header-location br {
        display: none;
    }

    .header-nav {
        display: none;
    }

    .wrapper {}

    .main {
        padding: 140px 0;
    }

    .main-banner {
        background-size: cover;
        height: auto;
    }

    .main__title {
        font-size: 42px;
    }

    .section-title {
        font-size: 38px;
    }

    .events-item__pict {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 200px;
        flex: 1 0 200px;
    }

    .events-item-main {
        padding: 20px;
    }

    .history-content {
        padding-left: 0;
    }

    .footer-logo {
        max-width: 200px;
    }

    .footer-logo__desc {
        font-size: 18px;
    }

    .footer-main {
        padding-left: 50px;
    }
	
	.section-licenses .col-12 {
		margin-bottom: 16px;
	}
}

/* end 1199 */
@media screen and (max-width: 1023px) {

    .breadcrumbs__link,
    .breadcrumbs__current,
    .breadcrumbs__separator {
        font-size: 16px;
    }

    .page-dev__title {
        font-size: 38px;
    }

    .page-header {
        padding: 30px 0;
    }

    .page-header__title {
        font-size: 38px;
    }

    .header-location {
        display: none;
    }

    .header-btn {
        margin-left: auto;
    }

    .main-banner {
        height: auto;
        min-height: 420px;
        padding-bottom: 60px;
    }

    .main {
        padding: 60px 0;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .main-content {
        padding: 0 0 30px;
    }

    .main__title {
        font-size: 38px;
    }

    .section-title {
        font-size: 32px;
    }

    .about-pict {
        margin-bottom: 20px;
    }

    .gallery div[class^=col] {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 50%;
        flex: 1 0 50%;
    }

    .gallery-item {
        min-height: 170px;
    }

    .gallery-item_height3 {
        height: 212px;
    }

    .events-item__pict {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 265px;
        flex: 1 0 265px;
    }

    .news-item__pict {
        height: auto;
    }

    .callback {
        padding-top: 0;
    }

    .callback-form__field {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding-left: 0;
    }

    .callback-form__field>label {
        position: relative;
        width: auto;
        top: 0;
        left: 0;
        margin-bottom: 3px;
        padding-right: 0;
        text-align: left;
    }

    .callback-form__bottom {
        padding: 0;
    }

    .history-picts {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: 0 -15px;
    }

    .history-picts figure {
        width: calc(50% - 30px);
        margin: 0 15px;
    }

    .creative-item__pict {
        height: 222px;
    }

    .footer {
        padding: 20px 0;
    }

    .footer-top {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .footer-logo {
        max-width: 300px;
    }

    .footer-logo__desc {
        font-size: 16px;
    }

    .footer-main {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 20px 0 0;
    }

    .footer-nav {
        display: none;
    }

    .footer-contact {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
    }

    .footer-contact__title,
    .footer-contact__location,
    .footer-contact__mail,
    .footer-contact__phone {
        font-size: 16px;
    }

    .footer-social {
        padding-left: 0;
    }

    .footer-bottom {
        margin-top: 30px;
    }

    .footer-copyright {
        font-size: 16px;
    }
	

}

/* end 1023 */

@media screen and (max-width: 991px) {
	
}
/* end 991 */
@media screen and (max-width: 767px) {

    .breadcrumbs__link,
    .breadcrumbs__current,
    .breadcrumbs__separator {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
    }

    .page-header {
        padding: 20px 0;
    }

    .page-header__title {
        font-size: 30px;
    }

    .page-numbers {
        font-size: 18px;
    }

	.page-header {
		min-height: 140px;
		
	}

    .main-banner {
        min-height: auto;
    }

    .main__title {
        font-size: 50px;
    }

    .main__desc {
        font-size: 20px;
    }

    .main__btn {
        max-width: 300px;
        height: auto;
        font-size: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-desc {
        font-size: 16px;
    }

    .more-link {
        font-size: 16px;
    }

    .link-all {
        font-size: 16px;
    }

    .events-item__pict {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 200px;
        flex: 1 0 200px;
    }

    .events-item__title {
        font-size: 18px;
    }

    .events-item__text {
        font-size: 16px;
    }

    .events-item__date {
        font-size: 16px;
    }

    .news-item__pict {
        height: auto;
    }

    .news-item-main {
        padding: 15px 20px;
    }

    .news-item__date {
        font-size: 16px;
    }

    .news-item__title {
        font-size: 18px;
    }

    .news-item__text {
        font-size: 16px;
    }

    .news-item__link {
        font-size: 16px;
    }

    .location-map {
        height: 320px;
    }

    .location-main {
        padding-bottom: 30px;
        font-size: 16px;
    }

    .callback-form__desc {
        font-size: 16px;
    }

    .callback-form__field>label {
        font-size: 16px;
    }

    .callback-form__field input,
    .callback-form__field textarea {
        font-size: 16px;
    }

    .callback-form__btn {
        max-width: 200px;
        height: 45px;
        font-size: 18px;
    }

    .contact-location,
    .contact-item {
        font-size: 16px;
        text-align: center;
    }

    .history-content {
        font-size: 16px;
    }

    .creative-item__pict {
        height: 340px;
    }

    .creative-item-main {
        padding: 20px;
    }

    .creative-item__title {
        font-size: 18px;
    }

    .creative-item__lider,
    .creative-item__text,
    .creative-item__link {
        font-size: 16px;
    }

    .team-item__name,
    .team-item__post {
        font-size: 16px;
    }

    .article__date {
        margin-right: 20px;
        font-size: 16px;
    }

    .article__price {
        margin-right: 20px;
        font-size: 20px;
    }

    .article__price span {
        font-size: 22px;
    }

    .article__btn {
        max-width: 150px;
        height: 50px;
        padding-bottom: 0;
    }

    .article__content {
        font-size: 16px;
    }
	
	.about-desc strong {
		font-size: 20px;
	}
}

/* end 767 */

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

    :root {
        --section-margin: 30px;
        --section-padding: 55px 10px 30px;
    }

	.main {
		padding: 0;
	}

    .breadcrumbs__link,
    .breadcrumbs__current,
    .breadcrumbs__separator {
        font-size: 14px;
    }

    .mobile-nav-menu li {
        padding-right: 40px;
    }

    .mobile-nav-menu li a {
        font-size: 18px;
    }

    .mobile-nav-menu li .sub-menu {
        padding-left: 15px;
    }

    .mobile-nav-menu li .sub-menu li a {
        font-size: 18px;
    }

    .mobile-nav__location {
        font-size: 16px;
    }

    .mobile-nav__callback {
        height: 45px;
    }

    .page-header__title {
        font-size: 28px;
    }

    .header-btn {
        max-width: 140px;
        height: 45px;
        font-size: 20px;
    }

    .header-btn i {
        width: 25px;
        height: 25px;
        margin-right: 10px;
    }
	
	.header-main {
		padding: 0;
	}

    .main__title {
        font-size: 50px;
    }

    .main__desc {
        font-size: 18px;
    }

    .main__btn {
        height: auto;
        font-size: 18px;
		max-width: initial;
    }

    .section-title {
        font-size: 26px;
    }

    .creative-item__pict {
        height: auto;
    }

    .article-nav {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .article__date {
        margin: 0 0 5px;
    }

    .article__price {
        margin: 0 0 12px;
    }

    .article__age {
        margin: 0 0 20px;
    }

    .article__btn {
        margin-left: 0;
    }
	
	.section-about .about {
		border: none;
		padding: 0;
	}
	
	.callback-form {
		border: none;
	}
}

/* end 575 */

@media screen and (max-width: 479px) {
	
	   :root {
        --section-margin: 15px;
        --section-padding: 25px 10px 15px;
    }
	
	section {
		padding: var(--section-padding);
	}
	
	
	
    .error {
        padding: 50px 0;
    }

    .error__title {
        font-size: 100px;
    }

    .error__desc {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        font-size: 16px;
    }

    .header-logo {
        max-width: 135px;
    }

    .header-btn {
        max-width: 120px;
        padding: 0 8px 2px;
        font-size: 16px;
    }

    .header-btn i {
        width: 20px;
        height: 20px;
    }

    .menu-button {
        margin-left: 20px;
    }

    .gallery-item {
        min-height: 140px;
    }

    .gallery-item_height3 {
        height: 150px;
    }

    .events-item {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .events-item__pict {
        -webkit-box-flex: 1;
        -ms-flex: auto;
        flex: auto;
        height: 300px;
    }

    .location-map {
        height: 290px;
    }

    .history-picts {
        margin: 0;
    }

    .history-picts figure {
        width: 100%;
        margin: 0 0 20px;
    }

    .mobile-nav-buttons .btn {
        width: 100%;
        max-width: initial;
        margin-bottom: 16px;
    }

    .mobile-nav-buttons .btn+.btn {
        margin-left: 0;
    }
	
	.advantages-new {
        grid-template-columns: 1fr;
	}
	
	.main-banner:before {
		display: block;
		position: absolute;
		width: 100%;
		height: 100%;
		background: #00000082;
		content: "";
		z-index: 1;
		top: 0;
		left: 0;
	}
		
		.main-banner .container {
			position: relative;
			z-index:	2;
		}
}

/* end 479 */


@media screen and (max-width: 413px) {
    .gallery div[class^=col] {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 100%;
        flex: 1 0 100%;
    }

    .gallery-item {
        min-height: auto;
    }

    .gallery-item_height3 {
        height: auto;
    }
}

/* end 413 */