/* Общие стили*/



@media (max-width: 991px) {

  h1.title {
    font-size: 36px;
    line-height: 120%;
  }

  h2.title {
    font-size: 28px;
  }

  h3.title {
    font-size: 16px;
  }

  .text {
    font-size: 16px;
  }

  h6.title {
    font-size: 10px;
  }
}


@media (max-width: 767px) {
  h1.title {
    font-size: 28px;
  }

  h2.title {
    font-size: 24px;
  }

  h3.title {
    font-size: 12px;
  }

  .text {
    font-size: 12px;
  }

  .btn,
  .btn.btn--big,
  .btn.btn--small {
    font-size: 12px;
    padding: 8px 20px;
  }

  .btn svg {
    width: 20px;
    height: 20px;
  }

  .showmore-btn {
    background-color: #58637E;
    border-color: #58637E;
    color: #FDFDFD;
  }

  .labeled-input--status .labeled-input__input {
    padding-right: 72px;
  }

  .labeled-input__label {
    font-size: 12px;
    top: 10px;
  }

  .select__input {
    padding: 10px 8px;
    padding-right: 32px;
    font-size: 12px;
    line-height: 150%;
  }

  .select svg {
    width: 20px;
    height: 20px;
    top: 10px;
  }

  .date__input {
    font-size: 12px;
    padding: 10px 32px 10px 12px;
  }

  .date__icon {
    width: 20px;
    height: 20px;
    top: 10px;
  }


  .time__input {
    font-size: 12px;
    padding: 9px 12px 9px 12px;
  }

  .time__label {
    top: 10px;
    font-size: 12px;
  }

  .toggle__text {
    font-size: 12px;
    line-height: 120%;
  }

  .input {
    font-size: 12px;
    padding: 10px 12px;
  }

  .search__input {
    padding-left: 32px;
    padding-right: 32px;
  }

  .search__icon {
    width: 20px;
    height: 20px;
    top: 10px;
  }

  .search__clear {
    width: 20px;
    height: 20px;
    top: 10px;
  }

  .range {
    padding: 8px;
  }

  .range__value,
  .range__unit {
    font-size: 12px;
  }

  .checkbox {
    padding-left: 24px;
  }

  .checkbox__icon {
    width: 20px;
    height: 20px;
    top: 1px;
  }

  .checkbox__text {
    font-size: 12px;
  }

  .labeled-input__btn {
    font-size: 12px;
    top: 10px;
  }


}

/* Общие стили конец*/






/* layout стили */
@media (max-width: 1199px) {

  .page-wrapper__cabinet-aside {
    position: fixed;
    transform: translateX(-100%);
    transition: 0.3s;
    z-index: 5;
  }

  .page-wrapper__cabinet-aside.page-wrapper__cabinet-aside--active {
    transform: none;
  }

  .cabinet-aside__burger-btn.burger-btn {
    position: absolute;
    top: 0px;
    right: -40px;
    transition: 0.3s;
  }

  .cabinet-aside__burger-btn.burger-btn--active {
    right: 0;
  }

  .burger-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 10px;
    background-color: #58637E;
  }

  .burger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FDFDFD;
    position: relative;
  }

  .burger-btn span::before,
  .burger-btn span::after {
    content: "";
    display: block;
    -webkit-transition: .2s;
    transition: .2s;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #FDFDFD;
  }

  .burger-btn span::before {
    transform: translateY(-8px)
  }

  .burger-btn span::after {
    transform: translateY(6px)
  }

  .burger-btn--active span {
    height: 0
  }

  .burger-btn--active span::before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform-origin: center;
    transform-origin: center
  }

  .burger-btn--active span::after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: center;
    transform-origin: center
  }

  .cabinet-table td {
    height: unset;
  }

  .page-wrapper__page-note {
    width: 100%;
  }

}



@media (max-width: 767px) {
  .page-wrapper__cabinet-aside {
    transform: none;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    max-height: 60px;
    transition: 0.5s;
  }

  .page-wrapper__cabinet-aside.page-wrapper__cabinet-aside--active {
    max-height: 100vh;
  }


  .cabinet-aside__wrapper {
    position: static;
    padding: 4px 16px 16px;
  }

  .cabinet-aside__logo {
    margin: 0;
    margin-bottom: 48px;
  }

  .cabinet-aside__logo {
    width: 80px;
    height: auto;
  }

  .cabinet-aside__burger-btn.burger-btn {
    right: 20px;
    top: 22px;
  }

  .burger-btn {
    width: 20px;
    height: 20px;
    padding: 0;
    background-color: transparent;
  }

  .cabinet-aside__item--gap {
    margin-bottom: 20px;
  }

  .cabinet-aside__icon {
    visibility: visible;
    opacity: 1;
    fill: #FFFFFF;
  }

  .cabinet-aside__link:hover .cabinet-aside__icon {
    fill: #FFBA33;
  }


  .page-wrapper__content {
    padding-top: 60px;
    padding-bottom: 64px;
  }


  .mobile-nav {
    display: block;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #00002B;
  }

  .mobile-nav__list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 12px;
  }

  .mobile-nav__item {
    width: 23%;
  }

  .mobile-nav__link {
    font-size: 10px;
    line-height: 120%;
    text-align: center;
    color: #FDFDFD;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
  }

  .mobile-nav__link svg {
    width: 24px;
    height: 24px;
    fill: #FDFDFD;
    margin-bottom: 4px;
    transition: 0.3s;
  }

  .mobile-nav__link:hover,
  .mobile-nav__link:active,
  .mobile-nav__link--active {
    color: #FFBA33;
  }

  .mobile-nav__link:hover svg,
  .mobile-nav__link:active svg,
  .mobile-nav__link--active svg {
    fill: #FFBA33;
  }

  .page-note {
    padding: 22px 15px;
  }

}

