/*
Theme Name: Divi Child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: Divi child theme via Freshy
Author: Freshy
Author URI: https://freshysites.com/
Template: Divi
Version: 4.2.1
*/
/* Add your own styles at the bottom */

/* -- COLORS -- */

.white, 
.white h1, .white h2, .white h3, .white h4, .white h5, .white h6, .white li, .white a,
h1.white, h2.white, h3.white, h4.white, h5.white, h6.white, li.white, a.white, p.white {
	color: #fff;
}

.black, 
.black h1, .black h2, .black h3, .black h4, .black h5, .black h6, .black li, .black a,
h1.black, h2.black, h3.black, h4.black, h5.black, h6.black, li.black, a.black, p.black {
	color: #000;
}

.primary, 
.primary h1, .primary h2, .primary  h3, .primary h4, .primary h5, .primary h6, .primary li, .primary a,
h1.primary, h2.primary, h3.primary, h4.primary, h5.primary, h6.primary, li.primary, a.primary, p.primary {
	color: #32a709;
}

.secondary, 
.secondary h1, .secondary h2, .secondary h3, .secondary h4, .secondary h5, .secondary h6, .secondary li, .secondary a,
h1.secondary, h2.secondary, h3.secondary, h4.secondary, h5.secondary, h6.secondary, li.secondary, a.secondary, p.secondary {
	color: #daf238;
}

.tertiary, 
.tertiary h1, .tertiary h2, .tertiary h3, .tertiary h4, .tertiary h5, .tertiary h6, .tertiary li, .tertiary a,
h1.tertiary, h2.tertiary, h3.tertiary, h4.tertiary, h5.tertiary, h6.tertiary, li.tertiary, a.tertiary, p.tertiary {
	color: #e4debe;
}

/* background colors */
.bg-white, a.bg-white {background-color: #fff;}
.bg-black, a.bg-black {background-color: #000;}
.bg-primary, a.bg-primary {background-color: #32a709;}
.bg-secondary, a.bg-secondary {background-color: #daf238;}
.bg-tertiary, a.bg-tertiary {background-color: #e4debe;}

/* -- END COLORS -- */


/* -- TYPOGRAPHY -- */

.text-lowercase, 
.text-lowercase h1, .text-lowercase h2, .text-lowercase h3, .text-lowercase h4, .text-lowercase h5, .text-lowercase h6, .text-lowercase li, .text-lowercase a {
	text-transform: lowercase !important;
}

.text-uppercase, 
.text-uppercase h1, .text-uppercase h2, .text-uppercase h3, .text-uppercase h4, .text-uppercase h5, .text-uppercase h6, .text-uppercase li, .text-uppercase a {
	text-transform: uppercase !important;
}

.text-capitalize, 
.text-capitalize h1, .text-capitalize h2, .text-capitalize h3, .text-capitalize h4, .text-capitalize h5, .text-capitalize h6, .text-capitalize li, .text-capitalize a {
	text-transform: capitalize !important;
}

.text-transform-none, 
.text-transform-none h1, .text-transform-none h2, .text-transform-none h3, .text-transform-none h4, .text-transform-none h5, .text-transform-none h6, .text-transform-none li, .text-transform-none a {
	text-transform: none !important;
}

.font-weight-bold, 
.font-weight-bold h1, .font-weight-bold h2, .font-weight-bold h3, .font-weight-bold h4, .font-weight-bold h5, .font-weight-bold h6, .font-weight-bold li, .font-weight-bold a {
	font-weight: 700;
}

.font-weight-normal, 
.font-weight-normal h1, .font-weight-normal h2, .font-weight-normal h3, .font-weight-normal h4, .font-weight-normal h5, .font-weight-normal h6, .font-weight-normal li, .font-weight-normal a {
	font-weight: 400;
}

.font-italic {font-style: italic;}

.text-underline-none, .text-underline-none a {text-decoration: none !important;}

.text-underline, .text-underline a {text-decoration: underline !important;}

.text-nowrap, .text-nowrap a {white-space: nowrap !important;}

.text-wrap-normal, .text-wrap-normal a {white-space: normal !important;}

/* -- END TYPOGRAPHY -- */


/* -- TEMPLATE -- */



/* -- END TEMPLATE -- */


/* -- HEADER -- */

/* helps logo to not be pixelated when scaled down */
#logo {
	transform: none !important;
}

/* when mobile menu is open, change hamburger icon to x icon */
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
#et-boc header .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}

/* makes sub sub menu icon be right arrow instead of down arrow */
#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after, 
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-boc header .menu-item-has-children  .menu-item-has-children > a:first-child::after {
	content: '5';	
}

/* if parent link of child menu is a deadlink, then make it not clickable */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a[href="#0"],
#et-boc header .et_mobile_menu .menu-item-has-children > a[href="#0"] { 
	pointer-events: none;
}

/* - mobile menu toggling elements, injected via jQuery - */

/* make menu list item be relative, to be able to position toggle within this item */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children,
#et-boc header .et_mobile_menu .menu-item-has-children {
	position: relative;	
}
/* the new toggle element, which is added via jQuery */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle,
#et-boc header .et_mobile_menu .sub-menu-toggle {
	position: absolute;
	background-color: rgba(0,0,0,0.03);
	z-index: 1;
	width: 36px;
	height: 36px;
	line-height: 36px;
	border-radius: 50%;
	top: 4px;
	right: 4px;
	cursor: pointer;
	text-align: center;
}
/* the new toggle element when popped */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped,
#et-boc header .et_mobile_menu .sub-menu-toggle.popped {
	background-color: rgba(0,0,0,0.1);
}
/* toggle icon */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before,
#et-boc header .et_mobile_menu .sub-menu-toggle::before {
	font-family: "ETmodules" !important;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 36px;
	font-size: 24px;
	text-transform: none;
	speak: none;
	content: '\33';
}
/* toggle icon when triggered */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before,
#et-boc header .et_mobile_menu .sub-menu-toggle.popped::before {
	content: '\32';
}
/* hide sub menus by default */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu,
#et-boc header .et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
	display: none !important;
	padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu,
