/* 
Theme Name:		TalkWith
Theme URI:		https://www.talkwith.co
Author:			Studio Seventeen
Author URI:		https://www.studioseventeen.co.uk
Template:		hello-elementor
Version:		1.0.0
*/

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.purple {
    color: var(--e-global-color-fe5c232);
}

.l-purple {
    color: var(--e-global-color-0b4137d);
}

.xl-purple {
    color: var(--e-global-color-14c7956);
}

.xxl-purple {
    color: var(--e-global-color-1731784);
}

.d-purple {
    color: var(--e-global-color-8ebb0da);
}

.xd-purple {
    color: var(--e-global-color-4177a70);
}

.light {
    color: #fff;
}

.caption {
    display: inline;
    background: var(--e-global-color-4177a70);
    font-size: 0.85em;
    margin: 0;
    padding: 2px 5px;
}

p a,
li a:not(a.elementor-item, a.elementor-sub-item, .tutor-dashboard-permalinks a) {
    font-weight: 600;
    color: var(--e-global-color-fe5c232);
    text-decoration: underline !important;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

h3 a,
h4 a {
    color: var(--e-global-color-fe5c232);
    text-decoration: underline;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

p a:hover,
h3 a:hover,
h4 a:hover,
li a:not(a.elementor-item):hover {
    color: var(--e-global-color-8ebb0da);
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

body:not(.elementor-editor-active) .elementor[data-elementor-post-type="page"] li:not(.elementor-nav-menu li),
body:not(.elementor-editor-active) .elementor[data-elementor-post-type="post"] li:not(.elementor-nav-menu li) {
    font-size: 1.1em;
    line-height: 1.3;
}

body:not(.elementor-editor-active) .elementor[data-elementor-post-type="page"] li:not(:last-child),
body:not(.elementor-editor-active) .elementor[data-elementor-post-type="post"] li:not(:last-child) {
    margin-bottom: 10px;
}

.elementor[data-elementor-post-type="post"] li::marker,
.elementor[data-elementor-post-type="page"] li::marker {
    font-size: 1.2em;
    color: var(--e-global-color-8ebb0da);
}

.elementor[data-elementor-post-type="post"] ul.light li::marker,
.elementor[data-elementor-post-type="page"] ul.light li::marker {
    font-size: 1.2em;
    color: #fff;
}

blockquote {
    border-left: 5px solid var(--e-global-color-fe5c232);
    padding: 0 0 0 1em;
    font-weight: 600;
}

.elementor-testimonial__name {
    font-style: normal;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

[type=button],
[type=submit],
button {
    border: none;
}

/* ==========================================================================
   UTILITIES / LAYOUT
   ========================================================================== */

.shadow {
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 30px 0px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 30px 0px;
}

.radius {
    border-radius: 20px;
}

.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0 !important;
}

.circle {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    max-width: 320px;
}

.bubble {
    display: inline-flex;
    padding: 5px 15px;
    border-radius: 20px;
    font-family: "Poppins", Sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.bubble_purple {
    background: var(--e-global-color-8ebb0da);
    color: #fff;
}

.bubble_black {
    background: #000;
    color: #fff;
}

.block-border {
    border-bottom: 6px solid;
    border-image: linear-gradient(to right,
            var(--e-global-color-fe5c232) 0%,
            var(--e-global-color-fe5c232) 33.33%,
            var(--e-global-color-0b4137d) 33.33%,
            var(--e-global-color-0b4137d) 66.66%,
            var(--e-global-color-14c7956) 66.66%,
            var(--e-global-color-14c7956) 100%) 5;
}

/* ==========================================================================
   OUTER CONTAINER PADDING
   ========================================================================== */

.elementor[data-elementor-type="wp-page"]>.e-con.e-parent,
.elementor[data-elementor-type="single"]>.e-con.e-parent,
.elementor[data-elementor-type="single-post"]>.e-con.e-parent,
.elementor[data-elementor-type="archive"]>.e-con.e-parent,
.single-sfwd-courses #content {
    padding: 3em 1em;
}

@media (max-width: 1024px) {

    .elementor[data-elementor-type="wp-page"]>.e-con.e-parent,
    .elementor[data-elementor-type="single"]>.e-con.e-parent,
    .elementor[data-elementor-type="single-post"]>.e-con.e-parent,
    .elementor[data-elementor-type="archive"]>.e-con.e-parent,
    .single-sfwd-courses #content {
        padding: 2em 1em;
    }
}

@media (max-width: 768px) {

    .elementor[data-elementor-type="wp-page"]>.e-con.e-parent,
    .elementor[data-elementor-type="single"]>.e-con.e-parent,
    .elementor[data-elementor-type="single-post"]>.e-con.e-parent,
    .elementor[data-elementor-type="archive"]>.e-con.e-parent,
    .single-sfwd-courses #content {
        padding: 1em 1em !important;
    }
}

/* ==========================================================================
   NAV / MENUS
   ========================================================================== */

/* Mobile menu */
.elementor-nav-menu--dropdown .elementor-item {
    font-weight: 700 !important;
    font-size: 1.4em !important;
}

.elementor-item.has-submenu:hover .sub-arrow,
.elementor-nav-menu--dropdown a.elementor-item-active .sub-arrow,
.elementor-nav-menu--dropdown a.highlighted .sub-arrow {
    fill: #fff;
}

@media (max-width: 768px) {
    .footer-nav .elementor-nav-menu.sm-vertical li a {
        justify-content: center;
    }
}

/* ==========================================================================
   CTAS / EFFECTS
   ========================================================================== */

/* CTAs */
.cta .elementor-motion-effects-container {
    border-radius: 20px;
}

.cta .elementor-motion-effects-layer {
    transform-origin: bottom right;
}

.bg-color-change {
    transition: background-color .3s ease;
}

.bg-color-change.scrolled {
    background-color: var(--e-global-color-4177a70) !important;
}

/* ==========================================================================
   ELEMENTOR COMPONENTS
   ========================================================================== */

/* Slider arrows */
.elementor-swiper-button {
    background: var(--e-global-color-8ebb0da);
    padding: 5px;
    border-radius: 100px;
}

/* Blog buttons */
.elementor-post__read-more {
    background-color: var(--e-global-color-fe5c232);
    border-radius: 5px;
    padding: 12px 24px;
    line-height: normal;
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2);
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.elementor-post__read-more:hover {
    background: var(--e-global-color-8ebb0da);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.3);
}

