@charset 'UTF-8';
@import url(https://hse.ru/f/src/global/css/main_fonts.css);

.builder-section #app-admission-container {
  padding-top: 0;
  padding-bottom: 0;
}

.evc-filter svg {
  flex: 0 0 auto;
}

.evc-svg-button {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  cursor: pointer;
}

.evc-open {
  overflow: hidden;
}

.evc-title {
  font: 600 3.2rem/1.25 "HSE Sans", "Helvetica Neue", Arial, sans-serif;
  color: #2d2d2d;
}

.evc-title-widget {
  font-size: 2.8rem;
}

@media screen and (max-width: 995px) {
  .evc-title {
    font-size: 2.4rem;
  }
}

.evc-link {
  text-decoration: none;
}

.evc-link_more {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  border-bottom: none;
  color: #1657da;
  white-space: nowrap;
}

.evc-link_dark,
.evc-link_dark:link,
.evc-link_dark:visited {
  color: #2d2d2d;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.evc-link_dark:hover {
  border-color: transparent;
}

/*day*/
.evc-day {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font: 600 1em/1.3 "HSE Sans", "Helvetica Neue", Arial, sans-serif;
  color: #2d2d2d;
  margin: 0;
}

.evc-day_expired {
  opacity: 0.5;
}

.evc-day__number {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #edf1f7;
  box-shadow: 0px 0px 2px rgb(0 0 0 / 10%);
  border-top: 6px solid #ff5a43;
  border-radius: 5px 5px 2px 2px;
  width: 28px;
  height: 30px;
  box-sizing: border-box;
  font-size: 0.9375em;
  text-align: center;
}

.evc-day__month {
  margin-left: 12px;
  text-transform: capitalize;
}

.evc-tag {
  font: normal 0.875em/1.3 "HSE Sans", "Helvetica Neue", Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: #f0f5ff;
  border-radius: 8px;
  color: #1657da;
  gap: 6px;
}

.evc-tag_important {
  color: #e03a15;
  background: rgba(255, 90, 67, 0.12);
}

.evc-tag_special {
  color: rgb(0, 155, 100);
  background: rgba(0, 155, 100, 0.12);
}

/*tags*/
.evc-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
}

.evc-tags__item {
  margin: 0 8px 8px 0;
}

.evc-tag-widget svg {
    flex: 0 0 16px;
}

.evc-tag__link-widget {
    color: inherit
}

.evc-tag__link-widget:hover {
    border-bottom-color: transparent;
}

/*card*/
.evc-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #edf1f8;
  box-sizing: border-box;
  box-shadow: 0px 16px 20px rgba(15, 30, 104, 0.08),
    0px 0px 6px rgba(15, 30, 104, 0.06);
  border-radius: 12px;
  padding: 24px 32px;
  margin: 0;
}

.evc-card_deadline {
  border-color: #ff5a43;
}

.evc-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 24px;
}

@media screen and (max-width: 995px) {
  .evc-card__top {
    flex-direction: column-reverse;
  }
}

.evc-card__top-widget {
  flex-direction: column-reverse;
}

.evc-card__title {
  padding: 0;
  margin: 0;
}

.evc-card__days {
  margin: 0 0 0 auto;
  padding: 0 0 0 16px;
  list-style: none;
}

