/* Subpage styling goes here. Excluded on homepage */

/*
SUBPAGE STRUCTURE
BLOG
TEMPLATES
*/

/*******************************************************************************************
SUBPAGE STRUCTURE - Banner and sidebar elements
*******************************************************************************************/
.banner {
	height: 225px;
	margin-top: 65px;
	position: relative;
	background-size: cover;
	background-repeat: no-repeat;
	background-position-x: 50%;
}

.banner:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(20, 23, 47, 0.1);
	pointer-events: none;
}

.single-attorneys .banner {
	height: auto;
	padding: 40px 0;
}

.single-attorneys .sidebar-inner .fas{
	color:#fff;
}

.single-attorneys .sidebar-inner a{
	color:#fff;
}
.single-attorneys .sidebar-inner a:hover{
	color:#73a8d4;
}

.single-attorneys section.sidebar-block{
	background:#1D405E;
}

.single-attorneys section.sidebar-block p {
    margin-bottom: 15px;
}

.banner img {
	position: relative;
	width: 100%;
}

.banner>.row {
	height: 100%;
}

.banner-inner {
	position: relative;
	z-index: 1;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-align-items: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	height: 100%;
	float: none;
}

.banner-title {
	font-size: 2.5rem;
	color: #fff;
	margin-bottom: 0;
	text-align: center;
	font-family: var(--heading-font-family);
	text-shadow: 0 0 5px #000, 0 0 10px #000;
}

@media screen and (max-width:767px){
	.banner img {margin-bottom:-40px;}
}

@media screen and (min-width: 768px) {
	
	.banner-title {
		font-size: 3.5rem;
	}
}

@media screen and (min-width: 1025px) {
	.banner {
		height: 350px;
		
	}
}

@media screen and (max-height: 700px) and (min-width: 1025px) {
	.banner {
		height: 350px;
	}
}

.search-form {
	display: flex;
	position: relative;
}

.search-form button {
	margin-left: 10px;
	height: 45px;
	width: 45px;
	font-size: 1.1rem;
	padding: 0 12px;
}

/*******************************************************************************************
BLOG - Posts, search results, and pagination
*******************************************************************************************/
.post {
	margin-bottom: 50px;
	padding-bottom: 50px;
	border-bottom: 2px solid #3a81bb;
}

.post:last-child {
	border: none;
	padding-bottom: 0;
}

.post-head h1,
.post-head h2 {
	font-size: 1.6rem;
	margin-bottom: 12px;
	padding: 0;
	border: 0;
	color:#4d4d4d;
}

.post-head,
.post-body {
	margin-bottom: 30px;
}

.post-body {
	display: block;
}

.single-post .post-body {
	display: block;
}

.post-head-info {
	line-height: 1.3;
}

.post-head-info span,
.post-head-info a {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 0;
}

.post-head-info i {
	margin: 0 5px;
}

.post-head-info a:hover,
.post-head-info a:focus {
	color: #000;
}

.post-head-info span {
	margin-bottom: 0;
}

.post-head-info span:not(:last-of-type):after {
	width: 1px;
	height: 12px;
	background: #0F8577;
	content: '';
	display: inline-block;
	margin: 0 6px 0 12px;
	position: relative;
	top: 2px;
}

.post-body-image img {
	max-width: 100%;
}

.post-body-image {
	margin-bottom: 8px;
}

img.alignright {
	float: right;
	margin: 0 0 30px 30px;
}

img.alignleft {
	float: right;
	margin: 0 30px 30px 0;
}

.page-id-997 img.alignleft {
    float: right;
    margin: 0 30px 30px 0;
    margin-left: 30px;
}

