/**
* Theme Name:          Mai Law Pro
* Theme URI............https://maitheme.com
* Description:         Mai Law Pro is a custom child theme for The Genesis Framework.
* Author:              Mike Hemberger, BizBudding Inc
* Author URI:          https://bizbudding.com/
* Version:             1.3.0
*
* Template:            genesis
*
* License:             GPL-2.0+
* License URI:         http://www.opensource.org/licenses/gpl-license.php
*/


/* Table of Contents

- Defaults
- Media Queries (mobile-first)
- Media Queries (mobile-second)

*/


/* # Defaults
---------------------------------------------------------------------------------------------------- */


@media screen and (min-width: 2000px){
	.homebanner-sec .wp-block-cover__inner-container {
		width: 100% !important;
		max-width: 1589px !important;
		margin-left: auto;
		margin-right: auto !important;
	}

}
body {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
}
h1 {
	font-size: 53.22px;

}
h1,
.banner-title,
.heading,
.widget-title,
.widgettitle {
	font-family: "Open Sans", sans-serif;
	font-weight: 700;
}
h2 {
	font-size: 31px;
	line-height: 40px;
	font-weight: 700;
}
h3 {
	font-size: 25px;
	line-height: 33px;
	font-weight: 600;
	color: #a08b7e;
}
h3, h4, h5, h6 {
	font-weight: 600;
}
p {
	margin: 0 0 28px;
	padding: 0;
	color: #323232;
	font-size: 18px;
	line-height: 25px;
	font-weight: 400;
}
body .entry-content p {
	margin-top: 0;
}

body .entry-content h2 {
	line-height: 40px;
}
a {
	color:  #0b2f53;
	text-decoration: none;
}
a:hover {
	color: #a08b7e;
	text-decoration: none;
}
.entry-content a {
	text-decoration: none;
	font-weight: 700;
}
.heading {
	text-align: inherit;
}
::placeholder {
	color: #000 !important;
	font-weight:400 !important;
}
.genesis-nav-menu a {
	font-weight: normal;
}

.pd-80 {
	padding: 80px 0px;
}
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.gallery img {
	transition: all 0.2s ease-in-out;
}
input, textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	background-color: #f8f8f8;
	color: rgba(0, 0, 0, .7);
	font-family: inherit;
	font-size: 1rem !important;
	font-weight: 300;
	padding: 16px 12px;
	border-radius: 3px;
	border: 1px solid rgba(0, 0, 0, .06);
}
.wp-block-button__link, .button, .gform_button {
	padding: 6px 30px;
	background-color: #a08b7e;
	border-radius: 0;
	font-size: 24px;
	line-height: 41px;
	font-weight: bold;
	text-decoration: none !important;
}
button.submit-calc.attend-seminar {
	padding: 6px 30px !important;
	border-radius: 0;
	font-size: 24px !important;
	line-height: 41px !important;
	font-weight: bold !important;
	text-decoration: none !important;
}
button.submit-calc.attend-seminar:hover {
	background-color: #00214b !important
}
a:hover {
	color: #A08B7E;
}
.nav-header .nav-search:focus, .nav-header .nav-search:hover, .nav-header .sub-menu .current-menu-item>a, .nav-header .sub-menu .current-menu-item>a:focus, .nav-header .sub-menu .current-menu-item>a:hover, .nav-header .sub-menu a:focus, .nav-header .sub-menu a:hover, .nav-header a:focus, .nav-header a:hover, .nav-header>.current-menu-ancestor>a, .nav-header>.current-menu-item>a, .nav-header>.menu-item-has-children:not(.highlight):focus>a, .nav-header>.menu-item-has-children:not(.highlight):hover>a {
	color: #a08b7e;
}

.nav-header .sub-menu .current-menu-item>a, .nav-header .sub-menu .current-menu-item>a:focus, .nav-header .sub-menu .current-menu-item>a:hover, .nav-header .sub-menu a:focus, .nav-header .sub-menu a:hover {
	background-color: #00214b !important;
	color: #fff !important;

}

a:focus {
	opacity: 1 !important;
}
.mobile-menu .current-menu-item>a, .mobile-menu .current-page-ancestor>a {
	color: #a08b7e;
}
.mobile-menu .sub-menu a:active, .mobile-menu .sub-menu a:focus, .mobile-menu .sub-menu a:hover {
	color: #a08b7e;
}
.wp-block-button__link:hover, .button:hover, .gform_button:hover {
	background-color: #0b2f53;
	color: #fff;
}
:focus {
	outline: none;
}
.header-before .widget_text p:last-child {
	font-size: 16px;
	line-height: 18px;
	color: #fff;
	text-align: center;
}
.header-before {
	background-color: #0b2f53;
	/* 	padding: 12px 16px 5px; */
	padding: 9px 16px;
}

.header-before .widget_text p:last-child a {
	color: #fff;
	font-weight:700;
}

