@media screen and (max-width: 1200px) {
  .container {
    padding: 0 32px;
  }
}

@media screen and (max-width: 360px) {
  .container {
    padding: 0 24px;
  }
}

@media screen and (max-width: 1200px) {
  .header {
    z-index: 110;
    position: fixed;
  }
  .header.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
  }
  .header__menu {
    width: 280px;
    max-height: 100vh;
    padding: 38px 24px;
    position: fixed;
    z-index: 10;
    right: -100%;
    top: 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;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    overflow-y: scroll;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    overflow-y: scroll;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
  }
  .header__menu::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .header__menu-hidden {
    display: block;
  }
  .header__menu.active {
    right: 0;
  }
  .header__bottom-search {
    margin-top: auto;
    margin-bottom: 24px;
    display: block;
  }
  .header__burger {
    display: inline-block;
  }
  .header__call {
    width: 100%;
    font-size: 14px;
    line-height: 18px;
  }
}

@media screen and (max-width: 800px) {    
  .header__top-search {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .header__top {
    min-height: 48px;
  }
  .header__bottom-inner {
    min-height: 68px;
  }
}

@media screen and (max-width: 520px) {
  .header__soc li:not(:last-child) {
    margin-right: 5px;
  }
  .header__soc-yt,
  .header__soc-fb,
  .header__soc-ins {
    padding: 10px 15px;
  }
}

@media screen and (max-width: 391px) {
    .header__soc {
        order: 1;
        position: relative;
        top: 5px;
    }
}

@media screen and (max-width: 1200px) {
  .nav {
    width: 100%;
    max-width: 100%;
  }
  .nav__list {
    -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;
    font-size: 18px;
    border-bottom: 1px solid #EEEEEE;
  }
  .nav__item {
    margin-bottom: 20px;
  }
  .nav__item a {
    padding: 0;
  }
  .nav__item .sub-menu {
    padding: 0;
    padding-left: 8px;
    position: static;
    max-height: 0;
    overflow: hidden;
    visibility: visible;
    opacity: 1;
    -webkit-box-shadow: none;
            box-shadow: none;
    white-space: normal;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    overflow-y: scroll;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
  }
  .nav__item .sub-menu::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .nav__item .sub-menu__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .nav__item .sub-menu li:not(:last-child) {
    margin-bottom: 15px;
  }
  .nav__item .sub-menu .nav__link-show::before {
    top: 8px;
  }
  .nav__item .nav__link-sub:hover::after {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  .nav__item.active .sub-menu {
    padding-top: 20px;
    max-height: 100vh;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
  }
  .nav__item.active .nav__link-sub::after {
    -webkit-transform: rotate(-180deg);
            transform: rotate(-180deg);
  }
}

@media screen and (max-width: 1200px) {
  .breadcrumbs {
    margin-top: 182px;
  }
}

@media screen and (max-width: 767px) {
  .sec-title {
    font-size: 22px;
    line-height: 130%;
  }
}

@media screen and (max-width: 767px) {
  .main-title {
    font-size: 32px;
    line-height: 120%;
  }
}

@media screen and (max-width: 1280px) {
  .blog__item {
    width: calc(50% - 15px);
    min-width: 200px;
    min-height: 200px;
    margin-bottom: 30px;
  }
  .blog__item:nth-child(odd) {
    margin-right: 30px;
  }
  .blog__item:nth-child(even) {
    margin-right: 0;
  }
  .blog__more {
    margin-top: 12px;
  }
  .blog--author {
    margin-top: 40px;
  }
}

@media screen and (max-width: 767px) {
  .blog__item {
    width: 100%;
    min-height: 170px;
    margin-bottom: 20px;
    padding: 20px;
  }
  .blog__item:nth-child(odd) {
    margin-right: 0;
  }
  .blog__item-list {
    font-size: 12px;
  }
  .blog__title {
    font-size: 18px;
  }
  .blog__about {
    font-size: 16px;
  }
}

@media screen and (max-width: 1200px) {
  .pagination {
    margin-top: 10px;
  }
}

@media screen and (max-width: 1200px) {
  .footer {
    margin-top: 56px;
  }
  .footer__top-inner {
    padding: 55px 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;
  }
  .footer__title {
    width: 100%;
    margin-bottom: 24px;
  }
  .footer__menu {
    padding-bottom: 31px;
  }
  .footer__nav {
    margin-top: 24px;
  }
  .footer__nav-chapter {
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 900px) {
  .footer__copy-rights {
    -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;
  }
  .footer__copy-rights__right {
    margin-top: 10px;
  }
}

@media screen and (max-width: 767px) {
  .footer__title {
    font-size: 22px;
  }
  .footer__search input {
    padding-right: 16px;
  }
  .footer__search-btn {
    position: static;
    margin-top: 24px;
    width: 100%;
    padding: 14px;
    min-height: 56px;
  }
  .footer__menu {
    padding-bottom: 56px;
  }
  .footer__address {
    max-width: 355px;
    width: 100%;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .footer__contact {
    width: 100%;
    margin-top: 26px;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .footer__soc {
    margin-top: 0;
    margin-left: auto;
  }
  .footer__nav {
    width: 100%;
    margin-top: 45px;
    border-top: 1px solid #272727;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
  .footer__nav-title {
    width: 100%;
    padding: 25px 16px;
    color: #fff;
    position: relative;
    cursor: pointer;
  }
  .footer__nav-title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 8px;
    height: 5px;
    background: url("../../images/icons/footer-arrow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.5;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  .footer__nav-title.active::after {
    opacity: 1;
    -webkit-transform: rotate(-180deg);
            transform: rotate(-180deg);
  }
  .footer__nav-list {
    margin-top: 0;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  .footer__nav-list.active {
    max-height: 100vh;
    padding-bottom: 24px;
  }
  .footer__nav-chapter {
    margin: 0;
    border-bottom: 1px solid #272727;
  }
  .footer__nav-chapter:nth-child(2) {
    margin-right: 0;
  }
  .footer__copy {
    padding-top: 48px;
  }
  .footer__copy-rights__left {
    display: block;
  }
  .footer__copy-list {
    margin-left: 0;
    margin-top: 16px;
    color: #fff;
  }
  .footer__copy-list a::after {
    background: #fff;
  }
  .footer__copy-list li:first-child a {
    padding-left: 0;
  }
  .footer__copy-list li:first-child a::before {
    display: none;
  }
  .footer__copy-list li:first-child a::after {
    left: 0;
  }
}

@media screen and (max-width: 767px) {
  .modal {
    width: calc(100% - 64px);
    padding: 20px;
  }
}

@media screen and (max-width: 360px) {
  .modal {
    width: calc(100% - 48px);
  }
}
