/*==========	Desktop First Method	==========*/
@media (max-width: 1599px) {
  :root {
    --offset-left: 38px;
    --offset-right: 24px;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 22px;
  }
  h4 {
    font-size: 20px;
  }
  h5 {
    font-size: 18px;
  }
  .subtitle {
    margin-bottom: 25px;
  }
  .page__container {
    padding-bottom: 45px;
  }
  .balance {
    margin-top: 0;
  }
  .order-row__col._rate {
    width: 10%;
  }
  .balance-item._sm {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 30px 25px 20px;
  }
  .balance-item._sm .main-icon {
    position: relative;
    top: 0;
    right: 0;
    margin: 0 0 auto;
  }
  .balance-item._sm .balance-item__content {
    padding: 17px 0 0;
    min-height: auto;
  }
  .balance-item._sm .balance-item__head {
    margin-bottom: 8px;
  }
  .balance-item._sm .balance-item__count {
    font-size: 26px;
  }
  .balance-item._sm .balance-item__reserve {
    margin: 17px 0 0;
    padding: 0;
    border: none;
    font-size: 11px;
  }
  .info-box__row {
    padding: 30px 35px;
  }
  .req-list li {
    width: 180px;
  }
  .filter__top .form-calendar,
  .filter__item {
    width: 260px;
  }
  .att-info {
    margin-bottom: 35px;
  }
}
@media (max-width: 1199px) {
  :root {
    --offset-left: 24px;
    --main-shadow: 0 4px 45px rgba(0,0,0,.07);
  }
  .aside {
    left: auto;
    right: 100%;
    width: 100%;
    border-radius: 0;
    -webkit-transition: -webkit-transform 0.5s, -webkit-box-shadow 0.5s;
    transition: -webkit-transform 0.5s, -webkit-box-shadow 0.5s;
    transition: transform 0.5s, box-shadow 0.5s;
    transition: transform 0.5s, box-shadow 0.5s, -webkit-transform 0.5s, -webkit-box-shadow 0.5s;
  }
  .aside._show {
    -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
            transform: translateX(100%);
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
  }
  .aside .scrollbar-inner > .scroll-element.scroll-y {
    top: 4px;
    bottom: 4px;
  }
  .aside__roll {
    display: none;
  }
  .aside__logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 20px var(--offset-left) 15px;
  }
  .aside__logo-close {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    display: inline-block;
    margin-right: 15px;
  }
  .aside__logo-wrap {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
  }
  .aside__logo-wrap span {
    left: 38px;
    font-size: 17px;
  }
  .aside__menu {
    padding: 20px var(--offset-left);
  }
  .aside__menu._bot {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .aside__menu._bot li {
    width: auto;
  }
  .header__add {
    display: none;
  }
  .header__icon {
    width: 40px;
    height: 40px;
    line-height: 38px;
    font-size: 16px;
  }
  .head-dropdown {
    display: none;
  }
  .page__header {
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 0 0 15px 15px;
    background: #fff;
  }
  .page__header .title {
    margin: 25px 0 5px;
  }
  .page__container {
    padding-bottom: 115px;
  }
  .order-row._title {
    font-size: 12px;
  }
  .order-row._title._once {
    font-size: 14px;
  }
  .orgs-empty__img {
    margin-bottom: 30px;
  }
  .orgs-empty__img img {
    max-height: 200px;
  }
  .orgs-empty__action {
    margin-top: 30px;
  }
  .auth {
    gap: 25px 0;
  }
}
@media (max-width: 991px) {
  h1 {
    font-size: 26px;
  }
  h2 {
    font-size: 24px;
  }
  .balance-slider .swiper-slide {
    width: 280px;
  }
  .order-row._title {
    display: none;
  }
  .order-row._item {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    margin-bottom: 15px;
  }
  .order-row__col._head {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
    width: 100%;
    margin-bottom: 10px;
  }
  .order-row__col._head,
  .order-row__col._sum {
    -webkit-box-ordinal-group: -1;
        -ms-flex-order: -2;
            order: -2;
  }
  .order-row__col._rate {
    margin-bottom: 10px;
  }
  .order-row__col[data-title] {
    width: 100%;
    border-top: 1px solid #E7E9F2;
    padding-top: 10px;
    text-align: right;
    font-size: 12px;
  }
  .order-row__col[data-title]:before {
    float: left;
    margin: 0 0.2em 0.1em 0;
    content: attr(data-title);
    color: var(--headers-color);
  }
  .order-row__col._status {
    width: auto;
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
  }
  .order-row__col._btn {
    width: auto;
  }
  .toggle-menu__btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--main-light-color);
  }
  .toggle-menu__btn:after {
    width: 3px;
    height: 3px;
    -webkit-box-shadow: -6px 0 0 currentColor, 6px 0 0 currentColor;
            box-shadow: -6px 0 0 currentColor, 6px 0 0 currentColor;
  }
  .toggle-menu__wrap:after {
    right: 30px;
  }
  .req-list li {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    min-width: 30%;
    width: auto;
  }
  .orders-wrap__row .order-row._once {
    display: block;
  }
  .orders-wrap__row .order-row__col {
    margin: 0;
  }
  .doc-item {
    gap: 20px 15px;
    padding: 20px 22px;
  }
  .doc-item__btn {
    display: none;
  }
  .att-info {
    margin-bottom: 20px;
  }
}
@media (max-width: 767px) {
  .form-row {
    margin-bottom: 30px;
  }
  .form-action {
    margin-top: 25px;
  }
  .balance-slider .swiper-slide {
    width: 225px;
  }
  .popup-overlay {
    background: rgba(0, 0, 0, 0.35);
  }
  .popup__wrapper {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    padding: 50px 0 0;
  }
  .popup__wrap {
    width: 100% !important;
    padding: 25px var(--offset-left) 30px;
    border-radius: 15px 15px 0 0;
  }
  .popup__close {
    top: -35px;
    right: var(--offset-right);
    color: #fff;
  }
  .popup__close:hover {
    color: #eee;
  }
  .popup__tap {
    display: block;
  }
  .add-order-popup .popup__wrap {
    padding-top: 0;
  }
  .add-order-popup__row {
    padding: 25px var(--offset-left);
  }
  .add-order-title {
    margin-bottom: 20px;
  }
  .add-order-links a {
    min-height: 65px;
    font-size: 12px;
  }
  .org-item {
    gap: 15px;
    margin-bottom: 15px;
    padding: 25px 22px;
  }
  .org-item__count {
    -webkit-box-ordinal-group: 6;
        -ms-flex-order: 5;
            order: 5;
    width: 100%;
    padding: 10px 0 0;
    border: none;
    border-top: 1px solid #E7E9F2;
    border-radius: 0;
  }
  .org-item__count span {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
  }
  .req-list li {
    min-width: 40%;
  }
  .info-box__row {
    padding: 25px 30px;
  }
  .filter__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
  }
  .filter__top .form-calendar {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    width: auto;
    position: relative;
  }
  .filter__toggle {
    display: block;
  }
  .filter__grid {
    display: none;
    padding: 15px 0 4px;
  }
  .filter__item {
    margin-bottom: 10px;
    width: auto;
  }
  .filter__item._calendar {
    display: none;
  }
  .filter__btn {
    margin-top: 22px;
    text-align: center;
  }
  .filter__btn .btn._bd {
    border: none;
    padding: 0;
  }
  .filter__btn .btn._bd:hover {
    color: var(--headers-color);
  }
  .balance-item {
    padding: 25px;
  }
  .balance-item__head {
    margin-bottom: 10px;
  }
  .balance-item__count {
    font-size: 26px;
  }
  .balance-item__reserve {
    margin: 15px 0 0;
    margin-top: 15px;
  }
  .att-info {
    padding: 11px 15px 11px 50px;
  }
  .att-info:before {
    left: 16px;
  }
}
@media (max-width: 575px) {
  :root {
    --offset-left: 18px;
    --offset-right: 18px;
  }
  h1, h2, h3 {
    line-height: 1.35;
    font-size: 20px;
  }
  h4 {
    line-height: 1.35;
    font-size: 18px;
  }
  h5 {
    line-height: 1.35;
    font-size: 17px;
  }
  h1._mob-big {
    font-size: 24px;
  }
  .link-more._back {
    margin-bottom: 25px;
  }
  .btn._mob-full {
    width: 100%;
  }
  .form-field {
    padding: 15px 24px;
    font-size: 12px;
  }
  .form-field._line {
    font-size: 14px;
  }
  .form-option {
    font-size: 12px;
  }
  .form-option span {
    padding-top: 2px;
  }
  .form-row .org-item {
    margin-bottom: 20px;
  }
  .subtitle {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 15px;
  }
  .subtitle._mb-small {
    margin-bottom: 15px;
  }
  .subtitle .link-more {
    display: none;
  }
  .page__container {
    padding-top: 25px;
    gap: 25px 0;
  }
  .balance .subtitle {
    display: none;
  }
  .order-row__head-txt {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
  }
  .org-item__count {
    font-weight: normal;
    font-size: 12px;
  }
  .org-item__count span {
    color: var(--headers-color);
  }
  .info-box__wrap {
    margin: 0 calc(-1 * var(--offset-left));
    border-radius: 0;
  }
  .info-box__row {
    padding: 25px var(--offset-left);
  }
  .info-box__row:first-child {
    padding-top: 18px;
  }
  .info-box__top {
    margin-bottom: 15px;
  }
  .org-item__toggle {
    width: 100%;
    -webkit-box-ordinal-group: 8;
        -ms-flex-order: 7;
            order: 7;
    margin-top: 20px;
  }
  .org-item__toggle-wrap {
    width: auto;
    height: auto;
    max-width: 100%;
  }
  .org-item__toggle-wrap span {
    display: block;
  }
  .req-list {
    gap: 15px;
  }
  .req-list li {
    min-width: 100%;
  }
  .req-list._mob-grid {
    gap: 10px;
    font-size: 12px;
  }
  .req-list._mob-grid li {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .req-list._mob-grid li span {
    text-align: right;
  }
  .org-item._btn {
    padding-top: 20px;
  }
  .balance-item__head ._mob {
    display: block;
  }
  .balance-item__head ._pc {
    display: none;
  }
  .orders-balance-items .balance-item._sm {
    padding: 20px 20px 18px;
  }
  .orders-balance-items .balance-item._sm .balance-item__head {
    font-size: 12px;
  }
  .orders-balance-items .balance-item._sm .balance-item__count {
    font-size: 20px;
  }
  .orders-wrap__row {
    margin-bottom: 25px;
  }
  .filter {
    margin: 0 calc(-1 * var(--offset-left)) 30px;
    padding: 18px var(--offset-left);
    border-radius: 0;
  }
  .doc-item {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding-bottom: 25px;
  }
  .doc-item__main {
    gap: 8px;
  }
  .doc-item__label {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 60px;
    bottom: 25px;
    padding: 0;
  }
  .doc-item__label:after {
    display: none;
  }
  .doc-item__label .label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .doc-item__menu {
    width: 100%;
  }
  .doc-popup__top {
    margin-bottom: 25px;
  }
  .doc-popup__list {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .doc-popup__action {
    margin-top: 20px;
  }
  .balance-item__reserve {
    padding: 0;
    border: none;
    font-size: 14px;
  }
  .balance-page .balance-item {
    margin-bottom: 10px;
  }
  .thanks-popup__descr {
    font-size: 12px;
  }
  .thanks-popup .btn {
    margin-top: 20px;
  }
  .progress {
    max-width: 100%;
  }
  .info-box._order .req-list {
    margin-bottom: 30px;
  }
  .order-info-row {
    margin-bottom: 30px;
  }
  .order-info-row__head {
    margin-bottom: 15px;
  }
  .att-info {
    font-size: 12px;
  }
  .hint-modal {
    width: 300px;
  }
  .auth {
    padding-bottom: 30px;
    background: #fff;
  }
  .auth__top {
    padding-bottom: 10px;
  }
  .auth__container {
    width: 100%;
  }
  .auth__container._logo {
    display: none;
  }
  .auth__container:last-child {
    margin-bottom: 0;
  }
  .auth__container._main {
    margin-bottom: auto;
  }
  .auth__box {
    padding: 0;
  }
  .auth__box:before {
    display: none;
  }
  .auth__box-wrap {
    padding: 0;
    background: none;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
}
/*==========	Mobile First Method	==========*/
@media (min-width: 576px) {
  .subtitle__mob-more {
    display: none;
  }
  .auth__top .logo {
    display: none;
  }
}
@media (min-width: 768px) {
  .popup._bottom .popup__wrapper {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    padding: 60px 0 0;
  }
  .popup._bottom .popup__wrap {
    width: 100%;
    padding: 50px 40px;
    border-radius: 20px 20px 0 0;
  }
  .popup._bottom .popup__container {
    max-width: 600px;
    margin: 0 auto;
  }
  .user-info-popup .popup__wrap {
    width: 360px;
  }
  .filter__grid {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .filter__btn._icon .btn {
    padding: 17px 0;
    width: 50px;
    text-align: center;
    font-size: 0;
  }
  .filter__btn._icon .btn .ic {
    margin: 0;
    font-size: 14px;
  }
}
@media (min-width: 1200px) {
  h2._big {
    font-size: 30px;
  }
  .page {
    margin-left: 270px;
    -webkit-transition: margin 0.4s;
    transition: margin 0.4s;
  }
  .aside__menu a {
    position: relative;
    padding-right: 0;
  }
  .aside__menu a span {
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 45px;
    right: 15px;
    margin-top: -0.5em;
    line-height: 1;
    white-space: nowrap;
    -webkit-transition: 0.2s;
    transition: 0.2s;
  }
  .body-aside-min .aside {
    width: 90px;
  }
  .body-aside-min .page {
    margin-left: 90px;
  }
  .body-aside-min .aside__roll {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
  }
  .body-aside-min .aside__logo-wrap span,
  .body-aside-min .aside__menu a span {
    opacity: 0;
  }
  .header__sandwich,
  .header__logo,
  .header__icon._mob {
    display: none;
  }
  .title .arrow-btn {
    display: none;
  }
  .mob-add-btn {
    display: none;
  }
  .popup._bottom .popup__title {
    margin-bottom: 35px;
  }
}
@media (min-width: 1600px) {
  h2._big {
    font-size: 36px;
  }
  .page {
    margin-left: 300px;
  }
  .aside {
    width: 300px;
  }
  .aside__logo {
    padding: 40px 40px 0;
  }
  .aside__menu {
    padding: 30px;
  }
  .body-aside-min .aside {
    width: 110px;
  }
  .body-aside-min .page {
    margin-left: 110px;
  }
}