.header-before .widget_text p:last-child a:hover {
	color: #a08b7e;
}
.home .entry.boxed {
	padding-top: 0 !important;
	padding-bottom: 0;
	margin-bottom: 0;
	border: none;
}
.home .banner-area {
	display: none;
}
span.wpseo-phone a {
	font-weight: 700;
}
span.wpseo-fax span {
	font-weight: 700;
}
.header-before .widget-area {
	gap: 22px;
	padding-right: 8px;
}
.site-header .site-header-row {
	align-items: end;
}
.site-header .site-header-row {
	align-items: end;
}
.header-right > aside {
	margin: 0 !important;
}
.header-right {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.block-realitive:hover .dark-overlay {
	position: absolute !important;
	background: #0000006b;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	margin: 0;
}
.dark-overlay {
	background-color: transparent;
}
.header-cta-btn a {
	padding: 10px 15px !important;
	font-weight: bold;
	text-decoration: none !important;
	margin-bottom: 10px;
	background-color: #a08b7e;
	color: #fff;
} 
.header-cta-btn a:hover {
	background-color: #0b2f53;
}
.nav-header a {
	padding: 2px 7.2px;
	margin: 0;
	font-size: 15px;
	line-height: 18px;
	color: #323232;
	font-weight: 600;
}

.wp-block-cover__inner-container {
	flex-basis: unset;
}
.homebanner-sec.pd-80 {
	padding-bottom: 86px;
}
.homebanner-sec {
	flex-direction:column;
	justify-content:end;
}
.homebanner-sec .wp-block-button__link {
	padding: 6px 32px;
	margin-left: 7px;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.homebanner-sec .wp-block-cover__inner-container {
	width: 100% !important;
	max-width: 1589px !important;
	margin-left: auto;
	margin-right: 20px;
}

.wp-block-cover__inner-container {
	width: 100% !important;
	max-width: 1254px !important;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
}

.form-sec .subhead {
	color: #fff;
	width: 100%;
	max-width: 1062px;
	margin-bottom: 46px;
	font-size: 20px;
	line-height: 24px;
	margin-left: auto;
	margin-right: auto;
	letter-spacing: 0.6px;
	padding-left: 11px;
	font-weight: 600;
}
.wp-block-group__inner-container {
	width: 100% !important;
	max-width: 1270px !important;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
}
.form-sec .wp-block-group__inner-container {
	padding-left: 8px;
}
.logosonhomepage  {
	align-items: center !important;
	gap: 47px;
	margin: 0;
	justify-content: center;
}
body .header-before .wrap {
	max-width: 1272px;
}

.header-before .simple-social-icons ul li {
	margin: 2px 5.5px !important;
}

.site-header>.wrap {
	margin-top: 21px;
	margin-bottom: 15px;
	padding-left: 8px;
	padding-right: 18px;
}
.site-header>.wrap {
	max-width: 1320px !important;
}
body .genesis-nav-menu > .menu-item-has-children>a::after {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-style: solid;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-color: currentColor;
	border-top: 0;
	border-left: 0;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	margin-left: 5px;
	margin-bottom: 0px;
}
.genesis-nav-menu .menu-item-has-children>a::after {
	display: none;
}
.logo-sec.pd-80 {
	padding-bottom: 78px;
	padding-top: 73px;
}
.logo-sec .wp-block-group__inner-container {
	padding-left: 8px;
}
.cover-head-p {
	font-size: 29.57px !important;
	line-height: 41.39px;
	font-weight: 600;
	margin-left: 7px !important;
}

.homebanner-sec-inner-set {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
body .logosonhomepage img:hover {
	scale: 1.1;
	transition: all .5s;
}
body .logosonhomepage img {
	object-fit: contain !important;
	transition: all .5s;
}

.logosonhomepage .wp-block-column {
	width: 100%;
	max-width: max-content;
}


.form-sec.pd-80 {
	padding: 87px 0px 91px !important;
}


.ft-31 {
	padding-bottom: 41px !important;
	letter-spacing: 0.6px;
	padding-left: 8px;
	color: #fff !important;
	margin-bottom: 13px !important;
}
.prac-area .wp-block-group__inner-container {
	padding-left: 13px;
}

.gform_wrapper .gform-body .ginput_container_checkbox .gform-field-label {
	color: #fff;
	padding-top: 3px;
	font-size: 12px;
	padding-left: 6px;
	margin-left: 5px;
}



body .gform_wrapper .gform-body .ginput_container_checkbox .gfield-choice-input:before {
	width: 17px;
	height: 17px;
}
.sidebar-primary .gfield--type-choice .gfield-choice-input {
	margin-top: 3px !important;
}

.form-sec .gform_wrapper .gform-body .ginput_container_checkbox .gfield-choice-input:before {
	padding-left: 1px !important;
}
.form-sec .gform-theme--foundation .gform_footer {
	justify-content: center !important;
	padding-top: 20px !important;
}
.gform-theme--foundation .gform_footer {
	justify-content: center;
	padding-top: 20px;
}
.gform-theme--foundation input#gform_submit_button_1 {
	border: 1px solid transparent !important;
	/* 	font-size: 21px !important; */
}
section.gform_widget {
	padding-bottom: 0 !important;
}
body .logosonhomepage .naela img {
	object-fit: cover !important;
}
.gform-theme--foundation .gform_footer .gform_button  {
	padding: 6px 30px !important;
	background-color: #a08b7e !important;
	border-radius: 0 !important;
	font-size: 24px !important;
	line-height: 41px !important; 
	font-weight: bold !important;
	text-decoration: none !important;
	border: none !important;
}

body .sidebar.sidebar-primary .gform-theme--foundation .gform_footer .gform_button  {
	padding: 6px 30px !important;
	background-color: #0b2f53 !important;
}

body .sidebar.sidebar-primary .gform-theme--foundation .gform_footer .gform_button:hover{
	background-color: #a08b7e !important;
}
.gform-theme--foundation .gform_footer .gform_button:hover {
	background-color: #0b2f53 !important;
	color: #fff !important;
	border: none !important;
}

.gform-theme--foundation .gform_fields {
	row-gap: 13px;
}

.gform_wrapper .gform-body .ginput_container > input {
	height: 53px !important;
	border-radius: 0 !important;
}


/* practice area css */
.prac-area.pd-80 {
	padding: 80px 0px 50px;
}
.prac-area h2 {
	margin-bottom: 22px !important;
	color: #323232 !important;
}
.pract-text {
	font-size: 20px !important;
	line-height: 31px;
	width: 100%;
	max-width: 1135px;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 73px !important;
}
.inner-home-sec4 .wp-block-group__inner-container {
	padding: 0;
}
.prac-area .block-realitive {
	position: relative;
	flex-basis: unset !important;
}
.block-realitive figure {
	position: relative;
}
.block-realitive figure::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #00000042;
}
p.clickable {
	margin: 0 !important;
	font-size: 0 !important;
}
p.clickable a {
	position: absolute;
	font-size: 0 !important;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	cursor: pointer;
}
.prac-area .wp-block-columns {
	column-gap: 43px;
	row-gap: 51px;
	display: grid !important;
	grid-template-columns: repeat(3, auto);
}


.prac-area-p {
	font-size: 22px !important;
	line-height: 33px !important;
	font-weight: 600;
	text-align:center;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.prac-area .block-realitive:hover .prac-area-p {
	text-decoration: underline;
}

.adjust-p {
	position: absolute;
	bottom: 0;
	width: max-content;
	margin-left: auto !important;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
}
.para-col-sec .adjust-p {
	bottom: 11px;
}
.para-col-third .adjust-p {
	bottom: 7px;
}

.check-hidden {
	display: none !important;
}

ul.practice_area_ul {
	display: flex;
	list-style-type: none;
	flex-wrap: wrap;
	gap: 45px;
	margin-left: 0;
	justify-content: center;
	display: none;
}

li.area_li {
	width: 100%;
	max-width: 380px;
	position: relative;
}

.why-choos-sec .wp-block-cover__inner-container {
	padding-left: 41px !important;
}

.why-choos-sec {
	padding: 80px 0px !important;
}

.why-choos-sec .mg-bt {
	margin-bottom: 69px;
}
.inner-home-sec4.pd-80 {
	padding: 75px 61px 62px 73px !important;
}

.schedule-consultation .wp-block-group__inner-container {
	padding-left: 0;
}

.why-choos-sec h3 {
	letter-spacing: 1.1px;
	font-weight: 600;
}
.inner-home-sec4 p {
	margin-bottom: 38px !important;
	letter-spacing: 0.2px;
	font-size: 18px !important;
}
.choose-sec {
	margin-bottom: 9px;
}
/* consultation */
.client-gp .wp-block-columns {
	margin-bottom: 0;
}
.schedule-consultation-first-head {
	font-size: 30px;
	line-height: 41px;
	margin-bottom: 33px !important;
	padding-left: 26px !important;
	color: #323232 !important;
}

.schedule-consultation-sec-head {
	font-size: 40px;
	line-height: 48px !important;
	margin-bottom: 52px !important;
	color: #323232 !important;
}
.why-choose-head {
	color: #fff !important;
}
.schedule-consultation-text {
	font-size: 20px !important;
	line-height: 41px;
	margin-bottom: 92px !important;
	font-weight: 600;
	width: 100%;
	max-width: 1060px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.schedule-consultation-btn .wp-block-button__link {
	background-color: #0b2f53;
	/* 	line-height: 41px;
	font-size: 40px;
	padding: 22px 43px; */
}

.schedule-consultation.pd-80 {
	padding: 140px 0 110px;
	background-image: url(/wp-content/uploads/2024/11/Group-2.png);
	background-size: cover;
	background-position: center;
}

.client-p {
	font-size: 25px !important;
	line-height: 40px;
	text-align: left;
	width: 100%;
	max-width: 1069px;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 14px !important;;
}

.client-gp.pd-80 {
	padding: 110px 0px;
}

.client-head {
	margin-bottom: 45px !important;
	color: #323232 !important;
	line-height: 33px !important;
}

/* body .staff-profile-main {
display: grid;
grid-template-columns: 28% 30% 30%;
gap: 65px 82px;
} */

body .staff-profile-main {
	display: flex;
	gap: 65px 82px;
	flex-wrap: wrap;
	justify-content: center;
}
body .staff-profile-main .staff-item {
	margin: 20px 0 0px;
	text-align: center;
	flex-basis: 28.8%;
}
/* body .staff-profile-main .staff-item {

margin: 20px 0 0px;
text-align: center;
} */

body .staff-image img {
	border-radius: 50%;
	transition: 1s;
	width: 198px;
}

body .staff-name {
	margin: 10px 0px 23px;
}

body .staff-name a {
	color: #323232;
	font-size: 22px;
	line-height: 33px;
	font-weight: 600;
	text-decoration: none;
}

body .staff-name a:hover { 
	text-decoration: underline;
}

body .staff-item .more-link {
	padding: 9px 8px;
	margin-top: 21px;
	margin-bottom: 13px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	background-color: #a08b7e;
	border: 1px solid #a08b7e;
	color: #fff;
	font-weight:700;
}
.wpseo-extra-comment p {
	color: #fff;
	font-size: 16px;
	line-height: 25px;
}
body .staff-title {
	font-size: 18px;
	line-height: 33px;
	font-weight: 500;
	letter-spacing: 1px;
	color: #323232;
}
.staff-image {
	margin-bottom: 18px;
}

/* blog post */

.item.wp-blog-post-box {
	width: 100%;
	max-width: 380px;
	background: #fff;
	padding: 25px 25px 28px 25px;
	position: relative;
	min-height: 543px;
}

.featuredImg img {
	width: 100%;
	max-width: 100%;
	height: 245px;
	object-fit: cover;
}

body .wp-blog-post-box-inner h2.head a {
	font-size: 20px !important;
	line-height: 30px !important;
	color: #323232 !important;
	text-decoration: none !important;
	font-weight: 800;
	text-align: center !important;
	display: block;
	min-height: 90px;
}

.wp-blog-post-box-inner .innerSubHead {
	font-size: 16px;
	line-height: 22px;
	color: #323232;
	margin-top: 31px !important;
	padding-left: 14px;
	min-height: 88px;
}

.wp-blog-post-box-inner .schedule-btn .wp-block-button__link {
	font-size: 14px;
	line-height: 22px;
	padding: 7px 12px !important;
}

.news-event {
	background-image: url(/wp-content/uploads/2013/09/News-Events.webp);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.schedule-btn {
	text-align: center;
	margin-top: 16px;
}
.news-event-p {
	color: #fff;
	font-size: 25px !important;
	line-height: 40px;
	text-align: left;
	width: 100%;
	max-width: 1057px;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 112px !important;
}
.news-event.pd-80 {
	padding: 120px 0 106px;
}
.news-event .wp-block-group__inner-container {
	padding-left: 10px;
}
.news-event h2 {
	font-size: 31px;
	line-height: 33.05px !important;
	margin-bottom: 46px !important;
	font-family: "Merriweather Sans", sans-serif;
	font-weight: 700;
	letter-spacing: 1px;
	color: #fff !important;
}
.featuredImg {
	margin-bottom: 13px;
}

.wp-blog-post-box-inner h2.head {
	margin-bottom: 23px !important;

}
.home main#genesis-content {
	margin-bottom: 0 !important;
}

/* Footer */
.address-check p {
	color: #fff !important;
	font-size: 16px;
	line-height: 25px;
	margin-bottom: 0px;
}
.wpseo-location {
	color: #fff;
	font-size: 16px !important;
	line-height: 25px;
	font-weight: 500;
}

.footer-widgets .widget-title, .footer-widgets .widgettitle {
	font-size: 25px;
	line-height: 41px;
}

.footer-btns a {
	padding: 6px 17px;
	font-size: 14px;
	line-height: normal;
	border: 1px solid #a08b7e;
}

.wpseo-opening-hours-wrapper table {
	border: none;
}
.wpseo-opening-hours-wrapper table td {
	border: none !important;
}

.wpseo-opening-hours-wrapper table tbody {
	border: none !important;
}
.gform_heading p {
	color: #fff ;
	font-size: 16px;
	line-height: 25px;
	margin-bottom: 18px !important;
}

.contact-page .footer-widgets-4 .gform_heading p {
	color: #fff !important;
}



#gform_fields_2 {
	position:relative;
	z-index:9;
}
form#gform_2 div#field_2_1 {
	grid-column: span 12 !important;
}

form#gform_2 div#field_submit {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 999;
}

input#gform_submit_button_2 {
	font-size: 16px !important;
	line-height: 30px;
	padding: 9.5px 11px;
	background-color: #A08B7E;
	border-radius: 0px ;
}
.home .content-sidebar-wrap.has-boxed-children {
	margin-top: 0;
}
.wpseo-opening-hours-wrapper table td {
	font-size: 16px;
	line-height: 30px;
	padding: 0;
	color: #fff;
	font-weight: 500;
}
footer.site-footer.text-sm p {
	color: #fff !important;
}

.footer-widgets>.wrap {
	width: 100% !important;
	max-width: 1270px !important;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 59px;
	padding-bottom: 27px;


}
.widget-area.footer-widgets-2 {
	padding-top: 52px;
	margin-left: 20px !important;
}
.widget-area.footer-widgets-2 h3.widgettitle.widget-title {
	font-size: 16px;
	line-height: 31px;
}
p.new-text {
	line-height: 38px;
	margin-bottom: 0px !important;
	letter-spacing: 0.6px;
	font-weight: 700;
	font-size:15px;
}

.error404 .content form.search-form {
	display: flex;
	gap: 0;
	max-width: 360px;
}
.error404 .content form.search-form input.search-form-submit {
	clip: unset;
	height: unset;
	position: unset;
	padding: 0 20px;
	margin: 0;
	width: 100%;
	max-width: 130px;
	background: #a08b7e;
	border: 1px solid #a08b7e;
}
.archive-pagination a {
	background-color: #a08b7e;
	font-weight: 700;
}

.archive-pagination a:hover {
	background-color: #0b2f53;
	color: #fff;
}

.archive-pagination .active a, .archive-pagination a:focus, .archive-pagination a:hover {
	background: #0b2f53;
	color: #fff;
}
.error404 .content form.search-form input.search-form-submit:hover {
	background: #00214b !important;
	color: #fff;
	border: 1px solid #00214b !important;
}
input#gform_submit_button_2:hover {
	background-color:#0b2f53;
	color: #fff !important;
	border: 1px solid #fff;
}

.check-set {
	font-weight: 700;
	margin-left: 7px;
}
.street-address {
	padding-right: 53px;
}
.footer-widgets .footer-widgets-1 .widget.widget_text {
	margin-bottom: 24px !important;
}
.footer-widgets-2 .widget-title {
	margin-bottom: 9px;
}
.footer-widgets-1 {
	width: 100%;
	max-width: 25% !important;
	flex-basis: unset !important;
	margin-right: 0 !important;
	margin-left: 16px !important;
}

.footer-widgets-2 {
	width: 100%;
	max-width: 20% !important;
	flex-basis: unset !important;
	margin-right: 0 !important;
}
.footer-widgets-3 {
	width: 100%;
	max-width: 25% !important;
	flex-basis: unset !important;
	margin-right: 0 !important;
	margin-left: 10px !important;
}

