@media only screen and (max-width: 1220px) {
    .wrapper {
        padding-left: 65px;
    }

    .admin-header__form {
        width: unset;
    }
}
@media only screen and (max-width: 992px) {
    .crm-menu__item {
        width: calc(100% / 3 - 22px);
    }
    .crm-holders__headline {
        flex-wrap: wrap;
    }
    .crm-holders__buttons, .crm-holders__count {
        margin-bottom: 15px;
    }
    .crm-holders__count {
        flex-wrap: wrap;
    }

}
@media only screen and (max-width: 768px) {
    .crm-menu__item {
        width: calc(100% / 2 - 22px);
    }
}
@media only screen and (max-width: 705px) {
    .crm-menu__item {
        width: calc(100% / 2 - 22px);
    }
}

@media only screen and (max-width: 510px) {
    * {
        box-sizing: border-box;
    }
    .crm-menu__subtitle {
        font-size: 13px;
    }
    .wrapper {
        padding-left: 15px;
    }
    .btn-del {
        margin-right: 0 !important;
    }
    #chartdiv {
        font-size: 12px;
    }
    .popup__content {
        width: 98%;
        height: 100% !important;
        overflow-y: scroll;
    }
    .popup .popup__item>div {
        margin-bottom: 30px;
    }
    .popup__items {
        flex-wrap: wrap;
    }
    .popup__item {
        width: 100%;
    }
    .hamburger {
        display: block;
        position: absolute;
        right: 10%;
        top: 16%;
    }
    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        background: #ef225d;
        margin-bottom: 5px;
    }
    .admin-header {
        align-items: flex-start;
        flex-wrap: wrap;
        position: relative;
        z-index: 5;
        padding: 10px;
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    }
    .admin-header__content {
        flex-wrap: wrap;
        padding: 0;
    }
    .admin-header__form {
        width: 50%;
        margin-left: 15px;
    }
    .crm-requests table tr td {
        display: block;
    }
    .admin-header__log-out {
        margin-top: 0px;
    }
    th {
        display: block;
    }
    .numm {
        margin-right: 5px;
    }
    .group-user__items {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .close-ticket-cover,.form-log {
        margin-bottom: 20px;
    }
    .single-holder__items, .single-form__items {
        flex-wrap: wrap;
    }
    .single-form__item main,.single-holder__title {
        margin-top: 20px;
    }
    .crm-holders__title {
        flex-wrap: wrap;
    }
    .single-holder__block {
        width: 100%;
    }
    .single-holder__item {
        width: 100%;
    }
    .single-form__item {
        width: 100% !important;
        margin-right: 5%;
    }
    .group-user__item {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .tabs-header {
        flex-wrap: wrap;
        justify-content: center;
    }
    .admin-sidebar {
        display: none;
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
        margin-top: 85px;
    }
    .crm-list thead, .riz-mobi__table-user thead, .riz-mobi__table thead {
        display: none;
    }
    .riz-mobi__table-user td {
        display: block;
    }
    /* .riz-mobi__table-user tr td:not(.none-label-td):first-child::before {
        content: "Название:";
        display: inline-block;
        margin-right: 15px;
    }
    .riz-mobi__table-user tr td:nth-child(2)::before {
        content: "Со-автор:";
        display: inline-block;
        margin-right: 15px;
    }
    .riz-mobi__table-user tr td:nth-child(3)::before {
        content: "Ставка:";
        display: inline-block;
        margin-right: 15px;
    }
    .riz-mobi__table-user tr td:nth-child(4)::before {
        content: "Кол-во просм.:";
        display: inline-block;
        margin-right: 15px;
    }
    .riz-mobi__table-user tr td:nth-child(5)::before {
        content: "Доход:";
        display: inline-block;
        margin-right: 15px;
    } */
    .riz-mobi__table-tickets tr {
        flex-wrap: wrap;
    }
    .riz-mobi__table-tickets tr td {
        width: 100%;
    }
    .riz-mobi__table-objects tr td:first-child {
        width: 130px;
        text-align: left;
        text-overflow: ellipsis;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        display: -webkit-box;
        line-height: 13px;
        height: 14px;
        padding: 0;
    }
    .crm-requests table tr td:first-child::before {
        content: "Дата:";
        display: inline-block;
        margin-right: 15px;
    }
    .crm-requests table tr td:nth-child(2)::before {
        content: "Пользователь:";
        display: inline-block;
        margin-right: 15px;
    }
    .crm-requests table tr td:nth-child(3)::before {
        content: "Кол-во отчета:";
        display: inline-block;
        margin-right: 15px;
    }
    .crm-requests table tr td:nth-child(4)::before {
        content: "Кол-во компазиций:";
        display: inline-block;
        margin-right: 15px;
    }
    .crm-requests table tr td:nth-child(5)::before {
        content: "Кол-во правообл:";
        display: inline-block;
        margin-right: 15px;
    }
    .crm-requests table tr td:nth-child(6)::before {
        content: "Удаление:";
        display: inline-block;
        margin-right: 10px;
    }
    .crm-list table tr td a {
        display: inline-block;
    }
    .riz-mobi__table tr {
        display: flex;
        justify-content: space-between;
        padding: 0 5px;
        align-items: center;
        border: 1px solid #40445C;
        margin-bottom: 15px;
    }
    .crm-list tr {
        display: block;
        border: 1px solid #fff;
        margin-bottom: 15px;
    }
    .tabs-header {
        justify-content: space-between !important;
    }
    .tabs-header__item {
        margin: 0 !important;
        margin-bottom: 15px !important;
    }
    .admin-header__info {
        margin-top: 10px;
    }
    .btn-menu {
        height: 18%;
    }
    .crm-menu {
        margin-top: 125px;
    }
    .crm-menu__items {
        justify-content: center;
    }
    .crm-menu__item {
        margin-right: 0;
    }
    .crm-holders__title {
        margin-top: 35px;
    }
    .crm-holders__headline {
        justify-content: center;
        flex-wrap: wrap;
    }
    .crm-button {
        margin-bottom: 25px;
    }
    .crm-holders__count {
        margin-bottom: 25px;
    }
    .crm-holders .crm-list table td {
        display: block;
    }
    .main-holders .crm-list table td:nth-child(2)::before {
        content: "ID:";
        display: inline-block;
        margin-right: 15px;
    }
    .main-holders .crm-list table td:nth-child(3)::before {
        content: "Партнер:";
        display: inline-block;
        margin-right: 15px;
    }
    .main-holders .crm-list table td:nth-child(4)::before {
        content: "Кол-во обьектов:";
        display: inline-block;
        margin-right: 15px;
    }
    .main-holders .crm-list table td:nth-child(5)::before {
        content: "Кол-во просмотров:";
        display: inline-block;
        margin-right: 15px;
    }
    .main-holders .crm-list table td:nth-child(6)::before {
        content: "Баланс:";
        display: inline-block;
        margin-right: 15px;
    }
    .main-holders .crm-list table td:nth-child(7)::before {
        content: "Оплачено:";
        display: inline-block;
        margin-right: 15px;
    }
    .main-holders .crm-list table td:nth-child(8)::before {
        content: "Сумма:";
        display: inline-block;
        margin-right: 15px;
    }
    .producers .crm-table {
        width: 100%;
        height: auto !important;
    }
    .producers .crm-table table td:nth-child(2)::before {
        content: "ID:";
        display: inline-block;
        margin-right: 15px;
    }
    .producers .crm-table table td:nth-child(3)::before {
        content: "Продюсер:";
        display: inline-block;
        margin-right: 15px;
    }
    .quastions .crm-list table td:first-child::before {
        content: "Последнее обновление:";
        display: inline-block;
        margin-right: 15px;
    }
    .quastions .crm-list table td:nth-child(2)::before {
        content: "Номер:";
        display: inline-block;
        margin-right: 15px;
    }
    .quastions .crm-list table td:nth-child(3)::before {
        content: "Пользователь:";
        display: inline-block;
        margin-right: 15px;
    }
    .quastions .crm-list table td:nth-child(4)::before {
        content: "Тип:";
        display: inline-block;
        margin-right: 15px;
    }
    .quastions .crm-list table td:nth-child(5)::before {
        content: "Категория:";
        display: inline-block;
        margin-right: 15px;
    }
    .quastions .crm-list table td:nth-child(6)::before {
        content: "Тема:";
        display: inline-block;
        margin-right: 15px;
    }
    .quastions .crm-list table td:nth-child(7)::before {
        content: "Статус:";
        display: inline-block;
        margin-right: 15px;
    }
    .quastions .crm-list table td:nth-child(8)::before {
        content: "Действие:";
        display: inline-block;
        margin-right: 15px;
    }
    .quastions .crm-list table td a {
        display: inline-block !important;
        width: 77px !important;
    }
    .black-list .crm-button {
        margin-bottom: 0 !important;
    }
    .black-list .crm-list table td:nth-child(2)::before {
        content: "ID:";
        display: inline-block;
        margin-right: 15px;
    }
    .black-list .crm-list table td:nth-child(3)::before {
        content: "Название:";
        display: inline-block;
        margin-right: 15px;
    }
    .black-list .crm-list table td:nth-child(4)::before {
        content: "Дата:";
        display: inline-block;
        margin-right: 15px;
    }
    .black-list .crm-list table td:nth-child(5)::before {
        content: "Source ID:";
        display: inline-block;
        margin-right: 15px;
    }
    .no-sorted .crm-button {
        margin-bottom: 0 !important;
    }
    .no-sorted .tabs-header__item:first-child {
        margin-right: 20px !important;
    }
    .no-sorted .crm-list table td:nth-child(2)::before {
        content: "ID:";
        display: inline-block;
        margin-right: 15px;
    }
    .no-sorted .crm-list table td:nth-child(3)::before {
        content: "Название:";
        display: inline-block;
        margin-right: 15px;
    }
    .no-sorted .crm-list table td:nth-child(4)::before {
        content: "Кол-во просмотров:";
        display: inline-block;
        margin-right: 15px;
    }
    .no-sorted .crm-list table td:nth-child(5)::before {
        content: "Дата:";
        display: inline-block;
        margin-right: 15px;
    }
    .no-sorted .crm-list table td:nth-child(6)::before {
        content: "Плошадка:";
        display: inline-block;
        margin-right: 15px;
    }
    .no-sorted .crm-list table td:nth-child(7)::before {
        content: "Доход:";
        display: inline-block;
        margin-right: 15px;
    }
    .no-sorted .crm-list table td:nth-child(8)::before {
        content: "Source ID:";
        display: inline-block;
        margin-right: 15px;
    }
    .objects .crm-button {
        margin-bottom: 0 !important;
    }
    .objects .crm-holders__count {
        margin-top: 15px;
    }
    .objects .crm-list table td:nth-child(2)::before {
        content: "ID:";
        display: inline-block;
        margin-right: 15px;
    }
    .objects .crm-list table td:nth-child(3)::before {
        content: "Партнер:";
        display: inline-block;
        margin-right: 15px;
    }
    .objects .crm-list table td:nth-child(4)::before {
        content: "Название:";
        display: inline-block;
        margin-right: 15px;
    }
    .objects .crm-list table td:nth-child(5)::before {
        content: "Со-автор:";
        display: inline-block;
        margin-right: 15px;
    }
    .objects .crm-list table td:nth-child(6)::before {
        content: "Кол-во просмотров:";
        display: inline-block;
        margin-right: 15px;
    }
    .objects .crm-list table td:nth-child(7)::before {
        content: "Доля партнера:";
        display: inline-block;
        margin-right: 15px;
    }
    .objects .crm-list table td:nth-child(8)::before {
        content: "К оплате:";
        display: inline-block;
        margin-right: 15px;
    }
    .objects .crm-list table td:nth-child(9)::before {
        content: "Плошадка:";
        display: inline-block;
        margin-right: 15px;
    }
    .objects .crm-list table td:nth-child(10)::before {
        content: "Source ID:";
        display: inline-block;
        margin-right: 15px;
    }
    .admin-index__bg {
        position: absolute;
    }
    .admin-index__content {
        width: 100%;
    }
    .crm-holders__count {
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: center;
    }
    .crm-holders__count span {
        margin-left: 0 !important;
    }
    .numm {
        margin-bottom: 15px;
    }
    .crm-holders__buttons {
        flex-direction: column;
        align-items: center;
    }
    .crm-holders__buttons a:first-child {
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }
    .admin-header__form {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }
    .admin-header__info {
        flex-wrap: wrap;
    }
    .admin-sidebar {
        width: 100%;
        position: static !important;
        margin-top: 0 !important;
    }
    .btn-menu__btns.menu_active a:nth-child(3) {
        transform: translate(411%, -116%);
    }
    .btn-menu__btns.menu_active a:nth-child(2) {
        transform: translate(258%, -150%);
    }
    .btn-menu__btns.menu_active a:first-child {
        transform: translate(101%, -121%);
    }
    .tabs-content-items {
        flex-wrap: wrap;
    }
    .admin-index__bg {
        width: 35%;
        z-index: -1;
    }
}

@media only screen and (max-width: 320px) {
    .riz-mobi__table-objects tr td:first-child {
        width: 100px;
    }
    .riz-mobi__photo{
        width: 115px;
        height: 115px;
    }
    .riz-mobi__artist-id, .riz-mobi__artist-name{
        font-size: 16px;
    }
}