#page-content, #modal-window #modal-content {
  background: white;
  background: -webkit-gradient(linear, left top, right top, from(white), to(#E6E6E6));
  background: linear-gradient(to right, white 0%, #E6E6E6 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='white', endColorstr='#E6E6E6',GradientType=1 );
}

dd .text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  white-space: nowrap;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#page-title,
#page-content {
  width: 40rem;
  margin-left: calc((100% - 40rem) / 2);
  margin-right: calc((100% - 40rem) / 2);
}

#page-layout {
  -ms-flex-line-pack: start;
      align-content: flex-start;
}

#page-content {
  padding: 2.333rem 3rem;
  border-radius: 2rem;
  min-height: auto;
}

.item-content > .content-piece-group:not(:first-child) {
  padding-top: 1rem;
}

.item-content > .content-piece-group:not(:last-child):not(.exept) {
  border-bottom: solid 0.055rem #D8D8D8;
  padding-bottom: 1rem;
}

.item-content .content-piece a {
  font-size: inherit;
}

.item-content .content-piece p {
  font-size: 0.777rem;
  font-weight: 400;
  text-align: center;
}

.item-content .content-piece label[for='data-password'],
.item-content .content-piece p {
  display: inline;
}

.item-content .content-piece label[for='data-password'] a,
.item-content .content-piece p a {
  display: initial;
}

.item-content .content-piece .value {
  padding: 0.444rem 0.777rem;
  font-weight: 500;
  font-size: 1rem;
  text-align: left;
}

.item-content .content-piece .price {
  font-weight: 900;
}

.item-content .content-tab:not(.active) {
  display: none;
}

