/* Default theme CSS over-rides */
:root {
	--black: #222222;
	--white: #ffffff;
	--green: #00A806;
	--light-green: #a5d7a6;
	--dark-green: #005403;
	--medium-orange: #fa6400;
	--blue: #0063c7;
	--dark-blue: #003263;
	--medium-red: #DC044C;
}

/* Setting the default font */
body,
cite,
.site-title,
.academy-top-banner,
.academy-top-banner a,
p.entry-meta .entry-time,
.entry-footer .entry-meta .entry-categories a,
.entry-footer .entry-meta .entry-tags a,
.entry-footer .entry-meta .entry-terms a {
	font-family: "PT Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
.hero-logos-header,
p.entry-meta,
.button.has-arrow,
.front-page-1-5 .widget p:first-child,
.front-page-4 .widget p:first-child {
	font-family: "Merriweather", "Georgia", "Garamond", serif;
}

body {
	background-color: var(--white);
	color: var(--black);
	font-size: 18px;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
}

a,
.divi-landing-page.et-db #et-boc .et-l .et_pb_module a {
	color: var(--green);
	text-decoration: underline;
	font-weight: 700;
}

a:focus,
a:hover,
.divi-landing-page.et-db #et-boc .et-l .et_pb_module a:focus,
.divi-landing-page.et-db #et-boc .et-l .et_pb_module a:hover {
	color: var(--dark-green);
	text-decoration: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
	background-color: var(--green);
	border: 0;
	border-radius: 100px;
	box-shadow: 0 7px 16px 0 rgba(0, 0, 0, 0.2);
	color: var(--white);
	cursor: pointer;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1;
	padding: 22px 36px 20px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: normal;
	width: auto;
}

a.button.large,
button.large,
input[type="button"].large,
input[type="reset"].large,
input[type="submit"].large {
	font-size: 24px;
	padding: 24px;
}

.site-container .site-header>.wrap {
	padding: 40px 50px 50px;
}

@media only screen and (max-width: 1023px) {
	.site-container .site-header>.wrap {
		padding: 20px 5%;
	}
}

@media screen and (max-width: 860px) {
	.site-container .site-header>.wrap {
		padding: 10px 5% 20px 5%;
	}

	.header-image .title-area {
		margin: 0 auto 10px auto !important;
	}

	.header-image .site-title>a {
		min-height: 60px;
	}

	.header-image .menu-toggle {
		margin-top: 0px !important;
	}

	.content .entry .entry-title,
	.content .entry .entry-meta,
	.content .entry .entry-content,
	.full-width-content .content .entry.entry-title,
	.full-width-content .content .entry .entry-meta,
	.full-width-content .content .entry .entry-content,
	.single.full-width-content .content .entry .entry-content {
		padding: 0 2%;
	}
}

/* Site Navigation
---------------------------------------------------------------------------- */

.genesis-nav-menu {
	clear: both;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1;
	text-transform: uppercase;
	width: 100%;
}

.genesis-nav-menu .sub-menu a {
	border-bottom: 1px solid #eee;
	font-size: 13px;
	letter-spacing: unset;
	padding: 15px 18px;
	position: relative;
	width: 200px;
	word-wrap: break-word;
}

.menu>.highlight>a {
	color: var(--black);
	padding: 14px 18px 14px;
	outline-offset: 2px;
}

.menu>.cta {
	padding-right: 10px;
}

@media only screen and (max-width: 1023px) {
	.menu>.cta {
		margin-top: 10px;
		padding-right: unset;
	}

	.cta .sub-menu-toggle,
	.cta .sub-menu-toggle:hover,
	.cta .sub-menu-toggle:focus {
		color: var(--white);
	}

	.menu-toggle {
		background-color: var(--white);
		border: 2px solid var(--green);
		box-shadow: none;
		color: var(--black);
		float: right;
		font-size: 16px;
		font-weight: 700;
		line-height: 1;
		padding: 14px 18px;
		position: relative;
		width: auto;
		z-index: 1000;
	}
}

.wrap #menu-main-menu .cta>a,
.menu>.cta>a {
	background-color: var(--green);
	border: 2px solid var(--green);
	border-radius: 100px;
	box-shadow: none;
	color: var(--white);
	padding: 14px 18px 14px;
	outline-offset: 2px;
	-moz-outline-radius: 100px;
}

.menu>.cta>a:focus,
.menu>.cta>a:hover {
	color: var(--white) !important;
}

