/*
Theme Name: East Coast Law
Description: The original East Coast Law theme.
Version: 1
Author: East Coast Law
*/

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: 1px solid #cccccc;
	padding: 15px !important;
	background: #ffffff;
	border: none;
	color: #000000;
	font-family: 'Lato', sans-serif;
	margin: 0 !important;
	transition: all 0.5s;
}
input[type="text"]:hover, input[type="email"]:hover, textarea:hover{
	background: #f9f9f9;
	color: #000000;
}
input[type="submit"], a.readmore {
	border: 0 none;
	cursor: pointer;
	background: #0979af;
	margin: 0;
	text-transform: uppercase;
	color: #fff;
	font-size: 16px;
    font-family: 'Lato', sans-serif;
	padding: 10px 25px;
	transition: all 0.5s;
	display: inline-block;
	font-weight: 500;
}
input[type="submit"]:hover, a.readmore:hover {
  background: none repeat scroll 0 0 #89171F;
  color:#ffffff;
}

*{
padding:0;
margin:0;
}

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

body,table{
font-family: 'Lato', sans-serif;
font-size:17px;
color:#2F2A2D;
}

img, fieldset{
border:0;
}

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

h1{
font-size:50px; 
font-weight:600;
margin-bottom:20px;
color: #0f202a;
font-family: 'Merriweather', sans-serif;
}
h2 {
	font-size: 42px;
	font-weight: 400;
	margin-bottom: 20px;
	font-family: 'Merriweather', sans-serif;
	color: #0f202a;
}
h3{
font-size:35px; 
font-weight:600;
margin-bottom:20px;
color: #0f202a;
font-family: 'Merriweather', sans-serif;
}
h4{
font-size:30px; 
font-weight:600;
margin-bottom:20px;
color: #0f202a;
font-family: 'Merriweather', sans-serif;
}
h5 {
	font-size: 24px;
	font-weight: normal;
	letter-spacing: 3px;
	margin-bottom: 20px;
	color: #0f202a;
}
h6 {
	font-size: 16px;
	font-weight: 400;
	margin-bottom: 20px;
	color: #0f202a;
}
.clear{
clear:both;
}



.wrapper{
width:90%;
margin:0 auto;
max-width:1920px;
}
.header {
	background: #a5b5ce;
	z-index: 9999;
	position: relative;
}
.practices .practice {
	background: url(images/bg1.jpg) no-repeat;
}
header {
	background: #a5b5ce;
	width: 100%;
	position: relative;
	/*top: 0;
	height: 365px;
	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: 365px;
}
.admin-bar header{
	margin-top:32px;
}
header.smaller {
	height: 365px;
}*/

.logo {
	float: none;
	width: 100%;
	padding: 40px 0;
	text-align: center;
}

.nav {
	float: left;
	margin-right: 15px;
	margin-top: 20px;
}
.top {
	float: right;
	font-size: 21px;
	color: #0f202a;
	text-align: right;
}
.top a{
	color: #0f202a;
	font-weight:bold;
}
.top a:hover{
	color: #ffffff;
}
.banner .metaslider .caption-wrap {
	bottom: 35%;
	left: 5%;
	background: transparent;
	opacity: 1;
	width: 90%;
}
.banner .metaslider .caption {
	padding: 0;
	width: 35%;
	box-sizing: border-box;
	font-size:23px;
}
.banner .metaslider .flexslider .slides p{
	margin-bottom:20px;
}
.banner h2 {
	font-size: 50px;
	line-height: 56px;
	color:#ffffff;
}
.banner h5, .banner h6 {
	color:#ffffff;
}
.bottom {
	background: #0f202a;
	color: #ffffff;
	padding: 50px 0;
}
.bottom h2 {
	color: #ffffff;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 700;
	font-family: 'Lato', sans-serif;
}
.footer {
	background: #000000;
	color: #fff;
	padding: 20px 0;
}
.footer a{
	color:#ffffff;
}
.footer a{
	color:#ffffff;
	text-decoration:underline;
}
.footerleft {
	float: left;
}
.footerright {
	float: right;
}
.footer p{
	margin:0;
}
.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;
}
.practicearea {
	padding: 50px 0;
	text-align: center;
	background: #F1F2F2;
}
.practicearea ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: center;
}
.practicearea ul li {
	width: 31%;
	margin: 5px;
}
.practicearea ul li a {
	background: #0f202a;
	font-size: 22px;
	color: #fff;
	display: block;
	padding: 25px 0;
}
.practicearea ul li a:hover{
	background:#0979af;
	color:#ffffff;
}
.practicearea h2, .attorneys h2, .testimonials h2, .logos h2 {
	position: relative;
	padding-bottom: 15px;
	text-align: center;
}
.practicearea h2::after, .attorneys h2::after, .testimonials h2::after, .logos h2::after {
	content: "";
	background: #0979af;
	height: 2px;
	width: 100px;
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 47%;
}
.content, .logos {
	padding: 50px 0;
}
.home .content {
	background: #253d6d;
	color: #ffffff;
	overflow: hidden;
	padding-bottom: 0;
}
.home .content h1{
	color: #ffffff;
}
.home .content a{
	color: #0979af;
}
.home .content a:hover{
	color: #ffffff;
}
.attorneys{
	padding:50px 0;
}
.attorneyhalf {
	float: left;
	width: 48%;
	background: #f1f2f2;
	margin: 0 1%;
	padding: 1px 20px 5px 5px;
	box-sizing: border-box;
}
.attorneys h2 {
	margin-bottom: 50px;
}
.attorneyhalf p:first-child {
	margin: 0;
}
span.blue {
	font-size: 18px;
	color: #0979af;
}
.attorneyhalf p{
	margin:20px 0;
}
.attorneyhalf h4 {
	padding-top: 30px;
}
.attorneyhalf img {
	width: 50%;
}
.map iframe {
	display: block;
}
.footerright {
	float: right;
	margin-top: 15px;
}
.footerright i{
	margin: 0 5px;
}
a.phonenumber {
	color: #ffffff;
	font-size: 32px;
	font-weight: bold;
}
a.phonenumber:hover {
	text-decoration:underline;
}
.bottom .moduletable {
	width: 22%;
	float: left;
	margin-right: 2%;
}
.bottom .moduletable.custom_html-5 {
	width: 40%;
}
.bottom .moduletable.gform_widget-2 {
	width: 33%;
	margin: 0;
}
.bottom .custom_html-5 ul li {
	list-style: none;
	float: left;
	width: 49%;
	margin: 8px 1% 8px 0;
}
.bottom a {
	color: #ffffff;
}
.bottom a:hover {
	text-decoration:underline;
}
.bottom input[type="text"], .bottom input[type="email"], .bottom input[type="tel"], .bottom textarea {
	background: #3a3a3a;
	color: #D1D3D4;
}
.bottom input[type="text"]:hover, .bottom input[type="email"]:hover, .bottom input[type="tel"]:hover, .bottom textarea:hover{
	background: #232123;
}
.testimonials {
	background: #0f202a;
	color: #ffffff;
	padding: 50px 0;
}
.testimonials h2{
	color:#ffffff;
}
.testimonials .strong-view.wpmtst-modern .wpmtst-testimonial-heading {
	font-size: 21px;
	font-style: italic;
	font-family: 'Lato', sans-serif;
	color:#ffffff;
}
.testimonials .strong-view.wpmtst-modern .wpmtst-testimonial-content {
	font-size: 17px;
	font-style: normal;
}
.logos .owl-carousel .owl-item img {
	max-width: 100%;
	max-height: 100px;
	width: auto !important;
}
.owl-carousel .owl-item .sa_hover_container {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	align-items: center;
}
.home .content a.readmore {
	color: #ffffff;
}
.page-id-10 .su-row p{
	margin:0;
}
hr {
	margin: 20px 0;
	height: 1px;
	border: 0;
	background: #eeeeee;
}
.bottom .custom_html-5 ul {
	overflow: hidden;
}
.page-id-1030 .content, .page-id-11 .content {
	padding: 0;
}
.content {
	background: #eeeeee;
}
img{
max-width:100%;
height:auto;
}