#et-boc header .et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
	display: block !important;
	background-color: rgba(0,0,0,0.03);
}
/* remove sub menu list item left padding, since padding will be on anchors */
#main-header #mobile_menu.et_mobile_menu li li,
#et-boc header .et_mobile_menu li li {
	padding-left: 0;
}

/* adjust mobile menu anchors side paddings */
#main-header #mobile_menu.et_mobile_menu li a,
#et-boc header .et_mobile_menu li a {
	padding-left: 20px;
	padding-right: 20px;
}
/* indent sub menu */
#main-header #mobile_menu.et_mobile_menu li li a,
#et-boc header .et_mobile_menu li li a {
	padding-left: 40px;
	padding-right: 20px;
}
/* indent sub sub menus further */
#main-header #mobile_menu.et_mobile_menu li li li a,
#et-boc header .et_mobile_menu li li li a {
	padding-left: 60px;
	padding-right: 20px;
}
/* if mobile menu anchor has toggle, make room for it to fit next to the link */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a,
#et-boc header .et_mobile_menu .menu-item-has-children .sub-menu-toggle + a {
	padding-right: 44px;
}

/* - end mobile menu toggling elements - */

/* undo Divi's default styling of mobile menu links that have children */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a,
#et-boc header .et_mobile_menu .menu-item-has-children > a {
	background-color: transparent;
	font-weight: inherit;
}

/* make the current page's mobile menu link be different */
#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a,
#et-boc header .et_mobile_menu li.current-menu-item > a {
	font-weight: bolder;
}

/* -- END HEADER -- */


/* -- FOOTER -- */

/* - Bottom Bar - */

/* if the bottom bar has equal column height setting, then make it always be flex, and stack the columns initially (for mobile use)
 * and make the columns vertical aligned to be vertically centered too */
#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns {
	display: flex;
	align-items: center;
}

/* copyright wrapper */
#freshy_copyright {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: white;
	font-size: 13px;
	line-height: 1.25em;
}

/* vertical pipe divider */
#freshy_copyright span.copyright_via {
	width: 33.33333%;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 200%;
	background: rgba(255,255,255,0.25);
	vertical-align: middle;
	margin: 10px auto 15px;
	display: block;
}

/* add an FS logo via background */
#freshy_copyright a.copyright_fs {
	display: block;
	width: 68px;
	height: 20px;
	background-image: url("/wp-content/uploads/freshy_logo_WHITE.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	text-indent: 200%;
	white-space: nowrap;
	overflow: hidden;
	margin: 4px 0 0 0;
	flex-shrink: 0;
	transition: all 0.4s ease-in-out;
}
/* FS logo link hover */
#freshy_copyright a.copyright_fs:hover {
	opacity: 0.8;
}

/* remove the bottom margin that Divi adds to the social media follow icons */
#fs-footer-bottom-bar .et_pb_social_media_follow li {
	margin-bottom: 0;
}

@media (min-width: 600px) {
	/* make the copyright elements be side by side at wider screens */
	#freshy_copyright {
		flex-direction: row;
	}
	/* change horizontal pipe divider to vertical on wider screens */
	#freshy_copyright span.copyright_via {
		width: 1px;
		height: 20px;
		margin: 0 10px;
	}
}

