/*---------------------------------------------------------------------------------

 Theme Name:  Divi Child
 Description:  
 Author:       Ace Maquiling
 Author URI:   
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

#et-secondary-nav .menu-item-has-children>a:first-child, 
#top-menu .menu-item-has-children>a:first-child {
	padding-right: 0 !important;
}

#et-secondary-nav .menu-item-has-children>a:first-child:after, 
#top-menu .menu-item-has-children>a:first-child:after {
	display: none;
}

.et_mobile_menu span.menu-closed:before {
	content: '\3b' !important;
}

.et_mobile_menu span.menu-closed.menu-open:before {
	content: '\3a' !important;
}

.vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}
.et_fixed_nav #main-header {
    position: fixed;
}
/* shrink menu on smaller viewports by geno quiroz */
 @media only screen
and (min-width : 980px)
and (max-width : 1220px){
	#et-top-navigation nav > ul > li > a  {
   
    	font-size: 11px !important;
	}
}
   
@media only screen
and (min-width : 980px)
and (max-width : 1399px){
	
	#et-top-navigation nav > ul > li > a {
		font-size: 13px;
	}
	
	#top-menu li {
		padding-right: 13px !important;
	}
	
	#logo {
		/* height: 80px !important;*/
	}
	
}

@media only screen and (max-width: 767px) {
	
    body header img#logo {
        max-width: 100%!important;
        max-height: 100%!important;
        height: auto!important;
        width: auto!important;
    }
	
}

.menu-item img {
	width: 18px !important;
}

#top-menu li a {
    font-weight: 400;
}

@media (min-width: 981px){
}

#main-header {
	box-shadow: none !important;
}

/*---------------Menu CTA Button---------------*/
 
#top-menu li a:hover {
	opacity: 1!important;
}
             
.menu-cta a { 
    padding: 25px 38px!important;
	color: #ffffff!important;
    border-width: 0px!important;
    border-color: #04724B;
    border-radius: 0px;
    background-color: #2c76dd;
}
 
.menu-cta a:hover {
    background-color: #4081dd;
    color:white!important;
}
 
.et_header_style_left #et-top-navigation {

}
 
.et_header_style_left .et-fixed-header #et-top-navigation {
  
}
 
/*---------------CTA Button Color on Fixed Navigation---------------*/
 
#main-header.et-fixed-header .menu-cta a {
color: #fff !important;
}
 
/*---------------Menu CTA Button Mobile Settings---------------*/
 
@media only screen and (max-width: 980px) {
.menu-cta a {
     background-color: #2c76dd;
	border-radius: 7px;
    }
}

@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;
}
	
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
	margin-bottom: 30px;
}
 
}

@media (max-width: 980px){
	
	.et_header_style_left #logo {
    	max-width: 100% !important;
	}
	
	.et_header_style_left .container {
		width: 90%;
	}
	
}


@media only screen and ( max-width:981px ) {
	
	.et-fixed-header #et-top-navigation {
		padding-top:5px !important;
	}
	
	 .et-fixed-header .mobile_menu_bar {
		padding-bottom: 5px !important;
	}
	
}



@media (min-width: 767px) {
	
	/*set the width of the button*/
	.et_pb_newsletter_fields .et_pb_newsletter_button_wrap {
		flex-basis: 250px !important;
	}
	
	/*set the width of the input field minus the width of the button*/
	.et_pb_newsletter_form .et_pb_newsletter_field {
		flex-basis: calc(100% - 265px) !important;
	}
}

#main-header .et_mobile_menu li ul.hide {
    display: none !important;
}

#mobile_menu .menu-item-has-children {
    position: relative;
}

#mobile_menu .menu-item-has-children > a {
    background: transparent;
}

#mobile_menu .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}

span.menu-closed:before {
    content: "4c";
    display: block;
    color: inherit;
    font-size: 16px;
    font-family: ETmodules;
}

span.menu-closed.menu-open:before {
    content: "4d";
}

