.catalog-courses-wrapper .catalog-item .catalog-image {
    display: block;
    height: var(--image-height);
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}




.catalog-courses-wrapper .card_bottom_information {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
}

.catalog-courses-wrapper .card_bottom_information a.offer_link {
    text-transform: uppercase;
    text-decoration: underline;
    font-family: "DINPro", Sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2em;
    white-space: nowrap;
}

.catalog-courses-wrapper .card_bottom_information a.offer_link:hover {
    text-decoration: none;
}

.catalog-courses-wrapper .catalog-courses-wrapper-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(21%, 1fr));
    gap: 2rem;
}

.catalog-courses-wrapper .catalog-item {
    background-color: var(--e-global-color-accent);
    border-radius: 4px;
    flex: 25%;
    overflow: hidden;
    --excerpt-height: 120px;
    position: relative;
}



.catalog-item .termin-icon {
    position: absolute;
    right: 0rem;
    top: 0px;
    background: rgba(255, 255, 255, .5);
    padding: 0.5rem 0.5rem 0.25rem 0.5rem;
    border-radius: 0px 5px 0px 5px;

}

.catalog-item .termin-icon svg {
    max-height: 1.7rem;


}

.catalog-courses-wrapper .catalog-item.catalog-item-with-image {
    --image-height: 140px;
    --min-imgae-height: 0px;
}

.catalog-courses-wrapper .catalog-item {

    --min-imgae-height: 0px;
}

.catalog-courses-wrapper .catalog-item:not(.catalog-item-with-image) p.catalog-teaser {
    height: calc(var(--excerpt-height) + var(--min-imgae-height));
}

.catalog-courses-wrapper .catalog-information {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - (var(--excerpt-height) + 1.5rem));
    padding: 1.5rem;
}

.catalog-courses-wrapper .catalog-information {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100%);
    padding: 1.5rem;
}

.catalog-courses-wrapper .catalog-item.catalog-item-with-image .catalog-information {
    height: calc(100% - (var(--excerpt-height) + 1.5rem));

}

.catalog-courses-wrapper .catalog-item .offerer_image {
    background-size: contain;
    background-repeat: no-repeat;
    height: 70px;
    width: 100%;
    max-width: 140px;
    background-position: left bottom;
}



.catalog-courses-wrapper p.catalog-teaser {
    font: var(--text);
    margin-bottom: 0;
    height: var(--excerpt-height);
}

html .catalog-courses-wrapper h3.catalog-item-titel-intro {
    word-break: break-word;
    font: var(--text);
    margin-bottom: .25rem;
}

html .catalog-courses-wrapper h4.catalog-item-title {
    font: var(--primary-b-t);
    margin-bottom: .5rem;
    word-break: break-word;
}

.catalog-courses-wrapper .catalog-item .catalog-instructor {
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: .5rem;
}

.catalog-courses-wrapper .catalog-item .catalog-rating {
    display: flex;
    align-items: center;
    margin-bottom: .5rem;
}

.catalog-courses-wrapper .catalog-item .catalog-rating .star {
    height: 16px;
    width: 16px;
    fill: var(--e-global-color-text-tertiary);
    margin-right: 4px;
}

.catalog-courses-wrapper .catalog-item .catalog-rating .rating-value {
    font-size: .9rem;
    font-weight: 500;
}

.catalog-courses-wrapper .catalog-item .catalog-price {
    font-size: 1.2rem;
    font-weight: 600;
}

.catalog-courses-wrapper .catalog-item .catalog-price .price-value {
    font-size: 1.4rem;
}

.catalog-courses-wrapper .catalog-item .catalog-price .price-currency {
    font-size: .9rem;
    margin-left: 2px;
}


html .wp-pagenavi {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    margin-top: 4rem;
}

.wp-pagenavi>* {
    color: var(--e-global-color-secondary);
    padding: 8px 16px;
    border-radius: 5px;
    border: 2px solid transparent;
}

.wp-pagenavi>.current {
    background-color: transparent !important;
    color: var(--e-global-color-secondary) !important;
    border-color: var(--e-global-color-secondary) !important;
    border-width: 2px !important;

}

.wp-pagenavi>*:hover,
.wp-pagenavi>.current {
    border-color: var(--e-global-color-secondary);
}

/** Classification **/

