html {
    min-height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: calc(90% + 0.1vw);
    font-weight: 300;
    color: #191919;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

#content {
    background: white;
    flex: 1;
}

@media (min-width: 1200px) {
    body {
        font-size: 16px;
    }
}

.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1412px; /* rounding errors on event list in FF */
}

@media (min-width: 1400px) and (max-width: 1411px) { .container { max-width: 1400px; } }
@media (min-width: 1388px) and (max-width: 1399px) { .container { max-width: 1388px; } }
@media (min-width: 1376px) and (max-width: 1387px) { .container { max-width: 1376px; } }
@media (min-width: 1364px) and (max-width: 1377px) { .container { max-width: 1364px; } }
@media (min-width: 1352px) and (max-width: 1363px) { .container { max-width: 1352px; } }
@media (min-width: 1340px) and (max-width: 1351px) { .container { max-width: 1340px; } }
@media (min-width: 1328px) and (max-width: 1339px) { .container { max-width: 1328px; } }
@media (min-width: 1316px) and (max-width: 1327px) { .container { max-width: 1316px; } }
@media (min-width: 1304px) and (max-width: 1315px) { .container { max-width: 1304px; } }
@media (min-width: 1292px) and (max-width: 1303px) { .container { max-width: 1292px; } }
@media (min-width: 1280px) and (max-width: 1291px) { .container { max-width: 1280px; } }
@media (min-width: 1268px) and (max-width: 1279px) { .container { max-width: 1268px; } }
@media (min-width: 1256px) and (max-width: 1267px) { .container { max-width: 1256px; } }
@media (min-width: 1244px) and (max-width: 1255px) { .container { max-width: 1244px; } }
@media (min-width: 1232px) and (max-width: 1243px) { .container { max-width: 1232px; } }
@media (min-width: 1220px) and (max-width: 1231px) { .container { max-width: 1220px; } }
@media (min-width: 1208px) and (max-width: 1219px) { .container { max-width: 1208px; } }
@media (min-width: 1199px) and (max-width: 1207px) { .container { max-width: 1199px; } }

#main-header {
    transition: top 0.5s;
    z-index: 5; /* learnig area */
}

.carousel {
    bottom: 0;
    display: flex;
    left: 0;
    max-width: 100%;
    position: absolute !important;
    overflow: hidden;
    right: 0;
    top: 0;
}

.carousel:not(.slick-initialised) img {
    height: 100%;
    width: 100vw;
    object-fit: cover;
}

@media (max-width: 767px) {
    .carousel {
        display: none !important;
    }
}

#extra-top-nav li:not(:last-child) a::after,
#top-background-nav li:not(:last-child) a::after {
    content: "|";
    padding-left: 0.5rem;
}

#extra-top-nav li:not(:last-child) a.with-counter::after,
#top-background-nav li:not(:last-child) a.with-counter::after {
    padding-left: 1rem;
}

#extra-top-nav a:focus,
#top-background-nav a:focus,
#extra-top-nav a:hover,
#top-background-nav a:hover {
    text-decoration: underline;
}

.top-phone {
    align-items: center;
    display: inline-flex;
    font-weight: 400;
    color: #707173;
    position: relative;
    z-index: 1;
}

@media (max-width: 575px) {
    footer .logo {
        padding-left: 23vw;
        width: 85vw;
    }
}

@media (min-width: 1200px) {
    footer .logo {
        margin-top: -23px;
    }
}

header #logo {
    padding: 15px 0;
}

@media (max-width: 525px) {
    header #logo {
        width: 40vw;
    }
}

@media (min-width: 992px) {
    header #logo {
        padding: 0;
    }
}

header .wishlist {
    padding: 6px;
}

#main-nav a {
    color: #191919;
    font-size: 1.33em;
    font-weight: 400;
    line-height: 1.75;
    text-decoration: none;
    padding: 0;
}

#main-nav .nav-item:not(:first-of-type) {
    margin-left: 34px;
}

#main-nav a:hover,
#main-nav a.active {
    color: #E30B17;
}

@media (max-width: 991px) {
    #main-nav {
        background-color: #E30B17;
        background-image: linear-gradient(40deg, #bd0d17 120px, #E30B17 230px);
        border-radius: 0 0 0 90% /0 0 0 80%;
        box-shadow: 0 0 150px 150px rgba(0,0,0,0.5);
        max-width: 100%;
        opacity: 0;
        padding: 5.5rem 1.25rem 3rem 120px;
        position: fixed;
        right: -8px;
        text-align: right;
        top: -8px;
        transition: 0.3s;
        z-index: 2; /* more than .with-dot */
    }

    #main-nav.open {
        opacity: 1;
        right: 0;
        top: 0;
        transition: 0s;
    }

    #main-nav a {
        color: white;
        padding: 0;
        text-shadow: 0 1px 0 rgba(0,0,0,0.75);
    }

    #main-nav a:hover,
    #main-nav a.active {
        color: white;
        text-decoration: underline;
    }

    #main-nav hr {
        border-top-color: rgba(255, 255, 255, 0.5);
        float: right;
        width: 40%;
    }
}

#categories::before {
    content: "";
    height: 1rem;
    left: 0;
    position: absolute;
    right: 0;
    top: 100%;
}

@media (max-width: 991px) {
    #dropdownMenuButton {
        box-shadow: none !important;
        padding: 0;
    }

    #dropdownMenuButton[aria-expanded="true"] {
        transform: rotate(180deg);
    }
}