/* News archive excerpt */
.elementor-post__excerpt p:after {
    content: "...";
}

/* Course horizontal list */
.elementor-widget.elementor-align-left .elementor-inline-items {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer p {
    margin: 0;
}

/* ==========================================================================
   PERFORMANCE / IMAGES
   ========================================================================== */

/* Lazy load images fade in */
img[data-lazyloaded] {
    opacity: 0;
}

img.litespeed-loaded {
    -webkit-transition: opacity .5s linear 0.2s;
    -o-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}

/* ==========================================================================
   LEARNDASH
   ========================================================================== */

/* Learndash theme */
:root {
    --ld-color-brand-primary: #5C6ED5 !important;
    --ld-color-primitives-blue-500: #5C6ED5 !important;
    --ld-typography-font-family: "Poppins", sans-serif !important;
}

body.single-sfwd-courses .site-main {
    max-width: 1440px;
    width: 100%;
}

.sfwd-courses .page-header .entry-title {
    margin-inline-end: 0;
    margin-inline-start: 0;
}

/* Course Grid */
.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon.enrolled {
    background: var(--e-global-color-primary);
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon.enrolled:before {
    border-top: 4px solid var(--e-global-color-8ebb0da);
    border-right: 4px solid var(--e-global-color-8ebb0da);
}

.ld-course-list-items .ld_course_grid .thumbnail .caption {
    background: none;
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 2em;
}

.ld-course-list-items .ld_course_grid .thumbnail.course {
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.ld-course-list-items .ld_course_grid .thumbnail.course:hover {
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.3);
}

/* Make the column wrapper stretch its child */
.ld-course-list-items.row>.ld_course_grid {
    display: flex;
}

/* Make the card fill the column and become a flex column */
.ld_course_grid article.thumbnail.course {
    display: flex !important;
    flex-direction: column;
    width: 100%;
}

/* Make caption take remaining space */
.ld_course_grid .caption {
    flex: 1 !important;
    justify-content: space-between;
}

/*** Course home page ***/
@media screen and (min-width: 768px) {

    /* Set up the Equal 2-Column Grid */
    .learndash-wrapper .ld-layout__content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 3em;
        row-gap: 0;
    }

    /* "Flatten" the accordion container */
    .learndash-wrapper .ld-accordion {
        display: contents;
    }

    /* Make the Header span both equal columns */
    .learndash-wrapper .ld-accordion__header {
        grid-column: 1 / -1;
        order: 1;
        display: flex;
        width: 100%;
    }

    /* Assign the Content and Image/Sidebar to the columns */
    .learndash-wrapper .ld-accordion__content {
        grid-column: 1;
        order: 2;
    }

    .ld-tab-bar,
    .ld-course-intro {
        /* Targeting the image/intro div */
        grid-column: 2;
        order: 3;
    }
}

/* LearnDash Buttons */
.ld-course-list-items .ld_course_grid .btn-primary,
.ld-alert__button,
.ld-alert__button:active,
.ld-alert__button:focus,
.ld-alert__button:focus-visible,
.ld-alert__button:focus-within,
.ld-navigation__back-to-course-link,
.ld-navigation__back-to-course-link:active,
.ld-navigation__back-to-course-link:focus,
.ld-navigation__back-to-course-link:focus-visible,
.ld-navigation__back-to-course-link:focus-within,
.ld-navigation__next-link,
.ld-navigation__next-link:active,
.ld-navigation__next-link:focus,
.ld-navigation__next-link:focus-visible,
.ld-navigation__next-link:focus-within,
.ld-navigation__previous-link,
.ld-navigation__previous-link:active,
.ld-navigation__previous-link:focus,
.ld-navigation__previous-link:focus-visible,
.ld-navigation__previous-link:focus-within,
.learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete .learndash_mark_complete_button:not(.ld--ignore-inline-css),
.learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete #learndash_mark_complete_button,
.learndash-wrapper .ld-button.ld-button-transparent,
.learndash-wrapper .ld-button.ld-button-alternate,
.learndash-wrapper .ld-expand-button.ld-button-alternate {
    background: var(--e-global-color-fe5c232) !important;
    font-family: "Poppins", Sans-serif !important;
    font-weight: 700 !important;
    background-color: var(--e-global-color-primary) !important;
    color: #fff !important;
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.2) !important;
    border-radius: 5px 5px 5px 5px !important;
    border: none !important;
    text-decoration: none !important;
    transition: all .3s !important;
}