@media (max-width: 980px) {
	/* make sure the row has columns going side by side instead of stacked */
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns {
		flex-direction: column;
	}
	/* when stacked, adjust the gap between stacked columns */
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns > .et_pb_column {
		margin-bottom: 1rem;
	}
	/* swap the order of columns when stacked, to the first column is the last one 
	 * and give no bottom margin to the first column, since we re-ordered it to the bottom */
	#fs-footer-bottom-bar > .et_pb_row.et_pb_equal_columns > .et_pb_column:first-child {
		order: 1;
		margin-bottom: 0;
	}
	/* center the copyright stuff when columns are stacked */
	#freshy_copyright {
		justify-content: center;
	}
	/* remove left margin on first social icon in regular Divi footer (when not using Theme Builder) when stacked */
	#footer-bottom .et-social-icons li:first-child {
		margin-left: 0;
	}
}

/* -- END FOOTER -- */


/* -- RESPONSIVE -- */

/* do for mobile */
@media screen and (max-width: 767px) {
	/* hide on mobile */
	.hide-mobile {
		display: none;
	}
}

/* do for desktop */
@media screen and (min-width: 768px) {
	/* hide on desktop */
	.hide-desktop {
		display: none;
	}
}

/* -- END RESPONSIVE -- */


/* -- CHECKLIST -- */

.checklist ul {
	margin: 0;
	padding: 0 !important;
	list-style: none;
}

.checklist ul li {
	position: relative;
	padding-left: 30px;
	margin: 0 0 6px !important;
}

.checklist-columns-2 ul li,
.checklist-columns-3 ul li,
.checklist-columns-4 ul li {
	margin-bottom: 30px !important;
}

@media (max-width: 638px) {
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		margin-bottom: 20px !important;
	}
	.checklist-columns-2 ul li:last-child,
	.checklist-columns-3 ul li:last-child,
	.checklist-columns-4 ul li:last-child {
		margin-bottom: 0 !important;
	}
}

/* create columns of list items with this class */
@media (min-width: 639px) {
	.checklist-columns-2 ul::after,
	.checklist-columns-3 ul::after,
	.checklist-columns-4 ul::after {
		content: '';
		clear: both;
		display: table;
	}
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 50%;
		padding-right: 30px;
	}
	.checklist-columns-2 ul li:nth-child(odd),
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd){
		clear: both;	
	}
	.checklist-columns-2-alt > ul,
	.checklist-columns-3-alt > ul,
	.checklist-columns-4-alt > ul {
		column-count: 2;
		column-gap: 20px;
	}
	.checklist-columns-2-alt ul li,
	.checklist-columns-3-alt ul li,
	.checklist-columns-4-alt ul li {
		break-inside: avoid-column;
	}
}
@media (min-width: 981px) {
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 33.333333%;
	}
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-3 ul li:nth-child(3n+1),
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: both;	
	}
	.checklist-columns-3-alt ul,
	.checklist-columns-4-alt ul {
		column-count: 3;
	}
}
@media (min-width: 1199px) {
	.checklist-columns-4 ul li {
		float: left;
		width: 25%;
	}
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(4n+1) {
		clear: both;	
	}
	.checklist-columns-4-alt ul {
		column-count: 4;
	}
}

.checklist ul li::before {
	font-family: 'ETModules';
	content: '\4e';
	width: 20px;
	margin: 0;
	display: inline-block;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	color: #3C73AD;
	/* set font size helps make icon sharper */
	font-size: 22px;
	font-weight: normal;
}
.pluslist ul li::before {
	content: '\e050';
}
.externallist ul li::before {
	content: '\e906';	
}

/* -- END CHECKLIST -- */


/* -- DIVI HACKS -- */

/* make parallax image be centered at the start */
.et_parallax_bg {
	background-position: center center;	
}

/* Divi was turning off bottom padding on last paragraphs, when it should be only if it's the last child */
p:last-of-type,
p:not(.has-background):last-of-type {
	padding-bottom: 1em;
}
p:last-child,
p:not(.has-background):last-child {
	padding-bottom: 0;
}

/* if there are more than one paragraphin the Fullwidth Header module, they should have padding */
.et_pb_fullwidth_header p:not(:last-child) {
	padding-bottom: 1em;
}

/* -- END DIVI HACKS -- */


/* -- PASSWORD PROTECTED -- */

/* set a max width to make it only as wide as most content */
.post-password-required .et_password_protected_form {
	width: 80%;
	margin: 10% auto;
	max-width: 1140px;
}

/* give the input a border */
.post-password-required .et_password_protected_form p input {
	border: 1px solid !important;
}

/* remove the arrow on hover of the submit button */
.post-password-required .et_password_protected_form .et_submit_button::after {
	display: none;
}

/* -- END PASSWORD PROTECTED -- */


/* -- TESTIMONIALS PLUGIN -- */

