/*
Theme Name: Monkey Vision
Description: This is a child theme for Neve
Author: ThemeIsle
Template: neve
*/

/*** GENERAL ***/
:root {
    --primary: #d7393e;
}

/*** HEADER ***/
header .has-nav {
    padding-left: 0 !important;
}

/*** LOGIN BUTTON ***/
.learndash-wrapper .ld-button.ld-login-button {
    color: #fff !important;
    border-radius: 0 !important;
    transition: all ease .3s !important;
}

.learndash-wrapper .ld-button.ld-login-button:hover:not(.learndash-link-previous-incomplete):not(.ld-button-transparent) {
    opacity: 1 !important;
    background-color: #000 !important;
}

.learndash-wrapper .ld-button.ld-login-button .ld-icon {
    margin-left: 5px !important;
}

/*** CONTINUE BUTTON ***/
.elementor-shortcode .ld-course-list-items.row,
.elementor-shortcode .learndash-wrapper .ld-item-list {
    margin: 0 !important;
}

.elementor-shortcode .learndash-wrapper .ld-item-list .ld-item-list-item {
    border: none !important;
    margin: 0 !important;
}

.elementor-shortcode .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview {
    padding: 0 !important;
}

.elementor-shortcode .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview a {
    background: #000 !important;
    color: #fff !important;
    transition: all ease .3s !important;
    padding: 20px 40px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}

.elementor-shortcode .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview a:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

/*** PRODUCT PAGE ***/
.single-product .neve-main > .shop-container .nv-shop.col {
    max-width: 100% !important;
}

.single-product .product-type-course .quantity {
    display: none !important;
}

.single-product .product-type-course .single_add_to_cart_button:hover {
    background-color: #000 !important;
    color: #fff !important;
}

.single-product .product-type-course .posted_in {
    display: none !important;
}

.single-product .nv-bc-count-wrap {
    display: none !important;
}

/*** LEARNDASH BUTTONS AND LINKS ***/
.learndash-wrapper a {
    transition: all ease .3s;
}

.learndash-wrapper .ld-expand-button,
.ld-content-actions input,
.ld-content-actions a {
    border-radius: 0 !important;
    transition: all ease .3s !important;
}

.learndash-wrapper .ld-expand-button:hover,
.ld-content-actions input:hover,
.ld-content-actions a:hover {
    opacity: 1 !important;
    background-color: #000 !important;
    color: #fff !important;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-expand-button:hover span {
    color: #000 !important;
}

.learndash-wrapper .ld-content-actions .ld-content-action .ld-course-step-back {
    margin-top: 10px !important;
}

.learndash-wrapper .ld-content-actions .ld-content-action .ld-course-step-back:hover {
	background: transparent !important;
	color: #000 !important;
}

@media screen and (max-width: 640px) {
    .learndash-wrapper .ld-content-actions {
        flex-direction: row !important;
        flex-wrap: wrap;
    }

    .learndash-wrapper .ld-content-actions div:first-child, .learndash-wrapper .ld-content-actions div:nth-child(3) {
        flex-basis: 50%;
    }
}

@media screen and (max-width: 475px) {
    .learndash-wrapper .ld-content-actions div:first-child, .learndash-wrapper .ld-content-actions div:nth-child(3) {
        flex-basis: 100%;
    }
}

/*** LEARNDASH PROGRESS ***/
.learndash-wrapper .ld-topic-status,
.learndash-wrapper .ld-breadcrumbs .ld-status.ld-status-complete,
.learndash-wrapper .ld-lesson-status,
.learndash-wrapper .ld-breadcrumbs .ld-status.ld-status-progress,
.learndash-wrapper .ld-course-status.ld-course-status-enrolled,
.learndash-wrapper .ld-progress .ld-progress-bar {
    border-radius: 0 !important;
}

/*** TRAINING OVERVIEW ***/
body.sfwd-courses-template .learndash-wrapper {
    display: flex;
    flex-direction: column;
}

.learndash-wrapper .ld-item-list .ld-item-list-item,
.learndash-wrapper .ld-table-list {
    border-radius: 0 !important;
}

body.sfwd-courses-template .learndash-wrapper .ld-tabs {
    display: flex;
    order: 1;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
	justify-content: center;
}

body.sfwd-courses-template .learndash-wrapper .learndash-wrapper .ld-tabs .ld-tabs-navigation {
    max-width: 1150px;
}

body.sfwd-courses-template .learndash-wrapper .ld-tabs .ld-tab-content:nth-of-type(2) {
    max-width: 1150px;
    margin: auto;
}

body.sfwd-courses-template .learndash-wrapper .learndash-shortcode-wrap {
    padding: 10px;
}

body.sfwd-courses-template .learndash-wrapper .learndash-shortcode-wrap:first-of-type {
    display: flex;
    order: 2;
    width: 100%;
	max-width: 1140px;
	margin: auto;
}