@media (min-width: 992px) {
    #categories-dropdown a {
        display: inline-block;
        font-size: 1rem;
        min-width: 240px;
        padding: 0.5rem;
    }

    #categories-dropdown {
        margin-top: -1px;
        right: 0;
    }

    #dropdownMenuButton {
        position: absolute;
        bottom: -12px;
        box-shadow: none !important;
        left: calc(50% - 1.25rem);
        right: auto;
        width: 2.5rem;
        height: 1.25rem;
    }

    #dropdownMenuButton img {
        height: 100%;
        object-fit: contain;
        vertical-align: top;
        width: 100%;
    }
}

.with-dot {
    position: relative;
}

.with-dot::before {
    background: #E30B17;
    border-radius: 50%;
    content: "";
    height: 1.5rem;
    left: calc(50% - 0.75rem);
    position: absolute;
    top: -0.75rem;
    width: 1.5rem;
    z-index: 1;
}

.banner {
    background-image: url('/assets/img/seminarteilnehmer-an-tangens-seminar-online.jpg');
    background-size: cover;
    background-position: top right;
    color: #fff;
    min-height: 462px; /* based on default input, prevents layout shifts */
    overflow: hidden;
    position: relative;
    width: 100%;
}

.form-control {
    background: transparent;
}

.second-background {
    background-color: rgba(227, 11, 23, 0.9);
    bottom: 0;
    clip-path: ellipse(648px 507px at 1344px 129px);
    right: 50%;
    position: absolute;
    top: 0;
    width: 2000px;
}


.banner .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 500px;
    min-height: 462px;
    position: relative;
    z-index: 1; /* above fancy red background */
}

.banner #claim {
    padding: 0.75em 0;
    max-width: 40%;
}

.home .banner #claim {
    font-size: 2em !important;
}

.banner h1 {
    color: white;
}

@media (max-width: 767px) {
    .banner {
        height: auto;
        background-image: linear-gradient(to right, rgba(227, 11, 23, 0.9), rgba(227, 11, 23, 0.9));
        background-repeat: no-repeat;
        background-size: contain;
        padding-top: 20%;
    }

    .second-background {
        display: none;
    }

    .banner .container {
        max-height: unset;
        min-height: unset;
        padding-bottom: 2rem;
    }

    .banner #claim {
        max-width: unset;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .banner #claim {
        max-width: 40vw;
    }
}

#menu-toggle {
    background: none;
    border: none;
    height: 30px;
    position: relative;
    width: 30px;
    z-index: 11;
}

#menu-toggle .top,
#menu-toggle .middle,
#menu-toggle .bottom {
    background: #191919;
    border-radius: 2px;
    display: inline-block;
    height: 3px;
    left: 2px;
    position: absolute;
    transition: width 0.3s, height 0.3s, border-color 0.3s, border-style 0.3s, border-width 0.3s, top 0.3s, left 0.3s, background 0.3s;
    width: 26px;
}

#menu-toggle .top {
    top: 7px;
}

#menu-toggle[aria-expanded="true"] .top {
    background: white;
}

#menu-toggle .middle {
    background: transparent;
    border-color: #191919 transparent transparent transparent;
    border-style: solid;
    border-width: 3px 0 0 0;
    height: 0;
    top: 14px;
}

#menu-toggle .bottom {
    top: 21px;
}

#menu-toggle[aria-expanded="true"] .top,
#menu-toggle:focus .top,
#menu-toggle:hover .top {
    background: #E30B17;
    border-radius: 50%;
    height: 6px;
    left: 12px;
    top: 2px;
    width: 6px;
}

#menu-toggle[aria-expanded="true"] .top {
    background: white;
}

#menu-toggle[aria-expanded="true"] .middle,
#menu-toggle:focus .middle,
#menu-toggle:hover .middle {
    border-left-width:  10px;
    border-right-width: 10px;
    border-top-width: 5px;
    top: 10px;
}

#menu-toggle[aria-expanded="true"] .bottom,
#menu-toggle:focus .bottom,
#menu-toggle:hover .bottom {
    height: 11px;
    left: 12px;
    top: 16px;
    width: 6px;
}

.btn:focus,
.btn:hover {
    box-shadow: 0 0 3px 3px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: #bd0d17;
    border-color: #bd0d17;
}

.btn-link:hover {
    color: #bd0d17;
}

#seminar [data-add-to-wishlist],
#seminar [data-remove-from-wishlist] {
    background: none;
    border-radius: 0 !important;
    /* color: #E30B17; */
    font-weight: 300;
    padding: 0;
    text-decoration: underline;
}

.btn-wishlist svg,
.btn-wishlist-remove svg {
    height: 1.5rem;
}

#seminar .btn-wishlist svg,
#seminar .btn-wishlist-remove svg {
    height: 1.25rem;
}

@media (max-width: 575px) {
    #seminar .btn-wishlist,
    #seminar .btn-wishlist-remove {
        margin-top: 1rem;
    }
}

.recommendations .btn-wishlist,
#seminarlist .btn-wishlist {
    box-shadow: none !important;
    margin-left: 0.25rem;
    padding: 0 0 1px;
    position: relative;
    z-index: 1;
}

.btn-wishlist[data-remove-from-wishlist] svg path {
    fill: #E30B17;
}

.wishlist-content .btn-wishlist {
    background: #191919;
    border-color: #191919;
    height: 1.5rem;
    right: -4px;
    line-height: 0;
    position: absolute !important;
    top: -4px;
    width: 1.5rem;
}

