.accessibility {
  margin-right: 0;
}

.accessibility .open-accessibility {
  display: flex;
  padding: 4px 8px 5px 8px;
}

.header-university {
  z-index: 6;
  font-size: 0.875em;
  position: fixed;
  width: 100%;
  box-shadow: 0px 4px 20px rgba(135, 149, 166, 0.2);
}

.university-page {
  margin-top: var(--header-height);
}

.gallery__swiper-wrapper {
  margin-top: 40px;
}

.gallery__img-link {
  transition-duration: var(--transition);
}

.gallery__img-link:hover {
  opacity: 0.4;
}

.gallery__img {
  width: 100%;
}

.course__container {
  display: flex;
  gap: 40px;
}

.course__main {
  display: grid;
  grid-template-columns: 1fr;
  align-content: space-between;
  align-items: flex-start;
  gap: 40px;
  row-gap: 45px;
}

.course__items {
  row-gap: 40px;
}

.course__item-title {
  font-size: 1.5em;
  font-weight: 500;
  margin: 0 0 10px;
}

.course__item-value {
  line-height: 1.5;
  font-weight: 300;
  margin: 0;
}

.course__item-value--cost {
  color: var(--blue-dark);
  font-weight: 500;
}

.course__date {
  line-height: 1.5;
  font-weight: 300;
  margin: 0;
}

.course__links {
  display: grid;
  grid-template-columns: subgrid;
  row-gap: 20px;
  margin-top: auto;
}

.course__link {
  text-transform: uppercase;
  text-decoration: underline;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-right: 20px;
}

.course__disclaimer {
  margin-top: auto;
  padding: 30px;
  background: var(--bg-second);
}

.course__disclaimer-p {
  margin: 0;
  font-weight: 400;
}

.course__swiper {
  display: flex;
  flex-direction: column;
}

.course__teacher-img {
  width: 100%;
}

.course__teacher-name {
  color: var(--blue-dark);
  font-weight: 500;
  margin-top: 20px;
}

.course__teacher-position {
  line-height: 1.2;
  font-weight: 300;
  margin-top: 10px;
}

.course__nav {
  width: 100%;
  margin-top: 60px;
}

.video__body {
  display: flex;
  gap: 40px;
}

.video__info-item {
  line-height: 1.5;
  margin-top: 40px;
}

.video__info-item-p {
  font-weight: 300;
  margin-top: 16px;
}

.video__video-sign {
  color: var(--blue-dark);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  margin: 0;
  padding: 20px;
}

.docs__container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.docs__p {
  line-height: 1.5;
  font-weight: 300;
  margin-bottom: 16px;
}

.docs__links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  row-gap: 20px;
  margin-top: 40px;
}

.docs__link {
  text-transform: uppercase;
  text-decoration: underline;
  line-height: 1.2;
  letter-spacing: 0.02em;
  flex: calc(50% - 20px) 0 0;
}

.docs__document {
  max-width: 100%;
}

.docs__document-img {
  width: 100%;
}

.hero__body {
  align-items: flex-start;
  justify-content: center;
}

.hero__subtitle {
  max-width: 300px;
}

.hero__button {
  min-width: 260px;
  margin-top: 40px;
}

.hero__image-wrapper::after {
  background: linear-gradient(86.48deg, rgba(55, 66, 80, 0.9) 0%, rgba(55, 66, 80, 0) 72.26%);
}

.first {
  padding-bottom: 10px;
}

.first__title {
  margin: -27px 0 10px;
}

.first__details {
  margin-top: 40px;
}

.first__details-item {
  color: var(--text-gray);
  font-size: 1.0625em;
  line-height: 1;
  font-weight: 300;
}

.first__details-item {
  margin: 0;
}

.first__details-item:not(:last-child) {
  margin-bottom: 10px;
}

.first__details-item:before {
  transform: translateY(-3px);
  display: inline-block;
  width: 13px;
  margin-right: 18px;
}

.first__details-item--time:before {
  content: url("../img/time.svg");
}

.first__details-item--location:before {
  content: url("../img/location.svg");
}

.bottom-header__menu-opener._active {
  display: none;
}

.bottom-header .menu._active {
  display: flex;
}

.bottom-header .menu > .menu-item:hover {
  box-shadow: none;
}

.bottom-header .menu-item--sub-right .sub-menu {
  left: unset;
  right: 0;
}

.blue-rombs-list {
  margin: 0;
}

.blue-rombs-list__item:last-child {
  margin-bottom: 0;
}

.blue-rombs-list__link {
  text-decoration: underline;
}

.external__body {
  align-items: stretch;
}

.external__link {
  height: auto !important;
}

.external__name {
  text-transform: uppercase;
  margin-right: 40px;
}

.external:not(:has(.external__img)) .external__name {
  margin-top: 0;
}

.promo__date {
  text-transform: none;
}

.promo__news-sign {
  width: 100%;
}

.promo__bottom-items {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
}

.promo__bottom-item {
  font-size: 0.875em;
  line-height: 1.2;
  font-weight: 300;
}

.promo:has(.promo__bottom-items) .readmore {
  margin-top: 10px;
}