/* flip quote so it's an opening quote icon for grid and slider versions */
.b3_archive_testimonials_grid article .b3_quote.grid_quote::before,
.et_pb_module.et_pb_testimonial_slider .et_pb_slides_testi::before {
	transform: scale(-1,-1);
}

/* -- END TESTIMONIALS PLUGIN -- */


/* -- GRAVITY FORMS -- */

/* confirmation (success) message */
.gform_confirmation_wrapper .gform_confirmation_message {
	font-size: 1.2rem;
	line-height: 1.5em;
	padding: 2rem;
	background: rgba(90, 90, 90, 0.1);
	text-align: center;
}

/* -- END GRAVITY FORMS -- */


/* -- HELPERS -- */

/* use the "fullwidth-section" class on a SECTION to make a "standard" SECTION truly be fullwidth 
(NOTE: the SECTION needs THIS class) */
.fullwidth-section.et_pb_section {
	padding: 0;
}
.fullwidth-section.et_pb_section > .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0;
}

/* use the "fullwidth-row" class on a SECTION to make a "full width" ROW truly be fullwidth 
(NOTE: the ROW module settings needs to be Gutter Width 1, and the SECTION needs THIS class,
and unlike the class above, THIS class will auto-add padding to the columns) */
.fullwidth-row.et_pb_section {
	padding: 0;	
}
.fullwidth-row.et_pb_section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* helps add padding to each column */
.fullwidth-row.et_pb_section .et_pb_row > .et_pb_column {
	padding: 50px 10%;
}
@media (min-width: 767px) {
	.fullwidth-row.et_pb_section .et_pb_row > .et_pb_column {
		padding: 80px 6%;
	}
}
/* for some reason Divi removes bottom margin from modules if in column with no gutters, 
so we need to add margins back */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_gutters1 > .et_pb_column .et_pb_module:not(:last-child) {
	margin-bottom: 30px;
}
@media (min-width: 981px) {
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_gutters1 > .et_pb_column_2_3 .et_pb_module:not(:last-child) {
		margin-bottom: 4.242%;
	}
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_gutters1 > .et_pb_column_1_3 .et_pb_module:not(:last-child) {
		margin-bottom: 9.27%;
	}	
}
/* reduce gap between toggles if in fullwidth row */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_gutters1 > .et_pb_column .et_pb_module.et_pb_toggle:not(:last-child) {
	margin-bottom: 3px;
}

@media (max-width: 980px) {
	/* use the "stacked-flex" class on a ROW to make it be flexbox when stacked, to help with adjusting order of stacked columns */
	.stacked-flex {
		display: flex;
		flex-wrap: wrap; 
	}
	/* add the desired class to COLUMNS to designate their order when stacked within a "stacked-flex" ROW */
	.stacked-order-negative-4 {
		order: -4;
	}
	.stacked-order-negative-3 {
		order: -3;
	}
	.stacked-order-negative-2 {
		order: -2;
	}
	.stacked-order-negative-1 {
		order: -1;
	}
	.stacked-order-1 {
		order: 1;
	}
	.stacked-order-2 {
		order: 2;
	}
	.stacked-order-3 {
		order: 3;
	}
	.stacked-order-4 {
		order: 4;
	}
	/* adds margin to former "last" column that otherwise wouldn't have it */
	.stacked-flex:last-child .et_pb_column:last-child {
		margin-bottom: 30px;
	}
}

/* -- END HELPERS -- */

/* -- BLOG -- */

/* sidebar recent posts */
.et_pb_widget.widget_recent_entries ul li  {
	margin-bottom: 1em;
}

/* sidebar recent posts dates */
.et_pb_widget.widget_recent_entries ul li span.post-date {
	display: table;
	font-size: 0.85em;
}

/* -- END BLOG -- */
/* -- CUSTOM CSS -- */
#page-container{
    overflow:hidden;
}
#et-top-navigation {
    font-weight: 400;
}
.et_fullwidth_nav #main-header .container {
    width: 90% !important;
    max-width: 100% !important;
    padding-right: 0px !important;
    padding-left: 0px !important;
}
.et_fullwidth_secondary_nav #top-header .container {
    width: 90% !important;
    max-width: 100% !important;
    padding-right: 0px !important;
    padding-left: 0px !important;
}
#main-header {
    box-shadow: none;
}
.header-row {
	display: flex;
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
	/*flex-direction:column;*/
}
@media (max-width: 980px) {
    .header-row .et_pb_column {
        margin: 0px !important;
  }
}
.nav ul li a:hover {
    background-color: transparent;
    opacity: .7;
}
/* Divi Header Submenu */

