/* 
 Theme Name:     Effective Digital Marketing - Child
 Author:         Effective Digital Marketing, LLC
 Author URI:     https://www.effectivedigital.us
 Template:       Divi
 Version:        1.1.0
 Date:           10/21/2025
 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.8.3
*/ 


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

/* ----- 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;
	}
}*/

/* ----- 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
	}
}

/* ----- WP Forms CSS ----- */
.wpforms-submit {
	font-size: 16px !important;
    background:#ed1b24 !important;
    color: #ffffff !important;
    border: 2px solid #ed1b24 !important;
    transition-duration: .2s !important;
    float: right !important;
}
.wpforms-submit:hover {
	font-size: 16px !important;
    background:#ffffff !important;
    color: #ed1b24 !important;
    border: 2px solid #ffffff !important;
    transition-duration: .2s !important;
    float: right !important;
}

/* ----- 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
}
}*/

/* ----- 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;
	}
}*/

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

/* ----- Main Navigation Button ----- */
.et_pb_button.main_nav_button{
    padding-left: 10px!important;
    padding-right: 10px!important;
    padding-top: 5px!important;
    padding-bottom: 5px!important;
}
.et_pb_button.main_nav_button:hover{
    padding-left: 10px!important;
    padding-right: 10px!important;
    padding-top: 5px!important;
    padding-bottom: 5px!important;
}

/* ----- Pre-Footer Rotating Text ----- */
.dsm-rotate-text > .animated {
    padding-left: .5vw!important;
}

/* ----- Change mobile menu divider line color ----- */
.et_mobile_menu {
    border-color: #ed1b24 !important;
}

/* ----- Main Nav Underline ----- */
@media (min-width: 1115px) {
    #top-menu a {
    margin-top: 10px!important;
    Padding-bottom: 15px!important;
}
#logo {
    width: auto!important;
    max-height: 90px!important;
    margin-top: 30px!important;
}

.et-fixed-header #logo {
    width: auto!important;
    max-height: 70px!important;
    margin-top: 5px!important;
}

.et-fixed-header #top-menu a {
    margin-top: 0px!important;
    Padding-bottom: 15px!important;
}
header.et-fixed-header {
    padding-bottom: 15px!important;
}
}

@media (min-width: 1115px) {
/* ===== Divi Default Header: Underline on hover/active (5px) ===== */
/* Targets the stock #top-menu, not Theme Builder */
#main-header #top-menu > li > a {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

/* Build the underline (exclude button item) */
#main-header #top-menu > li:not(.et_pb_button):not(.main_nav_button) > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #ffffff;
  bottom: 0;
  transform: translateY(6px) scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}

/* Hover + Active (default header) */
#main-header #top-menu > li:not(.et_pb_button):not(.main_nav_button) > a:hover::after,
#main-header #top-menu > li.current-menu-item:not(.et_pb_button):not(.main_nav_button) > a::after,
#main-header #top-menu > li.current_page_item:not(.et_pb_button):not(.main_nav_button) > a::after,
#main-header #top-menu > li.current-menu-ancestor:not(.et_pb_button):not(.main_nav_button) > a::after {
  transform: translateY(6px) scaleX(1);
}

/* Fixed header color swap */
#main-header.et-fixed-header #top-menu > li:not(.et_pb_button):not(.main_nav_button) > a::after {
  background: #ed1b24;
}

/* Belt & suspenders: absolutely no underline on the button item */
#main-header #top-menu > li.et_pb_button.main_nav_button > a::after,
#main-header #top-menu > li.et_pb_button > a::after,
#main-header #top-menu > li.main_nav_button > a::after,
#main-header #top-menu > li > a.et_pb_button.main_nav_button::after {
  display: none !important;
  content: none !important;
}

/* Optional: keep button spacing tidy if it inherited padding */
#main-header #top-menu > li.et_pb_button.main_nav_button > a {
  padding-bottom: 0 !important;
}
}