/*
Theme Name:     Hello-elementor-child
Theme URI:      
Description:    Hello-elementor child theme.
Author:         Blauwwwdruk
Author URI:     https://www.blauwwwdruk.nl
Template:       hello-elementor
Version:        0.1.0
*/

/**************************************
    TABLE OF CONTENTS 
***************************************

1. TYPOGRAFY
2. ELEMENTS
    - ELEMENTOR
    - WIDGETS
3. LINKS
4. NAVIGATION
    - MENUS
    - SEARCHFORM
    - CTA
    - PAGINATION
5. FOOTER
6. RESPONSIVE

/**************************************

***************************************/

/* 
* TYPOGRAFY 
*/

/* 
* ELEMENTS 
*/

a.clipped-button {
    display: block;
    padding: 15px 46px 15px 26px;
    border: solid 2px #000;
    background-color: #000;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

a.clipped-button i {
    margin-left: 1em;
}

a.clipped-button,
.clipped-button a.elementor-button,
.clipped-button button.elementor-button {
    position: relative;
}

a.clipped-button::before,
a.clipped-button::after,
.clipped-button a.elementor-button::after,
.clipped-button a.elementor-button::before,
.clipped-button button.elementor-button::after,
.clipped-button button.elementor-button::before {
    position: absolute;
    right: -7px;
    top: 20px;
    content: "";
    width: 42px;
    height: 42px;
    background-color: inherit;
    border: 2px solid;
    border-color: inherit;
    border-top: 0;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(-135deg) translateX(-50%);
    -webkit-transform: rotate(-135deg) translateX(-50%);
    -moz-transform: rotate(-135deg) translateX(-50%);
    -ms-transform: rotate(-135deg) translateX(-50%);
    -o-transform: rotate(-135deg) translateX(-50%);
}

a.clipped-button::before,
.clipped-button a.elementor-button::before,
.clipped-button button.elementor-button::before {
    top: -7px;
    transform: rotate(135deg) translateX(-50%);
    -webkit-transform: rotate(135deg) translateX(-50%);
    -moz-transform: rotate(135deg) translateX(-50%);
    -ms-transform: rotate(135deg) translateX(-50%);
    -o-transform: rotate(135deg) translateX(-50%);
}

a.clipped-button.on-green::after,
a.clipped-button.on-green::before,
.clipped-button.on-green a.elementor-button::after,
.clipped-button.on-green a.elementor-button::before,
.clipped-button.on-green a:hover.elementor-button::after,
.clipped-button.on-green a:hover.elementor-button::before,
.clipped-button.on-green button.elementor-button::after,
.clipped-button.on-green button.elementor-button::before,
.clipped-button.on-green button:hover.elementor-button::after,
.clipped-button.on-green button:hover.elementor-button::before {
    background-color: #62C494;
}

a.clipped-button.on-grey::after,
a.clipped-button.on-grey::before,
.clipped-button.on-grey a.elementor-button::after,
.clipped-button.on-grey a.elementor-button::before,
.clipped-button.on-grey a:hover.elementor-button::after,
.clipped-button.on-grey a:hover.elementor-button::before,
.clipped-button.on-grey button.elementor-button::after,
.clipped-button.on-grey button.elementor-button::before,
.clipped-button.on-grey button:hover.elementor-button::after,
.clipped-button.on-grey button:hover.elementor-button::before {
    background-color: #F0F0F0;
}

a.clipped-button.on-white::after,
a.clipped-button.on-white::before,
.clipped-button.on-white a.elementor-button::after,
.clipped-button.on-white a.elementor-button::before,
.clipped-button.on-white a:hover.elementor-button::after,
.clipped-button.on-white a:hover.elementor-button::before,
.clipped-button.on-white button.elementor-button::after,
.clipped-button.on-white button.elementor-button::before,
.clipped-button.on-white button:hover.elementor-button::after,
.clipped-button.on-white button:hover.elementor-button::before {
    background-color: #fff;
}

.clipped-section::before {
    position: absolute;
    z-index: 1;
    right: -7px;
    bottom: -7px;
    content: "";
    width: 16px;
    height: 16px;
    background-color: white;
    transform: rotate( -135deg );
    -webkit-transform: rotate( -135deg );
    -moz-transform: rotate( -135deg );
    -ms-transform: rotate( -135deg );
    -o-transform: rotate( -135deg );
}

.clipped-section.green::before {
    border: 0;
}

.clipped-section.white::before {
    border: 2px solid;
    border-color: inherit;
    border-top: 0;
    border-left: 0;
    border-bottom: 0;
}

a.clipped-button.extra-class::before,
a.clipped-button.extra-class::after,
.clipped-button.extra-class a.elementor-button::after,
.clipped-button.extra-class a.elementor-button::before,
.clipped-button.extra-class button.elementor-button::after,
.clipped-button.extra-class button.elementor-button::before {
    right: 0px;
    width: 24px;
}

/* Appointment Calendar */

.wc-appointments-date-picker .ui-datepicker td .ui-state-default {
    padding: 4px
}

/* Custom date calendar */

#bd-calendar.calendar td.date,
#bd-calendar.calendar td.training {
    border: none;
    background-color: transparent;
}