.wishlist-content .btn-wishlist:focus,
.wishlist-content .btn-wishlist:hover {
    border-color: #191919;
    color: #191919;
}

.content-info .btn-wishlist {
    align-items: center;
    background: none !important;
    border: none !important;
    box-shadow: none;
    color: #E30B17 !important;
    display: inline-flex;
    padding: 0 !important;
    position: static;
    font-size: 1em !important;
}

.content-info .btn-wishlist .sr-only {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 0 0.25rem !important;
    clip: unset !important;
    font-weight: 300 !important;

}

#wishlist-counter,
#wishlist-counter-mobile {
    background: #191919;
    border-radius: 999px;
    color: white;
    display: inline-block;
    font-size: 10px;
    left: 18px;
    line-height: 1.1;
    padding: 2px;
    position: absolute;
    text-align: center;
    top: -4px;
    width: 16px;
}

#wishlist-counter-mobile {
    left: 20px;
}

#wishlist-counter:empty {
    display: none;
}

@media (max-width: 575px) {
    #mobile-buttons {
        max-width: 160px;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    #mobile-buttons {
        max-width: 40%;
    }

    #mobile-buttons > div {
        width: auto !important;
    }
}

.custom-checkbox {
    margin-right: 0.5rem;
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before,
.custom-checkbox .custom-control-input~.custom-control-label::before{
    background-color:#fff;
    border-color: #191919;
    border-radius: 0;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::before{
    background-color:#E30B17;
    border-color: #E30B17;
    border-radius: 0;
    color: #fff;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::after{
    background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='white' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
}
.custom-control-input:active~.custom-control-label::before{
    background-color:green;
}

/** focus shadow redish **/
.custom-checkbox .custom-control-input:focus~.custom-control-label::before{
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(227, 11, 23, 0.25);
    border-color: #E30B17;
}

a {
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

h1 {
    color: #E30B17;
}

h2,
.h2 {
    font-weight: 400;
}

.container {
    counter-reset: category;
}

@media (max-width: 991px) {
    .tangens-teaser {
        padding-bottom: 2rem;
        padding-top: 2rem;
    }
}

@media (min-width: 992px) {
    .tangens-teaser {
        padding-bottom: 100px
    }
}

.with-decoration {
    min-height: 350px;
    padding-bottom: 100px;
    position: relative;
}

.with-decoration > * {
    z-index: 1; /* push content above ::after */
}

.with-decoration::after {
    background: linear-gradient(23deg, rgba(25, 25, 25, 0.09) 70px, rgba(255, 255, 255, 0) 270px);
    bottom: 0;
    clip-path: circle(236px at 233px 63px);
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    transform: scale(1.2);
    width: 100%;
}

@media (max-width: 574px) {
    .with-decoration::after {
        clip-path: circle(236px at 215px 63px);
    }
}

.bg-gray,
.bg-gray-event-type {
    background: #ddd;
    position: relative;
}

.bg-gray-event-type {
    overflow: hidden;
}

.bg-gray > *,
.bg-gray-event-type > * {
    position: relative;
    z-index: 1; /* push content above ::after */
}

.bg-gray .decoration,
.bg-gray-event-type .decoration {
    position: absolute;
    bottom: 40%;
    right: -8rem;
    z-index: 0;
}

.home .bg-gray::after,
.bg-gray-event-type::after,
.recommendation-wrapper::after {
    background: linear-gradient(197deg, rgba(255, 255, 255, 0.5) 475px, rgba(255, 255, 255, 0) 570px);
    bottom: 0;
    clip-path: circle(700px at 277px 706px);
    content: "";
    height: 74%;
    position: absolute;
    left: 0;
    width: 100%;
}

@media (min-width: 1300px) {
    .bg-gray::after {
        width: 75%;
    }
}

.bg-dark-gray {
    background-color: #333;
    position: relative;
}

.bg-dark-gray > * {
    position: relative;
    z-index: 1; /* push content above ::after */
}

.home .bg-dark-gray::after {
    background: linear-gradient(167deg, rgba(255, 255, 255, 0.15) 100px, rgba(255, 255, 255, 0) 220px);
    bottom: 0;
    clip-path: circle(400px at 400px 450px);
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    width: 500px;
}

.bg-footer-gray {
    background: #3f3f3f;
}

.fancy-footer {
    background-image: url(../img/seminar-mit-teilnehmern-von-hinten.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.fancy-footer .bg-dark-gray {
    background-color: transparent;
    background-image: linear-gradient(to top, rgba(21,21,21,0.9), rgba(21,21,21,1) 150px);
}

.fancy-footer .bg-footer-gray {
    background-color: rgba(63,63,63,0.92);
}

.event-types > .col > * {
    padding-top: 100%;
    position: relative;
}

.event-types .circle {
    color: white;
    height: calc(100% - 30px);
    left: 15px;
    position: absolute;
    top: 15px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: calc(100% - 30px);
}

@media (min-width: 1200px) {
    .event-types .circle .hover,
    .event-types .circle .default {
        height: 60px;
        width: 80px;
    }
}

.event-types .circle .hover,
.event-types .circle:hover .default {
    display: none !important;
}

.event-types .circle .default,
.event-types .circle:hover .hover {
    display: block !important;
}

.event-types .circle:hover {
    background: #E30B17 !important;
    box-shadow: 0 0 3px 3px rgba(0,0,0,0.2);
    color: white !important;
}

@media (min-width: 768px) {
    .subscribe > div:first-child {
        border-right: 3px solid white;
        left: 1px;
        position: relative;
    }
}

.event-types svg {
    height: 100%;
}

@media (min-width: 768px) {
    .home .opinions-carousel-wrapper {
        flex: 0 0 calc(41.6666666667% + 1.6rem);
        max-width: calc(41.6666666667% + 1.6rem);
        margin-left: calc(8.333333333% - 1.6rem);
    }
}

.opinions-carousel:not(.slick-initialized) {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
}

.opinions-carousel .slick-prev,
.opinions-carousel .slick-next {
    background: none;
    border: none;
    bottom: 1.15rem;
    position: absolute;
    z-index: 1;
}

.opinions-carousel .slick-prev {
    right: 9rem;
    transform: rotate(-90deg);
}

.opinions-carousel .slick-next {
    right: 4rem;
    transform: rotate(90deg);
}

.opinions-carousel .slider-count {
    bottom: 0.25rem;
    position: absolute;
    right: 6rem;
}

blockquote,
.blockquote {
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 0 1rem 0 0;
    display: flex;
    flex-shrink: 0;
    font-size: 1.33em;
    font-style: italic;
    font-weight: bolder;
    left: -3px; /* quotes overfloving parent */
    margin: 3rem;
    min-height: 200px;
    padding: 2rem;
    position: relative;
    width: calc(100% - 6rem);
}

.home blockquote,
.home .blockquote {
    min-height: 340px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .home blockquote,
    .home .blockquote {
        min-height: 430px;
    }
}

@media (max-width: 991px) {
    .home blockquote,
    .home .blockquote {
        min-height: 585px;
    }
}

@media (max-width: 1199px) {
    blockquote,
    .blockquote {
        min-height: 280px;
    }
}

@media (max-width: 575px) {
    blockquote,
    .blockquote {
        min-height: 585px;
    }
}

blockquote::before,
.blockquote::before,
blockquote::after,
.blockquote::after {
    color: #E30B17;
    font-size: 6rem;
    font-style: normal;
    font-weight: bold;
    position: absolute;
}

blockquote::before,
.blockquote::before {
    content: "❝";
    left: -2.5rem;
    top: -4rem;
}

blockquote::after,
.blockquote::after {
    bottom: -6.5rem;
    content: "❞";
    right: -2.5rem;
}

#search-form input {
    border: 1px solid white;
    background: transparent;
    background-image: url("../icons/suche_transparent.svg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 30px;
    color: white;
    padding-right: 2rem;
    min-width: 230px;
}

#search-form ::-moz-placeholder {
    color: #fff;
}

#search-form :-ms-input-placeholder {
    color: #fff;
}

::-webkit-input-placeholder {
    color: #fff;
}

#search-form ::placeholder {
    color: #fff;
}

#search-form .btn {
    background: white;
    border: 1px solid white;
    color: #E30B17;
    position: relative;
}

#search-form .btn:focus,
#search-form .btn:hover {
    background: #bd0d17;
    color: white;
}

