/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Schriftart Anfang  ----------------------------------------
----------------------------------------------------------------------------------------------------  */

/* open-sans-300 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/open-sans-v20-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/open-sans-v20-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/open-sans-v20-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/open-sans-v20-latin-300.woff') format('woff'), /* Modern Browsers */
         url('fonts/open-sans-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/open-sans-v20-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
  }
  /* open-sans-regular - latin */
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/open-sans-v20-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/open-sans-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/open-sans-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/open-sans-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/open-sans-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/open-sans-v20-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
  }
  /* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/open-sans-v34-latin-600.eot'); /* IE9 Compat Modes */
  src: url('fonts/open-sans-v34-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v34-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v34-latin-600.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v34-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v34-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}
  /* open-sans-700 - latin */
  @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/open-sans-v20-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/open-sans-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/open-sans-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/open-sans-v20-latin-700.woff') format('woff'), /* Modern Browsers */
         url('fonts/open-sans-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/open-sans-v20-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
  }

  
* {
    font-family: 'Open Sans', sans-serif;
}

/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Schriftart Ende  ------------------------------------------
----------------------------------------------------------------------------------------------------  */

/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Farben Anfang  --------------------------------------------
----------------------------------------------------------------------------------------------------  */

:root, ::before, ::after {
    --primary-color: #0052a8;
    --secondary-color: rgb(238, 238, 238);
    --secondary-transparent: rgba(238, 238, 238, .8);
    --text-color: #444;
    --text-invert: #fff;
    --farbverlauf: linear-gradient(to right, #0052a8 0%, #172983 50%, #0052a8 100%);
    --background: #fff;
    --background-transparent: rgba(255, 255, 255, 0.9);
    --background-dark: #555;
    --schrift: 1.6rem;
    --ueberschrift: 2rem;
  }

/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Farben Ende  ----------------------------------------------
----------------------------------------------------------------------------------------------------  */

/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Maße Anfang  --------------------------------------------
----------------------------------------------------------------------------------------------------  */

:root, ::before, ::after {
    --h1span-font-size: 3.5rem;
    --h1span-line-height: 1.1;
}

/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Maße Ende  ----------------------------------------------
----------------------------------------------------------------------------------------------------  */

/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Allgemein Anfang  ----------------------------------------------
----------------------------------------------------------------------------------------------------  */

div.form-group {
    margin-bottom: 15px;
}

/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Allgemein Ende  ----------------------------------------------
----------------------------------------------------------------------------------------------------  */

/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Kursboxen Anfang  ----------------------------------------------
----------------------------------------------------------------------------------------------------  */

div.kursboxen {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
}

div.kursboxen img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
}

div.kursboxen figcaption {
  text-align: center;
  padding-top: 5px;
}

@media(min-width: 768px) {

    div.kursboxen > * {
        flex-basis: calc((100% / 3) - (2 * 2rem)/3);
    }

}

@media(max-width: 767px) {

    div.kursboxen > * {
        flex-basis: calc(100% / 1);
    }

}

/*------------------------------------------------------------------------------------------------------
-------------------------------------------  Kursboxen Ende  ----------------------------------------------
----------------------------------------------------------------------------------------------------  */

/* Weihnachtsgrüße ANFANG ------------------------*/

blockquote.dez{
    padding: 2rem 0;
    border: 6px solid #0052a8;
}

blockquote.dez h2{
    text-align: center;
}

blockquote.dez p{
    padding-left: 1rem;
}

div:has(>.lightrope){
    height: 35px;
    position: relative;
    top: -1rem;
}

.lightrope {
  text-align: center;
  white-space: nowrap;
  overflow:hidden;
  position: absolute;
  z-index: 1;
  margin: -15px 0 0 0;
  padding: 0;
  pointer-events: none;
  width: 100%;
}
.lightrope li {
  position: relative;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  width: 12px;
  height: 26px;
  border-radius: 50%;
  margin: 20px;
  display: inline-block;
  background: #00f7a5;
  box-shadow: 0px 4.6666666667px 24px 3px #00f7a5;
  -webkit-animation-name: flash-1;
          animation-name: flash-1;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
}
.lightrope li:nth-child(2n+1) {
  background: aqua;
  box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.5);
  -webkit-animation-name: flash-2;
          animation-name: flash-2;
  -webkit-animation-duration: 0.4s;
          animation-duration: 0.4s;
}
.lightrope li:nth-child(4n+2) {
  background: #f70094;
  box-shadow: 0px 4.6666666667px 24px 3px #f70094;
  -webkit-animation-name: flash-3;
          animation-name: flash-3;
  -webkit-animation-duration: 1.1s;
          animation-duration: 1.1s;
}
.lightrope li:nth-child(odd) {
  -webkit-animation-duration: 1.8s;
          animation-duration: 1.8s;
}
.lightrope li:nth-child(3n+1) {
  -webkit-animation-duration: 1.4s;
          animation-duration: 1.4s;
}
.lightrope li:before {
  content: "";
  position: absolute;
  background: #222;
  width: 10px;
  height: 9.3333333333px;
  border-radius: 3px;
  top: -4.6666666667px;
  left: 1px;
}
.lightrope li:after {
  content: "";
  top: -14px;
  left: 9px;
  position: absolute;
  width: 52px;
  height: 18.6666666667px;
  border-bottom: solid #222 2px;
  border-radius: 50%;
}
.lightrope li:last-child:after {
  content: none;
}
.lightrope li:first-child {
  margin-left: -40px;
}

@-webkit-keyframes flash-1 {
  0%, 100% {
    background: #00f7a5;
    box-shadow: 0px 4.6666666667px 24px 3px #00f7a5;
  }
  50% {
    background: rgba(0, 247, 165, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 0.2);
  }
}

@keyframes flash-1 {
  0%, 100% {
    background: #00f7a5;
    box-shadow: 0px 4.6666666667px 24px 3px #00f7a5;
  }
  50% {
    background: rgba(0, 247, 165, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 247, 165, 0.2);
  }
}
@-webkit-keyframes flash-2 {
  0%, 100% {
    background: aqua;
    box-shadow: 0px 4.6666666667px 24px 3px aqua;
  }
  50% {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.2);
  }
}
@keyframes flash-2 {
  0%, 100% {
    background: aqua;
    box-shadow: 0px 4.6666666667px 24px 3px aqua;
  }
  50% {
    background: rgba(0, 255, 255, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(0, 255, 255, 0.2);
  }
}
@-webkit-keyframes flash-3 {
  0%, 100% {
    background: #f70094;
    box-shadow: 0px 4.6666666667px 24px 3px #f70094;
  }
  50% {
    background: rgba(247, 0, 148, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 0.2);
  }
}
@keyframes flash-3 {
  0%, 100% {
    background: #f70094;
    box-shadow: 0px 4.6666666667px 24px 3px #f70094;
  }
  50% {
    background: rgba(247, 0, 148, 0.4);
    box-shadow: 0px 4.6666666667px 24px 3px rgba(247, 0, 148, 0.2);
  }
}

/* FAQ-Accordions */

.panel.panel-default.accordion-panel.accordion-panelv3 {
  background: var(--primary-color);
  position: relative;
  padding-right: 25px;
  &:has(.collapsed):after {
    rotate: 0deg;
  }
  * {
    color: var(--text-invert);
  }
  &:after {
    content: ">";
    color: #fff;
    position: absolute;
    right: 15px;
    top: 8px;
    font-weight: 600;
    rotate: 90deg;
    transition: rotate .4s ease;
  }
}