body.sfwd-courses-template .learndash-wrapper .learndash-shortcode-wrap:last-of-type {
    display: flex;
    order: 3;
    margin-bottom: 40px;
}

body.sfwd-courses-template .learndash-wrapper .ld-tabs .ld-tabs-content {
    width: 100%;
}

.banner-training .elementor-widget-wrap {
    padding: 0 !important
}

body.sfwd-courses-template .learndash-wrapper .learndash-shortcode-wrap .learndash.user_has_access {
    max-width: 1140px;
	margin: auto;
	width: 100%;
}

.banner-training .elementor-widget-wrap img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name,
.learndash-wrapper .ld-topic-list.ld-table-list .ld-table-list-item .ld-table-list-item-preview {
    flex: auto !important;
    align-items: center !important;
    text-decoration: none !important;
}

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

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-title .ld-item-components {
    margin: 0 !important;
}

.learndash-wrapper .ld-progress .ld-progress-heading .ld-progress-steps {
    display: none !important;
}

.sfwd-courses-template  .ld-item-title .ld-item-components {
    display: none !important;
}

/*** HOOFDSTUK OVERVIEW ***/
.single-sfwd-topic .neve-main > .single-post-container .nv-single-post-wrap.col {
    max-width: 100% !important;
}

.learndash-wrapper .ld-breadcrumbs .ld-breadcrumbs-segments span a {
    color: #000 !important;
    text-decoration: none !important;
    transition: all ease .2s !important;
}

.learndash-wrapper .ld-breadcrumbs .ld-breadcrumbs-segments span a:hover {
    color: var(--primary) !important;
}

.nv-meta-list {
    display: none !important;
}

.learndash-wrapper .ld-content-actions {
    align-items: center;
}

.nv-comment-content a, .nv-content-wrap a:not(.button):not(.wp-block-file__button) {
    text-decoration: none !important;
}

body.sfwd-courses-template .elementor-section:not(.banner-training) {
    margin: 40px 0;
}

/*** LESSON PAGE ***/

body.single-sfwd-lessons .neve-main > .single-post-container .nv-single-post-wrap.col {
    max-width: 100% !important;
}

body.learndash-cpt.learndash-embed-responsive .ld-video {
    margin-top: 40px;
    margin-bottom: 40px;
}

/*** LEARNDASH WARNINGS ***/
.learndash-wrapper .ld-alert-warning {
    border-radius: 0 !important;
}

.learndash-wrapper .ld-alert-warning .ld-button {
    border-radius: 0 !important;
    background-color: #d7393e !important;
    color: #fff !important;
    transition: all ease .3s !important;
}

.learndash-wrapper .ld-alert-warning .ld-button:hover {
    background-color: #000 !important;
    color: #fff !important;
}

.learndash-wrapper .ld-alert-warning .ld-button:hover .ld-icon {
    color: #fff !important;
}

/*** IF NOT ENROLLED ***/
.learndash-wrapper .ld-course-status.ld-course-status-not-enrolled>* {
    border: none !important;
}

.learndash-wrapper .ld-course-status.ld-course-status-not-enrolled {
    border-radius: 0 !important;
}

.learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .ld-status {
    border-radius: 0 !important;
}

.learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .ld-course-status-seg-price {
    display: none !important;
}

.learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .ld-course-status-seg-action {
    display: none !important;
}

/*** TRAINING ARCHIVE ***/

body.post-type-archive-sfwd-courses .nv-page-title-wrap.nv-big-title .nv-page-title {
    border: none !important
}

body.post-type-archive-sfwd-courses .posts-wrapper>article {
    flex-basis: 100% !important;
    max-width: 100% !important;
}

body.post-type-archive-sfwd-courses .article-content-col .content {
    border: none !important;
}

body.post-type-archive-sfwd-courses .article-content-col .content a {
    display: block !important;
    margin-top: 10px !important;
}

/*** WOOCOMMERCE ***/
.button.button-secondary:not(.secondary-default), .wp-block-button.is-style-secondary .wp-block-button__link, .woocommerce-cart table.cart td.actions .coupon > .input-text + .button, .woocommerce-checkout #neve-checkout-coupon .woocommerce-form-coupon .form-row-last button, .woocommerce button.button:not(.single_add_to_cart_button), .woocommerce a.added_to_cart, .woocommerce .checkout_coupon button.button, .woocommerce .price_slider_amount button.button, .woocommerce .button.button-secondary.more-details, .woocommerce-checkout #neve-checkout-coupon .woocommerce-form-coupon .form-row-last button.button, .woocommerce div.sp-quick-view-product.top {
    padding: 10px !important;
}

.woocommerce table.cart td.actions .input-text#coupon_code {
    padding: 8.5px !important;
	border-radius: 0;
	margin-right: 15px !important;
}

.woocommerce ul.woocommerce-error:has(.wc-forward) {
    padding: 0 !important;
}

.woocommerce ul.woocommerce-error .wc-forward {
    width: 100% !important;
}