#event-type-search .btn {
    position: relative;
}

#event-type-search .btn::before,
#search-form .btn::before {
    border-radius: 0.25rem;
    content: "";
    height: 2rem;
    position: absolute;
    right: 0;
    top: -3.25rem;
    width: 2rem;
}

#searchbar::before,
#learning-area-header::before {
    background: linear-gradient(7deg, rgba(255, 255, 255, 0.5) 0, rgba(255, 255, 255, 0) 500px);
    top: 0;
    clip-path: circle(calc(20vw + 400px) at 85% calc(90% + -704px));
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    width: 100%;
}

#searchbar::after,
#learning-area-header::after {
    background: linear-gradient(196deg, rgba(255, 255, 255, 0.5) 225px, rgba(255, 255, 255, 0) 700px);
    bottom: 0;
    clip-path: circle(calc(27vw + 550px) at 100px calc(18vw + 650px));
    content: "";
    height: 100%;
    position: absolute;
    left: 0;
    width: 100%;
}

#learning-area-header {
    z-index: 4; /* pagination */
}

#searchbar input {
    background-image: url("../icons/suche_grau.svg");
    background-repeat: no-repeat;
    background-position: right center;
    max-width: 80%;
    margin-right: 0.5%;
    min-width: 230px;
    padding-right: 2rem;
}

#searchbar button {
    flex-shrink: 0;
    min-width: 19.5%;
    margin-left: 0.25rem;
    position: relative;
    white-space: nowrap;
}

#searchbar button::before {
    border-radius: 0.25rem;
    content: "";
    height: 2rem;
    left: -2.75rem;
    position: absolute;
    top: 1px;
    width: 2rem;
}

#keywords-wrapper #keywords button {
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 400;
    padding: 0.25rem 0.75rem;
}

#keywords-wrapper #keywords button:hover {
    background: #e30b17;
    border: 1px solid #e30b17;
    color: white !important;
}

@media (max-width: 767px) {
    #keywords .badge {
        margin-bottom: 0.5rem;
    }
}

#keywords .text-primary::after {
    background: #E30B17;
    border-radius: 50%;
    color: white;
    content: "\d7";
    display: inline-block;
    font-style: normal;
    line-height: 16px;
    margin-left: 4px;
    position: relative;
    text-align: center;
    top: -1px;
    width: 16px;
}

#collapse-keywords.collapse:not(.collapsing) {
    display: block !important;
    min-height: 5rem !important;
    max-height: 5rem !important;
    overflow: hidden;
}

#collapse-keywords.collapse.show:not(.collapsing) {
    min-height: 5rem !important;
    max-height: unset !important;
}

