/* PolyLang */
.lang-item {
  list-style-type: none;
  width: 42px;
  height: 42px;
  border-radius: 100%;
  background-color: #231F20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: auto 0;

  @media (min-width: 576px) {
    width: 48px;
    height: 48px;
  }

  a {
    color: #FFFFFF;
  }
}

/* Program list */
.wp-block-list {
  margin-bottom: 25px;
  font-style: italic;
}
.wp-block-list li {
  list-style-type: disc;
  list-style-position: inside;
  margin-bottom: 10px;
}
.wp-block-list li:last-child {
  margin-bottom: 0;
}

/* Footer */
footer .legal-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

footer .legal-links a:not(:last-child)::after {
  content: '|';
}

/* Conact form */

/* Hide scrollbar for Chrome, Safari and Opera */
.popup ::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.popup {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.form-block input,
.form-block textarea {
  width: 100%;
}

.form__group {
  position: relative;
}
.wpcf7-spinner {
  position: absolute;
  margin: 0;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.wpcf7-not-valid-tip {
  font-size: 14px;
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
}
.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 0;
  font-size: 14px;
  border-width: 0;
  color: #00a0d2;
}
.wpcf7 form.invalid .wpcf7-response-output {
  color: #ffb900;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  color: #dc3232;
}

/* Program products page */
.products-programs .full-descr .card-primary .card-text {
  ul {
    padding: 0 0 10px 5px;
  }
  li {
    list-style-type: disc;
    list-style-position: inside;
  }
}

/* Not found */
.not-found {
  flex: 1;
  padding: 78px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #231F20;

  @media (min-width: 1024px) {
    padding: 150px 0;
  }

  h1 {
    margin-bottom: 24px;
  
    @media (min-width: 768px) {
      font-size: 48px;
      margin-bottom: 50px;
    }
  }

  p {
    @media (min-width: 768px) {
      font-size: 20px;
    }
  }
}
