/* product-box-course */
#filter-cards .product-box .elementor-shortcode {
    display: flex;
    flex-wrap: wrap;
}
.product-box-course,
.slider-recently-viewed .product,
#ce-store-products .elementor-widget-container .product-box-course {
    position: relative;
    width: calc(33% - 20px);
    margin: 10px;
    background: #fff;
    border: 1px solid #849384;
    padding: 12px 12px 145px;
    border-radius: 10px;
    overflow: hidden;
}
.elementor-widget-container .product-box-course {
    width: auto;
}
.slider-recently-viewed .product.ribbon-ribbon {
	overflow: hidden;
}
.product-box-course.per-row-4 {
    width: calc(25% - 20px);
}

.slick-slider .slick-track {
    display: flex;
}

.slick-initialized .slick-slide {
    height: auto;
}

.product-box-course .product-box-image {
	margin-bottom: 20px;
}
.product-box-course .product-box-image img {
    border-radius: 20px;
    box-shadow: 2px 2px 7px #666;
    border: 5px solid #FFF;
    height: 250px;
    width: 100%;
    object-fit: cover;
}
.product-box-course .product-box-title a {
    color: #424742;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    display: block;
    line-height: 1.4;
}
.product-box-course .product-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 38px;
    position: absolute;
    width: calc(100% - 25px);
    bottom: 90px;
}
.product-box-course .product-buttons .btn {
    font-size: 16px;
    line-height: 1;
    background-color: #5B8D33;
    box-shadow: 3px 3px 7px 0 rgba(0, 0, 0, 0.73);
    padding: 10px 4px;
    display: inline-block;
    text-align: center;
    margin: 0 6px;
    color: #fff;
    min-width: auto;
    border-radius: 5px;
}
.product-box-course .product-box-content {
    position: absolute;
    bottom: 15px;
    width: calc(100% - 30px);
    text-align: center;
}
.product-box-course .product-box-content > span {
    display: inline-block;
    width: 49%;
    font-size: 17px;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: top;
    line-height: 1.4;
}
.product-box-course span.product-box-content-left {
    border-right: 1px solid #8e918e;
}
.product-box-course span.product-box-content-full {
    width: 100%;
}
.product-box-course .product-box-content small {
    display: block;
    font-size: 14px;
    color: #879887;
    line-height: 1;
}
.product-box-course .product-box-content span.product-box-content-right del,
.product-box-course .product-box-content span.product-box-content-full del {
    color: #546154;
    display: none;
}
.product-box-course .product-box-content span.product-box-content-right del span,
.product-box-course .product-box-content span.product-box-content-full del span {
    font-size: 15px;
    color: #546154;
}

.account-nav-tabs .product-box-course.per-row-4 {
    width: 275px;
    margin: 0 auto;
}

@media screen and (max-width: 649px) {
    .product-box-course .product-buttons .btn {
        font-size: 14px;
    }
}
/* product-box-course */

/** Video Play Icon **/
.play-icon-wrapper {
    position: relative;
    cursor: pointer;
}
.play-icon-wrapper .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    z-index: 10;
}
.play-icon-wrapper:hover .play-icon {
    color: #849684; /* Optional hover effect */
}

@media screen and (max-width: 767px) {
    .barkley-event-date span {
        margin: 15px 0;
    }
}

/** RIBBON **/

