/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

/* CHAPTER CAROUSEL NEWS & STORIES ROW */
.carousel_card {
    height: 500px !important;
    cursor: pointer;
}
.carousel_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.carousel_arrows .ks-arrow-left {
    transform: scaleY(-1);
}
.carousel_arrows .ks-arrow-left,
.carousel_arrows .ks-arrow-right {
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.3s ease;
}
.carousel_arrows .ks-arrow-left:hover {
    transform: scaleY(-1) translateX(-10px);
}
.carousel_arrows .ks-arrow-right:hover {
    transform: translateX(10px);
}

.carousel_wrapper .slick-list.draggable,
.events_carousel_wrapper .slick-list.draggable,
.news_stories_grid .fl-post-grid-post,
.events_stories_grid .fl-post-grid-post {
    border-radius: 10px;
}

.carousel_image {
    height: 50%;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
.carousel_image span.card_badge,
.card_badge {
    font-family: 'Barlow Medium';
    font-size: 12px;
    line-height: 11px;
    color: #1d1d1d;
    background: url(/wp-content/uploads/sites/8/badge_bg.svg);
    padding: 21px;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    top: 10px;
    left: 10px;
}
.carousel_content {
    height: 50%;
    text-align: center;
    background: #fff;
    padding: 3em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.carousel_content h5 {
    margin: 0 !important;
    font-family: 'Barlow Bold';
    font-size: 22px;
    line-height: 30px;
    text-transform: none !important;
}
.content_info {
    font-family: 'Barlow Regular';
    font-size: 12px;
    line-height: 21px;
    color: #1d1d1d;
}
.content_decoration {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%) scale(1.1);
}
/* EVENTS CAROUSEL */
.event_badge {
    color: #1d1d1d;
    background: url("/wp-content/uploads/sites/8/event_badge_filled.svg");
    padding: 28px 0 28px 40px;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    top: 0px;
    left: 0px;
    text-align: left;
    height: 112px;
    width: 160px;
}
.date_text {
    font-family: 'Barlow Bold';
    font-size: 14px;
    line-height: 21px;
    color: var(--black);
    text-transform: uppercase;
}
.date_number {
    font-family: 'Barlow Extra Bold';
    font-size: 56px;
    line-height: 46px;
    color: var(--black);
}
.content_info .ks-location {
    font-size: 26px;
    color: var(--black);
}

/* EVENT SINGULAR PAGE */
.event_singular_page .fl-html {
    position: relative !important;
}
.event_singular_page .event_badge {
    position: absolute !important;
    top: -55px !important;
    left: -55px !important;
}
.event_singular_page_content .fl-heading-text p {
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
}
.event_singular_share {
    display: flex !important;
    align-items: center;
    background: var(--yellow);
    width: fit-content !important;
    border-radius: 6px;
}
.event_singular_share:before {
    content: 'SHARE' !important;
    font-family: 'Barlow Bold';
    font-size: 15px;
    letter-spacing: 0.05em;
    line-height: 24px;
    text-align: left;
    color: #1d1d1d;
    margin-left: 20px;
}
.event_singular_share .uabb-social-share-link-wrap {
    margin-right: 10px !important;
}
.flex_end .fl-col-content.fl-node-content {
    align-items: flex-end !important;
}
.flex_end .fl-module-content.fl-node-content { 
    margin: 10px 20px !important;
}
.event_info {
    margin: 0px !important;
}

/* GREEN BORDER SVG */
.green_border {
    position: absolute;
    width: 100%;
    z-index: 1;
    left: 0;
}    

/* MENU CHILD */
#menu-first-menu .menu-item a {
    color: var(--black);
}
#menu-second-menu .menu-item a {
    color: var(--gray_dark);
    letter-spacing: 0 !important;
}
.animline_green a:before,
a.animline_green:before {
    background-color: var(--green) !important;
}
.menu_child_second_scroll {
    position: fixed;
    width: 100%;
    z-index: 99;
    top: 0;
}

/* REMOVE DEFAULT BORDER AND BACKGROUND ON GRID POST */
.fl-post-grid-post {
    background: transparent !important;
    border: none !important;
}

/* FOOTER NATIONAL */
/*
body:not(.fl-builder-edit) .footer_decoration_national {
    position: absolute;
    width: 100%;
    bottom: calc(100% - 3px);
}
*/

