/*
Theme Name: ABC Banden Child
Theme URI: https://www.net-com.be/
Description: Child thema voor ABC Banden door Lennert Bontinck @ Net-Com BV
Author: Lennert Bontinck, Net-Com BV
Author URI: https://www.net-com.be/
Version: 1.0.0
Text Domain: abc
Template: abc
*/

:root {
    /* Logo colors */
    --ABC-logo-yellow-dark: #c8940c;
    --ABC-logo-yellow-light: #f7bb0f;

    --ABC-logo-black-dark: #2d3037;
    --ABC-logo-black-light: #525157;

    --ABC-logo-grey-light: #a8a8a8;

    /* Universal colors */
    --ABC-building-blue: #153069;
    --ABC-universal-white: #ffffff;
    --ABC-universal-grey-faded: #f5f5f5;

    /* Text tones */
    --ABC-text-strong: #1a252f;
    --ABC-text-light: #5f6f75;
    --ABC-text-white: #ffffff;

    /* breakpoints */
    --ABC-width-breakpoint-slider-1: 1024px;
    --ABC-width-breakpoint-slider-2: 778px;
    --ABC-width-breakpoint-slider-3: 480px;
    --ABC-width-breakpoint-1: 1400px;
    --ABC-width-breakpoint-2: 1200px;
    --ABC-width-breakpoint-3: 1000px;
    --ABC-width-breakpoint-4: 778px;
    --ABC-width-breakpoint-5: 600px;
    --ABC-width-breakpoint-6: 480px;
}


/* 
################################################
# General CSS
################################################
*/

/******************
* Buttons
******************/

.ABC_button {
    border-radius: 20px;
}

.ABC_button_colors .qode-button-v2-icon-holder {
    background-color: var(--ABC-building-blue) !important;
    color: var(--ABC-logo-yellow-light) !important;
}

.ABC_button.qode-btn {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 100%;
}

.ABC_button .qode-btn-text {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 64px);
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    display: flex;
    align-items: center;
    line-height: 1.3;
    text-align: center;
}