/* layout стили  конец*/







/* Страница index */

@media (max-width: 991px) {

  .notification {
    padding: 12px 16px;
  }

  .desktop__title-wrapper {
    margin-bottom: 8px;
  }

  .start-block {
    padding: 12px;
  }

  .start-block__title {
    margin-bottom: 8px;
  }

  .start-block__item,
  .start-block__subitem {
    font-size: 12px;
    padding-left: 24px;
  }

  .start-block__icon {
    height: 16px;
    width: 16px;
    margin-top: 2px;
  }

  .objects__object {
    width: calc(50% - 4px);
  }

  .object {
    padding: 12px;
  }

  .object___object-data {
    margin-bottom: 12px;
  }

  .object-data__img {
    width: 40px;
    height: 40px;
  }

  .object-data__title {
    font-size: 18px;
    margin: 0;
  }

  .graph {
    align-items: flex-start;
  }

  .diagram {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .diagram__circle circle {
    transform: scale(0.5) translate(-10px, -10px);
  }

  .graph__text {
    line-height: 120%;
  }

  .graph__text b {
    font-weight: normal;
    font-size: 16px;
    line-height: 120%;
    margin-top: 4px;
  }

  .events-table {
    border-spacing: 0;
    margin-top: 0;
  }

  .events-table thead {
    display: none;
  }

  .events-table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid #EBECF0;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 8px 12px;
    max-width: 100%;
  }

  .events-table .cabinet-table__row--negative {
    background-color: #FDEDEC;
  }

  .events-table td {
    border: none;
    order: 2;
    padding: 4px 0;
    height: auto;
  }

  .events-table td:not(:last-child) {
    min-width: 50%;
  }

  .events-table td:first-child {
    border-left-style: none;
    order: 0;
    flex-grow: 1;
  }


  .events-table td:last-child {
    order: 1;
    border-right-style: none;
    width: max-content;
  }

  .events-table td:nth-child(3) {
    text-align: right;
  }

  .user-profile__info {
    font-size: 14px;
  }

}



@media (max-width:767px) {
  .desktop {
    padding: 16px;
  }


  .desktop__notification {
    margin-bottom: 20px;
  }

  .notification {
    padding: 8px 12px;
  }

  .notification__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 4px;
    margin-right: 4px;
  }

  .notification__icon img,
  .notification__icon svg {
    width: 32px;
    height: 32px;
  }

  .notification__close {
    margin-top: 10px;
  }

  .desktop__date {
    width: 120px;
  }

  .date__controller {
    display: none;
  }


  .desktop__settings {
    flex-direction: column;
  }

  .desktop__start-block {
    margin-right: 0;
    margin-bottom: 24px;
    width: 290px;
  }

  .desktop__object.object {
    width: 290px;
  }

  .desktop__objects {
    margin-bottom: 32px;
  }

  .object {
    width: 100%;
    margin-bottom: 12px;
  }

  .object:last-child {
    margin-bottom: 0;
  }

  .desktop__filter-form {
    width: calc(100% + 16px);
  }

  .desktop__title-wrapper .desktop__subtitle {
    width: 100%;
    margin-bottom: 12px;
  }

  .filter-form__group.filter-form__group--full {
    max-width: 320px;
  }

  .events-table td {
    font-size: 12px;
    line-height: 120%;
    width: unset;
  }

  .events-table td:nth-child(3),
  .events-table td:nth-child(4) {
    text-align: left;
  }

  .user-profile__avatar,
  .user-profile__figure,
  .user-profile--big .user-profile__avatar,
  .user-profile--extrabig .user-profile__avatar,
  .user-profile--big .user-profile__figure,
  .user-profile--extrabig .user-profile__figure {
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin-right: 4px;
  }

  .user-profile__figure svg,
  .user-profile--big .user-profile__figure svg,
  .user-profile--extrabig .user-profile__figure svg {
    width: 20px;
    height: 20px;
  }

  .user-profile__info {
    font-size: 12px;
  }

  .user-profile--big .user-profile__info,
  .user-profile--extrabig .user-profile__info {
    font-size: 16px;
    line-height: 120%;
  }



  .user-profile__info small,
  .user-profile--big .user-profile__info small,
  .user-profile--extrabig .user-profile__info small {
    font-size: 12px;
    line-height: 120%;
  }

  /* 
  .cabinet-table__event-action {
    margin-left: 36px;
  } */

  .event-action__text {
    font-size: 12px;
  }

  .cabinet-table__event-card,
  .cabinet-table tr:nth-child(n+2) .cabinet-table__event-card {
    position: fixed;
    bottom: 0;
    top: unset;
    left: 16px;
    right: unset;
    height: max-content;
    min-height: 320px;
    width: calc(100% - 32px);
    border-radius: 12px 12px 0px 0px;
    box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    pointer-events: unset;
  }

  .cabinet-table__event-card::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 200vh;
    background: rgba(0, 0, 43, 0.86);
    z-index: -1;
    pointer-events: none;
    transform: translateZ(-1px) translate(-16px, -50%);
  }

  .event-card {
    padding: 24px;
  }

  .event-card__user-profile {
    margin-bottom: 24px;
  }

  .event-card__event-parametrs.event-parametrs {
    width: calc(100% - 36px);
  }

  .event-parametrs__status::before {
    top: 6px;
  }

}

