/**
Theme Name: ssm
Author: South Street Marketing
Author URI: https://southstreetmarketing.com/
Description: South Street Marketing custom theme.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ssm
Template: astra
*/

.practice-side nav > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.practice-side nav > ul > li {
	border-bottom: 1px solid #111 !important;
	border-bottom-width: 1px !important;
	margin: 0;
	padding: 0;
	/* width: 75%;
    margin-left: 65px; */
}

.practice-side nav > ul > li:first-child {
	border-top: 1px solid #111 !important;
}

.practice-side nav > ul > li > a {
	background: #fff !important;
	border: 0 !important;
	border-radius: 0;
	color: #111 !important;
	display: block;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	padding: 8px 32px!important;
	text-decoration: none;
	text-transform: uppercase;
}

.practice-side nav > ul > li > a::before,
.practice-side nav > ul > li > a::after {
	display: none !important;
}

.practice-side nav > ul > li:not(.current-menu-item):not(.current_page_item) > a:hover {
	background: #ddd !important;
}

.practice-side nav > ul > li.current-menu-ancestor > a,
.practice-side nav > ul > li.current-menu-parent > a,
.practice-side nav > ul > li.current-page-ancestor > a {
	background: #eee !important;
}

.practice-side nav > ul > li:is(.current-menu-item, .current_page_item) > a {
	background: #000 !important;
	color: #fff !important;
}

.main-menu-lg .elementor-item:hover{
        background: white;
}

/* Exception: the legacy Elementor Nav Menu has no submenu column control. */
@media (min-width: 768px) {
	.elementor-location-header .elementor-element-2965be4 .menu-item-48 > .sub-menu {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: repeat(8, auto);
		grid-auto-flow: column;
		width: 34rem;
		max-width: calc(100vw - 2rem);
		z-index: 1;
	}

	.elementor-location-header .elementor-element-2965be4 .menu-item-48 > .sub-menu > li {
		min-width: 0;
	}

	.elementor-location-header .elementor-element-2965be4 .menu-item-48 > .sub-menu > li > a {
		white-space: normal;
	}

	.elementor-location-header .elementor-element-2965be4 .menu-item-48:hover > .sub-menu,
	.elementor-location-header .elementor-element-2965be4 .menu-item-48:focus-within > .sub-menu,
	.elementor-location-header .elementor-element-2965be4 .menu-item-48 > a[aria-expanded="true"] + .sub-menu {
		display: grid !important;
	}
}

/* Font settings */
p {
	font-size: 16px;
}

h2 {
	font-size: 34px;
	font-family: 'Fair display', sans-serif;
	font-weight: 400;
}

/* Blog archive posts */
.ssm-blog-heading {
	border-bottom: 2px solid #d30604;
	display: table;
	margin-bottom: 1.5rem;
	padding-bottom: 0.25rem;
}

/* Blog archive posts */
.blog .ast-article-post {
	border: 1px solid #e5e5e5;
	padding-bottom: 0;
	transition: box-shadow 0.2s ease;
}

/* Link hover and focus color */
a:hover:not(.elementor-button),
a:focus:not(.elementor-button),
p a:hover,
p a:focus,
.e-paragraph li a:hover,
.e-paragraph li a:focus {
    color: #d30604;
}

/* blog button and testimonial*/
.elementor-element-5e36d2fa a:hover,
.elementor-element-5e36d2fa a:focus,
.elementor-element-3594de27 a:hover,
.elementor-element-3594de27 a:focus {
    color: #fff !important;
}

.elementor-button:hover,
.elementor-button:focus,
.e-button-base:hover,
.e-button-base:focus { 
    color: #111 !important;
}

.blog .ast-article-post:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.blog .ast-article-post .ast-blog-featured-section,
.blog .ast-article-post .post-content {
	box-sizing: border-box;
}

.blog .ast-article-post .ast-blog-featured-section {
	width: 30%;
}

.blog .ast-article-post .post-content {
	width: 70%;
}

.blog .ast-article-post .entry-title,
.blog .ast-article-post .entry-title a {
	font-weight: 700;
}

.blog .ast-article-post .entry-title a:hover,
.blog .ast-article-post .entry-title a:focus {
	text-decoration: underline;
}

.blog .ast-article-post .post-thumb-img-content {
	aspect-ratio: 1 / 1;
	max-width: 280px;
	overflow: hidden;
	width: 100%;
}

.blog .ast-article-post .post-thumb-img-content .wp-post-image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 767px) {
	.blog .ast-article-post .ast-blog-featured-section,
	.blog .ast-article-post .post-content {
		width: 100%;
	}
}

/* Recent posts sidebar */
.elementor-widget-wrap:has(> .elementor-widget-heading + .elementor-widget-text-editor:has(.recent-post-side))
    > .elementor-widget-heading {
	background: #f1f2f3;
	border-top: 1px solid #d9d9d9;
	border-bottom: 1px solid #d9d9d9;
	margin: 0 !important;
	padding: 8px !important;
}

