/*
Theme Name: Harper Bates
Theme URI: https://harperbates.com
Description: A child theme for The7.
Author: Holmes Millet
Author URI: https://holmesmillet.com/
Template: dt-the7
Version: 1.0.0
*/

/* --- Colors --- */

:root {
  --red: #a22b23;
  --black: #000000;
  --white: #ffffff;
  --grey: #4b4a4d;
  --light-grey: #eeeeee;
}

.red {
	color: var(--red);
}

.white {
	color: var(--white);
}

/* --- Globals --- */

a {
	color: var(--red);
}


.light-grey-bg {
	background-color: var(--light-grey);
}

/* Fonts */

@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("/wp-content/themes/dt-the7/fonts/FontAwesome/webfonts/fa-solid-900.woff2");
}

/* Footer */

.footer {
	padding: 50px 0;
}

#footer.solid-bg {
	background: var(--grey);
}

.footer-menu .item-divider:first-child,
.footer-menu .item-divider:last-child {
	display: none;
}

.footer-menu .horizontal-menu-wrap {
	margin-left: -26px;
}

.footer-address {
	color: #979797;
}

.footer-tel {
	color: var(--white);
}

.footer-bottom p,
.footer-bottom a {
	font-size: 14px;
	color: #c4c2bd;
}

.footer-mobile-menu a {
	color: var(--white) !important;
	font-weight: bold;
}

/* --- Page Elements --- */

#main {
	padding: 70px 0 0;
}

/* Page Header */
.page .page-title > .wf-wrap {
	display: none;
}

.section-container {
  padding-top: 50px;
  padding-bottom: 50px;
}

.section-container.hero {
  margin-top: -70px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.attorney-section-container {
	padding-top: 30px;
	padding-bottom: 30px;
}

.attoryneys-side-menu nav {
	background-color: var(--white) !important;
	box-shadow: 5px 5px 31px rgba(0, 0, 0, .3);
}

@media only screen and (max-width: 1024px)  {
	.news-menu nav {
		background-color: var(--white) !important;
		box-shadow: 5px 5px 31px rgba(0, 0, 0, .3);
	}
}

.page #main > .wf-wrap {
	width: 100%;
	padding: 0;
}

.hero-title h1 {
	font-size: 75px;
}

@media only screen and (max-width: 768px) {
	.hero-title h1 {
		font-size: 55px;
	}
}

.section-heading h2 {
	font-size: 30px;
	color: var(--red) !important;
}

.practice-title {
	font-size: 20px;
	color: var(--red);
}

.practice-subtitle {
	font-size: 18px;
	font-weight: 500;
}

.practices-side-toggle-parent .e-n-accordion-item-title,
.practices-side-toggle-child .elementor-accordion-item {
	border-width: 0 0 1px !important;
}

.practices-side-toggle-parent .elementor-element,
.practices-side-toggle-child .elementor-element {
	border: none;
}

.sidebar-practice-title {
	font-size: 20px;
	color: var(--red);
}

.sidebar-practice-subtitle {
	font-size: 16px;
}

ul.practices-side-toggle-list {
	list-style: none; /* Remove default bullets */
}

ul.practices-side-toggle-list li {
	position: relative;
	padding-left: 25px;
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 10px;
}

ul.practices-side-toggle-list li::before {
	content: "\f105";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900; /* Use solid weight for the icon */
	position: absolute;
	left: 0;
	top: 0;
	font-size: 16px;
	color: #000; /* Color of the icon */
}

.posts-carousel {
	margin-top: 30px;
}

.posts-carousel .ele-entry-title,
.posts-grid h3 {
	font-size: 18px;
	line-height: 22px;
	text-align: center;
}

.blog-podcast-container .cta-button a {
	width: 100%;
}

.news-insights-top-story .post-entry-content {
	align-self: center !important;
}

.news-insights-top-story .post-entry-content::before {
	content: "TOP STORY";
	display: block;
	font-weight: bold;
	font-size: 1.2em;
	color: var(--red);
	margin-bottom: 8px;
}

.posts-grid h3 {
	text-align: left;
}

.single-post h1 {
	font-size: 40px;
	line-height: 42px;
	margin: 20px 0;
}

/* Ninja form required fields message at top of forms */
.nf-form-fields-required {
	display: none;
}

.nf-field-element input,
.nf-field-element textarea,
.nf-error .ninja-forms-field {
	background: var(--white);
	border-width: 0 0 1px !important;
}

.nf-field-element input {
margin-bottom: -8px !important;
}