.evc-card__days_multiple {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media screen and (max-width: 995px) {
  .evc-card__days {
    justify-content: flex-start;
    margin: 0 0 16px;
    padding: 0;
  }
}
.evc-card__days-widget {
  justify-content: flex-start;
  margin: 0 0 16px;
  padding: 0;
}

.evc-card__days_multiple::before {
  content: "";
  order: 1;
  border-left: 1px solid #e1e5f0;
  margin: 0 16px;
  height: 32px;
}

.evc-card__day {
  margin: 0;
}

.evc-card__day:last-child {
  order: 2;
}

.evc-card__bottom {
  padding: 16px 0 0;
  margin: auto 0 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.evc-card__target {
  margin: 0 38px 0 0;
}

.evc-card__target:last-child {
  margin-right: 0;
}

.evc-card__propertys {
  margin: 18px 0 0;
  padding: 0;
}

.evc-card__property {
  margin: 0 0 12px;
}
/*cards*/
.evc-cards__category {
  padding-bottom: 16px;
}

.evc-cards-widget {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 0 -12px;
}

@media screen and (max-width: 767px) {
  .evc-cards-widget {
    margin: 0;
  }
}

.evc-cards__day {
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 1em/1.3 "HSE Sans", "Helvetica Neue", Arial, sans-serif;
  color: #000;
  margin: 0 0 24px;
  text-align: center;
}

.evc-cards__day_past {
  font: 600 1.25em/1.3 "HSE Sans", "Helvetica Neue", Arial, sans-serif;
  margin: 0 0 32px;
}

.evc-cards__day::before,
.evc-cards__day::after {
  content: "";
  display: block;
  flex: 1;
  border-top: 1px solid #dfe1e8;
}

.evc-cards__day::before {
  margin-right: 8px;
}

.evc-cards__day::after {
  margin-left: 8px;
}

.evc-cards__item {
  margin: 0 0 32px;
}

.evc-cards__item-widget {
  margin: 24px 12px 0;
  min-width: 280px;
  flex: 0 0 calc(100% / 3 - 24px);
}

@media screen and (max-width: 995px) {
  .evc-cards__item-widget {
    flex: 0 0 calc(50% - 24px);
  }
}

@media screen and (max-width: 767px) {
  .evc-cards__item-widget {
    min-width: auto;
    flex: 0 0 100%;
    margin: 24px 0 0;
  }
}

/* datepicker*/
.evc-datepicker {
  font-family: "HSE Sans", "Helvetica Neue", Arial, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 18px;
  color: #2d2d2d;
}

.evc-datepicker__month {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.evc-datepicker__calendar {
  width: 100%;
  table-layout: fixed;
}

.evc-datepicker__row_weeks {
  font-family: "HSE Sans", "Helvetica Neue", Arial, sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #868a92;
}

.evc-datepicker__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.evc-datepicker__cell {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
  box-sizing: border-box;
  padding: 0;
}

.evc-datepicker__cell::before {
  /*square cell*/
  content: "";
  float: left;
  padding-top: 100%;
}

.evc-datepicker__cell {
  position: relative;
  text-align: center;
}

.evc-datepicker__cell.hover,
.evc-datepicker__cell:hover {
  cursor: pointer;
  background-color: #f0f5ff;
}

.evc-datepicker__cell.not-in-focus,
.evc-datepicker__cell.not-in-focus:hover {
  color: #bac0c6;
  cursor: unset;
  background-color: unset;
}

.evc-datepicker__cell.today {
  color: #1958de;
}

.evc-datepicker__cell.is-selected {
  background-color: #1958de;
  color: white;
}

.evc-datepicker__cell.inside-selection {
  background-color: #f0f5ff;
}

.evc-datepicker__cell.inside-selection:hover {
  background-color: #d0ddf8;
}

.evc-datepicker__day {
  position: relative;
  flex: 1 0 100%;
}

.evc-datepicker__day {
  position: relative;
  flex: 1 0 100%;
}

.evc-datepicker__marker {
  display: none;
  position: absolute;
  top: 100%;
  left: calc(50% - 2px);
  background: #ff5a43;
  border-radius: 50%;
  width: 4px;
  height: 4px;
}

.evc-datepicker__cell.has-events .evc-datepicker__marker {
  display: block;
}

.evc-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font: normal 1.6rem/1.3 "HSE Sans", "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  background-color: #255bd2;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 6px 16px;
  min-height: 48px;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid;
  outline: 0;
  gap: 6px;
}

.evc-button:hover {
  background: #1c459e;
}

.evc-button_clean {
  background-color: transparent;
  color: #255bd2;
  border: 1px solid;
}

.evc-button_clean:hover {
  background-color: transparent;
  color: #1c459e;
}

.evc-dropdown {
  position: relative;
  z-index: 10;
  background-color: #fff;
  padding: 16px;
  box-shadow: 0px 16px 20px rgba(15, 30, 104, 0.08),
    0px 0px 6px rgba(15, 30, 104, 0.06);
  border-radius: 8px;
}

@media screen and (max-width: 995px) {
  .evc-dropdown {
    display: flex;
    flex-direction: column;
  }
}

.evc-dropdown_abs {
  position: absolute;
}

.evc-dropdown_dark {
  background-color: #0f0f0f;
  color: #fff;
  border-radius: 12px;
}

.evc-dropdown_dark::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #0f0f0f;
  left: calc(50% - 4px);
  bottom: 100%;
}

.evc-dropdown__search {
  flex-grow: 1;
  display: flex;
  align-items: center;
  padding: 0 16px 0 48px;
  height: 40px;
  width: 100%;
  color: #2d2d2d;
  border: 1px solid #e4eaf2;
  border-radius: 6px;
  appearance: none;
  outline: none;
  box-sizing: border-box;
  font: normal 1.6rem/1.25 "HSE Sans", "Helvetica Neue", Arial, sans-serif;
  background: #fff 14px 50% no-repeat
    url("data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M10%202.5C14.1421%202.5%2017.5%205.85786%2017.5%2010C17.5%2011.7101%2016.9276%2013.2866%2015.964%2014.5483L20.7071%2019.2929C21.0976%2019.6834%2021.0976%2020.3166%2020.7071%2020.7071C20.3466%2021.0676%2019.7794%2021.0953%2019.3871%2020.7903L19.2929%2020.7071L14.5483%2015.964C13.2866%2016.9276%2011.7101%2017.5%2010%2017.5C5.85786%2017.5%202.5%2014.1421%202.5%2010C2.5%205.85786%205.85786%202.5%2010%202.5ZM10%204.5C6.96243%204.5%204.5%206.96243%204.5%2010C4.5%2013.0376%206.96243%2015.5%2010%2015.5C13.0376%2015.5%2015.5%2013.0376%2015.5%2010C15.5%206.96243%2013.0376%204.5%2010%204.5Z%22%20fill%3D%22%23B0B5C0%22%2F%3E%0A%3C%2Fsvg%3E%0A");
  margin-bottom: 10px;
}

@media screen and (max-width: 995px) {
  .evc-dropdown__search {
    flex-grow: 0;
  }
}

.evc-dropdown__search:placeholder {
  color: #868a92;
  font: inherit;
  font-style: inherit;
}

.evc-dropdown__list {
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  margin: 0;
  padding: 0;
  max-height: 280px;
  overflow-x: hidden;
  overflow-y: visible;
  scrollbar-width: thin;
  font: normal 1em/1.3 "HSE Sans", "Helvetica Neue", Arial, sans-serif;
}

.evc-dropdown__list::-webkit-scrollbar {
  width: 8px;
}

.evc-dropdown__list::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.evc-dropdown__list::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

@media screen and (max-width: 995px) {
  .evc-dropdown__list {
    max-height: none;
  }
}

.evc-dropdown__item {
  padding: 12px 8px;
  margin: 0;
  transition: background-color 0.2s ease-out;
  cursor: pointer;
}

.evc-dropdown__item_hover,
.evc-dropdown__item:hover {
  background: #f1f3f9;
}

/*filter*/
.evc-filter {
  color: #000;
  background: #f1f3f9;
  border-radius: 8px;
  height: 56px;
}

.evc-filter__top {
  display: none;
  justify-content: flex-start;
  align-items: center;
  font: 600 1.5em/1.3 "HSE Sans", "Helvetica Neue", Arial, sans-serif;
  color: #2d2d2d;
  gap: 16px;
  margin: 0 0 32px;
}

@media screen and (max-width: 995px) {
  .evc-filter__top {
    display: flex;
  }
}

.evc-filter__close {
  margin-left: auto;
}

.evc-filter__opener {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border: none;
  outline: 0;
  padding: 16px;
  font: inherit;
  font-style: inherit;
  color: #000;
  background: transparent;
  height: 56px;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
}

.evc-filter__label {
  margin-right: auto;
  color: #868a92;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.evc-filter__label_default {
  color: inherit;
}

.evc-filter__dropdown {
  position: relative;
  visibility: hidden;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.evc-filter_dropdown-open {
  position: relative;
  z-index: 10;
}

.evc-filter_dropdown-open .evc-filter__dropdown {
  visibility: visible;
  opacity: 1;
  z-index: 10;
}

@media screen and (max-width: 995px) {
  .evc-filter__dropdown {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 100%;
    box-sizing: border-box;
    visibility: visible;
    opacity: 1;
    z-index: 10;
    transition: left 0.2s ease-out;
    box-shadow: none;
  }

  .evc-filter_dropdown-open {
    position: static;
  }

  .evc-filter_dropdown-open .evc-filter__dropdown {
    left: 0;
  }

  .evc-filter__icon-drop {
    transform: rotate(-90deg);
  }
}

/* filters */
@media screen and (max-width: 995px) {
  .evc-filters {
    max-height: 90vh;
    position: relative;
  }
  .evc-filters_open {
    z-index: 110;
  }
}

.evc-filters__item {
  margin-bottom: 16px;
}

.evc-filters__button {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.evc-filters__toggle {
  display: none;
}

.evc-filters__overlay {
  display: none;
}

.evc-filters_open .evc-filters__overlay {
  display: block;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@media screen and (max-width: 995px) {
  .evc-filters__toggle {
    display: flex;
  }
  .evc-filters__list {
    position: fixed;
    z-index: 10;
    bottom: calc(-100% - 100px);
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0px 16px 20px rgba(15, 30, 104, 0.08),
      0px 0px 6px rgba(15, 30, 104, 0.06);
    border-radius: 16px 16px 0px 0px;
    padding: 16px;
    transition: bottom 0.3s ease-out;
    max-height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .evc-filters_open .evc-filters__list {
    bottom: 0;
  }

  .evc-filters_open .evc-filters__overlay {
    background: rgba(1, 13, 47, 0.6);
  }

  .evc-filters__dropdown {
    position: absolute;
    top: 0;
    right: -100%;
    height: 100%;
  }
}

.evc-layout {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0 auto;
  min-width: 320px;
  max-width: 1600px;
}

.evc-layout__title-widget {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  margin: auto;
  margin-bottom: 16px;
  min-width: 320px;
  max-width: 1600px;
  gap: 16px;
}

.layout .evc-layout {
  min-width: auto;
  max-width: none;
}

@media screen and (max-width: 995px) {
  .evc-layout {
    display: block;
  }
}

.evc-layout__sidebar {
  width: 312px;
  margin-right: 72px;
  flex: 0 0 auto;
}

@media screen and (max-width: 995px) {
  .evc-layout__sidebar {
    width: auto;
    margin-right: 0;
  }
}

.evc-layout__main {
  flex-grow: 1;
}

.evc-layout__widget {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  align-items: flex-start;
}

.admission-filter__selector > input {
  flex-grow: 1;
}

.admission-filter__switch__wrapper {
  --main-color: #434db0;
  --bg-color: #c7c7c7;
  --width: 40px;
  --height: calc(var(--width) / 2);
  --border-radius: calc(var(--height) / 2);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.admission-filter__switch__input {
  display: none;
}

.admission-filter__switch__fill {
  position: relative;
  min-width: var(--width);
  height: var(--height);
  border-radius: var(--border-radius);
  background-color: var(--bg-color);
  transition: background-color 0.2s;
}

.admission-filter__switch__fill::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 7%;
  height: calc(var(--height) * 0.8);
  width: calc(var(--height) * 0.8);
  background-color: white;
  border-radius: var(--border-radius);
  transition: transform 0.2s;
}

.admission-filter__switch__input:checked + .admission-filter__switch__fill {
  background-color: var(--main-color);
}

.admission-filter__switch__input:checked
  + .admission-filter__switch__fill::after {
  transform: translateX(calc(var(--height) * 0.9));
}

.admission-filter__switch__label {
  margin-left: 1.2rem;
}

@media only screen and (max-width: 768px) {
  .admission-filter__switch {
    align-items: center;
    display: flex;
    justify-content: flex-start;
  }
}

.with-comma ::after {
  content: ", ";
  border-bottom: 1px solid white;
}

/*overwrite*/
.posts .post,
.post__content,
.content,
.grid_with-sidebar {
  position: static;
}

.evc-cards__day.evc-cards__day.evc-cards__day {
  margin: 0 0 24px;
  padding: 0;
}

.evc-cards__day_past.evc-cards__day_past.evc-cards__day_past {
  margin: 0 0 36px;
  padding: 0;
}

.evc-card__title.evc-card__title.evc-card__title {
  margin: 0;
  padding: 0;
}
