/*
Theme Name: MBF PC
Description: The original MBF PC theme.
Version: 1
Author: MBF PC
*/

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
max-width: 100%; 
height: auto; 
}
.alignleft,
img.alignleft {
display: inline;
float: left;
margin-right: 24px;
margin-top: 4px;
}
.alignright,
img.alignright {
display: inline;
float: right;
margin-left: 24px;
margin-top: 4px;
}
.aligncenter,
img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
margin-bottom: 0;
}
.wp-caption {
background: #f1f1f1;
line-height: 18px;
margin-bottom: 20px;
max-width: 632px !important; 
text-align: center;
}
.wp-caption img {
margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
color: #888;
font-size: 12px;
margin: 5px;
}
.wp-smiley {
margin: 0;
}
.gallery {
margin: 0 auto 18px;
}
.gallery .gallery-item {
float: left;
margin-top: 0;
text-align: center;
width: 33%;
}
.gallery-columns-2 .gallery-item {
width: 50%;
}
.gallery-columns-4 .gallery-item {
width: 25%;
}
.gallery img {
border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
max-width: 92%;
height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
max-width: 84%;
height: auto;
}
.gallery .gallery-caption {
color: #888;
font-size: 12px;
margin: 0 0 12px;
}
.gallery dl {
margin: 0;
}
.gallery img {
border: 10px solid #f1f1f1;
}
.gallery br+br {
display: none;
}
#content .attachment img {
margin: 0 auto;
}
.content ul, .content ol{margin:20px 0;}
.content ul li, .content ol li{margin:8px 0 8px 20px; line-height:26px;}
input[type="text"], input[type="email"], input[type="tel"], textarea {
	border: 2px solid #cccccc;
	padding: 15px !important;
	background: #ffffff;
	color: #000000;
	font-family: 'Raleway', sans-serif;
	margin: 0 !important;
	transition: all 0.5s;
}
input[type="text"]:hover, input[type="email"]:hover, textarea:hover {
	background: #eeeeee;
}
input[type="submit"], a.readmore {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 999px;
	font-size: 0.95rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-weight: 500;
	background: var(--accent-gradient);
	color: var(--brand-primary);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
input[type="submit"]:hover, a.readmore:hover {
  transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

:root {
  --brand-primary: #2b394d;
  --brand-light: #eaeeef;
  --brand-secondary: #9dabb5;
  --brand-accent: #ecb83d;
  --brand-accent-soft: #f7d29c;
  --accent-gradient: linear-gradient(
    135deg,
    var(--brand-accent),
    var(--brand-accent-soft)
  );
  --text-on-dark: #f7f8f9;
}


*{
padding:0;
margin:0;
box-sizing: border-box;
}

body.mceContentBody{
background:none;
color:#000000;
}

body,table{
font-size:17px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  color: var(--brand-primary);
}

img, fieldset{
border:0;
}

table {
	width: 100%;
	border-collapse: collapse;
}
p{
line-height:28px; 
margin-bottom:25px;
}
a{
outline:none;
text-decoration:none;
color:#2A394C;
transition: all 0.5s;
}
a:hover{
color:#2F2A2D;
}

h1{
font-family: "Warbler Display", "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
	font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  line-height: 1.2;
  margin: 0 0 24px;
}
h2{
	font-family: "Warbler Display", "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin: 0 0 16px;
}
h3{
	font-family: "Warbler Display", "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
	margin: 0 0 12px;
	font-size: 1.6rem;
	line-height: 1.35;
}
h4{
	font-family: "Warbler Display", "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
font-size:20px; 
font-weight:600;
margin-bottom:10px;
}
.clear{
clear:both;
}

.admin-bar header{
	margin-top:32px;
}

.wrapper{
width:90%;
margin:0 auto;
max-width:1920px;
}
.logo {
	float: left;
	width: 250px;
	margin-right: 15px;
	padding: 10px 0;
}
.nav {
	float: right;
	margin-top: 25px;
}
.button {
	float: right;
	margin: 20px 0 0 20px;
}
.button p {
	margin: 0;
}
.banner {
	padding: 80px 0;
	position: relative;
}
.banner .moduletable {
	width: 50%;
	color: #ffffff;
}
.header {
	z-index: 9999;
	position: relative;
}
.hero {
	background-size: cover;
	position: relative;
	min-height: auto;
	background: url(images/hero-boardroom.png) 50% 20% no-repeat;
}
.home .hero{
	min-height: 82vh;
	background: url(images/hero-boardroom.png) 50% 50% no-repeat;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient( 90deg, rgba(43, 57, 77, 0.92) 0%, rgba(43, 57, 77, 0.75) 50%, rgba(43, 57, 77, 0.35) 100% );
}
header {
	width: 100%;
	height: 105px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	-ms-transition: height 0.3s;
	-o-transition: height 0.3s;
	transition: height 0.3s;
}
.logo, .header, .nav, .number {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.headerheight {
    height: 105px;
}
header.smaller {
	height: 105px;
	background: #2A394C;
}
.blogsmain {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}
.blogsmain .post {
	width: 32%;
	margin: 0 1% 20px 0;
	background: #E9E3E7;
	padding: 20px;
	box-sizing: border-box;
}
.blogsmain .post:nth-child(odd) {
	background: #EEEEEE;
}
.post-meta > div {
	display: inline-block;
	margin: 0 5px 0 0;
}
.post-meta {
	margin-bottom: 20px;
	line-height: 28px;
}
.blogsmain .eb-post-category.comma-seperator {
	width: 100%;
}
.blogsmain h2.storytitle {
	font-size: 20px;
	text-transform: uppercase;
}

.imageborder {
	position: relative;
	background: #fff;
}
.imageborder img{
	width:100%;
}
.imageborder::after {
	content: "";
	position: absolute;
	inset: 20px;
	border: 4px solid transparent;
	border-image: var(--accent-gradient) 1;
	pointer-events: none;
}
.bottom {
	background: #EAEEEF;
	padding: 50px 0;
}
.bottomarea {
	display: flex;
	flex-wrap: wrap;
}
.bottomarea .moduletable {
	width: 33%;
	border-left: 1px solid #9dabb5;
	padding: 0 60px;
	text-align: center;
}
.bottomarea .moduletable.text-3 {
	border: 0;
}
.bottomarea img {
	max-width: 80px;
}
.bottombutton {
	margin-top: 50px;
	text-align: center;
}
.content {
  flex: 1; /* Expands to fill empty space */
}
body {
	background: #EAEEEF;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
.content {
	padding: 50px 0;
	background: #EAEEEF;
}
.titleblock {
	z-index: 9999;
	color: #ffffff;
	text-align: center;
	padding: 15px 0;
	position: relative;
}
.attorneylist, .practicelist {
	display: flex;
	flex-wrap: wrap;
}
.attorneylist .teammember, .practicelist .indpractice {
	width: 29%;
	background: #fff;
	padding: 25px;
	border: 2px solid #D9DEE1;
	margin: 2%;
	box-sizing: border-box;
}
.practicelist .indpractice{
	width: 46%;
}
.indpracticeinner {
	background: #2A394C;
	color: #ffffff;
	text-align: center;
	padding: 30px 30px 70px;
	height: 100%;
	position: relative;
}
.indpractice a.readmore {
	position: absolute;
	bottom: 25px;
	left: 40%;
}
.indpracticeinner h3 a{
	color: #ffffff;
}
.teammember img {
	width: 100%;
	display: block;
}
.teammemberinner {
	display: block;
	position: relative;
}
.attorneytitle {
	position: absolute;
	bottom: 0;
	z-index: 999;
	background: rgba(42, 57, 76, 0.8);
	display: block;
	width: 100%;
	text-align: center;
	padding: 10px 5px;
	color: #ffffff;
	font-family: "Warbler Display", "Playfair Display", "Times New Roman", serif;
	font-size: 21px;
	font-weight: bold;
}
.attorneytitle small {
	color: #eebc4c;
	font-weight: normal;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.attorneyleft {
	float: left;
}
.attorneyleft small {
	text-transform: uppercase;
	font-size: 20px;
}
.attorneyleft h1{
	margin-bottom:5px;
}
.attorneyright {
	float: right;
	font-size: 18px;
	line-height: 32px;
}
.attorneybio {
	float: left;
	width: 70%;
}
.attorneyimage {
	position: relative;
	background: #fff;
	float: right;
	width: 25%;
}
.attorneyimage::after {
	content: "";
	position: absolute;
	inset: 20px;
	border: 4px solid transparent;
	border-image: var(--accent-gradient) 1;
	pointer-events: none;
}
.attorneyimage img {
	width: 100%;
}
.attorneybio .su-tabs-nav span {
	font-size: 16px;
	background: #ffffff;
}
.attorneybio .su-tabs-nav span:hover, .attorneybio .su-tabs-nav span.su-tabs-current {
	background: var(--accent-gradient);
}
.attorneybio .su-tabs-pane {
	padding: 40px 0 0 0;
	background: transparent;
	font-size: 17px;
	line-height: 26px;
}
.attorneybio .su-tabs {
	margin: 40px 0 0;
}
.footer {
	background: #2A394C;
	color: #ffffff;
	padding: 40px 0;
}
.footerleft {
	float: left;
	width: 50%;
	display: flex;
	flex-wrap: wrap;
	line-height: 30px;
}
.footerleft .moduletable {
	margin: 0 auto 0 0;
}
.footerright img {
	width: 320px;
	float: left;
	margin-right: 20px;
}
.footerright a{
	color:#ffffff;
}
.footerright {
	float: right;
	width: 50%;
}
.su-column.su-column-size-1-2.whitebg {
	background: #ffffff;
	padding: 25px;
}
.gform_heading {
	margin-bottom: 20px;
}
.content .su-table table td {
	padding: 5px !important;
	border: 0 !important;
	background: none !important;
	vertical-align: top;
	line-height: 30px;
}
.content .su-table table {
	border: 0 !important;
}

img{
max-width:100%;
height:auto;
}

@media all and (max-width: 1340px){
h1 {
	font-size: 50px;
}
}
@media all and (max-width: 1120px){
.nav {
	margin-top: 5px;
}
.button {
	margin: 5px 0 0 20px;
}
.bottomarea .moduletable {
	padding: 0 30px;
}
	.footerleft {
	float: none;
	width: 100%;
}
	.footerright {
	float: none;
	width: 100%;
	text-align: center;
}
}

@media all and (max-width: 1020px){
h1 {
	font-size: 45px;
}
.button {
	margin: 20px 0 0 20px;
}
.nav {
	margin-top: 25px;
}
		.attorneybio {
	float: none;
	width: 100%;
}
.attorneyimage {
	float: none;
	width: 100%;
	margin: 20px auto 0;
	max-width: 480px;
}
.content .attorneyimage {
	display: block !important;
}
}
@media all and (max-width: 767px){
h1 {
	font-size: 40px;
}
.practicelist .indpractice {
	width: 100%;
	margin: 0 0 10px;
}
	.bottomarea .moduletable {
	width: 100%;
	border-left: 0;
}
	.footerleft {
	float: none;
	width: 100%;
	display: block;
	margin-bottom: 30px;
	text-align: center;
}
	.footerright img {
	width: 320px;
	float: none;
	margin-right: 0;
	display: block;
	margin: 0 auto 20px;
}
.logo {
	width: 200px;
}
.attorneyleft {
	float: none;
}
	.attorneyright {
	float: none;
	margin-top: 10px;
}
.page-id-22 .su-table table td {
	display: block;
}
.indpractice a.readmore {
	left: 35%;
}
}
@media all and (max-width: 500px){
h1 {
	font-size: 30px;
}
.banner .moduletable {
	width: 100%;
}
	header {
	height: auto;
	position: relative;
}
	.admin-bar header {
	margin-top: 0;
}
	.headerheight {
	height: auto;
}
	.logo {
	float: none;
	margin: 0 auto;
}
	.nav {
	float: left;
}
body {
	overflow-x: hidden;
}
}