:root {
  --page-education-slider-button-position: -56px;
  --page-education-slider-button-previous-translate: calc(
    max(
    var(--page-education-slider-button-position),
    -1 * (100vw - min(1054px + 24px, var(--container-max-width))) / 2
    ) * 1
  ) 0;
  --page-education-slider-button-next-translate: calc(
    max(
    var(--page-education-slider-button-position),
    -1 * (100vw - min(1054px + 24px, var(--container-max-width))) / 2
    ) * -1
  ) 0;
  --container-max-width: 100%;
}

@media (min-width: 576px) {
  :root {
    --container-max-width: 540px;
  }
}

@media (min-width: 768px) {
  :root {
    --container-max-width: 720px;
  }
}

@media (min-width: 992px) {
  :root {
    --container-max-width: 960px;
  }
}

@media (min-width: 1200px) {
  :root {
    --container-max-width: 1200px;
  }
}

/* Fix. */
.main-menu .wide {
  max-width: 100vw;
  overflow: hidden;
}

/* Modal. */
.page-education .modal-content .form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Header. */
@media (min-width: 992px) {
  header#header {
    position: absolute;
    z-index: 5;
    width: 100%;
    background: rgba(34, 34, 34, 0.8);
  }
}

.page-education #front-head {
  background: url("../../../images/page/education/header/2fb3965dfb74a41689f852606bb9c813.jpg") no-repeat 50% 0;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  position: relative;
  padding-top: 24px;
  padding-bottom: 24px;
}

@media (min-width: 992px) {
  .page-education #front-head {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding-top: 0;
    height: 100vh;
  }
}

.page-education #front-head::before {
  position: absolute;
  content: "";
  background: rgba(0, 0, 0, 0.6);
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.page-education #front-head .content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}

@media (min-width: 992px) {
  .page-education #front-head .content {
    gap: 60px;
  }
}

.page-education #front-head .content h3 {
  font-size: 24px;
  line-height: 26.95px;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .page-education #front-head .content h3 {
    font-size: 3.25rem;
    line-height: normal;
  }
}

.page-education #front-head .content span {
  display: block;
  font-size: 13px;
  font-weight: 500;
}

@media (min-width: 992px) {
  .page-education #front-head .content span {
    font-size: 1.5rem;
    font-weight: 300;
  }
}

.page-education #front-head .actions .btn {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Content. */
.page-education__content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "a" "b" "c" "d" "e" "f";
  gap: 40px;
  padding-top: 24px;
  padding-bottom: 24px;
  width: calc(1054px + 24px);
  max-width: 100%;
}

@media (min-width: 992px) {
  .page-education__content {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
    "a b"
    "c d"
    "c f"
    "e f";
    gap: 54px 90px;
    padding-top: 90px;
    padding-bottom: 90px;
  }
}

.page-education__content-item {
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 992px) {
  .page-education__content-item:nth-child(1) p {
    margin-bottom: 2em;
  }
}

.page-education__content-item:nth-child(1) {
  grid-area: a;
  border: 1px solid transparent;
}

.page-education__content-item:nth-child(2) {
  grid-area: b;
}

.page-education__content-item:nth-child(3) {
  grid-area: c;
  border: 1px solid #002A68;
  padding: 32px;
}

.page-education__content-item:nth-child(4) {
  grid-area: d;
  background-color: #d2e9ff;
  padding: 32px;
}

.page-education__content-item:nth-child(5) {
  grid-area: e;
  padding: 32px;
  background-color: #002a68;
  color: #fff;
}

.page-education__content-item:nth-child(6) {
  grid-area: f;
  padding: 32px;
  background-color: #f1f7fd;
}

.page-education__content-item img {
  border-radius: 30px;
  filter: brightness(70%);
}

.page-education__content-item-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
}

.page-education__content-item-content {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

/* Universities. */
.page-education__universities {
  padding-bottom: 70px;
}

@media (min-width: 992px) {
  .page-education__universities {
    padding-bottom: 90px;
  }
}

.page-education__universities-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 58.59px;
  text-align: center;
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .page-education__universities-title {
    font-size: 50px;
    margin-bottom: 90px;
  }
}

