@charset "UTF-8";

header {
  opacity: 0;
  -webkit-transition: opacity .2s ease-out;
  transition: opacity .5s ease-out;
}
header.sticky {
  background: #fff;
  opacity: 1;
  position: sticky;
  top: 0;
  z-index: 99;
}
header.fixed {
  background: #fff;
  opacity: 1;
  position: fixed;
  z-index: 99;
  width: 100%;
}

.site-logo img {
  height: 60px;
}

.menu--main .dropdown-toggle {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.bs-border-color-gray {
  border-color: #e5e5e5;
}

.photoswipe-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.photoswipe-gallery .field__item {
  align-items: center;
  display: flex;
}
.photoswipe-gallery .photoswipe img {
  border-radius: 9px;
}

.node--type-blog .field--name-created {
  color: #a4a4a4;
}
.node--type-blog .field--name-field-image img,
.node--type-testimonial .field--name-field-image img {
  border-radius: 9px;
}
.field--name-field-blog-tags {
  align-items: center;
  display: flex;
  gap: 2rem;
}
.field--name-field-blog-tags .field__items {
  display: flex;
  gap: .5rem;
}
.field--name-field-blog-tags .field__item {
  background-color: #4d2f8d;
  border-radius: 9px;
  color: white;
  font-weight: 500;
  padding: 5px 12px;
}

.blog-sidebar.fixed {
  position: sticky;
  top: 70px;
}
.blog-sidebar.fixed .block-field-blocknodeblogfield-image {
  display: none
}

details:last-child,
.form-item:last-child,
.form-actions {
  margin-bottom: 0;
}

.field--name-field-course {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: .5rem;
}
.field--name-field-course .field__label {
  flex: 0 0 100%;
}
.field--name-field-course a {
  align-items: center;
  border-bottom: 2px solid #d8dde5;
  border-radius: 20px;
  background: #e2e3f3;
  display: flex;
  min-height: 2.1rem;
  padding: .75rem;
}

.course-teaser {
  background: #043933;
  border-radius: 9px;
}
.course-teaser article {
  padding: 3rem 1.5rem 1.625rem;
  position: relative;
}
.course-teaser .course-period {
  color: #fff;
  letter-spacing: 1px;
  margin: 0 0 .625rem;
}
.course-teaser .course-title {
  margin: 0 0 1.5rem;
}
.course-teaser .course-title a {
  color: #fff;
  font-size: 2.25rem;
  line-height: 1;
}
.course-teaser .course-desc {
  color: #fff;
  letter-spacing: .8px;
  line-height: 1.25;
  margin: 0 0 1.5rem;
}
.course-teaser .course-price {
  display: flex;
  color: #fff;
  gap: 1rem;
  margin: 0 0 1.375rem;
}
.course-teaser .current-price {

}
.course-teaser .field--name-field-price {
  color: #fff;

}
.course-teaser .old-price {
  color: #fff;
}
.course-teaser .course-more {

}
.course-teaser .course-more a {
  background: #fff;
  border-radius: 5px;
  color: #000;
  display: inline-block;
  min-width: 220px;
  padding: .875rem 1rem .75rem 1rem;
  text-align: center;
}

.block-courses > h4 {
  margin: 3rem 0 1rem 0;
  color: #000;
  font-size: 1.9rem;
  font-style: normal;
  font-weight: 500;
  line-height: 110%;
  letter-spacing: -0.72px;
}

@media (max-width: 768px) {
  .menu--main .dropdown-toggle {
    justify-content: center;
  }
  .menu--main .dropdown-menu {
    border: none;
    padding: 0;
    position: relative;
  }
}

@media (max-width: 575.98px) {
  .block-courses > h4 {
    font-size: 1.6rem;
  }
}

@media (min-width: 450px) {
  .photoswipe-gallery .field__item {
    max-width: calc(50% - .5rem);
  }
}

@media (min-width: 769px) {
  .site-logo img {
    height: 95px;
  }

  .photoswipe-gallery .field__item:first-child {
    display: none;
  }

  .course-teaser {
    position: sticky;
    top: 100px
  }
}

@media (min-width: 992px) {
  .navbar-brand img {
    height: inherit;
  }
}
@media (min-width: 1280px) {
  .photoswipe-gallery .field__item {
    max-width: calc(33.33% - 2rem / 3);
  }
}
