/*
Theme Name: Todays Family : Divi Child
Description: Child Theme For Todays Family
Author: Banko Creative Studio - Jon Troth
Author URI: https://banko.ca
Version: 1.0.0
Template: Divi
*/

:root { --width : 94%; }
@media (max-width: 720px) { 
	:root { --width : 90%; }
}

.container.et_menu_container { width:100%; }
.et_pb_row { width:var(--width); }

@media ( min-width:1480px ) {
	.logo_container a {
		display:inline;
		padding-left:30px;
	}	
}

.tf_header_banner_title_tag {
	line-height:1.2em;	
}

/* Shapes */
.shapes_our_vision {
	background-image:url('/wp-content/uploads/2025/04/shapes-vision.png');
	background-repeat:no-repeat;
    background-position: top 100px right 4%;
    background-size: 400px;
}

#main-content, #main-content p, #main-content .et_pb_text_inner { 
	font-size:22px;
	line-height: 1.3em;
    font-weight: 400;
	color:#242B59;
}
#main-content .tf_leadership p, #main-content .tf_leadership .et_pb_text_inner { 
	font-size:28px;
}
#main-content .learning, #main-content .learning p, #main-content .learning .et_pb_text_inner { 
	font-weight: 700;
}
#main-content .tf_ticker .et_pb_text_inner {
	color:#BDE0DE !important;
	font-size:28px !important;
	font-weight:700 !important;
}
#main-content .register_cta p {
	font-size:35px !important;
}
.et_pb_bg_layout_dark p, .et_pb_bg_layout_dark .et_pb_text_inner {
	color:#FFFFFF !important;
}
.et_pb_bg_layout_dark p a, .et_pb_bg_layout_dark .et_pb_text_inner a {
	color:#FFFFFF !important;
}
#main-content p a, #main-content .et_pb_text_inner a {
	color:#242B59;
	text-decoration:underline;
}
#main-content h1 {
	font-size:55px;
	font-weight:700;
	color:#242B59;
	line-height:1.1em;
}
#main-content h2 {
	color:#242B59;
	font-size:45px;
	line-height:1.1em;
}
#main-content .tf_card h2 {
	color:#242B59;
	font-size:35px;
	font-weight:700;
}
#main-content h3 {
	font-size:28px;
	line-height:1.2em;
}
#main-content  .tf_home_priority h3 {
	color:#242B59;
	font-weight:700;
}
#main-content h4 {}

@media (max-width: 720px) {
	#main-content, #main-content p, #main-content .et_pb_text_inner { 
		font-size:16px;
		line-height: 1.3em;
	}
	#main-content h1 {
		font-size:40px;
	}
	#main-content h2 {
		font-size:30px;
	}
	#main-content .tf_card h2 {
		font-size:25px;
	}
	#main-content h3 {
		font-size:20px;
	}
}

/* loading mask */
.load_mask {
	background-color: #bde0dec4;
	position:fixed;
	top:0px;
	right:0px;
	left:0px;
	bottom:0px;
	z-index:100000;
	text-align:center;
	padding-top: 20%;
	display:none;
}
.load_mask i {
	color:#ffffff;
	font-size:70px;
}
/* breadcrumbs */
.breadcrumb_block {
	color:#242B59 !important;
	font-size:22px !important;
}
.breadcrumb_block a {
	color:#242B59 !important;
	text-decoration:none !important;
}
.breadcrumb_block a:hover {
	text-decoration:underline !important;
}

/* Gravity Forms */
.gform-theme--foundation .gform_fields {
	row-gap: 20px;
	grid-row-gap: 20px;
}
.gfield_label, .gform-field-label {
	font-size:22px !important;
	font-weight:800 !important;
	color:#242B59 !important;
	position:relative;
}
.gform-field-label {
	margin-top: -3px !important;
}
.gfield_error .ginput_container input[type='text'],
.gfield_error .ginput_container input[type='email'],
.gfield_error .ginput_container input[type='tel'],
.gfield_error .ginput_container textarea {
	border:2px solid red !important;
}
.ginput_container input[type='text'],
.ginput_container input[type='email'],
.ginput_container input[type='tel'],
.ginput_container textarea {
	border-radius:3px !important;
	border:2px solid #FFFFFF !important;
	font-size:18px !important;
	color:#242B59 !important;
	padding: 25px 20px !important;
}
.gfield_required {
	position: absolute;
	bottom: 0px;
	right: 0;
}
.gform_button.button {
	background-color:#4226A1 !important;
	display:block !important;
	border-radius:20px !important;
	font-size:18px !important;
	font-weight:800 !important;
	color:#ffffff !important;
	text-align:center !important;
	border:1px solid #4226A1 !important;
	padding:15px !important;
	width:100% !important;
}
.gform-footer.gform_footer {
	padding-bottom:30px;
}


