/*
Theme Name: Divi-Child
Description: Child theme for Divi
Author: Rancho Rx
Template: Divi
*/

@import url("../Divi/style.css");

/* MOBILE MENU SPACING FIX */
@media (max-width: 980px) {

  /* Reduce vertical padding on each menu item */
  .et_mobile_menu li a {
    padding: 5px 20px !important;   /* default is around 12–15px */
    line-height: 1em !important;
  }

  /* Remove extra spacing on parent items with dropdown arrows */
  .et_mobile_menu li.menu-item-has-children > a {
    padding-bottom: 8px !important;
  }

  /* Reduce space between list items */
  .et_mobile_menu li {
    padding: 0 !important;
  }

}

/* END MOBILE MENU SPACING FIX */

.title-line {
  display: block;
}

/* start phone callout is in Theme Options > CSS */


li {
  margin-bottom: 10px;
}

ul, ol {
  margin-left: 25px;
}

/* All text-like inputs */
.nf-form-content input[type="text"],
.nf-form-content input[type="email"],
.nf-form-content input[type="tel"],
.nf-form-content input[type="number"],
.nf-form-content input[type="url"],
.nf-form-content textarea,
.nf-form-content select {
    font-size: 18px;
    font-weight: bold;
    background: #ffffff;
    color: #000000;
    padding: 9px;
}
/* Start Ninja SUBMIT */
.nf-form-content input[type="button"],
.nf-form-content input[type="submit"] {
    font-size: 18px;
    font-weight: bold;
    background: #77A543;
    color: #ffffff;
    padding: 9px;
}

.nf-form-content input[type="button"]:hover,
.nf-form-content input[type="submit"]:hover {
    background: #603814;
    color: #ffffff;
}
/* End Ninja SUBMIT */

/* Hover state */
.nf-form-content input:hover,
.nf-form-content textarea:hover,
.nf-form-content select:hover {
    background: #efefef;
    color: #333333;
}


ul.check {list-style-image:url(https://rancho.daveblaker.com/wp-content/uploads/2026/01/check.png); line-height:1.8em;font-size:15px; font-weight: normal; padding-top: 15px;}
ul.hormone-blue {list-style-image:url(https://rancho.daveblaker.com/wp-content/uploads/2026/01/list-hormone-blue.png); line-height:1.8em;font-size:15px; font-weight: normal; padding-top: 15px;}
ul.hormone-pink {list-style-image:url(https://rancho.daveblaker.com/wp-content/uploads/2026/01/list-hormone-pink.png); line-height:1.8em;font-size:15px; font-weight: normal; padding-top: 15px;}

/* Remove underlines from all button-style links */
.et_pb_button,
.et_pb_button:hover,
.et_pb_button:focus,
.et_pb_button:active {
  text-decoration: none !important;
}

/* Footer DONATE button hover color — scoped safely */
#main-footer a.et_pb_button_0 {
  display: inline-block;
   padding-top: 0px !important;
  padding-bottom: 20px !important;
  line-height: 1.1em !important;
  height: auto;
  text-align: center;
	border: none;
	background-color: #167d7f;
}

#main-footer a.et_pb_button_0:hover {
  background-color: #77A541;
  color: #000000;
 text-decoration: none;
	padding-left: 28px;
}

/* Remove Divi hover icon for this specific footer button */
#main-footer a.et_pb_button_0:after {
  display: none !important;
}

/* START footer social media color */
a.icon {color: #ffffff;}
/* END footer social media color */

/* For button in footer*/
.et_pb_button_0 {
    background-color: #FB4424;
    color: #fff;
    padding: 12px 30px;
    border-radius: 3px;
    font-size: 16px;
	font-weight: bold;
}
/* End button in footer*/
/*START Blog page item order*/
.et_pb_post .et_pb_image_container {
    order: 2;
}

.et_pb_post .post-content {
    order: 1;
}

.et_pb_post {
    display: flex;
    flex-direction: column;
}
/*END Blog page item order*/

/*START underline links*/
/* Underline all standard links by default */
a,
a:visited {
  text-decoration: underline;
}

/* Optional: make hover/focus a bit stronger (e.g., thicker underline or none+color change) */
a:hover,
a:focus {
  text-decoration: underline;
	color: #122D57;
		
}

/*END Underline links*/

/* Skip link - hidden until focused */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 10px 15px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;

  /* THIS is the key line */
  opacity: 0;
}

/* On keyboard focus, show it */
.skip-link:focus {
  top: 10px;
  opacity: 1;
}

/* EQUALIZE IMAGE HEIGHTS */

/* 400px tall images */
.equal-height-400 .et_pb_image img {
  height: 400px;
  width: 400px;
  object-fit: cover;
}

/* 300px tall images */
.equal-height-300 .et_pb_image img {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

/* 200px tall images */
.equal-height-200 .et_pb_image img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

