
/*
Theme Name: Bennett Day School Theme
Text Domain: bennettday
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0.0
Description: A child theme for Bennett Day School
Author: Design TLC
Author URI: https://designtlc.com
template: bb-theme

*/

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

/*
span.breadcrumb_last {
    border-bottom: 1px solid #F9A249;
}
*/
#breadcrumbs {
	font-size: 16px;
}

.anww-external-link-icon:before {
	display: none;
}

html {
	font-size: 16px !important;
}

html body {
	font-size: 1.125rem;
	line-height: 150%;
	font-weight: 300;
}

.fl-rich-text a {
	font-weight: 500;
}

.page-title h1 {
	font-size: 3.75rem;
}

html body h2 {
	line-height: 1.2;
}

.page-subhead h2, h2.page-subhead {
	font-size: 2.125rem;
}

.sidebar h2 {
	font-size: 2rem;
}

.page-callout h2 {
	font-size: 2.1rem;
}

body.single-post h2 {
	font-size: 1.5rem;
}

.single-post h3 {
	font-size: 1.25rem;
}

html body h3 {
	line-height: 1.1;
}

.page-subhead h3, h3.page-subhead {
	font-size: 1.75rem;
}

html body h4 {
	font-size: 1.2rem;
}

html body h5 {
	font-size: 1.125rem;
}

html body h6 {
	font-size: 1rem;
}

.hs-form {
	background: rgba(240, 248, 252, .5);
	padding: 20px;
	border-radius: 20px;
}

.camp-button {
	background: #d1ec3c;
	border: 1px #d1ec3c solid;
	padding: 10px;
	border-radius: 12px;
	display: inline-block;
	margin: 10px 0;
}

.camp-button:hover {
	background: #fff;
	color: #066a86;
}

.uabb-module-content.uabb-imgicon-wrap {
	margin-top: 0px !important;
}

/* HEADER FOR HOME AND TOP LEVEL PAGES */
header.fl-theme-builder-header-scrolled .fl-menu .fl-menu-toggle::before {
	border-color: #151515 !important;
}

header.fl-theme-builder-header-scrolled .fl-rich-text *, header.fl-theme-builder-header-scrolled .menu a {
	color: #151515 !important;
}

.logo-sticky .fl-photo-img {
	opacity: 0;
	z-index: -5;
	position: absolute;
	visibility: hidden;
}

/* comment out by MD to fix jumpy logo on scroll 
 .logo-normal .fl-photo-img {
	transition: none !important;
}
*/
header.fl-theme-builder-header-scrolled .logo-sticky .fl-photo-img {
	opacity: 1;
	z-index: 0;
	position: absolute;
	visibility: visible;
	top: -20px;
	-webkit-transition: all .4s ease-in-out, background-position 1ms;
	-moz-transition: all .4s ease-in-out, background-position 1ms;
	transition: all .4s ease-in-out, background-position 1ms;
}

header.fl-theme-builder-header-shrink .logo-sticky .fl-photo-img {
	top: -40px;
	max-height: 90px !important;
}

header.fl-theme-builder-header-scrolled .logo-normal .fl-photo-img {
	opacity: 0;
	z-index: -5;
	position: absolute;
	visibility: hidden;
}

html body .fl-testimonials-wrap .bx-pager.bx-default-pager a:not(.active) {
	opacity: 1 !important;
	background-color: #f0f8fc !important;
}

/* mega menu */
html body .cls-main-menu .fl-menu ul.fl-menu-horizontal li.mega-menu.single {
	position: relative;
}

html body .cls-main-menu .fl-menu ul.fl-menu-horizontal li.mega-menu.single.left.fl-has-submenu>.fl-has-submenu-container~ul.sub-menu {
	width: calc(630px + 0px) !important;
}

html body .cls-main-menu .fl-menu ul.fl-menu-horizontal li.mega-menu.single.right.fl-has-submenu>.fl-has-submenu-container~ul.sub-menu {
	right: 0px !important;
	width: calc(630px + 0px) !important;
	left: unset !important;
}

html body .cls-main-menu .fl-menu ul.fl-menu-horizontal li.mega-menu.single.fl-has-submenu:last-child>.fl-has-submenu-container~ul.sub-menu {
	right: 0px !important;
	width: calc(100% + 100px) !important;
	left: unset !important;
}

html body .cls-main-menu .fl-menu ul.fl-menu-horizontal li.mega-menu.single.fl-has-submenu>.fl-has-submenu-container~ul.sub-menu {
	width: calc(100% + 100px) !important;
}

