html,body {
  font-size: 15px;
}
:root {
  --color-primary: #4F378B;
  --text-color-dark: #475467;
  --header-color: black;
  --light-text-color: #EADDFF;
  --btn-secondary-color: #e8def8;
  --btn-secondary-color-50: #e8def880;
  --gallery-item-bg: #ece4ff;
  /* forms */
  --bs-border-radius: 0;
}
.navbar {
  --bs-navbar-nav-link-padding-x: 1rem;
}
.nav-link {
  --bs-nav-link-color: rgba(255, 255, 255, 0.85);
  border-radius: 1.2rem;
  padding-left: 1rem;
}
.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.navbar-main .nav-link img {
  height: 1.5rem;
  opacity: 0.85;
}
.btn {
  --bs-btn-font-size: 0.9rem;
  --bs-border-radius: 2rem;
  --bs-btn-padding-x: 1.6rem;
  --bs-btn-padding-y: 0.9rem;
  --bs-btn-font-weight: 700;
  padding-top: 1rem;
}
.btn-sm {
  --bs-btn-padding-x: 1.2rem;
  --bs-btn-padding-y: 0.4rem;
  padding-top: 0.6rem;
  border-radius: 2rem;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #3e2e6b;
  --bs-btn-hover-border-color: #3e2e6b;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #3e2e6b;
  --bs-btn-active-border-color: #3e2e6b;
}
.btn-primary img {
  filter: brightness(0) invert(1);
}
.btn-secondary {
  --bs-btn-color: #4a4459;
  --bs-btn-bg: var(--btn-secondary-color);
  --bs-btn-border-color: var(--btn-secondary-color);
  --bs-btn-hover-color: #4a4459;
  --bs-btn-hover-bg: #F2EAFF;
  --bs-btn-hover-border-color: #F2EAFF;
  --bs-btn-active-color: #4a4459;
  --bs-btn-active-bg: #F2EAFF;
  --bs-btn-active-border-color: #F2EAFF;
}
.btn-outline-secondary {
  --bs-btn-color: var(--btn-secondary-color);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--btn-secondary-color-50);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--btn-secondary-color);
  --bs-btn-hover-border-color: var(--btn-secondary-color);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--btn-secondary-color);
  --bs-btn-active-border-color: var(--btn-secondary-color);
}
.btn-outline-secondary:hover {
  --bs-btn-hover-color: black;
}
.form-control {
  border-width: 0 0 1px 0;
}
/* GSlidebox */
.gslide-title {
  display: none;
}
.glightbox-mobile .glightbox-container .gslide-desc * {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

body {
  margin: 0;
  padding: 0;
  font-family: Roboto, sans-serif;
  overflow-x: clip;
}

blockquote {
  display: block;
  position: relative;
  margin: 1.5rem 0;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  border-left: 4px solid var(--color-primary);
  font-style: italic;
  color: var(--text-color-dark);
}

blockquote::before {
  content: '”';
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
}

hr {
  border: none;
  height: 1px;
  background-color: #bbb;
  margin: 2em auto;
}
h1, h2, h3 {
  color: var(--header-color);
}
h2 {
  font-size: 3.5rem;
}
a[name] {
  display: block;
  height: 5rem;
  margin-top: -5rem;
}
div.alt {
  --div-alt-bg: var(--color-primary);
  position: relative;
  margin: 1rem 0;
  padding: 2rem 0;
}
div.alt::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background-color: var(--div-alt-bg);
  z-index: -1;
}
body div.template-default img.right {
  max-width: 70%;
  float: right;
  margin-left: 2rem;
  margin-bottom: 1rem;
}
body div.template-default img.left {
  max-width: 70%;
  float: left;
  margin-right: 2rem;
  margin-bottom: 1rem;
}
body div.template-default img.full {
  display: block;
  margin: 0 auto 1rem;
  float: none;
}
@media (max-width: 767.98px) {
  body div.template-default img.right, body div.template-default img.left, body div.template-default img.full {
    max-width: 100%;
    width: 100%;
    float: none;
    margin: 0 auto 1rem;
  }
}
footer {
  clear: both;
  margin-top: 2rem;
}
footer .footer-content-wrapper {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid #e9e9e9;
}
footer .footer-content {
  gap: 1rem;
  color: var(--text-color-dark);
  font-size: 0.9rem;
}
footer a {
  text-decoration: none;
  margin-left: 0.3rem;
}
@media (max-width: 575.98px) {
  footer .footer-content {
    flex-direction: column;
  }
}
body.page-body h3, body.page-body h4 {
  color: var(--color-primary);
}
body.page-body div.alt > h2 {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.9);
}
body.page-body div.alt h3 {
  color: rgba(255, 255, 255, 0.9);
}
div.alt * {
  color: rgba(255,255,255,.75);
}
body.main-body {
  background-repeat: no-repeat;
  background-image:
    url("/img/blur-left-lavender.webp"),
    url("/img/blur-right-lavender.webp");
  background-position:
    left 20vw,
    right 30vw;
  background-size:
    30vw auto,
    20vw auto;
}

