/*
Theme Name: BHFS Child
Template: Divi
*/

/* General */
body {
	font-size: 16px;
	font-family: "Open Sans";
	color:#2b2b2b;
	background-color:#f4f4f4;
	line-height: 1.7em;
  font-weight: 500;
}
h1, h2, h3, h4, h5, h6 {
	text-transform: uppercase;
}

.heading-note {
	margin:-10px 0 5px 0;
	padding:0;
}

/* Light */
.light h1,
.light h2,
.light h3,
.light h4,
.light h5,
.light h6,
.light p,
.light ul,
.light ol,
.entry-content .light tr th {
	color: #f4f4f4;
}

.light a {
	color: #ecb351;
}
.light a:hover {
	color: #f5c574;
}

/* Dark */
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6,
.dark p,
.dark ul,
.dark ol,
.entry-content .dark tr th {
	color: #2b2b2b;
}

.dark a {
	color: #1f1c90;
}
.dark a:hover {
	color: #221c86;
}
.dark .et_pb_divider_hidden {
	border-top-color: #2b2b2b;
}


.section-title-row {
	margin-top: 0;
	margin-bottom: 0;
  padding: 0 0 3em 0;;
}
.section-title-primary {
	margin: 0;
  padding: 0;
}
.section-title-break {
	margin: 0;
  padding: 0;
}
.section-title-secondary {
	margin: 0;
  padding: 0;
}

/* Button Group */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.button-group-centred {
  justify-content: center;
}

.button-group .et_pb_button {
  margin: 0; /* Remove default margin if needed */
}

/* Forms */
.dark .fluentform  {
	color: #2b2b2b;	
}
.dark .fluentform  .ff-btn.btn-dark:not(.ff_btn_no_style) {
    color: #f4f4f4;
	background-color: #16136e;
}
.dark .fluentform .ff-btn.btn-dark:not(.ff_btn_no_style):hover {
    background-color: #02004C;
    opacity:1;
}
.light .fluentform  {
	color: #f4f4f4;	
}
.light .fluentform .ff-btn.btn-dark:not(.ff_btn_no_style) {
    color: #f4f4f4;
	background-color: #16136e;
}
.light .fluentform .ff-btn.btn-dark:not(.ff_btn_no_style):hover {
    background-color: #02004C;
    opacity:1;
}


/* Menu */
#footer-menu ul,
#footer-menu ul li {
  width: 100%;
}

/* Lists */
.et_pb_text ul,
.et_pb_text ol {
  list-style: none;
  margin-left: 1.5em;
  margin-top: 0.5em;
  margin-bottom: 1.0em;
  padding: 0;
}

.et_pb_text ul li,
.et_pb_text ol li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.0em;
}

.et_pb_text ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
}

.et_pb_text ol {
  counter-reset: list;
}

.et_pb_text ol li {
  counter-increment: list;
}

.et_pb_text ol li::before {
  content: counter(list) '.';
  position: absolute;
  left: 0;
  top: 0;
}

/* Table */
.hero-table table,
.hero-table table th,
.hero-table table td,
.hero-table table tr {
  border-top: none !important;
  border-right: none !important;
  border-left: none !important;
  border-collapse: collapse; /* Optional: to remove spacing */
  outline: none; /* Sometimes borders are applied via outline */
}
.light .hero-table table tr {
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.dark .hero-table table tr {
	border-bottom: 1px solid rgba(25, 25, 25, 0.3);
}
.light .hero-table table thead tr {
	border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}
.dark .hero-table table thead tr {
	border-bottom: 2px solid rgba(25, 25, 25, 0.5);
}
.hero-table table th,
.hero-table table td {
  min-height: 2em;
  height: 2em;
  line-height: 2em;
  padding-top: 4px;
  padding-bottom: 4px;
}

.hero-table {
    table-layout: fixed;
    width: 100%;
  }

.hero-price-list td:nth-child(2),
.hero-price-list th:nth-child(2) {
    width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	text-align: right;
  }


/* MuchLoved */
.muchloved-funerals-widget .ml-notice {
	background-color: rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid #555555;
}

.muchloved-funerals-widget .ml-title .ml-name a {
    color: #2b2b2b;
}

.muchloved-funerals-widget a.ml-link {
	color: #211e71;
}
.muchloved-funerals-widget a.ml-link:hover {
	color: #353293;
}
.muchloved-notice-search input[type="text"] {
	padding: 7px 15px 7px 15px;
}
.muchloved-notice-search input[type="button"] {
	padding: 10px 15px 10px 15px;
} 