@media all and (max-width: 1540px){
#mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
	font-size: 18px !important;
}
.logo {
	padding: 20px 0;
}
.banner .metaslider .caption {
	width: 50%;
}
}
@media all and (max-width: 1340px){
.banner .metaslider .caption-wrap {
	bottom: 10%;
}
}
@media all and (max-width: 1190px){
.banner h2 {
	font-size: 35px;
	line-height: 44px;
}
.home .content h1 br {
	display: none;
}
.home .content h1 {
	font-size:32px;
	line-height:44px;
}
.attorneyhalf {
	float: none;
	width: 100%;
	margin: 0 0 20px;
	overflow: hidden;
}
.bottom .moduletable {
	width: 100%;
	float: none;
	margin: 0 0 40px;
}
.bottom .moduletable.custom_html-5 {
	width: 100%;
}
.bottom .moduletable.gform_widget-2 {
	width: 100%;
	margin: 0;
}
}
@media all and (max-width: 1020px){
.nav {
	float: none;
	margin-top: 0;
}
.footerleft {
	float: none;
	text-align: center;
}
.footerright {
	float: none;
	margin-top: 15px;
	text-align: center;
}
.practicearea ul li {
	width: 48%;
}
.banner h5 {
	font-size: 18px;
	margin:0;
}
.banner h6 {
	font-size: 14px;
	margin-bottom: 10px;
}
.banner h2 {
	font-size: 25px;
	line-height: 34px;
	margin-bottom: 10px;
}
.banner .metaslider .flexslider .slides p {
	font-size: 17px;
}
}
@media all and (max-width: 767px){
.banner .metaslider .caption-wrap {
	bottom: 0;
	position: relative;
	background: #0F202A;
	width: 100%;
	left: 0;
	text-align: center;
	padding: 30px 0;
}
.banner .metaslider .caption {
	width: 100%;
}
.practicearea ul li {
	width: 100%;
	margin: 5px 0;
}
.attorneyhalf img {
	width: 100%;
	margin: 0 0 20px;
}
.practicearea h2::after, .attorneys h2::after, .testimonials h2::after, .logos h2::after {
	left: 35%;
}
.attorneyhalf {
	float: none;
	width: 100%;
	margin: 0 0 20px;
	overflow: hidden;
	padding: 15px;
}
.testimonials h2 {
	font-size: 30px;
}
.bottom .custom_html-5 ul li {
	list-style: none;
	float: none;
	width: 100%;
	margin: 8px 0 8px 0;
}
}
@media all and (max-width: 500px){

}