/*
Theme Name: Astra Child
Author: WESLINK GmbH
Author URI: https://weslink.de
Description: Astra-Child für das Trainingsportal der Akademie
Version: 1.0.0
Template: astra
Text Domain: astra-child
*/

/**
 * @license
 * MyFonts Webfont Build ID 3535496, 2018-03-05T03:38:59-0500
 *
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are
 * explicitly restricted from using the Licensed Webfonts(s).
 *
 * You may obtain a valid license at the URLs below.
 *
 * Webfont: SketchBlockBold by artill
 * URL: https://www.myfonts.com/fonts/artill-typs/sketch-block/bold/
 * Copyright: Copyright (c) 2009 by Lukas Bischoff. All rights reserved.
 * Licensed pageviews: 20,000
 *
 *
 * License: https://www.myfonts.com/viewlicense?type=web&buildid=3535496
 *
 * © 2018 MyFonts Inc
*/

/* Customer Font */
@font-face {
    font-family: 'SketchBlockBold';
    font-display: auto;
    src: url('assets/fonts/35F288_0_0.eot');
    src: url('assets/fonts/35F288_0_0.eot?#iefix') format('embedded-opentype'),
    url('assets/fonts/35F288_0_0.woff2') format('woff2'),
    url('assets/fonts/35F288_0_0.woff') format('woff'),
    url('assets/fonts/35F288_0_0.ttf') format('truetype');
}

/* Headlines */
h1, .entry-content h1,
h2, .entry-content h2,
h3, .entry-content h3,
.site-title, .site-title a {
    font-family:'SketchBlockBold',serif;
    font-weight: normal;
    font-style: normal;
}

/* Header */
.ast-theme-transparent-header #masthead {
    position: relative;
}

.ast-builder-grid-row > .site-header-section {
    flex-direction: column;
    justify-content: space-evenly;
}

.ast-grid-right-section {
    justify-content: center;
}

.site-header-section {
    align-items: flex-end;
}

.site-header-section.site-header-section-left {
    align-items: flex-start;
}

@media all and (max-width:921px) {
    .ast-builder-grid-row > .site-header-section {
        flex-direction: inherit;
        justify-content: flex-end;
    }

    .site-header-section.site-header-section-left {
        justify-content: flex-start;
    }

    .ast-grid-right-section {
        justify-content: flex-end;
    }

    .site-header-section {
        align-items: center;
    }
}

/* Main Menu */
.ast-builder-menu-1 .menu-item > .menu-link {
    font-size: 1.1rem;
}

.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item:hover > .menu-link,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item:hover > .ast-menu-toggle,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .ast-masthead-custom-menu-items a:hover,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .focus > .menu-link,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .focus > .ast-menu-toggle,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-item > .menu-link,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-ancestor > .menu-link,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-item > .ast-menu-toggle,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-ancestor > .ast-menu-toggle,
.ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-item > .menu-link,
.ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-ancestor > .menu-link,
.ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-item > .ast-menu-toggle,
.ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-ancestor > .ast-menu-toggle,
.ast-theme-transparent-header .main-header-menu .menu-item:hover > .menu-link,
.ast-theme-transparent-header .main-header-menu .current-menu-item > .menu-link,
.ast-theme-transparent-header .main-header-menu .current-menu-ancestor > .menu-link {
    color: #aa121e;
    outline: none;
}