/* Hero Section */
.hero-section a.primary {
	margin-right: 0px !important;
	margin-bottom: 30px;
	display: block;
}

.hero-section a.text {
	text-align: center;
	display: block;
	padding: 16px 0 16px 0;
}

.hero-section .button.secondary {
	display: block;
	padding: 20px 36px 19px;
	line-height: 1.3;
}

.hero-title {
	font-size: 40px !important;
}

/* Top Banner
---------------------------------------------------------------------------- */

.academy-top-banner {
	background: var(--blue);
	display: none;
	padding: 12px 40px;
	position: relative;
	text-align: center;
}

@media only screen and (max-width:860px) {
	.academy-top-banner {
		padding: 10px 2%;
	}
}

.academy-top-banner,
.academy-top-banner a {
	font-family: "PT Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.55;
}

/* .academy-top-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;	
	padding: 15px 60px;
}
.academy-top-banner > a {
	margin-left: 5px;
	margin-right: 15px;
} */

#academy-top-banner-close,
#academy-top-banner-close:focus,
#academy-top-banner-close:hover {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--black);
	height: 100%;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 0;
	transform: none;
	-moz-outline-radius: 0;
}

/* Countdown Clock CSS */
#clockdiv {
	color: #fff;
	display: inline-block;
	text-align: center;
	font-size: 30px;
	margin-bottom: 10px;
}

#clockdiv>div {
	margin-right: 5px;
	padding: 7px;
	border-radius: 10px;
	background: var(--green);
	display: inline-block;
}

#clockdiv div>span {
	padding: 0 10px;
	border-radius: 10px;
	background: #357a38;
	display: inline-block;
}

#clockdiv .smalltext {
	padding-top: 1px;
	font-size: 16px;
}

/* Landing page over-rides */
.page-template-page_landing .site-title a {
	background-position: center !important;
}

.page-template-page_landing .content {
	max-width: 800px !important;
}

.page-template-page_landing h1.entry-title {
	margin-bottom: 40px !important;
}

/* Front Page and Additional Widgets
--------------------------------------------- */
div#front-page-3 .wrap {
	max-width: 640px !important;
}

.front-page-1-5 {
	position: relative;
}

.front-page-1-5 .wrap {
	padding-top: 40px;
}

.front-page-1-5 .flexible-widgets.widget-area .widget:first-child {
	text-align: center;
	width: 100%;
}

.front-page-1-5 .flexible-widgets.widget-area .widget:first-child .widget-wrap {
	background-color: transparent;
	box-shadow: none;
	padding: 0;
}

.front-page-1-5 .flexible-widgets .widget {
	padding-left: 10px;
	padding-right: 10px;
}

.front-page-1-5 .flexible-widgets.widget-halves .widget:nth-child(2n + 1),
.front-page-1-5 .flexible-widgets.widget-thirds .widget:nth-child(3n + 1) {
	clear: none;
}

.front-page-1-5 .flexible-widgets.widget-halves .widget:nth-child(even),
.front-page-1-5 .flexible-widgets.widget-thirds .widget:nth-child(3n + 2) {
	clear: left;
	float: left;
}

.front-page-1-5 .widget p:first-child {
	color: #666;
	font-size: 15px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.3;
	margin: 0 0 25px;
}

.front-page-1-5 .widget-title {
	font-size: 32px;
	color: var(--black);
}

.front-page-1-5 blockquote {
	font-size: 18px;
	margin: 0;
}

.front-page-1-5 blockquote::before {
	color: #bbb;
	display: block;
	font-size: 30px;
	left: -40px;
}

.front-page-1-5 blockquote cite {
	line-height: 45px;
	vertical-align: middle;
}

.front-page-1-5 blockquote cite img {
	border-radius: 100px;
	max-height: 45px;
}

/* Add separation line between 1 and 2 */
#front-page-2 div.wrap::before {
	background-color: #f5f5f5;
	border-top: 2px solid var(--green);
	content: "";
	display: block;
	margin: 0 auto;
	padding-bottom: 80px;
	width: 48px;
}

/* Fix some angles */
.front-page-2::after {
	bottom: 5% !important;
}

.front-page-3::before {
	bottom: 10% !important;
}

/* Divi Landing Page
---------------------------------------------------------------------------- */
/* Custom CBC Style - added Divi defaults override */
.et-db .site-container #et-boc .et-l .et_pb_module input,
input {
	border-radius: 100px;
}