/*add icon to the opened accordion*/
.pa-add-accordion-icon .et_pb_accordion_item .et_pb_toggle_title:before {
	font-weight:900 !important;
}
.pa-add-accordion-icon .et_pb_accordion_item.et_pb_toggle_open .et_pb_toggle_title:before {
	display: block;
	content: "\4b" !important;
	font-weight:900 !important;
}


/* google maps */
.gm-style-iw.gm-style-iw-c {
	padding:5px 15px 15px 15px !important;
}
.gm-style-iw-chr {
	position:absolute;
	top:0; right:0;
}
.gm-style-iw-d h3 {
	padding: 10px 30px 20px 0;
}


#main-content { background-color:#ffffff; }

/* menu */
@media (max-width: 1500px) {
#logo { 
	margin-left:40px;
	max-height:66px !important;
}
}

.rmp-container {
	z-index:999998;
}
.rmp-page-overlay {
	z-index: 100000;
}
#top-menu li.mobile_menu {
	display:none;
}
#top-menu .menu-item-has-children>a:first-child:after, #et-secondary-nav .menu-item-has-children>a:first-child:after {
	opacity:0;
}
#top-menu li.mobile_menu a {
	background-image:url('/wp-content/uploads/2025/04/mobile-menu.png');
	background-repeat:no-repeat;
	background-size: 64px auto;
    background-position: center center;
    font-size: 0px !important;
    width: 100px;
	height: 70px;
	border: 0px solid #ffffff;
}
#top-menu li.mobile_menu a:hover {
	background-color:#FFFFFF !important;
}
#main-header {
	box-shadow: none;
}
#top-menu li {
	border-bottom:0px solid #FFFFFF;
	padding: 0px !important;
}
#top-menu li a {
	padding: 46px 17px !important;
	display:block;
	border-bottom:5px solid #db542100;
	font-size:22px !important;
}
#top-menu li a:hover {
	background-color: #FFF7EB !important;
}
#top-menu-nav>ul>li:hover, #top-menu-nav>ul>li>a:hover {
	opacity: 1 !important;
}
#top-menu-nav>ul>li.menu-item-has-children:hover, 
#top-menu-nav>ul>li.menu-item-has-children>a:hover {
	background-color: #FFF7EB !important;
}
#top-menu li.current-menu-item a {
	border-bottom:5px solid #DB5421;
}
#top-menu li.registration_link {
	background-color:#FFCF00;
	padding: 0 40px 0 20px !important;
	margin-left:17px;
}
#top-menu li.registration_link a {
	border-bottom:5px solid #FFCF00;
}
#top-menu li.registration_link a:hover {
	background-color: #FFCF00 !important;
}
#top-menu li.current-menu-item.registration_link a {
	border-bottom:5px solid #DB5421;
	
}

/* secondary nav */
.nav li ul {
	background: #FFF7EB;
	padding: 0px !important;
	border-top: 0px solid #2ea3f2 !important;
	top:70px;
	left: 0px;
	min-width:340px;
}
#top-menu li li {
	padding: 0px !important !important;
	white-space: nowrap !important;
	width:100%;
}
#top-menu li li a {
    padding: 6px 20px !important;
    min-width: 300px !important;
	font-size: 17px !important;
	font-weight:500 !important;
	width:100% !important;
}
#top-menu li li a:hover {
	background-color: #F7DBDB !important;
	opacity: 1;
}
#top-menu li li a {
	border-bottom:0px solid #FFF7EB !important;
	border-radius:5px;
}
.et_header_style_left #et-top-navigation {
    padding-top: 0px;
}

.et_header_style_left .et-fixed-header #et-top-navigation {
    padding-top: 0px;
}
@media (max-width: 1350px) {
	#top-menu li { display:none; }
	#top-menu li.registration_link, #top-menu li.mobile_menu { display:inline-block; }
}

body.et_cover_background {
	background-image:url('/wp-content/uploads/2025/04/menu-bar-yellow.png') !important;
	background-repeat:no-repeat !important;
	background-size:1480px 220px !important;
	background-position:center top !important;
}
body.home.et_cover_background {
	background-image:none !important;
}
@media (max-width: 1490px) {
	body.et_cover_background {
		
		background-position:right top !important;
	}
}