.ABC_button .qode-button-v2-icon-holder {
    flex: 0 0 64px;
    width: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.ABC_button.qode-btn>span {
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .ABC_button.qode-btn.qode-btn-icon .qode-btn-text {
        padding-right: 20px;
        padding-left: 20px;
    }

    h1 {
        font-size: 34px;
        line-height: 36px;
        word-break: break-word;
    }

    h2 {
        font-size: 24px;
        line-height: 28px;
        word-break: break-word;
    }

    h3 {
        font-size: 20px;
        line-height: 24px;
        word-break: break-word;
    }
}

/******************
* Images
******************/
.ABC_image .vc_single_image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ABC_image .vc_single_image-wrapper:hover {
    transform: translateY(-4px);
}

/******************
* Text alignment
******************/

.ABC_justify * {
    text-align: justify;
    text-align-last: left;
}

.ABC_justify_center * {
    text-align: justify;
    text-align-last: center;
}

/******************
* Header
******************/

.ABC_header {
    background-color: var(--ABC-logo-yellow-light);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ABC_header .vc_column-inner {
    width: 100%;
}

.ABC_header_title * {
    color: var(--ABC-universal-white);
    margin: 0;
    font-size: 55px;
    line-height: 55px;
}

@media only screen and (max-width: 768px) {
    .ABC_header_title * {
        font-size: 34px;
        line-height: 36px;
        word-break: break-word;
    }

    .ABC_header {
        min-height: 200px;
    }
}


/******************
* CTA Bottom
******************/

.ABC_CTA_pagebottom_block {
    background-color: var(--ABC-logo-black-dark)
}

.ABC_CTA_pagebottom_block_text_column * {
    color: var(--ABC-logo-yellow-light);
    font-size: 54px;
    line-height: 54px;
}

@media only screen and (max-width: 767px) {
    .ABC_CTA_pagebottom_block_text_column {
        margin-bottom: 30px;
    }

    .ABC_CTA_pagebottom_block * {
        text-align: center;
    }

    .ABC_CTA_pagebottom_block_text_column * {
        color: var(--ABC-logo-yellow-light);
        font-size: 34px;
        line-height: 36px;
    }
}

/******************
* Text style
******************/

.ABC_small_title h2 {
    font-size: 24px;
    line-height: 24px;
}

@media only screen and (max-width: 767px) {
    .ABC_small_title h2 {
        font-size: 26px;
        line-height: 28px;
        word-break: break-word;
    }
}


.ABC_title_yellow_accent {
    border-left: 5px solid var(--ABC-logo-yellow-light);
    padding-left: 15px;
} 

.ABC_main_title_yellow_accent h1 {
    display: inline-block;
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 5px solid var(--ABC-logo-yellow-light);
}


/******************
* Equal height columns
******************/

/* Make text centered wrt image */
.ABC_row_with_equal_height_columns_with_centered_content .full_section_inner,
.ABC_row_with_equal_height_columns_with_centered_content .section_inner_margin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ABC_row_with_equal_height_columns_with_centered_content .ABC_row_with_equal_height_columns_with_centered_content_column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991px) {

    .ABC_row_with_equal_height_columns_with_centered_content .full_section_inner,
    .ABC_row_with_equal_height_columns_with_centered_content .section_inner_margin {
        flex-direction: column;
        align-items: flex-start;
    }

    .ABC_row_with_equal_height_columns_with_centered_content .ABC_row_with_equal_height_columns_with_centered_content_column {
        width: 100%;
    }
}

/******************
* Padding for WP Bakery
******************/
.ABC_PR50_md {
    padding-right: 50px;
}

.ABC_PL50_md {
    padding-left: 50px;
}

@media (max-width: 991px) {
    .ABC_PR50_md {
        padding-right: 0;
    }

    .ABC_PL50_md {
        padding-left: 0;
    }

    .ABC_margin_bottom30_md {
        margin-bottom: 30px;
    }

    .ABC_margin_bottom60_md {
        margin-bottom: 60px;
    }

    .ABC_reverse_row_md .full_section_inner {
        display: flex;
        flex-direction: column-reverse
    }
}

.ABC_non_padded_row {
    overflow: hidden !important;
}

.ABC_non_padded_row .vc_column-inner,
.ABC_non_padded_row .wpb_wrapper{
    padding: 0 !important;
    margin: 0 !important;
}

/* 
################################################
# Footer CSS
################################################
*/
.footer_col1 p {
    text-align: justify;
}

.footer-icon i {
    transition: margin 0.3s ease;
    margin-left: 5px;
}

.footer-icon:hover {
    color: var(--logo-mid-gold);
    transition: margin 0.3s ease;
}

.footer-icon:hover i {
    margin-left: 10px;
    transition: margin 0.3s ease;
}

@media only screen and (max-width: 768px) {
    footer .three_columns * {
        text-align: left;
    }
}

@media only screen and (max-width: 480px) {
    .footer_bottom {
        padding: 20px;
        line-height: 30px;
    }
}



/* 
################################################
# Home CSS
################################################
*/

/******************
* Home slider
******************/
.ABC_home_slider_block_slider .wpb_wrapper {
    position: relative;
    margin: 0 10vw;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ABC_home_slider_block_slider {
    text-shadow:
        0 2px 6px rgba(23, 37, 42, 0.45);
}


@media only screen and (max-width: 2000px) {
    .ABC_home_slider_block_slider .wpb_wrapper {
        margin: 0 100px;
    }
}

@media only screen and (max-width: 1400px) {
    .ABC_home_slider_block_slider .wpb_wrapper {
        margin: 0 50px;
    }
}

@media only screen and (max-width: 1000px) {
    .ABC_home_slider_block_slider .wpb_wrapper {
        margin: 0 30px;
    }

    sr7-bullets {
        transform: translate(-29px, -30px) !important;
    }
}

.ABC_home_slider_block_slider sr7-module,
.ABC_home_slider_block_slider sr7-content,
.ABC_home_slider_block_slider canvas {
    border-radius: inherit !important;
}

/******************
* Home slider CTAs
******************/
.ABC_home_slider_block_CTAs>.section_inner {
    background-color: var(--ABC-universal-white);
    margin-top: -150px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_column {
    margin-top: -150px;
    padding: 20px;
    position: relative;
    text-align: center;
}

@media only screen and (max-width: 1000px) {
    .ABC_home_slider_block_CTAs>.section_inner {
        background-color: var(--ABC-universal-grey-faded);
        margin-top: 60px;
        border-radius: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        /* soft drop shadow */
    }

    .ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_column {
        margin-top: 0;
        width: 100%;
        float: none;
        padding: 20px;
        position: relative;
        text-align: center;
    }
    
    .ABC_home_slider_block_CTAs>.section_inner {
        background-color: transparent;
        margin-top: 30px;
        border-radius: 0;
        box-shadow: none;
    }
    
    .ABC_home_slider_block_CTAs .section_inner_margin.clearfix {
        margin: 0 !important;
    }

    .ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_column {
        margin-top: 0;
        margin-bottom: 30px;
        padding: 18px 16px;
        min-height: 0 !important;
        height: auto !important;
        background-color: var(--ABC-universal-white);
        border-radius: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_column:last-child {
        margin-bottom: 0;
    }

    .ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_column .vc_column-inner {
        min-height: 0 !important;
        height: auto !important;
        padding: 0 !important;
    }

    .ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_column .wpb_content_element {
        margin-bottom: 12px;
    }

    .ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_column .wpb_content_element:last-child {
        margin-bottom: 0;
    }

    .ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_alert {
        margin-top: 30px;
    }

    .ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_alert>.section_inner {
        background-color: var(--ABC-logo-black-dark);
        border-radius: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
}

@media only screen and (min-width: 1001px) {
    .ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_column+.ABC_home_slider_block_CTAs_column::before {
        content: "";
        position: absolute;
        top: 20px;
        bottom: 20px;
        left: 0;
        width: 1px;
        background-color: var(--ABC-universal-grey-faded);
        transform: translateX(-50%);
        pointer-events: none;
    }

    .ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_alert>.section_inner {
        background-color: var(--ABC-logo-black-dark);
        border-radius: 0 0 20px 20px;
    }

    .ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_alert_button {
        text-align: right;
    }

    .ABC_home_slider_block_CTAs .vc_inner .section_inner_margin.clearfix {
        margin: 0 !important;
    }
}

.ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_alert .wpb_text_column * {
    color: var(--ABC-universal-white);
    font-size: 30px;
}

.ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_alert>.section_inner>.section_inner_margin {
    padding: 20px 55px;
}

.ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_alert_button a {
    color: var(--ABC-logo-yellow-light) !important;
}

.ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_alert_button a::after {
    content: "\2192";
    padding-left: 12px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.ABC_home_slider_block_CTAs .ABC_home_slider_block_CTAs_alert_button a:hover::after {
    transform: translateX(6px);
}


/******************
* Google reviews
******************/

.ti-footer.source-Google {
    background-color: var(--ABC-universal-white);
    padding: 20px !important;
    padding-right: 10px !important;
    margin-right: 10px !important;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ti-footer.source-Google:hover {
    transform: translateY(-4px);
}

.ti-review-item {
    border-radius: 12px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.ti-review-item:hover {
    transform: translateY(-4px) !important
}

/* 
################################################
# Contact CSS
################################################
*/

/******************
* Contact form
******************/

.ABC_contact_panel {
    margin-top: 20px;
}

.ABC_contact_panel .full_section_inner {
    overflow: visible;
}

.ABC_contact_panel .ABC_contact_panel_contact_details,
.ABC_contact_panel .ABC_contact_panel_contact_form {
    position: relative;
}

.ABC_contact_panel .ABC_contact_panel_contact_details>.vc_column-inner,
.ABC_contact_panel .ABC_contact_panel_contact_form>.vc_column-inner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ABC_contact_panel .ABC_contact_panel_contact_details>.vc_column-inner {
    background-color: var(--ABC-logo-black-dark);
    padding: 35px;
}

.ABC_contact_panel .ABC_contact_panel_contact_details *,
.ABC_contact_panel .ABC_contact_panel_contact_details .icon_with_text_text *:not(:hover) {
    color: var(--ABC-universal-white) !important;
}

.ABC_contact_panel .ABC_contact_panel_contact_details a:hover {
    color: var(--ABC-logo-yellow-light) !important;
}

.ABC_contact_panel .ABC_contact_panel_contact_form>.vc_column-inner {
    background-color: var(--ABC-universal-white);
    padding: 35px;
}

@media only screen and (min-width: 1000px) {
    .ABC_contact_panel .full_section_inner {
        display: flex;
        align-items: center;
    }

    .ABC_contact_panel .ABC_contact_panel_contact_details {
        width: 36%;
        margin-right: -5%;
        z-index: 2;
    }

    .ABC_contact_panel .ABC_contact_panel_contact_form {
        width: 64%;
    }

    .ABC_contact_panel .ABC_contact_panel_contact_form>.vc_column-inner {
        padding-left: calc(5% + 40px);
    }
}

@media only screen and (max-width: 999px) {
    .ABC_contact_panel .ABC_contact_panel_contact_details,
    .ABC_contact_panel .ABC_contact_panel_contact_form {
        width: 100%;
    }

    .ABC_contact_panel .ABC_contact_panel_contact_details {
        margin-bottom: 60px;
    }
}

.ABC_contact_form_rounded_background {
    background-color: var(--ABC-universal-grey-faded);
    border-radius: 10px;
    padding: 25px;
}

.ABC_contact_form_rounded_background .vc_column-inner {
    padding: 0;
}

/******************
* Contact form 7
******************/

input.wpcf7-form-control.wpcf7-text:focus,
textarea.wpcf7-form-control.wpcf7-textarea:focus,
select.wpcf7-form-control.wpcf7-select:focus,
input.wpcf7-form-control.wpcf7-date:focus {
    box-shadow: 0 0 20px var(--ABC-logo-yellow-light);
    transition: 0.3s ease;
}

input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea,
select.wpcf7-form-control.wpcf7-select,
input.wpcf7-form-control.wpcf7-date {
    border: 1px solid var(--ABC-universal-grey-faded);
    transition: 0.3s ease;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
}

.ABC_form_half_width_row {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.ABC_form_half_width_row .ABC_form_half_width_item {
    width: calc(100% / 2 - 10px);
    box-sizing: border-box;
}

.ABC_form_container p {
    padding: 0 !important;
    margin: 0 !important;
}

#respond textarea,
#respond input[type='text'],
#respond input[type='email'],
.contact_form input[type='text'],
.contact_form textarea,
.comment_holder #respond textarea,
.comment_holder #respond input[type='text'],
.comment_holder #respond input[type='email'],
input.wpcf7-form-control.wpcf7-text,
input.wpcf7-form-control.wpcf7-number,
input.wpcf7-form-control.wpcf7-date,
textarea.wpcf7-form-control.wpcf7-textarea,
select.wpcf7-form-control.wpcf7-select,
input.wpcf7-form-control.wpcf7-quiz,
.post-password-form input[type='password'] {
    color: var(--ABC-text-light);
    border-radius: 10px;
}

.wpcf7-submit {
    border-radius: 20px !important;
}

.ABC_captcha_form_block {
    margin-top: 30px;
    max-width: 100%;
    overflow: hidden;
}

.ABC_captcha_form_block p {
    color: var(--ABC-logo-grey-light);
    margin-bottom: 0 !important;
    text-align: right;
}

.ABC_captcha_form_block .wpcf7-turnstile,
.ABC_captcha_form_block .cf-turnstile,
.ABC_captcha_form_block .cf-turnstile>div,
.ABC_captcha_form_block .cf-turnstile iframe {
    max-width: 100% !important;
}

.ABC_captcha_form_block .wpcf7-turnstile,
.ABC_captcha_form_block .cf-turnstile {
    width: 100%;
}

.ABC_captcha_form_block .cf-turnstile iframe {
    display: block;
}

@media only screen and (max-width: 768px) {
    .ABC_form_half_width_row {
        display: block !important;
    }

    .ABC_form_half_width_row .ABC_form_half_width_item {
        width: 100%;
        margin-bottom: 15px;
    }

    .ABC_interitemcontent_margin_bottom {
        margin-bottom: 0;
    }
}

/* 
################################################
# Admin bar CSS
################################################
*/

#wp-admin-bar-revslider,
#wp-admin-bar-qode-optimizer-menu-admin-bar-options {
    display: none !important;
}