/* Submenu container */
.header-menu .sub-menu {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  /*opacity: 0;*/
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Show submenu on hover */
.header-menu li:hover > .sub-menu {
  opacity: 1;
  transform: translateY(0);
}

/* Submenu items */
.header-menu .sub-menu li {
  padding: 0;
}

/* Submenu links */
.header-menu .sub-menu li a {
  color: #020202;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  display: block;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

/* Hover effect */
.header-menu .sub-menu li a:hover {
  padding-left: 22px;
}

/* Active submenu item */
.header-menu .sub-menu li.current-menu-item > a {
  font-weight: 600;
}

/* Nested submenus */
.header-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 6px;
  border-radius: 8px;
}

/* Prevent Divi default arrow jumpiness */
.header-menu .menu-item-has-children > a:first-child::after {
  transition: transform 0.2s ease;
}

/* Rotate arrow on hover */
.header-menu .menu-item-has-children:hover > a:first-child::after {
  transform: rotate(180deg);
}

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

  /* Anchor the dropdown to the viewport, not the column */
    .header-menu .et_mobile_menu {
        position: fixed !important;
        width: 100vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        z-index: 99999 !important;
  }

  /* Keep submenu viewport-wide as well */
    .header-menu .et_mobile_menu .sub-menu {
      width: 100vw !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
      position: relative !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      box-sizing: border-box !important;
  }

  /* Link padding */
    .header-menu .et_mobile_menu li a {
        padding-left: 24px !important;
        padding-right: 24px !important;
  }
	.contact-column {
        gap: 5px !important;
}
	.menu-column {
		width:50% !important;
	}
}
@media only screen and (max-width: 980px) {

  /* Place the dropdown right under the header */
    .header-menu .et_mobile_menu {
        top: 90px !important; 
  }
}

@media (max-width: 980px) {
    .header-menu .et_pb_menu__wrap {
        -webkit-box-pack: flex-end !important;
        -ms-flex-pack: flex-end !important;
        justify-content: flex-end !important;
  }
}
@media only screen and (min-width: 1260px) and (max-width: 1650px){
    .header-menu.et_pb_menu ul li a {
		font-size:14px !important;	
}
	.header-button.et_pb_button {
		font-size:14px !important;
	}
	.header-blurb .et_pb_blurb_description {
		font-size:14px;
	}
}
@media only screen and (min-width: 980px) and (max-width: 1259px){
    .header-menu.et_pb_menu ul li a {
		font-size:13px !important;	
}
	.header-button.et_pb_button {
		font-size:13px !important;
	}
	.header-blurb .et_pb_blurb_description {
		font-size:13px;
	}
}
.header-row .et_pb_section_sticky .et_pb_row.et-last-child, .et_pb_section_sticky .et_pb_row:last-child {
	padding-bottom: 25px !important;
}
.header-blurb .et_pb_main_blurb_image {
    vertical-align: middle;
}
.header-blurb {
    margin-bottom: 0 !important;
}
.header-blurb.et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 5px;
}
@media only screen and (max-width: 1440px) {
	.header-blurb .et_pb_blurb_description {
		display: none;
	}
}
.contact-column {
	display:flex !important;
	justify-content: center !important;
	align-items: center;
    gap: 30px;
}
@media only screen and (min-width: 1441px) {
	.contact-column {
		width:30% !important;
}
}
.home-hero .header-content h1 {
	max-width: 700px;
    margin: 0 auto;
}

.home-hero .et_pb_header_content_wrapper {
    max-width: 546px;
    margin: 0 auto;
    margin-top: 10px;
}
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
    width: 100%;
}
@media only screen and (max-width: 370px){
    .et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_button_one {
        margin-right: 0 !important;
		min-width:162px !important;
}
}
@media only screen and (min-width: 768px) {
    .home-blurb.et_pb_blurb_position_left .et_pb_blurb_container {
        padding-left: 35px;
}
}
@media only screen and ( min-width:980px) and ( max-width:1600px) {
    .home-blurb .et_pb_blurb_description {
        font-size:26px;
        line-height: 1.32em;
}
}
@media only screen and ( min-width:980px) and ( max-width:1190px) {
    .menu-column {
        width:75% !important;
}
	.contact-column {
        gap: 10px;
}
}
@media only screen and ( min-width:980px) and ( max-width:1300px) {
	.header-menu.et_pb_menu .et-menu > li {
        padding-left: 3px !important;
        padding-right: 3px !important;
}
}
@media only screen and ( min-width:1301px) and ( max-width:1480px) {
	.header-menu.et_pb_menu .et-menu > li {
        padding-left: 5px !important;
        padding-right: 5px !important;
}
}
@media only screen and ( min-width:1481px) and ( max-width:1880px) {
	.header-menu.et_pb_menu .et-menu > li {
        padding-left: 8px !important;
        padding-right: 8px !important;
}
}
@media only screen and (min-width: 480px) and (max-width: 980px){

  .header-row > .et_pb_column:nth-child(3) {
      flex: 0 0 auto;
      width: auto;
  }

}