.wpseo-opening-hours-wrapper table td {
	letter-spacing: 0.8px;
}

.footer-widgets-4 {
	width: 100%;
	max-width: 25% !important;
	flex-basis: unset !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding-left: 51px;
}

.footer-widgets-4 .widgettitle.widget-title {
	line-height: 35px;
}

#gform_2 .gform-body .ginput_container > input {
	height: 51px !important;
}

.footer-btns a:first-child {
	margin-right: 2px;
}

.footer-btns a:last-child {
	padding: 6px 22px;
}

.site-footer {
	padding-top: 0;
}
.site-footer .menu-item a {
	font-size: 16px;
	line-height: 30px;
	color: #eaf3f3;
}

.site-footer>.wrap {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 4px;
}

.genesis-nav-menu .menu-item:not(:last-child) a {
	position:relative;
}
#nav_menu-3 .menu-item:not(:last-child) a::after {
	content: "";
	position: absolute;
	width: 1px;
	height: 18px;
	right: -15px;
	background: #fff;
}
.site-footer .menu {
	gap: 0 20px;
	padding-left: 8px;
	padding-right: 20px;
	border-bottom: 1px solid #123158 !important;
}
.footer-widgets {
	background-color: #00214b;
	border: none;
	border-bottom: 1px solid #123158 !important;
}
footer.site-footer.text-sm p {
	color: #eaf3f3 !important;
	font-size: 16px;
	line-height: 30px;
	padding-top: 12px;
	padding-left: 40px;
	padding-right: 20px;
}
.site-footer {
	background-color: #00214b;
	border: none;
}
.wp-block-button__link:hover {
	background-color: #0b2f53;
	color: #fff;
}
.gform-theme--foundation input#gform_submit_button_1:hover {
	border: 1px solid #fff !important;
}
#wpe-button:hover {
	background-color: #0b2f53;
	color: #fff;
}
.schedule-consultation-btn .wp-block-button__link:hover {
	background: #a08b7e !important;

}
.footer-widgets-4 .gform-loader {
	position: absolute !important;
}



#gform_widget-2 .gform-theme--framework .gform_validation_errors {
	border: 1px solid;
}

body .footer-btns a:hover{
	background: transparent !important;
	border: 1px solid #fff;
	color: #fff !important;
}
body .staff-item .more-link:hover {
	background-color: #0b2f53;
	color: #fff;
	border: 1px solid #0b2f53;
}
form#gform_2 div#field_submit {
	bottom: unset !important;
}

.footer-widgets-1 .widget-title {
	margin-bottom: 9px !important;  
}
.hidden-head {
	display: none !important;
}
.wp-block-search__inside-wrapper {
	margin: 0 15px;
}
.sidebar-primary .widget-wrap {
	padding-bottom: 15px;
}
.sidebar-primary .wpseo-opening-hours-wrapper table {
	margin-bottom: 0 !important;
}

/* Primary Sidebar End*/
.sidebar-primary .widget_block {
	padding: 0 !important;
}
.widget.boxed {
	padding: 0 !important;
}
.sidebar-primary .widget_block h2 {
	margin-bottom: 20px;
	background-color: #A08B7E;
	color: #fff;
	padding: 15px;
	font-size: 21px;
}
.sidebar-primary .gform-theme--foundation .gform_footer {
	justify-content: center;
	padding-top: 0px;
}
.sidebar-primary .wp-block-search__input {
	background-color: transparent;
}
.sidebar-primary .wp-block-group__inner-container {
	padding-left: 0;
	padding-right: 0;
}

.sidebar-primary #simple-social-icons-5 ul li a {
	background-color: #0b2f53 !important;
	border-radius: 50%;
	color: #fff !important;
} 
.wpe-subscribe-form-container input:not([type='checkbox']), .wpe-subscribe-form-container select {
	border: 1px solid #000;
	background-color: transparent;
	height: 53px;
	font-weight: 400;
	color: #000 !important;
}
.wpe-texting-permission label {
	margin-left: 0px;
}
.wpe-subscribe-form .wpe-form-control label {
	color: #323232;
	line-height: 17.16px !important;
}
ol.wp-block-list li span {
	text-decoration: none !important;
}
.nav-header a:hover {
	color: #A08B7E !important;
}
.gfield--type-choice .gfield-choice-input {
	width: 17px !important;
	height: 17px !important;
}

.wpe-subscribe-form-container input[type="checkbox"], .wpe-subscribe-form-container input[type="radio"] {
	min-width: 15px !important;
	min-height: 15px !important;
	max-height: 15px !important;
}




.nav-header>.menu-item-has-children:not(.highlight):hover>a {
	color: #A08B7E !important;
}
#wpe-button {
	padding: 6px 30px;
	background-color: #a08b7e;
	border-radius: 0;
	font-size: 24px;
	line-height: 41px;
	font-weight: 700;
	text-decoration: none !important;
	color: #fff;
	font-family: "Open Sans", sans-serif;
	width: max-content !important;
}
.wpe-subscribe-form-container {
	width: 100%;
	max-width: 100%;
	background-color: transparent;
	box-shadow: none !important;
}
.wpe-subscribe-form {
	padding: 0px 20px 40px;

}
.wpmd-gcontent ul.wp-block-list {
	margin-bottom: 0 !important;
}
.sidebar-primary li::marker {
	font-size: 16px;
}

.sidebar-primary #simple-social-icons-5 ul li a:hover, .sidebar-primary #simple-social-icons-5 ul li a:focus {
	background-color: #a08b7e !important;
	outline: none;
	border-radius: 50%;
	color: #fff !important;
}
.sidebar-primary .wp-block-latest-comments {
	margin: 0 15px;
}
.sidebar-primary .wpseo-location span {
	color: #323232;
}
.sidebar-primary .street-address {
	padding-right: 0px;
	color: #323232;
}
.sidebar-primary .wpseo-location {
	padding: 0 15px;
}
.sidebar-primary .widget ul {
	margin: 0 15px;
	list-style-type: none;
}

.sidebar-primary .gform_widget {
	padding: 0 !important;

}
body .sidebar-primary h2.widgettitle.widget-title {
	margin-bottom: 20px !important;
	background-color: #A08B7E;
	color: #fff !important;
	padding: 15px;
	font-size: 24px;
}
.nav-header .sub-menu a:hover {
	background-color: #fff;
	text-decoration: underline;
	/* 	color: #323232 !important; */
}
.genesis-nav-menu .sub-menu .menu-item.menu-item-has-children {
	position: relative;
	z-index:99;
}
.genesis-nav-menu .sub-menu .menu-item.menu-item-has-children::before {
	content: url(/wp-content/uploads/2024/11/chevron.png);
	position: absolute;
	top: 13px;
	right: 5px;
	z-index: 1;
}

.genesis-nav-menu .sub-menu .menu-item.menu-item-has-children:hover::before {
	filter: invert(1);
}
.genesis-nav-menu .sub-menu .menu-item.m-50-menu.menu-item-has-children::before {
	top: 18px !important;
}

body .gform_legacy_markup_wrapper ul li.gfield {
	margin-bottom: 13px !important;
}
.gform_wrapper .top_label li.gfield.gf_left_half  {
	padding-right: 13px !important;
}
.gform_wrapper .top_label li.gfield.gf_right_half {
	padding-right: 0px !important;
}
.gform_legacy_markup_wrapper li.hidden_label input {
	margin-top: 0px !important;
}
.nav-header .sub-menu {
	border-top: 5px solid #A08B7E;
	box-shadow: rgba(99, 99, 99, .2) 0 2px 8px 0;
	top: 36px;
	background-color: #fff;
}
.sidebar-primary .gform_wrapper {
	padding: 0 15px;
}
.sidebar-primary .widget_search form.search-form input[type=search] {
	background: transparent;
	width: 100%;
	max-width: 100%;
	border: 1px solid #000;
	color: #000 !important;
	border-radius: 0 !important;
	font-weight: 400;
}
.sidebar-primary .widget_search .search-form {
	padding: 0 15px;
	position: relative;
}
.sidebar-primary  .widget_search input[type=submit] {
	width: 8%;
	height: 67%;
	right: 8%;
	top: 19%;
}
.sidebar-primary .widget_search form.search-form::before {
	content: "";
	position: absolute;
	width: 8%;
	height: 67%;
	/* 	background-image: url(/wp-content/uploads/2024/11/icons8-search-30.png); */
	background-image: url(/wp-content/uploads/2024/12/icons8-search-30.svg);
	z-index: 1;
	background-repeat: no-repeat;
	background-size:contain;
	right: 8%;
	top: 23%;
}
.sidebar-primary .widget_search input[type=submit] {
	right: 8%;
	top: 19%;
	height: 33px;
	width: 34px;
	padding: 10px;
	z-index: 999999;
	clip: unset;
	background: transparent;
	font-size: 0 !important;
}
.home .gform_wrapper .gform-body .ginput_container_checkbox .gform-field-label {
	color: #fff;
}

.sidebar-primary .widget ul a {
	color: #323232;
}
.sidebar-primary .gform_description {
	color: #323232;
}
.sidebar-primary .gform-theme--foundation .gfield--width-quarter {
	grid-column: span 12 !important;
}
.sidebar-primary .gform-theme--foundation .gform_fields {
	gap: 13px !important;
}
.wpe-register-form-container .wpe-col-2, .wpe-subscribe-form .wpe-col-2, .wpe-waitlist-form .wpe-col-2 {
	column-gap: 13px !important;
}
.wpe-form-control {
	margin-bottom: 13px !important;
}
.gform_wrapper .gform-body .ginput_container_checkbox .gform-field-label {
	color: #323232;
	padding-top: 0;
	padding-left: 0px;
}
.homebanner-sec-inner-set h1 {
	line-height: 70.96px;
}


.footer-widgets a:hover, .site-footer .menu-item a:hover, span.wpseo-phone a span:hover {
	color: #A08B7E !important;
}

/* RESOURCES-INNER-PAGE */

.flex-c {
	display: flex;
	justify-content: space-between;
}
.landing {
	float: left;
	width: 55%;
	margin-left: 2%;
}
.landing.bor-from {
	box-shadow: 0 0 5px 0.2px #0b2f53;
	padding: 40px 15px;
	margin-bottom: 0;
	align-self: center;
}
span.landing-title {
	font-size: 35px;
	font-weight: 700;
	color: #A08B7E;
	line-height: 45px;
}
.gf_browser_chrome.gform_wrapper.gform-theme {
	margin-top: 27px;
}

.gform-theme--foundation .gform_footer {
	justify-content: center;
	padding-top: 0px;
}

.form-sec .gform-theme--framework .gform_validation_errors .gform_submission_error {
	color: #e34825 !important;
}

.form-sec .gform-theme--framework .gfield_validation_message {
	color: #e34825 !important;
}

.footer-widgets-4 .gform-theme--framework .gform_validation_errors .gform_submission_error {
	color: #e34825 !important;
}

.footer-widgets-4 .gform-theme--framework .gfield_validation_message {
	color: #e34825 !important;
}