.elementor-widget-wrap:has(> .elementor-widget-heading + .recent-post-side)
    > .elementor-widget-heading .elementor-heading-title {
	margin: 0 !important;
	font-family: 'Lato', sans-serif;
	font-size: 18px !important;
	font-weight: 400;
	line-height: 1.2;
}

.recent-post-side {
	list-style: none;
	margin: 0;
	padding: 0;
}

.recent-post-side > li {
	border-bottom: 1px solid #d9d9d9;
	margin: 0 !important;
	padding: 8px !important;
}

.recent-post-side .blog-post-title {
	display: block;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	margin: 0;
	padding: 0;
}

.recent-post-side .blog-post-title {
	color: #292929;
	text-decoration: none;
}

.recent-post-side .blog-post-title:hover,
.recent-post-side .blog-post-title:focus {
	color: #0759ad;
	text-decoration: underline;
}

@media (max-width: 767px) {
	.elementor-widget-wrap:has(> .elementor-widget-heading + .elementor-widget-text-editor:has(.recent-post-side))
		> .elementor-widget-heading {
		padding: 8px !important;
	}

	.elementor-widget-wrap:has(> .elementor-widget-heading + .recent-post-side)
		> .elementor-widget-heading .elementor-heading-title {
		font-size: 18px !important;
	}

	.recent-post-side > li {
		padding: 8px !important;
	}

	.recent-post-side .blog-post-title {
		font-size: 18px !important;
	}
}

/* Post Image */
.df-post-img {
    margin-bottom:10px;
	max-width: calc(100% - 1.25rem);
}

/* practice page h2s */
.parent-pageid-17 h2, .parent-pageid-16 h2, .parent-pageid-988 h2 {
    font-size: 34px;
}

/* Atomic paragraph fix */
.parent-pageid-17 #content ul {
	margin-bottom: -20px !important;
}
/* Atomic paragraph link fix don't remove */
/* .parent-pageid-17 #content .e-paragraph-base a:not(.e-button-base):not(.elementor-button) {
	text-decoration: underline;
} */

.ssm-practice-index-location-link a:hover,
.ssm-practice-index-location-link a:focus {
	color: #d30604;
	text-decoration: underline;
}

.ssm-practice-index-location-link .elementor-heading-title {
	font-size: 24px;
	line-height: 1.25;
}
/* Phone link */
#practice-hero-text > a {
	color: white !important;
	text-decoration: underline;
}

/* Hero form input and textarea border fix */
.hero-form .frm_style_formidable-style input,
.hero-form .frm_style_formidable-style textarea {
    border-bottom: #d30604 solid 2px !important;
}
.frm_style_formidable-style .frm_submit button {
    text-transform: uppercase;
    font-weight: bold !important;
    box-shadow: 0 1px 1px #d30604 !important;
} 

.frm_style_formidable-style .frm_submit button {
    text-transform: uppercase;
    font-weight: bold !important;
    box-shadow: 0 1px 1px #d30604;
} 
.frm_style_formidable-style .frm_submit button:hover,
.frm_style_formidable-style .frm_submit button:focus {
    border: #d30604 solid 2px;
	color: black !important;
    /* box-shadow: 0 2px 2px #d30604 !important; */
	background-color: white !important;
}

/* Form input and textarea bottom border */
.frm_full textarea,
.frm_style_formidable-style input,
.frm_style_formidable-style input[type=email],
.frm_style_formidable-style input[type=number],
.frm_style_formidable-style input[type=text],
.frm_style_formidable-style input[type=tel] {
	border-bottom: white solid 2px
}!important

.frm_style_formidable-style.with_frm_style div.frm_description {
	display: none;
}

.frm_style_formidable-style.with_frm_style input[type="submit"],
.frm_style_formidable-style.with_frm_style .frm_submit input[type="button"],
.frm_style_formidable-style.with_frm_style .frm_submit button,
.frm_form_submit_style {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/* end form input and textarea bottom border */

/* Atomic paragraph link fix don't remove */
.parent-pageid-17 #content a:not(.e-button-base):not(.elementor-button):not(.menu-item a) {
	text-decoration: underline;
}

/* Single post h1 font  */
.single-post h1 {
    font-size: 36px !important;
}

/* fix for mobile practice pages left padding */
@media (max-width: 767px) {
.elementor .e-37d4ca9d-68f71dc {
	padding-inline-start: 10px;
}
}

/* Consultation section grid layout */
#consultation  {
    display: grid !important;
    grid-template-rows: 1fr 0fr; 
}
@media (max-width: 1024px) {
    #consultation {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

}

/* Testimonial arrow buttons */
.elementor-198 .elementor-element.elementor-element-6826a31d .elementor-swiper-button svg {
    fill: #ffffff !important;
    background: black;
}
.elementor-element .swiper .elementor-swiper-button-next {
    right: -13px;
}

.elementor-element .swiper .elementor-swiper-button-prev {
    left: -13px;
}

.elementor-element .swiper .elementor-swiper-button svg{
    height: 3em;
}