/*
Theme Name: Divi Child theme of Divi
Theme URI: 
Description: Child theme of Divi theme for the Divi theme
Author: <a href="http://www.elegantthemes.com">Elegant Themes</a>
Author URI: 
Template: Divi
Version: 4.27.4
*/

/* Generated by Orbisius Child Theme Creator (https://orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Thu, 19 Dec 2024 17:23:01 +0000 */ 
/* The plugin now uses the recommended approach for loading the css files.*/

:root {
	--clr-primary: #00427c;
	--clr-secondary: #6f86b1;
	--clr-accent: #879c86;
}

.et_pb_section {
	background: #f5f7f9;
}

.et-db #et-boc .et-l .et_pb_section {
	background: #f5f7f9;
}

/* header */
#header-main .sticky {
	display: none !important;
}

#header-main.et_pb_sticky .sticky {
	display: block !important;
}

#header-main.et_pb_sticky .non-sticky {
	display: none !important;
}

#header-main .et_pb_menu ul li a {
	border-bottom: 2px solid rgb(255 255 255 / 0);
}

#header-main .et_pb_menu ul li.current-menu-item a,
#header-main .et_pb_menu ul li a:hover {
	border-bottom: 2px solid #fff;
	transition: all .2s ease-in;
}

#header-main.et_pb_sticky .et_pb_menu ul li.current-menu-item a,
#header-main.et_pb_sticky .et_pb_menu ul li a:hover {
	border-bottom: 2px solid var(--clr-primary);
	transition: all .2s ease-in;
}

#header-main .nav li.join-us {
	display: none;
}

#header-main .nav li ul {
	padding: 0;
	width: 300px;
}

#header-main .nav li li {
	padding: 0;
}

#header-main .nav li li a {
	width: 100%;
	text-transform: none;
}

#header-main .nav ul li a:hover {
	background: #f5f7f9;
}

#header-main .nav li li a, 
#header-main.et_pb_sticky .et_pb_menu ul li li.current-menu-item a, 
#header-main.et_pb_sticky .nav li li a,
#header-main.et_pb_sticky .nav li li a:hover {
	border-bottom: 0;
	transition: all .2s ease-in;
}

.et-db #et-boc .et-l .et-menu-nav li.mega-menu ul {
	padding: 30px 20px 10px;
	width: 100%;
}

.et-db #et-boc .et-l .et-menu-nav li.mega-menu ul li.mega-link {
	padding: 30px 20px 10px;
	text-align: center;
}

.et-db #et-boc .et-l .et-menu-nav li.mega-menu ul li.mega-link ul {
	padding-top: 0;
}

.et-db #et-boc .et-l .et-menu-nav li.mega-menu>ul>li>a:first-child {
	border-bottom: 0;
}

.et-db #et-boc .et-l .et-menu-nav li.mega-menu ul li.mega-link ul li a {
	padding: 0;
	text-align: center;
}

#header-main .nav li.mega-menu ul li.mega-link ul li a {
	border-bottom: 0;
	letter-spacing: 0 !important;
}

/* job posting */
.page-work-with-us .et_portfolio_image {
	display: none;
}

.page-work-with-us .et_pb_portfolio_grid h6 {
	position: relative;
	padding-left: 20px;
	font-size: 18px;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.page-work-with-us .et_pb_portfolio_grid h6:before {
	content: '•';
	position: absolute;
	width: 20px;
	height: 20px;
	left: 0;
	color: var(--clr-secondary);
}

/* blog */
@media only screen and (min-width: 981px) {
	
	.et_pb_posts .et_pb_post img,
	.et_pb_posts .et_overlay {
		float: left;
		margin-right: 5%;
		width: 20%;
		height: 180px !important;
		object-fit: cover;
	}
	
	.et_pb_posts .entry-title,
	.et_pb_posts .post-meta,
	.et_pb_posts .post-content { 
	    float: right; 
	    width: 75%; 
	}
	
	body.rtl .et_pb_posts .et_pb_post img,
	body.rtl .et_pb_posts .et_overlay {
		float: right;
		margin-left: 4%;
		margin-right: 0;
	}
	
	body.rtl .et_pb_posts .entry-title,
	body.rtl .et_pb_posts .post-meta,
	body.rtl .et_pb_posts .post-content { 
	    float: left; 
	}
}

/* footer */
#footer-main .et-menu {
	display: flex;
	flex-direction: column;
}

#footer-main .work-with-us .nav li {
	justify-content: flex-end !important;
}

/* accordions */
.et-db #et-boc .et-l .et_pb_accordion .et_pb_toggle {
	margin-bottom: 10px !important;
}

/* page title */
#page-title {
	background-position: center bottom !important;
}

@media (max-width: 980px) {
	
	#header-main .et_pb_column_2_tb_header {
		margin-bottom: 0!important;
		padding-top: 10px !important;
	}

	#header-main .nav li.join-us {
		display: block;
	}
	
	.open-mobile-menu .et_pb_menu__menu {
		display: flex !important;
	}
	
	.open-mobile-menu .et_mobile_nav_menu {
		display: none !important;
	}

	#footer-main .et_pb_menu .et_pb_menu__wrap,
	#footer-main .work-with-us .nav li {
		justify-content: flex-start !important;
	}
	
	#intro .et_pb_row {
		display: flex;
		flex-direction: column-reverse;
	}
	
	#page-title {
		padding: 60px 30px !important;
	}
	
	.single-lifeguard_training .one .et_pb_row {
		display: flex;
		flex-direction: column-reverse;
	}
	
}