.footer-widgets-4 #gform_widget-2 .gform-theme--framework .gform_validation_errors {
	border: 1px solid #e34825 !important;
}

/*  Primary sidebar end*/

/*Elder Law and Reports CSS*/
.rep-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 45px 24px; 
}
body:not(.search) .report {
	max-width: 340px;
	width: 100%;
	border-radius: 8px;
	background-color: #fff;
	/* 	margin: 0 24px 45px 0; */
	padding: 40px;
	transition: all 0.3s;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
body:not(.search) .report:hover {
	transform: translateY(-10px);
	transition: all 0.3s;
}
.report .rep-img {
	text-align: center;
	margin-bottom: 20px;
}
.report .head-style h2 {
	font-size: 23px;
	margin-bottom: 10px;
	line-height: 30px !important;
}
.report .report-content p:last-of-type {
	margin: 0;
}
.report .head-style h2 a {
	color: #0B2F53;
	text-decoration: none;
	line-height: 24px !important;
}
.report .head-style h2 a:hover {
	color: #A08B7E;
}
.rep-container h2 {
	line-height: 6px !important;
}
body.page-template-default.page ul.wp-block-list a u {
	text-decoration: none !important;
}
/* FAQ CSS Code */
.faqs-container {
	overflow: hidden;
	background: #fff;
	padding-bottom: 30px;
}
.faq-singular {
	position: relative;
	border-bottom: 1px solid #ccc;
	padding: 0 30px 0 20px;
}
.news-style p:last-of-type {
	margin-bottom: 0;
}
.faq-singular:hover,
.faq-singular.active{
	background-image: linear-gradient(90deg, #A08B7E 0%, #A08B7E 8px, transparent 8px, transparent 100%);
}
body.testimonial-page .qe-testimonial-wrapper blockquote.qe-testimonial-text {
	margin-top: 0;
	margin-bottom: 0;
	margin-right: 0;
}

body.testimonial-page .qe-testimonial-wrapper blockquote.qe-testimonial-text p:last-of-type {
	margin-bottom: 0;
}
.faq-singular .faq-question {
	position: relative;
	cursor: pointer;
	margin: 0 !important;
	padding: 25px 25px 25px 0px;
	font-weight: 700;
	font-size: 22px;
}
.faq-singular .faq-question:before {
	position: absolute;
	content: "+";
	color: #A08B7E;
	right: -20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 35px;
	font-weight: 700;
	transition: all .5s;
}
.faq-singular.active .faq-question:before {
	transform: translateY(-50%) rotate(45deg) scale(1.3);
}
.faq-answer {
	display: none;
	padding-bottom: 20px;
}

// Remove the "Protected:" prefix
add_filter('protected_title_format', function($format){
	return '%s'; // just the raw title
});



/* Webinars page styling ------------------------------------------------- */

body .wpe-template-title , body .wpe-single-title{
	color:#a08b7e;
}

body .wpe-col-dd{
	background: #00214b;
	color:#fff;
}

body span.wpe-detail-button, .wpe-detail-button, .wpe-button{
	padding: 7px 20px;
	background-color: #a08b7e;
	border-radius: 0;
	font-size: 16px;
	line-height: normal;
	font-weight: bold;
	text-decoration: none !important;
	color: #fff;
}
.wpe-archive-content ul.wp-block-list {
	margin-left: 30px;
	margin-bottom:20px;
}
body .wpe-event .entry-title a{
	font-size: 36px !important;
}

body .wpe-single-content.wpe-full-content strong {
	color: #946747;
}
body .wpe-event ul, body .wpe-event ol{
	margin-left	:0;
}
body .wpe-form-control select, body .wpe-form-control .wpe-field {
	background: #fcfcfc;
}
body .wpe-event ul{
	margin-bottom:0;
	font-weight: 400;
}
.wpe-full-wrap {
	background: #fcfcfc;
	margin-top: 30px;
	font-weight:400;
}
body .wpe-main-form-holder {
	margin-top: 35px;
}
body span.wpe-detail-button:hover, .wpe-detail-button:hover, .wpe-button:hover {
	background-color: #0b2f53;
	color: #fff;
}
.wpevents-container .wpe-full-content {
	font-weight: 400;
}

ul.wpe-calendar-sublist li:hover {
	background: #a08b7e;
}
.gform-theme--foundation input#gform_submit_button_1:focus {
	box-shadow: none;
}

.single-estate_planning .section-content.width-auto p {
	display: none;
}
.sidebar-primary .wpseo-opening-hours-wrapper table td {
	color: #323232;
}
.sidebar-primary .wpseo-opening-hours-wrapper {
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 0;
}
.landing bor-from h2.gform_submission_error.hide_summary {
	line-height: normal !important;
}
body h2.gform_submission_error.hide_summary {
	margin-bottom: 0 !important;
}
.landing-full {
	padding-top: 20px;
}
.has-large-font-size {
	font-size: 25px !important;
}
.page-template-landing section.section.banner-area.width-full, .page-template-landing .header-before.text-sm, .page-template-landing aside.widget-area {
	display: none;
}
.banner-area .section-content.width-auto p, .banner-area .section-content.width-auto ul {
	display: none;
}
.wpmd-gsingle-cpt-holder {
	/* border-bottom: 1px solid grey; */
	margin-bottom: 30px;
	padding: 30px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
	background: white;
}

.sidebar-primary .gform-theme--framework .gform_validation_errors .gform-icon {
	border: none;
	background: transparent;
}
.sidebar-primary .wpseo-location a span {
	color: #00214b;
}

body .imgHolder img {
	height: 273px;
	object-fit: cover;
}
.prac-area-p a {
	color: #fff;
}

.menu .menu-item.sfHover>ul.sub-menu, .menu .menu-item>a:focus+ul.sub-menu {
	left: 0%;
}

.menu .menu-item.sfHover>ul.sub-menu .menu-item.m-50-menu.sfHover ul.sub-menu {
	top: -288px !important;
	left: -599px !important;
}
.menu .menu-item.sfHover>ul.sub-menu .menu-item.f-60-menu.sfHover ul.sub-menu {
	left: 2%;
}

.genesis-nav-menu .menu-item.f-50-menu .menu-item.f-60-menu .sub-menu {
	width: max-content !important;
}
ul.wsp-pages-list {
	margin: 0 0 24px 32px !important;
	list-style: disc !important; 
}

ul.wsp-pages-list li ul {
	list-style: disc !important; 
}

.wp-block-cgb-block-medicad-calculator .popup-form .gform_wrapper .ginput_container input {
	background-color: transparent !important;
}

body .gform_legacy_markup_wrapper ul li.gfield {
	margin-top: 0px !important;
}

.wp-block-cgb-block-medicad-calculator ul li input {
	border: 1px solid #000 !important;
	background-color: transparent !important;
	margin-top: 10px !important; 
}
body .entry-content .popup-form .button.gform_button {
	padding: 6px 30px;
	background-color: #a08b7e;
	border-radius: 0;
	font-size: 24px !important;
	line-height: 41px;
	font-weight: bold;
}

body .entry-content .popup-form .button.gform_button:hover {
	background-color: #00214b;
}
.wp-block-cgb-block-medicad-calculator .popup-form .gform_wrapper .ginput_container input {
	font-weight: 400;
	color: #000;
}
.wp-block-cgb-block-medicad-calculator b.calculator-result-heading {
	background-color: #a08b7e !important;
}
.nav-header .sub-menu {
	border-bottom: none !important;
	border-right: none !important;
}
body .wpe-event .entry-title a:hover {
	color: #a08b7e;
	opacity: 1;
}
.para-col-first .wp-block-image a {
	display: unset;
}
.news-wrap {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}
.sidebar-primary .widget_search input[type=submit]:focus {
	box-shadow: none;
}
.error404 .content form.search-form .search-form-input {
	background-color: transparent !important;
	height: 53px;
	font-weight: 400;
	color: #000;
	border: 1px solid #000;
	border-radius: 0 !important;
}
.gform_wrapper .gform-body .ginput_container > select {
	padding: 6px 12px;
	height: 53px;
}
.gform_wrapper .gform-body .ginput_container > select:focus {
	box-shadow: none !important;
}
.search.search-results .staff_profile .entry-image-link img {
	width: 100%;
	max-width: 150px;
	object-fit: cover;
}
body.search-results article .entry-content p:last-child,
body.blog article picture img{
	margin-bottom: 0px;
}
.search.search-results .staff_profile .entry-content p {
	margin-top: 21px !important;
}
.sidebar-primary .gfield--type-choice .gfield-choice-input:focus {
	box-shadow: none !important;
}
.page-id-24819 h3 {
	font-size: 31px;
	font-weight: 700;
}
body.testimonial-page .qe-testimonial-wrapper::before {
	content: "";
	background-image: url(/wp-content/uploads/2024/11/quotation.png);
	width: 5%;
	height: 25%;
	position: absolute;
	background-repeat: no-repeat;
	top: -25px;
	background-size: contain;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	filter: brightness(0) saturate(100%) invert(11%) sepia(28%) saturate(4557%) hue-rotate(196deg) brightness(97%) contrast(105%);
}
body.testimonial-page .qe-testimonial-wrapper {
	position: relative;
	overflow: visible;
}
body.testimonial-page .qe-testimonial-wrapper .qe-testimonial-text p b {
	display: block;
	text-align: right;
}
.genesis-nav-menu .sub-menu .sub-menu {
	top: -5px;
}
.hidden {
	display: none;
}
h2 a{
	color: #A08B7E !important;
}
h2 {
	color:#00214b !important;
}
body h2:hover a,
body h2 a:hover,
body.blog .entry-title a:hover{
	color:#00214b !important;
	opacity: 1 !important;
}
body.single .entry-content figure.aligncenter.size-full {
	padding-bottom: 20px;
}
.entry-content ol, .entry-content ul {
	margin: 0 0 24px 40px;
}
div#field_6_5 {
	grid-column: span 12;
}
body:not(.home).page-template-default h2.faq-question {
	margin-bottom: 0 !important;
	color: #00214b;
}
.page-id-9 h2.wp-block-heading.has-text-color.has-link-color a:hover {
	color: #A08B7E;
}

body.landing.landing-ep {
	width: 100%;
	margin: 0;
}
body.landing-ep.landing .site-inner {
	max-width: 960px !important;
	margin: 0 auto;
}
body.landing-ep.landing h2.p-lr-20 {
	margin-top: 20px;
	margin-bottom: 30px;
}
body.landing-ep.landing .header-before.text-sm,
body.landing-ep.landing section.section.banner-area.width-full{
	display:none !important;
}

body.landing-ep.landing p.m-zero {
	margin: 10px;
}


body.landing-ep.landing .entry-content h2 {
	line-height: 35px;
	font-size: 25px;
}
body .home-page-banner-slider .wp-block-group__inner-container {
	max-width: 1920px !important;
	position: relative;
	padding:0px;
}

body .home-page-banner-slider .wp-block-columns {
	position: absolute;
	bottom: 8%;
	z-index: 1;
	left: 16%;
}
body .home-page-banner-slider  .item {
	min-height: calc(100vh - 176px);
	height: calc(100vh - 176px);
}

