@media (max-width: 1250px) and (min-width: 955px) {
    .main-right {
        display: none;
    }

    .main-content {
        padding-right: 0;
    }

    .card-inline-content .thumbnail {
        width: 100%;
    }

    .search-input {
        width: 100%;
    }

    .header-search {
        margin-right: 8px;
        flex: 1;
    }

    .header-right {
        width: auto;
    }

    .header-middle {
        margin-left: 56px;
        justify-content: space-between;
    }
}

@media (max-width: 800px) {
    .auth-left {
        display: none;
    }

    .auth-right {
        flex: 1;
    }

    .auth-modal .modal__container {
        max-width: 600px;
    }
}

.main-popular .service--list-block:nth-child(4) {
    display: none;
}

.header-mini-mobile {
    display: none;
}

.menu-mini-mobile {
    display: block;
}

@media (max-width: 364px) {
    .header-logo {
        width: 100%;
        min-width: 100%;
        justify-content: space-between;
        padding-right: 16px;
    }

    .header-right > ul {
        justify-content: flex-start;
    }

    .header-right > .hide-mini-mobile {
        display: none;
    }

    .header-mini-mobile {
        display: block;
    }

    .menu-mini-mobile {
        display: none;
    }

    .user-avatar {
        margin-right: 0;
    }

    .user-avatar > .avatar {
        margin-right: 0;
    }
}