#bd-calendar.calendar td.date span.year,
#bd-calendar.calendar td.training span.desc {
    color: #818a91;
}

#bd-calendar.calendar td.training a {
    color: #000;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

#bd-calendar.calendar td.training a:hover {
    color: #62C494;
}

#bd-calendar.calendar td.training span.full {
    line-height: 25px;
    background-color: #C46295;
    color: white;
    padding: 0px 4px;
    font-weight: 700;
}

/* Custom Search & Book */
.search-book-container > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
            justify-content: center;
} 

.search-book-container select {
    background-color: transparent;
    border: none;
    border-bottom: solid 2px #62c494;
    border-radius: 0;
    -webkit-appearance: none;
    padding-right: 36px;
    padding-left: 2px;
}

.search-book-container .select {
    position: relative;
}

.search-book-container .select::after {
    content: "";
    width: 50px;
    height: 50px;
    background: url(./assets/green-white-chevron.svg);
    position: absolute;
    display: inline-block;
    right: -8px;
}

.search-book-container h4 {
    font-family: "konnect", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 26.1px;
}

.search-book-container span#searchBookLink a {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.search-book-container span#searchBookLink a:hover {
    color: #000;
    background-color: #fff;
}

.search-book-container span#searchBookLink.inactive a:hover {
    color: #fff;
    background-color: #000;
}

.search-book-container span#searchBookLink.inactive a {
    pointer-events: none;
}

.search-book-container span#searchBookLink {
    margin: 30px 20px 30px 0;
}

.search-book-container span#searchBookLink.inactive:hover {
    cursor: not-allowed;
}

/* 
* - ELEMENTOR 
*/

.elementor-popup-modal .dialog-close-button {
    padding: 57px 25px 25px 25px;
    top: -105px;
    right: 0;
    background-color: var(--e-global-color-primary);
}

#mobile-menu .elementor-nav-menu {
    border-top: 2px solid black;
}

#mobile-menu .elementor-nav-menu li {
    border-bottom: 2px solid black;
}

#mobile-menu .elementor-nav-menu li {
    background: url(/wp-content/themes/blauwwwdruk-child/assets/arrow-black.svg) no-repeat left center;
    padding-left: 40px;
}

.opleidingen table td {
    border: none;
}

.opleidingen table tbody tr:hover > td, table tbody tr:hover > th {
    background-color: #fff;
}

.opleidingen table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th {
    background-color: #fff;
}

.volgeboekt {
    background-color: var(--e-global-color-accent);
    color: #fff;
    padding: 2px 7px;
}

.populair {
    color: var(--e-global-color-16603c0);
}

.testimonial-section .elementor-testimonial {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    text-align: center;
}

.testimonial-section .elementor-testimonial .elementor-testimonial__content {
    padding: 30px 25px 10px 25px !important;
}