/* Vertical align */
.text-center {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
.home-blurb.et_pb_blurb_position_left .et_pb_main_blurb_image {
    vertical-align: middle !important;
}
.what-we-do-blurb h2.et_pb_module_header{
	padding-bottom:5px !important;
}
.service-row .et_pb_column {
	display:flex;
	flex-direction:column;
}
.masked-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Base */
.masked-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

/* Holistic Approach mask */
.holistic-mask {
    -webkit-mask-image: url('/wp-content/uploads/Holistic-Approach-Image-mask.svg');
    mask-image: url('/wp-content/uploads/Holistic-Approach-Image-mask.svg');
}
/* Specialised Expertise mask */
.expertise-mask {
    -webkit-mask-image: url('/wp-content/uploads/Specialised-Expertise-Image-Mask.svg');
    mask-image: url('/wp-content/uploads/Specialised-Expertise-Image-Mask.svg');
}
/* Personalized Action Plans */
.action-plans-mask {
    -webkit-mask-image: url('/wp-content/uploads/Action-Plans-Image-mask.svg');
    mask-image: url('/wp-content/uploads/Action-Plans-Image-mask.svg');
}

/*Support for All Ages & Families */
.support-families {
    -webkit-mask-image: url('/wp-content/uploads/Support-for-Families-Image-mask.svg');
    mask-image: url('/wp-content/uploads/Support-for-Families-Image-mask.svg');
}

/*Flexible Options */
.flexible-options {
    -webkit-mask-image: url('/wp-content/uploads/Flexible-Options-Image-mask.svg');
    mask-image: url('/wp-content/uploads/Flexible-Options-Image-mask.svg');
}
/* Divi column stacking on mobile */

@media all and (max-width: 980px) {

/*** wrap row in a flex box ***/

    .custom_row {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap; /* Safari 6.1+ */
        flex-wrap: wrap;
}

/*** custom classes that will designate the order of columns in the flex box row ***/

    .first-on-mobile {
        -webkit-order: 1;
        order: 1;
}
    .second-on-mobile {
        -webkit-order: 2;
        order: 2;
}
    .third-on-mobile {
        -webkit-order: 3;
        order: 3;
}
    .fourth-on-mobile {
        -webkit-order: 4;
        order: 4;
}
}
/* Testimonial Slider - Slick Slider */
/* navigation */
body .entry-content ul.slick-dots{
    padding:0 !important;
    width: calc(100% - 30px);
}
.slick-dots{
    position: absolute;
    bottom: 0px;
    margin: auto;
    left: 0;
    right: 0;
    text-align: center;
    z-index:99;
}
    .slick-dots li {
    position: relative;
    display: inline-block;
    margin: 0px;
    padding: 0;
    cursor: pointer;
    width: 16.6%;
}
.slick-dots li.slick-active button {
    background-color: #2A3C73;
    border-radius: 5px;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 100%;
    height: 1px;
    padding: 0;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background-color: rgba(102, 102, 102, 0.3);
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
}
.slick-dots li.slick-active button {
    background-color: #2A3C73;
    height: 5px;
    border-radius: 5px;
}

/* arrows */
.slick-prev,
.slick-next {
    display: block !important;
    opacity: 1 !important;
    padding: 0px;
    background-color: #2A3C73;
    position: absolute;
    top: 61%;
    transform: translateY(-50%);
    padding: 10px;
    margin: 0px;
    border: none;
    font-size: 0;
    line-height: 0;
    background-size: contain;
    background-position-x: center;
    border-radius: 50px;
    z-index: 999;
    cursor: pointer;
    transition: 0.2s all ease-in-out !important;
}

.slick-prev:hover,
.slick-next:hover {
    background-color: #3C73AD;
}

.slick-prev {
    left: -70px;
display: none !important;
}

.slick-next {
    right: -70px;
}
@media only screen and (max-width: 980px){
	.slick-next {
        right: -20px;
}
}
.slick-next:before,
.slick-prev:before {
  content: "\35";
    font-size: 27px !important;
    font-family: ETmodules !important;
    font-weight: 600 !important;
    color: #fff;
    width: 24px;
    height: 24px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    -webkit-transition: 0.2s all ease-in-out !important;
    transition: 0.2s all ease-in-out !important;
}

.slick-prev:before {
    transform: rotate(180deg);
}
.custom-carousel-wrapper {
    padding-bottom: 40px;
}
/* Space between slides */
.custom-carousel-wrapper .slick-slide {
	background-color:#EBF7F9;
	margin-left: 15px;
    margin-right: 15px;
}
.testimonial-blurb strong {
	font-weight:600;
}
/* Make all slides equal height */
.custom-carousel-wrapper .slick-track {
    display: flex !important;
    align-items: stretch !important;
}

/* Ensure each slide stretches to the track height */
.custom-carousel-wrapper .slick-slide {
    height: auto !important;
    display: flex !important;
}

/* Make the blurb (card) fill the slide height */
.custom-carousel-wrapper .slick-slide > div,
.custom-carousel-wrapper .slick-slide .et_pb_module,
.custom-carousel-wrapper .slick-slide .et_pb_blurb {
    height: 100% !important;
}

/* Optional: make the blurb inner content use full height nicely */
.custom-carousel-wrapper .et_pb_blurb_content {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}
@media only screen and (min-width: 981px) and (max-width: 1440px){
    .custom-carousel-wrapper .et_pb_blurb_content {
        font-size: 16px;
}
}
/* Default: dim all slides */
.custom-carousel-wrapper .slick-slide {
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

/* Fully visible slides (the ones currently in view) */
.custom-carousel-wrapper .slick-slide.slick-active {
    opacity: 1;
}
/* Keep the right peek */
.custom-carousel-wrapper .slick-list{
    overflow: visible !important;
    padding-right: 30px !important; 
}

/* Create a LEFT mask that sits ABOVE slides */
.custom-carousel-wrapper{
    position: relative;
}

/* This mask covers everything that would overflow on the LEFT side */
.custom-carousel-wrapper::before{
    content: "";
    position: absolute;
    top: 0;
    left: -200vw;  
    width: 200vw; 
    height: 100%;
    background: #fff; 
    z-index: 9999;    
    pointer-events: none;
}

/* Ensure slick elements are below the mask */
.custom-carousel-wrapper .slick-list,
.custom-carousel-wrapper .slick-track,
.custom-carousel-wrapper .slick-slide{
    position: relative;
    z-index: 1;
}
/* Teachworks */

/* Scope only Teachworks login */
#teachworks-remote-login {
  max-width: 100% !important;
  margin: 0;
}

/* Inputs */
#teachworks-remote-login input[type="text"],
#teachworks-remote-login input[type="email"],
#teachworks-remote-login input[type="password"] {
  width: 100%;
  padding: 20px;
  border-radius: 0px;
  border: 1px solid #3C73AD !important;
  font-size: 15px;
  margin-bottom: 10px;
  box-shadow: none;
}

