main {
    position: static;
    flex: 1;
}

main .main-img {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    position: absolute;
    justify-content: flex-end;
    top: 0;
    z-index: -1;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 480px;
}

main .nav {
    position: static;
}

main .main-content {
    position: relative;
    top: 0;
}

main .main-content>.ng-isolate-scope .wrapper {
    padding-bottom: 40px;
}

main .main-content>.ng-isolate-scope .wrapper {
    padding-bottom: 0;
}


.directions-list__item .title {
    width: 100%;
}

.page-title {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.btn-back {
    display: none;

    .icon {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
    }
    @media screen and (max-width:768px) {
        border: 1px solid var(--btn-default-border-primary);
        width: 44px;
        height: 44px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        cursor: pointer;
        padding: 12px;
        font-size: inherit;
        line-height: inherit;
        transition: all .3s ease-in-out;
    }
}

@media (max-width: 768px) {
    .page-title {
        justify-content: start;
    }
}

main .main-img img {
    margin: 0 auto;
    width: 100%;
}

.page table {
    width: 100% !important;
    overflow-x: auto;
}

.page table td,
.page table th {
    padding: 8px 16px !important;
    width: auto !important;
    font-size: 16px !important;
    line-height: 24px !important;
    border: 1px solid var(--theme-base-primary--lighten) !important;
}

.page table td *,
.page table th * {
    margin: 0 !important;
    font-family: Geologica, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
}

.page table th {
    font-weight: 500;
    background-color: var(--theme-base-primary);
    color: var(--typography-primary--lighten);
}


.header-right {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.header-right .header-right__column:first-child {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    width: 100%;
    margin-top: 20px;
}



.news-full .story img {
    margin: 10px auto;
}




.info {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}



@media all and (min-width: 3000px) {
    main .main-img {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
}

@media all and (max-width: 1350px) {
    main .main-img {
        overflow: hidden;
        min-height: 500px;
    }

    main .main-img img {
        min-width: 1350px;
        height: 100%;
        max-height: none;
    }
}

@media all and (max-width: 1200px) {
    .home main {
        padding-bottom: 0;
    }

    main {
        padding-bottom: 0;
        height: auto;
    }

    main .main-content {
        top: 0;
    }

    main .main-img {
        overflow: hidden;
        min-height: 510px;
        top: -90px;
    }

    main .main-img img {
        min-width: 1135px;
        height: 100%;
        max-height: none;
    }

    .nav-row__account {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: end;
    }

    .nav-row__account a.reg-link {
        margin-right: 0;
    }
}

@media (max-width: 1024px) {
    .page table {
        display: block;
    }
}

@media all and (max-width: 830px) {

    main .main-img {
        overflow: hidden;
        min-height: 443px;
        top: -60px;
    }

    main .main-img img {
        min-width: 1135px;
        height: 100%;
        max-height: none;
    }


    .crimea-block p {
        margin: 0 !important;
    }

    .news-full .story img {
        height: auto !important;
    }

    footer .header-right__column:nth-child(2) {
        padding-left: 0;
        width: 250px;
    }

    footer .header-right__column:nth-child(3) {
        width: 150px;
    }

    .modal {
        max-width: 400px;
    }
}

@media all and (max-width: 520px) {

    main .main-img {
        min-height: 545px;
    }

    main .main-img img {
        min-width: 1320px;
    }

    footer .header-right {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 0;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    footer .header-right__column:nth-child(2) {
        padding-left: 0;
        width: 300px;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    footer .header-right__column:nth-child(3) {
        width: 300px;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    footer .header-right .get-call .btn {
        padding-right: 20px;
        padding-left: 20px;
    }

    form textarea {
        width: 260px;
        box-sizing: border-box;
    }

    .modal {
        max-width: 270px;
    }

    .modal .modal-content {
        padding: 10px 0;
    }

    .modal .mfp-close {
        right: 0;
    }
}