.classification_wrapper {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.classification_wrapper a:hover {
    opacity: .7;
}

.classification_element {
    border: 2px solid;
    padding: 4px 8px;
    border-radius: 2px;
    font-family: "DINPro", Sans-serif;
    font-size: .95rem;
    font-weight: 500;
    line-height: .9em;
    text-transform: uppercase;
    width: fit-content;
}

.classification_wrapper {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.classification_wrapper:after {
    content: " ";
    display: block;
    height: 24px;
}



/*** Result Filter ***/

.filter-no-results {
    display: none;
    color: var(--light-c);
    font: var(--textbig);
}

.filter-no-results.show {
    display: block;
}


/*** Kursseiten ***/


#avendoo_course_page .description span.courseTeaser {
    font-family: var( --e-global-typography-7b4e506-font-family ), Sans-serif;
    font-size: var( --e-global-typography-7b4e506-font-size );
    line-height: var( --e-global-typography-7b4e506-line-height );
}

#avendoo_course_page .description h2.courseTeaser {
    font-weight: normal;
 
}


.infoWrapper,
.infoWrapper > div  {
    display: flex;
    align-items: center;
    gap: 10px;
}

.infoWrapper.locationWrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}


.moreInformation {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;

    margin-top: 2rem;
    margin-bottom: 2rem;
}

.infoWrapper p {
    margin-bottom: 0;
    font: var(--text);
}

p.informationTitle {
    font-weight: 600;
}

.priceWrapper {
    font: var(--text);
    margin-bottom: 2rem;
    margin-top: 1rem;

}

span.coursePrice {
    white-space: nowrap;
    font-weight: 300;
}

.coursePrice .price {
    font-weight: 400;
}

span.priceInfo {
    font-weight: normal;
    font-size: 1rem;

}



div#avendoo_course_page h1 {
    margin-top: 0;
}


.courseShortDescription {
    font: var(--text);
}



.moreInformation svg,
.priceWrapper svg {
    width: var(--e-icon-list-icon-size, 1em);
    height: var(--e-icon-list-icon-size, 1em);
}




/* Large devices (large laptops and desktops, 1168px and up) */
@media only screen and (min-width: 1690px) {
    .moreInformation {
        grid-template-columns: repeat(auto-fill, minmax(47%, 1fr));
    }
}




/* timeline */

.seminarEvents p {
    font: var(--text);
}

.seminarEvents p span {
    text-decoration: underline;
    cursor: pointer;
}

.seminarEvents p span:hover {
    text-decoration: none;
}


.singleEventWrapper {
    background-color: var(--e-global-color-0884a1b);
    padding: 10px 20px;
    border-radius: 4px;
    margin: 15px 0;
    display: flex;
    justify-content: space-between;

    transition: opacity .2s ease;

    cursor: pointer;
}

.singleEventWrapper:hover {
    opacity: .85;
}

.singleEventWrapper:active {
    opacity: .7;
}


.seminarEventLocation>span {
    font-family: "DINPro", Sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.2em;

    text-decoration: underline;
    cursor: pointer;
}



.seminarEventLocation>span:hover {
    text-decoration: none;
}

.seminarEventLocation {
    text-align: right;
    font-family: "DINPro", Sans-serif;

    font-size: var(--e-global-typography-9c1dd10-font-size);
}

.seminarEventDate {
    font-family: "DINPro", Sans-serif;
    font-size: var(--e-global-typography-9c1dd10-font-size);

}


/*** Mega menu Card ***/



#offer_mega .catalog-courses-wrapper.catalog-elearning-wrapper .catalog-courses-wrapper-inner div:nth-child(3) {
    display: none;
}


#offer_mega .catalog-courses-wrapper.catalog-elearning-wrapper .catalog-courses-wrapper-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(41%, 1fr));
    gap: 1.25rem;
    min-height: 30vh;
}


/*  Media Query Course Grid */

/* Small devices (mobile/tablets, 767px and below) */
@media only screen and (max-width: 766px) {



    .catalog-courses-wrapper.catalog-elearning-wrapper .catalog-courses-wrapper-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

}

/* Medium devices (tablets/desktops, 768px and up) */
@media only screen and (min-width: 768px) {
    .catalog-courses-wrapper.catalog-elearning-wrapper .catalog-courses-wrapper-inner {
        grid-template-columns: repeat(auto-fill, minmax(41%, 1fr));
    }



}



/* Large devices (large laptops and desktops, 1168px and up) */
@media only screen and (min-width: 1208px) {


    .catalog-courses-wrapper.catalog-elearning-wrapper .catalog-courses-wrapper-inner {
        grid-template-columns: repeat(auto-fill, minmax(31%, 1fr));
    }

}