body .home-page-banner-slider .item img {
	height: 100%;
	object-fit: cover;
	width: 100%;
	object-position:center 25%;
}
body .home-page-banner-slider p,
body .home-page-banner-slider p strong{
	color:#fff;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

body .home-page-banner-slider  .item .after {
	position: absolute;
	top: 0;
	left: 0;
	bottom:0;
	right:0;
	width: 100%;
	height: 100%;
	font-size: 0;
	color: transparent;
	background: rgba(0, 0, 0, 0.2);
}
body .home-page-banner-slider  .image-container:hover .after {
	display: block;

}

body .homebanner-sec.pd-80{
	display:none;
}

body.single.single-ealert header.entry-header {
	display: none;
}


body .site-title {
	width: 100%;
	max-width: 200px;
	height: auto;
}

body .site-title a.custom-logo-link {
	width: 100%;
	height: 100%;
	margin: 0;
}

body .site-title a.custom-logo-link img.custom-logo {
	width: 100%;
	height: 100%;
}

body.has-sticky-header .site-header p.site-title {
	transition:all .2s;
	padding: 10px 0;
}
body.has-sticky-header.scroll .site-header p.site-title{
	max-width: 150px;
	height: auto;
}
input#choice_1_9_1 {
	width: 15px !important;
	height: 15px !important;
	margin-top: 2px !important;
}
label#label_1_9_1 {
	margin-left: 8px;
}
body .prac-area .wp-block-columns.para-col-first img {
	width: 100%;
}



/* Author Template start */

body.author .author-posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
body.author .author-post {
	background-color: #fff;
	position: relative;
	transition: .1s all;
	padding: 20px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
body.author .author-post a.more-link {
	margin-bottom: 0;
}
/* body.author .author-post .post-title a{
color: #946747;
} */
body.author .author-post h2.post-title {
	font-size: 25px;
}
/* body.author .author-post .post-title:hover a{
color: #393939;
} */
body.author .author-post h1.post-title {
	text-align: center;
	padding-bottom: 20px;
	font-size: 40px;
	color:#946747;
}
body.author .author-post .post-content p {
	margin-bottom: 0px;
}
body.author  .author-info h1 {
	color:rgb(116, 122, 99);
}
body.author .author-post .featured-image  {
	text-align: center;
	margin-bottom: 24px;
}
body.author .author-post .featured-image img {
	width:100%;
	object-fit: cover;
	object-position: top;
	height:313px;
}

body.author .author-post .featured-image.dummy-image  {
	text-align: center;
	margin-bottom: 24px;
	margin-top: 30px;
}
body.author .author-post .featured-image.dummy-image img {
	width: 53%;
	object-fit: cover;
	object-position: top;
	height: auto;
}
body.author p{
	font-size:16px;
}
body.author a{
	font-weight:bold;
}

body.blog .entry-image-after-title img.alignleft {
	width: 200px;
	height: 200px;
	object-fit: cover;
}
body.category .entry-image-after-title img.entry-image {
	width: 200px;
	height: 200px;
	object-fit: cover;
	object-position: center;
}
body.search .entry.boxed img {
	width: 200px;
	height: 200px;
	object-fit: cover;
	object-position: top;
}
body .logo-sec .logosonhomepage img {
	width: 150px !important;
	/* 	height: 150px !important; */
	object-fit: contain !important;
	object-position: center;
}
body .logo-sec  .wp-block-columns.logosonhomepage.scnd-col-spc {
	margin-top: 15px;
}

body .logo-sec .wp-block-group__inner-container {
	max-width: 1670px !important;
}
body .logo-sec .wp-block-columns.logosonhomepage {
	flex-wrap: wrap !important;
	gap: 20px;
	justify-content: center !important;
	align-items: center !important;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}
body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column:nth-child(5) {
	flex-basis: 20% !important;
}
body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column:nth-child(6) {
	flex-basis: 9% !important;
}
body .logo-sec .logosonhomepage .wp-block-column:nth-child(5) img {
	width: 200px !important;
}
body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column {
	flex-basis: 10% !important;
	align-self: center !important;
	text-align: center;
}
body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column a{
	padding:5px;
}

body.landing-ep .gform_wrapper {
	margin-bottom: 0;
	margin-top: 0;
	max-width: 100%;
	background: #1f3b5f;
	padding: 10px 22px;
	color: #fff;
	font-weight: bold;
}

body.landing-ep .footer-widgets .gform_wrapper{
	background:transparent;
	padding:0px;
}

/**
* Gravity Forms: enforce capitalization
* - cap-first = Title Case (every word)
* - initials  = ALL CAPS
*/
add_filter( 'gform_pre_submission_filter', function( $form ) {
	foreach ( $form['fields'] as &$field ) {
		// Only process text-like fields
		if ( ! in_array( $field->type, array( 'text', 'textarea', 'name' ), true ) ) {
			continue;
		}

		// Grab posted value
		$field_id = $field->id;
		$input_name = "input_{$field_id}";
		$value = rgpost( $input_name );
		if ( ! $value ) {
			continue;
		}

		// cap-first: Title Case
			if ( strpos( $field->cssClass ?? '', 'cap-first' ) !== false ) {
				$_POST[ $input_name ] = ucwords( strtolower( $value ) );
		}

		// initials: ALL CAPS
			if ( strpos( $field->cssClass ?? '', 'initials' ) !== false ) {
				$_POST[ $input_name ] = strtoupper( $value );
		}
	}
	return $form;
});

/* 
body.landing-ep .wp-block-button__link, body.landing-ep .gform_wrapper .gform_footer input.button, body.landing-ep .gform_wrapper .gform_footer input[type=submit], body.landing-ep .gform_wrapper .gform_page_footer input.button, body.landing-ep .gform_wrapper .gform_page_footer input[type=submit] {
font-size: 28px;
font-weight: 900;
margin: 0;
background-color: #a08b7e;
width: 100%;
padding: 14px;
max-width: 280px;
margin: 0 auto;
display: block;
} */
body.landing-ep .gform_wrapper .gform_footer input[type=submit] {
	max-width: 100% !important;
	width: 100% !important;
}
body.landing-ep .gform_legacy_markup_wrapper ul.gform_fields li.gfield {
	padding-right: 0px;
}

body.landing-ep .wp-block-button__link:active, .wp-block-button__link:focus, .wp-block-button__link:hover, .wp-block-button__link:visited, body.landing-ep .gform_wrapper .gform_footer input[type=submit]:hover {
	opacity: 0.9;
}

body.landing-ep  .entry-content ul.gform_fields {
	padding: 0;
}



body.single .entry-content img {
	margin-top:0px;
}
body #gform_widget-2 #gform_wrapper_2 span.gform-icon.gform-icon--circle-error {
	width: 50px;
	height: 21px;
}

body .gform_validation_errors h2.gform_submission_error.hide_summary {
	margin-bottom: 0 !important;
	color: var(--gf-form-validation-color) !important;
	line-height: normal !important;
}

.staff-gallery {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 10px;
	max-width: 100%;
	white-space: nowrap;
}

body .attend-seminar-sec {
	padding: 110px 0;
}

body .attend-seminar-sec  h2.subhead {
	font-size: 35px;
	padding-bottom: 38px;
}


body .attend-seminar-sec  h2.head {
	font-size: 48px;
	padding-bottom: 46px;
}

body .attend-seminar-sec  p.after-head-text {
	font-size: 34px;
	line-height: 44px;
	font-weight: 500;
	padding-bottom:60px;
}



body.archive .content>.entry, body.blog .content>.entry, body.search .content>.entry {
	overflow: hidden;
	background: #fff;
}

body.archive article, body.blog article, body.search-results article {
	box-shadow: 0 0 5px 1px rgba(0, 0, 0, .1);
}

body .sidebar .widget.boxed{
	border:none;
	box-shadow: 0 0 5px 1px rgba(0, 0, 0, .1);
}
body.slide-deck-page .entry-content {
	gap: 0px !important;
}
body.slide-deck-page .entry-content .staff-imag img {
	padding-right: 20px;
}

.single-staff_profile .single-staff Img {
	border: 4px #fff;
	border-style: solid;
	height: 200px;
	width: 200px;
}
body.single-staff_profile .entry-content .single-staffImg img {
	margin-top: 0px;
	height: 100% !important;
	width: 100% !important;
	object-fit: cover;
	object-position: top;
}
.display-hide{
	display:none;
}
.entry-header .entry-meta>* {
	font-weight: 500;
}

.entry-header .entry-meta a {
	font-weight: 700;
}
/* .sidebar .gform_wrapper .gform-body .ginput_container > input {
border-color: #000;
} */

input#choice_3_10_1 {
	width: 15px !important;
	height: 15px !important;
	margin-top: 2px;
}
body.page-id-27282 #gform_6 .gfield .ginput_container .gfield_checkbox .gfield-choice-input {
	margin-top: 3px;
	width: 12px !important;
	height: 12px !important;
}
body.page-id-27282 .gform_wrapper .gform-body .ginput_container_checkbox .gfield-choice-input:before {
	font-size: 10px;
	width: 10px !important;
	height: 10px !important;
}
body.page-id-27282 .gform_wrapper .gform-body .ginput_container_checkbox .gform-field-label {
	margin-left: 0px;
}
:focus {
	outline: none !important;
}
.error404 .archive-pagination {
	display: none;
}

body.page-id-29453 .wpe-archive-buttons .wpe-archive-description span.wpe-detail-button {
	padding: 7px 35px 7px 15px;
}
body.page-id-29453 .wpe-archive-buttons .wpe-archive-description span.wpe-detail-button:after {
	right: 10px;
}
/* .wp-block-group.alignfull.home-page-banner-slider {
display: none;
} */

/* body .home-page-banner-slider .owl-carousel.owl-carousel-banner
{
height: calc(100vh - 176px);
min-height: calc(100vh - 176px);
} */
/* .home-page-banner-slider .wp-block-group__inner-container {
height: calc(100vh - 176px);
min-height: calc(100vh - 176px);
background-image: url(/wp-content/uploads/2013/09/First-Slider-Image-Happy-Family-with-Estate-Planning.webp);
background-repeat: no-repeat;
background-size: 100%;
}
body .home-page-banner-slider .owl-carousel.owl-carousel-banner{
display:none;
opacity:0;
} */

body .header-before .search-wrapper.custom-search {
	position: relative;
	display: flex;
	align-items: center;
}
body .header-before .widget-area {
	position: relative;
}
/* body .site-header .search-wrapper.custom-search:hover{
border: 2px solid #a61f33;
background:transparent;
} */

