@font-face {
  font-family: 'LatoWeb';
  src: url("../fonts/latolight.woff") format("woff"), url("../fonts/latolight.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'LatoWeb';
  src: url("../fonts/latomedium.woff") format("woff"), url("../fonts/latomedium.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'LatoWeb';
  src: url("../fonts/latobold.woff") format("woff"), url("../fonts/latobold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'LatoWeb';
  src: url("../fonts/latoitalic.woff") format("woff"), url("../fonts/latoitalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

html body {
  font-family: 'LatoWeb', Arial, sans-serif;
  font-weight: 300;
}

.input-text {
  border: 1px solid #e2e2e2;
  color: #8f8f8f;
  height: 36px;
  padding: 7px 13px 9px;
  font-size: 18px;
  font-weight: 300;
}

.form {
  box-shadow: 0 0 27px rgba(0, 0, 0, 0.13);
  border-top: 4px solid #458e27;
  background: #fff;
  font-weight: 300;
}

body {
  background: #fcfcfc;
}

body:before {
  content: '';
  display: block;
  width: 100%;
  height: 430px;
  position: absolute;
  left: 0;
  top: 0;
  background: url("/bitrix/components/webindustry/customerentry.record/templates/.default/images/pt_onlinereg.png") repeat;
  position: absolute;
  z-index: -1;
}

.overlap {
  background: rgba(1, 1, 1, 0.5);
}

.main-header {
  font-size: 30px;
  color: #575757;
  font-weight: 300;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

.buttons-panel {
  font-size: 0;
  font-weight: 300;
  margin-bottom: 35px;
  margin-top: 25px;
}

.buttons-panel__year-switcher {
  margin: 13px auto 0;
  display: table;
}

.buttons-panel__mounth-switcher {
  margin: 13px auto 0;
  display: table;
}

.buttons-panel__switch-btn {
  border-radius: 0;
  background: #fff;
  width: 29px;
  height: 29px;
  border: none;
  display: inline-block;
  vertical-align: top;
  border: 1px solid #e2e2e2;
}

.buttons-panel__switch-btn_direction_prev {
  background: #fff url("/bitrix/components/webindustry/customerentry.record/templates/.default/images/arrow_back.svg") 50% 50% no-repeat;
  background-size: 70%;
}

.buttons-panel__switch-btn_direction_next {
  background: #fff url("/bitrix/components/webindustry/customerentry.record/templates/.default/images/arrow_forward.svg") 50% 50% no-repeat;
  background-size: 70%;
}

.buttons-panel__current {
  border-radius: 0;
  background: #fff;
  width: 130px;
  height: 29px;
  border: none;
  display: inline-block;
  text-align: center;
  color: #4caf50;
  text-transform: uppercase;
  vertical-align: top;
  font-size: 20px;
  border: 1px solid #e2e2e2;
  margin-left: -1px;
  margin-right: -1px;
}

.calendar-table {
  background: #fff;
  font-weight: 300;
  box-shadow: 0 0 27px rgba(0, 0, 0, 0.13);
}

.calendar-table__weekday {
  border: 1px solid #E1E1E1;
  text-align: center;
  padding: 5px 0;
  font-size: 20px;
  text-transform: uppercase;
  color: #3D3D3D;
  font-weight: 300;
}

.calendar-table__weekday span {
  color: #B5B5B5;
}

.calendar-table__emptyday {
  border: 1px solid #e2e2e2;
}

.calendar-table__usualday {
  border: 1px solid #e2e2e2;
}

.calendar-table__usualday:before {
  background: #e2e2e2;
}

.calendar-table__usualday:after {
  background: #e2e2e2;
}

.calendar-table__pastday .calendar-day__day-name {
  color: #a3a3a3;
}

.calendar-table__pastday .calendar-day__day-number {
  color: #a3a3a3;
}

.calendar-day__day-number {
  font-size: 16px;
  color: #3b3b3b;
  top: 10px;
  left: 0;
  text-align: center;
}

.calendar-day__day-number_current {
  color: #f25f5f;
  font-weight: 700;
}

.calendar-day__day-name {
  color: #3d3d3d;
  padding-top: 30px;
  text-align: center;
}

.one-event {
  background-color: #5FAD35;
  color: #fff;
  margin-top: 10px;
  padding: 5px;
  position: relative;
  cursor: pointer;
  line-height: 1.2em;
}

.one-event_past {
  background-color: #c0c0c0;
}

.one-event__header__left {
  float: left;
  width: calc(100% - 48px);
}

.one-event__header__right {
  float: right;
  width: 48px;
  font-size: 11px;
  text-align: right;
}

.one-event__name {
  font-size: 14px;
  font-weight: bold;
  height: 40px;
}

.one-event__day-count {
  font-size: 11px;
  text-transform: uppercase;
}

.one-event__free-info {
  clear: both;
  font-size: 11px;
  height: 19px;
}

.form-closer {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  font-size: 0;
  background: url("../images/close.svg") no-repeat;
  width: 21px;
  height: 21px;
}

.edit-event-form.control_panel {
  text-align: center;
}

.edit-event-form__form-name {
  text-align: left;
  text-transform: uppercase;
  font-size: 19px;
  color: #458e27;
  margin-bottom: 15px;
  padding-right: 17px;
}

.edit-event-form__event-header {
  background-color: #efefef;
}

.edit-event-form__event-name {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 7px;
}

.edit-event-form__count-people {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 5px;
  float: none;
}

.edit-event-form__event-date {
  font-size: 18px;
  float: none;
  font-weight: 400;
}

.edit-event-form__event-date div {
  color: #4caf50;
  font-size: 16px;
}

.edit-event-form__event-place {
  float: left;
  font-size: 16px;
}

.edit-event-form__open-about {
  float: right;
  font-size: 16px;
  border-bottom: 1px dashed #000;
}

.edit-event-form__event-descr {
  font-size: 16px;
  margin: 10px 0 7px;
}

.edit-event-form__input-name {
  font-size: 17px;
  font-weight: 400;
}

.edit-event-form__input-name_required:after {
  content: "*";
  color: #af4c4c;
}

.edit-event-form__past-alert {
  font-size: 18px;
}

.edit-event-form__user-alert {
  font-size: 13px;
  color: #af4c4c;
  text-align: left;
  margin-bottom: 10px;
  line-height: 1;
}

.edit-event-form__input-missed {
  border: 1px solid #af4c4c;
}

.edit-event-form__input-alert {
  color: #af4c4c;
  font-size: 12px;
  bottom: 1px;
  left: 0;
  line-height: 1.3;
}

.edit-event-form__btn-save {
  width: 135px;
  height: 38px;
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 18px;
}

.edit-event-form__btn-cancel {
  border: none;
  background: none;
  font-size: 16px;
  text-decoration: underline;
  color: #555;
  width: 101px;
  height: 44px;
  cursor: pointer;
}

@media (min-width: 480px) {
  .main-header {
    font-size: 36px;
    text-align: left;
    margin-top: 38px;
  }

  .buttons-panel__year-switcher {
    float: left;
    margin: 0;
  }

  .buttons-panel__mounth-switcher {
    margin: 0;
    float: right;
  }
}

@media (min-width: 600px) {
  .edit-event-form__form-name {
    font-size: 25px;
    text-align: center;
    padding-right: 0;
    margin-bottom: 25px;
  }

  .edit-event-form__event-name {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .edit-event-form__count-people {
    float: left;
    font-size: 18px;
    margin-bottom: 10px;
  }

  .edit-event-form__event-date {
    float: right;
    text-align: right;
    font-size: 18px;
    margin-bottom: 5px;
    margin-top: -23px;
  }

  .edit-event-form__event-place {
    font-size: 18px;
  }

  .edit-event-form__open-about {
    font-size: 18px;
  }

  .edit-event-form__input-name {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .edit-event-form__input-alert {
    right: 147px;
  }

  .edit-event-form__btn-save {
    width: 152px;
    font-size: 20px;
    height: 44px;
  }
}

@media (min-width: 900px) {
  .main-header {
    float: left;
    font-size: 45px;
    margin-top: 55px;
  }

  .buttons-panel {
    float: right;
  }

  .buttons-panel__year-switcher {
    float: none;
    margin: 13px 0;
  }

  .buttons-panel__mounth-switcher {
    float: none;
  }
}