.post-body-excerpt {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.post-body-excerpt p:last-of-type {
	margin-bottom: 0;
}

.post-bottom {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	-ms-align-items: center;
	align-items: center;
}

.post-bottom-share {
	color: #4d4d4d;
	font-weight: 600;
}

@media screen and (min-width: 1025px) {
	.post-body {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
	}

	.post-body-image {
		margin: 0 0 0 30px;
	}
}

/* BLOG > Page Navigation */
.wp-pagenavi {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.wp-pagenavi a,
.wp-pagenavi span {
	font-weight: 600;
	text-decoration: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	margin: 0;
	display: block;
	background: #14172F;
	color: #fff;
	margin-right: 10px;
}

.wp-pagenavi span.current {
	color: #fff;
	background-color: #E80924;
}

.wp-pagenavi a:hover,
.wp-pagenavi a:focus {
	background: #C0C3D3;
	color: #14172F;
}

.wp-pagenavi span.pages,
.wp-pagenavi span.extend {
	display: none;
}

.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink,
.wp-pagenavi .first,
.wp-pagenavi .last {
	width: auto;
	color: #E80924;
	background: none;
	padding: 0 15px;
	border-radius: 0;
}

.wp-pagenavi .nextpostslink:hover,
.wp-pagenavi .nextpostslink:focus,
.wp-pagenavi .previouspostslink:hover,
.wp-pagenavi .previouspostslink:focus,
.wp-pagenavi .first:hover,
.wp-pagenavi .first:focus,
.wp-pagenavi .last:hover,
.wp-pagenavi .last:focus {
	background: none;
	color: #0F8577;
}

/*******************************************************************************************
TEMPLATES - Pre-built subpages
*******************************************************************************************/

/* TEMPLATES > Attorney Banner */
.attorney-banner-name h1 {
	font-size: 2.2rem;
	color: #fff;
	margin-bottom: 10px;
}

.attorney-banner-left {
	margin: 0 auto 20px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
	justify-content: center;
	height: auto;
}

.attorney-banner-left img {
	max-width: 300px;
}

.attorney-banner-right {
	margin: 0 auto;
	width: 100%;
	text-align: center;
}

.attorney-banner-phone-fax,
.attorney-banner-info p {
	margin-bottom: 15px;
}

.attorney-banner-info p,
.attorney-banner-info a {
	color: #fff;
	line-height: 1.0;
	font-size: 1.1rem;
}

.attorney-banner-info>p:last-child {
	margin: 0;
}

.attorney-banner-info .divider-span {
	display: none;
}

.attorney-banner-position {
	text-align:center;
	text-transform: uppercase;
	color: #fff;
}

/* TEMPLATES > Attorney Banner Template A */
.single-attorneys-template-a .attorney-banner-right {
	background-color: #3076a2;
	position: relative;
}

.single-attorneys-template-a .attorney-banner-left {
	-ms-align-self: flex-end;
	-ms-flex-item-align: end;
	align-self: flex-end;
	margin-bottom: 0;
}

.single-attorneys-template-a .attorney-banner-name,
.single-attorneys-template-a .attorney-banner-info {
	padding: 30px 45px;
}

.single-attorneys-template-a .attorney-banner-name {
	border-bottom: 1px solid #fff;
}

.single-attorneys-template-a .attorney-banner-name h1 {
	color: #fff;
	margin-bottom: 0;
	letter-spacing: 1px;
}

.single-attorneys-template-a .attorney-banner-info i {
	color: #fff;
}

/* TEMPLATES > Attorney Banner Template B */
.single-attorneys-template-b .attorney-banner-name {
	border-bottom: 1px solid #fff;
	padding-bottom: 25px;
	margin-bottom: 25px;
}

.single-attorneys-template-b .attorney-banner-left {
	background: white;
	background: linear-gradient(30deg, white 0%, #C0C3D3 100%);
	border: 2px solid #0F8577;
}

.single-attorneys-template-b .attorney-banner-info p,
.single-attorneys-template-b .attorney-banner-info a {
	font-size: 1.3rem;
}

.single-attorneys-template-b .vcard a {
	text-transform: uppercase;
	font-size: 0.9rem;
}

.single-attorneys-template-b .attorney-banner-info {
	margin-bottom: 30px;
}

.single-attorneys-template-b .attorney-banner-letter,
.single-attorneys-template-b .vcard i {
	display: inline-block;
	color: #0F8577;
}

.single-attorneys-template-b .vcard i {
	font-size: 75%;
}

.single-attorneys-template-b .attorney-banner-info span {
	display: none;
}

@media screen and (min-width: 900px) {
	.attorney-banner-flex-row {
		display: flex;
		align-items: center;
	}

	.attorney-banner-flex-row p {
		margin: 0 24px 0 0;
	}

	.attorney-banner-name h1 {
		font-size: 2.8rem;
	}

	.attorney-banner-left img {
		margin-top:30px;
		max-width: 350px;
		width: auto;
		
	}

	.attorney-banner-right {
		min-width: 50%;
		margin-left: 40px;
		text-align: left;
	}

	.single-attorneys .banner {
		height: auto;
		padding: 25px 0 0;
	}

	.single-attorneys .banner-inner {
		-webkit-flex-wrap: nowrap;
		-moz-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		-o-flex-wrap: nowrap;
		flex-wrap: nowrap;
	}

	.single-attorneys-template-b .attorney-banner-phone-fax p:first-of-type {
		margin-right: 15px;
	}
}

/* TEMPLATES > Attorney Template C */
.attorney-template-c-tabs {
	display: none;
}

.attorney-template-c-container {
	display: flex;
	flex-wrap: wrap;
	padding: 0 15px;
}

.single-attorneys-template-c main {
	background-size: cover;
	background-repeat: no-repeat;
	padding: 100px 0 0;
	background-image: url(../images/background_ceiling.jpg);
}

.attorney-template-c-contact h1 {
	margin-bottom: 10px;
}

.attorney-template-c-contact h2 {
	font-size: 1.2rem;
}

.mCSB_draggerRail,
.mCSB_scrollTools {
	background-color: #14172F !important;
	width: 3px !important;
}

.mCSB_dragger,
.mCSB_dragger_bar {
	background-color: #0F8577 !important;
	width: 4px !important;
}

.mCSB_scrollTools_vertical,
.mCSB_dragger {
	border-radius: 4px !important;
}

.attorney-template-c-content {
	background: #fff;
	order: 1;
	padding: 30px 15px;
	width: 100%;
}

.attorney-template-c-photo {
	order: 0;
	display: flex;
	align-items: flex-end;
	text-align: center;
	width: 100%;
	justify-content: center;
}

.attorney-template-c-photo img {
	max-width: 100%;
	width: auto;
	height: 400px;
}

@media screen and (min-width: 1025px) {
	.attorney-template-c-content-inner {
		max-height: 700px;
	}

	.single-attorneys-template-c main {
		padding-top: 180px;
	}

	.attorney-template-c-tabs {
		display: block;
		background: #0F8577;
	}

	.attorney-template-c-photo img {
		height: auto;
	}

	.attorney-template-c-container {
		flex-wrap: nowrap;
		justify-content: center;
	}

	.attorney-template-c-content.content {
		order: 0;
		max-width: 525px;
		align-self: flex-start;
		padding: 0;
	}

	.attorney-template-c-content-inner {
		padding: 35px 10px 35px 35px;
	}

	.attorney-template-c-photo {
		order: 1;
		width: auto;
		margin-left: 50px;
	}

	.attorney-template-c-content-inner .content-tab {
		padding: 0;
		margin: 0;
	}
}

/* TEMPLATES > Attorney Banner Template D */
.attorney-banner-large-left {
	order: 2;
}

.attorney-banner-large-right {
	order: 1;
	margin-bottom: 20px;
	width: 300px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	text-align: center;
	background: #E9F5F7;
}

.attorney-banner-large-name,
.attorney-banner-large-buttons,
.attorney-banner-large-info {
	margin-bottom: 35px;
}

.attorney-banner-large-info a,
.attorney-banner-large-info p {
	color: #fff;
}

.attorney-banner-large-info p {
	margin-bottom: 4px;
	font-size: 1.1rem;
}

.attorney-banner-large-right img {
	height: 300px;
	width: auto;
	max-width: 100%;
}

.attorney-bio-main-d {
	position: relative;
}

.attorney-banner-large-quote {
	position: relative;
	padding-left: 70px;
}

.attorney-banner-large-quote em {
	color: #fff;
	font-size: 1.1rem;
}

.attorney-banner-large-quote:before {
	position: absolute;
	left: 0;
	top: 6px;
	content: '';
	width: 45px;
	height: 39px;
	background-image: url(../images/quote_cutout.png);
	background-repeat: no-repeat;
}

.attorney-banner-large-buttons {
	display: flex;
	flex-wrap: wrap;
}

.attorney-banner-large-buttons a {
	padding: 0;
	width: 40px;
	height: 40px;
	margin-right: 12px;
	font-size: 1.3rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.content-tabs-anchor-links .content-tabs-row {
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	margin: 0;
	z-index: 1;
	background: rgba(15, 133, 119, 0.8)
}

.content-tabs-anchor-links .content-tabs-row button {
	background: none;
	color: #fff;
	min-height: 60px;
	margin: 0;
	position: relative;
	flex: 1;
}

.content-tabs-anchor-links .content-tabs-row button:hover,
.content-tabs-anchor-links .content-tabs-row button:focus {
	background: #14172F;
}

.content-tabs-anchor-links .content-tabs-row button:after {
	position: absolute;
	content: '';
	height: 14px;
	background: #fff;
	right: 0;
	top: calc(50% - 7px);
	width: 1px;
}

.content-tabs-anchor-links .content-tabs-row button i {
	display: none;
}

.content-tabs-anchor-links .content-tabs-row button.active {
	background: #fff;
	color: #0F8577;
}

.content-tabs-anchor-links .content-tabs-row button:hover:after,
.content-tabs-anchor-links .content-tabs-row button:focus:after,
.content-tabs-anchor-links .content-tabs-row button.active:after {
	display: none;
}

.single-attorneys-template-d .banner:before {
	display: none;
}

@media screen and (min-width: 900px) {
	.attorney-banner-large-left {
		order: 0;
		flex: 1;
		margin-right: 8%;
		align-self: center;
	}

	.attorney-banner-large-right {
		flex: 1;
		background: none;
		width: auto;
		margin: 0;
		align-self: flex-end;
	}

	.attorney-banner-large-right img {
		height: auto;
	}
}

/* TEMPLATES > Attorneys Landing */
.page-template-template-attorneys main {
	background: #eeeeee;
	padding-top: 150px;
}

.attorney-results {
	display: block;
	outline: none;
	padding-top:80px;
}

.attorney-result-single {
	padding: 0;
	background: #fff;
	display: flex;
	align-items: flex-end;
	position: relative;
	overflow: hidden;
	margin-bottom: 15px;
}

.attorney-results .attorney-result-single {
	width: 100%;
}

.attorney-result-single img {
	width: 100%;
	-webkit-transition: all 200ms ease-out;
	-moz-transition: all 200ms ease-out;
	-ms-transition: all 200ms ease-out;
	-o-transition: all 200ms ease-out;
	transition: all 200ms ease-out;
}

.attorney-result-single:hover img,
.attorney-result-single:focus img {
	-webkit-transform: scale(1.03);
	-ms-transform: scale(1.03);
	transform: scale(1.03);
}

.attorney-result-single .attorney-result-info {
	padding: 12px;
	background-color: #14172F;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	-webkit-transition: background 200ms ease-out;
	-o-transition: background 200ms ease-out;
	transition: background 200ms ease-out;
}

.attorney-result-info h2,
.attorney-result-info p {
	color: #fff;
	margin: 0;
}

.attorney-result-single:hover .attorney-result-info,
.attorney-result-single:focus .attorney-result-info {
	background: #E80924;
}

.attorney-result-single h2 {
	font-size: 1.3rem;
}

.attorney-result-info p {
	font-size: 0.9rem;
}

@media screen and (min-width: 550px) {
	.attorney-results {
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		-o-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}

	.attorney-results .attorney-result-single {
		width: 49%;
	}

	.attorney-results .attorney-result-single:nth-child(2n + 1) {
		margin-right: 2%;
	}
}

@media screen and (min-width: 900px) {
	.attorney-results .attorney-result-single {
		width: 32.3%;
		margin-right: 1%;
	}

	.attorney-results .attorney-result-single:nth-child(2n + 1) {
		margin-right: 1%;
	}

	.attorney-results .attorney-result-single:nth-child(3n + 3) {
		margin-right: 0;
	}
}

/* TEMPLATES > Attorney Search */
.attorney-search-results-bar {
	text-align: center;
	padding: 12px 0;
	margin-bottom: 40px;
	border-top: 1px solid #E9F5F7;
	border-bottom: 1px solid #E9F5F7;
}

.attorney-search-inner {
	padding: 60px 0;
}

.attorney-search-letters {
	margin-bottom: 40px;
}

.attorney-search-letters-single {
	display: inline-block;
	width: 30px;
	height: 30px;
	text-align: center;
}

span.attorney-search-letters-single {
	color: #C0C3D3;
}

@media screen and (min-width: 700px) {
	.attorney-search-form .form-input-row {
		display: flex;
	}

	.form-input-group:first-of-type {
		margin-right: 15px;
	}
}

@media screen and (min-width: 1025px) {
	.attorney-search-letters {
		display: flex;
		justify-content: space-between;
	}
}


/* TEMPLATES > Practices Landing */
.practice-box-list {
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
}

.practice-box {
	width: 100%;
	height: 90px;
	margin: 0 0 20px;
	padding: 0 15px;
	background: #265C7E;
	color: #fff;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	text-align: center;
	text-decoration: none;
	-webkit-transition: background 200ms ease-out;
	-o-transition: background 200ms ease-out;
	transition: background 200ms ease-out;
}

.practice-box:hover,
.practice-box:focus {
	background: #4394C7;
	
}

.practice-box span {
	margin: 0;
	font-size: 1.3rem;
	-ms-align-self: center;
	-ms-flex-item-align: center;
	-ms-grid-row-align: center;
	align-self: center;
	width: 100%;
	font-family: 'Reem Kufi', sans-serif;
    font-variant: small-caps;
}

.practice-box:focus span,
.practice-box:hover span {
	color: #fff;
}

@media screen and (min-width: 768px) {
	.practice-box {
		width: 46%;
		margin: 1%;
	}
}

/* TEMPLATES > Contact A */


.page-template-template-contact-a main {
	background-image: url(../images/hero_02.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	padding: 160px 0 80px;
	position: relative;
}

.contact-full-container {
	position: relative;
	display: flex;
	flex-wrap: wrap;
}

.contact-full-inner {
	width: 100%;
	background: #fff;
	padding: 40px 0;
}



@media screen and (min-width: 1025px) {
	.page-template-template-contact-a main {
		height: 100vh;
		padding: 0;
	}

	.contact-full-inner {
		padding: 40px;
	}

	.contact-full-content {
		padding-right: 15%;
	}

	.contact-full-container {
		align-items: center;
		/*height: 100vh;
		padding-top: 100px;*/
	}
}

@media screen and (max-height: 750px) and (min-width: 1025px) {

	.page-template-template-contact-a main,
	.contact-full-container {
		height: 100%;
	}

	.contact-full-container {
		padding: 0;
	}

	.page-template-template-contact-a main {
		padding: 160px 0 100px;
	}
}

/* TEMPLATES > Contact B */
.office-block {
	margin-bottom: 30px;
}

.office-block-image {
	width: 100%;
	height: 300px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position-x: 50%;
}

.office-block-info {
	background: #E9F5F7;
	position: relative;
	padding: 30px;
}

.office-block-info p {
	margin: 0;
}

.office-contact {
	margin-top: 30px;
}

.office-contact p {
	font-weight: 700;
}

.office-block-info-inner {
	width: 100%;
}

.office-contact-map {
	position: absolute;
	right: 0;
	bottom: 0;
}

@media screen and (min-width: 1025px) {
	.office-block {
		display: flex;
	}

	.office-block-image {
		display: flex;
		width: 250px;
		flex-basis: 250px;
		height: 250px;
	}

	.office-block-info {
		flex: 1;
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}
}

/* TEMPLATES > Attorney Bios */
.content-tabs-row {
	display: none;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.content-tabs-row-inner {
	display: flex;
}

.content-tabs-row .content-tab-activate {
	margin-right: 10px;
}

.content-tab-activate:last-of-type {
	margin-right: 0;
}

.content-tab-activate.active {
	background: #14172F;
	pointer-events: none;
}

.content-tab {
	display: none;
	margin-bottom: 50px;
}

.content-tab.active {
	-webkit-animation: fadeIn 200ms ease-out;
	animation: fadeIn 200ms ease-out;
}

.content-tab.active,
.content-tabs-anchor-links .content-tab {
	display: block;
}

.content-tabs-anchor-links .mobile-tab {
	display: none;
}

.content-tabs-select {
	margin: 0 auto 30px;
	display: none;
}

.content-tabs-anchor-links .content-tabs-select {
	display: block;
}

.mobile-tab {
	width: 100%;
	text-align: left;
	padding: 20px 30px;
	margin-bottom: 20px;
	position: relative;
}

.mobile-tab:after {
	content: '\f0d7';
	font-family: 'Font Awesome 5 Pro';
	right: 15px;
	position: absolute;
}

@media screen and (min-width: 1025px) {
	.content-tabs-row {
		display: block;
	}

	.mobile-tab,
	.content-tabs-anchor-links .content-tabs-select {
		display: none;
	}
}

/* TEMPLATES > Confirmation */
.confirm-contact {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	margin-bottom: 10px;
}

.confirm-contact a:not(:last-child) {
	margin-right: 20px;
}

.confirm-social {
	margin-bottom: 60px;
}