/* body .header-before .search-wrapper.custom-search .search-icon,
body .header-before .search-wrapper.custom-search .close-icon {
cursor: pointer;
width: 27px;
height: 27px;
background: #a08b7e;
border-radius: 50%;
justify-content: center;
display: flex;
align-items:center;
cursor: pointer;
border:none;
margin-top: 1px;
} */
/* body .header-before .search-wrapper.custom-search .search-icon:hover,
body .header-before .search-wrapper.custom-search .close-icon:hover{
border:2px solid #a08b7e;
background:#fff;
} */
/* body .header-before .search-wrapper.custom-search .search-icon img,
body .header-before .search-wrapper.custom-search .close-icon img {
filter: brightness(0) saturate(100%) invert(13%) sepia(70%) saturate(1228%) hue-rotate(180deg) brightness(95%) contrast(95%);
width: 15px;
height: 15px;
} */
body .header-before .search-wrapper.custom-search .search-form {
	position: absolute;
	top: 30px;
	left: 0;
	display: flex;
	background: white;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 5px;
}

body .header-before .search-wrapper.custom-search .search-form input {
	border: none;
	outline: none;
	padding: 5px;
}

body .header-before .search-wrapper.custom-search .search-form button {
	border: none;
	background: #0073aa;
	color: white;
	padding: 5px 10px;
	cursor: pointer;
}
body .header-before  .widget_search {
	/* 	position: absolute;
	right: 2px;
	z-index: 999;
	top: 37px; */
	width: 260px;
	border: 0px solid #a08b7e;
}
body .header-before .search-form-input {
	padding-right: 46px;
	background-color: #fff;
	border-radius: 0px;
	height:30px;
}
.header-before button.wp-block-search__button.has-icon.wp-element-button {
	padding: 0 10px;
	margin-left:0px;
}
.header-before button.wp-block-search__button.has-icon.wp-element-button{
	border: 0px solid #a08b7e;
	border-radius: 0px;
}
body .header-before .search-form{
	position:relative;
}
body .header-before input.search-form-submit {
	border-radius: 0px;
	height: 35px;
	width: 46px;
	font-size: 0px !important;
	background-color: transparent;
	background-image: url(/wp-content/uploads/2013/09/Search-Icon.svg);
	filter: brightness(0) saturate(100%) invert(13%) sepia(70%) saturate(1228%) hue-rotate(180deg) brightness(95%) contrast(95%);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 40%;
	clip: unset;
	position: absolute;
	z-index: 9999999;
	right: 0;
	top: 1px;
}
body .header-before input.search-form-submit:focus{
	box-shadow: none;
	height: 35px;
	width: 46px;
	background: url(/wp-content/uploads/2013/09/Search-Icon.svg) no-repeat;
	display: unset;
	background-position: center;
	background-size: 40%;
}
/* .header-widget input#wp-block-search__input-1 {
position: absolute;
top: 53px;
height: 40px;
width: 300px;
max-width: 300px;
right: 0;
} */
.header-before input#wp-block-search__input-1:focus {
	outline: none;
	border: none;
}
body .site-header .header-before input#wp-block-search__input-1 {
	height: 46px;
}
body .site-header .header-before .wp-block-search__inside-wrapper {
	border:none;
	padding:0px;
}
/* .header-widget {
position: relative;
} */
/* body .header-before .widget_search{
display:none;
} */
/* body .header-before .search-icon {
-webkit-transform: unset;
transform: unset;
} */
body .header-before .widget_text {
	padding: 0px;
}

.load-remove-2.home-page-banner-slider{
	display:none;
}
.load-remove-2 .wp-block-group__inner-container {
	background: url(/wp-content/uploads/2013/09/First-Slider-Image-Happy-Family-with-Estate-Planning.webp);
	background-repeat: no-repeat;
	background-size: cover;
	min-height: calc(100vh - 176px);
	height: calc(100vh - 176px);
	background-position: center 25%;
}
.load-remove-2 .wp-block-group__inner-container:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	font-size: 0;
	color: transparent;
	background: rgba(0, 0, 0, .2);
}

.wpseo-extra-comment table#wpseo-opening-hours td {
	width: 0px;
	border: none;
	font-size: 16px;
	line-height: 30px;
	padding: 0;
	color: #fff;
	font-weight: 500;
	letter-spacing: 0.8px;
}
.wpseo-extra-comment table#wpseo-opening-hours {
	border: none;
	width: 97%;
}
.wpseo-extra-comment table#wpseo-opening-hours tbody {
	border: none;
}
table#wpseo-opening-hours-371 {
	margin-bottom: 0px;
}
.sidebar.sidebar-primary .wpseo-extra-comment table#wpseo-opening-hours td {
	color: #323232;
	font-weight: 500;
}
.sidebar.sidebar-primary .wpseo-extra-comment{
	padding: 0px 15px;
}
.sidebar.sidebar-primary .wpseo-extra-comment table#wpseo-opening-hours {
	border: none;
	width: 333px;
	margin-bottom: 0px;
}
/* Medecaid Calculator  */
.wp-block-cgb-block-medicad-calculator {
	font-weight: 400;
	margin: 0 auto;
	max-width: 100%;
	padding: 0;
}
.wp-block-cgb-block-medicad-calculator ul {
	margin: 0 !important;
	padding: 0 !important;
}
.wp-block-cgb-block-medicad-calculator ul li {
	list-style-type: none;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	margin-bottom: 15px;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.wp-block-cgb-block-medicad-calculator  label {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 5px;
	font-weight: 700;
	font-size: 17px;
}
.wp-block-cgb-block-medicad-calculator ul li input {
	width: 100%;
}
.wp-block-cgb-block-medicad-calculator em, .wp-block-cgb-block-medicad-calculator i {
	font-size: 14px;
	line-height: 1.2;
	display: block;
	margin-top: 10px;
	opacity: 0.7;
	-ms-flex-order: 3;
	order: 3;
}
.wp-block-cgb-block-medicad-calculator .pop-up {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 9999;
	padding-top: 120px;
}
.wp-block-cgb-block-medicad-calculator .popup-content {
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
	background: #fff;
	padding: 30px;
	position: relative;
	border-radius: 0px;
	-webkit-box-shadow: rgba(0, 0, 0, .1) 0 0 5px 0, rgba(0, 0, 0, .1) 0 0 1px 0;
	box-shadow:rgba(0, 0, 0, .1) 0 0 5px 0, rgba(0, 0, 0, .1) 0 0 1px 0;
}
.wp-block-cgb-block-medicad-calculator span.close {
	position: absolute;
	top: 10px;
	right: 15px;
	width: 15px;
	height: 15px;
	cursor: pointer;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
.wp-block-cgb-block-medicad-calculator .pop-form-sub {
	font-size: 30px;
	text-align: center;
	font-weight: 600;
}
.wp-block-cgb-block-medicad-calculator b.calculator-result-heading {
	background: #355c8b;
	display: block;
	padding: 10px;
	margin-bottom: 10px;
	color: #fff;
	margin-top: 10px;
}
.Show_Map img {
	width: 100%;
	object-fit: cover;
	object-position: center;
}
#text-6 .widget-wrap,
#text-7 .widget-wrap {
	padding: 0px;
}

.gfield.gfield--type-captcha .gfield_label {
	display: none !important;
}

body ul#input_23_18 fieldset {
	display: contents;
	border: none;
}
body ul#input_23_18 legend {
	display: none;
}
body .singleStaff-holder .upper-Holder .imgHolder {
	padding: 20px;
}

body h2.staff-category-title {
    padding: 20px;
    color: #00214b !important;
    margin-bottom: 30px;
    text-align: center;
    max-width: max-content;
    margin: 0px auto 40px;
    padding-bottom: 14px;
    padding-top: 40px;
    position: relative;
}
body h2.staff-category-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #a08b7e 30%,
    #a08b7e 70%,
    transparent 100%
  );
}

body .staff-category-section {
	margin-bottom: 40px;
}
body .staffProfiles-container {
	gap: 30px !important;
	justify-content: center;
}
body.page-template-StaffArchivePageTemplate .singleStaff-holder {
    flex: 0 0 calc((100% - 40px) / 3);
}
body .staffProfiles-container .imgHolder img {
	border-radius: 50%;
	width: 100%;
	height:100%;
}
body.page-template-StaffArchivePageTemplate .singleStaff-holder {
    width: 100%;
    max-width: 360px;
    margin: 0;
}
body .margin-btn {
    margin-bottom: 20px;
}

/* # Media Queries (mobile-first)
---------------------------------------------------------------------------------------------------- */

@media only screen and (min-width: 545px) {}

@media only screen and (min-width: 769px) {}

@media only screen and (min-width: 993px) {}

@media only screen and (min-width: 960px) {
	.genesis-nav-menu .menu-item.f-50-menu .sub-menu {
		display: flex !important;
		width: 402px !important;
		flex-wrap: wrap;
		height: auto !important;
		transition: inherit;
		opacity: 1 !important;
	}
}

/* # Media Queries (mobile-second)
---------------------------------------------------------------------------------------------------- */


@media only screen and (max-width: 1440px) {
	.schedule-consultation .wp-block-group__inner-container {
		padding-left: 20px;
	}
	.news-event .wp-block-group__inner-container {
		padding-left: 20px;
	}
	.site-header>.wrap {
		padding-left: 20px !important; 
		padding-right: 20px !important;   
	}

	.schedule-consultation-sec-head {
		font-size: 36px;
		margin-bottom: 28px;
	}
	.cover-head-p {
		font-size: 24px;
	}
	.homebanner-sec .wp-block-cover__inner-container {
		margin-left: auto;
		margin-right: auto;
	}
	.homebanner-sec {
		min-height: 640px !important;
	}

	.homebanner-sec-inner-set h1 {
		font-size: 42px;
		line-height: 50.96px;
	}
	p.cover-head-p {
		margin-left: 0 !important;
	}
	.homebanner-sec .wp-block-button__link {
		margin-left: 0px;
	}
	.why-choos-sec .wp-block-cover__inner-container {
		padding-left: 20px !important;
	}
	.prac-area .wp-block-group__inner-container {
		padding-left: 20px;
	}	
	.form-sec .wp-block-group__inner-container {
		padding-left: 20px;
	}
	.logo-sec .wp-block-group__inner-container {
		padding-left: 20px;
	}
	.prac-area h2 {
		padding-left: 0px;
	}
	.ft-31 {
		padding-left: 0px;
	}
	.form-sec .subhead {
		padding-left: 0px;
	}
	.pract-text {
		padding-left: 0px;
	}
	.schedule-consultation-first-head {
		padding-left: 26px;
	}
	body .attend-seminar-sec-cover{
		padding:0px;
	}
	body .attend-seminar-sec h2.subhead {
		font-size: 33px;
	}
	body .attend-seminar-sec h2.head {
		font-size: 43px;
		padding-bottom: 40px;
	}
	body .attend-seminar-sec p.after-head-text {
		font-size: 32px;
		line-height: 43px;
		padding-bottom: 40px;
	}
}