#collapse-keywords.collapsing {
    display: block !important;
    min-height: 5rem !important;
    max-height: unset !important;
}

#filterModal .modal-body {
    white-space: normal;
    margin-top: -15px;
    padding-top: 0;
}

.e-komi-placeholder,
[data-ekomi-id],
.ekomi-counter-wrapper {
    align-self: center;
    height: 18.2px;
    margin-bottom: 1rem;
}

.ekomi-counter-wrapper {
    flex-direction: column;
    height: auto;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .ekomi-counter-wrapper {
        display: flex;
    }

    .ekomi-counter-wrapper [data-ekomi-id] {
        align-self: flex-end;
        margin-top: 1rem;
    }

    .ekomi-counter-wrapper .countdown {
        margin: 0 !important;
    }
}

.e-komi-placeholder {
    visibility: hidden;
}

#seminarlist .e-komi-placeholder,
#seminarlist [data-ekomi-id] {
    height: auto;
}

#seminarlist .e-komi-placeholder,
#seminarlist [data-ekomi-id],
.recommendations .e-komi-placeholder,
.recommendations [data-ekomi-id] {
    align-self: flex-start;
}

#seminarlist .card-body{
    background-position: center center;
    background-repeat: no-repeat;
}

.stars-widget {
    margin-bottom: 1rem;
}

.e-komi-placeholder .stars-widget {
    width: auto;
}

@media (max-width: 767px) {
    .e-komi-placeholder,
    [data-ekomi-id],
    .ekomi-counter-wrapper {
        align-self: flex-start !important;
        margin-bottom: 3rem;
        order: 1;
    }

    .ekomi-counter-wrapper .countdown {
        margin: 0 !important;
    }

    #seminarlist .e-komi-placeholder,
    #seminarlist [data-ekomi-id] {
        order: 0;
    }

    .recommendations .e-komi-placeholder,
    .recommendations [data-ekomi-id] {
        margin-bottom: 0;
        order: unset;
    }
}

#seminar h2 {
    position: relative;
}

#seminar h2.toggle-heading {
    line-height: 2em;
    border-bottom: 1px solid #E30B17;
}


@media (max-width: 767px){

    #seminar h1 {
        font-size: 2em !important;
    }

    #seminar h2 {
        line-height: 1.25em;
        font-size: 1.75em !important;
        position: relative;
    }
}

[aria-expanded="false"] [src$="pfeil_oben.svg"] {
    transform: rotate(180deg);
}

#seminar-sidebar h3 {
    font-weight: 400;
}

#speakers img {
    height: auto;
    width: 100%;
}

.i {
    border-radius: 50%;
    height: 22px;
    line-height: 8px;
    margin: -2px 0 0;
    text-transform: none;
    width: 22px;
}

.i:focus,
.i:hover {
    box-shadow: 0 0 3px 3px rgba(0,0,0,0.2);
}

@media (max-width: 991px) {
    .seminar-grid {
        grid-template-columns: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .seminar-grid {
        grid-template-columns: 66.66667% 33.33333%;
    }
}

@media (min-width: 1200px) {
    .seminar-grid {
        grid-template-columns: 75% 25%;
    }
}

.seminar-grid > * {
    padding-left: 15px;
    padding-right: 15px;
}

#seminar-sidebar {
    grid-row-end: span 2;
}

.breadcrumb {
    background-color: transparent;
    font-size: 0.833em;
    color: #191919;
}

.breadcrumb-item a {
    color: #191919;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #191919;
}

.breadcrumb-item.active {
    color: #191919;
}

#filter button {
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 1.222em;
    font-weight: 700;
    color: #191919;
    position: relative;
    text-align: left;
    text-decoration: none;
}

#filter button.close {
    font-size: 2rem;
    line-height: 1rem;
}

#filter legend {
    margin-bottom: 0.75rem;
}

#filter label {
    font-weight: 400;
}

#seminarlist {
    position: relative;
    z-index: 3; /* footer widget */
}

#seminarlist .card h2 {
    font-size: 1.444em;
    font-weight: 500;
}

#seminarlist .card:hover h2 {
    color: #e30b17 !important;
}

#seminarlist .features img {
    z-index: 1;
}

.more-filters[aria-expanded="true"] img {
    transform: rotate(180deg);
}

.more-filters[aria-expanded="true"] .opened,
.more-filters[aria-expanded="false"] .closed {
    display: inline;
}

.more-filters[aria-expanded="false"] .opened,
.more-filters[aria-expanded="true"] .closed {
    display: none;
}

#seminarlist .card {
    background: #f0f2f4;
    border: none;
    z-index: 0;
}

#seminarlist .card:hover {
    border-color: #e30b17;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25),0 8px 8px rgba(0,0,0,0.22);
    z-index: 1;
    border-radius: 5px 5px 0 0;
}

#seminarlist .card-body {
    border: 1px solid transparent;
    min-height: 16rem;
    position: relative;
}

#seminarlist .target .card-body,
#seminarlist .target .outside {
    animation: fading-border 2s;
}

@keyframes fading-border {
    from { border-color: #e30b17; }
    to   { border-color: transparent; }
}

.card-body {
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    transition: 0.2s ease-in-out;
}

.additional-information {
    position: absolute;
    bottom: 1.5rem;
}

#seminarlist .card:hover .card-body {
    border: 1px solid #e30b17;
}

#seminarlist .outside {
    background: inherit;
    border: 1px solid transparent;
    border-top: none;
    border-radius: 0 0 5px 5px;
    left: 0;
    opacity: 0;
    padding-top: 0 !important;
    position: absolute;
    right: 0;
    top: calc(100% - 0.5rem);
    transition: border 0.2s ease-in-out;
    z-index: 1;
}