/* Страница index конец*/






/* Страницы report,  time-report,  access-report, presence-report*/

@media (max-width: 991px) {
  .reports-list {
    margin: 0 -4px;
  }

  .reports-list__item {
    margin: 0 4px;
    min-width: unset;
    width: calc(33% - 8px);
  }


  .worktime-table th,
  .presence-table th {
    padding: 0 4px;
  }

  .worktime-table td,
  .presence-table td {
    font-size: 14px;
    padding: 4px;
  }

  .presence-table td:last-child {
    width: 28px;
  }

  .cabinet-table__double-cell span {
    width: 100%;
  }

  td .cabinet-table__double-cell span {
    font-size: 14px;
  }

  .cabinet-table__double-cell span:first-of-type {
    display: none;
  }





}

@media (max-width: 767px) {
  .reports {
    padding: 16px;
  }

  .reports-list {
    flex-direction: column;
  }

  .reports-list__item {
    margin: 0 0 12px;
    width: 100%;
    max-width: 320px;
  }

  .reports-list__item:last-child {
    margin-bottom: 0;
  }

  .reports__export-btn span {
    display: none;
  }

  .reports__export-btn svg {
    margin-right: 0;
  }

  .filter-form__group.filter-form__group--small,
  .filter-form__group {
    width: calc(50% - 16px);
    max-width: unset;
    margin: 0 8px 16px;
  }


  .reports__filter-form .filter-form__group--full {
    width: 100%;
    max-width: unset
  }



  .reports__filter-form {
    margin-bottom: 8px;
  }

  .periods__btn {
    font-size: 10px;
    margin-right: 4px;
  }

  .reports__filter-form .filter-form__label.visibly-hidden {
    display: none;
  }

  .rate-box {
    padding: 4px 12px;
    font-size: 12px;
  }

  .worktime-table td {
    font-size: 12px;
  }

  .worktime-table th:nth-child(3),
  .worktime-table th:nth-child(4),
  .worktime-table th:nth-child(5),
  .worktime-table td:nth-child(3),
  .worktime-table td:nth-child(4),
  .worktime-table td:nth-child(5) {
    display: none;
  }

  td .cabinet-table__double-cell span {
    font-size: 12px;
  }

  .presence-table thead {
    display: none;
  }

  .presence-table tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border: solid 1px #EBECF0;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 12px;
  }

  .presence-table td {
    border: none;
    padding: 0;
    margin-bottom: 12px;
  }

  .presence-table td:first-child {
    border-left-style: none;
    order: -2;
    width: calc(100% - 24px);
    font-weight: bold;
  }

  .presence-table td:last-child {
    border-right-style: none;
    order: -1;
    width: max-content;
  }

  .presence-table td:nth-child(2) {
    width: 100%;
    margin-bottom: 8px;
  }

  .presence-table td:nth-child(3) {
    margin-right: 48px;
    margin-bottom: 0;
  }

  .presence-table td:nth-child(4) {
    margin-bottom: 0;
  }

  .presence-table td[data-heading] {
    position: relative;
    padding-top: 10px;
  }

  .presence-table td[data-heading]::before {
    content: attr(data-heading);
    position: absolute;
    top: 0;
    left: 0;
    font-size: 8px;
    line-height: 120%;
    width: max-content;
    color: #58637E;
  }


}