.et_pb_fullwidth_header_container.center .header-content {

    width: 90% !important;
    max-width: 90% !important;
}
/* Set a maximum width for Firefox */
@-moz-document url-prefix() {
  /* Add your styles for Firefox here */
  .container {
    max-width: 1200px; /* Adjust the value as needed */
  }
}

@media only screen and (min-width: 768px) {
    #et-info { float:right !important; }
}

/** Start Block Kit CSS: 71-3-d415519effd9e11f35d2438c58ea7ebf **/

.envato-block__preview{
	overflow: visible;
}

/** End Block Kit CSS: 71-3-d415519effd9e11f35d2438c58ea7ebf **/

.hero-btn-row > .et_pb_column {
	display: flex;
	justify-content: center;
}

.hero-btn-row > .et_pb_column .et_pb_button_module_wrapper {
	margin: 0 15px 0 !important;
}

@media screen and (max-width:480px) {
	.hero-btn-row > .et_pb_column {
		flex-direction: column;
		gap: 15px;
	}
}

.footer-socials-2 .et-social-houzz .icon {
	background-image: var(--wpr-bg-3c9072de-e8e6-40d1-b7cb-8471e58b6924);
	background-size: 80% 80%;
	background-position: center;
}

.footer-socials-2 .et-social-houzz .icon::before {
	content: '' !important;
} 

body .pum-theme-242665 .pum-content + .pum-close, body .pum-theme-default-theme .pum-content + .pum-close {
    padding: 10px;
    line-height: 10px;
    background-color: #ff6a6a;
}

#popmake-243335 .pum-title, body .pum-theme-default-theme .pum-title {
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 400;
    font-size: 26px;
	letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
	padding-top: 12px;
}

#popmake-243335 .pum-content, body .pum-theme-default-theme .pum-content {
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    text-align: center;
    color: #000000;
}

#popmake-243335 .popup-img img {
	display: block;
}

#popmake-243335 .popup-btn {
	position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
	margin-top: 0;
	z-index: 1;
}

.popup-btn {
    margin-top: 25px;
}

.popup-btn a {
    border-color: #04724B;
    border-radius: 0px;
    background-color: #2c76dd;
    color: #fff;
    padding: 10px 35px;
    display: inline-block;
}

@media screen and (max-width:980px) {
	.iframe-wrap {
		padding-bottom: 0 !important;
		height: 610px;
	}
}

@media screen and (max-width:767px) {
	.iframe-wrap {
		height: 650px;
	}
}


@media screen and (min-width:981px) {
	#footer-row {
		display: flex;
		justify-content: space-between;
	}

	#footer-row::after {
		display: none;
	}

	#footer-row > .et_pb_column {
		width: auto !important;
	}
}

#wpforms-243977 {
	margin: 0;
}

#wpforms-form-243977 {
	display: flex;
	align-items: center;
}

#wpforms-form-243977 .wpforms-field-container {
	width: 70%;
	padding-right: 10px;
}

#wpforms-form-243977 .wpforms-field {
	padding: 0;
}


#wpforms-form-243977 .wpforms-field input {
	height: auto;
    font-size: 18px;
    padding: 8.7px 15px;
    border-radius: 7px;
	border-color: #2c76dd;
}

#wpforms-form-243977 .wpforms-submit-container {
	width: 30%;
	margin-top: 0;
}


#wpforms-form-243977 .wpforms-submit.submit-btn {
	width: 100%;
    padding: 14px 15px;
    line-height: 1;
    height: auto;
    border: none;
    background-color: #2c76dd;
    border-radius: 7px;
    font-size: 18px;
}

@media screen and (max-width:980px) {
	.tablet-flex-row {
		display: flex;
		flex-direction: row;
	}
}

@media screen and (max-width:767px) {
	.tablet-flex-row {
		display: flex;
		flex-direction: column;
	}
}

.team-member-container {
	display: flex;
	gap: 20px;
}

.team-member-container .team-member-img {
	display: block;
	flex: 0 0 33%;
	min-width: 170px;
}

.team-member-container .team-member-img img {
	display: block;
}

.team-member-container .team-member-bio {
	padding-top: 10px;
}

