/* ============================================================================ *
	Structural Styles
    ---------------------------------------------------------------------------
	These are the styles which build the main site layout
	(headers, footers, body, etc.).

	If you are attempting to add styling for any elements placed inside of a 
	Wordpress Editor, use 'editor-content.css' stylesheet.
*/

body {
/*	font-family: 'Lato', 'Times New Roman', serif;*/
	font-family: sans-serif;
	font-size: 16px;
	color: #4e565a;
	background-color: #eee8d4;
}

p {
/*	line-height: 1.7em;*/
	margin-bottom: 15px;
}

a {
	color: #9c0000;
	text-decoration: underline;
}

/* ======================================== *
	Responsive Layout
 * ======================================== */
@media screen and (min-width: 1600px) {
  .section-container
{
    max-width: 1200px;
  }
}
@media screen and (max-width: 700px) {
	#breadcrumbs {
		display: none;
	}
}

@media screen and (max-width: 500px) {
	#secondary-nav-wrapper {
		display: none;
	}
}

@media screen and (max-width: 450px) {
	.row > div > .inner {
		padding-left: 12px;
		padding-right: 12px;
	}
}

/* ======================================== *
	Miscellaneous
 * ======================================== */
.editor-content img { 
	max-width: 100% !important; 
	height: auto !important;
}

.mobile {
	display: none;
}

@media screen and (max-width: 450px) {
	.not-mobile {
		display: none;
	}

	.mobile {
		display: inherit;
	}
}

#breadcrumbs a {
	text-decoration: none;
	color: #666666;
}

/* ======================================== *
	Tagline
 * ======================================== */
#tagline {
	background-color: #9c0000;
	font-family: Crimson,serif;
	font-size: 2.0em;
	line-height: 1.1em;
	color: #fff;
	font-style: italic;
	text-align: center;
	text-shadow: 1px 1px 1px #303030;
	padding: 15px 25px 15px;
}

@media screen and (max-width: 350px) {
	#tagline {
		border-top: 1px;
		border-top-color: #fff;
		border-style: solid;
	}
}

@media screen and (max-width: 350px) {
	#tagline {
		font-size: 1.6em;
	}
}

/* ======================================== *
	Header 1
 * ======================================== */
h1#page-title,
.editor-content h1 {
	font-size: 1.85em;
	line-height: 1.1em;
	font-weight: 700;
	margin-bottom: 15px;
	margin-top: 5px;
	color: #9c0000;
}


/* ======================================== *
	Header 2
 * ======================================== */
.tmf-post > h2 {
	font-size: 1.25em;
	line-height: 1.3em;
	font-weight: 700;
	margin-bottom: 15;
	color: #000;
}

.tmf-post > h2 a,
h3.tmf-module-title a {
	font-size: 1.25em;
	line-height: 1.3em;
	font-weight: 700;
	margin-bottom: 15;
	color: #000;
}


/* ======================================== *
	Header 3
 * ======================================== */
.tmf-post > h3,
h3.tmf-module-title {
	font-size: 1.125em;
	font-weight: 700;
	margin-bottom: 15px;
	color: #9c0000;
}

.tmf-post > h3 a,
h3.tmf-module-title a {
	color: #666666;
}

.tmf-post > h3 a:hover,
h3.tmf-module-title a:hover {}


/* ======================================== *
	Header 4
 * ======================================== */
.tmf-post > h4 {
	font-weight: 700;
	font-size: 1em;
	line-height: 1.2em;
	color: #9c0000;
}

.tmf-post > h4 a {
	color: #00E;
	text-decoration: none;
}

.tmf-post > h4 a:hover {
	text-decoration: underline;
}


/* ======================================== *
	Header 5
 * ======================================== */
.tmf-post > h5 {
	font-weight: 700;
	font-size: 1em;
	line-height: 1.2em;
}

.tmf-post > h5 a {
	color: #000;
	text-decoration: none;
}

.tmf-post > h5 a:hover {
	text-decoration: underline;
}

/* ======================================== *
	Secondary Navigation Section
 * ======================================== */