#main-header.et-fixed-header {
    -webkit-box-shadow: 0 0 7px rgba(0,0,0,0.1) !important;
    box-shadow: unset !important;
}
.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
        padding: 0!important;
    }

@media (max-width: 980px) {
    #top-menu {
        display: block!important;
    }
	#et_mobile_nav_menu {
		display: none!important;
	}
}

@media (max-width: 860px) {
	#top-menu li.mobile_menu {
		vertical-align:top!important;
	}
	#top-menu li.mobile_menu a {
		padding: 0px !important;
		height:77px;
	}
	#top-menu li a {
    	font-size: 19px !important;
    	padding: 14px 0px !important;
		line-height: 22px !important;
		text-align:right;
	}
	#top-menu li.registration_link {
		padding: 0 15px !important;
		width: 145px !important;
		margin-left: 0px;
	}
	#top-menu li.mobile_menu a {
		background-size: 55px auto;
	}
	#logo {
    	margin-left: 20px;
    	max-height: 56px !important;
	}
}

@media (max-width: 640px) {
	#top-menu li a {
    	font-size: 16px !important;
    	padding: 14px 0px !important;
		line-height: 22px !important;
		text-align:right;
	}
	#top-menu li.registration_link {
		padding: 0 15px !important;
		width: 125px !important;
	}
	#logo {
    	margin-left: 13px;
    	max-height: 44px !important;
	}
	#top-menu li.mobile_menu {
		width:88px;
	}
	#top-menu li.mobile_menu a {
		background-size: 45px auto;
	}
	#top-menu-nav, #top-menu {
		height:77px;
	}
}

@media (max-width: 460px) {
	#top-menu li.registration_link {
	    padding: 0 13px !important;
	    width: 111px !important;
	}
	#top-menu li.registration_link a {
		font-size: 14px !important;
	}
	#top-menu li.mobile_menu {
	    width: 66px !important;
	}
	#top-menu li.mobile_menu a {
		width: 70px !important;
	}
	.et_header_style_left #logo {
        max-width: 47%;
    }
}

/* home slider */

/* home facts */
.tf_home_green_bar p {
	font-size:35px !important;
	font-weight:700!important;
	color:#4226A1!important;
}
.tf_home_green_bar span {
	color: #db5421;
    padding: 0 15px;
    font-size: 50px !important;
}
@media ( max-width: 1220px ) {
.tf_home_green_bar p {
	font-size:25px !important;
}
	.tf_home_green_bar span {
    padding: 0 5px;
    font-size: 30px !important;
}
}
.home_facts_bg {
	background-image:url('/wp-content/uploads/2025/04/facts-yellow-bar.jpg');
	background-repeat:no-repeat;
	background-size:100% 100%;
	background-position:cover;
}
.home_facts_title {
	font-size:40px;
	font-weight:800;
	color:#242B59;
}
.home_facts_value {
	font-size:65px;
	font-weight:900;
	color:#242B59;
	margin:70px 0 30px 0;
}
.home_facts_sub {
    font-size: 23px;
    font-weight: 700;
    padding-bottom: 30px;
    color: #242B59;
    border-bottom: 7px solid #242B59;
}
.et_pb_column:nth-child(2) .home_facts_title,
.et_pb_column:nth-child(3) .home_facts_title,
.et_pb_column:nth-child(4) .home_facts_title {
	opacity:0;
}

@media (max-width: 1270px) {
	.tf_fast_facts { width:100% !important; }
	.home_facts_title {
		font-size:30px;
	}
	.home_facts_value { font-size:45px; margin: 30px 0; }
	.home_facts_sub {font-size: 23px; }
		.tf_fast_facts  .et_pb_module {
		padding:50px 30px!important
	}
}
@media (max-width: 981px) {

	.home_facts_bg { background-image:none; }
	.tf_fast_facts .et_pb_column { width:100% !important; }
	.home_facts_title {
		font-size:40px;
		padding-top:30px;
		display:block !important;
	}
	.home_facts_value { 
		font-size:65px;
		display:inline-block; 
		margin:30px 0 30px 0;
	}
	.home_facts_sub {
		font-size: 23px;
	 	display:inline-block; 
		border-bottom: 0px solid #242B59;
		padding-left:15px;
	}
	.tf_fast_facts  .et_pb_module {
		padding:15px 50px 0px 50px !important
	}
	.et_pb_column:nth-child(2) .home_facts_title,
	.et_pb_column:nth-child(3) .home_facts_title,
	.et_pb_column:nth-child(4) .home_facts_title{
		display:none;
	}
}

