/*======================================
Theme Name: Lancing Equstrian
Theme URI: https://divicake.com/
Description: A bespoke theme by AboveMedia.co.uk
Version: 1.0
Author: AboveMedia
Author URI: https://abovemedia.co.uk
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */
/*TESTIMOIANL PAGE HR LINE */

.hr-container {
    position: relative;
    width: 200px; /* Match HR width */
    margin: 40px auto 40px auto; /* Keep margins as requested */
    text-align: center;
}

.custom-hr {
    display: block;
    width: 200px;
    height: 3px;
    background-color: #26225b;
    border: none;
    margin: 0 auto;
    position: relative;
}

.hr-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 50px; /* Adjust image size */
    width: auto; /* Maintain aspect ratio */
    background: white; /* Optional: Create better separation */
    padding: 2px; /* Optional: Space around icon */
}


/*BLOG STYLING  */
.entry-title {
    text-transform: uppercase;
    font-weight: bold;
}




/*SMASH BALLOON EDITS */

.sbi_header_text {
  display: none !important;
}

#sbi_load {
  display: none !important;
}

#sbi_images {
padding-top: 0px !important;
padding-bottom: 0px !important;
}


/* Style for the Person module with class `team_blurb` */
.team_blurb  h3 {
  margin-bottom: 0;
  margin-top: 10px;
  padding-bottom: 0;
}

.team_blurb  p {
  margin-bottom: 10px;
  padding-bottom: 0;
}

.team_blurb  hr {
  margin: 0 auto;
  width: 25%;
  height: 2px;
  background-color: #B6A57A;
  border: none;
}



/* Force dropdown submenus to align to the right edge of the parent */
body .et_pb_menu .et_pb_menu__menu > nav > ul > li > ul,
body .et_pb_menu .et_pb_menu__menu > nav > ul > li > ul {
    top: calc(100% - 1px) !important; /* Align the top correctly */
    left: auto !important; /* Prevent left alignment */
    right: 0 !important; /* Align to the right edge of the parent */
    position: absolute !important; /* Ensure it’s positioned absolutely */
}

/* Ensure nested submenus also align to the right */
body .et_pb_menu .et_pb_menu__menu > nav > ul > li > ul > li > ul,
body .et_pb_menu .et_pb_menu__menu > nav > ul > li > ul > li > ul {
    left: auto !important; /* Prevent left alignment */
    right: 100% !important; /* Align nested submenus to the right of the parent */
    top: 0 !important; /* Ensure vertical alignment with parent */
    position: absolute !important; /* Ensure proper positioning */
}

/* Drop submenu 10px 
body .et_pb_menu .et_pb_menu__menu > nav > ul > li > ul, body .et_pb_menu .et_pb_menu__menu > nav > ul > li > ul {
  margin-top: 10px;
}
*/

/* Drop submenu 10px with transform */
body .et_pb_menu .et_pb_menu__menu > nav > ul > li > ul {
    transform: translateY(10px);
    visibility: hidden; /* Hide by default */
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth visibility transition */
}

/* Ensure submenu becomes visible and stays open on hover */
body .et_pb_menu .et_pb_menu__menu > nav > ul > li:hover > ul {
    visibility: visible;
    opacity: 1;
    transform: translateY(10px); /* Maintain the 10px offset on hover */
}



/*=====================*/
/* Bullet checklist with gold image icon */
.le-bullet-gold {
    list-style-type: none !important;
    padding-left: 0 !important; /* Remove default padding */
    margin-left: 0 !important; /* Force left margin to 0 */
    margin-bottom: 0 !important; /* Force bottom margin to 0 */
    text-align: left; /* Ensure the list itself is left-aligned */
}

/* Remove the default marker */
.le-bullet-gold li::marker {
    content: none;
}

.le-bullet-gold li {
    position: relative; /* Needed for the pseudo-element */
    padding-left: 40px; /* Space for the icon */
    color: #26225b; /*  text colour */
    font-weight: 600; /* Semi-bold */
    font-size: 18px; /* 18px font size */
    margin-bottom: 10px; /* Spacing between list items */
    text-align: left; /* Ensure the list itself is left-aligned */
}

.le-bullet-gold li:before {
    content: '';
    position: absolute;
    left: 0; /* Adjust as needed for alignment */
    top: 2px; /* Adjust to vertically centre the icon */
    width: 20px; /* Icon width */
    height: 20px; /* Icon height */
    background-image: url('https://lancingequestrian.co.uk/wp-content/uploads/2024/11/academyicon.png');
    background-size: contain; /* Ensures icon fits within specified size */
    background-repeat: no-repeat;
    background-position: center;
}

/*=====================*/
/* Bullet checklist with gold image icon with WHITE TEXT */
.le-bullet-goldwhite {
    list-style-type: none !important;
    padding-left: 0 !important; /* Remove default padding */
    margin-left: 0 !important; /* Force left margin to 0 */
    margin-bottom: 0 !important; /* Force bottom margin to 0 */
    text-align: left; /* Ensure the list itself is left-aligned */
}

/* Remove the default marker */
.le-bullet-goldwhite li::marker {
    content: none;
}

.le-bullet-goldwhite li {
    position: relative; /* Needed for the pseudo-element */
    padding-left: 40px; /* Space for the icon */
    color: #ffffff; /*  text colour */
    font-weight: 600; /* Semi-bold */
    font-size: 18px; /* 18px font size */
    margin-bottom: 10px; /* Spacing between list items */
    text-align: left; /* Ensure the list itself is left-aligned */
}

.le-bullet-goldwhite li:before {
    content: '';
    position: absolute;
    left: 0; /* Adjust as needed for alignment */
    top: 2px; /* Adjust to vertically centre the icon */
    width: 20px; /* Icon width */
    height: 20px; /* Icon height */
    background-image: url('https://lancingequestrian.co.uk/wp-content/uploads/2024/11/academyicon.png');
    background-size: contain; /* Ensures icon fits within specified size */
    background-repeat: no-repeat;
    background-position: center;
}