#secondary-nav .menu {}
#secondary-nav .menu > .menu-item {}
#secondary-nav .menu > .menu-item > a {}
#secondary-nav .menu > .menu-item.first a {}
#secondary-nav .menu > .menu-item:hover > a {}


/* ======================================== *
	Header Section
 * ======================================== */

#header-container {
	background-color: #ffffff;
	background-repeat: no-repeat;
    background-position: 98%; 
}

#header {
	padding-top: 30px;
	padding-bottom: 25px;
}

#header a {
	color: #000;
}

#header-cell-1 .logo {
	max-width: 500px;
	vertical-align: center;
	width: 100%;
}

#header-cell-1 {
	vertical-align: middle;
}

/* ======================================== *
	Header Location Module
 * ======================================== */

#header-cell-2 {
	text-align: right;
	font-size: 1.4em;
	line-height: 1.5em;
	color: #525252;
	font-weight: 700;
	vertical-align: middle;
	line-height: 1.2em;
}

#header-cell-2 .phone-1,
#header-cell-2 .phone-2 {
	font-size: 1.15em;
	color: #000;
}

#header-serving-peninsula {
	font-family: Crimson, serif;
	font-style: italic;
	font-weight: 700;
	color: #9c0000;
	text-align: right;
}

#header-offices-info {
	color: #000;
	float: right;
	padding-top: 5px;
}

#header-office {
	text-align: right;
	font-family: Crimson,serif;
	font-style: italic;
	font-weight: bold;
	font-size: 18px;

}

#header-office:first-child {
	padding-right: 30px;
}

@media screen and (max-width: 1000px) {
	#header-office {
		padding-right: 0;
		text-align: center;
	}
}

#header-phone {
	text-align: right;
	font-family: Crimson,serif;
	font-size: 26px;
	white-space: nowrap;
}

#header-phone:first-child {
	padding-right: 30px;
}

@media screen and (max-width: 1120px) {
	#header-phone {
		font-size: .9em;
	}
}

@media screen and (max-width: 880px) {
	#header-phone {
		white-space:nowrap;
	}
	#tagline {
		font-size: 1.7em;
	}
}

@media screen and (max-width: 750px) {
	#header-container {
		background-size: 20%; 
	}
	#header {
		height: 155px;
		padding: 15px 0;
	}
	#header .logo {
		width: 80%;
	}

	#header-cell-1 {
		text-align: center;
	}

	#header-cell-2 {
		text-align: center;
		padding-top: 10px;
	}

	#header-offices-info {
		float: none;
		width: 70%;
		margin-left:15%; 
    	margin-right:15%;
		padding-right: 0;
		padding-top: 0;
	}

	#header-serving-peninsula {
		font-size: 1em;
		line-height: 1.3em;
		text-align: center;
	}

	#header-office:first-child {
	padding-right: 0px;
	}

	#header-phone {
	text-align: center;
	}

	#header-phone:first-child {
	padding-right: 0px;
	}

	#tagline {
	font-size: 1.5em;
	}
}

@media screen and (min-width: 750px) and (max-width: 1000px) {
	#header-cell-2 {
		font-size: 1.2em;
	}
}

@media screen and (max-width: 750px) {
	
	#header-cell-1,
	#header-cell-2 {
	}

	#header-cell-1 .logo {
		width: 90%;
	}
}

@media screen and (max-width: 600px) {
	#header-cell-2 {
		padding-top: 10px;
		font-size: 1.1em;
	}
}

@media screen and (max-width: 400px) {
	#tagline {
		font-size: 1.1em;
	}
}

/* ======================================== *
	Primary Navigation Section
 * ======================================== */

#primary-nav-container {
	background-color: #9e0000;
}

#primary-nav .menu {
	/*width: auto;
	margin: 0 auto;*/
	font-family: "Arial", sans-serif;
	font-size:1em;
}

#primary-nav .menu > .menu-item {
	border-left: 1px solid #fff;

}

#primary-nav .menu > .menu-item > a {
	padding-top: 16px;
	padding-right: 21.5px;
	padding-bottom: 14px;
	padding-left: 21.5px;
	color: #fff;
	font-family: "Arial", sans-serif;
	font-size: 1em;
	text-decoration: none;
	background-color: #9c0000;
}