/* Custom CBC Style - added Divi defaults override */
.et-db .site-container #et-boc .et-l .et_pb_module textarea,
textarea {
	border-radius: 10px;
}

/* Custom CBC Style - added Divi defaults override */
.et-db .site-container #et-boc .et-l .et_pb_module input,
.et-db .site-container #et-boc .et-l .et_pb_module input[type=text],
.et-db .site-container #et-boc .et-l .et_pb_module input[type=number],
.et-db .site-container #et-boc .et-l .et_pb_module input[type=email],
.et-db .site-container #et-boc .et-l .et_pb_module select,
.et-db .site-container #et-boc .et-l .et_pb_module textarea,
input,
select,
textarea {
	background-color: var(--white);
	border: 2px solid #ddd;
	color: var(--black);
	font-size: 18px;
	font-weight: 400;
	padding: 16px 32px 14px;
	width: 100%;
	height: auto;
}

/* Custom CBC Style - added Divi defaults override */
.et-db .site-container #et-boc .et-l .et_pb_module input[type="checkbox"],
.et-db .site-container #et-boc .et-l .et_pb_module input[type="image"],
.et-db .site-container #et-boc .et-l .et_pb_module input[type="radio"],
input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

/* Background Clearing */
.divi-landing-page .site-inner::before {
	content: unset;
}

.divi-landing-page .site-inner::after {
	content: unset;
}

.divi-landing-page .site-container .site-header>.wrap {
	padding: 20px 50px;
}

@media only screen and (max-width: 1023px) {
	.divi-landing-page .site-container .site-header>.wrap {
		padding: 20px 5%;
	}
}

.divi-landing-page .wrap .content {
	max-width: 100%;
	width: 100%;
}

.divi-landing-page .wrap .content article {
	padding-bottom: 0;
	margin-bottom: 0;
}

.divi-landing-page .site-inner .wrap {
	max-width: unset;
}

.divi-landing-page .entry {
	text-align: center;
}

.divi-landing-page .content .entry-content {
	padding: 0;
}

@media only screen and (max-width: 1200px) {
	.divi-landing-page .content .entry .entry-content {
		padding: 0;
	}
}

@media only screen and (max-width: 860px) {
	.divi-landing-page .site-container .site-header>.wrap {
		padding: 10px 5% 15px 5%;
	}

	.divi-landing-page .content .entry .entry-content {
		padding: 0;
	}
}

@media only screen and (max-width: 860px) {
	.divi-landing-page .wrap {
		padding-left: 0;
		padding-right: 0;
	}
}

.divi-landing-table {
	display: flex;
	flex-wrap: wrap;
	margin: 40px 0 80px;
}

.divi-landing-table .one-half,
.divi-landing-table .one-third,
.divi-landing-table .one-fourth {
	background-color: var(--white);
	border-radius: 10px;
	box-shadow: 0 35px 70px 0 rgba(0, 0, 0, 0.12);
	padding: 50px 30px;
	text-align: center;
}

.divi-landing-table .featured {
	border: 4px solid var(--green);
}

.divi-landing-table h4 {
	color: var(--black);
	font-style: normal;
	font-weight: 700;
	margin-top: 0;
}

.divi-landing-table p {
	margin-bottom: 0;
}

.divi-landing-table .price {
	display: block;
	font-size: 42px;
	font-weight: 900;
	margin: 10px 0;
}

.divi-landing-table ul li {
	list-style-type: none;
}

.divi-landing-table ul {
	margin: 0 0 40px 0;
}

/* Pricing Table For Divi Use */
.divi-landing-page #genesis-content #et-boc .pricing-table {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	margin: 40px 0 80px;
}

.divi-landing-page #genesis-content #et-boc .pricing-table .one-third {
	background-color: #fff;
	border-radius: 10px;
	padding: 40px 30px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 32.4%;
	float: left;
}

.divi-landing-page #genesis-content #et-boc .pricing-table .one-half {
	background-color: #fff;
	border-radius: 10px;
	padding: 40px 30px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 48%;
	float: left;
}

.divi-landing-page #genesis-content #et-boc .pricing-table .one-third.first,
.divi-landing-page #genesis-content #et-boc .pricing-table .one-half.first {
	clear: both;
	margin-left: 0;
}

.divi-landing-page #genesis-content #et-boc .pricing-table .featured {
	border: 4px solid var(--blue);
}