/* CHAPTER SVG STROKE HERO AREA */
body.chapter .footer_decoration path {
    fill: var(--green);
}
/* PROVINCE SVG STROKE HERO AREA */
body.province .footer_decoration path {
    fill: var(--blue);
}

/* NEWS & STORIES DARK MODE */
body.dark_theme .fl-page-content,
body.dark_theme div.fl-builder-content .fl-row {
	background-color: #1d1d1d !important;
}

body.dark_theme .fl-builder-content .fl-heading-text,
body.dark_theme .fl-builder-content h4,
body.dark_theme .fl-builder-content p,
body.dark_theme .fl-page-content .fl-heading-text,
body.dark_theme .fl-page-content p,
body.dark_theme .fl-page-content h1,
body.dark_theme .fl-page-content h2,
body.dark_theme .fl-page-content h3,
body.dark_theme .fl-page-content h4,
body.dark_theme .fl-page-content h5,
body.dark_theme .fl-page-content li,
body.dark_theme .fl-page-content ul,
body.dark_theme .fl-page-content {
	color: #fff !important;
}

/* MAKE BUTTONS ALIGN TO THE BOTTOM */
.btn_equal_heigth > .fl-col-content {
    position: relative;
}

.btn_equal_heigth .btn_general {
    position: absolute;
    bottom: 30px;
    width: 100%;
    left: 0;
}

/* OUR PARTNERS CAROUSEL CHAPTER HOMEPAGE */
.our_partners_carousel_wrapper .partner_logo {
    /* width: 260px !important; */
    height: 212px !important;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
/* .our_partners_carousel_wrapper .slick-slide {
    margin-right: 50px !important;
} */

.fl-post-feed-post {
    border: none !important;
}

/* SVG ICONS */
.athlete_icon,
.trophy_icon,
.heart_icon {
    display: flex !important;
}

.athlete_icon:before {
    content: url('/wp-content/uploads/sites/8/icon1.svg');
    margin-right: 50px;
}
.trophy_icon:before {
    content: url('/wp-content/uploads/sites/8/icon2.svg');
    margin-right: 50px;
}
.heart_icon:before {
    content: url('/wp-content/uploads/sites/8/icon3.svg');
    margin-right: 50px;
}

/* PARTNERS ARROWS */
.partners_arrows {
    max-width: 1280px;
    margin: auto;
    padding-top: 20px;
    position: relative;
    bottom: 150px;
}
.partners_slick_left_arrow .ks-arrow-right, .partners_slick_right_arrow .ks-arrow-right {
    font-size: 30px;
    color: var(--black);
    transition: all 0.5s ease;
    cursor: pointer;
}
.partners_slick_left_arrow .ks-arrow-right {
    transform: scale(-1, 1);
    float: left;
}
.partners_slick_right_arrow .ks-arrow-right {
    float: right;
}

/* DONATE BUTTON */
.donate_now_btn .fl-button-has-icon .fl-button {
    display: flex !important;
    align-items: center;
}

#events_grid.events_carousel_wrapper {
    height: 100%;
    /* background: #fff; */
    border-radius: 10px;
}
.fl-post-grid-empty p {
    font-family: 'Barlow Bold' !important;
    font-size: 18px !important;
    text-align: center;
    line-height: 27px;
}

/* PARTNER CARD */
.partner_card .fl-row-content > .fl-col-group {
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* FIX HERO DECORATION STROKE */
.hero_area_stroke .fl-row-content > .fl-col-group:last-child {
    bottom: -8px !important;
}

/* AMBASSADOR ARROWS */
.ambassadors_arrows .ks-arrow-left, .ambassadors_arrows .ks-arrow-right {
    color: #1d1d1d !important;
}

.ambassador_heading.yellow .fl-heading-text:after {
    content: url(/wp-content/uploads/ambassador_svg_yellow.svg);
}

/* PROVINCE AMBASSADOR ROW DECORATION */
body.province .ambassador_heading.green .fl-heading-text:after {
    content: url(/wp-content/uploads/Subtraction-18_blue.svg);
}

body.province .blue_text .fl-heading-text,
body.province .blue_text .fl-heading-text *,
body.province .blue_icons i:before {
    color: var(--blue) !important;
}

body.province .social_icons_footer .fl-icon i:hover:before {
    color: var(--blue) !important;
    transition: color .5s ease;
}
body.province .blue_icons i:hover:before,
.blue_icons i:hover:before {
    color: #1d1d1d !important;
    cursor: pointer;
    transition: color .5s ease;
}

body.province .blue_bg .fl-row-content-wrap {
    background-color: var(--blue) !important;
}
body.province .green_border path,
body.province .blue path,
body.province #menu_decoration_desktop,
body.province #menu_decoration_mobile {
    fill: var(--blue);
}
body.province .animline_green a:before,
body.province a.animline_green:before {
    background-color: var(--blue) !important;
}