@media (max-width: 359px) {


  .filter-form__group.filter-form__group--small,
  .filter-form__group {
    width: 100%;
    margin: 0 8px 8px;
  }

  .filter-form__group .filter-form__label.visibly-hidden {
    display: none;
  }




}

/* ССтраницы report,  time-report,  access-report, presence-report конец*/









/* Заглушки для страниц */

@media (max-width: 767px) {
  .page-mock {
    padding: 24px 12px;
  }

  .page-mock__text {
    font-size: 12px;
  }
}

/* Заглушки для страниц конец*/







/* Страница employee-time */

@media (max-width: 991px) {

  .employee-time__wrapper {
    flex-wrap: wrap;
    margin-bottom: 16px;
  }

  .employee-time__title {
    width: 100%;
    margin-bottom: 8px;
  }

  .employee-table th {
    padding: 0 4px;
  }


  .employee-table td {
    font-size: 14px;
    padding: 4px;
  }
}

@media (max-width: 767px) {
  .employee-time {
    padding: 16px;
  }

  .employee-time__graph {
    margin-bottom: 8px;
  }

  .employee-table thead {
    display: none;
  }

  .employee-table tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border: solid 1px #EBECF0;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 12px;
  }

  .employee-table td {
    border: none;
    padding: 0;
    margin-bottom: 12px;
    width: 50%;
  }

  .employee-table td:first-child {
    border-left-style: none;
  }

  .employee-table td:last-child {
    border-right-style: none;
    width: max-content;
  }



  .employee-table td[data-heading] {
    position: relative;
    padding-top: 10px;
  }

  .employee-table td[data-heading]::before {
    content: attr(data-heading);
    position: absolute;
    top: 0;
    left: 0;
    font-size: 8px;
    line-height: 120%;
    width: max-content;
    color: #58637E;
  }


}

/* Страница employee-time конец*/











/* Страница objects */

@media (max-width: 991px) {
  .objects-table {
    border-spacing: 0 8px;
  }

  .objects-table th {
    padding: 0 8px;
  }

  .objects-table td {
    padding: 4px 8px;
    font-size: 14px;
  }

  .object-profile {
    font-size: 14px;
  }


  .indicators__indicator {
    font-size: 14px;
    padding: 4px;
    line-height: 175%;
  }

  .indicators__icon {
    width: 16px;
    height: 16px;
    margin: 4px 0;
  }

  .objects-table td:last-child {
    width: 24px;
  }

}


@media (max-width: 767px) {

  .objects-page {
    padding: 16px 16px 76px;
  }

  .objects-page__title-wrapper {
    margin-bottom: 12px;
  }

  .objects-page__title-wrapper--wrap {
    flex-wrap: wrap;
  }

  .objects-page__add {
    position: fixed;
    bottom: 64px;
    width: 100%;
    left: 0;
    padding: 12px;
    border-radius: 0;
    font-size: 16px;
    line-height: 120%;
    z-index: 2;
  }

  .objects-page__filter-form {
    margin-bottom: 8px;
  }

  .objects-page__filter-form .filter-form__group--full {
    width: 100%;
    max-width: 100%;
  }




  .objects-list__item {
    margin-bottom: 20px;
  }

  .objects-list__heading {
    padding: 8px;
  }

  .objects-list__name {
    color: #58637E;
    line-height: 140%;
  }

  .objects-list__name span {
    font-size: 16px;
    margin-right: 0;

    display: block;
    color: #00002B;
  }

  .objects-list__img {
    margin-right: 4px;
  }

  .objects-list__body {
    padding: 8px 8px 20px;
  }

  .objects-table {
    margin: 0;
    border-spacing: 0;
  }


  .objects-table thead {
    transform: none;
  }

  .objects-table td:nth-child(1)
  {
      order: -1;
  }

  .objects-table td:nth-child(3)
  {
      display: none;
  }

  .objects-table th {
    padding: 0;
    font-size: 8px;
  }

  .objects-table th:nth-child(1)
  {
      order: -1;
  }

  .objects-table th:nth-child(3)
  {
      display: none;
  }










  .objects-table td {
    padding: 12px 0;
    height: auto;
  }

  .objects-table tbody tr:first-child td {
    padding-top: 4px;
  }

  .indicators__indicator {
    font-size: 12px;
    line-height: 140%;
    min-width: 20px;
    padding: 2px 4px;
  }

  .indicators__icon {
    width: 12px;
    height: 12px;
    margin: 2px 0;
  }

  .indicators__text {
    display: none;
  }

  .add-btn {
    font-size: 12px;
    line-height: 120%;
  }

  .add-btn svg {
    margin-right: 4px;
    width: 16px;
    height: 16px;
  }

}



/* Страница objects конец*/



