.team-member-container .team-member-bio h2 {
	font-size: 30px;
	color: #2c76dd;
	line-height: 1.2;
}

.team-member-container .team-member-bio p {
	font-size: 20px;
	line-height: 1.3;
}

.team-member-container .team-member-bio p:last-child {
	margin-bottom: 0;
}

@media screen and (max-width:1299px) {
	
	.team-members-row {
		display: flex;
		flex-direction: column;
		max-width: 800px !important;
		padding-bottom: 35px !important;
	}
	
	.team-members-row > .et_pb_column {
		width: 100% !important; 
		margin-right: 0 !important;
		margin-bottom: 35px;
	}	
	
	.team-members-row > .et_pb_column:last-child {
		margin-right: 0;
		margin-bottom: 0 !important;
	}
	
	.team-member-container {
		gap: 30px;
	}
	
}

@media screen and (max-width:599px) {
	
	.team-member-container {
		flex-direction: column;
		gap: 20px;
	}
	
	.team-member-container .team-member-img {
		flex: 0 0 auto;
		min-width: 170px;
		max-width: 300px;
	}
	
	.team-member-container .team-member-bio {
		padding-top: 0px;
	}
	
	.team-member-container .team-member-bio h2 {
		font-size: 25px;
	}
	
}

.highlighted {
	transform: scale(1.05);
}

.image-fluid {
  height: 100%;
}

.image-fluid .et_pb_image_wrap {
	display: flex;
	height: 100%;
}

.image-fluid img {
  	height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
}

@media screen and (max-width: 980px) {
	.image-fluid {
	  height: 300px;
	}
}

@media screen and (max-width:767px) {
	.image-fluid {
	  height: 250px;
	}
}

.nearby-locations-container {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
}

.nearby-locations-col {
	flex: 0 1 50%;
}

.nearby-location-header {
	display: grid;
	grid-template-columns: 60% 40%;
	text-align: center;
	background-color: #2c76dd;
    color: #fff;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    border: 1px solid #2c76dd;
}

.nearby-location-header .location-name {
	padding: 12px;
}

.nearby-location-header .location-postal {
	padding: 12px;
}

.nearby-location {
	display: grid;
	grid-template-columns: 60% 40%;
	text-align: center;
	border-left: solid 1px #2c76dd;
	border-right: solid 1px #2c76dd;
	border-bottom: solid 1px #2c76dd;
	transition: .3s ease all;
	background-color: #fff;
}

.nearby-location:hover {
	background-color: #ededed;
}

.nearby-location:last-child {
	border-radius: 0 0 10px 10px;
}

.nearby-location .location-name {
	border-right: solid 1px #2c76dd;
	padding: 12px;
}

.nearby-location .location-postal {
	padding: 12px;
}

@media screen and (max-width:980px) {
	
	.nearby-locations-container {
		max-width: 600px;
		flex-direction: column;
		gap: 0;
	}
	
	.nearby-locations-container .nearby-locations-col:not(:last-child) .nearby-location:last-child {
		border-radius: 0;
	}
	
	.nearby-locations-container .nearby-locations-col:not(:first-child) .nearby-location-header {
		display: none;
	}
}

.cta-row .et_pb_column {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 30px;
}

.cta-row .cta-button {
	min-width: 180px;
}



@media screen and (max-width:767px) {
	.cta-row .et_pb_column {
		flex-direction: column;
		align-items: flex-start;
	}
}

p {
	padding-bottom: 2em;
}

.locations-content-slider-container {
}

.locations-content-slide {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.locations-content-slide .slide-content {
	flex: 0 1 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.locations-content-slide .slide-content h3 {
	color: #2c76dd;
	font-size: 28px;
}

.locations-content-slide .slide-content p {
	font-size: 22px;
	line-height: 2;
}

.locations-content-slide .slide-img {
	flex: 0 1 50%;
}

.locations-content-slide .slide-img img {
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.locations-content-slider .owl-dots {
    margin-top: 40px !important;
}

.locations-content-slider .owl-dots .owl-dot.active span {
	background-color: #2c76dd !important;
}

body.dl-noscroll {
	overflow: auto !important;
}