/* 
 Theme Name:     Effective Digital Marketing - Child
 Author:         Effective Digital Marketing, LLC
 Author URI:     https://www.effectivedigital.us
 Template:       Divi
 Version:        1.0.9
 Date:           8/31/2022
 Description:    A Child Theme built using the elegantmarketplace.com Child theme maker. Developed by Andrew Palmer for Elegant Marketplace www.elegantmarketplace.com Free to use and duplicate as many times as you like
 Wordpress Version: 6.0.1
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

/* Setting the breakpoint of the mobile menu
@media only screen and ( max-width: 1190px ) {
#top-menu-nav, #top-menu {
	display: none;
	}
#et_top_search {
	display: none;
	}
#et_mobile_nav_menu {
	display: block;
	}
}*/

/*Google Review Button
#greview {
	bottom: 100px;
	position: fixed;
	left: -120px;
	z-index: 99999999;
	transition: 1s ease-out !important;
}
#greview::after {
	box-sizing: inherit;
}
#greview::before {
	box-sizing: inherit;
}
#greview a:active {
	outline: none;
}
#greview a:hover {
	outline: none;
}
#greview img {    
	max-width: 180px !important;
	margin: 0;
}
#greview picture {    
	margin: 0;
}
#greview:hover {
    left: 0px !important;
    transition: 1s ease-in !important;
}
@media (max-width: 700px){
	#greview {
		display:none !important;
	}
}*/

/*WP Forms CSS*/
.wpforms-submit {
    background:#6c8835 !important;
    color: #ffffff !important;
    border: 2px solid #6c8835 !important;
    border-radius: 25px !important;
    transition-duration: .2s !important;
    float: right !important;
}
.wpforms-submit:hover {
    background:#ffffff !important;
    color: #6c8835 !important;
    border: 2px solid #6c8835 !important;
    border-radius: 25px !important;
    transition-duration: .2s !important;
    float: right !important;
}


/* Move reCAPTCHA v3 badge to the left*/
.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: 4px !important;
  z-index: 99999999 !important;
}

.grecaptcha-badge:hover {
  width: 256px !important;
}

@media (max-width: 700px) {
.grecaptcha-badge {
	display:none
	}
}

/* Footer Social Icons not Stacked*/
.et-social-icons {
	list-style-type:none;
	font-size: 24px!important;
}
.et-social-icon {
	display: inline;
	margin:0 5px 0 5px;
}
.et-social-icon::marker {
	color:transparent !important;
}

/* Bigger Logo Size > 980px
@media (max-width: 980px) {
.et_header_style_left #logo {
    width: 5em;
    height: auto !important;
}
.logo_container {
    height: 8em !important;
    margin-top: -1.5em
}
}*/

/* Logo Sizing on Tablet & Mobile
@media ( max-width: 980px ) {
.logo_container {
    height: 9em !important;
    width: 100% !important;
    margin-top: -2em
}
}*/

/*Hover Zoom
.hover-zoom .et_pb_image_wrap {
    box-shadow: 4px 0 4px rgba(0, 23, 55, 0.6);
    transition: transform 0.2s, box-shadow 0.2s;
}
.hover-zoom .et_pb_image_wrap:hover {
    box-shadow: 8px 0 8px rgba(0, 23, 55, 0.4);
    transform: scale(1.1);
}*/

/*hide mobile header
@media (max-width: 1190px) {
#main-header { display:none; }
#page-container {
padding-top:0px !important;
margin-top:-1px !important
}
}*/

.fa-check-list {
  list-style: none!important;
  padding-left: 0!important;
}

.fa-check-list li {
  margin-bottom: 0.5em!important;
}

.fa-check-list i {
  margin-right: 0.5em!important;
  color: #ffffff!important;
  font-size: 1.1em!important;
}

.swiper-button-next, .swiper-button-prev, .swiper-pagination {
    display: none!important;
}

@media (min-width: 981px) {
/*edit the Divi submenu*/
.et_pb_menu li ul {
  padding: 0!important;
  border-top: none!important;
  width: 200px!important
}

/*edit the Divi submenu list items*/
.et_pb_menu li li {
  padding: 0!important;
  border-bottom: 1px solid #e1e1e1!important;
  width: 200px!important
}

/*edit the Divi submenu links*/
.et_pb_menu li li a {
  font-size: 12px!important;
  width: 200px!important
}

/*edit the Divi submenu links on hover*/
.et_pb_menu li li a:hover {
  opacity: 1!important;
  background-color: #6c8835!important;
  color: #ffffff!important;
}
.et_pb_menu .menu-item-has-children.current-menu-ancestor > a,
.et_pb_menu .menu-item-has-children.current-menu-parent > a,
.et_pb_menu .current-menu-item > a {
  color: #6c8835!important;
}
.et_pb_menu .menu-item-has-children.current-menu-ancestor > a:hover,
.et_pb_menu .menu-item-has-children.current-menu-parent > a:hover,
.et_pb_menu .current-menu-item > a:hover {
  color: #ffffff!important;
}
/* --- ACTIVE top-level item: stay green always --- */
.et_pb_menu .et-menu > li.menu-item-has-children.current-menu-ancestor > a,
.et_pb_menu .et-menu > li.menu-item-has-children.current-menu-parent > a,
.et_pb_menu .et-menu > li.current-menu-item > a {
  color: #6c8835!important;
}
/* When the ACTIVE top-level item itself is hovered, keep it green */
.et_pb_menu .et-menu > li.menu-item-has-children.current-menu-ancestor > a:hover,
.et_pb_menu .et-menu > li.menu-item-has-children.current-menu-parent > a:hover,
.et_pb_menu .et-menu > li.current-menu-item > a:hover {
  color: #6c8835!important;
}
.et_pb_menu .et-menu > li > a:hover {
  color: #6c8835!important;
}

.et_pb_menu_page_id-128 .sub-menu,
.et_pb_menu_page_id-246 .sub-menu,
.et_pb_menu_page_id-254 .sub-menu,
.et_pb_menu_page_id-255 .sub-menu,
.et_pb_menu_page_id-256 .sub-menu,
.et_pb_menu_page_id-257 .sub-menu,
.et_pb_menu_page_id-275 .sub-menu,
.et_pb_menu_page_id-246 .sub-menu {
    margin-left: -40px!important;
    margin-top: 23px!important;
}
}

.fixed-scroll-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  opacity: 0; transform: translateY(-100%);
  transition: opacity .28s ease, transform .28s ease;
  will-change: transform, opacity;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.fixed-scroll-nav.visible { opacity: 1; transform: translateY(0); }

#fixed-nav-spacer {
  height: 0px;
  transition: height .28s ease;
}

@media (max-width: 980px) {
  .fixed-scroll-nav {
    display: none !important;
  }

  /* Optional: also reset spacer height so it doesn't leave a gap */
  #fixed-nav-spacer {
    display: none;
    height: 0 !important;
  }
}