/* Button */
#teachworks-remote-login button,
#teachworks-remote-login input[type="submit"] {
  color: #FFFFFF !important;
  border-width: 2px !important;
  padding: 10px 15px;
  border-color: #2a3c73;
  border-radius: 0px;
  width: 200px;
  font-size: 15px;
  font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif !important;
  font-weight: 600 !important;
  background-color: #2a3c73;
  cursor: pointer;
  transition: background 0.2s ease;
}

#teachworks-remote-login button:hover {
  background: #3C73AD !important;
}
#teachworks-request-password, #teachworks-confirmation {
  font-size: 13px !important;
  margin-bottom: 0 !important;
}
#teachworks-login {
  width: 100% !important;
}
/* Center the Teachworks booking button */
#teachworks-booking-button {
  text-align: center;
}

/* Style the actual button */
#teachworks-booking-button .teachworks-booking-button-internal, #teachworks-booking-button-internal {
  color: #FFFFFF !important;
  background-color: #2a3c73 !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: #2a3c73 !important;
  border-radius: 0px !important;
  font-size: 18px !important;
  font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif !important;
  font-weight: 600 !important;
  padding: 14px 32px !important;
  line-height: 1.3;
  display: inline-block !important;
  transition: all 0.25s ease;
  cursor: pointer;
}
/* Teachworks booking modal ALWAYS on top */
#booking_modal.modal {
  position: fixed !important;
  z-index: 999999 !important;
}

/* Teachworks backdrop behind modal, above page */
.modal-backdrop {
  z-index: 999998 !important;
}

/* Make sure modal content stays above everything */
#booking_modal .modal-dialog,
#booking_modal .modal-content {
  position: relative !important;
  z-index: 1000000 !important;
}
body.modal-open {
  overflow: hidden !important;
}
.newsletter-section {
	z-index:0 !important;
}
/* Scroll to top icon */
.et_pb_scroll_top.et-pb-icon {
    color: #2A3C73;
	background: #fff;
	bottom: 80px;
	border-radius: 50%;
    padding: 10px;
    font-size: 40px;
    right: 1%;
    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
}	
/*Gravity Form*/
.gform_wrapper input.button{
	min-width: 200px !important;
	font-style: normal !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	font-size: 18px !important;
	font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif !important;
    font-weight: 600 !important;
    background-color: #2a3c73 !important;
	border-radius:0px !important;
	color:#fff !important;
	border: none;
	text-align: center !important;	
	margin: 15px 0 0 !important;	
}
body .gform_wrapper ul li.gfield {
    margin-top: 10px !important;
 }