html body .cls-main-menu .fl-menu {
	position: relative;
}

html body .cls-main-menu .fl-menu ul.sub-menu li.hide-heading>.fl-has-submenu-container {
	display: none;
	visibility: hidden;
}

html body .cls-main-menu .fl-menu li.mega-menu.fl-has-submenu:hover>.fl-has-submenu-container~.sub-menuu {
	visibility: visible;
	opacity: 1;
	display: flex !important;
}

html body .cls-main-menu ul.fl-menu-horizontal li.mega-menu.fl-has-submenu.clicked>ul.sub-menu, html body .cls-main-menu ul.fl-menu-horizontal li.mega-menu.fl-has-submenu.clicked>.fl-has-submenu-container~ul.sub-menu {
	visibility: visible !important;
	opacity: 1 !important;
	display: flex !important;
	flex-wrap: wrap;
	justify-content: space-between;
}

html body .cls-main-menu .fl-menu ul.fl-menu-horizontal li.mega-menu.fl-has-submenu>.fl-has-submenu-container~ul.sub-menu {
	padding: 10px 10px;
	border-top: 1px solid transparent;
	left: 0% !important;
	width: calc(80% + 0px) !important;
	visibility: hidden;
	opacity: 0;
	z-index: 12;
}

.cls-main-menu .fl-menu ul.fl-menu-horizontal li.mega-menu.fl-has-submenu:hover>ul.sub-menu, .cls-main-menu .fl-menu ul.fl-menu-horizontal li.mega-menu.fl-has-submenu.focus>ul.sub-menu {
	visibility: hidden;
	opacity: 0;
	display: flex !important;
}

.cls-main-menu ul.fl-menu-horizontal li.menu-item a {
	cursor: pointer;
	border-radius: 10px;
}

html body .cls-main-menu .fl-menu li.fl-visible-mobile.menu-item {
	display: none;
}

.cls-main-menu .fl-menu ul.fl-menu-horizontal li.mega-menu.fl-has-submenu>ul.sub-menu .top-page {
	font-size: 18px !important;
}

.cls-main-menu .hamburger-menu .fl-hamburger-menu-top {
	height: 50px;
	width: 100%;
}

.cls-main-menu .hamburger-menu .fl-hamburger-menu-middle {
	height: 50px;
	width: 100%;
}

.cls-main-menu .hamburger-menu .fl-hamburger-menu-bottom {
	height: 50px;
	width: 100%;
}

.fl-menu-mobile-flyout ul.menu li.menu-item ul.sub-menu li.menu-item a:before, .fl-menu-mobile-flyout ul.menu li.menu-item ul.sub-menu li.menu-item ul.sub-menu li.menu-item a:before {
	display: none;
}

.fl-menu-mobile-flyout ul.menu .fl-menu-toggle, .sub-page-left-menu .fl-menu.fl-flyout-left {
	text-align: center;
}

.cls-main-menuu .fl-menu-mobile-flyout ul.menu .fl-menu-toggle::before {
	content: "";
	font-family: "Font Awesome 5 Free";
	z-index: 1;
	font-size: inherit;
	line-height: 0;
	font-weight: 900;
	color: #fff;
	border-color: #333;
	text-align: right;
	cursor: pointer;
	margin: auto;
	position: relative;
	top: 6px;
}

.fl-node-kyg4jmdq2hlu .fl-menu-horizontal.fl-toggle-arrows .fl-menu-toggle, .fl-node-kyg4jmdq2hlu .fl-menu-vertical.fl-toggle-arrows .fl-menu-toggle, .fl-node-rihps5cwaj4o .fl-menu-horizontal.fl-toggle-arrows .fl-menu-toggle {
	border-radius: 10px;
}

html body:not(.home) .cls-main-menu .fl-menu-mobile-flyout ul.fl-menu-horizontal li.menu-item a {
	color: #fff !important;
}

.fl-menu-mobile-flyout ul.menu li.menu-item ul.sub-menu li.menu-item a, .fl-menu-mobile-flyout ul.menu li.menu-item ul.sub-menu li.menu-item ul.sub-menu li.menu-item a {
	padding: 5px 0px;
}

html body .cls-main-menu .fl-menu .fl-menu-mobile-flyout li.fl-visible-mobile.menu-item {
	display: block;
}

.cls-main-menu .fl-menu .menu>li.current-menu-item>.fl-has-submenu-container>a, .cls-main-menu .fl-menu .menu>li.current-menu-ancestor>.fl-has-submenu-container>a {
	transition: all .3s linear .05s;
	border-bottom: solid 0px #c9deed;
}

