/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* 
colors:
green darker: #003D42
green dark: #006F5A   /   #006F57
green: #00996E
green light:  #66CC99
red: #B93443
beige: #F4EDE3

*/





/* Grid */

@media only screen and (min-width: 1000px) {

    .container, 
    body[data-header-format="left-header"] .container, 
    .woocommerce-tabs .full-width-content .tab-container, 
    .nectar-recent-posts-slider .flickity-page-dots, 
    .post-area.standard-minimal.full-width-content .post .inner-wrap, 
    .material #search-outer #search {
        max-width: 1200px;
    }

    .boxed-column {
        max-width: 1200px;
    }

    .boxed-column-small {
        max-width: 960px;
    }

    .boxed-column-small .wpb_video_widget {
        max-width: 600px;
        margin: 0 auto;
    }

}


.fullwidth_img {
	min-width: 100vw;
}

.vc_column_container[data-shadow="large_depth"] .vc_column-inner {
    box-shadow: 0 40px 100px rgba(0, 0, 0, .15), 0 25px 80px rgba(0, 0, 0, .1);
}

span.acf_cursus_date {
    display: block;
}



/* Header */

.menu-item-has-icon .nectar-menu-icon {
    order: 2;
    margin-left: 20px;
    margin-right: -5px !important;
    font-family: icomoon !important;
    speak: none;
}

.menu-item-has-icon .nectar-menu-icon.fa-arrow-right:before {
    content: "\e909";
}

#header-outer[data-lhe="animated_underline"].transparent #top nav > ul > li > a .menu-title-text:after, 
#header-outer.transparent #top nav>ul>li[class*="button_bordered"]>a:before, 
#header-outer.transparent .nectar-mobile-only.mobile-header li a .menu-title-text:after {
    border-color: #66CC99 !important;
}

.menu-item-btn-style-button_accent-color .menu-title-text {
    font-family: Roboto Slab;
}


/* Buttons */

header li[class*="menu-item-btn-style"] > a:before,
body[data-button-style*="slightly_rounded"] .container-wrap .nectar-button {
    border-radius: 50px !important;
    -webkit-border-radius: 50px !important;
}

.nectar-button.large {
	font-size: 18px;
}

.cursus-label {
    background: #006F5A;
    display: inline-block;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
}

.nectar-cta.bordered span.arrow {
    border: solid 1px #fff;
    display: block;
}

.wpb_wrapper h3.vc_custom_heading.personal-cta {
    font-size: 36px !important;
    /* line-height: 32px !important; */
    max-width: 200px;
}




/* Icon with text */

.iwt-text h4 {
    margin: 0 !important;
    font-size: 20px !important;
}

.iwithtext .iwt-icon i {
    font-size: 20px;
    border: solid 2px #66cc99;
    display: flex
;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 5px;
    height: 40px;
    width: 40px;
}




/* Horizontal List Item */

.nectar-hor-list-item>.nectar-list-item > h4 {
    max-width: 380px;
    font-size: 20px;
    line-height: 28px;
}

.nectar-hor-list-item a.nectar-list-item-btn {
    border: solid 1px #66CC99 !important;
    border-radius: 20px !important;
    padding: 11px 30px !important;
}

.nectar-hor-list-item a.nectar-list-item-btn:after {
    content: "\e909";
    position: relative;
    top: 2px;
    font-family: icomoon !important;
    font-size: 16px;
    margin-left: 10px;
}

.nectar-hor-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nectar-hor-list-item .nectar-list-item[data-text-align=left] {
    padding-right: 10px;
}

.nectar-hor-list-item[data-columns="4"]>.nectar-list-item {
    width: auto;
}

.nectar-list-item:nth-child(1) {
    flex: 0 0 35%;
}

.nectar-list-item:nth-child(2) {
    flex: 0 0 19%;
}

.nectar-list-item:nth-child(3) {
    order: 9;
}


/* Tabs */

.tabbed[data-style=minimal] .wpb_tabs_nav {
    margin-bottom: 40px;
}

.wpb_wrapper.tabbed[data-style=minimal] .wpb_tabs_nav .cta-button {
    position: relative;
    top: 15px;
    transform: none;
    float: right;
}

.tabbed[data-style*=minimal]>ul li:not(.cta-button) .active-tab, 
.tabbed[data-style*=minimal]>ul li:not(.cta-button) a {
    font-weight: 700;
}


/* Image masks */

.img-mask-1 .img-with-aniamtion-wrap:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(mask-1.png);
    background-size: 100% 100%;
}

[aria-label='img-mask-2']:after,
.img-mask-2 .img-with-aniamtion-wrap:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(mask-2.png);
    background-size: 100% 100%;
}

[aria-label='img-mask-2'] {
    pointer-events: none !important;
    cursor: default;
}



/* Team member */

.team-member-image-inner {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    transform: scale(1) !important;
}

.team-member[data-style=bio_fullscreen_alt] h3 {
    font-size: 24px;
}

.team-member .nectar-cta[data-style=arrow-animation] .line {
    background: #fff !important;
}