.ld-course-list-items .ld_course_grid .btn-primary:hover,
.ld-alert__button:hover,
.ld-navigation__back-to-course-link:hover,
.ld-navigation__next-link:hover,
.ld-navigation__previous-link:hover,
.learndash-wrapper .ld-button.ld-button-transparent:hover {
    background: var(--e-global-color-4177a70) !important;
    color: #fff !important;
    background-color: var(--e-global-color-8ebb0da) !important;
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.3);
}

 /* Next/previous buttons */
.ld-content-action .ld-button .ld-text {
    font-size: 0.9em;
}

.learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete .learndash_mark_complete_button {
    background: #fbb03b !important;
    color: #000;
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    transition: all .3s;
}

.learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete .learndash_mark_complete_button:hover {
    background: #f15a24 !important;
    outline: none;
}

/*
.ld-progress-bar__label-icon--complete,
.ld-accordion__item-attribute-icon--progress {
    color: var(--e-global-color-primary) !important;
}

.ld-navigation__progress * {
    color: var(--e-global-color-primary) !important;

}
*/

/* Learndash Focus Mode */
.learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo img {
    border-radius: 0;
}

/* Hide Focus Mode page title (H1) */
.learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content h1 {
    display: none;
}

/* Remove container padding in Focus mode for SCORM iframe */
.learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content {
    padding: 0;
    margin: 0;
}

@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 {
        padding: 0;
        margin: 0;
    }
}

/* Focus Mode: prevent outer page scroll */
body.ld-in-focus-mode {
    overflow: hidden;
}

/* Ensure the main Focus Mode content area can size correctly 
.grassblade {
    overflow: visible;
}

.grassblade_iframe {
    height: calc(100vh - 50px) !important;
    top: 36px;
}

@media (max-width:768px) {
    .grassblade_iframe {
        top: 0;
    }
}*/

/* Remove stray paragraph created by wpautop before GrassBlade */
#ld-focus-content > p:empty {
	display: none;
	margin: 0;
	padding: 0;
}

/* Remove paragraph spacing around script wrappers */
#ld-focus-content > p {
	margin: 0;
}

/* Optional: remove lesson title to free space */
#ld-focus-content > h1 {
	display: none;
}

/* Clean GrassBlade wrapper */
#ld-focus-content .grassblade {
	margin: 0;
	padding: 0;
	overflow: visible;
	min-height: 0;
}

/* Let JS control iframe height */
#ld-focus-content .grassblade_iframe {
	display: block;
	width: 100%;
	height: 0;
	min-height: 0;
	border: 0;
	top: 0 !important;
	position: relative;
	vertical-align: top;
}

/* Prevent parent clipping */
#ld-focus-content,
.ld-focus-content {
	overflow: visible !important;
}
/* Course page - not enrolled */
.ld-enrollment__pricing {
    gap: 1em;
}

/* LearnDash sequential lesson error notice */
.s17-ldseq-notice {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 999;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fbb03b;
    color: #000;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.s17-ldseq-content {
    max-width: 720px;
}

.s17-ldseq-title {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.s17-ldseq-text {
    margin: 0;
}