/* Страницы object-add и object-edit  */
@media (max-width: 767px) {

  .objects-page__save {
    position: fixed;
    bottom: 64px;
    width: 100%;
    left: 0;
    padding: 12px;
    border-radius: 0;
    font-size: 16px;
    line-height: 120%;
    z-index: 3;
  }

  .objects-page__delete-btn {
    margin-right: 0;
    margin-left: 4px;
  }

  .delete-btn {
    padding: 4px;
  }

  .delete-btn svg {
    width: 20px;
    height: 20px;
  }

}

/* Страницы object-add и object-edit  конец*/

















/* Страницы controller-add,  controller-settings, controller-monitoring*/



@media (max-width: 991px) {
  .tooltip__figure {
    left: unset;
    right: 0;
    top: calc(100% + 16px);
    padding: 8px 16px;
  }


  .objects-page__wrapper {
    flex-direction: column;
  }

  .objects-page__controller-status {
    order: -1;
    margin-bottom: 24px;
  }

  .synchronization-table th {
    padding: 0 4px;
  }

  .synchronization-table td {
    font-size: 14px;
    padding: 4px;
  }



  .action span {
    font-size: 14px;
  }

  .action__icon {
    width: 20px;
    height: 20px;
    margin: 0 4px;
  }

  .column-list__item,
  .parametrs-list__item {
    font-size: 14px;
  }

  .controller-status__link {
    font-size: 14px;
  }

  .monitoring-table th {
    padding: 0 4px;
  }

  .monitoring-table th:nth-child(6) {
    text-align: center;
  }

  .monitoring-table td {
    font-size: 14px;
    padding: 4px;
  }

  .monitoring-table td:nth-child(6) {
    text-align: center;
  }


}


@media (max-width: 767px) {
  .filter-form__group.filter-form__group--mini {
    width: calc(50% - 16px);
    max-width: unset;
    margin: 0 8px 16px;
  }

  .filter-form__refresh-btn {
    width: calc(50% - 16px);
    max-width: unset;
    margin: 0 8px 16px;
  }

  .filter-form__export-btn {
    margin: 0 8px 12px;
  }

  .export-btn {
    font-size: 12px;
  }

  .export-btn svg {
    width: 20px;
    height: 20px;
  }

  .objects-page__update {
    margin-bottom: 16px;
  }

  .controller-status {
    padding: 12px;
  }

  .column-list__item,
  .parametrs-list__item {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .controller-status__parametrs-list.parametrs-list {
    margin-bottom: 12px;
  }

  .controller-form__temperatures {
    flex-direction: column;
  }

  .controller-form__temperatures .controller-form__labeled-input {
    width: 100%;
  }

  .controller-form__temperatures .controller-form__labeled-input:first-child {
    margin-bottom: 8px;
  }

  .objects-page__synchronization {
    font-size: 12px;
  }

  .objects-page__synchronization svg {
    height: 16px;
    width: 16px;
    margin-right: 2px;
  }

  .objects-page__cabinet-table {
    margin-bottom: 8px;
  }

  .synchronization-table td {
    font-size: 12px;
  }

  .synchronization-table td:nth-child(2) {
    margin-right: 20px;
  }

  .synchronization-table thead {
    display: none;
  }

  .synchronization-table tr {
    display: flex;
    flex-wrap: wrap;
    border: solid 1px #EBECF0;
    margin-bottom: 8px;
  }

  .synchronization-table td {
    border: none;
    width: 100%;
  }

  .synchronization-table td:nth-child(4) {
    display: none;
  }

  .synchronization-table td:first-child {
    border-left-style: none;
    width: 100%;
  }

  .synchronization-table td:last-child {
    border-right-style: none;
    width: 100%;
  }

  .action span {
    font-size: 12px;
  }

  .action__icon {
    width: 16px;
    height: 16px;
    margin: 0 2px;
  }

  .filter-form__checkboxes {
    margin-top: 0;
  }


  .monitoring-table td {
    font-size: 12px;
  }

  .monitoring-table th:nth-child(2),
  .monitoring-table th:nth-child(4),
  .monitoring-table th:nth-child(5),
  .monitoring-table td:nth-child(2),
  .monitoring-table td:nth-child(4),
  .monitoring-table td:nth-child(5) {
    display: none;
  }

  .monitoring-table th span,
  .monitoring-table .cabinet-table__time span {
    display: none;
  }

}


@media (max-width:359px) {
  .filter-form__group.filter-form__group--mini {
    width: 100%;
    margin: 0 8px 8px;
  }

  .filter-form__refresh-btn {
    margin: 0 8px 8px;
  }

  .filter-form__export-btn {
    margin: 0 8px 8px auto;
    align-self: center;
  }

}

/* Страницы controller-add,  controller-settings, controller-monitoring конец*/













/* Страницы staff staff--add  staff--edit*/

@media (max-width: 991px) {
  .staff-table th {
    padding: 0 4px;
  }

  .staff-table td {
    font-size: 14px;
    padding: 4px;
  }

  .staff-page__wrapper {
    flex-direction: column;
  }

  .staff-page__staff-form {
    margin-bottom: 32px;
  }

}




@media (max-width: 767px) {
  .staff-page {
    padding: 16px 16px 76px;
  }

  .staff-page__title-wrapper {
    margin-bottom: 20px;
  }

  .staff-page__filter-form {
    margin-bottom: 0px;
  }

  .staff-page__filter-form .filter-form__group {
    width: 100%;
  }


  .staff-page__link,
  .staff-page__submit,
  .staff-page__save {
    position: fixed;
    bottom: 64px;
    width: 100%;
    left: 0;
    padding: 12px;
    border-radius: 0;
    font-size: 16px;
    line-height: 120%;
    z-index: 3;
  }

  .staff-table th:nth-child(2),
  .staff-table th:nth-child(3),
  .staff-table th:nth-child(4),
  .staff-table td:nth-child(2),
  .staff-table td:nth-child(3),
  .staff-table td:nth-child(4) {
    display: none;
  }

}

/* Страницы staff staff--add  staff--edit конец*/
















/* Страницы graphs  graphs-add и graphs-edit*/



@media (max-width: 991px) {
  .graphs-table th {
    padding: 0 4px;
  }

  .graphs-table td {
    font-size: 14px;
    padding: 4px;
  }

  .cabinet-table__time-set span {
    font-size: 14px;
  }

  .graphs-page__wrapper {
    flex-direction: column;
  }

  .staff-page__acces-graphs {
    order: -1;
    margin-bottom: 32px;
  }

  .time-set__title-wrapper .tooltip__info {
    left: -120px;
    top: calc(100% + 4px);
  }


}

@media (max-width: 767px) {
  .graphs-page {
    padding: 16px 16px 76px;
  }

  .graphs-page__filter-form .filter-form__group {
    width: 100%;
  }


  .graphs-page__add,
  .graphs-page__submit,
  .graphs-page__save {
    position: fixed;
    bottom: 64px;
    width: 100%;
    left: 0;
    padding: 12px;
    border-radius: 0;
    font-size: 16px;
    line-height: 120%;
    z-index: 3;
  }

  .graphs-table thead {
    display: none;
  }

  .graphs-table tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border: solid 1px #EBECF0;
    border-radius: 4px;
    margin-bottom: 12px;
    padding: 12px;
  }

  .graphs-table td {
    border: none;
    padding: 0;
    margin-bottom: 12px;
    width: calc(100% - 24px);
  }

  .graphs-table td:first-child {
    border-left-style: none;
    order: -2;
    width: calc(100% - 24px);
    font-weight: bold;
  }

  .graphs-table td:last-child {
    border-right-style: none;
    order: -1;
    width: max-content;
  }
  
  .graphs-table td:nth-child(3),
  .graphs-table td:nth-child(4) {
    display: none;
  }

  .graphs-table td[data-heading] {
    position: relative;
    padding-top: 10px;
  }

  .graphs-table td[data-heading]::before {
    content: attr(data-heading);
    position: absolute;
    top: 0;
    left: 0;
    font-size: 8px;
    line-height: 120%;
    width: max-content;
    color: #58637E;
  }

}