.divi-landing-page #genesis-content #et-boc .pricing-table .description {
	text-align: left;
	font-weight: 700;
	line-height: 1.4;
	margin-top: 10px;
}

.divi-landing-page #genesis-content #et-boc .pricing-table span.level {
	color: var(--black);
	font-style: normal;
	font-weight: 700;
	margin-top: 0;
}

.divi-landing-page #genesis-content #et-boc .pricing-table span.sale {
	align-self: center;
	border: 1px solid transparent;
	border-radius: 10px;
	letter-spacing: .1rem;
	line-height: 1;
	padding: .5rem 1.3rem .6rem;
	margin-top: -10px;
	margin-bottom: 20px;
	text-align: center;
	font-weight: 600;
	background-color: var(--medium-red);
	border-color: var(--medium-red);
	color: var(--white);
	word-break: break-word;
}

.divi-landing-page #genesis-content #et-boc .pricing-table span.level-subtitle {
	color: var(--blue);
}

.divi-landing-page #genesis-content #et-boc .pricing-table p {
	margin-bottom: 0;
}

.divi-landing-page #genesis-content #et-boc .pricing-table span.price-line {
	display: flex;
	justify-content: center;
	margin: 24px 0;
}

.divi-landing-page #genesis-content #et-boc .pricing-table .price {
	display: block;
	font-size: 42px;
	font-weight: 900;
	line-height: 0.5;
	margin: 10px 0;
}

.divi-landing-page #genesis-content #et-boc .pricing-table .smaller-price {
	display: block;
	font-size: 20px;
	font-weight: 900;
	line-height: 0;
	margin: 10px 0;
}

.divi-landing-page #genesis-content #et-boc .pricing-table button {
	margin-top: 30px;
}

.divi-landing-page #genesis-content #et-boc .pricing-table ul li {
	list-style-type: none;
}

.divi-landing-page #genesis-content #et-boc .pricing-table ul {
	margin: 0 0 40px 0;
}

.divi-landing-page #genesis-content #et-boc .pricing-table hr {
	/* Adjust spacing above the line */
	margin-bottom: 20px;
	/* Adjust spacing below the line */
	border: none;
	/* Remove default border */
	border-top: 4px solid #246eb9;
	/* Add a thin, light gray line */
}

.divi-landing-page #genesis-content #et-boc .pricing-table span.price-section-line {
	margin: 0 0 20px !important;
	display: flex;
	font-weight: bold;
}

.divi-landing-page #genesis-content #et-boc .pricing-table span.price-section-line:after {
	content: '';
	flex: 1;
	border-bottom: 4px solid;
	border-bottom-color: inherit;
	margin: auto 0 auto 1rem;
}

.divi-landing-page #genesis-content #et-boc .pricing-table span.price-section-line:before {
	content: '';
	flex: 1;
	border-bottom: 4px solid;
	border-bottom-color: inherit;
	margin: auto 1rem auto 0;
}

.divi-landing-page #genesis-content #et-boc .pricing-table .price-box-ribbon {
	font-size: 15px;
	line-height: 12px;
	font-weight: 700;
	display: inline-block;
	position: absolute;
	top: -15px;
	left: -10px;
	margin: 0;
	padding: 9px 16px 8px 14px;
	color: #fff;
	background-color: var(--blue);
	box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, .14);
}

.divi-landing-page #genesis-content #et-boc .pricing-table .price-box-ribbon::after {
	content: " ";
	display: block;
	position: absolute;
	left: -10px;
	bottom: -7px;
	border-color: rgba(0, 0, 0, 0) var(--dark-blue) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
	border-style: inset solid inset inset;
	border-width: 0 10px 7px;
}

@media only screen and (max-width: 1360px) {

	.divi-landing-page #genesis-content #et-boc .pricing-table {
		margin: 80px 0;
	}

}

@media only screen and (max-width: 1023px) {

	.divi-landing-page #genesis-content #et-boc .pricing-table {
		margin: 40px 0;
	}

	.divi-landing-page #genesis-content #et-boc .pricing-table .one-fourth,
	.divi-landing-page #genesis-content #et-boc .pricing-table .one-fifth {
		margin-bottom: 20px;
		margin-left: 0;
		width: 48%;
	}

	.divi-landing-page #genesis-content #et-boc .pricing-table .one-fourth:nth-child(even),
	.divi-landing-page #genesis-content #et-boc .pricing-table .one-fifth:nth-child(even) {
		margin-left: 4%;
	}

	.divi-landing-page #genesis-content #et-boc .pricing-table {
		margin: 40px 0;
	}
}