#primary-nav .menu > .menu-item:last-child {
	border-right: none;
}

#primary-nav .menu > .menu-item:first-child {
	border-left: none;
}

#primary-nav .menu > .menu-item:hover,
#primary-nav .menu > .menu-item:hover > a{
	background-color: #720101;
}

#primary-nav .menu .sub-menu {
	background-color: #9e0000;
}

#primary-nav .menu .sub-menu .menu-item > a {
	font-family: "Arial", sans-serif;
	text-decoration: none;
	color: #fff;
}

#primary-nav .menu .sub-menu .menu-item:hover > a {
	background-color: #720101;
}

#primary-nav .menu-bar {
	font-weight: 700;
	font-size: 18px;
	color: #fff;
}

#primary-nav .menu-bar:before {
	background-position: -558px 0;
}

html.mobile-nav #primary-nav .menu {}
html.mobile-nav #primary-nav .menu > .menu-item {}
html.mobile-nav #primary-nav .menu > .menu-item > a{
	border-top: 1px solid #fff;
	padding: 10px 0;
}

html.mobile-nav #primary-nav .menu .sub-menu .menu-item > a {
	color: #720101;
	font-size: 18px;
	background-color: #fff;
}

html.mobile-nav #primary-nav .menu .sub-menu .menu-item:hover > a {
	background-color: #720101;
	color: #fff;
	border-top: 1px;
	border-style: solid;
	border-color: #fff;
}


/* ======================================== *
	Masthead Images
 * ======================================== */

#masthead_images-cell-1 > div {
	padding: 0;
}

#masthead {
position: relative;
margin: 0 auto;
max-width: 1200px;
width: 100%;
}

#masthead > img {
	display: block;
	width: 100%;
	max-width: 1200px;
}

/*@media screen and (max-width: 1150px) {
	#masthead > img {
		height: 250.125px;
	}
}

@media screen and (max-width: 1100px) {
	#masthead > img {
		height: 239.25px;
	}
}

@media screen and (max-width: 1000px) {
	#masthead > img {
		height: 217.5px;
	}
}

@media screen and (max-width: 900px) {
	#masthead > img {
		height: 195.75px;
	}
}

@media screen and (max-width: 850px) {
	#masthead > img {
		height: 184.875px;
	}
}

@media screen and (max-width: 750px) {
	#masthead > img {
		height: 163.125px;
	}
}

@media screen and (max-width: 650px) {
	#masthead > img {
		height: 141.38px;
	}
}

@media screen and (max-width: 550px) {
	#masthead > img {
		height: 119.625px;
	}
}

@media screen and (max-width: 450px) {
	#masthead > img {
		height: 97.875px;
	}
}

@media screen and (max-width: 350px) {
	#masthead > img {
		display: none;
	}
}*/

/* ======================================== *
	Body Section
 * ======================================== */
 
#body-container {
	background-color: #ffffff;
}

#body {
	padding: 30px 0;
}

#breadcrumbs {
margin: 0 0 10px 0;
font-size: .85em;
}

#body-cell-2 {
	border-left: 1px solid;
	border-color: #ddd;
}

/*#page-content > ul > li > ul > li:nth-child(1){
	padding-left: 30px;
}

#body-cell-1 > div > div.tmf-post.practice-area > div.content-container > a > img {
	padding-right:15px;
}

#body-cell-1 > div > div > img {
	padding-right:15px;
}*/

@media screen and (max-width: 850px) {
	#body-cell-2 > div > div > div.tmf-module.tmf-module-160.tmf-module-recent-news {
		margin-bottom: 100px;
	}
}

/* ======================================== *
	Footer Section
 * ======================================== */

#footer-container {
	background-color: #9c0000;
	color: #fff;
}

#footer {
	padding: 50px 0;
}

#footer a {
	color: #cbd3e0;
}

#footer .tmf-post > h3,
#footer h3.tmf-module-title {
	font-size: 1.3em;
	font-weight: 700;
	margin-bottom: 15px;
	color: #cbd3e0;
	text-transform: none;
}