.team-member .nectar-cta[data-style=arrow-animation] .link_wrap .link_text {
    background: #B93443;
    color: #fff !important;
    margin-top: 20px;
    padding: 10px 60px 10px 25px;
    border-radius: 50px;
    font-family: Roboto Slab;
    font-weight: 500;
}

.team-member .nectar-cta[data-style=arrow-animation] .link_wrap .link_text:before {
    content: 'Lees meer';
}

.team-member .nectar-cta {
    text-align: center;
}

.team-member .nectar-cta[data-style=arrow-animation] .line {
    background: #fff !important;
    left: auto;
    right: 25px;
}

.team-member .nectar-cta[data-style=arrow-animation] svg {
    left: auto;
    right: 20px;
}




/* Call to Action (Material Button / Arrow) */

.nectar-cta .link_wrap .arrow:before {
    content: "\e909";
}




/* Gravity Forms - Gforms */

p.gform_required_legend {
    display: none;
}

.gform-theme--foundation .gform_fields {
    grid-row-gap: 15px;
    row-gap: 15px;
}

label.gfield_label.gform-field-label {
    font-size: 16px !important;
    margin-bottom: 10px !important;
    /* color: #006F5A !important; */
}

.gform_wrapper.gform-theme--orbital .gfield input, 
.gform_wrapper.gform-theme--orbital .gfield select, 
.gform_wrapper.gform-theme--orbital .gfield textarea {
    border-radius: 10px;
    border: solid 1px transparent;
    box-shadow: 0px 0px 10px 0px #00000026 !important;
    background: transparent;
    padding: 0 15px;
    height: 45px !important;
    line-height: 45px;
    color: #006F5A;
}

.gform-footer.gform_footer {
    margin-top: 40px;
}

.gform-footer.gform_footer input[type=submit] {
    font-family: Roboto Slab !important;
    font-size: 18px !important;
    border-radius: 70px !important;
    background: #b93443 !important;
}

.gform-footer.gform_footer input[type=submit]:hover {
    background: #003d42 !important;
}

.gform_confirmation_message {
    color: #003e43;
    font-weight: 700;
}

.grecaptcha-badge {
    right: -800px !important;
}




/* Cursus loops */

.dho_cursus_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.dho_cursus_wrapper.columns-3 {
    justify-content: center;
}

.event_card {
    position: relative;
    flex: 0 0 calc(25% - 15px);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .15);
}

.event_card .event_card_image_wrap {
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    display: block;
    height: 175px;
}

.event_card .wp-post-image {
    transition: all .65s cubic-bezier(.05,.2,.1,1) !important;
    transform-origin: center center;
    margin-bottom: 0 !important;
    object-fit: cover;
    object-position: center;
    height: 100% !important;
}

.event_card:hover .wp-post-image {
    transform: scale(1.13);
}

.event_card_content {
    padding: 15px 15px 70px 15px;
}

.row .col .event_card h3 {
    font-size: 20px;
    line-height: 28px;
    margin-top: 15px;
    color: #003d42;
}

p.cursus_subtitel {
    line-height: 1.4;
    font-size: 14px;
    color: #026f5a;
    font-weight: 400;
    font-family: Roboto Slab;
    /* letter-spacing: -1px; */
}

p.cursus_punten {
    font-size: 12px;
    font-weight: 700;
    font-family: Roboto Slab;
    padding-bottom: 5px;
    margin-top: -10px;
    min-height: 35px;
}

.event_card .cursus_organisator {
    color: #31735d;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    font-style: italic;
}

.event_card .nectar-cta {
    position: absolute;
    z-index: 1;
    bottom: 15px;
    right: 15px;
    width: calc(100% - 30px);
}

.event_card .nectar-cta a {
    width: 100%;
}

.event_card .nectar-cta[data-style="material"] .link_wrap .arrow {
    overflow: hidden;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -14px;
    height: 25px;
    line-height: 28px;
    width: 24px;
    border-radius: 50px;
    transition: all 0.33s cubic-bezier(0.12,0.75,0.4,1);
    color: #fff;
}

.event_card .nectar-cta[data-style="material"].text_hover_color_006f5a .link_wrap:hover {
    color: #006f5a !important;
}

.event_card .nectar-cta[data-style="material"].text_hover_color_006f5a .link_wrap:hover .circle {
    background-color: #006f5a !important;
}

.event_card .nectar-cta[data-style="material"] .link_wrap .circle {
    transform: scale(0.85);
    height: 27px;
    width: 27px;
    right: -1px;
    margin-top: -14px;
}

.event_card .nectar-cta[data-style="material"] .link_wrap:hover .circle, 
.event_card .nectar-cta[data-style="material"] .link_wrap:hover .link_text:before {
    transform: scale(1);
}

.event_card .nectar-cta[data-style="material"] .link_wrap .arrow:before {
    margin-top: -14px;
    height: 28px;
    line-height: 28px;
    width: 25px;
    padding-left: 1px;
    box-sizing: border-box;
    color: #fff;
}

.event_card .nectar-cta[data-style="material"] .link_wrap .link_text:before {
    box-shadow: 0 9px 20px;
    opacity: 0.29;
    border: none;
    z-index: -1;
    transform: scale(0.84);
}