body:not(.elementor-editor-active) .ribbon:not(.ribbon-flag) .ribbon-message {
    position: absolute;
    background: #426839;
    color: #fff;
    border: 2px solid #fff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    box-shadow: 10px 10px 10px -8px #000;
}
body:not(.elementor-editor-active) .ribbon-ribbon .ribbon-message {
    transform: rotate(45deg);
    top: 16px;
    right: -84px;
    width: 240px;
    padding: 10px 61px;
}
body:not(.elementor-editor-active) .ribbon-oval .ribbon-message {
    top: 8px;
    left: 8px;
    width: 118px;
    padding: 14px 20px;
    box-shadow: 7px 7px 10px -6px #000;
    border-radius: 50%;
}
body:not(.elementor-editor-active) .ribbon-flag .ribbon-message {
    filter: drop-shadow(2px 2px 4px #000);
}
body:not(.elementor-editor-active) .ribbon-flag .ribbon-message span {
    position: absolute;
    background: #426839;
    color: #fff;
    top: -14px;
    border: 2px solid #fff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    padding: 10px 5px 34px 5px;
    width: 80px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% calc(100% - 23px), 50% calc(100% - 23px), 0% 100%);
}
body:not(.elementor-editor-active) .ribbon-flag .ribbon-message span:before,
body:not(.elementor-editor-active) .ribbon-flag .ribbon-message span:after {
    height: 2px;
    width: 47px;
    background: #fff;
    content: '';
    display: block;
    position: absolute;
    transform: rotate(-30deg);
    bottom: 10px;
    left: -5px;
}
body:not(.elementor-editor-active) .ribbon-flag .ribbon-message span:after {
    width: 46px;
    transform: rotate(30deg);
    right: -5px;
    left: auto;
}

body:not(.elementor-editor-active) .barkley-events-list .barkley-event.ribbon-ribbon {
    overflow: hidden;
}
body:not(.elementor-editor-active) .barkley-event-ribbon:not(.ribbon-flag) {
    position: absolute;
    color: #fff;
    border: 2px solid #fff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    box-shadow: 10px 10px 10px -8px #000;
}
body:not(.elementor-editor-active) .barkley-event-ribbon.ribbon-ribbon {
    transform: rotate(45deg);
    transform-origin: top left;
    top: -53px;
    right: -113px;
    width: 200px;
    padding: 10px 0;
}
body:not(.elementor-editor-active) .barkley-event-ribbon.ribbon-ribbon span {
    width: 80px;
    display: inline-block;
    color: #fff;
}
.barkley-event-ribbon.ribbon-ribbon {
    background-color: #426839;
}
.barkley-event-ribbon.ribbon-ribbon.red {
    background-color: #1f317e;
}
.barkley-event-ribbon.ribbon-ribbon.gray {
    background-color: #b7b7b7;
}
.barkley-event-ribbon.ribbon-ribbon.yellow {
    background-color: #ffd700;
}
body .barkley-event-ribbon.ribbon-ribbon.yellow span {
    color: #000;
}
body:not(.elementor-editor-active) .barkley-event-ribbon.ribbon-oval {
    top: -12px;
    right: -19px;
    padding: 14px 12px;
    box-shadow: 7px 7px 10px -6px #000;
    border-radius: 50%;
}
body:not(.elementor-editor-active) .barkley-event-ribbon.ribbon-flag {
    position: absolute;
    right: -22px;
    filter: drop-shadow(2px 2px 4px #000);
    top: 16px;
}
body:not(.elementor-editor-active) .barkley-event-ribbon.ribbon-flag span {
    position: absolute;
    background: #b81459;
    color: #fff;
    top: -31px;
    right: 9px;
    border: 2px solid #fff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    padding: 10px 5px 27px 5px;
    width: 63px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% calc(100% - 18px), 50% calc(100% - 17px), 0% 100%);
}
body:not(.elementor-editor-active) .barkley-event-ribbon.ribbon-flag span:before,
body:not(.elementor-editor-active) .barkley-event-ribbon.ribbon-flag span:after {
    height: 2px;
    width: 38px;
    background: #fff;
    content: '';
    display: block;
    position: absolute;
    transform: rotate(-30deg);
    bottom: 7px;
    left: -5px;
}
body:not(.elementor-editor-active) .barkley-event-ribbon.ribbon-flag span:after {
    width: 38px;
    transform: rotate(30deg);
    right: -5px;
    left: auto;
}

/** From Astra **/

.product-buttons button.btn.loading {
    padding-right: 15px;
}

.product-buttons button.btn.loading::after {
    display: inline-block;
    content: "";
    position: relative;
    top: 0;
    right: -.5em;
    left: auto;
    width: .8em;
    height: .8em;
    background-color: #fff; /* was var(--ast-global-color-5); Astra's palette variables no longer load */
    background-image: none;
    border-radius: 100%;
    animation: dotPulse .65s 0s infinite cubic-bezier(.21,.53,.56,.8);
}