/* Страницы graphs  graphs-add и graphs-edit конец*/
























/* Страницы calendar calendar-add и calendar-edit */

@media (max-width: 991px) {
  .calendar-table th {
    padding: 0 4px;
  }

  .calendar-table th:nth-child(2),
  .calendar-table td:nth-child(2) {
    display: none;
  }

  .calendar-table td {
    font-size: 14px;
    padding: 4px;
  }

  .calendar-table td:last-child {
    width: 24px;
  }
}

@media (max-width: 767px) {
  .calendar-page {
    padding: 16px 16px 76px;
  }

  .calendar-page__submit,
  .calendar-page__save {
    position: fixed;
    bottom: 64px;
    width: 100%;
    left: 0;
    padding: 12px;
    border-radius: 0;
    font-size: 16px;
    line-height: 120%;
    z-index: 3;
  }

  .calendar-page__filter-form {
    margin-bottom: 8px;
  }


  .calendar-page__filter-form .filter-form__group--full {
    max-width: 100%;
  }

  .calendar-table {
    border-spacing: 0 8px;
  }

  .calendar-table thead {
    transform: translateY(4px);
  }

  .calendar-table td {
    font-size: 12px;
    padding: 8px 4px;
  }


  .calendar-table th:nth-child(3),
  .calendar-table td:nth-child(3),
  .calendar-table th:nth-child(4),
  .calendar-table td:nth-child(4) {
    display: none;
  }

  .calendars {
    flex-direction: column;
    align-items: center;
  }

  .cabinet-tabs {
    width: calc(100% + 32px);
    margin-left: -16px;

  }

  .cabinet-tabs__list {
    padding-left: 16px;
  }

  .calendars__calendar:not(:last-child) {
    margin-bottom: 24px;
  }

  .cabinet-tabs__item:not(:last-child) {
    margin-right: 16px;
  }

  .cabinet-tabs__item:last-child {
    padding-right: 16px;
  }

  .cabinet-tabs__link {
    font-size: 16px;
  }
}