@media only screen and (max-width: 1440px) {
	.ft-31 {
		padding-left: 0px;
		padding-bottom: 0;
		margin-bottom: 30px;
	}
	.prac-area .wp-block-columns {
		row-gap: 43px;
	}
	body .home-page-banner-slider p strong {
		font-size:48px!important;
	}
}
@media only screen and (max-width: 1300px) {
	.nav-header a{
		padding: 2px 5px;
	}
	.glastonbury-elder-check-it {
		padding-left: 15px !important;
	}

	.site-header>.wrap {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.site-header .site-header-row {
		flex-direction: column !important;
		justify-content: center !important;
		align-items: center !important;
		gap: 2px;
	}
	.header-right {
		display: flex;
		flex-direction: column;
		gap: 28px;
		justify-content: center;
		align-items: center;
		flex-basis: auto !important;
	}
	body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column {
		width: 26%;
		flex-basis: 17%;
	}
	body .staff-profile-main {
		gap: 65px 66px;
	}
	.archive-pagination a {
		font-size: 16px;
	}
	.archive-pagination.pagination ul li {
		padding: 0px;
	}
}
@media only screen and (max-width: 1200px) {


	.schedule-consultation.pd-80 {
		padding: 120px 0 80px;
	}

	.footer-widgets .row.gutter-xl {
		flex-wrap: wrap !important;
		justify-content: center;
	}
	.footer-widgets .row.gutter-xl .footer-widget-area {
		width: 100%;
		max-width: 45% !important;
		margin-left: 24px !important;
		margin-right: 24px !important;
	}
	.footer-widgets-4 {
		padding-left: 0px !important;
	}
	.footer-widgets-4 #gform_widget-2 div#gform_wrapper_2 {
		width: 100%;
		max-width: 350px;
		position: relative;
		z-index: 9;
	}
	body .home-page-banner-slider .wp-block-columns {
		position: absolute;
		bottom: 8%;
		z-index: 1;
		left: 6%;
	}
	body.page-template-StaffArchivePageTemplate .staffProfiles-container {
		grid-template-columns: repeat(3, auto);
	}
	body.page-template-StaffArchivePageTemplate .singleStaff-holder {
		max-width: 370px;
	}
}
@media only screen and (max-width: 1150px) {
	.category-elder-law .entry-content .alignleft {
		width: 100%;
		max-width: 100%;
		margin-bottom: 20px;
	}
	.archive-pagination a {
		font-size: 12px;
		padding: 8px;
	}
}
@media only screen and (max-width: 1024px) and (min-width: 782px) {


	.choose-sec .wp-block-column figure img {
		width: 100% !important;
		max-width: 100%;
		height: auto !important;
	}
}
@media only screen and (max-width: 1024px) {
	.glastonbury-elder-check-it {
		padding-left: 0 !important;
	}
	.mobile-menu .sub-menu .sub-menu {
		padding-left: 15px;
	}
	body .mai-toggle {
		display: none;
	}
	.nav-open {
		display: block !important;
	}
	body .mai-toggle.mobMenu-btn{
		display: block;
	}
	.site-header .site-header-row {
		flex-direction: unset !important;
	}
	.mai-menu .sub-menu-toggle.activated::after{
		margin-top: 20px;
	}

	.site-header .site-header-row {
		gap: 0;
	}
	body .header-before {
		display: block !important;
	}

	.header-right {
		display: block !important;
		margin-top: 0 !important;
	}
	.nav-header_right {
		display: none;
	}
	.mai-menu .search-form {
		display: none;
	}
	.mobile-menu a {
		font-size: 16px;
		line-height: normal;
		color: #323232;
		font-weight: 600;
	}
	.mobile-menu .sub-menu {
		background: transparent !important;
	}

	.mobile-menu .sub-menu a {
		background: transparent !important;
	}
	.client-head {
		margin-bottom: 20px !important;
	}

	.schedule-consultation-text {
		margin-bottom: 50px !important;
		font-size: 22px;
		margin-top: 12px;
	}
	.schedule-consultation-first-head {
		font-size: 28px;
	}
	.ft-31 {
		margin-bottom: 20px !important;
	}
	.prac-area h2 {
		padding-left: 0px;
		margin-bottom: 20px !important;
	}
	.schedule-consultation.pd-80 {
		padding: 60px 0px;
	}
	.schedule-consultation-sec-head {
		font-size: 31px;
		line-height: normal !important;
		margin-bottom: 20px !important;
	}
	.schedule-consultation-btn .wp-block-button__link {
		font-size: 21px;
		padding: 6px 30px;
	}
	.schedule-consultation-text {
		margin-bottom: 60px !important;
	}
	.schedule-consultation-first-head {
		padding-left: 0px !important;
		line-height: normal;
		font-size: 25px !important;
		margin-bottom: 30px !important;
	}
	.schedule-consultation .wp-block-group__inner-container {
		padding-left: 20px;
	}
	.news-event.pd-80 {
		padding: 60px 0;
	}
	.client-gp.pd-80 {
		padding: 60px 0px;
	}
	.why-choos-sec {
		padding: 60px 0px 60px !important;
	}
	.prac-area.pd-80 {
		padding: 60px 0px 60px;
	}
	.form-sec.pd-80 {
		padding: 60px 0px !important;
	}
	.logo-sec.pd-80 {
		padding-bottom: 60px;
		padding-top: 60px;
	}
	.news-event-p {
		font-size: 20px !important;
		margin-bottom: 32px !important;
		line-height: normal !important;
	}
	.logosonhomepage {
		gap: 20px;
	}
	body .staff-profile-main {
		grid-template-columns: repeat(2, auto) !important;
	}
	.client-p {
		font-size: 20px !important;
		margin-bottom: 32px !important;
	}
	body .staff-profile-main {
		gap: 20px 40px;
		justify-content: space-evenly;
	}

	.form-sec .gform-theme--foundation .gfield--width-quarter {
		grid-column: span 6;
	}

	.pract-text {
		margin-bottom: 60px !important;
	}

	.why-choos-sec .mg-bt {
		margin-bottom: 50px;
	}

	.inner-home-sec4.pd-80 {
		padding: 40px 40px !important;
	}
	.choose-sec .wp-block-column  {
		flex-basis: 50% !important;
	}

	.prac-area .block-realitive img {
		width: 100%;
	}
	.prac-area .wp-block-columns {
		grid-template-columns: repeat(2, auto) !important;
	}
	/* 	Our Practice Areas End */

	body .home-page-banner-slider .cover-head-p {
		font-size: 26.57px !important;
	}
	body .home-page-banner-slider p strong {
		font-size: 40px !important;
	}
	body .home-page-banner-slider 	.wp-block-column {
		gap: 0;
	}
	body .home-page-banner-slider .wp-block-columns {
		padding: 0 20px;
	}
	body .home-page-banner-slider p strong {
		line-height: normal;
	}
	body.author .author-posts {
		grid-template-columns: repeat(2, 1fr);
	}
	body .staff-profile-main .staff-item {
		flex-basis: 30.8%;
	}
	body .attend-seminar-sec {
		padding: 60px 0;
	}
	body .attend-seminar-sec h2.subhead {
		line-height: 35px;
		font-size: 24px !important;
		padding-bottom: 10px;
	}
	body .attend-seminar-sec h2.head {
		font-size: 32px !important;
		padding-bottom: 10px;
	}
	body .attend-seminar-sec p.after-head-text {
		font-size: 25px;
		padding-bottom: 20px;
		line-height: 38px;
	}
	body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column {
		flex-basis: 15% !important;
	}
	.wp-block-group.logo-sec.pd-80
	{
		padding-top: 30px;
	}
}
@media only screen and (max-width: 992px) {
	.has-sidebar .has-boxed-children .content {
		margin-bottom: 50px;
	}
	.content-sidebar .site-inner {
		padding-left: 20px;
		padding-right: 20px;
	}
	body.blog .content-sidebar-wrap .entry.boxed, 
	body.category .content-sidebar-wrap .entry.boxed 
	{
		padding:20px !important;
	}
	/* 	.content-sidebar-wrap .entry.boxed {
	padding: 0 !important;
} */
	.sidebar {
		max-width: 374px;
		width: 100%;
		margin: 0 auto;
	}

	body.single-staff_profile aside#genesis-sidebar-primary {
		clear: both;
	}
}
@media only screen and (max-width: 960px) {

	.gform-theme--foundation .gform_fields {
		row-gap: 13px;
		display: flex;
		flex-direction: column;
	}


	body.review-page .gform-theme--foundation .gform_fields{
		display:grid;
	}
	body.review-page .gform-theme--foundation#gform_wrapper_6 .gfield--width-quarter {
		grid-column: span 6 !important;
	}
	body.review-page .entry.boxed{
		padding:0px;
	}
}
@media only screen and (max-width: 951px) {
	.footer-widgets .row.gutter-xl {
		justify-content: start;
	}
	.widget-area.footer-widgets-2 {
		padding-top: 20px;
	}
	.footer-widgets .row.gutter-xl .footer-widget-area {
		width: 100%;
		max-width: 44% !important;
		margin-left: 24px !important;
		margin-right: 24px !important;
	}
	body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column:nth-child(6) {
		flex-basis: 12% !important;
	}
}

