/*
Theme Name: Hello Elementor Child
Theme URI: https://www.bubbleup.ca/
Description: Custom child theme created by BubbleUP Marketing
Author: BubbleUP Marketing
Author URI: https://www.bubbleup.ca/
Template: hello-elementor
License: Commercial
Version: 1.1.0
*/

/* Generic START */
.green { color: #008068; }
/* Generic END */

/* Menu START */
.mega-toggle-blocks-center { padding-top: 6px; }

@media (max-width: 575px) {
    .mega-toggle-blocks-left { flex-basis: 50% !important; }

    .mega-toggle-blocks-center { flex-basis: 30% !important; }

    .mega-toggle-blocks-right { flex-basis: 20% !important; }    
}

#nav-search-link { padding: 8px 45px; }

#nav-search-link:hover { background-color: #008068; }

@media (min-width: 1025px) {
    .elementor-search-form--skin-full_screen .elementor-search-form__container { height: 50vh !important; }
}

.elementor-search-form--skin-full_screen .elementor-search-form input[type=search].elementor-search-form__input {
    background-color: #ffffff;
    border-radius: 2.25rem;
    color: #979797 !important;
    height: 4rem;
    font-size: 15px !important;
    font-weight: 200 !important;
    text-transform: uppercase;
    padding-right: 1rem;
    padding-left: 5rem;
}

.mobile.elementor-search-form--skin-full_screen .elementor-search-form input[type=search].elementor-search-form__input {
    padding-right: 1rem;
    padding-left: 1rem;
}

#nav-search-link .elementor-search-form__container .fa-search {
    position: relative;
    left: 4rem;
    font-size: 40px;
    color: #888888;
}

@media (min-width: 1025px) {
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
        min-height: 630px;
        border-right: 1px solid #C7C7C7;
    }
}

@media (min-width: 1600px) {    
    /* centre the mega menu */
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu {
        width: 90%;
        margin-left: 5%;
    }    

    #mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
        min-height: 465px;
    }
}

@media (max-width: 1280px) {
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
        padding: 20px;
    }    
}

#mega-menu-613-0-3, /* Products Image Column */
#mega-menu-615-0-3, /* Resources Image Column */
#mega-menu-28598-0-3 /* Produits Image Column */ {
    background-position: right center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

    #mega-menu-613-0-3 a,
    #mega-menu-615-0-3 a,
    #mega-menu-28598-0-3 a {
        position: absolute;
        bottom: 2.75rem;
        left: 3rem;
    }

    #mega-menu-613-0-3 .elementor-button-text,
    #mega-menu-615-0-3 .elementor-button-text { white-space: nowrap; }
/* Menu END */

/* Front Page START */
@media (max-width: 767px) {
    /* only show 1 blog post in mobile */
    .home .elementor-widget-posts article:nth-child(1),
    .home .elementor-widget-posts article:nth-child(2) { display: none; }    
}
/* Front Page END */

/* Hide iCal section as it is currently not SEO friendly */
.tribe-events-ical,
.tribe-events-ics {
    display: none !important;
}