.flag__title {
  font-size: 1.5em;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.flag__p {
  line-height: 1.5;
  text-transform: none;
  font-weight: 300;
}

.blue-titles-items__title {
  font-size: 1em;
  margin-bottom: 34px;
}

.blue-titles-items:not(:first-child) {
  margin-top: 40px;
}

.text__button {
  min-width: 260px;
  margin-top: 40px;
}

.blue-titles-items__title + .text__simple-list {
  margin-top: 0;
}

.text__simple-list:last-child {
  margin-bottom: 0;
}

.text__list-item:last-child {
  margin-bottom: 0;
}

.text .readmore::after {
  background-color: var(--blue-light);
}

.text + .text {
  margin-top: -40px;
}

.download__link {
  text-transform: uppercase;
  text-decoration: underline;
  font-weight: 300;
}

.spoller-price__block {
  padding-bottom: 0;
}

.spoller-price + .download {
  margin-top: -10px;
  margin-bottom: 50px;
}

.promos__promo-excerpt p {
  margin-top: 0;
}

.table-price-section__body {
  display: flex;
  flex-direction: column;
  row-gap: 60px;
}

.table-price-section__block {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.table-price-section__scroll-table-wrapper {
  overflow: auto;
  max-height: calc(100vh - var(--header-height) - var(--bottom-height));
}

.table-price {
  position: relative;
  width: 100%;
  border-spacing: 0;
  border-top: 1px solid var(--dark);
  border-left: 1px solid var(--dark);
}

.table-price__title {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 20px;
  border-right: 1px solid var(--dark);
  background-color: var(--gray-light);
}

.table-price__sticky {
  position: sticky;
  top: 0;
}


.table-price__th {
  text-align: center;
  padding: 20px;
  background-color: var(--blue-extra-light);
  border-top: 1px solid var(--dark);
  border-right: 1px solid var(--dark);
  border-bottom: 1px solid var(--dark);
}

.table-price__td {
  padding: 20px;
  border-right: 1px solid var(--dark);
  border-bottom: 1px solid var(--dark);
}

._blur-container {
  position: relative;
}

._blur-container__scroll-container {
  overflow-x: auto;
}

._blur-container__blur-left,
._blur-container__blur-right {
  transition-duration: var(--transition);
  opacity: 0;
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 30px;
}

._blur-container__blur-left._active,
._blur-container__blur-right._active {
  opacity: 1;
}

._blur-container__blur-left {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

._blur-container__blur-right {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.university-page .blue-rombs-list{
  margin-top: 20px;
}

@media (min-width: 575.95px) {
  .course__main {
    grid-template-columns: repeat(2, 1fr);
  }

  .course__items {
    grid-column: 1/2;
    display: grid;
    grid-template-columns: subgrid;
  }

  .course__links {
    grid-column: 2/3;
  }

  .course__disclaimer {
    grid-column: 1/3;
  }
}

@media (min-width: 767.95px) {
  .hero__body {
    max-width: 404px;
  }

  .hero__title {
    font-size: 2.75em;
  }
}

@media (min-width: 991.95px) {
  .video__video {
    width: calc(50% - 20px);
  }

  .docs__info {
    width: calc(50% - 20px);
  }

  .docs__document {
    max-width: calc(50% - 40px);
  }

  .top-header__contacts {
    align-items: center;
  }

  .bottom-header__logo-wrapper {
    margin-right: 20px;
  }

  .bottom-header__search {
    width: auto;
  }

  .bottom-header__menu {
    width: 100%;
  }

  .bottom-header .menu {
    justify-content: space-between;
  }

  .bottom-header .menu > .menu-item-has-children:after {
    right: 0;
  }

  .bottom-header .sub-menu {
    padding: 10px 0;
    width: 280px;
  }

  .bottom-header .sub-menu .menu-item {
    padding: 10px 20px;
  }
}

@media (min-width: 1199.95px) {
  .university-page .form-row {
    flex-wrap: nowrap;
  }

  .course__main {
    grid-template-columns: repeat(3, 1fr);
  }

  .course__items {
    grid-column: 1/3;
  }

  .course__links {
    grid-column: 1/4;
  }

  .course__disclaimer {
    grid-column: 1/4;
  }

  .course__swiper {
    max-width: 260px;
  }

  .flag__title {
    margin-bottom: 20px;
  }

  .flag__slide {
    min-height: 340px;
  }

  .flag__right-part {
    max-width: 410px;
    margin-left: auto;
  }
}

@media (max-width: 1199.95px) {
  .header-university {
    font-size: 0.75em;
  }

  .course__container {
    flex-wrap: wrap;
  }

  .course__main {
    width: 100%;
  }

  .course__items {
    grid-row: 1/3;
  }

  .course__links {
    justify-items: start;
  }

  .course__swiper {
    min-width: 0;
  }

  .course__see-all-navigation {
    flex-direction: column;
    order: 1;
    margin: 0 auto;
  }

  .course__see-all-arrows {
    margin-top: 40px;
  }

  .video__info-item {
    margin-top: 20px;
  }
  
  /* .table-price-section__scroll-table-wrapper {
    max-height: calc(100vh - var(--header-height) - var(--bottom-height));
  } */
}

@media (max-width: 991.95px) {
  .course__swiper {
    flex-wrap: nowrap;
  }

  .video__body {
    flex-direction: column;
  }

  .docs__container {
    flex-direction: column;
    align-items: flex-end;
  }
}

@media (max-width: 767.95px) {
  .hero__body {
    justify-content: flex-end;
  }

  .hero__button {
    width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 575.95px) {
  .course__items {
    display: flex;
    flex-wrap: wrap;
  }

  .course__item {
    flex: calc(50% - 20px) 0 0;
  }

  .course__button {
    width: 100%;
  }
}