/* Страницы calendar calendar-add и calendar-edit конец*/











/* Страница settings */

@media (max-width: 767px) {
  .settings-page {
    padding: 16px 16px 76px;
  }

  .radiotab__text {
    font-size: 12px;
    padding: 4px;
  }

  .radiotab__icon {
    width: 20px;
    height: 20px;
  }

  .autorisation-form__wrapper {
    flex-direction: column;
  }

  .autorisation-form__wrapper .autorisation-form__input {
    margin-bottom: 8px;
    margin-right: 0;
    width: 100%;
  }

  .autorisation-form__send.visibly-hidden {
    display: none;
  }

  .code-confirm {
    width: 290px;
  }

  .code-confirm__label:last-of-type {
    margin-right: 0;
  }

  .code-confirm__input {
    width: 40px;
  }

  .code-confirm__approve {
    margin-top: 12px;
  }

  .code-confirm__resend {
    margin-top: 24px;
  }

  .password-form {
    flex-direction: column;
  }

  .password-form__wrapper {
    margin-bottom: 32px;
  }

  .password-form__input--gap {
    margin-bottom: 24px;
  }

  .password-form__input:last-child {
    margin-bottom: 0;
  }

}



/* Страница settings конец*/






/* Страница payment */
@media (max-width: 991px) {

  .payment-page__info {
    margin-bottom: 32px;
  }

  .payment-page__balance {
    width: auto;
    min-width: auto;
    margin-right: 8px;
  }

  .balance__summ {
    font-size: 18px;
  }

  .balance__summ svg {
    width: 20px;
    height: 20px;
  }

  .balance__note,
  .payment-stats__note {
    font-size: 10px;
  }


  .payment-page__payment-stats {
    flex-grow: unset;
  }

  .payment-stats__stat,
  .payment-stats--big .payment-stats__stat {
    font-size: 16px;
  }

  .payment-page__filter-form .filter-form__group--full {
    margin-top: 16px;
    margin-left: 0;
  }

  .filter-form__add-payer {
    margin-left: 0;
  }

  .payment-table th {
    padding: 0 4px;
  }


  .payment-table td {
    font-size: 14px;
    padding: 4px;
  }

  .cabinet-table__number,
  .cabinet-table__account-status {
    font-size: 14px;
  }


  .payment-table td:last-child {
    width: 24px;
  }

}



@media (max-width: 767px) {

  .payment-page {
    padding: 16px 16px 76px;
  }

  .payment-page__bnt {
    position: fixed;
    bottom: 64px;
    width: 100%;
    left: 0;
    padding: 12px;
    border-radius: 0;
    font-size: 16px;
    line-height: 120%;
    z-index: 3;
  }

  .payment-page__filter-form .filter-form__group--full {
    margin-top: 0;
  }

  .payment-stats__item:nth-child(2),
  .payment-stats__item:nth-child(3) {
    display: none;
  }

  .payment-table td {
    font-size: 12px;
  }

  .cabinet-table__number,
  .cabinet-table__account-status {
    font-size: 12px;
  }

  .cabinet-table__number svg {
    width: 16px;
    height: 16px;
    margin-right: 2px;
  }

  .cabinet-table__number small {
    font-size: 10px;
  }

  .accounts-table th:nth-child(3),
  .accounts-table th:nth-child(4),
  .accounts-table th:nth-child(5),
  .accounts-table td:nth-child(3),
  .accounts-table td:nth-child(4),
  .accounts-table td:nth-child(5) {
    display: none;
  }


  .acts-table th:nth-child(3),
  .acts-table th:nth-child(4),
  .acts-table th:nth-child(5),
  .acts-table td:nth-child(3),
  .acts-table td:nth-child(4),
  .acts-table td:nth-child(5) {
    display: none;
  }


  .payer-table th:nth-child(2),
  .payer-table th:nth-child(3),
  .payer-table th:nth-child(4),
  .payer-table td:nth-child(2),
  .payer-table td:nth-child(3),
  .payer-table td:nth-child(4) {
    display: none;
  }

}


/* Страница payment конец*/
















/* Страница deposit*/
@media (max-width: 767px) {
  .deposit-page {
    padding: 16px 16px 76px;
  }

  .deposit-page__bnt {
    position: fixed;
    bottom: 64px;
    width: 100%;
    left: 0;
    padding: 12px;
    border-radius: 0;
    font-size: 16px;
    line-height: 120%;
    z-index: 3;
  }

  .deposit-form__input-groups {
    flex-direction: column;
  }

  .deposit-form__input-group {
    width: 395px;
    max-width: 100%;
    margin-bottom: 16px;
  }

}