.testimonial-section .elementor-testimonial .elementor-testimonial__header {
    padding: 10px 25px 30px 25px !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.testimonial-section .elementor-testimonial .elementor-testimonial__icon {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    margin-left: unset;
    padding-top: 20px;
}

.testimonial-section .elementor-star-rating i:before {
    color: black;
}

.testimonial-section .elementor-swiper {
    max-width: 720px;
    margin: auto;
}

.testimonial-section .eicon-chevron-left:before,
.testimonial-section .eicon-chevron-right:before {
    display: inline-block;
    content: "";
    background: url(/wp-content/themes/blauwwwdruk-child/assets/arrow.svg) no-repeat center;
    background-size: 85px 85px;
    height: 50px;
    width: 50px;
}

.testimonial-section .eicon-chevron-left:before {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
}

.elementor-widget-wp-widget-tag_cloud h5 {
    display: inline-block;
    padding-right: 5px;
}

.tagcloud {
    display: inline-block;
}

.tag-cloud-link {
    font-size: 17px !important;
    color: grey;
    text-decoration: underline;
}

/* Trainingen list arrows */
.trainingen-list h3.elementor-post__title::before {
    content: "\f061";
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-size: 14px;
    padding-right: 5px;
}

/* post archive */

.post-archive-tags ul {
    min-height: 40px;
}

.tag-cloud-link {
    text-decoration: underline !important;
}

.tag-cloud-link::after {
    content: ",";
}

/* active tabs */

.elementor-element .elementor-widget.elementor-widget-tabs .elementor-tab-title.elementor-active:after {
    background-color: #62C494;
    width: calc(100% - 50px);
    margin: auto;
    height: 3px;
    left: 25px;
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
    -webkit-animation: fadeIn 0.3s ease-in forwards;
}

.elementor-element .elementor-widget.elementor-widget-tabs .elementor-tab-content.elementor-active {
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
    -webkit-animation: fadeIn 0.3s ease-in forwards;
}

@-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Checkout page */
.bestellen .elementor-widget-woocommerce-checkout-page .e-checkout__container {
    -ms-grid-columns: 50% auto;
    grid-template-columns: 50% auto;
}

.bestellen .elementor-widget-woocommerce-checkout-page .woocommerce h3 {
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
    margin-top: -130px;
    margin-bottom: 50px;
    line-height: 50px;
}

/* Order Received page */

.woocommerce-order-received .woocommerce-order {
    font-family: "Konnect", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #000;
}

.woocommerce-order-received .woocommerce ul.order_details {
    color: #818a91;
}

.woocommerce-order-received .elementor-widget-woocommerce-checkout-page a {
    color: #000;
}

.woocommerce-order-received .elementor-widget-woocommerce-checkout-page a:hover {
    color: #62C494;
}

.woocommerce-order-received .woocommerce .woocommerce-customer-details address {
    border: solid 2px #000;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.woocommerce-order-received .elementor-widget-woocommerce-checkout-page .woocommerce .shop_table tfoot td, 
.woocommerce-order-received .elementor-widget-woocommerce-checkout-page .woocommerce .shop_table tfoot th,
.woocommerce-order-received .elementor-widget-woocommerce-checkout-page .woocommerce .shop_table tr:nth-child(odd)>td, 
.woocommerce-order-received .elementor-widget-woocommerce-checkout-page .woocommerce .shop_table tr:nth-child(odd)>th {
    color: #000;
}

/* 
* - WIDGETS 
*/

/* CHAT WIZARD */

#training-chat-wizard.chat-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

#training-chat-wizard .question-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 100%;
    max-height: 240px;
    transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -ms-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
}

#training-chat-wizard .question-container.hidden {
    max-height: 0;
    opacity: 0;
    -webkit-transform-origin: top left;
        -ms-transform-origin: top left;
            transform-origin: top left;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
}

#training-chat-wizard img.chat-icon {
    -ms-flex-item-align: start;
        align-self: flex-start;
    margin-right: 30px;
}

#training-chat-wizard .chat-question {
    display: inline-block;
    max-width: 346px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

#training-chat-wizard .chat-question .title {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 10px;  
}

#training-chat-wizard .chat-question .text {
    display: block;
    color: #000;
    font-weight: bold;
    font-size: 17px;
    line-height: 25px;
}

#training-chat-wizard .answer-container {
    max-height: 500px;
    transition: all 1s ease-out 1.3s;
    -webkit-transition: all 1s ease-out 1.3s;
    -moz-transition: all 1s ease-out 1.3s;
    -ms-transition: all 1s ease-out 1.3s;
    -o-transition: all 1s ease-out 1.3s;
}

#training-chat-wizard .answer-container.extra-delayed {
    -webkit-transition-delay: 1.6s;
         -o-transition-delay: 1.6s;
            transition-delay: 1.6s;
}

#training-chat-wizard .answer-container.hidden-delayed {
    max-height: 0;
    opacity: 0;
    -webkit-transform-origin: top right;
        -ms-transform-origin: top right;
            transform-origin: top right;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
}

#training-chat-wizard .chat-answer {
    display: block;
    float: left;
    width: 440px;
    max-width: calc(100% - 30px);
    padding: 30px;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

#training-chat-wizard .chat-answer ul {
    list-style: none;
    padding: 0;
    border-top: solid 1px #000;
}

#training-chat-wizard .chat-answer ul li {
    color: #000;
    font-weight: 700;
    font-size: 17px;
    line-height: 2em;
    cursor: pointer;
    border-bottom: solid 1px #000;
    transition: color 0.2s ease;
    -webkit-transition: color 0.2s ease;
    -moz-transition: color 0.2s ease;
    -ms-transition: color 0.2s ease;
    -o-transition: color 0.2s ease;
}

#training-chat-wizard .chat-answer ul li a {
    color: #000;
    transition: color 0.2s ease;
    -webkit-transition: color 0.2s ease;
    -moz-transition: color 0.2s ease;
    -ms-transition: color 0.2s ease;
    -o-transition: color 0.2s ease;
}

#training-chat-wizard .chat-answer ul li a:hover,
#training-chat-wizard .chat-answer ul li.active a,
#training-chat-wizard .chat-answer ul li:hover,
#training-chat-wizard .chat-answer ul li.active {
    color: #62C494;
}