@media only screen and (max-width: 820px)
{
	body .header-before .widget-area {
		flex-wrap: wrap;
		justify-content: center;
	}
	body .header-before .widget_search {
		width: 100%;
		border: 2px solid #a08b7e;
		max-width: 300px;
		flex-basis: 100%;
	}
}
@media only screen and (max-width: 801px) {
	body .logosonhomepage img {
		margin: 0 auto;
		display: block;
	}

	.logosonhomepage {
		flex-wrap: wrap !important;
		justify-content: center;
		row-gap: 30px;
	}
	.logosonhomepage .wp-block-column {
		max-width: 22% !important;
	}
	.footer-widgets .row.gutter-xl .footer-widget-area {
		max-width: 43% !important;
		margin-left: 0px !important;
		margin-right: 0px !important;
	}
	.footer-widgets .row.gutter-xl {
		justify-content: space-between;
		padding: 0px 20px;
	}
}
@media only screen and (max-width: 960px) and (min-width: 769px) {
	.mai-toggle {
		padding-top: 10px !important;
	}
}
@media only screen and (max-width: 781px) {
	body .staffProfiles-container {
		gap: 20px !important;
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.wp-block-cgb-block-medicad-calculator {
		padding: 0 !important;
	}
}
@media only screen and (max-width: 768px) {
	body .entry-content .popup-form .button.gform_button {
		font-size: 20px !important;
	}
	.footer-widgets-4 #gform_widget-2 div#gform_wrapper_2 {
		max-width: 100%;
	}
	.footer-widgets-2 .widget-title {
		margin-bottom: 12px;
	}
	p.new-text {
		line-height: 31px;
	}

	.footer-widgets .widget-title, .footer-widgets .widgettitle {
		line-height: 31px !important;
	}
	.footer-widgets-4 #gform_widget-2 div#gform_wrapper_2 {
		margin-top: 0;
	}
	h2 {
		font-size: 26px !important;
	}
	h3 {
		font-size: 23px !important;
	}

	.form-sec .subhead {
		font-size: 18px;
	}
	.schedule-consultation-first-head {
		font-size: 21px !important;
		margin-bottom: 18px !important;
		line-height: normal !important;
	}
	.site-header>.wrap {
		margin-top: 20px;
	}
	.news-event h2 {
		margin-bottom: 20px !important;
	}
	h1.banner-title {
		font-size: 28px !important;
	}
	.client-p {
		line-height: normal !important;
	}
	body .staff-item .more-link {
		margin-top: 15px;
	}
	body .staff-name {
		margin: 10px 0px 15px;
	}
	.prac-area .wp-block-columns {
		grid-template-columns: repeat(1, auto) !important;
	}


	.site-header .site-header-row {
		gap: 0px;
	}
	.site-header>.wrap {
		padding-bottom: 0px;
		padding-left: 20px !important;
	}
	.mai-menu-inner {
		padding: 24px 24px 24px;
	}
	.header-cta-btn {
		margin-top: 15px;
	}


	.footer-widgets .row.gutter-xl {
		margin: 0;
	}
	body .staff-title {
		width: 100%;
		max-width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
	.homebanner-sec-inner-set {
		gap: 10px;
	}

	.site-footer .menu {
		gap: 10px 20px;
		padding-left: 20px;
	}
	p.cover-head-p {
		line-height: normal;
		font-size: 20px !important;
	}
	footer.site-footer.text-sm p {
		font-size: 14px;
	}
	.site-footer .menu-item a {
		padding: 0px 14px;
		font-size: 16px;
		line-height: normal;

	}
	.footer-widgets>.wrap {
		padding: 40px 20px 0; 
	}
	.footer-widgets-3 .wpseo-opening-hours-wrapper {
		width: 100%;
		max-width: 350px;
	}
	/* 	.footer-widgets .row.gutter-xl .footer-widget-area {
	max-width: 98% !important;
	margin-left: 0px !important;
	margin-right: 0px !important;
} */
	body .footer-widgets-4 div#gform_fields_2 {
		width: 100%;
	}
	body .homebanner-sec .wp-block-button__link {
		padding: 6px 20px;
		font-size: 18px;
	}
	.homebanner-sec {
		min-height: 520px !important;
	}
	.homebanner-sec-inner-set h1 {
		font-size: 36px;
		line-height: 42px;
	}
	.client-head {
		font-size: 31px;
	}
	.item.wp-blog-post-box {
		margin-left: auto;
		margin-right: auto;
	}

	.ft-31 {
		font-size: 31px;
		line-height: 33px !important;
		padding-bottom: 0 !important;
	}
	.pract-text {
		margin-bottom: 48px !important;
		font-size: 18px !important;
		line-height: normal !important;
	}
	.prac-area h2 {
		font-size: 31px;
	}
	.schedule-consultation-text {
		font-size: 18px !important;
		line-height: normal;
	}
	.choose-sec .wp-block-column figure img {
		height: auto !important;
		display: block;
		margin: 0 auto;
		margin-bottom: 30px;
	}
	.prac-area-p {

		line-height: normal !important;
	}
	.why-choos-sec .mg-bt {
		margin-bottom: 20px;
	}

	.prac-area .wp-block-columns {
		column-gap: 10px;
		row-gap: 20px;
	}

	.inner-home-sec4.pd-80 {
		padding: 40px 20px !important;
	}
	.choose-sec {
		gap: 10px;
	}
	.inner-home-sec4 p {
		margin-bottom: 30px !important;
		letter-spacing: 0.2px;
	}
	.site-footer .menu {
		padding-top: 13px;
		padding-bottom: 20px;
	}
	body.author .author-posts {
		grid-template-columns: repeat(1, 1fr);
	}
	.schedule-consultation-btn .wp-block-button__link {
		font-size: 15px;
		padding: 6px 10px;
		line-height: 26px;
	}
	.footer-widgets .row.gutter-xl {
		justify-content: space-between;
		padding: 0px;
	}
	.footer-widgets .row.gutter-xl .footer-widget-area {
		max-width: 47% !important;
	}
	body .footer-widgets .row.gutter-xl .footer-widget-area    h3 {
		font-size: 19px !important;
	}
	body:not(.home).page-template-default h2.faq-question {
		font-size: 22px !important;
	}
}

@media only screen and (max-width: 767px)
{
	.wp-block-button__link, .button, .gform_button {
		font-size: 20px;
	}
	body .home-page-banner-slider  .item {
		min-height: 400px;
		height: 400px;
	}

	body .home-page-banner-slider .wp-block-columns{
		position:static;
		background: #00214b;
		padding: 50px 20px;
		text-align:center;
	}
	body .home-page-banner-slider p strong {
		font-size: 34px !important;
	}
	body .home-page-banner-slider 	.wp-block-button__link {
		padding: 12px 30px;
		font-size: 17px;
		line-height: normal;
	}
	body .home-page-banner-slider  .wp-block-buttons{
		justify-content:center;
	}
	body .home-page-banner-slider p.head {
		margin-bottom: 10px;
	}
	body .home-page-banner-slider.load-remove-2 .wp-block-columns {
		display: none;
	}
	.load-remove-2 .wp-block-group__inner-container {
		min-height: 400px;
		height: 400px;
	}
	.load-remove.home-page-banner-slider {
		display: block;
	}
	/* 	body .load-remove.home-page-banner-slider .owl-carousel.owl-carousel-banner{
	display:none;
	position: relative;
	top: 0;
} */
}
@media only screen and (max-width: 640px) {
	.form-sec .gform-theme--foundation .gfield--width-quarter {
		grid-column: span 12;
	}
	body .staff-profile-main {
		justify-content:center;
	}
	body .staff-profile-main .staff-item {
		flex-basis: 100%;
	}
	body.review-page .gform-theme--foundation#gform_wrapper_6 .gfield--width-quarter {
		grid-column: span 12 !important;
	}
	body .staffProfiles-container {
		grid-template-columns: repeat(1, auto) !important;
	}
	body.page-template-StaffArchivePageTemplate .singleStaff-holder {
		max-width: 370px;
	}
	body h2.staff-category-title {
		padding: 15px;
		text-align: center;
	}
}


@media only screen and (max-width: 600px) {
	.logosonhomepage {
		row-gap: 40px;
		justify-content: space-around;
	}
	.logosonhomepage a {
		display: block;
		margin: 0 auto;
	}
	.logosonhomepage .wp-block-column {
		max-width: 31% !important;
	}
	body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column {
		width: 26%;
		flex-basis: 47% !important;
	}
	.logo-sec.pd-80 {
		padding-bottom: 40px;
		padding-top: 0px;
	}
	.footer-widgets .row.gutter-xl .footer-widget-area {
		max-width: 100% !important;
	}
	.widget-area.footer-widgets-2 {
		padding-top: 10px;
	}
	body span.wpe-detail-button, .wpe-detail-button, .wpe-button {
		padding: 6px 20px;
		font-size: 20px;
		line-height: 40px;
	}

	body .wpe-col-inner {
		padding: 12px;
	}
	body .wpe-divider {
		margin: 20px auto !important;
		border-top: 1px solid #333;
	}
	body .wpe-col-dd {
		padding: 3px 10px;
		background: #a08b7e !important;
		box-shadow: 0 0 10px rgb(0 0 0 / 10%);
		color: #fff;
		width: 30%;
		display: flex;
	}
	body .wpe-row{display:block;border: 2px solid #a08b7e;}
	body .wpe-col-dd .wpe-col-date {
		font-size: 18px;
		font-weight: 700;
		margin-left:5px;
	}
	body .wpe-col-inner {
		padding: 12px;
	}
	.wpe-col-event .wpe-title {
		font-size: 24px;
	}
	body .wpe-event .entry-title a {
		font-size: 24px !important;
	}
	body.single-post p:has(img){
		display: inline-grid;
	}
	body.single-post p.entry-meta {
		font-size: 10px;
	}
	body.page-id-29453 .wpe-archive-buttons .wpe-archive-description span.wpe-detail-button {
		padding: 6px 35px 6px 15px;
	}
	body.page-id-29453  .wpevents-container {
		padding: 10px 0px;
	}
	body .logo-sec .logosonhomepage img {
		width: 130px !important;
	}
	body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column {
		width: 10%;
		flex-basis: 25% !important;
	}
	.wpseo-extra-comment table#wpseo-opening-hours{
		width:100%;
		max-width:100%;
	}
	.wpseo-extra-comment td.day {
		width: 142px;
	}
	.wpseo-extra-comment {
		width: 100%;
		max-width: 350px;
	}
	body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column:nth-child(5) {
		flex-basis: 26% !important;
	}
	body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column:nth-child(6) {
		flex-basis: 25% !important;
	}
	body.postid-33107 .staff-profile-wrapper .single-staffImg {
		float: none;
	}
}

@media only screen and (max-width: 544px){
	body.blog .entry-image-after-title img.alignleft {
		width: 100%;
		height: 100%;
		object-fit: cover;
		margin-bottom: 20px;
	}
	body.category .entry-image-after-title img.entry-image {
		width: 100%;
		height: 100%;
	}
	.wp-block-group.logo-sec.pd-80 {
		padding-top: 20px;
	}
	body .logo-sec .logosonhomepage img {
		width: 140px !important;
		height: auto !important;
	}
	body .logo-sec .logosonhomepage .three-best-logo img{
		width: 100% !important;
	}
	body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column {
		width: 10%;
		flex-basis: 35% !important;
	}
	body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column.three-best-logo {
		flex-basis: 35% !important;
		width: 100% !important;
		max-width: auto !important;
	}
	body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column:nth-child(5) {
		flex-basis: 35% !important;
	}
	body .logo-sec .wp-block-columns.logosonhomepage .wp-block-column:nth-child(6) {
		flex-basis: 35% !important;
	}

}
@media only screen and (max-width: 520px) {

	.single-staff_profile .single-staffImg {
		display: block !important;
		width: 100%;
		max-width: 100%;
		text-align: center;
	}
	.header-before .widget-area {
		flex-direction: column;
		gap: 15px;
		margin-bottom: 9px;
	}
	.header-before {
		padding: 18px 16px 9px;
	}
	div#gform_fields_2 {
		width: 100% !important;
	}
	.single-staff_profile .single-staffImg {
		height: 100%;
	}
	body .header-before input.search-form-submit {
		height: 30px;
		width: 38px;
	}
	body .header-before input.search-form-submit:focus{
		height: 30px;
		width: 38px;
		top:0px;
		right:-3px;
		background-size:32%;
	}
	body .header-before .search-form-input {
		padding-right: 38px !important;
		height: 28px;
		padding: 10px;
	}
}

@media only screen and (max-width: 450px) {
	.owl-carousel-banner.jsClass .item img {
		display: none !important;
	}
	body .home-page-banner-slider .jsClass .item {
		min-height: auto;
		height: AUTO;
	}
	.owl-carousel-banner.jsClass .item:first-child img {
		display: block !important;
	}
	.mobile-menu {
		margin-left: 0px !important;
	}
	.logosonhomepage {
		row-gap: 35px;
		justify-content: space-around;
	}
	.logosonhomepage .wp-block-column {
		max-width: 100% !important;
	}
	/* 	body .logo-sec .logosonhomepage img {
	width: 120px !important;
	height: 120px !important;
} */
	.sidebar.sidebar-primary .wpseo-extra-comment table#wpseo-opening-hours {
		width: 97%;
	}
	.wpseo-extra-comment table#wpseo-opening-hours
	{
		border: none;
		width: 100%;
	}
}