/* slider */
.et_pb_slide { padding: 0 6% 0 0; }
.et_pb_slide_description {
	padding: 25% 0%;
}
.et_pb_slide_content {
    background: green;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
}


/* Report items */
.report_container,
.program_container {
	display:flex;
	flex-wrap: wrap;
	gap: 5%;
}

.report_item,
.program_item {
	width:30%;
	padding-bottom:70px;
}
.report_image,
.program_image { padding-bottom:30px; }
.report_item h3,
.program_item h3 {
	font-size:35px;
	color:#242B59;
	font-weight:900;
}
.report_item p,
.program_item p {
	font-size:18px;
	color:#000000;
}

@media ( max-width:1040px ) {
	.report_item, .program_item {
		width:47%;
		padding-bottom:70px;
	}
}

@media ( max-width:720px ) {
.program_container { gap:0; }
	.report_item, .program_item {
		width:100%;
		padding-bottom:70px;
	}
}


.tf_btn_primary,
.tf_btn_secondary,
.report_item a.report_button,
.program_item a.program_button {
	font-size:22px !important;
	font-weight:600;
	border-radius:40px;
	padding:10px 40px;
	display:inline-block;
	margin-top:30px;
	color:#242B59 !important;
	background-color:none !important;
	border:2px solid #242B59 !important;
	text-decoration:none!important;
	white-space: nowrap;
}
.tf_btn_secondary:hover,
.report_item a.report_button:hover,
.program_item a.program_button:hover {
	color:#BDE0DE !important;
	background-color:#4226A1 !important;
	border:2px solid #4226A1 !important;
}
.tf_btn_primary,
.swiper-slide-active a {
	color:#BDE0DE !important;
	background-color:#4226A1 !important;
	border:2px solid #4226A1 !important;
}
.tf_btn_primary:hover,
.swiper-slide-active:hover a {
	color:#BDE0DE !important;
	background-color:#242B59 !important;
	border:2px solid #242B59 !important;
}
@media (max-width: 720px) {
	.tf_btn_primary,
	.tf_btn_secondary,
	.report_item a.report_button,
	.program_item a.program_button {
		font-size:19px !important;
	}
}



/* footer */
#main-footer .container {
	width:var(--width);	
}
#main-footer .tf_scroll_top {
	position: absolute;
    border-radius: 5px;
    background-color: #DB5421;
    color: #BDE0DE;
    padding: 10px;
    top: -35px;
    right: 0px;
    z-index: 10;
    width: 56px;
    text-align: center;
	cursor:pointer;
}
#main-footer .tf_scroll_top i {
	color:#BDE0DE;
	font-size:40px;
}
.widget.widget_nav_menu {
	padding-bottom:50px;
}
.widget.widget_nav_menu h2 {
	margin-bottom:15px;
}
.widget.widget_nav_menu li {
	padding-bottom:15px !important;
}
.widget.widget_nav_menu a, .footer-contact-info p {
	font-size:22px;
	line-height:1.3em;
	font-weight:400;
}
.footer-contact-info h2 {
	padding: 30px 0px;
}
.footer-contact-info img {
	width:100% !important;
	max-width:420px !important;
}
	.footer-widget .et_pb_widget {
		float:none !important	
	}
@media (max-width: 980px) {
	.footer-widget:nth-child(n),
    .footer-widget {
        width: 100% !important;
        margin: 0 7.5% 7.5% 0 !important;
    }

}

@media (max-width: 720px) {
	
	.widget.widget_nav_menu a, .footer-contact-info p {
	font-size:16px;
}
.footer-contact-info h2 {
	padding: 30px 0px;
}
.footer-contact-info img {
	width:100% !important;
	max-width:100% !important;
}
	
}


/* Symbols */
.symbol_clip {
	overflow-x:clip;
	overflow-y:visible;
}
.home_symbol_1 { width: 100%!important; }
.home_symbol_1 .et_pb_image_wrap { display: block; width: 100%; }
.home_symbol_1 img { position: absolute; right: -60px; top: -30px; width: 300px; }
@media ( max-width: 1160px ) {
	.home_symbol_1 { display:none; }
}
@media ( max-width: 980px ) {
	.home_symbol_1 { display:block; }
	.home_symbol_1 img { right: -50px; top: -115px; width: 260px!important; }
}
@media ( max-width: 760px ) {
	.home_symbol_1 img { right: -40px; top: -50px; width: 200px!important; }
}