.cls-main-menu .fl-menu .fl-menu-mobile-flyout .menu>li.current-menu-item>.fl-has-submenu-container>a, .cls-main-menu .fl-menu .fl-menu-mobile-flyout .menu>li.current-menu-ancestor>.fl-has-submenu-container>a {
	border-bottom: solid 0px #e6b53c;
}

html body .cls-main-menu .fl-menu ul.sub-menu li.heading>a {
	color: #025b94;
	font-size: 24px;
	text-transform: uppercase;
	font-weight: 500;
	border-left: 6px solid #025b94;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 20px;
	margin-bottom: 10px;
}

html body .cls-main-menu .fl-menu ul.sub-menu li.hide-heading .sub-menu {}

html body .cls-main-menu ul.fl-menu-horizontal li.mega-menu.fl-has-submenu.clicked>ul.sub-menu, html body .cls-main-menu ul.fl-menu-horizontal li.mega-menu.fl-has-submenu.clicked>.fl-has-submenu-container~ul.sub-menu>.menu-item.heading {
	flex-basis: 100%;
}

html body .cls-main-menu ul.fl-menu-horizontal li.mega-menu.fl-has-submenu.clicked>ul.sub-menu, html body .cls-main-menu ul.fl-menu-horizontal li.mega-menu.fl-has-submenu.clicked>.fl-has-submenu-container~ul.sub-menu>.menu-item {
	flex: 1 1 0;
}

html body .cls-main-menu .fl-menu ul.sub-menu li.hide-heading .sub-menu li.menu-item .sub-menu li.menu-item a {
	padding-top: 10px;
	padding-bottom: 10px;
	border-radius: 6px;
}

.green-checklist ul {
	list-style-type: none;
}

.green-checklist li {
	text-indent: -25px;
	margin-bottom: 10px;
}

.green-checklist li:before {
	content: "";
	margin-right: 10px;
	color: #94b131;
	font-family: "Font Awesome 5 Pro";
	font-size: 20px;
}

/* subpage-sidebar menu */
.subpage-sidebar-heading a {
	color: #0a7e9e;
	font-size: 1.625rem;
}

.row-subpage-header .fl-row-content-wrap {
	padding-top: 200px;
	padding-bottom: 150px;
}

.col-subpage-sidebar-menu .fl-col-content {
	background-color: #fff;
	border-radius: 0 10px 10px 0;
	padding: 32px 24px;
}

/*.subpage-row.subpage-title .fl-row-content-wrap {
	margin-top: -60px;
	padding-top: 40px;
}
.subpage-row.subpage-title .fl-row-content-wrap {
	background-image: url('/wp-content/uploads/2024/02/page-title-bg-curves.svg');
	background-repeat: no-repeat;
	background-position: center top;
	background-attachment: scroll;
	background-size: cover;
}
.subpage-row .fl-row-content-wrap .fl-row-content {
	max-width: 900px;
}*/
.cus-accordion-style .fl-accordion-button-icon.fl-accordion-button-icon-right.fas.fa-plus {
	color: #f9a249;
	opacity: 1;
}

.cus-accordion-style .fl-accordion-button-icon.fl-accordion-button-icon-right.fas.fa-minus {
	color: #0a7e9e;
	opacity: 1;
}

.cus-accordion-style .fl-accordion-item.fl-accordion-item-active, .cus-accordion-style .fl-accordion-item.fl-accordion-item-active .fl-accordion-button {
	background-color: #f0f8fc;
	opacity: 1;
}

.cus-accordion-style .fl-accordion-item .fl-accordion-button a:active, .cus-accordion-style .fl-accordion-item .fl-accordion-button a:focus {
	outline: none !important;
}

/*
html body.home footer .fl-row:first-child .fl-row-content-wrap .fl-builder-shape-Subpage,
html body.home footer .fl-row:first-child .fl-row-content-wrap  .fl-builder-bottom-edge-layer  {
	display: none;
}
html body:not(.home) footer .fl-row:first-child .fl-row-content-wrapp {
	background-image: url('/wp-content/uploads/2024/02/hero-header-curved-shape.svg');
	background-repeat: no-repeat;
	background-position: center -30px;
	background-attachment: scroll;
	background-size: cover;
	position: relative;
}
html body:not(.home) footer .fl-row .fl-row-content-wrapp:after { 
	content: '';
	position: absolute;
	width: 100%;
	height: 50%;
	background-color: #f0f8fc;
	bottom: 0;
    z-index: -1;
}*/
.fl-menu-mobile-close i {
	color: #fff;
}