body.main-body .navbar-main {
  border-bottom-color: #ffffff80!important;
  transition: background-color 100ms linear;
  background-color: rgba(33, 0, 93, 0.2);
}
body.main-body .navbar-main.scrolled, body.main-body .navbar-main:hover {
  background-color: var(--color-primary);
}
body.page-body .navbar-main {
  background-color: var(--color-primary);
}
body.page-body h1 {
  font-size: 2.5rem;
  color: #101828;
  text-align: center;
  padding: 3rem 0;
  border-bottom: 1px solid #e9e9e9;
  margin-bottom: 2rem;
}
body.page-body h2 {
  font-size: 2rem;
  color: #101828;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.main-header-video {
  height: 40vw;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40vw;
  overflow: hidden;
}
.main-header-movie {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 40vw;
  z-index: -1;
}
.main-header-movie iframe {
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeIn 3s ease-in forwards;
  animation-delay: 1.5s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.main-header-movie::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 0, 93, 0.3);
}
.main-header-spacer {
  height: calc(40vw - 5.2rem);
}
body.main-body::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 200%;
  background:
    url("/img/spots-left.webp") left calc(37.3vw - 5.2rem) no-repeat,
    url("/img/spots-right.webp") right calc(28vw - 5.2rem) no-repeat;
  background-size: 10vw auto, 9vw auto;
  z-index: -1;
}
@media (max-width: 767.98px) {
  .main-header-video { height: 60vw; }
  .main-header-movie { height: 60vw; }
  .main-header-movie iframe { width: 150%; margin-left: -25%; }
  .main-header-spacer { height: calc(60vw - 5.2rem); }
  body.main-body::after {
    background-position:
      left calc(57.3vw - 5.2rem),
      right calc(48vw - 5.2rem);
  }
}

.main-header-title h1 {
  margin-top: 5.2rem;
  padding: 2vw 0 0;
  font-size: 4.3vw;
  font-weight: 400;
  color: white;
}
.main-header-title h2 {
  margin: 0;
  padding: 1.5% 0 0;
  font-size: 1.9vw;
  font-weight: 500;
  color: #ffd8e4;
}
.main-header-title div {
  padding: 3% 0 0;
}
@media (max-width: 767.98px) {
  .main-header-title h1 { font-size: 5vw; }
  .main-header-title h2 { font-size: 3vw; }
}
@media (max-width: 575.98px) {
  .main-header-title { margin-left: 5vw; }
  .main-header-title h1 { font-size: 6vw; }
  .main-header-title h2 { font-size: 4vw; }
}
@media (max-width: 439.98px) {
  .main-header-title h2 { display: none; }
}

.template-default::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1000px;
  background-image: url("/img/blur-right-lavender.webp"), url("/img/blur-left-pink-lav.webp");
  background-position: right top, left 100px;
  background-repeat: no-repeat;
  background-size: auto 1000px, auto 700px;
  pointer-events: none;
  z-index: 1;
}

.module-simple {
  padding: 5rem 0;
  text-align: center;
  margin: auto;
}
.module-simple .row {
  justify-content: center;
}
.module-simple h3 {
  font-weight: bold;
  margin-bottom: 2em;
}
.module-simple div {
  margin-bottom: 1.5em;
  font-weight: 600;
  color: var(--text-color-dark);
}

.module-frame {
  padding: 0 0 5rem;
}
.module-frame h2 {
  font-size: 2.4rem;
  color: #101828;
  margin-bottom: 3rem;
  text-align: center;
}
.module-frame-frame {
  border: 3px solid #731aa0;
  border-radius: .6em;
  padding: 1.5em;
}
.module-frame h4 {
  font-size: 1.3em;
  font-weight: bold;
  color: #4f378b;
  margin-top: 0;
  margin-bottom: 1em;
}
.module-frame-content-left {
  background-color: #ece4ff;
  border-radius: 0.5em;
  padding: 1.5em;
  margin-bottom: 0.7em;
  @media (max-width: 767.98px) {
    margin-bottom: 2em;
  }
}
.module-frame-content-right p {
  background-color: rgba(12, 81, 63, 0.02);
  border-radius: 0.3em;
  border: 1px solid #e7eeec;
  padding: .5em .7em;
  margin: 0 0 0.7em 0;
}

