
.mf-univer__main {
  background-color: var(--color-dark);
}

.fm-univer__top-block-text {
  padding-bottom: 80px;
}

.fm-univer__info-con {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  max-width: 700px;
  margin-top: 32px;
}

.fm-univer__top-con{
  display: flex;
  align-items: end;
}
.fm-univer__top-img{
  max-width: 100%;
  height: auto;
}

@media(max-width:800px){
  .fm-univer__top-con{
    flex-direction: column;
  }
  .fm-univer__top-block-text {
  padding-bottom: 0px;
}
}

@media (max-width: 600px) {
  .mf-univer__info-con {
    row-gap: 20px;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}
.fs-title-sm {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0%;
  color: var(--color-white);
}

.mf-univer__title {
  display: block;
}

.mf-univer__item {
  transition: 0.5s;
  overflow: hidden;
  padding: 48px 48px 0px 48px;
  background-color: var(--color-black);
  max-height: 130px;
  border-radius: 12px;
}

.mf-univer__item.mf-rso-open {
  padding-bottom: 30px;
}

.mf-univer-section {
  padding-bottom: 112px;
}

.mf-univer__item:not(:first-child) {
  margin-top: 32px;
}

.mf-univer__name {
  cursor: pointer;
  color: var(--color-white);
  position: relative;
  display: inline-block;
  padding-left: 30px;
}

.mf-univer__name::before {
  content: "";
  display: block;
  position: absolute;
  top: calc(50% - 8px);
  left: 8px;
  width: 10px;
  height: 10px;
  border: solid var(--color-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mf-rso-open .mf-univer__name::before {
  transform: rotate(225deg);
  top: calc(50% - 3px);
}

.mf-univer__form {
  transition-duration: 0.5s;
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-top: 60px;
}

.mf-rso-open .mf-univer__form {
  margin-top: 24px;
}

.mf-univer__label {
  display: flex;
  flex-direction: column;
  row-gap: 6px;
  position: relative;
}

/* .mf-univer__label:nth-child(2)::after {
  content: "";
  position: absolute;
  display: block;
  position: absolute;
  top: calc(50% + 6px);
  right: 10px;
  width: 8px;
  height: 8px;
  border: solid var(--color-light);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  pointer-events: none;
} */
.mf-univer__list .mf-custom-select{
  width: clamp(300px, 27.78vw, 400px);
}
.mf-hidden {
  display: none !important;
}

.mf-univer__city {
  background-color: transparent;
  color: var(--color-white);
}

.mf-univer__select {
  display: none;
  cursor: pointer;
  border: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: var(--color-dark);
  border-radius: var(--radius1);
  padding: 12px 27px 12px 24px;
  color: var(--color-white);
  width: 100%;
  outline: none;
}

.mf-rso__table {
  border-collapse: collapse;
  margin-top: 14px;
  width: 100%;
}

.mf-rso__table tbody tr {
  border-top: var(--border-line);
  padding-block: 18px;
}

.mf-rso__table tr th {
  text-align: start;
}

.mf-rso__table tr {
  text-align: start;
  display: grid;
  grid-template-columns: 1fr 190px 180px;
  gap: 24px;
}

.mf-rso__table tr td,
.mf-rso__table tr th {
  animation: fadeIn 0.3s ease forwards;
}

.mf-rso__table tr td:nth-child(n+2),
.mf-rso__table tr th:nth-child(n+2) {
  display: none;
}

.mf-filter-activ tr td:nth-child(n+2),
.mf-filter-activ tr th:nth-child(n+2) {
  display: block;
}

.mf-rso__table th {
  padding-bottom: 6px;
  color: var(--color-grey) !important;
}

.mf-rso__program span:first-child {
  display: block;
}

.mf-rso__program {
  display: flex;
  flex-direction: column;
}

.mf-rso__accent {
  display: inline-block;
  color: var(--color-accent) !important;
  border-radius: 50px;
  padding: 7px 14px;
  border: 1px solid var(--color-accent);
}

.mf-show-program {
  cursor: pointer;
  background-color: transparent;
  color: var(--color-accent);
  position: relative;
  display: inline-flex;
  padding-left: 20px;
  -moz-column-gap: 10px;
       column-gap: 10px;
  margin-top: 10px;
}

.mf-show-program::before {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 2px;
  width: 8px;
  height: 8px;
  border: solid var(--color-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mf-program-hidgen {
  display: none;
}

.mf-rso__program-list {
  margin-top: 10px;
  overflow: hidden;
  transition-duration: 0.3s;
}

@media (max-width: 800px) {
  .mf-univer__item {
    padding: 24px 24px 0px 24px;
    max-height: 76px;
  }
  .mf-univer__item.mf-rso-open {
    padding-bottom: 4px;
  }
  .mf-rso__table tr {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mf-rso__table th:not(:first-child) {
    display: none !important;
  }
  .mf-filter-activ tr td:nth-child(n+2)::before {
    display: block;
    font-family: "FD-JB";
    font-weight: 500;
    line-height: 1.4;
    font-size: 12px;
    color: var(--color-grey);
    letter-spacing: 4%;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
  }
  .mf-rso__table tr td:nth-child(2):before {
    content: "Подтверждение ЕГЭ";
  }
  .mf-rso__table tr td:nth-child(3):before {
    content: "Право на БВИ";
  }
}
