/*
Theme Name: Dimock Matthews
Description: The original Dimock Matthews theme.
Version: 1
Author: Dimock Matthews
*/

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 {
	padding: 15px !important;
	background: transparent;
	border: none;
	color: #D1D3D4;
	font-family: 'Raleway', sans-serif;
	margin: 0 0 15px !important;
	transition: all 0.5s;
	border-bottom: 3px solid #919191;
	box-sizing:border-box;
}
textarea {
	border: 3px solid #919191;
}
input[type="text"]:hover, input[type="email"]:hover, input[type="tel"]:hover, textarea:hover{
	background: #232123;
}
input[type="submit"], a.readmore {
	border: 0 none;
	cursor: pointer;
	background: #00381f;
	margin: 0;
	text-transform: uppercase;
	color: #fff;
	font-size: 15px;
	font-family: 'Raleway', sans-serif;
	padding: 8px 20px;
	transition: all 0.5s;
	display: inline-block;
}
input[type="submit"]:hover, a.readmore:hover {
  background: #231f20;
  color: #ffffff;
  padding: 8px 30px;
}


*{
padding:0;
margin:0;
}

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

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

img, fieldset{
border:0;
}

table {
	width: 100%;
	border-collapse: collapse;
}

p{
line-height:24px; 
margin-bottom:20px;
}

a{
outline:none;
text-decoration:none;
color:#BD0F0E;
transition: all 0.5s;
}

a:hover{
color:#2F2A2D;
}

h1{
font-size:36px; 
font-weight:600;
margin-bottom:20px;
text-transform:uppercase;
font-family: 'Playfair Display', serif;
}

h2{
font-size:32px; 
font-weight:600;
margin-bottom:20px;
font-family: 'Playfair Display', serif;
color:#0a0a0a;
line-height: 52px;
}

h3{
font-size:25px; 
font-weight:600;
margin-bottom:10px;
font-family: 'Playfair Display', serif;
}

h4 {
font-size: 24px;
font-weight: 600;
margin-bottom: 10px;
font-family: 'Playfair Display', serif;
}
h5{
	font-size:24px;
	text-transform:uppercase;
	color:#00381f;
font-family: 'Roboto', sans-serif;
	font-weight:normal;
	margin-bottom:15px;
}

.clear{
clear:both;
}



.wrapper{
width:90%;
margin:0 auto;
max-width:1920px;
}






.wrapper6{background:#2F2A2D;}
.wrapper1 {
	background: #231f20;
}
.logo {
	float: left;
	width: 350px;
	margin-right: 15px;
	padding: 10px 0;
}
.topright {
	float: right;
	display: flex;
	flex-wrap: wrap;
}
.topright > div {
	margin: 30px 0 0 0;
}
.topright i {
	margin: 0 0 0 25px;
}
.header {
	background: #ffffff;
	z-index: 9999;
	position: relative;
}
.topright .emailinfo {
	margin-right: 20px;
}
.header .nav{margin-top: 19px;}
.topright i {
	color: #00381f;
}
.topright a {
	color: #231f20;
}
.topright a:hover {
	color: #00381f;
}
.usparea {
	background: #00381f;
	color: #ffffff;
	padding: 50px 0;
}
.uspblocks {
	display: flex;
	flex-wrap: wrap;
}
.iusp {
	width: 21%;
	margin: 0 2%;
}
.iusp img {
	margin-bottom: 20px;
}
.practiceareas {
	background: #f8f9fa;
	padding: 50px 0;
	text-align: center;
}
.practiceblocks {
	display: flex;
	flex-wrap: wrap;
}
.ipractice {
	width: 29%;
	margin: 0 auto;
	background: #ffffff;
	border: 1px solid #dddddd;
	text-align:left;
}
.iipractice {
	padding: 20px;
}
a.more {
	color: #00381f;
	border-bottom: 2px solid #00381f;
	padding-bottom: 10px;
	text-transform: uppercase;
}
a.more:hover {
	color: #231f20;
}
.team {
	padding: 50px 0;
	text-align: center;
}
.teamblocks {
	display: flex;
	flex-wrap: wrap;
}
.iteam {
	width: 46%;
	margin: 0 2%;
	background: #ffffff;
	text-align: left;
}
.iiteam {
	width: 300px;
	background: #00381f;
	color: #fff;
	margin: -58px 0 0 0;
	z-index: 9999;
	position: relative;
	border-right: 8px solid #58595b;
	padding: 20px;
	box-sizing: border-box;
}
.team .wrapper {
	width: 870px;
}
.iiteam h4 {
	margin: 0;
	color:#ffffff;
}
.iiteam p{
margin:0;	
}
.iiteam a{
color:#ffffff;
}
.iiteam:hover {
	background: #58595b;
	border-right: 8px solid #00381f;
}
.footer {
	color: #ffffff;
	padding: 50px 0;
	background: #0a0a0a;
}
.testimonials{
background: #00381F;
	padding:50px 0;
}
.testimonials h3{
	text-align:center;
	color:#ffffff;
}
.footermodule {
	width: 20%;
	float: left;
	margin: 0 5% 0 0;
}
.footermodule h3{
	font-size:20px;
}
.footermodule.footer3 ul li {
	list-style: square;
	margin: 15px 0 15px 20px;
}
.footermodule.footer3 ul li a{
	color:#ffffff;
}
.footermodule.footer3 ul li a:hover{
	color:#cccccc;
}
.bottom iframe{
	display:block;
}
.copyright {
	background: #00381f;
	color: #ffffff;
	padding: 20px 0;
	overflow: hidden;
}
.copyright a{
	color:#ffffff;
}
.copyright a:hover{
	text-decoration:underline;
}
.copyrightleft {
	float: left;
}
.copyrightright {
	float: right;
}
.copyright p{
	margin:0;
}

.contactform {
	background: url(images/contact-bg.jpg) no-repeat;
	background-size: cover;
	padding: 50px 0;
	text-align: center;
	color: #ffffff;
}
.contactform h5, .contactform h2{
	color:#ffffff;
}
.contactform .gform_description {
	margin-bottom: 30px;
	display: block;
}
.contactform .gform_body.gform-body {
	text-align: left;
}
.contactform input[type="submit"] {
	border: 2px solid #919191;
	padding: 10px 36px;
	display: inline-block;
}












.admin-bar header{
	margin-top:32px;
}
.content {
	padding: 50px 0;
	overflow: hidden;
}
header {
	background: #ffffff;
	width: 100%;
	height: 93px;
	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, .wrapper1_in, .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: 93px;
}
header.smaller {
	height: 93px;
}
header.smaller .logo {
	display: block;
	width: 220px;
	opacity: 1;
}
.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;
	line-height:28px;
}