@media (max-width: 954px) {

    .main-popular .service--list-block:nth-child(4) {
        display: flex;
    }

    .techorda-block-inner .right {
        display: none;
    }

    .info-badge.modal-my-categories.info-plus svg {
        margin: 0;
    }

    .left-menu-block {
        display: block !important;
    }

    .my-categries-list .blog-cat-author {
        width: 32px;
        height: 32px;
    }

    .feed-categories .show-all-categories,
    .feed-categories .link-text.modal-my-categories {
        display: flex;
    }

    .info-badge.info-plus {
        height: 40px;
    }

    .info-badge.info-plus svg {
        margin: 0;
    }

    .mobile.feed-categories .my-categories {
        margin-bottom: 24px;
    }

    .mobile.feed-categories .my-categries-list {
        overflow: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .right-categories-title .show-all-categories {
        display: flex;
    }

    .main-left {
        width: 375px;
    }

    .mobile {
        display: block;
    }

    main.gradient-form .main-left {
        position: fixed;
        left: -100%;
        right: 100%;
        width: 250px;
    }

    main.gradient-form .main-left.show {
        left: 0;
        right: 0;
    }

    #LogoHate {
        width: 40px;
        top: -18px;
    }

    .header-content {
        padding: 0;
        flex-wrap: wrap;
    }

    .header-middle {
        order: 3;
        width: 100%;
        max-width: inherit;
        padding: 0 16px;
        margin-top: 20px;
        gap: 16px;
    }

    .header-search {
        flex: 1;
    }

    .search-input {
        width: 100%;
    }

    .menu-footer-link {
        display: flex;
        flex-direction: column;
    }

    .main-left.show:after {
        position: absolute;
        left: 100%;
        top: 0;
        bottom: 0;
        right: 100%;
        background: #00000061;
        content: '';
        width: 100vw;
    }

    /*@keyframes logo-animate {*/
    /*    0%,*/
    /*    80% {*/
    /*        transform: rotate(0deg);*/
    /*        left: -15px;*/
    /*    }*/
    /*    90% {*/
    /*        transform: rotate(45deg);*/
    /*        left: 2px;*/
    /*    }*/
    /*    100% {*/
    /*        transform: rotate(0deg);*/
    /*        left: -15px;*/
    /*    }*/
    /*}*/
    body header {
        height: 150px;
    }

    main > div {
        padding: 10px;
    }

    .main-left {
        display: none;
        right: 100%;
        position: fixed;
        left: -100%;
        display: flex;
        top: 0;
        bottom: 0;
        z-index: 999;
        background: rgba(249, 249, 249, 1);
        height: 100vh;
        transition: all .3s ease-out;
    }

    .main-left.show {
        right: 0;
        left: 0;
        height: 100%;
        overflow: initial;
        padding: 0;
    }

    .scroll-hidden {
        overflow: hidden;
    }

    .main-left .sidebar {
        overflow: auto;
        padding: 0 0 24px;
    }

    .main-left.hidden {
        display: block;
    }

    .header-z-index {
        z-index: 0;
    }

    ul.list a.active {
        border: none;
    }

    .header-create-btn {
        padding: 9px;
    }

    .jq-toast-wrap {
        max-width: 400px !important;
    }

    .feedback-list li a span {
        display: none;
    }

    .close-feedback-btn span {
        display: none;
    }

    .feedback-list li a {
        padding: 16px;
    }

    .close-menu {
        padding: 8px 16px;
        display: inline-flex !important;
        position: sticky;
        top: 0;
        background: #f9f9f9;
        z-index: 99;
    }

    .menu-footer {
        padding: 0 24px;
    }

    .main-left ul.list {
        padding: 0 16px;
    }

    .service-content {
        padding: 32px 40px;
    }

    .feedback-form-block {
        left: 0;
        right: 0;
        max-width: 100%;
        width: 100%;
        bottom: 0;
    }

    body .passowrd-strong label {
        margin: 0;
    }

    body .passowrd-strong {
        justify-content: space-between;
    }

    body .modal .btn {
        max-width: 100%;
    }

    body .ecp-block {
        max-width: 100%;
    }


    body .ecp-hint {
        right: -7px;
    }

    .header-right > ul > li a.user-link .userName {
        display: none;
    }

    .header-logo a {
        max-width: 150px;
    }


    .header-right > ul {
        align-items: center;
    }

    .header-logo {
        width: inherit;
        display: flex;
        align-items: center;
        padding-left: 16px;
    }

    .header-right {
        width: 260px;
        min-width: inherit;
        padding-right: 16px;
    }

    .mobile {
        display: block;
    }

    .desktop {
        display: none !important;
    }

    #ui_burger {
        width: 24px;
        height: 24px;
        cursor: pointer;
        margin-right: 10px;
    }

    .burger.mobile svg {
        display: block;
    }

    ul.footer-bottom-info {
        flex-wrap: wrap;
        text-align: left;
        justify-content: flex-start;
    }

    .mobile-logo {
        display: inline-block;
        margin-bottom: 24px;
        width: 130px;
    }

    ul.soc li:not(:last-child) {
        margin-right: 8px;
    }

    .mobile-logo svg {
        max-width: 100%;
    }

    .footer-mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #36373A;
        margin-bottom: 24px;
    }

    .footer-mobile-main {
        display: flex;
        justify-content: space-between;
    }

    .footer-mobile-main ul a {
        font-weight: 550;
        font-size: 12px;
        line-height: 20px;
        color: #FFFFFF;
        margin-bottom: 12px;
    }

    .footer-mobile .footer-bottom-info {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .main-right-sidebar {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .main-right-sidebar .auth-btn-holder .btn {
        width: 100%;
    }

    .main-right-sidebar .auth-btn-holder .btn:last-child {
        margin-top: 0;
    }

    .main-right-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        max-width: 300px;
        z-index: 999;
        background: #fff;
        padding: 16px;
        transition: all .3s ease-out;
    }

    .main-right-sidebar.show {
        right: 0;
    }

    .main-right-sidebar.show:after {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 100%;
        background: #00000061;
        content: '';
        width: 100vw;
    }

    .user-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }

    .user-info__left {
        display: flex;
    }

    .user-info__left div:not(:last-child) {
        margin-right: 12px;
    }

    .user-info__left .user-profile p {
        font-weight: 550;
        font-size: 16px;
        line-height: 22px;
        margin: 0;
        color: #171717;
    }

    .user-info__left .user-profile span {
        font-size: 13px;
        line-height: 140%;
        color: #525559;
    }

    .main-right-sidebar .divider {
        border-bottom: 1px solid #ECEDEE;
        margin: 0 -16px 16px;
    }

    .main-right-sidebar span.notification-counter {
        top: 50%;
        left: 45%;
    }

    .main-right-sidebar .card.right-nav {
        padding: 0;
        border: none;
        box-shadow: none;
        height: 80vh;
        overflow: auto;
    }

    ul.card-news-list li:last-child span.news-list-bottom {
        border: none;
    }

    .main-right-sidebar .right-nav .form-exit {
        padding: 6px;
    }

    .main-right-sidebar .right-nav .form-exit button {
        padding: 0;
    }

    .main-right-sidebar .right-nav a {
        padding: 6px;
        display: block;
        line-height: 24px;
        display: flex;
        align-items: center;
        font-weight: normal;
        justify-content: space-between;
        font-size: 16px;
        color: #525559;
    }

    .main-right-sidebar .right-nav a.active {
        background: #F5F6FA;
        box-shadow: none;
        color: #171717;
        border-radius: 6px;
    }

    .main-right-sidebar .right-nav a:hover {
        color: #171717;
    }

    .main-right-sidebar .language-change {
        display: flex;
        justify-content: center;
    }

    .main-right-sidebar.show .language-change .active {
        font-weight: 550;
        font-size: 14px;
        color: #21905B;
    }

    div.extra-phone-right a {
        font-size: 13px;
    }

    .main-right {
        display: none;
    }

    main {
        padding: 0;
    }

    .main-content {
        padding: 32px 40px;
    }

    .left-menu .header-create-btn {
        flex: 1;
        width: 100%;
        justify-content: center;
        align-items: center;
        background: #21905B;
        color: #fff;
    }

    .left-menu .drop-down-open {
        flex: 1;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .left-menu .drop-down {
        margin: 16px 16px 32px;
    }

    .left-menu .drop-down-content.header-create-links {
        width: 100%;
    }

}