@media only screen and (min-width : 320px) and (max-width : 767px) {
	#logo-wrapper .fl-photo-img-svg a {
		background: none !important;
	}
	
	html body .cls-main-menu .fl-menu ul.sub-menu li.hide-heading .sub-menu {
		padding-left: 0px;
	}
	
	html body .cls-main-menu .fl-menu ul.menu li.menu-item.fl-active>.fl-has-submenu-container~ul.sub-menu {
		padding: 0px 0px 15px 15px;
	}
	
	html body h2 {
		font-size: 1.5rem;
		line-height: 1.1;
	}
	
	.page-subhead h2, .page-callout h2, .sidebar h2 {
		font-size: 1.5rem;
	}
	
	#breadcrumbs {
		font-size: 14px;
	}
	
	.page-title h1 {
		font-size: 2.5rem;
	}
	
	.sidebar-menu .fl-menu.fl-menu-responsive-toggle-mobile {
		text-align: center;
	}
	
	.col-subpage-sidebar-menu .fl-col-content {
		border-radius: 0 0px 0px 0;
		padding: 15px 0px;
	}
	
	html body:not(.home) footer .fl-row:first-child .fl-row-content-wrap {
		background-position: center 0;
	}
	
	.subpage-row.subpage-title .fl-row-content-wrap {
		margin-top: -20px;
		padding-top: 40px;
		background-size: contain;
	}
	
	.fl-col-small:not(.fl-col-small-full-width) {
		max-width: 100%;
	}
	
	/*	html body:not(.home) footer .fl-row:first-child .fl-row-content-wrap {
		background-size: inherit;
		padding-top: 100px;
	}	
	html body:not(.home) footer .fl-row .fl-row-content-wrap::after {
		height: 75%;
	}
	*/
	.cls-main-menu .menu .menu-item a {
		margin: 0 !important;
	}
	
	.cls-main-menu .menu .menu-item .fl-menu-toggle:before {
		border-color: #fff;
	}
	
	header .home-header {
		background-color: #0a7e9e;
	}
	
	header .home-header .fl-col-group.fl-col-group-responsive-reversed:first-child {
		order: 1;
	}
	
	header .home-header .fl-row-content.fl-row-fixed-width.fl-node-content {
		display: grid;
	}
	
	.mobile-three-btn .fl-button-group-button {
		width: 33.33%;
	}
	
	.mobile-three-btn .fl-button-group-button .fl-button-wrap.fl-button-width-full {
		width: 100%;
		height: 100%;
	}
	
	header.fl-builder-content[data-type="header"]:not(.fl-theme-builder-header-sticky):not(.fl-builder-content-editing) {
		position: relative;
	}
	
	html body .event-wrp .fl-post-image {
		width: 100% !important;
	}
	
	html body .fl-post-text {
		flex: 1 !important;
		padding: 20px 0 !important;
	}
	
	.fl-node-w1lejop0za8f .event-wrp {
		justify-content: space-between;
		flex-wrap: wrap;
	}
	
	html body .event-wrp .fl-post-image a {
		display: block;
		text-align: center;
	}
	
	html body .event-wrp .fl-events_categories .fl-events_categories span {
		padding: 5px 10px;
		font-size: 1rem;
	}
	
	.fl-menu-mobile-flyout .is-menu path.search-icon-path {
		fill: #fff !important;
	}
	
	.fl-menu-mobile-flyout .is-menu.is-dropdown form {
		min-width: 100% !important;
	}
}

@media only screen and (min-width : 768px) and (max-width : 1166px) {
	.fl-theme-builder-header-scrolled .fl-menu-mobile-toggle, .fl-theme-builder-header-scrolled .fl-menu-mobile-toggle:hover {
		color: #0a7e9e;
	}
}

@media only screen and (min-width : 1024px) and (max-width : 1200px) {
	.uabb-ib1-description.uabb-text-editor h3 {
		font-size: 1.225rem;
	}
}

/* iPhone Landscape */
@media screen and (max-device-width: 480px) and (orientation:landscape) {
	.fl-node-3y0f2vcjmgha>.fl-row-content-wrap {
		padding-top: 180px;
	}
	
	.fl-node-3y0f2vcjmgha .fl-builder-top-edge-layer>* {
		height: 100% !important;
	}
}
