@media screen and (max-width: 1199px) {
    .banner-period::before {
        top: 20px;
    }

    .banner-block, .banner-history-block {
        min-height: 670px !important;
    }
}

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

    .banner-history-block::before {
        display: none;
    }

    .banner-history-middle::after {
        display: none;
    }

    .banner-history-middle::before {
        display: none;
    }

    .banner-history-title {
        width: 100%;
        font-size: 23px;
    }

    .banner-history-middle {
        padding: 0;
        border: none;
    }

    .banner-block, .banner-history-block {
        min-height: 750px !important;
    }

    .banner-block {
        padding: 10px;
    }

    .banner-block:after {
        display: none;
    }

    .banner-subtitle {
        font-size: 25px;
    }

    .banner-text {
        padding: 10px;
    }

    .banner-text::after {
        display: none;
    }

    .banner-text::before {
        display: none;
    }

    .banner-period::before {
        top: 30px;
    }

}

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

    .gallery-block .gallery-list {
        grid-template-columns: repeat(1, 1fr) !important;

    }

    .gallery-block .project-gallery-block {
        height: 300px;
    }

    .filters-form {
        flex-direction: column;
    }

    .project-filter {
        min-width: 100%;
    }

    .banner-block, .banner-history-block {
        min-height: 990px !important;
    }

    .banner-history-title {
        font-size: 20px;
    }

    .links-wrap {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 157px;
        background: #283A70;
        z-index: 7;
    }

    .links-wrap .links {
        text-align: left;
        padding: 15px;
    }

    .links-wrap .links li {
        display: block;
        width: 100%;
        padding: 0;
        padding: 5px 0;
    }

    .links-wrap a {
        color: #fff;
        font-size: 12px;
        line-height: 14px;
    }

    .content::after {
        transform: matrix(1, 0, 0, 1, 0, 0);
        width: 100%;
        height: 100%;
        border-radius: 0;
        top: 0;
        right: 0;
        margin: 0;
        background-size: cover;
        background-position: 70% 50%;
    }

    .content::before {
        transform: matrix(1, 0, 0, 1, 0, 0);
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        margin: 0;
    }

    .container-grid {
        display: block;
    }

    .description {
        width: 100%;
        padding: 120px 22px;
        margin: 0;
    }

    .content .description h3 {
        font-size: 24px;
        line-height: 30px;
        max-width: 200px;
    }

    .content .description p {
        padding: 25px 0;
        font-size: 15px;
        line-height: 30px;
    }

    .content .description p i {
        width: 26px;
        height: 32px;
        background-size: cover;
        padding: 0;
        margin-right: 2px;
    }

    .content .modules ul {
        display: block;
    }

    .content .modules li {
        width: 100%;
        float: left;
        clear: none;
        margin: 10px 4%;
    }

    .footer {
        padding: 22px;
    }

    .footer .social span {
        font-size: 13px;
    }
}

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

    .banner-title, .banner-subtitle {
        font-size: 20px;
    }

    .banner-period::before {
        top: 60px;
    }

    .banner-link {
        padding: 10px 20px;
    }

}

@media screen and (max-width: 640px) {
    .nav-scroller {
        display: none;
    }

    .content::after {
        background-position: center;
    }

    .container-grid {
        display: block;
    }

    .description {
        width: 100%;
        padding: 80px 22px;
        margin: 0;
    }

    .content .description {
        padding-top: 0;
        padding-bottom: 0;
    }

    .content .description h3 {
        font-size: 22px;
        line-height: 25px;
        max-width: none;
        text-align: center;
    }

    .content .description p {
        padding: 25px 0;
        font-size: 24px;
        line-height: 25px;
        font-weight: 100;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content .description p i {
        width: 50px;
        height: 65px;
        background-size: cover;
        padding: 0;
        margin-right: 2px;
    }

    .content .modules ul {
        display: block;
        padding: 0;
    }

    .content .modules li {
        max-width: 190px;
        width: 190px;
        text-align: center;
        float: none;
        margin: 0 auto 35px auto;
    }

    .content .modules li:last-child {
        margin-bottom: 0;
    }

    .footer {
        padding: 22px;
    }

    .footer .footer_menu {
        width: 100%;
    }

    .footer .footer_menu li a {
        font-size: 13px;
        text-align: center;
    }

    .footer .footer-bottom .float-left {
        float: none !important;
    }

    .footer .footer-bottom .container {
        display: flex;
        flex-direction: column-reverse;
    }

    .footer .footer-bottom .social .social_icons {
        display: flex;
        justify-content: center;
    }

    .footer .footer-bottom .copyright {
        font-size: 10px;
        text-align: center;
    }

    .sort-news p {
        width: 100%;
        display: inline-block;
    }

    .news-content .news .minature {
        width: 100%;
    }
}

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

    .banner-period::before {
        top: 22px;
    }

    .banner-block, .banner-history-block {
        min-height: 540px !important;
    }

}

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

    .banner-block, .banner-history-block {
        min-height: 570px !important;
    }

}

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

    .banner-block, .banner-history-block {
        min-height: 660px !important;
    }

}