.page-education__universities-content {
  width: calc(1054px + 24px);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-education__universities-slider .previous,
.page-education__universities-slider .next {
  display: none;
}

.page-education__universities-slider .previous {
  translate: var(--page-education-slider-button-previous-translate);
}

.page-education__universities-slider .next {
  translate: var(--page-education-slider-button-next-translate);
}

@media (min-width: 992px) {
  .page-education__universities-slider .previous,
  .page-education__universities-slider .next {
    display: block;
  }
}

.page-education__universities-slider-item a {
  display: contents;
}

.page-education__universities-slider img {
  height: 100%;
  object-fit: contain;
}

.page-education__universities-slider-item {
  display: flex;
  place-content: center;
  height: 114px;
  width: 100%;
}

@media (min-width: 992px) {
  .page-education__universities-slider-item {
    padding-left: 20px;
    padding-right: 20px;
    /*width: 33.3333333333%;*/
    width: 20%;
  }
}


/* Options. */
.page-education__options-header {
  display: flex;
  flex-direction: column;
  place-content: center;
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
  color: #fff;
  background: url("../../../images/page/education/options/78cf06ed2ec70abba2635944138afe09.jpg") center no-repeat fixed;
  background-size: cover;
}

@media (min-width: 992px) {
  .page-education__options-header {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.page-education__options-header::before {
  position: absolute;
  content: "";
  background: rgba(0, 0, 0, 0.6);
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.page-education__options-title {
  position: relative;
  font-size: 25px;
  font-weight: 800;
  line-height: 29.3px;
  text-align: center;
  z-index: 1;
}

@media (min-width: 992px) {
  .page-education__options-title {
    font-size: 50px;
    line-height: 58.59px;
  }
}

.page-education__options-content {
  padding-top: 24px;
  padding-bottom: 24px;
  width: calc(1054px + 24px);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .page-education__options-content {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.page-education__options-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: 1.2em;
  font-weight: 400;
}

@media (min-width: 992px) {
  .page-education__options-list {
    font-size: 30px;
  }
}

.page-education__options-list > li {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
  text-align: start;
}

@media (min-width: 992px) {
  .page-education__options-list > li {
  }
}

.page-education__options-list > li::before {
  content: '';
  flex-shrink: 0;
  display: block;
  width: 85px;
  height: 34px;
  margin-right: 24px;
  border-radius: 30px;
  background-color: #002a68;
}

@media (min-width: 992px) {
  .page-education__options-list > li::before {
    width: 185px;
    height: 46px;
    margin-right: 77px;
  }
}

.page-education__options-list > li::after {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50em;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 59px;
  translate: 0 -50%;
}

@media (min-width: 992px) {
  .page-education__options-list > li::after {
    width: 27px;
    height: 27px;
    left: 135px;
  }
}

/* Product.*/
:root {
  --page-education-product-card-border-color: transparent;
  --page-education-product-card-title-border-color: transparent;
  --page-education-product-card-title-background-color: transparent;
  --page-education-product-card-title-color: #000;
}

.page-education__product {
  margin-bottom: 80px;
}

.page-education__product-title {
  font-size: 25px;
  line-height: 29.3px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .page-education__product-title {
    font-size: 50px;
    line-height: 58.59px;
    margin-bottom: 80px;
  }
}

.page-education__product-content {
  width: calc(1054px + 24px);
  max-width: 100%;
}

.page-education__product-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .page-education__product-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 86px;
  }
}

.page-education__product-item {
  display: flex;
  flex-direction: column;
}

.page-education__product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  flex-grow: 1;
  border-radius: 30px;
  border: 2px solid var(--page-education-product-card-border-color);
  background-color: var(--page-education-product-card-background-color);
}

.page-education__product-card-title {
  border-radius: 30px;
  padding: 24px;
  border: 2px solid var(--page-education-product-card-title-border-color);
  background-color: var(--page-education-product-card-title-background-color);
  color: var(--page-education-product-card-title-color);
  margin-left: -2px;
  margin-right: -2px;
  margin-top: -2px;
  font-size: 22px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
}

@media (min-width: 992px) {
  .page-education__product-card-title {
    font-size: 30px;
    padding: 38px;
  }
}

.page-education__product-card-content {
  display: flex;
  flex-direction: column;
  padding: 38px;
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
  color: var(--page-education-product-card-color);
}

.page-education__product-card-content {
  font-size: 20px;
}

.page-education__product-card-content > p {
  font-weight: inherit;
}

.page-education__product-card-price {
  margin-left: auto;
  margin-right: auto;
  translate: 0 50%;
  box-shadow: 2px 3px 10px 0 #62000091;
  border-radius: 30px;
  background-color: #D77785;
  padding: 8px 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 35px;
}

.page-education__product-item:nth-child(odd) {
  --page-education-product-card-border-color: #002a68;
  --page-education-product-card-background-color: #fff;
  --page-education-product-card-title-border-color: #002a68;
  --page-education-product-card-title-background-color: #002a68;
  --page-education-product-card-title-color: #fff;
}

.page-education__product-item:nth-child(even) {
  --page-education-product-card-border-color: #002A68;
  --page-education-product-card-background-color: #002A68;
  --page-education-product-card-color: #fff;
  --page-education-product-card-title-background-color: #fff;
  --page-education-product-card-title-border-color: #000;
}

/* News. */
:root {
  --page-education-news-slider-gap: 33px;
}

.page-education__news {
  margin-top: 80px;
  margin-bottom: 80px;
}

.page-education__news-title {
  font-size: 25px;
  font-weight: 800;
  line-height: 58.59px;
  text-align: center;
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .page-education__news-title {
    font-size: 50px;
    margin-bottom: 80px;
  }
}

.page-education__news-content {
  width: calc(1054px + 24px);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-education__news-slider .previous {
  translate: var(--page-education-slider-button-previous-translate);
}

.page-education__news-slider .next {
  translate: var(--page-education-slider-button-next-translate);
}

.page-education__news-slider .previous,
.page-education__news-slider .next {
  display: none;
}

@media (min-width: 992px) {
  .page-education__news-slider .previous,
  .page-education__news-slider .next {
    display: block;
  }

  .page-education__news-slider .next {
    right: calc(10px + var(--page-education-news-slider-gap));
  }

  .page-education__news-slider {
    width: calc(100% + var(--page-education-news-slider-gap));
  }
}

.page-education__news-slider-item {
  display: flex;
  flex-direction: column;
  height: 197px;
  width: 100%;
}

@media (min-width: 992px) {
  .page-education__news-slider .flickity-viewport {
    clip-path: polygon(
      0% 0%,
      calc(100% - var(--page-education-news-slider-gap)) 0%,
      calc(100% - var(--page-education-news-slider-gap)) 100%,
      0% 100%
    );
  }

  .page-education__news-slider-item {
    width: calc(33.3333333333% - var(--page-education-news-slider-gap));
    margin-right: var(--page-education-news-slider-gap);
  }
}

.page-education__news-card {
  box-shadow: inset 4px 4px 10px 0 #002e7333;
  flex-grow: 1;
  place-content: center;
  padding: 32px;
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  background-color: #f1f7fd;
}

.page-education__news-card:hover {
  color: #000;
}

/* Request. */
.page-education__request {
  position: relative;
  z-index: 0;
  background: url("../../../images/page/education/news/334437350a4f44c2bad62fa1d5400486.jpg") center no-repeat;
  background-size: cover;
  padding: 24px;
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 40px;
  width: calc(1054px + 24px);
  max-width: calc(100% + var(--bs-gutter-x, .75rem) * 2);
  margin-left: calc(-1 * var(--bs-gutter-x, .75rem));
  margin-right: calc(-1 * var(--bs-gutter-x, .75rem));
}

@media (min-width: 992px) {
  .page-education__request {
    padding: 80px 48px;
    border-radius: 30px;
    margin-top: 80px;
    margin-bottom: 80px;
    margin-left: auto;
    margin-right: auto;
  }
}

.page-education__request::before {
  position: absolute;
  content: "";
  background: rgba(0, 0, 0, 0.6);
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.page-education__request-title {
  font-weight: 800;
  text-align: center;
  color: #fff;
  margin-bottom: 24px;
  font-size: 25px;
  line-height: 29.3px;
}

@media (min-width: 992px) {
  .page-education__request-title {
    font-size: 50px;
    line-height: 58.59px;
    margin-bottom: 48px;
  }
}

.page-education__request-content {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  color: #fff;
}

@media (min-width: 992px) {
  .page-education__request-content {
    font-size: 20px;
    line-height: 28px;
  }
}

.page-education__request-content .actions {
  margin-top: 48px;
}