#seminarlist .card:hover .outside {
    border: 1px solid #e30b17;
    border-top: none;
    box-shadow: 0 25px 24px rgba(0,0,0,0.25),0 9px 8px rgba(0,0,0,0.22);
    opacity: 1;
}

#pagination-count {
    grid-column: 1 / 4;
}

@media (min-width: 768px) AND (max-width: 1199px) {
    #pagination-count {
        grid-column: 1 / 3;
    }
}

@media (max-width: 767px) {

    #seminarlist .card-body {
        min-height: unset;
    }

    #seminarlist .card .outside {
        bottom: 1px;
        opacity: 1;
        position: relative;
    }

    #pagination-count {
        grid-column: 1 / 2;
    }
}

#seminarlist .card a.default-link::before {
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

#seminarlist .card a {
    min-width: 4rem;
}

#seminarlist .card a.btn-sm {
    position: relative;
    z-index: 1;
}

#seminarlist .e-komi-placeholder,
#seminarlist [data-ekomi-id] {
    align-self: flex-start;
}

.event-details {
    clear: both;
}

@media (max-width: 575px) {
    .event-details .grid-row-gap-4 {
        grid-row-gap: 0;
        margin-bottom: 1rem;
    }

    .event-details .grid-row-gap-4 > * {
        margin-right: 0.5rem;
    }

    .event-details .card-location {
        display: block;
        width: 100%;
    }

    .event-details .grid-row-gap-4.sold-out > span:last-of-type {
        flex: 0;
        min-width: 100%;
    }

    .event-details .grid-row-gap-4 > *:first-child {
        font-weight: bolder;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .event-details .grid-row-gap-4 span {
        width: 25%;
    }
}

#seminar-sidebar .sold-out > span:not(:last-child),
.event-details .sold-out > span:not(:last-child) {
    text-decoration: line-through;
}

@media (max-width: 768px) {
    #seminarlist .book {
        float: right;
        margin-top: -40px;
    }
}

.d-grid {
    display: grid !important;
}

@media(min-width: 768px) {
    .d-sm-grid {
        display: grid !important;
    }
}

.grid-special-categories {
    grid-template-columns: repeat(12, 1fr);
}

.grid-special-categories a {
    border-bottom-width: 4px !important;
    border-radius: 5px;
    hyphens: auto;
    line-height: 1.25;
    max-width: 100%;
    position: relative;
    transition: 0.3s;
}

.grid-special-categories a:focus,
.grid-special-categories a:hover {
    background: #E30B17 !important;
    border-color: #bd0d17 !important;
    box-shadow: 0 0 3px 3px rgba(0,0,0,0.2);
    color: white !important;
}

.grid-special-categories a .default,
.grid-special-categories a .hover {
    left: 1rem;
    position: absolute;
    top: 1rem;
    height: 40px;
}

.grid-special-categories a .default img,
.grid-special-categories a .hover img {
    width: auto;
    height: 100%;
}

.grid-special-categories a .default,
.grid-special-categories a:focus .hover,
.grid-special-categories a:hover .hover {
    display: block;
}

.grid-special-categories a:focus .default,
.grid-special-categories a:hover .default,
.grid-special-categories a .hover {
    display: none;
}