.gform_wrapper .gform_wrapper {
    text-align: center !important;
	margin: 0 !important;
}
.gform_wrapper input.button:hover{
	color: #fff !important;
    background-color: #3C73AD !important;
}
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
.gform_wrapper textarea.textarea, div.form_saved_message div.form_saved_message_emailform form input[type=text],
.gform_wrapper ul.gform_fields li.gfield select {
	font-style: normal !important;
	background:#FFF !important;
	padding: 15px 25px !important;
	border: unset !important;
	color: #294438 !important;
    font-weight: 400 !important;
	font-size: 16px !important;
	border: 1px solid #666666 !important;
}

@media all and (max-width: 981px) {
	.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
.gform_wrapper textarea.textarea, div.form_saved_message div.form_saved_message_emailform form input[type=text],
.gform_wrapper ul.gform_fields li.gfield select {
        font-size: 16px !important;
}
}
/* Gravity Form placeholders*/
    ::-webkit-input-placeholder { color:#666; }
    :-moz-placeholder { opacity: 1; color:#666; } /* Firefox 18- */
    ::-moz-placeholder { opacity: 1; color:#666; } /* firefox 19+ */
    :-ms-input-placeholder { color:#666; } /* ie */
    input:-moz-placeholder { color:#666; }

.gform_wrapper ul.gform_fields li.gfield select {
	height: 40px !important;
}

.gform_wrapper .gform_footer {
    padding: 0px 0 10px !important;
    margin: 0px 0 0 !important;
}

.gform_wrapper {
    margin-top: 0px !important;
}

.ginput_container.ginput_container_radio {
	color: #fff !important;
}
body .gform_wrapper .hidden_label textarea.textarea {
    margin: 0 !important;
}
body .gform_wrapper .hidden_label .ginput_container > * {
    margin-top: 0 !important;
}
.gform_wrapper.gravity-theme .gfield_label {
	color: #fff !important;
	font-size: 18px !important;
	margin-bottom: 0px !important;
}
.gform_wrapper.gravity-theme .gfield_radio label {
    font-size: 18px !important;
}
.gform_required_legend {
	display:none;
}
/*End Gravity Form*/

/*Checklist*/
.checklist ul {
    margin-bottom: 20px;
}
.checklist ul li {
    line-height: 1.6em;
}
@media only screen and (min-width: 981px) and (max-width: 1280px){
	.services-blurb .et_pb_module_header {
		font-size:24px !important;
	}
}
@media only screen and (min-width: 1281px) and (max-width: 1440px){
	.services-blurb .et_pb_module_header {
		font-size:30px !important;
	}
}
@media (max-width: 980px) {
  .et_pb_column {
    margin-bottom: 0px !important;
	}
}
/* Footer */
@media only screen and (min-width: 981px) and (max-width: 1640px){
	.menu-footer.et_pb_menu ul li a {
        font-size: 16px !important;	
	}
	.copyright-text {
		font-size: 16px !important;	
	}
}
.menu-footer .et_pb_menu__menu > nav > ul > li {
    /*width: 100% !important;*/
}
@media only screen and (max-width: 980px) {
	.menu-footer.et_pb_menu .et_pb_menu__menu {
        display: block;
}
	.menu-footer .et_mobile_nav_menu {
		display: none !important;
	}
	.footer-nav-items .et_pb_menu__wrap{
		display:flex;
		/*justify-content: center !important;*/
	}
}

/*@media only screen and (min-width: 768px) {
	.menu-footer.et_pb_menu--style-left_aligned .et_pb_menu__wrap {
        justify-content: flex-start;
}
}*/
@media only screen and (max-width: 980px) {
	.menu-footer.et_pb_menu--style-left_aligned .et_pb_menu__wrap {
        justify-content: center;
  }
}
@media only screen and (max-width: 480px) {
    .menu-footer.et_pb_menu .et_pb_menu__wrap {
        -webkit-box-flex: unset;
        -ms-flex: unset;
        flex: unset;
}
}
@media only screen and (min-width: 1440px) {
    .menu-footer.et_pb_menu .et-menu > li {
        padding-left: 20px;
        padding-right: 20px;
}
}
.copyright-text .dot {
    margin: 0 18px;
}
.copyright-text a {
    color:#666666;
}
.copyright-text a:hover {
    color:#3C73AD;
}
.et_password_protected_form .et_submit_button:hover {
    background: #fff;
    color: #000 !important;
    border: 2px solid #000;
}