/* LINKS */
body.chapter div:not(.animline):not(.nolink) p a:before,
body.chapter div:not(.animline):not(.nolink) h1 a:before,
body.chapter div:not(.animline):not(.nolink) h2 a:before,
body.chapter div:not(.animline):not(.nolink) h3 a:before,
body.chapter div:not(.animline):not(.nolink) h4 a:before,
body.chapter div:not(.animline):not(.nolink) h5 a:before,
body.chapter div:not(.animline):not(.nolink) h6 a:before {
    background: var(--green) !important;
}

body.province div:not(.animline):not(.nolink) p a:before,
body.province div:not(.animline):not(.nolink) h1 a:before,
body.province div:not(.animline):not(.nolink) h2 a:before,
body.province div:not(.animline):not(.nolink) h3 a:before,
body.province div:not(.animline):not(.nolink) h4 a:before,
body.province div:not(.animline):not(.nolink) h5 a:before,
body.province div:not(.animline):not(.nolink) h6 a:before {
    background: var(--blue) !important;
}

/* EMPTY GRID */
.fl-post-grid-empty p {
    text-align: left !important;
}

/* SPACING ON NEWS PAGE */
/* #fl-main-content.fl-page-content {
    max-width: 1100px !important;
    margin: 0 auto !important;
} */

/* HIDE FR */

.translatepress-fr_CA .hide_FR {
    display: none;
}

.visit_kidsport {
    display: flex !important;
    position: absolute !important;
    right: 15px;
    top: 0;
}

.menu_child #menu-national {
    display: flex;
    align-items: center;
}
.visit_kidsport:before {
    position: relative;
    top: 4px;
    content: url('/wp-content/uploads/noun_Maple-Leaf_18659.svg');
    margin-right: 5px;
}

.visit_kidsport a {
    margin-left: 5px !important;
	color:#000
}

body.english_only .menu-item-object-language_switcher {
    display: none !important;
}

/* ALIGNEMNT ON NEWS POSTS */
.beaver_alignment {
    max-width: 1100px !important;
    margin: 0 auto !important;
}

/* KENS BURN */
.kens_burn {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all 1s ease;
    position: relative;
    overflow: hidden;
}
.kens_burn:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    transition: inherit;
}
.member_card:hover .kens_burn:before {
    transform: scale(1.1);
}
.member_card .ks-plus:before,
.flyout_close_btn .ks-close::before {
    font-size: 24px;
}
.member_card:hover .ks-plus:before,
.flyout_close_btn:hover .ks-close::before {
    color: #fff;
    transition: color .8s ease;
}
.member_card:hover .flyout_trigger,
.flyout_close_btn:hover {
    background-color: #1d1d1d;
    transition: background-color .8s ease;
}

/* MEMBERS GRID */
.member_card_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 20px;
    margin-bottom: 100px;
}
.members_list h3 {
    text-align: center;
    margin-bottom: 52px;
}
.member_image {
    height: 260px;
    border-radius: 10px;
    background-position: center !important;
    background-size: cover !important;
}
.member_card {
    cursor: pointer;
}
.member_card_content {
    padding: 30px;
    display: flex;
    justify-content: space-between;
}
.flyout_trigger,
.flyout_close_btn {
    height: 50px;
    min-width: 50px;
    background: #FFF200;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.member_card_flyout {
    position: fixed;
    top: 0;
    z-index: 999;
    height: 100%;
    width: 50%;
    left: 100%;
    padding: 130px;
    background-color: #fff;
    transition: left .5s ease;
    overflow-y: scroll;
}
.member_card_flyout .member_image {
    height: 440px !important;
}
.member_card_flyout .member_image:before {
    content: url(/wp-content/uploads/Path-561.svg);
    position: absolute;
    top: 56px;
    right: 72px;
    z-index: -1;
}