@media only screen and (max-width: 860px) {

	.divi-landing-page #genesis-content #et-boc .pricing-table .one-half,
	.divi-landing-page #genesis-content #et-boc .pricing-table .one-third,
	.divi-landing-page #genesis-content #et-boc .pricing-table .one-fourth {
		margin: 20px 0;
		padding: 40px;
		width: 100%;
	}

	.divi-landing-page #genesis-content #et-boc .pricing-table .one-fourth,
	.divi-landing-page #genesis-content #et-boc .pricing-table .one-fourth:nth-child(even),
	.divi-landing-page #genesis-content #et-boc .pricing-table .one-fifth,
	.divi-landing-page #genesis-content #et-boc .pricing-table .one-fifth:nth-child(even) {
		margin-left: 0;
		width: 100%;
	}
}

/* Custom 1-Column Pricing Table For Divi Use */
.divi-landing-page #genesis-content #et-boc #one-pricing.pricing-table {
	justify-content: center;
	margin: 20px 0 40px;
}

/* --- Styles for the Toggle Switch --- */
.divi-landing-page #genesis-content #et-boc .pricing-toggle-container {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 30px;
	padding: 10px;
	border-radius: 25px;
}

.divi-landing-page #genesis-content #et-boc .pricing-toggle-label {
	margin: 0 15px;
	font-size: 16px;
	font-weight: 500;
	color: var(--black);
	cursor: pointer;
	transition: color 0.3s ease;
}

.divi-landing-page #genesis-content #et-boc .pricing-toggle-label.active {
	font-weight: 700;
	color: var(--blue);
	/* Highlight color for active option */
}

.divi-landing-page #genesis-content #et-boc .pricing-toggle-switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.divi-landing-page #genesis-content #et-boc .pricing-toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.divi-landing-page #genesis-content #et-boc .pricing-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #e1edf9;
	/* Inactive color */
	transition: .4s;
	border-radius: 34px;
}

.divi-landing-page #genesis-content #et-boc .pricing-slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: var(--white);
	transition: .4s;
	border-radius: 50%;
}

.divi-landing-page #genesis-content #et-boc input:checked+.pricing-slider {
	background-color: var(--blue);
	/* Active color */
}

.divi-landing-page #genesis-content #et-boc input:focus+.pricing-slider {
	box-shadow: 0 0 1px var(--blue);
}

.divi-landing-page #genesis-content #et-boc input:checked+.pricing-slider:before {
	transform: translateX(26px);
}

/* Forminator forms aligning on mobile */
@media only screen and (max-width: 767px) {
	.content .entry-content .forminator-custom-form {
		text-align: center;
	}
}

/* Aligning simple share buttons */
.share-before,
.share-after {
	text-align: center;
}

/* Ad inserter styles */
span.s1 {
	font-size: 17px;
	color: var(--green);
}

p.p1 {
	margin: -20px 0 28px;
}

/* Basic styling for membership comparison tables */
table#membership-vs {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

#membership-vs th,
#membership-vs td {
	padding: 12px;
	border-bottom: 1px solid #ddd;
	text-align: center;
	overflow-wrap: break-word;
	word-break: break-word;
	line-height: 1.4;
}

#membership-vs th {
	background-color: #e1edf9;
	font-weight: bold;
}

#membership-vs td:first-child {
	text-align: left;
}

#membership-vs tr:last-child {
	font-weight: bold;
}

/* Compact styling for mobile view */
@media screen and (max-width: 600px) {

	#membership-vs th,
	#membership-vs td {
		width: 24%;
		padding: 6px;
	}

	#membership-vs th:first-child,
	#membership-vs td:first-child {
		width: 58%;
	}

	#membership-vs .sp-icon-check-circle,
	#membership-vs .sp-icon-x-circle {
		font-size: 24px;
		/* Smaller icons for mobile */
	}
}

/* Green circle highlight */
.green-circle-highlight {
	position: relative;
}

.green-circle-highlight:after {
	content: "";
	position: absolute;
	background-image: url(https://childbehaviorclinic.com/wp-content/uploads/2024/07/underline-word.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	left: -21%;
	top: -16%;
	width: 140%;
	height: 140%;
	z-index: -1;
}