/*!
Theme Name: Animator Island Kadence
Theme URI: https://www.animatorisland.com
Template: kadence
Author: Animator Island
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/*
* Kadence
*/

.primary-sidebar,
.kadence-woo-cart-form-wrap,
form.checkout.woocommerce-checkout {
    margin-top: 1.2rem;
}

/*
* General typography
*/

html {
    font-size: 18px;
}

p, .single-content p, .wpfunnel_steps-template p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6,
.single-content h1, .single-content h2, .single-content h3, .single-content h4, .single-content h5, .single-content h6,
.wpfunnel_steps-template h1, .wpfunnel_steps-template h2, .wpfunnel_steps-template h3, .wpfunnel_steps-template h4, .wpfunnel_steps-template h5, .wpfunnel_steps-template h6 {
    margin: 2rem 0 1rem;
    font-weight: 800;
}

h1,
.single-content h1,
.wpfunnel_steps-template h1 {
    font-size: 2rem;
    line-height: 1.4;
}

h2,
.single-content h2,
.wpfunnel_steps-template h2 {
    font-size: 1.7rem;
    line-height: 1.4;
}

h3,
.single-content h3,
.wpfunnel_steps-template h3 {
    font-size: 1.4rem;
    line-height: 1.4;
}

h4,
.single-content h4,
.wpfunnel_steps-template h4 {
    font-size: 1.2rem;
    line-height: 1.4;
}

/*
* WP Funnels
*/

.wpfnl-template-wrap {
    padding: 0 1rem;
}

.wpfunnel_steps-template ul, .wpfnl-reset ul {
    list-style: initial;
    margin: 1.5rem;
    padding: initial;
}

.wpfunnel_steps-template li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}


/*
* LearnDash
*/

.ld-video {
    margin-bottom: .5rem;
}

/* Hide Back toCourse link between next and previous buttons */
.learndash-wrapper .ld-content-actions .ld-content-action .ld-course-step-back {
    display: none;
}

.learndash-wrapper .ld-breadcrumbs {
		display: none;
}

/* Hide Breadcrumbs on mobile */
@media (max-width: 640px) {
	.learndash-wrapper .ld-breadcrumbs {
		display: none;
	}
}

/* Custom top navigation buttons */
.learndash-wrapper .ai_learndash_coursenavigation_top .ld-content-actions {
    border-top: none;
    padding: 0;
}

@media (max-width: 640px) {
    .learndash-wrapper .ai_learndash_coursenavigation_top .ld-content-actions {
    flex-direction: row;
    gap: 0.5rem;
    }
    .learndash-wrapper .ai_learndash_coursenavigation_top .ld-content-actions .ld-text {
        display: none;
    }
    .learndash-wrapper .ai_learndash_coursenavigation_top .ld-content-actions .ld-content-action {
        padding: 0;
        margin: 0;
    }
    .learndash-wrapper .ai_learndash_coursenavigation_top .ld-content-actions .ld-content-action .ld-button {
        margin: 0;
    }
    .learndash-wrapper .ai_learndash_coursenavigation_top .ld-content-actions .ld-content-action:nth-child(2) {
        flex: 2;
    }
}


/* Focus Mode */

/* header height */

:root {
	--ld-focus-mode-header-height: 85px;
}

@media (min-width: 768px) {

.learndash-wrapper .ld-focus .ld-focus-header,
.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action,
.learndash-wrapper .ld-focus .ld-focus-header .ld-button,
.learndash-wrapper .ld-focus .ld-focus-header .ld-progress {
	height: var(--ld-focus-mode-header-height);
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu {
	height: calc(var(--ld-focus-mode-header-height) - 1px);
}

.learndash-wrapper .ld-focus .ld-focus-sidebar {
	padding-top: var(--ld-focus-mode-header-height);
}

}

/* end of header height */

/* padding to content */
.learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content {
    padding-top: 6em;
}

@media (max-width: 768px) {
        .learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content {
        padding-top: 1rem;
    }
}

@media (max-width: 640px) {
        .learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content,
        .learndash-wrapper .ld-focus.ld-focus-sidebar-collapsed .ld-focus-main .ld-focus-content {
            margin-top: 0;
    }
}

/* header color */
.learndash-wrapper .ld-focus .ld-focus-header {
    background-color: var(--global-palette6);
    border-bottom: 0;
}


/* logo */
.learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo {
    background-color: var(--global-palette6);
    padding: .8em 1em;
    height: auto;
    max-height: var(--ld-focus-mode-header-height);
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo img {
	height: auto;
	max-height: 60px;
}

@media (max-width: 768px) {
    .learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions {
        background-color: var(--global-palette6);
        border: 0;
    }
}

/* progress bar */
.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action, .learndash-wrapper .ld-focus .ld-focus-header .ld-progress {
    border-right: 0;
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-heading .ld-progress-stats,
.learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-heading .ld-progress-stats .ld-progress-percentage {
	color: white !important;
}

/* previous and next button */
.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action .ld-button-transparent {
    color: white !important;
    max-height:40px;
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action:last-child .ld-button-transparent {
    color: var(--global-palette2) !important;
    background-color: white !important;
    max-height:40px;
}

/* sidebar navigation */
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading,
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger {
    background-color: var(--global-palette2) !important;
}

/* sidebar nav expand button */
.learndash-wrapper .ld-course-navigation .ld-lesson-item-preview .ld-expand-button .ld-icon {
	background-color: var(--global-palette6) !important;
}

.learndash-wrapper .ld-course-navigation .ld-lesson-item-preview .ld-expand-button .ld-text {
	color: var(--global-palette6) !important;
}

/* avatar pic user menu */
.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu {
	border-left: 0;
	padding-left: 10px;
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-text {
    color: white;
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-profile-avatar, .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-profile-avatar img {
    width: 50px;
    height: 50px;
}

@media (max-width: 768px) {
	.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-profile-avatar {
		margin-top: 10px;
	}
}

/* mobile hamburger menu */
.learndash-wrapper .ld-focus .ld-focus-header .ld-mobile-nav {
    padding-top: 10px;
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-mobile-nav span {
    background-color: white;
}


/*
* Open Pricing
*/

.product-open-pricing {
    margin-bottom: 18px;
}

.product-open-pricing .alg_open_price.text {
    max-width: 100%;
}

/*
* Sidebar Widgets
*/

/* Woocommerce */

.woocommerce ul.product_list_widget li img {
    float: none;
    width: 100%;
}

.woocommerce ul.product_list_widget li {
    margin-bottom: 1.5rem;
}

.product_list_widget .wc-gzd-additional-info.delivery-time-info, .product_list_widget .wc-gzd-additional-info.shipping-costs-info {
    display: none;
}