#footer .tmf-post > h3 a,
#footer h3.tmf-module-title a {
	color: #cbd3e0;
}

@media screen and (max-width: 1200px) {
	#footer {
		padding: 25px 0;
	}
}

@media screen and (max-width: 850px) {
	#footer .cell {
		padding-bottom: 25px;
	}
}

/* ======================================== *
	Copyright Section
 * ======================================== */

#copyright {
	padding: 15px 0;
	font-size: 1.05em;
	color: #fff;
	text-align: center;
}

#copyright a {
	color: #fff;
}

/* ======================================== *
	Modules
 * ======================================== */

.tmf-multi-module-area .tmf-module {
	margin-bottom: 50px;
}

/* ======================================== *
	Inputs & Buttons
 * ======================================== */

input[type=text],
textarea {
	padding: 5px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	max-width: 100%;
	border: 1px solid #ccc;
	-webkit-box-shadow: inset 0 1px 1px #e2e2e2;
	-moz-box-shadow: inset 0 1px 1px #e2e2e2;
	box-shadow: inset 0 1px 1px #e2e2e2;
}

input[type=text]:focus,
textarea:focus {
	border: 1px solid #888;
}

.tmf-button,
.page-numbers {
	font-size: .95em;
	padding: 5px;
	background-color: #4d6482;
	background-image: url(../ie-gradient.php?from=4d6482&to=3a4c64);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d6482), to(#3a4c64));
	background-image: -webkit-linear-gradient(#4d6482, #3a4c64);
	background-image: -moz-linear-gradient(#4d6482, #3a4c64);
	background-image: -ms-linear-gradient(#4d6482, #3a4c64);
	background-image: -o-linear-gradient(#4d6482, #3a4c64);
	background-image: linear-gradient(#4d6482, #3a4c64);
	cursor: pointer;
	border: 1px solid #3a4c64;
	border-bottom-color: #2b384a;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	cursor: pointer;
	text-decoration: none;
	color: #fff;
	font-weight: 700;
}

.tmf-button:hover,
.page-numbers:hover {
	background-color: #5c769c;
	background-image: url(../ie-gradient.php?from=5c769c&to=4d6482);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5c769c), to(#4d6482));
	background-image: -webkit-linear-gradient(#5c769c, #4d6482);
	background-image: -moz-linear-gradient(#5c769c, #4d6482);
	background-image: -ms-linear-gradient(#5c769c, #4d6482);
	background-image: -o-linear-gradient(#5c769c, #4d6482);
	background-image: linear-gradient(#5c769c, #4d6482);
	text-decoration: none;
	color: #fff;
}

.tmf-button:active,
.page-numbers:active {
	background-color: #3a4c64;
	background-image: url(../ie-gradient.php?from=3a4c64&to=4d6482);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3a4c64), to(#4d6482));
	background-image: -webkit-linear-gradient(#3a4c64, #4d6482);
	background-image: -moz-linear-gradient(#3a4c64, #4d6482);
	background-image: -ms-linear-gradient(#3a4c64, #4d6482);
	background-image: -o-linear-gradient(#3a4c64, #4d6482);
	background-image: linear-gradient(#3a4c64, #4d6482);
	border: 1px solid #3a4c64;
	border-top-color: #2b384a;
	text-decoration: none;
	color: #fff;
}

.tmf-button.large {
	font-size: 1.1em;
	padding: 7px 25px;
}

.tmf-button.medium {
	font-size: .95em;
	padding: 5px 25px;
}

.tmf-button.small {
	font-size: .85em;
	padding: 3px 15px;
}

.tmf-button.tiny {
	font-size: .75em;
	padding: 2px 7px;
}

.page-numbers.current {
	background: none;
	border: 1px solid #ddd;
}

h2.rsvp-title {
	font-size: 1.4em;
	line-height: 1.1em;
	font-weight: 700;
	margin-bottom: 0;
	font-style: italic;
	color: #605b51;
}

#superlawyers {
	display:inline-block;
	width:150px;
}


.tmf-module-area-homepage-badge {
	text-align:center;
}