@media only screen and (min-width: 1500px) {

    #offer_mega .catalog-courses-wrapper.catalog-elearning-wrapper .catalog-courses-wrapper-inner {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(31%, 1fr));
        gap: 2rem;
    }

    #offer_mega .catalog-courses-wrapper.catalog-elearning-wrapper .catalog-courses-wrapper-inner div:nth-child(3) {
        display: block;
    }
}


/* Large devices (large laptops and desktops, 1168px and up) */
@media only screen and (min-width: 1640px) {
    .catalog-courses-wrapper.catalog-elearning-wrapper .catalog-courses-wrapper-inner {
        grid-template-columns: repeat(auto-fill, minmax(21%, 1fr));
    }

}








/* places */

.places_loop_wrapper {
    display: flex;
    width: 100%;

    gap: 2rem;
}



.places_loop {
    background-color: var(--background-c);
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    justify-content: space-between;
    max-width: 500px;
    flex-basis: 50%;
    min-height: 40vh;

    padding: 2rem;


    flex-direction: column;

    background-size: cover;
    background-position: center;
}

.places_loop::after {
    content: "";
    background: linear-gradient(0deg, rgba(0, 28, 56, 0.75) 0%, rgba(0, 28, 56, 0.3757994408700981) 47%, rgba(0, 28, 56, 0) 100%);
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;

}

.places_loop * {
    position: relative;
    z-index: 1;

}

.avendoo_places_contact .places_loop div.classification_element,
.places_loop_wrapper .places_loop div.classification_element {
    background-color: var(--light-c);
    color: var(--maincolor-c);
    border-color: var(--light-c);
}

.places_loop_wrapper .places_loop a {
    text-decoration: underline;
}

.places_loop_wrapper .places_loop a:hover {
    text-decoration: none;
}

html .places_loop div>h3,
html .places_loop div>a {
    color: var(--light-c);
}

.avendoo_places_contact address,
.avendoo_places_contact ul li span {
    font-style: normal;
    font: var(--textbig);
}

.avendoo_places_contact ul li.elementor-icon-list-item {
    margin-bottom: .5rem;
}

.avendoo_places_contact ul li.elementor-icon-list-item a .elementor-icon-list-text {
    text-decoration: underline;
}

.avendoo_places_contact ul li.elementor-icon-list-item a .elementor-icon-list-text:hover {
    text-decoration: none;
}

.avendoo_places_contact .places_loop {
    max-width: 650px;
}

.avendoo_places_contact .places_loop:after {
    content: none;
}


.avendoo_places_contact {
    display: flex;
    margin-top: 6rem;
    scroll-margin-top: 8rem;
    gap: 4rem;
}

.avendoo_places_contact>div {
    flex-basis: 50%;
}

.avendoo_places_contact>div>* {
    margin-bottom: 2rem;
}

.avendoo_places_contact>div:nth-child(1) {
    min-height: 45vh;
}

.avendoo_places_contact svg * {
    fill: var(--e-global-color-text);
}



.elementor-widget .avendoo_places_contact .elementor-icon-list-icon+.elementor-icon-list-text {
    padding-left: 1rem;
}


/* Small devices (mobile/tablets, 767px and below) */
@media only screen and (max-width: 766px) {



    .places_loop_wrapper,
    .avendoo_places_contact {
        flex-direction: column;
        gap: 2rem;
    }

    .avendoo_places_contact>div {
        flex-basis: 100%;
        min-width: 100%;
    }


}


/* Extra Avendoo Shortcodes */

.sc_offerer_image {
    width: 100%;
}


/* add conenten shortcode */

.course-add-content div {
    font: var(--text);
}

.course-add-content {
    margin-top: 2.5rem;
}

.course-add-content:first-child {
    margin-top: 0;
}


button.read-more {
    /* font: var(--textbig); */
    /* text-decoration: underline; */
    /* padding: 0; */
    margin-top: 2rem;
    margin-bottom: 3rem;
    display: inline-block;
    line-height: 1;
    background-color: var(--secondary-c);
    font-size: 1rem;
    font-weight: 400;
    padding: 12px 24px;
    border-radius: var(--button-radius);
    color: var(--text-c);
    fill: var(--text-c);
    text-align: center;
    transition: var(--transition-hover);
    text-transform: uppercase;
}

button.read-more:hover {
    opacity: 1;
    background-color: var(--text-c);
    color: var(--light-c);
}