/*
 Theme Name:   LMA Training
 Description:  Twenty Twenty-Four Child
 Author:       LMA ADRA
 Author URI:   https://training.lmaadra.com
 Template:     twentytwentyfour
 Version:      1.0.0
 Text Domain:  twentytwentyfourchild
*/

/* Webfonts */

/*
@font-face {
    font-family: 'D-Din';
    font-weight: normal;
    font-style: normal;
    src: url('./assets/fonts/D-DIN.woff2') format('woff2'),
         url('./assets/fonts/D-DIN.woff') format('woff'),
         url('./assets/fonts/D-DIN.ttf') format('truetype');
}

@font-face {
    font-family: 'D-Din';
    font-weight: bold;
    font-style: normal;
    src: url('./assets/fonts/D-DIN-Bold.woff2') format('woff2'),
         url('./assets/fonts/D-DIN-Bold.woff') format('woff'),
         url('./assets/fonts/D-DIN-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'D-Din';
    font-weight: normal;
    font-style: italic;
    src: url('./assets/fonts/D-DIN-Italic.woff2') format('woff2'),
         url('./assets/fonts/D-DIN-Italic.woff') format('woff'),
         url('./assets/fonts/D-DIN-Italic.ttf') format('truetype');
}
*/


/* Typography */

h3 {
    margin-block-end: 0.5em;
}

h3 + p {
    margin-block-start: 0.5em;
}

h4 {
    margin-block-start: 1em;
    margin-block-end: 0.5em;
}

h4 + p {
    margin-block-start: 0.5em;
}

hr.wp-block-separator.is-style-wide {
    border-color: var(--wp--preset--color--base-2);
    /*
    margin-block-start: 2em;
    margin-block-end: 2em;
    */
    margin-left: auto;
    margin-right: auto;
    max-width: 200px;
    width: 50%;
}

a {
    transition: all 0.2s ease;
}

li::marker {
    color: var(--wp--preset--color--base-2);
}

body .learndash-wrapper .ld-focus .ld-tab-content ol:not(.blocks-gallery-grid):not(.wp-block-gallery),
body .learndash-wrapper .ld-focus .ld-tab-content ul:not(.blocks-gallery-grid):not(.wp-block-gallery) {
    padding-left: 1.5em;
}

ul.no-bullets {
    list-style-type: none;
}

.learndash-wrapper .ld-focus .ld-tab-content ul.no-bullets:not(.blocks-gallery-grid):not(.wp-block-gallery),
ul.no-bullets {
    padding-left: 1.5em;
}

ul.no-bullets > li {
    text-indent: -1.5em;
}

ul.no-bullets li li {
    text-indent: 0;
}

ol.extra-spacing li + li,
ul.extra-spacing li + li {
    margin-block-start: 1em;
}

.learndash-wrapper .ld-focus .ld-tab-content ul.less-padding:not(.blocks-gallery-grid):not(.wp-block-gallery),
ul.less-padding {
    padding-left: 1em;
}

.wp-block-pullquote {
    font-style: italic;
    font-size: 1.25em;
}


/* Header */

header.wp-block-template-part {
    box-shadow: rgba(0,0,0,0.1) 0 0 20px 0;
}

@media screen and (min-width: 600px) {
    header.wp-block-template-part {
        top: calc(0px + var(--wp-admin--admin-bar--height, 0px));
        position: sticky;
        z-index: 10;
    }
}

@media screen and (max-width: 782px) {
    header .wp-block-site-logo img {
        max-height: 50px;
        width: auto;
    }
}

@media screen and (max-width: 500px) {
    header .wp-block-site-logo img {
        max-height: 40px;
    }
}

.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-open svg {
    width: 32px;
    height: 32px;
}


/* Learndash Modifications */

body .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name {
    align-items: center;
}

body .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview .ld-status-icon {
    margin-top: 0;
}

.ld-login-modal-branding {
    display: none;
    /*
    max-width: 200px;
    margin: 0 auto;
    */
}

div[class*="learndash-shortcode-wrap-ld_certificate"] {
    margin-block: 2em;
}

div[class*="learndash-shortcode-wrap-ld_certificate"] .ld-button {
    text-align: center;
}