@media (min-width: 1200px) {
    /* event type pages */
    .grid-special-categories [data-position] {
        grid-column-end: span 3;
        font-size: 1.5rem;
        padding-top: 4rem !important;
    }

    /* home page */
    .with-dot .grid-special-categories [data-position] {
        grid-column-end: span 2;
        font-size: 1rem;
    }

    .with-dot .grid-special-categories [data-position="1"],
    .with-dot .grid-special-categories [data-position="2"],
    .with-dot .grid-special-categories [data-position="3"],
    .with-dot .grid-special-categories [data-position="4"] {
        grid-column-end: span 3;
        font-size: 1.5rem;
        padding-top: 4rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .grid-special-categories [data-position] {
        grid-column-end: span 4;
        font-size: 1.5rem;
        padding-top: 4rem !important;
    }

    .with-dot .grid-special-categories [data-position] {
        grid-column-end: span 3;
        font-size: 1rem;
    }

    .with-dot .grid-special-categories [data-position="1"],
    .with-dot .grid-special-categories [data-position="2"],
    .with-dot .grid-special-categories [data-position="3"] {
        grid-column-end: span 4;
        font-size: 1.5rem;
        padding-top: 4rem !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .grid-special-categories [data-position] {
        grid-column-end: span 6;
        font-size: 1.5rem;
        padding-top: 4rem !important;
    }

    .with-dot .grid-special-categories [data-position] {
        grid-column-end: span 4;
        font-size: 1rem;
    }

    .with-dot .grid-special-categories [data-position="1"],
    .with-dot .grid-special-categories [data-position="2"],
    .with-dot .grid-special-categories [data-position="3"],
    .with-dot .grid-special-categories [data-position="4"] {
        grid-column-end: span 6;
        font-size: 1.5rem;
        padding-top: 4rem !important;
    }
}

@media (max-width: 575px) {
    .grid-special-categories [data-position] {
        grid-column-end: span 12;
        font-size: 1.5rem;
        padding-top: 4rem !important;
    }

    .with-dot .grid-special-categories [data-position] {
        grid-column-end: span 6;
        font-size: 1rem;
    }

    .with-dot .grid-special-categories [data-position="1"],
    .with-dot .grid-special-categories [data-position="2"],
    .with-dot .grid-special-categories [data-position="3"],
    .with-dot .grid-special-categories [data-position="4"] {
        grid-column-end: span 12;
        font-size: 1.5rem;
        padding-top: 4rem !important;
    }
}

.grid-cols-auto {
    grid-auto-flow: column;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 768px) {
    .grid-cols-sm-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .grid-cols-lg-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .grid-cols-md-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-gap-1 {
    grid-gap: 0.25rem;
}

.grid-gap-2 {
    grid-gap: 0.5rem;
}

.grid-gap-3 {
    grid-gap: 1rem;
}

.grid-gap-4 {
    grid-gap: 1.5rem;
}

.grid-row-gap-4 {
    grid-row-gap: 1.5rem;
}

.grid-column-gap-3 {
    grid-column-gap: 1rem;
}

.grid-columns-span-4 {
    grid-column: span 4;
}

footer ul {
    list-style-type: none;
}

footer nav a {
    color: #fff;
    text-decoration: none;
    line-height: 1em;
    white-space: nowrap;
}

footer nav a:hover {
    color: #fff;
    text-decoration: underline !important;
}

.status {
    bottom: 2rem;
    position: fixed;
    right: 1rem;
    width: 300px;
    z-index: 1;
}

.fix-line-height,
.fix-line-height * {
    line-height: inherit !important;
}

.fix-lists {
    margin-left: -16.5pt;
}

.fix-lists > p,
.fix-lists > table {
    margin-left: 18pt !important;
}

.fix-lists ul {
    margin-left: 25pt !important;
}

.fix-lists table ul {
    margin-left: 0 !important;
}

/* 1.1. */
.fix-lists ol > li {
    --content: "●";
}

.fix-lists li {
    display: grid;
    grid-template-areas:
        'marker   text'
        'children children';
    grid-template-columns: auto 1fr;
    justify-content: start;
}

.fix-lists [style*="disc"] > li,
.fix-lists li[style*="disc"] {
    display: list-item;
}

.fix-lists li[style*="disc"]::before {
    display: none;
}

.fix-lists li ol {
    grid-area: children;
}

.fix-lists ol ol {
    margin-left: -8.5pt;
}

/* 1.1.1 */
.fix-lists ol ol > li li {
    margin-left: 0 !important;
}

/* 1.1. and 1.1.1. */
.fix-lists ol > li::before {
    content: var(--content);
    grid-area: marker;
    padding-right: 0.5rem;
}

/* 1. */
.fix-lists ol {
    font-weight: bold;
    width: 100%;
}

.fix-lists li p,
.fix-lists ol ol {
    font-weight: normal;
    margin-bottom: 0 !important;
}

.with-image {
    display: inline-flex;
    flex-direction: column;
    float: left;
    padding-bottom: 1rem;
}

@media (min-width: 400px) {
    .with-image {
        padding-right: 1rem;
    }
}

.with-image img {
    border: 1px solid #D9D9D9;
    margin-bottom: 1rem;
    max-width: 100%;
}

.unset-checkboxes {
    box-shadow: none !important;
}

#seminar .mobile-first-row,
#seminar .mobile-second-row {
    display: flex;
}

@media (min-width: 575px) {
    .content-info > *:not(:last-child)::after,
    .content-info .mobile-first-row > *:not(:last-child)::after,
    .content-info .mobile-second-row > *:not(:last-child)::after {
        color: #191919;
        content: "|";
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 575px) {
    #seminar .mobile-first-row > *:first-child::after,
    #seminar .mobile-second-row > *:first-child::after {
        color: #191919;
        content: "|";
        margin: 0 0.5rem;
    }
}

.btn {
    font-weight: 400;
}

.btn-primary:focus,
.btn-primary:hover {
    background: white;
    border-color: #bd0d17;
    color: #bd0d17;
}

.btn-secondary.btn-secondary {
    background: #191919;
    border-color: #191919;
}

.btn-secondary.btn-secondary:focus,
.btn-secondary.btn-secondary:hover {
    background: white;
    border-color: #191919;
    color: #191919;
}

.text-dark.text-dark {
    color: #191919 !important;
}

@media (max-width: 991px) {
    .event-type img {
        height: 30px;
    }
}

.border-thick {
    border-width: 3px !important;
}

.p-no-margin p {
    margin: 0;
}

@media print {
    #main-header,
    #searchbar,
    .i,
    blockquote::before,
    blockquote::after,
    footer.sticky-bottom,
    .opinions-title,
    .opinions-carousel-wrapper {
        display: none;
    }

    .slick-list {
        height: auto;
    }

    blockquote {
        border: none;
        font-size: 1rem;
        padding: 1rem 0;
        height: 200px !important;
    }

    #speakers img {
        height: 200px;
        object-fit: contain;
    }

    .seminar-grid {
        display: block !important;
    }

}

.textarea-counter {
    font-size: 0.8rem;
    float: right;
}

.youtube-video-wrapper {
    aspect-ratio: 1.33;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 140px auto, cover;
}

.youtube-video-wrapper .info {
    align-items: center;
    background-color: rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
    font-size: 0.75em;
    height: 100%;
    justify-content: center;
    line-height: 1.1;
    padding: 1rem;
}

.youtube-video-wrapper .info p {
    margin-bottom: 0.5rem;
}

.youtube-video-wrapper + .youtube-video-wrapper {
    margin-top: 1rem;
}

.youtube-video-wrapper .info a {
    display: inline-block;
    margin-right: 0.25rem;
    margin-top: 0.75rem
}

.youtube-video-wrapper.with-iframe {
    display: block;
    padding-top: 75%;
    position: relative;
}

.youtube-video-wrapper iframe {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

header .counter {
    background: #e30b17;
    border-radius: 999px;
    color: white;
    display: inline-block;
    font-size: 10px;
    line-height: 1.1;
    padding: 2px;
    position: absolute;
    right: 10px;
    text-align: center;
    top: 0;
    width: 16px;
}

.counter:empty {
    display: none;
}

header .mobile-counter {
    background: #191919;
    right: 0;
}

.stars-widget {
    display: flex;
    font-size: 14px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .levels-wrapper {
        margin-left: -15px;
    }

    .types-wrapper,
    .sorting-wrapper {
        padding-right: 0;
    }

    .keywords-outer-wrapper,
    .categories-wrapper,
    #collapse-filter {
        margin-left: -15px;
        margin-right: -30px;
        padding-right: 0;
    }

    .sorting {
        align-items: center;
        display: flex;
        gap: 1rem;
        margin-left: auto;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    #collapse-filter {
        display: block !important;
    }

    .sorting {
        margin-top: 1.5rem;
    }
}

.features input:checked + label,
.levels input:checked + label {
    align-items: center;
    background: #fff;
    color: #e30b17;
    display: flex !important;
}

.features label .checked,
.levels label .checked,
.features input:checked + label .default,
.levels input:checked + label .default {
    display: none;
}

.features input:checked + label .checked,
.levels input:checked + label .checked {
    display: block;
}

.features input:checked + label::after,
.levels input:checked + label::after {
    background: #E30B17;
    border-radius: 50%;
    color: white;
    content: "\d7";
    display: inline-block;
    font-style: normal;
    line-height: 16px;
    margin-left: 4px;
    position: relative;
    text-align: center;
    top: -1px;
    width: 16px;
}

.novelty {
    background: gold;
    border-radius: 999px;
    margin-left: 0.5rem;
    padding: 0.125rem 0.75rem;
    font-size: 14px;
}

.top-info {
    align-items: center;
    display: flex;
    flex-direction: row-reverse;
    position: absolute;
    top: 18px;
    right: 1rem;
}

.features label:hover,
.levels label:hover {
    border-color: #bd0d17 !important;
}

.features label,
.levels label {
    border-radius: 4px;
    border: 1px solid #ced4da;
    color: #191919;
    cursor: pointer;
    display: block;
    padding: 0.375rem;
    transition: 0.3s;
}

.features label:hover,
.levels label:hover {
    background: #E30B17 !important;
    color: white !important;
}

.features label .default,
.levels label .default,
.features label:hover .hover,
.levels label:hover .hover {
    display: block;
}

.features label .hover,
.levels label .hover,
.features label:hover .default,
.features.features label:hover .checked,
.levels label:hover .default,
.levels.levels label:hover .checked {
    display: none;
}

.stars-widget .rating-stars {
    background-image: url('../icons/stars_grey_86x16.png');
    height: 16px;
    margin-right: 5px;
    overflow: hidden;
    position: relative;
    width: 86px;
}

.stars-widget .rating-stars-rating {
    background-image: url('../icons/stars_filled_86x16.png');
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

@media (min-width: 1550px) {
    footer .social-icons {
        justify-content: flex-end !important;
        width: 12.65rem;
    }
}

@media (min-width: 1412px) and (max-width: 1549px) {
    footer .social-icons {
        justify-content: flex-end !important;
        width: 8.65rem;
    }
}

@media (min-width: 992px) and (max-width: 1411px) {
    footer .social-icons {
        bottom: -1rem;
        position: absolute;
        right: 6rem;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    footer .social-icons {
        flex-wrap: wrap;
        margin-bottom: auto;
        max-width: 10rem;
    }

    footer .social-icons > * {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 575px) {
    footer.sticky-bottom {
        padding-bottom: 100px !important;
    }
}

.dropdown-toggle {
    color: #191919;
}

.dropdown-item.active {
    background: #f0f2f4;
    color: #191919;
    filter: grayscale(100);
}

.language-switcher .dropdown-menu.show {
    display: flex;
    flex-direction: column;
    left: auto !important;
    right: 0;
    width: auto;
}

@media (max-width: 575px) {
    #user-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    #user-dashboard {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    #user-dashboard {
        grid-template-columns: repeat(6, 1fr);
    }
}

.countdown {
    display: flex;
    font-size: 24px;
    height: 72px;
    justify-content: center;
}

.countdown .days,
.countdown .hours,
.countdown .minutes,
.countdown .seconds {
    align-items: stretch;
    background: #191919;
    border-radius: 0.5rem;
    color: white;
    display: inline-flex;
    flex-direction: column;
    margin-right: 0.5rem;
    padding: 0.25rem 0.5rem;
    text-align: center;
    width: 3.5rem;
}

.countdown .seconds {
    background: #e30b17;
    margin-right: 0;
}

.countdown .days > span,
.countdown .hours > span,
.countdown .minutes > span,
.countdown .seconds > span {
    border-top: 2px solid white;
    font-size: 9px;
    padding-top: 0.25rem;
}

@media (max-width: 423px) OR ((min-width: 768px) AND (max-width: 833px)) {
    .countdown .days,
    .countdown .hours,
    .countdown .minutes,
    .countdown .seconds {
        padding: 0.5rem;
        width: 4.25rem;
    }
}