.item-content .content-piece.content-checkbox {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.item-content .content-piece.content-checkbox > * {
  display: initial;
  width: auto;
  font-size: 1rem;
  font-weight: 500;
  color: #29ABE2;
}

.item-content .content-piece.content-checkbox label {
  padding: 0 0 0 0.444rem;
  margin: 0;
  cursor: pointer;
}

.item-content .content-piece.content-checkbox input::before {
  background-color: white;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  font-family: 'Font Awesome 5 Free';
  font-weight: 500;
  content: '\f0c8';
}

.item-content .content-piece.content-checkbox input:checked::before {
  font-weight: 900;
}

.item-content .content-checkbox:hover > *,
.item-content .content-checkbox:focus-within > * {
  color: #2597BF;
}

.item-content .content-piece-group.group-extra {
  padding-top: 0;
}

.item-content .content-piece-group:not(.group-form-actions) {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.item-content .content-piece.half {
  width: calc(50% - (2.33rem / 2));
}

.item-content .content-piece.third {
  width: calc(33.333% - (2.33rem / 2));
}

.item-content .content-piece.two-third {
  width: calc(66.666% - (2.33rem / 2));
}

.content-piece.content-gender .radio-button-group label {
  padding-top: .555rem;
  padding-bottom: .555rem;
}

.content-left,
.group-long,
.list-trainers {
  width: calc(100% - 10rem - 2.33rem);
}

.group-content-3 .content-piece {
  width: calc((100% - (2.33rem * 2)) / 3);
}

.content-right,
.group-short,
.list-trainers + .group-actions {
  width: 10rem;
  margin-left: 2.33rem;
}

.content-piece-group .content-piece:not(:last-child):not(.exept) {
  margin-bottom: 1rem;
}

.content-piece-group .list:not(:last-child) {
  margin-bottom: 1rem;
}

.group-header,
.data-header,
form label {
  font-size: 0.777rem;
}

form label {
  white-space: nowrap;
}

.group-header {
  font-weight: 500;
  margin-bottom: 0.444rem;
}

.data-header,
form label:not(.label-mask) {
  color: #4A4A4A;
  margin-bottom: 0.222rem;
  font-weight: 400;
}

.piece-half {
  width: 50%;
}

.list li {
  width: 100%;
}

.list li:not(:last-child) {
  margin-bottom: 0.666rem;
}

.list-person a {
  width: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
}

.list-person img {
  height: 3rem;
  width: 3rem;
  border-radius: 1rem;
  -o-object-fit: cover;
     object-fit: cover;
}

.list-person .text {
  width: calc(100% - 3rem - .666rem);
  margin-left: .666rem;
  font-weight: 700;
  font-size: 0.777rem;
}

.list-abonements li {
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.list-abonements .toggler {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 3rem;
  height: 3rem;
  font-size: 1.333rem;
}

.list-abonements .toggler-on {
  color: #39B54A;
}

.list-abonements .toggler-on:hover,
.list-abonements .toggler-on:focus {
  color: #31993B;
}

.list-abonements .toggler-pause {
  color: #4A4A4A;
}

.list-abonements .toggler-pause:hover,
.list-abonements .toggler-pause:focus {
  color: #7F7F7F;
}

.list-abonements .toggler-off {
  pointer-events: none;
  color: #D8D8D8;
}

.list-abonements .view {
  width: calc(100% - 3rem - .666rem);
  margin-left: .666rem;
}

.list-abonements .view a {
  font-size: 0.777rem;
  font-weight: 700;
}

.list-abonements .view .details {
  font-size: 0.666rem;
  font-weight: 400;
}

.list-abonements .view .details *:not(:first-child) {
  margin-left: 0.111rem;
}

.list-abonements .view .details .end-date {
  color: #7F7F7F;
}

.filter-search {
  margin-bottom: .777rem;
}

.filter-search input {
  font-size: 0.666rem;
}

.person-list-group,
.attendance-list-group {
  height: 20rem;
  overflow-y: auto;
  overflow-x: hidden;
}

.person-list-group::-webkit-scrollbar,
.attendance-list-group::-webkit-scrollbar {
  width: 0.444rem;
}

.person-list-group::-webkit-scrollbar-track,
.attendance-list-group::-webkit-scrollbar-track {
  background: #D8D8D8;
}

.person-list-group li {
  width: 100%;
}

.person-list-group > li:not(:first-child) {
  margin-top: .777rem;
}

.list.list-attendance li {
  margin-bottom: 0;
}

.list.list-attendance .text {
  font-weight: 700;
  font-size: 0.666rem;
}

.list.list-attendance li::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  height: 0.055rem;
  width: 82%;
  background-color: #D8D8D8;
}

h2 {
  font-weight: 700;
}

dd {
  font-weight: 500;
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

dd > *:not(:first-child) {
  margin-left: 1rem;
}

.person-photo {
  width: 100%;
  border-radius: 1rem;
}

.list-actions .button {
  width: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.hide-input input {
  display: none;
}

form.item-content > .content-piece-group:not(:last-child):not(.exept) {
  padding-bottom: 1.666rem;
}

form.item-content > .content-piece-group:not(:first-child):not(.exept) {
  padding-top: 1.666rem;
}

form.item-content label:not(.label-mask) {
  padding: 0 0.777rem;
}

form.item-content .label-mask, form.item-content select {
  cursor: pointer;
}

form.item-content .label-mask.button {
  -webkit-box-shadow: none;
          box-shadow: none;
}

form.item-content input, form.item-content textarea, form.item-content .label-mask, form.item-content select {
  padding: 0.444rem 0.777rem;
  background-color: #B3EBFF;
  border-radius: 1.333rem;
  font-weight: 500;
  outline: none;
}

form.item-content textarea:not([required]),
form.item-content .label-mask:not([required]):not(.button),
form.item-content input:not([required]) {
  background-color: transparent;
  border: 0.111rem #B3EBFF solid;
}

form.item-content textarea {
  width: 100%;
  border: none;
}

form.item-content .button-person,
form.item-content .button-product {
  padding: 0;
  overflow: visible;
  width: 100%;
  height: 2.1rem;
  border: none;
}

form.item-content .button-person .text,
form.item-content .button-product .text {
  font-size: 1rem;
  width: calc(100% - 2.1rem);
  padding: 0.444rem 0.777rem;
}

form.item-content .button-person *:not(:first-child),
form.item-content .button-product *:not(:first-child) {
  margin-left: 0;
}

form.item-content .button-person .person-photo,
form.item-content .button-product .person-photo {
  height: 2.1rem;
  width: 2.1rem;
}

form.item-content .button-person .icon,
form.item-content .button-product .icon {
  height: 2.1rem;
  width: 2.1rem;
  font-size: 1rem;
  position: absolute;
  right: 0;
  color: #C1272D;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 3rem;
  opacity: 0;
  -webkit-transition: opacity 0.15s ease-out;
  transition: opacity 0.15s ease-out;
}

form.item-content .button-person .icon::before,
form.item-content .button-product .icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

form.item-content .button-person.not-chosen,
form.item-content .button-product.not-chosen {
  background-color: #B3EBFF;
}

form.item-content .button-person.not-chosen .text,
form.item-content .button-product.not-chosen .text {
  color: black;
  font-weight: 500;
}

form.item-content .button-person.not-chosen .person-photo,
form.item-content .button-product.not-chosen .person-photo {
  display: none;
}

form.item-content .button:hover .icon,
form.item-content .button:focus .icon {
  opacity: 1;
}

form.item-content input,
form.item-content textarea,
form.item-content select {
  -webkit-transition: color 0.15s ease-out, background-color 0.15s ease-out;
  transition: color 0.15s ease-out, background-color 0.15s ease-out;
}

form.item-content input.filled,
form.item-content textarea.filled,
form.item-content select.filled {
  background-color: #29ABE2;
  color: white;
}

form.item-content input[disabled='disabled'],
form.item-content textarea[disabled='disabled'],
form.item-content select[disabled='disabled'] {
  background-color: #D8D8D8;
  color: #E6E6E6;
}

.group-name {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  padding-top: 0 !important;
}

.group-photo {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}

.group-photo .label-mask {
  height: 9rem;
  background: #B3EBFF;
  background-size: cover;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
}

.group-photo .label-mask .text {
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #29ABE2;
  padding: 0.666rem 1rem;
  border-radius: 1.333rem;
  opacity: 0;
  -webkit-transition: opacity 0.15s ease-out;
  transition: opacity 0.15s ease-out;
}

.group-photo .label-mask:hover .text {
  opacity: 1;
}

.group-client {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}

.group-status,
.group-contacts {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
}

.group-employee,
.group-bio {
  -webkit-box-ordinal-group: 5;
      -ms-flex-order: 4;
          order: 4;
}

.group-status dd {
  height: 3rem;
}

.group-status.positive dd * {
  color: #39B54A;
}

.group-status.negative dd * {
  color: #C1272D;
}

.group-status .text {
  margin-left: 0.444rem;
}

.group-limit {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.group-limit [type='checkbox'] {
  display: none;
}

.group-limit [type='number'],
.group-limit .label-mask {
  width: calc(50% - (.222rem / 2));
}

.group-limit.content-piece label.label-mask[for='data-no-limit'] {
  border: none;
}

.group-limit .label-mask {
  color: #29ABE2;
}

.group-limit .label-mask::before {
  content: '\f0c8';
  font-family: 'Font Awesome 5 Free';
  font-weight: 500;
  margin-right: 0.444rem;
}

.group-limit [type='checkbox']:checked ~ .label-mask::before {
  font-weight: 900;
}

.content-piece-group.group-period-time .content-piece.half {
  margin-bottom: 0;
}

.radio-button-group [type='date'] {
  font-size: .92rem;
}

.radio-button-group .label-mask {
  width: 50%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 1rem;
  border: 0.111rem solid #29ABE2;
  padding-top: .333rem;
  padding-bottom: .333rem;
}

.radio-button-group .label-mask:first-of-type {
  border-radius: 1.333rem 0 0 1.333rem;
}

.radio-button-group .label-mask:last-of-type {
  border-radius: 0 1.333rem 1.333rem 0;
}

.radio-button-group input:checked + .label-mask {
  background-color: #29ABE2;
  color: white;
}

.radio-button-group input:not(:checked) + .label-mask {
  background-color: transparent;
  color: #29ABE2;
}

.group-notes {
  -webkit-box-ordinal-group: 6;
      -ms-flex-order: 5;
          order: 5;
}

.group-trainers {
  -webkit-box-ordinal-group: 7;
      -ms-flex-order: 6;
          order: 6;
}

.group-trainers .list-trainers {
  margin-bottom: 0 !important;
}

.group-trainers .list-trainers + .group-actions {
  position: absolute;
  bottom: .222rem;
  right: 0;
}

.group-form-actions {
  -webkit-box-ordinal-group: 8;
      -ms-flex-order: 7;
          order: 7;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
}

.group-form-actions .label-mask {
  width: auto;
}

.group-form-actions > * {
  padding: 0.666rem 2rem !important;
}

.group-form-actions a, .group-form-actions .text {
  font-size: 1rem;
  font-weight: 700;
}

.group-form-actions .label-mask.button {
  background-color: #29ABE2;
  color: white;
}

.group-form-actions .label-mask.button .text {
  overflow: visible;
}

.group-form-actions .text {
  padding: 0 !important;
}

.group-form-actions .button {
  -webkit-transition: background 0.15s ease-out;
  transition: background 0.15s ease-out;
}

.group-form-actions .button:hover,
.group-form-actions .button:focus {
  background: #2597BF;
}

.content-salary input,
.price {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 900;
}

.price.positive {
  color: #39B54A;
}

.price.negative {
  color: #C1272D;
}

#page-layout[data-page='staff'] .group-bio {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
}

#page-layout[data-page='staff'] .group-contacts {
  -webkit-box-ordinal-group: 5;
      -ms-flex-order: 4;
          order: 4;
}

#page-layout[data-page='staff'] .item-content .group-contacts,
#page-layout[data-page='staff'] .item-content .group-notes {
  padding-top: 0;
}

.group-form-actions.disabled {
  pointer-events: none;
}

.group-form-actions.disabled .button {
  background: #D8D8D8;
}

.group-form-actions.disabled .button,
.group-form-actions.disabled .button:hover,
.group-form-actions.disabled .button:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.group-extra {
  -webkit-box-ordinal-group: 11;
      -ms-flex-order: 10;
          order: 10;
}

#remove-photo {
  position: absolute;
  right: -.888rem;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  background-color: white;
  border-radius: 10rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
  z-index: 5;
  -webkit-transition: opacity 0.15s ease-out;
  transition: opacity 0.15s ease-out;
  opacity: 0;
}

#remove-photo.disabled {
  display: none;
}

.content-piece:hover #remove-photo,
.content-piece:focus-within #remove-photo {
  opacity: 1;
}

#modal-window {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 30;
}

#modal-window #modal-content {
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, 150%);
          transform: translate(-50%, 150%);
  width: 30rem;
  padding: 2rem 2.666rem;
  border-radius: 3rem;
  z-index: 2;
  -webkit-transition: -webkit-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  max-height: calc(100vh - 10rem);
  overflow-y: scroll;
}

#modal-window #modal-close {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.72);
  z-index: 1;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}

#modal-window .selected a,
#modal-window a.selected {
  pointer-events: none;
}

#modal-window .selected a .text,
#modal-window a.selected .text {
  color: black;
}

#modal-window a {
  border: none;
}

#modal-window:not(.visible) {
  display: none;
}

#modal-window.active #modal-content {
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

#modal-window.active #modal-close {
  opacity: 1;
}
/*# sourceMappingURL=crud.css.map */