@media (max-width: 1280px) and (min-width: 1000px) {
    .techorda-block-inner .left .col-md-4 {
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        max-width: 50%;
    }
}

@media (max-width: 1000px) and (min-width: 950px) {
    .techorda-block-inner .left .col-md-4 {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
}

@media (max-width: 658px) {

    .mobile-p0 {
        padding: 0 !important;
    }

    .techtask-card {
        flex-direction: column;
    }

    .techtask-card .right {
        flex: 1;
        border-left: 0;
        border-top: var(--border-width) solid var(--surface-primary-border);
        width: 100%;
    }

    .techtask-card .left:before {
        display: none;
    }

    .banner-inner img {
        display: none;
    }

    .application-item .right {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .card.student-banner {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .application-item .label-radio span {
        align-items: flex-start;
        display: block;
    }

    .application-item .application-data > img {
        display: none;
    }

    .application-data {
        display: block;
    }

    .application-data .draft {
        position: static;
        display: block;
        margin-top: 10px;
    }

    .service--top.service--top-course {
        gap: 12px;
        overflow: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        justify-content: space-around;
    }

    .service--top.service--top-course a {
        width: auto;
        flex: 0;
        font-size: 13px;
    }

    .confirm-block {
        display: block;
        text-align: center;
    }

    .main-popular .service--list-block:nth-child(4) {
        display: none;
    }

    .service--container {
        display: flex;
        flex-direction: column;
    }

    .card-inline-content .thumbnail {
        height: 200px;
    }

    .service--container .main-top {
        order: 1;
        margin: 0;
        margin: -1px;
        flex-direction: column;
        align-items: flex-start;
    }

    .right-filter .drop-down-open {
        width: 100%;
        text-align: left;
    }

    .right-filter .drop-down-open label {
        justify-content: space-between;
    }

    .service--container .happy-banner {
        order: 2;
    }

    .service--container > .row {
        order: 3;
    }

    .right-filter {
        flex-direction: column;
        flex: 1;
        width: 100%;
    }

    .custom-select-block {
        flex: 1;
    }

    .service--container .main-top h2 {
        margin-bottom: 8px;
    }

    .service-content.service-block {
        padding: 0;
    }

    .service-content.service-block .row {
        margin: 0;
    }

    .service-content.service-block #MainBanner {
        margin: 16px 0;
    }

    .category-main-author {
        display: block;
    }

    .category-main-avatar {
        margin-bottom: 16px;
    }

    .mobile.feed-categories {
        padding: 0 16px;
    }

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

    .search-placeholder {
        display: none;
    }

    .blog-category {
        margin-bottom: 16px;
    }

    .card.event-card-right {
        flex-direction: column;
    }

    .card-event-list-right {
        display: flex;
    }

    .card-event-list-left {
        width: auto;
        margin: 24px 0 0;
    }

    .main-left {
        width: 100%;
    }

    .page-wrapper.page-wrapper-category {
        margin-top: -40px;
    }

    .category-main {
        border-radius: 0 0 10px 10px;
        border-top: none;
    }

    .category-main-bottom {
        display: block;
    }

    .category-main-btns > * {
        flex: 1;
        margin: 0;
    }

    .category-main-btns .btn {
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .category-main-btns {
        margin-top: 24px;
    }
}

@media (min-width: 1250px) {
    .header-content {
        gap: 56px;
    }
}