.module-2cols {
  padding: 0 0 5rem;
}
.module-2cols h2 {
  font-size: 2.4rem;
  color: #101828;
  margin-bottom: 3rem;
  text-align: center;
}
.module-2cols-container {
  position: relative;
}
.module-2cols-container [class*="col-"] {
  display: flex;
}
.module-2cols h4 {
  font-size: 1.3em;
  font-weight: bold;
  color: #4f378b;
  margin-top: 0;
  margin-bottom: 1em;
}
.module-2cols-content-left, .module-2cols-content-right {
  background-color: white;
  border-radius: 1em;
  padding: 1.5em;
  margin-bottom: 0;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.08);
}

.module-2cols-content-left > div {
  padding-left: calc((1550px - 100vw) / 2);
  @media (max-width: 1399.98px) {
    padding-left: calc((1370px - 100vw) / 2);
  }
  @media (max-width: 1199.98px) {
    padding-left: calc((1215px - 100vw) / 2);
  }
  @media (max-width: 991.98px) {
    padding-left: 0;
  }
}
.module-2cols-content-right *:last-child {
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .module-2cols-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    background: url("/img/module-2cols.webp") left top no-repeat;
    background-size: auto 100%;
  }
}
@media (max-width: 991.98px) {
  .module-2cols-content-left {
    margin-bottom: 2rem;
  }
  .module-2cols .container {
    background: url("/img/module-2cols-horizontal.webp") center bottom no-repeat;
    background-size: calc(100% - var(--bs-gutter-x)) auto;
    @media (max-width: 575.98px) {
      padding-bottom: 34vw;
    }
    @media (min-width: 576px) and (max-width: 767.98px) {
      padding-bottom: 190px;
    }
    @media (min-width: 768px) and (max-width: 991.98px) {
      padding-bottom: 250px;
    }
  }
}

.component-iconmenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.component-iconmenu .iconmenu-item {
  margin: .2rem;
}
.component-iconmenu .iconmenu-item a {
  display: inline-block;
  border: 1px solid #b7b7b7;
  border-radius: 50%;
  padding: 0.7rem;
  transition: background-color 300ms ease;
}
.component-iconmenu .iconmenu-item a:hover {
  background-color: #ddd;
}

.component-news {
  margin-top: 3rem;
  margin-bottom: 5rem;
  position: relative;
  overflow: visible;
}

.component-news::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  background-image: url("/img/blur-left-pink-lav.webp");
  background-position: left top;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
.component-news .d-flex {
  @media (max-width: 575.98px) {
    flex-direction: column;
  }
}