.ast-theme-transparent-header [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-fill,
.ast-theme-transparent-header [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal {
    outline: none;
}

.ast-site-header-cart {
    font-size: 0.9rem;
}

.ast-site-header-cart .ast-woo-header-cart-info-wrap, .ast-edd-site-header-cart .ast-edd-header-cart-info-wrap {
    font-weight: 400;
}

.ast-site-header-cart .cart-container {
    outline: none;
}

.ast-site-header-cart .ast-woo-header-cart-info-wrap {
    padding: 0 8px;
}

@media all and (max-width:1000px) {
    .ast-builder-menu-1 .menu-item > .menu-link {
        font-size: 1rem;
    }
}

@media all and (max-width:921px) {
    .ast-desktop .ast-primary-header-bar.main-header-bar,
    .ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar {
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .ast-cart-menu-wrap .count {
        font-weight: 400;
        min-width: 1.8em;
        min-height: 1.6em;
        font-size: 0.6em;
        line-height: 1.4;
        border-width: 1.5px;
        padding: 0 .3em;
    }

    .ast-site-header-cart.ast-menu-cart-outline .ast-cart-menu-wrap {
        line-height: 1.7;
    }

    .ast-header-break-point.ast-hfb-header .ast-cart-menu-wrap {
        width: 1.4em;
        height: 1.8em;
        font-size: 1.4em;
    }

    .ast-site-header-cart .ast-woo-header-cart-info-wrap {
        padding: 0 2px;
    }
}

@media all and (max-width: 768px) {
    .ast-site-header-cart {
        font-size: 0.8rem;
    }

    .astra-logo-svg:not(.sticky-custom-logo .astra-logo-svg,
    .transparent-custom-logo .astra-logo-svg,
    .advanced-header-logo .astra-logo-svg) {
        height: auto;
    }

    header .custom-logo-link img,
    .ast-header-break-point .site-branding img,
    .ast-header-break-point .custom-logo-link img {
        max-width: 85px;
    }

    .astra-logo-svg {
        width: 85px;
    }

    .ast-site-header-cart .cart-container .ast-woo-header-cart-info-wrap {
        color: #fff;
    }

    .ast-site-header-cart .cart-container .ast-woo-header-cart-info-wrap .ast-woo-header-cart-title {
        display: none;
    }

    .ast-site-header-cart .cart-container .ast-woo-header-cart-info-wrap .ast-woo-header-cart-total {
        color: #242323;
    }
}

/* Content */
@media all and (max-width:921px) {
    .ast-separate-container .ast-article-single {
        padding: 1.5rem 3rem !important;
    }
}

@media all and (max-width:768px) {
    .ast-separate-container .ast-article-single {
        padding: 1rem 0 !important;
    }
}

/* Akademie-Banner */
.banner.wp-block-image.size-full {
    margin: 2rem 0 0 0;
}

.banner.wp-block-image figcaption {
    margin-top: 0;
    margin-bottom: 0;
    padding: 15px 20px;
    background-color: #e9eaef;
}

/* LearnDash Kurslist */
.ld-course-list-items .ld_course_grid .thumbnail .caption {
    padding: 15px;
}

.ld-course-list-items .ld_course_grid .entry-title {
    font-size: 1.4rem;
}

.ld-course-list-items .ld_course_grid .entry-content {
    margin-top: 10px;
    margin-bottom: 15px;
}

.ld-course-list-items .ld_course_grid .btn-primary {
    background-color: #aa121e;
    border-color: #aa121e;
}

.ld-course-list-items .ld_course_grid .btn-primary:hover,
.ld-course-list-items .ld_course_grid .btn-primary:focus,
.ld-course-list-items .ld_course_grid .btn-primary:active,
.ld-course-list-items .ld_course_grid .btn-primary.active,
.ld-course-list-items .ld_course_grid .open .dropdown-toggle.btn-primary {
    background-color: #a1121e;
    border-color: #a1121e;
}

.ld-course-list-items .ld_course_grid .btn {
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 500;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ld_course_grid_price.ribbon-enrolled {
    background: #252d60;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ld_course_grid_price.ribbon-enrolled::before {
    border-top: 4px solid #252d60;
    border-right: 4px solid #252d60;
}

@media all and (max-width:921px) {
    .ld-course-list-items .ld_course_grid .entry-title {
        font-size: 1.2rem;
    }
}

/* LearnDash Kurs */
.ast-separate-container #primary {
    margin: 0;
}

.ast-separate-container .ast-article-single {
    padding: 2rem 6rem;
}