.product-buttons button.btn.added::after {
    font-family: WooCommerce;
    content: '\e017';
    margin-left: .53em;
    vertical-align: bottom;
    font-size: 14px;
}

.product-buttons .added_to_cart.wc-forward {
    display: none;
}

/* full height */
.full-height .elementor-shortcode,
.full-height .elementor-shortcode .product {
    height: 100%;
}


@media screen and (max-width: 1200px) and (min-width: 768px) {
    .barkley-event {
        padding-right: 90px;
    }
    .barkley-events-list .barkley-event {
        flex-wrap: wrap;
    }
    .barkley-event-second-column {
        width: calc(100% - 110px);
    }
    .barkley-events-list .barkley-event-badge {
        position: relative;
        top: 0;
        right: 0;
        flex-basis: 410px;
        left: 110px;
        width: 100%;
        margin: 20px 0;
    }
    .barkley-events-list .eael-tooltip .eael-tooltip-text {
        width: 200px !important;
    }
}
@media screen and (max-width: 991px) {
    .barkley-event {
        padding-right: 88px;
    }
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .barkley-events-list .eael-tooltip .eael-tooltip-text.eael-tooltip-left {
        left: 150px;
    }
    .barkley-events-list .eael-tooltip .eael-tooltip-text.eael-tooltip-left::after {
        right: 100%;
        left: auto;
        transform: rotate(180deg);
    }
}
@media screen and (max-width: 767px) {
    .barkley-events-list .barkley-event-badge {
        position: relative;
        top: 0;
        right: 0;
        flex-basis: 85%;
        left: 0;
        width: 100%;
    }
    .barkley-events-list .barkley-event-badge .elementor-widget-wrap {
        flex-direction: column-reverse;
        align-items: center !important;
        align-content: center !important;
        gap: 10px;
    }
    .barkley-events-list .barkley-event-badge .elementor-widget-wrap .elementor-widget-eael-tooltip {
        left: -10px;
        right: 0;
        margin: 0 auto;
    }
    body .eael-tooltip .eael-tooltip-text.eael-tooltip-left {
        top: -38px;
        left: 7px;
        width: 164px !important;
    }
    body .eael-tooltip .eael-tooltip-text.eael-tooltip-left::after {
        left: 35px !important;
        top: 100% !important;
        transform: rotate(90deg);
    }
    .barkley-event-date span {
        margin: 15px 0;
    }
}
/** end RIBBON **/

@media screen and (max-width: 1140px) {
	.product-box-course .product-box .elementor-shortcode .product {
        padding: 12px 12px 152px;
	}
	.product-box-course .product-box-content span.product-box-content-right del {
        line-height: 1;
        height: 17px;
    }
	.product-box-course .product-box-content span.product-box-content-right ins {
        display: block;
        line-height: 1;
        position: relative;
        bottom: -6px;
    }
    .product-box-course .product-box-content > span {
        font-size: 18px;
        letter-spacing: -1px;
    }
}
@media screen and (max-width: 991px) and (min-width: 769px) {
	.product-box-course {
        width: calc(49% - 20px);
    }
    .product-box-course.per-row-4 {
        width: calc(33% - 20px);
    }
    .product-box-course .product-box-image img {
        height: 32vw;
    }
    .account-nav-tabs .product-box-course .product-box-image img {
        height: 250px;
    }
}
@media screen and (max-width: 768px) {
	.product-box-course {
        width: calc(49% - 16px);
    }
    .product-box-course.per-row-4 {
        width: calc(50% - 20px);
    }
    .product-box-course .product-box-image img {
        height: 41vw;
    }
    .account-nav-tabs .product-box-course .product-box-image img {
        height: 250px;
    }
}

@media screen and (max-width: 490px) {
	.product-box-course {
		width: 100%;
    }
    .product-box-course.per-row-4 {
        width: 100%;
    }
    .product-box-course .product-box-image img {
        height: 83vw;
    }
    .account-nav-tabs .product-box-course .product-box-image img {
        height: 250px;
    }
}