.component-news-items {
  margin-top: 3rem;
}
.component-news-item {
  transition: all 300ms ease;
}
.component-news-item:hover {
  transform: translateY(-4px);
}
.component-news-item a {
  text-decoration: none;
  color: var(--text-color-dark);
  font-weight: 600;
}
.component-news-item img {
  width: 100%;
  height: auto;
  border-radius: 0.5em;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.component-news-item h4 {
  margin-top: 3em;
  margin-bottom: 1em;
  font-size: 1.1em;
  font-weight: bold;
  color: black;
}


/* Component Team */
.component-team {
  padding: 5rem 0;
  background-color: var(--color-primary);
  border-radius: 6rem 6rem 0 0;
  position: relative;
  overflow: visible;
}
.component-team::before {
  content: '';
  position: absolute;
  top: calc(100% - 200px);
  left: 0;
  width: 100%;
  height: 500px;
  background-image: url("/img/shape-left.webp");
  background-position: left top;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
.component-team::after {
  content: '';
  position: absolute;
  top: -250px;
  right: 0;
  width: 100%;
  height: 1000px;
  background-image: url("/img/blur-right-pink.webp"), url("/img/shape-right.webp");
  background-position: right top, right top;
  background-size: auto 1000px, auto;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 767.98px) {
  .component-team {
    border-radius: 3rem 3rem 0 0;
  }
  .component-team::before {
    top: calc(100% - 150px);
    height: 300px;
    background-size: auto 250px;
  }
  .component-team::after {
    top: -150px;
    height: 600px;
    background-size: auto 600px, auto 300px;
  }
}
@media (max-width: 575.98px) {
  .component-team::before { display: none; }
  .component-team::after { display: none; }
}

.component-team h2 {
  font-size: 3.5em;
  color: white;
  margin-bottom: 2rem;
}

.component-team-subtitle {
  font-size: 1.2em;
  color: var(--light-text-color);
  margin: 0;
}

.component-team-items {
  margin-top: 3rem;
  padding-top: 5px;
  max-height: 50000px;
  transition: max-height 1000ms ease-in-out;
  overflow: hidden;
}

.component-team-items.collapsed {
  max-height: 1200px;
}

.component-team-item {
  padding: 3em 1.5em 1.5em 0;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  height: 100%;
  transition: all 300ms ease;
  height: 600px;
}
@media (max-width: 575.98px) {
  .component-team-item {
    padding: 2em 0.5em 0.5em;
    height: 150vw;
  }
  .component-team-items.collapsed {
    max-height: 300vw;
  }
}

.component-team-item img {
  width: 100%;
  height: auto;
  border-radius: 0.5em;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.component-team-item:hover {
  transform: translateY(-4px);
}

.component-team-item-content {
  color: var(--light-text-color);
}

.component-team-item-name {
  font-size: 1.1em;
  font-weight: bold;
  color: var(--light-text-color);
  margin: 2em 0 0.3em 0;
}

.component-team-item-function {
  font-size: 0.95em;
  font-weight: 600;
  margin: 0.25em 0;
}

.component-team-item-organization {
  font-size: 0.9em;
  margin: 0.25em 0;
  font-style: italic;
}

.component-team-item-description {
  font-size: 0.9em;
  margin-top: 0.75em;
  line-height: 1.5;
}
.component-team-item-link {
  padding-top: 0.75em;
  text-align: center;
}
.team-photo {
  float: right;
  border-radius: 0.8em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-left: 2em;
  @media (max-width: 1199.98px) { width: 60%; }
  @media (max-width: 991.98px) {
    float: none;
    width: 100%;
    margin: 0 0 1em;
  }
}

.component-partners {
  padding: 2rem 0 5rem;
  position: relative;
  clear: both;
}
.main-body .component-partners {
  -background-image: linear-gradient(to top, red 0, blue 3rem, transparent 3rem, transparent 100%);

}
.main-body .component-partners::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 700px;
  background-image: url("/img/blur-right-big.webp"), url("/img/blur-left-pink.webp");
  background-position: right bottom, left 200px;
  background-repeat: no-repeat;
  background-size: 50vw auto, auto 500px;
  pointer-events: none;
  z-index: 1;
}
.component-partners h2 {
  font-size: 2.4rem;
  color: var(--text-color-dark);
  margin-bottom: 2rem;
  text-align: center;
}
.component-partners-item {
  text-align: center;
}
.component-partners-image {
  margin: 0 auto 0.6em;
  width: 150px;
  height: auto;
}
.component-partners-item a, .component-partners-item span {
  text-decoration: none;
  color: var(--text-color-dark);
  font-weight: 600;
}

.component-gallery {
  padding: 1rem 0;
}
.component-gallery .gallery-slides a {
  text-decoration: none;
  color: var(--text-color-dark);
}

.component-gallery .gallery-slide {
  background-color: #ece4ff;
  border-radius: 0.5em;
  padding: 1.5em;
  margin: 0.7em 0;
  transition: all 300ms ease;
}
.component-gallery .gallery-slide:hover {
  transform: translateY(-4px);
}
.component-gallery .gallery-slide img {
  width: 100%;
  height: auto;
  border-radius: 0.5em;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.component-gallery .gallery-slide h3 {
  font-size: 1.2em;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.7);
  margin-top: 1em;
}

.section-news {
  background-image:
    url("/img/blur-left-pink.webp"),
    url("/img/blur-right-lavender.webp"),
    linear-gradient(to left,rgba(255,255,255,0.6), white 50%, white 100%),
    url("/img/shape-2-right.webp");
  background-position: left top, right top, center center, right 400px;
  background-repeat: no-repeat;
  background-size: auto 1000px, auto 1000px, auto, auto 500px;
  min-height: 1000px;
}
.section-news .news-image {
  float: right;
  width: 40%;
  margin-left: 2em;
  margin-bottom: 1em;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
@media (max-width: 767.98px) {
  .section-news .news-image {
    float: none;
    width: 100%;
    margin: 0 0 1em;
  }
}

.news-navi {
  display: flex;
  justify-content: space-between;
}
.news-navi * {
  align-self: center;
}
.news-navi .news-page {
  color: var(--main-text-color);
  padding: .7em 1em .6em;
  text-decoration: none;
}
.news-navi .news-page.active {
  background-color: #F9F5FF;
  border-radius: .5em;
}
.news-navi-btn {
  min-width: 10em;
}

/* kalendarz */
.table-calendar {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 4em;
}
.table-calendar th {
  padding: 0 0 .15em 0;
  margin: 0;
  border: none;
  width: calc(100% / 7);
}
.cal-header {
  background: white;
  border: solid #9D80BA4A;
  border-width: 1px 0 2px 1px;
  width: calc(100% + 1px);
  color: var(--primary-color);
  padding: .35em .6em .15em;
  font-weight: 400;
  text-transform: uppercase;
}
.table-calendar th:first-child .cal-header {
  border-top-left-radius: .5em;
}
.table-calendar th:last-child .cal-header {
  border-right-width: 1px;
  border-top-right-radius: .5em;
}
.table-calendar td {
  padding: 0;
  margin: 0;
  border: none;
  overflow: visible;
}
.cal-cell-holder {
  @media (min-width: 768px) { height: 8em; }
}
.cal-cell {
  position: relative;
  background: white;
  border: solid #9D80BA4A;
  border-width: 1px 0 0 1px;
  padding: 0;
  width: calc(100% + 1px);
  height: calc(100% + 1px);
  overflow: visible;
  @media (min-width: 768px) { height: calc(8em - 1px) }
}
.table-calendar td:last-child .cal-cell {
  border-right-width: 1px;
}
.table-calendar tr:last-child td:first-child .cal-cell {
  border-bottom-left-radius: .5em;
}
.table-calendar .cal-td-bottom:last-child .cal-cell {
  border-bottom-right-radius: .5em;
}
.cal-td-bottom .cal-cell {
  height: calc(100% + 2px);
  border-bottom-width: 2px;
}
.cal-day {
  font-family: "Inter", sans-serif;
  font-size: 120%;
  color: #0000006a;
  position: relative;
  @media (min-width: 768px) { pointer-events: none; }
}
.cal-events {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}
.category-tile {
  display: inline-block;
  border: 1px solid #00000020;
  padding: .3em .6em .1em;
  margin-bottom: .2em;
  border-radius: .4em;
  font-size: 80%;
}
ul.persons {
  padding: 0;
  list-style-type: none;
}
ul.persons li {
  padding: .1em .5em;
}
ul.persons img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
}

@media (min-width: 768px) { 
  .cal-cell-inner {
    position: absolute;
    width: calc(100% - 0px - .4em);
    height: calc(100% + 1px - .4em);
    min-height: calc(100% + 1px - .4em);
    padding: .35em .4em;
    margin: .2em;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: .4em;
    border: 1px solid transparent;
    transition: all .25s;
  }
  .cal-cell-inner:hover {
    height: auto;
    z-index: 2;
    background-color: white;
    border: 1px solid #E3DAEB;
    box-shadow: 0 .5em 1em #aaa;
    transform: scale(1.1);
  }
  .cal-cell-inner::after {
    content: " ";
    display: block;
    position: absolute;
    margin: 0 2px;
    height: 1em;
    bottom: calc(.2em);
    left: 0;
    right: 0;
    border-radius: 0 0 .5em .5em;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0), white);
    z-index: 1;
    pointer-events: none;
  }
  .cal-cell-inner:hover::after {
    background-image: none;
  }
  .cal-cell:hover .cal-events {
    overflow: visible;
  }
  .cal-cell-holder:hover::after {
    display: none;
  }
}
.cal-event {
  display: inline-block;
  background: #D8CBE3;
  color: #7F589B;
  font-size: 75%;
  line-height: 100%;
  padding: .3em .3em .1em;
  border-radius: .4em;
  margin-top: .3em;
  border: 1px solid transparent;
}
.cal-event:hover {
  border-color: #00000018;
}
.category-1 { color: #731AA0; background-color: #F7DDDB; }
.category-2 { color: #731AA0; background-color: #FFF5E9; }
.category-3 { color: #731AA0; background-color: #FAE1FA; }
.category-4 { color: #731AA0; background-color: #ECE4FF; }
.category-5 { color: #731AA0; background-color: #E6F3FF; }
.category-6 { color: #599374; background-color: #DBF7E0; }
.category-7 { color: #4E8E6B; background-color: #E1FAE4; }
.category-8 { color: #51967B; background-color: #E4FFF0; }
.category-9 { color: #A06280; background-color: #FFE6F6; }
.category-10 { color: #A06280; background-color: #FFF0F6; }
.category-11 { color: #599374; background-color: #DDF7FF; }
.category-12 { color: #4E8E6B; background-color: #EBFFFA; }
.category-13 { color: #51967B; background-color: #FFF7DD; }
.category-14 { color: #731AA0; background-color: #FFE6FF; }
.category-15 { color: #599374; background-color: #E6FFED; }
.category-16 { color: #A06280; background-color: #FFF2E6; }
.category-17 { color: #4E8E6B; background-color: #E1E8FF; }
.category-18 { color: #731AA0; background-color: #F7FFF2; }
.category-19 { color: #51967B; background-color: #FFF8E1; }
.category-20 { color: #A06280; background-color: #FFE1F0; }
.category-lab { color: #ffffffd0; background-color: #7F589B; }

.cal-event-name {
  font-weight: 600;
}
.cal-popover {
  --bs-popover-body-padding-x: 1rem;
  --bs-popover-body-padding-y: 1rem;
  --bs-popover-max-width: 400px;
  --bs-popover-border-color: #E3DAEB;
  --bs-popover-border-radius: 1.3rem;
  --bs-popover-arrow-width: .5rem;
  --bs-popover-arrow-height: .5rem;
  --bs-popover-arrow-border: var(--bs-popover-border-color);
  --bs-popover-font-size: 80%;
}
.cal-popover .popover-arrow::after {
  border-color: #D5BBF5 !important;
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
}
.cal-popover .popover-body {
  background: linear-gradient(42.46deg, #B895F2 -19.19%, #E0CAF6 45.89%, #F6F6F6 88.24%);
  border-radius: calc(1.3rem - 1px);
  width: 398px;
}
.cal-popover .popover-descr {
  max-height: 60vh;
  overflow-y: auto;
  scrollbar-width: none;
  margin-bottom: 1em;
}
.cal-popover h5 {
  font-size: 130%;
  border-bottom: 2px solid black;
  margin: .5em 0;
}
.cal-popover span {
  display: inline-block;
  border: 1px solid #00000020;
  padding: .25em .6em .15em;
  margin-bottom: .2em;
  border-radius: .4em;
  font-size: .8em;
}
body.no-scroll {
  overflow: hidden;
  padding-right: 17px;
}
@media (max-width: 767.98px) {
  .calendar-holder {
    border: 1px solid #9D9E9F99;
    border-radius: .6em;
    background: white;
    box-shadow: 0px 4px 6px -2px #10182808, 0px 12px 16px -4px #10182814;
  }
  .calendar-holder h3 {
    text-align: center;
    font-size: 1.3em;
    line-height: 1.3em;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: .5em;
    border-bottom: 1px solid #9D9E9F99;
  }
  .table-calendar {
    background: white;
    text-align: center;
    margin: 1em;
    width: calc(100% - 2em);
  }
  .cal-header {
    border: none;
  }
  .cal-cell-holder {
    height: auto;
  }
  .cal-cell {
    border: none;
    padding: .4em 0;
  }
  .cal-day {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 2em;
    height: 2em;
    max-width: 9vw;
    max-height: 9vw;
    font-family: "League Spartan", sans-serif;
    font-size: 1em;
    color: #333333;
    padding-top: .1em;
    -background-color: silver;
    margin: 0 auto;
    border-radius: 50%;
    text-decoration: none;
  }
  a.cal-day:hover {
    color: white;
    opacity: .8;
  }
  .cal-day-events {
    background-color: #3A14A8;
    color: white;
  }
  .cal-events {
    display: none;
  }
  /* modal */
  .modal-header div {
    font-size: 1.3em;
  }
  .event-name {
    color: black;
    font-size: 1.3em;
    font-weight: 600;
    border-bottom: 2px solid var(--main-text-color);
  }
  .event-name small {
    font-size: 0.75em;
    font-weight: normal;
    padding-left: .5em;
  }
  .event-places {
    font-size: 0.9em;
    padding: .3em 0;
  }
  .event-descr {
    font-size: .9em;
    margin-bottom: .6em;
  }
  div + .event-name {
    margin-top: 2em;
  }
}
