@media(max-width: 1460px) {
    h3 {
        font-size: 16px;
    }
    .container {
        width: 1300px;
    }
    .header__nav > li > a {
        padding: 20px 10px;
        font-size: 18px;
    }
    .header-logo {
        width: 200px;
    }
    .section__news-item {
        height: auto;
    }
    .section__news-image {
        margin-right: 20px;
        height: 200px;
    }
    .section__news-title {
        margin-bottom: 15px;
    }
    .section__news-excerpt {
        font-size: 16px;
    }
    .sidebar__birth {
        padding: 40px 15px;
    }
    .sidebar__month-list span {
        font-size: 16px;
        line-height: 21px;
    }
   
    .footer-nav li {
        padding: 0px 5px;
    }
    .footer-nav a {
        font-size: 17px;
    }
    .footer__contact-item img {
        margin-right: 10px;
    }
    .footer-logo span {
        font-size: 16px;
    }
}
@media(max-width: 1300px) {
    .container {
        width: 1120px;
    }
    .header__nav > li > a {
        font-size: 16px;
    }
    .section__news-excerpt {
        font-size: 16px
    }
    .footer-nav a {
        font-size: 16px;
    }
}
@media(max-width: 1160px) {
    .container {
        width: 990px;
    }
    .header-logo {
        width: 178px;
    }
    .header__nav > li > a {
        font-size: 14px;
        padding: 20px 5px;
    }
    .header-btn {
        width: 95px;
    }

    .section__content {
        padding-top: 30px;
        padding-bottom: 80px;
    }
    .section__content-row {
        flex-wrap: wrap;
    }
    .section__content-left {
        width: 100%;
        padding-right: 0;
        margin-bottom: 80px;
    }
    .section__news-excerpt {
        font-size: 16px
    }
    .section__content-right {
        width: 100%;
    }
    .sidebar__foto-image {
        height: auto;
    }
    .sidebar__birth-link {
        font-size: 16px;
        list-style: 24px;
    }
    
    .sidebar__month-list span {
        font-size: 16px;
        line-height: 24px;
    }

    .footer-nav a {
        font-size: 18px;
    }
    .footer-row {
        flex-flow: wrap;
        height: auto;
        padding: 25px 0;
    }
    .footer-nav {
        width: 100%;
        justify-content: center;
        padding: 25px 0;
    }
    .footer-logo {
        text-align: center;
        width: 100%;
    }
    .footer__contact {
        width: 100%;
    }
    .footer__contact-item {
        justify-content: center;
    }
}
@media(max-width: 990px) {
    .container {
        width: 770px;
    }    
    h1, h2 {
        margin-bottom: 30px;
    }
    h3 {
        font-size: 13px;
    }
    .scroll-top {
        display: none !important;
    }
    .header {
        position: relative;
    }
    .header-logo {
        width: 200px;
        margin-right: 300px;
    }
    .header__burger {
        display: block;
    }
    .header__nav {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 0px);
        width: 100%;
        background-color: #fff;
        z-index: 9999999;
        padding: 20px;
        transition: all .5s;
        display: none;
        box-shadow: 0px 10px 9px 4px rgb(0 0 0 / 32%);
    }
    .header__nav li > a {
        display: inline-block;
        padding: 10px;
        font-size: 16px;
    }
    .header__nav > li:hover > a {
        font-weight: normal;
    }
    .header__nav > li > a:hover {
        font-weight: bold;
    }
    .header__nav > li:hover .sub-menu {
        display: block;
    }
    .header__nav .sub-menu {
        position: relative;
        padding: 0;
        width: 100%;
        padding-left: 20px;
        background: transparent;
        display: block;
    }
    .header__nav .sub-menu li {
        margin-top: 0;
        margin-bottom: 0px;
    }
    .header__nav-close {
        display: block;
        width: 40px;
        height: 30px;
        cursor: pointer;
        position: absolute;
        z-index: 2;
        top: 20px;
        right: 20px;
    }
    .header__nav-close:after {
        width: 100%;
        content: "";
        position: absolute;
        top: 0;
        height: 4px;
        border-radius: 5px;
        background-color: #00536d;
        bottom: 0;
        margin: auto;
        transform: rotate(-45deg);
    }
    .header__nav-close:before {
        width: 100%;
        content: "";
        position: absolute;
        bottom: 0;
        height: 4px;
        border-radius: 5px;
        background-color: #00536d;
        transform: rotate(45deg);
        top: 0;
        margin: auto;
    }
    .section__news-item {
        height: auto;
    }
    .section__news-image {
        height: 190px;
    }
    .section__news-title {
        font-size: 20px;
        line-height: 28px;
    }
    .section__news-excerpt {
        font-size: 14px
    }

    .select__table-body_colon span {
        font-size: 14px;
    }
    .select__table-post {
        width: 31%;
    }
    .popup__resume-wrapp {
        width: 100%;
    }

    .footer-nav a {
        font-size: 16px;    
    }

    .page__news-content blockquote {
        padding: 5px 0 5px 15px;
    }
    
}
@media(max-width: 770px) {
    body {
        min-width: 333px;
    }
    h1, h2 {
        font-size: 26px;
    }
    .container {
        width: 100%;
        padding: 0px 15px;
    }
    .header {
    }
    .header-logo {
        margin-right: 0;
    }
    .header-row {
        flex-wrap: wrap;
        padding: 20px 0;
    }
    .header-user {
        display: block;
    }
    .header-phone {
        font-size: 17px;
    }
    .header-phone {
        width: 100%;
        justify-content: center;
        padding-top: 20px;
        margin-top: 17px;
        border-top: 1px solid #e2e2e2;
    }
    .header-btn {
        display: none;
    }

    .footer-wrapp {
        background: url(../img/bg-footer-mob-row.png);
        background-position: bottom;
        background-repeat: repeat-x;
    }
    
    .section__news-excerpt {
        font-size: 13px;
    }
    .section__news-item {
        flex-wrap: wrap;
        height: auto;
        margin-bottom: 30px;
    }
    .section__news-image {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .section__news-image img {
        height: auto;
        width: 100%;
    }
    .section__news-title {
        font-size: 18px;
        height: auto;
    }
    .section__news-excerpt {
        font-size: 15px;
        height: auto;
    }
    .section__guote p {
        font-size: 16px;
        line-height: 26px;
    }
    .section__guote {
        padding: 5px 0 5px 20px;
    }
    .page__document-link {
        flex-wrap: wrap;
    }
    .page__document-show {
        display: block;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page__contact-region_title {
        width: 100%;
        margin-bottom: 15px
    }
    .page__contact-region {
        flex-wrap: wrap;
    }
    .page__contact-select {
        width: 100%;
        padding: 0px 10px;
        font-size: 14px
    }
    .page__document-link a {
        width: 100%;
    }
    .page__document-dowload img {
        width: 25px;
    }
    .page__document-dowload a {
        margin-right: 10px;
    }
    .page__document-dowload span {
        white-space: nowrap;
        margin-right: 10px;
    }
    .page__document-title {
        font-size: 19px;
        margin-bottom: 30px;
    }
    .page__document-item {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
    .page__document-item:last-child {
        margin-bottom: 0;
    }
    .page__document-subtitle {
        margin-bottom: 25px;
    }
    .page__appeals-form textarea {
        height: 310px;
    }

    .select__table-head .select__table-head_colon {
        display: none;
    }
    .select__table-body {
        flex-wrap: wrap;
    }
    .select__table-head .select__table-contact {
        display: block;
    }
    .select__table-name {width: 100%;}
    .select__table-post {width: 100%;}
    .select__table-phone {width: 100%;}
    .select__table-email {width: 100%;}
    .select__table-body {
        padding-top: 20px;
    }
    .select__table-body_colon {
        height: auto;
        justify-content: center;
        margin-bottom: 17px;
        padding: 0;
        border-right: 0;
    }
    .select__table-body_colon span {
        font-size: 16px;
        text-align: center;
    }

    .page__gallery-row {
        flex-wrap: wrap;
        justify-content: space-between;
        text-align:center;
    }
    .page__gallery-item {
        margin-bottom: 50px;
    }
    .page__gallery-row a {
        flex-grow: 1;
        width: 48%;
        margin-right: 0;
    }
    .page__gallery-link {
        font-size: 18px;
        line-height: 26px;
    }
    .page__gallery-mb {
        margin-bottom: 20px;
    }

    .page__login-logo {
        width: 340px;
        max-width: 100%;
    }

    
    .footer-nav {
        flex-wrap: wrap;
    }
    .footer-logo {
        margin-bottom: 15px;
    }
    .footer-nav li {
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }
}
@media(max-width: 540px) {
    .page__gallery-row a {
        width: 100% !important;
        height: auto !important;
        margin-right: 0 !important;
        margin-bottom: 20px;
    }
}