#training-chat-wizard .chat-answer ul li i {
    margin-right: 9px;
}

/* Kies een training overlay */
.wc-appointments-appointment-form-wrap .wc-appointments-appointment-form * {
    font-family: "Konnect", Sans-serif;
}

h2.wc-pao-addon-heading {
    margin: 0;
    font-size: 20px; 
    font-weight: 800; 
    text-transform: none;
}

.wc-pao-addon .wc-pao-addon-description {
    font-style: normal; 
    font-weight: 300; 
    line-height: 1.5;
}

.woocommerce button.button.alt,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:focus {
    background-color: #000 !important;
    padding: 13px;
    width: 50%;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    outline: none;
}

.woocommerce button.button.alt:hover {
    background-color: #62c494 !important;
}

/* 
* LINKS 
*/



/* 
* NAVIGATION 
*/



/* 
* - MENUS 
*/

.elementor-nav-menu .greendot.menu-item a.elementor-item::after {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    position: absolute;
    bottom: 18px;
    right: 15px;
    background-color: #62C494;
    opacity: 1 !important;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

/* 
* - SEARCHFORM
*/



/* 
* - CTA 
*/


/* 
* - PAGINATION 
*/



/* 
* FOOTER 
*/



/* 
* RESPONSIVE
*/


/* 
* !!! Only MOBILE portrait  !!! 
* Use this wisely!
*/
@media screen and (max-width: 480px) {
    /* Responsive custom calendar next trainings */
    #bd-calendar.calendar td.date, 
    #bd-calendar.calendar td.training {
        display: block;
    }

    #bd-calendar.calendar td.date {
        width: 25%;
        float: left;
    }

    #bd-calendar.calendar td.training {
        width: 75%;
        float: left;
    }
}

/* 
* !!! Only MOBILE and TABLET portrait  !!! 
* Use this wisely!
*/
@media screen and (max-width: 768px) {

}

/* MOBILE landscape 480px and wider */
@media screen and (min-width: 480px) {
    .testimonial-section .elementor-testimonial .elementor-testimonial__content {
        padding: 40px 80px 10px 80px !important;
    }
    
    .testimonial-section .elementor-testimonial .elementor-testimonial__header {
        padding: 10px 80px 40px 80px !important;
        -ms-flex-item-align: center;
            -ms-grid-row-align: center;
            align-self: center;
    }

    .testimonial-section .elementor-testimonial .elementor-testimonial__icon {
        position: absolute;
        bottom: 50px;
        right: 50px;
    }
}

@media screen and (min-width: 768px) {
    .tablet {
        display: block;
    }

    #training-chat-wizard .chat-question .text {
        font-size: 20px;
    }
    #training-chat-wizard .chat-answer {
        float: right;
        padding-right: 100px;
    }

    .elementor-popup-modal .dialog-close-button {
        padding: 48px 25px 55px 25px;
        top: -120px;
        right: 0;
        background-color: var(--e-global-color-primary);
    }

}

/* TABLET portrait 768px and wider */
@media screen and (min-width: 769px) {
    .search-book-container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
                justify-content: space-evenly;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
                flex-direction: row;
        gap: 10px;
    }

    .search-book-container select {
        max-width: 260px;
    }

    .search-book-container span#searchBookLink {
        margin: 20px 14px 20px 0;
    }
}

/* TABLET landscape, smaller desktop 1024px and wider */
@media screen and (min-width: 1024px) {

}

/* Wide desktop 1160px and wider */
@media screen and (min-width: 1180px) {

    /* Sticky header */
    header.sticky-header > .elementor-container {
        height: 120px;
        transition: height .45s;
        -webkit-transition: height .45s;
        -moz-transition: height .45s;
        -ms-transition: height .45s;
        -o-transition: height .45s;
    }

    header.sticky-header.elementor-sticky--effects > .elementor-container {
        height: 70px;
    }

    /* Logo resize */
    header.sticky-header .logo img {
        -webkit-transition: -webkit-transform 0.45s;
        transition: -webkit-transform 0.45s;
        transition: transform 0.45s;
        transition: transform 0.45s, -webkit-transform 0.45s;
        -webkit-transition: transform 0.45s;
        -moz-transition: transform 0.45s;
        -ms-transition: transform 0.45s;
        -o-transition: transform 0.45s;
    }

    header.sticky-header.elementor-sticky--effects .logo img {
        -webkit-transform: scale(.4);
            -ms-transform: scale(.4);
                transform: scale(.4);
    }

    /* Sticky subscribe bar */
    .sticky-subscribe-bar > .elementor-container {
        height: 160px;
        -webkit-transition: height .45s;
        -o-transition: height .45s;
        transition: height .45s;
    }
    
    .sticky-subscribe-bar.elementor-sticky--effects > .elementor-container {
        height: 90px;
    }
}