/* Страница deposit конец*/












/* Страница incoice */


@media (max-width: 991px) {

  .invoice-block__payment-stats .payment-stats__title {
    font-size: 16px;
  }

  .invoice-block__payment-stats .payment-stats__stat {
    font-size: 44px;
  }
}

@media (max-width: 767px) {
  .invoice-page {
    padding: 16px 16px 76px;
  }

  .invoice-page__bnt {
    position: fixed;
    bottom: 64px;
    width: 100%;
    left: 0;
    padding: 12px;
    border-radius: 0;
    font-size: 16px;
    line-height: 120%;
    z-index: 3;
  }

  .invoice-block__heading {
    padding: 16px 16px 8px;
  }

  .invoice-block__info {
    padding: 16px 16px 8px;
  }

  .column-list {
    margin: 0 -4px;
  }

  .column-list--col3 .column-list__item {
    width: calc(50% - 8px);
    margin: 0 4px 8px;
  }
}

/* Страница incoice конец*/















/* Страница tarifs */
@media (max-width: 767px) {
  .tarifs-page {
    padding: 16px 16px 76px;
  }

  .tarifs-page__bnt {
    position: fixed;
    bottom: 64px;
    width: 100%;
    left: 0;
    padding: 12px;
    border-radius: 0;
    font-size: 16px;
    line-height: 120%;
    z-index: 3;
  }

  .tarifs-page__balance {
    width: auto;
    margin-right: 8px;
    min-width: unset;
  }

  .tarifs-page__payment-stats {
    flex-grow: unset;
  }

  .tarifs-list {
    max-width: 290px;
    margin: 0 auto;
  }

  .tarifs-list__item {
    width: 100%;
    margin: 0 auto 16px;
    padding: 16px;
  }

  .tarifs-list__title {
    margin-bottom: 4px;
  }

  .tarifs-list__price {
    font-size: 20px;
  }

}

/* Страница tarifs конец*/









/* Страница payer-add и payer-edit */


@media (max-width: 767px) {
  .payer-page {
    padding: 16px 16px 76px;
  }

  .payer-page__bnt,
  .payer-page__save {
    position: fixed;
    bottom: 64px;
    width: 100%;
    left: 0;
    padding: 12px;
    border-radius: 0;
    font-size: 16px;
    line-height: 120%;
    z-index: 3;
  }

  .deposit-form__input-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .deposit-form__note {
    margin-left: 0;
  }

  .deposit-form__checkbox--gap {
    margin-bottom: 20px;
  }
}


/* Страница payer-add и payer-edit конец*/













/* Страницы group-page group-add group-edit и add-user*/



@media (max-width: 991px) {

  .group-table th,
  .user-add-table th {
    padding: 0 4px;
  }

  .group-table td,
  .user-add-table td {
    font-size: 14px;
    padding: 4px;
  }

  .user-add-table td:first-child {
    width: auto;
  }

}

@media (max-width: 767px) {
  .group-page {
    padding: 16px 16px 76px;
  }

  .group-page__title-wrapper {
    margin-bottom: 24px;
  }

  .group-page__filter-form {
    margin-bottom: 0;
  }


  .group-page__link,
  .group-page__submit,
  .group-page__save {
    position: fixed;
    bottom: 64px;
    width: 100%;
    left: 0;
    padding: 12px;
    border-radius: 0;
    font-size: 16px;
    line-height: 120%;
    z-index: 3;
  }

  .group-page__group-table.group-table {
    margin-bottom: 12px;
  }

  .group-table td {
    font-size: 12px;
  }

  .group-table__icon {
    width: 20px;
    height: 20px;
  }

  .user-add-table__checkbox .checkbox__icon {
    top: 2px;
  }

  .user-add-table td {
    font-size: 12px;
  }

  .user-add-table th:last-child,
  .user-add-table td:last-child {
    display: none;
  }

  .user-add-table td:nth-child(3) {
    border-right-style: solid;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px
  }


}

@media (max-width: 359px) {

  .user-add-table th:nth-child(3),
  .user-add-table td:nth-child(3) {
    display: none;
  }

  .user-add-table td:nth-child(2) {
    border-right-style: solid;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px
  }


}

/* Страницы group-page group-add group-edit и add-user*/


/*  footer */
@media (max-width: 767px) {
  .footer {
    display: none;
  }
}

/*  footer конец*/








/* modals */

@media (max-width: 1199px) {
  .page-wrapper__popup {
    width: 100%;
  }
}

@media (max-width: 991px) {

  .delete-object__content,
  .delete-staff__content,
  .delete-graph__content,
  .delete-calendar__content,
  .delete-payer__content,
  .delete-contoller__content,
  .logs-popup__content,
  .delete-group__content {
    padding: 16px 16px 72px;
  }

  .delete-group__text {
    margin-bottom: 16px;
  }
}






/* modals конец*/