/*
 Theme Name: Divi Child Theme - Vanilla
 Theme URI: 
 Description: A minimal, vanilla Divi child theme. Use this as a starting point.
 Author: ChatGPT (Generated)
 Author URI: 
 Template: Divi
 Version: 1.0.0
 Text Domain: divi-child-vanilla
*/

/* --- Custom child theme styles go below --- */

header .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu, 
header .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu ul,
footer .mobile_nav ul#mobile_menu2{
	background-color: #0D428A !important;
}

header ul#menu-main-menu-2 li:last-child a{
	padding-right: 0;
}

h1, h2, h3, h4, h5, h6, body, .et_pb_button{
	font-family: "gotham" !important;
}

h1, h2, h3, h4, h5, h6{
	font-weight: 800;
}

.aligncenter-wrapper .et_pb_column{
	display: flex;
}

.et_pb_team_member.aligncenter .et_pb_team_member_image{
	margin: 0 auto 20px;
}

.et_pb_team_member_description > div{
	margin-top: 20px;
}

.et_pb_team_member.aligncenter{
	display: inline-grid;
}

.et_pb_blurb_position_left .et_pb_blurb_container, 
.et_pb_blurb_position_right .et_pb_blurb_container{
	vertical-align: middle;
}

.flex-center{
	display: flex;
    justify-content: center;
}

header .et_pb_menu .et_pb_menu__wrap{
	justify-content: flex-end;
	align-items: end;
}

.et_pb_menu--with-logo .et_pb_menu__menu>nav>#menu-main-menu-2>li:last-child>a,
.et_pb_menu_0_tb_footer.et_pb_menu ul li:last-child>a{
	border-right:0 !important;
}

.et_pb_menu .et_pb_menu__menu>nav>ul>li,
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a{
	align-items: center;
}

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a,
footer .et_pb_menu_0_tb_footer.et_pb_menu ul li a{
	padding: 0 20px 0 0;
	line-height: normal;
}

.gform_footer .gform_button.button{
	background: #70ca00;
    border: 0;
    border-radius: 50px;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    padding: 10px 5%;
}

.gform_wrapper.gravity-theme .gfield_label{
	color: #003CA6;
}

.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea{
	border: 3px solid #003CA6;
}

.gform_footer .gform_button.button:hover{
	cursor: pointer;
}

.gform_footer{
	justify-content: center;
}

.show-image-2 img, .image-2 img, .flip-wrap .front, .flip-wrap .back{
	transition: all 0.5s;
	cursor: pointer;
}

.show-image-2:hover img, .image-2:hover img, .flip-wrap:hover img{
	margin-top: -10px;
	padding-bottom: 10px;
}

.flip-wrap img{
	transition: all 0.5s;
	cursor: pointer;
}

.flip-wrap .back {
  	opacity: 0;
  	pointer-events: none; /* ensures clicks pass through to the container */
	position: absolute;
	top: 0;
	left: 0;
}

.flip-wrap.flipped .front {
  opacity: 0;
}

.flip-wrap.flipped .back {
  opacity: 1;
}

.orange{
	color: #ff6b0e !important;
}

.et_pb_toggle_content ul ul{
	padding-bottom: 0;
}

#menu-main-menu-2 .current_page_item a{
	font-weight: bold;
}

@media (min-width: 1025px) {
	
	.page-home .hero-banner.et_pb_with_background:before,
	.page-sales .hero-banner.et_pb_with_background:before,
	.page-marketing .hero-banner.et_pb_with_background:before,
	.page-fractional-services .hero-banner.et_pb_with_background:before,
	.page-who-we-are .hero-banner.et_pb_with_background:before{
	  content: "";
	  position: absolute;
	  inset: 0; /* shorthand for top/right/bottom/left: 0 */
/* 	  background: url('/wp-content/uploads/2025/11/hsm_HOME_banner_NEW.jpg') no-repeat center/1980px; */
/* 	  background: url('/wp-content/uploads/2025/11/HSM_Website_Header_Desktop_HOME_xl.jpg') no-repeat center; */
	  background: url('/wp-content/uploads/2025/11/HSM_Website_Header_home-crop.jpg') no-repeat center;
	  z-index: 0;
	  background-size: 2700px !important;
      background-position: center 53%;
    }
	
	.page-who-we-are .hero-banner.et_pb_with_background:before{
		background: url('/wp-content/uploads/2025/11/HSM_Website_Header_WHO_WE_ARE-crop.jpg') no-repeat center/1980px;
		background-position: center 58% !important;
	}
	
	.page-fractional-services .hero-banner.et_pb_with_background:before{
		background: url('/wp-content/uploads/2025/11/HSM_Website_Header_fractional-crop.jpg') no-repeat center/1980px;
		background-position: center 57% !important;
	}
	
	.page-marketing .hero-banner.et_pb_with_background:before{
		background: url('/wp-content/uploads/2025/11/HSM_Website_Header_Desktop_MARKETING_crop.jpg') no-repeat center/1980px;
		background-position: center 59% !important;
	}
	
	.page-sales .hero-banner.et_pb_with_background:before{
		background: url('/wp-content/uploads/2025/11/HSM_Website_Header_sales-crop.jpg') no-repeat center/1980px;
	  	background-position: center 60% !important;
	}
}

@media (min-width: 2300px) {
  .page-home .hero-banner.et_pb_with_background:before {
	  background-position: center 58% !important;
	  background-size: 3200px !important;
  }
}

@media (min-width: 3200px) {
  .page-home .hero-banner.et_pb_with_background:before {
	  background-position: center 57% !important;
	  background-size: 3100px !important;
  }
}

@media screen and (min-width: 1400px){
/* 	background-position: center 84% !important; */
}


@media screen and (min-width: 1025px){
	
	header .et-menu .menu-item-has-children>a:first-child{
		padding-right: 40px;
	}
	
	header .et-menu .menu-item-has-children>a:first-child:after{
		right: 20px;
	}
	
	.et_pb_menu--with-logo .et_pb_menu__menu>nav>#menu-main-menu-2>li>a,
	.et_pb_menu_0_tb_footer.et_pb_menu ul li a{
		border-right:1px solid #fff !important;
	}
}

@media screen and (max-width: 1024px){
	.page-home .hero-banner.et_pb_with_background{
		background-position: center !important;
	}
	
	.hero-banner.et_pb_with_background{
/*   		background-position: center -90px !important; */
	}
	
	header .et_pb_menu .et_pb_menu__wrap{
		margin-top: 30px;
	}
	
	.et_pb_section_0_tb_header{
		padding: 10px 0;
	}
}

@media screen and (max-width: 767px){
	.flip-wrap .back{
		left: 10px;
	}
	.hero-banner.et_pb_with_background{
/*   		background-position: center -40px !important; */
	}
	header .et_pb_menu .et_pb_menu__wrap{
		margin-top: 0px;
	}
	.gform_footer .gform_button.button{
		font-size: 26px;
		padding: 0 5%;
	}
	.hero-banner-mobile.et_pb_section_0{
		background-position: 50% 18% !important;
	}
}