.member_card_flyout.flyout_active {
    left: 50% !important;
}

.flyout_close_btn {
    position: absolute;
    top: 0;
    left: 0;
    margin: 28px;
}
.flyout_offset {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    width: 100%;
    height: 100%;
    background: #1d1d1d;
    opacity: 0.7;
    display: none;
}
.flyout_offset.flyout_offset_active {
    display: block !important;
}

.member_card_flyout h3 {
    text-align: left !important;
    margin: 30px 0 !important;
}
.member_card_flyout h5 {
    text-transform: none !important;
    margin-bottom: 30px !important;
}

.fix_height img {
    height: 160px !important;
}

/* SEARCH PAGE */
body.search .fl-page-content.beaver_alignment {
    max-width: none !important;
}
body.search .search_page_custom {
    width: 100% !important;
    margin: 0 !important;
    max-width: none !important;
}
body.search .search_page_custom .fl-content-left {
    padding-right: 0 !important;
}
body.search .search_page_custom .fl-content {
    margin: 0 !important;

}
.results_title {
    background-image: url(/wp-content/uploads/gray_top_decoration.svg);
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    margin-top: 100px;
}
.results_title h2 {
    margin: 0 !important;
    position: relative;
    top: -20px;
}
.search_page_custom .fl-content {
    width: 100%;
    border-right: none !important;
}
.search_page_custom {
    margin-bottom: 140px !important;
}
.search_page_custom .search_input {
    align-items: center;
    margin-top: 30px;
    border-bottom: 1px solid #f2f2f2;
}
.search_page_custom .search_input:before {
    color: #FFF200 !important;
    border-bottom: none !important; 
}
.search_info_form {
    margin-top: 255px !important;
    text-align: center;
}
.search_results_list {
    background-color: #F2F2F2;
    padding-top: 75px;
    padding-bottom: 140px !important;
}
.search_results_post {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    padding: 20px;
}
.search_info_form form {
    position: relative;
}
.search_info_form input[type=text] {
    border: none !important;
    border-radius: 0 !important;
    padding-left: 60px;
}
.search_info_form input[type=text],
.search_info_form input[type=text]::placeholder {
    font-family: 'Barlow Regular';
    font-size: 32px;
    line-height: 45px;
    color: #1d1d1d;
}
.search_info_form button {
    border-radius: 6px;
    background: #fff200;
    border: none !important;
    font-family: "Barlow Bold";
    font-size: 15px;
    letter-spacing: 0.05em;
    color: #1d1d1d;
    padding: 10px 30px;
    transition: all .5s ease;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.search_info_form button:hover,
.load_more_btn:hover,
.load_more_btn:focus {
    background: #1d1d1d;
    color: #fff;
}
.post_thumbnail {
    min-width: 168px;
    height: 120px;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 20px;
}
.the_title_card {
    font-family: "Barlow Bold";
    font-size: 22px;
    line-height: 30px;
    color: #1d1d1d;
}
.post_info span {
    font-family: 'Barlow Regular';
    font-size: 12px;
    margin-right: 20px;
}
.search_results_list a,
.search_results_list a:hover,
.search_results_list a:active {
    color: #1d1d1d !important;
    text-decoration: none !important;
}
.search_results_post_wrapper {
    display: none;
    cursor: pointer;
}
.load_more_btn {
    display: flex;
    margin: 0 auto;
    border-radius: 6px;
    background: #fff200;
    border: none !important;
    font-family: "Barlow Bold";
    font-size: 15px;
    letter-spacing: 0.05em;
    color: #1d1d1d;
    padding: 10px 30px;
    transition: all .5s ease;
    text-transform: uppercase;
}
body.dark_theme a {
    color: #fff !important;
}

/* FIND CHAPTER */
.find_header {
    padding: 10px 55px !important;
    z-index: 999;
    position: relative;

}
.find_title {
    max-width: none !important;
    margin-top: 40px !important;
}