/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-block-end: 16px;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit
}

h1 {
    font-size: 2.5rem
}

h2 {
    font-size: 1.75rem
}

h3 {
    font-size: 1.75rem
}

h4 {
    font-size: 1.5rem
}

h5 {
    font-size: 1.25rem
}

h6 {
    font-size: 1rem
}

/* Course Template */
#enroll-button {
    & .ld-course-status-content {
        margin: 0;
    }
    & .ld-course-status-not-enrolled {

    & .btn-join {
        border-radius: 16px;
    }
        background: unset;
        border-radius: 6px;
        display: flex;
        margin: 0;
        padding: 0;

        & .ld-course-status-content {
            align-items: stretch;
        }

        & .ld-course-status-segment {
            padding: 0px;
        }

        & .ld-course-status-seg-status,
        & .ld-course-status-seg-price,
        & .ld-course-status-label {
            display: none;
        }
    }
}

#enroll-button .ld-course-status-enrolled {
    display: none;
}

#course-content {
	
	width: 100%;

    & .learndash-wrapper .ld-item-list {
        margin: 0;
    }

    & .ld-item-list-item-preview {
        padding: 8px;
    }

    & .ld-item-list-item-preview .ld-status-icon {
        margin-right: 8px;
        margin-top: .25em;
    }

    & .ld-item-list .ld-item-list-item {
        background: #f7f7f7;
        border: unset;
        border-radius: 8px;
        margin: 1em 0;
    }

    & .ld-item-list-item-expanded:before {
        display: none;
    }

    & .ld-topic-list .ld-table-list-header {
        padding: 8px 60px 4px;
    }

    & .ld-table-list-item-preview {
        padding: 8px 8px 8px 12px;
    }

    & .ld-item-title {
        margin-top: 4px;

        & .ld-item-components {
            margin: 0;
            padding-left: 24px;
        }
    }
}

/* Fix for Icon List Itmes*/
.learndash-wrapper .ld-focus .ld-tab-content li.elementor-icon-list-item {
    display: flex;
}

/* Default Button*/
[type=button], [type=submit], button {
	color: white;
	border: unset;
	background-color: var( --e-global-color-accent );
	display: inline-block;
	width: 100%;
	font-weight: 600;
}

[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: var( --e-global-color-2ce9e5b );
    text-decoration: none;
	color: var( --e-global-color-accent );
}

/* LearnDash Focus Mode Checkmark */
.learndash-wrapper .ld-course-navigation .ld-status-icon .ld-icon-checkmark {
    font-size: 10px;
}

.learndash-wrapper .ld-status-icon .ld-icon:before {
    margin-top: 1px;
}

#learndash-tooltips .ld-tooltip {
    max-width: 360px;
}

label {
	line-height: 24px;
}

.short-desc .elementor-heading-title{
    display: -webkit-box;
    -webkit-line-clamp: 8;   /* limit to 8 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bullet-spacing ul{
	margin-top: -10px;
}

.elementor-element ul{
	margin-bottom: 20px;
}

header a{
	text-decoration: none !important;
	font-weight: normal !important;
}

header a:hover{
	color: var(--e-global-color-accent) !important;
}