.event_card .nectar-cta[data-style="material"] .link_wrap .link_text:after {
    background-color: inherit;
    border: none;
}

img.event-card-dho-logo {
    margin: 20px 0 0 !important;
    /* max-width: 140px !important; */
}

.event_card_cta {
    display: flex;
    align-items: stretch;
    padding: 0 !important;
    flex: 0 0 calc(25% - 15px);
    margin-bottom: 0 !important;
}

.event_card_cta .vc_column-inner {
    display: flex;
    align-items: flex-end;
}

.home .event_card_cta {
    display: none !important;
}


/* Course Calendar */

#ajax-content-wrap .border_color_66cc99.nectar-hor-list-item {
    border: none;
    transition: opacity 1.1s cubic-bezier(0.65,0,0.25,1);
}

#ajax-content-wrap .border_color_66cc99.nectar-hor-list-item.animated-in:after {
    transform: scaleX(1);
}
#ajax-content-wrap .border_color_66cc99.nectar-hor-list-item:after {
    background-color: #66cc99;
}
#ajax-content-wrap .border_color_66cc99.nectar-hor-list-item:after {
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    content: "";
    display: block;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.1s cubic-bezier(0.65,0,0.25,1);
}







/* Single Cursus Houtbouw */

.single-cursus-houtbouw .post-area {
    margin-top: 0;
}

.single-cursus-houtbouw .main-content>.row {
    padding-bottom: 0;
}




/* Past course message */
.past-course-message {
    background: #e80505;
    display: inline-block;
    padding: 15px 15px;
    border-radius: 10px;
    border: solid 3px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    font-family: Roboto Slab;
    letter-spacing: -1px;
}

.past-course-message > span {
    font-size: 30px;
}

.past-course-message a {
    text-decoration: underline;
    opacity: 1 !important;
}

.past-course-message a:hover {
    opacity: 0.7 !important;
}







/* Footer */

.material #footer-outer {
    font-size: 17px;
}

.material #footer-outer #footer-widgets .col ul li {
    padding: 2px !important;
}

.material #footer-outer #media_image-2 img {
    max-width: 250px !important;
    margin-top: 7px;
}





@media only screen and (min-width: 1px) and (max-width: 999px) {

    .boxed-column,
    .boxed-column-small {
        max-width: var(--mobile-container-width);
    }

    .boxed-column h1 {
        max-width: 500px !important;
    }

    header .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wpb_wrapper h3.vc_custom_heading.personal-cta {
        font-size: 48px !important;
        line-height: 50px !important;
        max-width: 290px;
        margin-bottom: 20px;
    }

    ul.wpb_tabs_nav.ui-tabs-nav.clearfix {
        display: flex;
        justify-content: center;
    }

    .wpb_wrapper.tabbed[data-style=minimal] .wpb_tabs_nav .cta-button {
        display: none;
    }

    .nectar-hor-list-item {
        flex-wrap: wrap;
    }

    .nectar-hor-list-item[data-columns="3"] .nectar-list-item,
    .nectar-hor-list-item[data-columns="4"] .nectar-list-item {
        flex: 0 0 100% !important;
    }

    .nectar-hor-list-item[data-columns="3"] .nectar-list-item h4,
    .nectar-hor-list-item[data-columns="4"] .nectar-list-item h4 {
        max-width: 100%;
    }

    .nectar-list-item:nth-child(3) {
        order: inherit;
    }

    .nectar-hor-list-item[data-columns="3"] .nectar-list-item .nectar-list-item-btn, 
    .nectar-hor-list-item[data-columns="4"] .nectar-list-item .nectar-list-item-btn {
        position: relative;
        top: 0;
        right: 0;
        margin: 20px 0 0;
    }

    .nectar-hor-list-item.has-btn[data-columns="3"]>div:nth-child(1), 
    .nectar-hor-list-item.has-btn[data-columns="4"]>div:nth-child(1) {
        padding-right: 0;
    }

    .event_card,
    .event_card_cta {
        flex: 0 0 calc(50% - 10px);
    }

    .event_card .event_card_image_wrap {
        height: 270px;
    }

}

@media only screen and (min-width: 1px) and (max-width: 767px) {

    .container,
    .boxed-column,
    .boxed-column-small {
        max-width: 100%;
    }

    .wpb_wrapper h3.vc_custom_heading.personal-cta {
        font-size: 28px !important;
        line-height: 32px !important;
        max-width: 400px;
        margin-bottom: 20px;
    }

    .wpb_wrapper h3.vc_custom_heading.personal-cta + .nectar-cta.bordered {
        margin-bottom: 50px;
    }

    .material #footer-widgets,
    .material #copyright {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

}

@media only screen and (min-width: 1px) and (max-width: 690px) {

.tabbed[data-style*=minimal]>ul li:not(.cta-button) .active-tab, 
.tabbed[data-style*=minimal]>ul li:not(.cta-button) a {
    padding: 10px;
    font-size: 15px;
}

.event_card,
.event_card_cta {
    flex: 0 0 100%
}

}