.attorneybanner img {
	max-width: 200px;
}
.content ul {
  list-style: none;
  padding: 0;
}
.content li {
	padding-left: 1.3em;
	margin-left: 0;
}
.content li:before {
  content: "\f054"; /* FontAwesome Unicode */
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.3em; /* same as padding-left set on li */
  width: 1.3em; 
}
#lf_first_name_block, #lf_last_name_block, #lf_email_block, #lf_phone_block {
	width: 23%;
	float: left;
	margin: 0 2% 0 0;
}
.mobilemodule{
	display:none;
}
.page-id-58 .storytitle, .page-id-54 .storytitle {
	text-align: center;
}
.page-id-58 .content, .page-id-54 .content {
	padding: 50px 0 0;
}
hr {
	background: #cccccc;
	border: 0;
	height: 1px;
	margin: 30px 0;
}


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

@media all and (max-width: 1340px){

}
@media all and (max-width: 1260px){

}
@media all and (max-width: 1190px){
.copyrightleft, .copyrightright {
	float: none;
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
}
.copyrightright {
	margin-bottom: 0;
}
.iusp {
	width: 46%;
	margin: 0 2% 30px;
}
.logo {
	width: 250px;
	padding: 16px 0;
}
.ipractice {
	width: 31%;
	margin: 0 1%;
}
.team .wrapper {
	width: 90%;
}
.footermodule {
	width: 44%;
	float: left;
	margin: 0 5% 20px 0;
}
	
}

@media all and (max-width: 1020px){
.topright i {
	margin: 0 0 0 5px;
}
}
@media all and (max-width: 950px){
.topright > div {
	margin: 15px 0 0 10px;
}
.logo {
	width: 225px;
	padding: 8px 0;
	margin: 0;
}
.header .nav {
	margin-top: 5px;
}
.topright {
	margin-top: 10px;
}
header, .headerheight, header.smaller {
	height: 75px;
}
	.blogsmain .post {
	width: 100%;
	margin: 0 0 20px 0;
}
}
@media all and (max-width: 767px){
.admin-bar header {
	margin-top: 46px;
}
.logo {
	width: 225px;
	padding: 8px 0;
	margin: 0 auto;
	float: none;
}
.topright {
	margin-top: 10px;
	float: none;
	width: 480px;
margin: 0 auto;
}
header, .headerheight, header.smaller {
	height: 127px;
}
.topright > div {
	margin: 15px 8px 0;
}
.ipractice {
	width: 100%;
	margin: 0 0 20px;
}
.iteam {
	width: 100%;
	margin: 0 0 20px;
}
.ipractice img{
	width: 100%;
}
	.desktopmodule{
	display:none;
}
	.mobilemodule{
	display:block;
}
}

@media all and (max-width: 500px){
.topright {
	width: 300px;
	text-align: center;
	display: block;
}
header, .headerheight, header.smaller {
	height: auto;
	position: relative;
}
.admin-bar header {
	margin-top: 0;
}
.iusp {
	width: 100%;
	margin: 0 0 30px;
}
}