/* ============================================================================ *
	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 {
	background-color: #003665;
	color: #4a4a4a;
	font-family: "Cardo" ,"Times New Roman", Times, Baskerville, Georgia, serif;
	font-size: 18px;
}

a {
	color: #1d3067;
}

#interior-slide {
	border: 1px solid #fff;
	-webkit-box-shadow: 0 0 10px rgba(0,0,0, 0.3);
	box-shadow: 0 0 10px rgba(0,0,0, 0.3);
}


/* ======================================== *
	Headers
 * ======================================== */
h1#page-title,
.editor-content h1 {
	font-size: 1.1em;
	line-height: 1.1em;
	font-weight: 700;
	margin-bottom: 25px;
	color: #820202;
	text-transform: uppercase;
}

body.home h1#page-title,
body.home .editor-content h1 {
	font-size: 1.15em;
	line-height: 1.1em;
	font-weight: 700;
	margin-bottom: 10px;
	color: #f1f1f1;
	text-transform: none;
}

.tmf-post > h2,
.editor-content h2 {
	font-size: 1.1em;
	line-height: 1.1em;
	font-weight: 700;
	margin-bottom: 0;
	color: #820202;
	text-transform: uppercase;
}

.tmf-post > h2 a,
.editor-content h2 a {
	color: #820202;
}

.tmf-post > h3,
h3.tmf-module-title {
	font-size: 1.1em;
	font-weight: 700;
	margin-bottom: 15px;
	color: #820202;
	text-transform: uppercase;
}

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

.tmf-post > h4 {
	font-weight: 700;
	font-size: 1em;
	line-height: 1.2em;
}

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

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



/* ======================================== *
	Secondary Navigation Section
 * ======================================== */
#secondary-nav .menu {
	display: inline-block;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1000;
	background-color: #7ab4c1;
	background-image: url(../ie-gradient.php?from=7ab4c1&to=67a1af);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#7ab4c1), to(#67a1af));
	background-image: -webkit-linear-gradient(#7ab4c1, #67a1af);
	background-image: -moz-linear-gradient(#7ab4c1, #67a1af);
	background-image: -ms-linear-gradient(#7ab4c1, #67a1af);
	background-image: -o-linear-gradient(#7ab4c1, #67a1af);
	background-image: linear-gradient(#7ab4c1, #67a1af);
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	margin-right: 25px;
	padding: 0 5px;
}
#secondary-nav .menu > .menu-item {
	padding: 7px 0 9px;
	line-height: 14px;
}
#secondary-nav .menu > .menu-item.first {

}
#secondary-nav .menu > .menu-item.last a {
	border-right: none;
}
#secondary-nav .menu > .menu-item > a {
	color: #fff;
	font-size: 13px;
	border-right: 1px solid #fff;
	padding: 0 10px;
	font-weight: 700;
}
#secondary-nav .menu > .menu-item:hover > a {}

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


/* ======================================== *
	Header Section
 * ======================================== */
#header-wrapper {
	z-index: 2;
	position: relative;
}

#header-container {
	padding: 0;
	background-color: #fff;
}

#header {
	padding: 35px 0;
	-webkit-box-shadow: 0 0 20px rgba(0,0,0, 0.4);
	box-shadow: 0 0 20px rgba(0,0,0, 0.4);
}

#header a {
	color: #1d3067;
	text-decoration: none;
}

#header .logo {
	max-width: 593px;
	width: 100%;
}

#header-cell-1 > div {
	display: inline-block;
	margin-top: 5px;
}

#header-cell-1 {
	color: #4a4a4a;
	font-size: 1.15em;
}

#header-cell-2 {
	color: #4a4a4a;
	font-size: 1.2em;
	text-align: right;
	line-height: 1.4em;
	vertical-align: middle;
	text-transform: uppercase;
}

#header-cell-2 .phone-1 {
	font-size: 1.4em;
	color: #1d3067;
	font-weight: 700;
}


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

@media screen and (min-width: 850px) and (max-width: 950px) {
	#header-cell-2 {
		font-size: 1em;
	}
}

@media screen and (min-width: 750px) and (max-width: 850px) {
	#header {
		padding: 20px 0;
	}

	#header-cell-1 {
		font-size: 1.05em;
	}

	#header-cell-2 {
		font-size: .9em;
	}
}

@media screen and (max-width: 750px) {
	#header {
		padding: 20px 0;
	}

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

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

@media screen and (max-width: 550px) {
	#header {
		padding: 12px 0;
	}

	#header-cell-1 {
		font-size: 1.05em;
	}

	#header-cell-2 {
		font-size: .9em;
	}
}

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

	#header-cell-2 {
		padding-top: 5px;
	}
}

@media screen and (max-width: 350px) {
	#header-cell-1 {
		font-size: .8em;
	}
}

/* ======================================== *
	Primary Navigation Section
 * ======================================== */
#primary-nav-wrapper {
	position: relative;
}

#primary-nav-container {
	background-color: #4a4a4a;
}
#primary-nav {
	-webkit-box-shadow: 0 0 20px rgba(0,0,0, 0.4);
	box-shadow: 0 0 20px rgba(0,0,0, 0.4);
}

#primary-nav .menu {}
#primary-nav .menu > .menu-item {
	
}
#primary-nav .menu > .menu-item.first a {
	background: none;
}
#primary-nav .menu > .menu-item.last {}
#primary-nav .menu > .menu-item > a {
	font-size: 16px;
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
	padding: 15px;
	background: url(../images/nav-divider.png) no-repeat center left;
}
#primary-nav .menu > .menu-item:hover {}
#primary-nav .menu > .menu-item:hover > a {
	text-decoration: underline;
}

#primary-nav .menu .sub-menu {
	background-color: #4a4a4a;
}
#primary-nav .menu .sub-menu .menu-item > a {
	color: #fff;
	font-size: 15px;
}
#primary-nav .menu .sub-menu .menu-item:hover > a {
	background-color: #1d3067;
}

#primary-nav .menu-bar {
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 15px;
}

/* White Icon */
#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{
	font-size: 15px;
	border-top: 1px solid #5f5f5f;
}


/* ======================================== *
	Mega Menu Section
 * ======================================== */
#mega-menu .wp-megamenu-main-wrapper.wpmm-ctheme-wrapper, 
#mega-menu .wp-megamenu-main-wrapper.wpmm-ctheme-wrapper ul.wpmm-mega-wrapper {
    text-align: left;
    width: 100%;
}

#mega-menu .wp-megamenu-main-wrapper.wpmm-orientation-horizontal ul.wpmm-mega-wrapper > li {
    display: table-cell;
}

#mega-menu .wp-megamenu-main-wrapper.wpmm-orientation-horizontal ul.wpmm-mega-wrapper > li.current-menu-item {
    text-decoration: underline;
}

#mega-menu .wp-megamenu-main-wrapper.wpmm-orientation-horizontal ul.wpmm-mega-wrapper > li > a{
    color: #ffffff;
    font-size: 16px;
    font-family: Cardo;
    font-weight: 400;
    text-transform: uppercase;
    display: block;
    padding: 12px 10px;
    text-align: center;
    border-right: 1px solid #7d7d7d;
}

#mega-menu .wp-megamenu-main-wrapper.wpmm-orientation-horizontal ul.wpmm-mega-wrapper > li.last > a {
    border-right: none;
}

#mega-menu ul.wp-mega-sub-menu li.wpmm-custom-post-settings .wpmm-custom-postimage {
	overflow: hidden;
}

#mega-menu ul.wp-mega-sub-menu li.wpmm-custom-post-settings .wpmm-custom-postimage a .wpmm-featured-image img, 
#mega-menu ul.wp-mega-sub-menu li.wpmm-custom-post-settings .wpmm-custom-postimage a .wpmm-custom-image img {
    /*min-height: 168px;*/
    max-width: 150px;
    width: 100%;
    padding: 0;
}

#mega-menu ul.wp-mega-sub-menu li.wpmm-custom-post-settings .wpmm-custom-postimage a .wpmm-featured-image:hover img, 
#mega-menu ul.wp-mega-sub-menu li.wpmm-custom-post-settings .wpmm-custom-postimage a .wpmm-custom-image:hover img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

#mega-menu ul.wpmm-mega-wrapper li.tmf-attorney-dropdown ul.wp-mega-sub-menu li.wpmm-custom-post-settings.wpmega-image-top .wpmm-custom-postimage span.wpmm-mega-menu-href-title {
    position: absolute;
    bottom: -10px;
    bottom: 0;
    text-align: center;
    width: 100%;
    background: rgba(0,0,0,0.8);
    margin: 0;
    padding: 5px;
    color: #fff !important;
    max-width: 150px;
    font-family: 'Cardo', serif;
    font-size: 16px;
    font-size: 13px;
}

@media (min-width: 1024px){
	.wp-megamenu-main-wrapper .wpmm-mega-wrapper {
	    display: table !important;
	}
}

@media screen and (max-width: 950px) {
	#mega-menu-wrapper {
		display: none !important;
	}

	#mega-menu .wp-megamenu-main-wrapper.wpmm-orientation-horizontal ul.wpmm-mega-wrapper > li {
	    display: block;
	    text-align: center;
	}

	#mega-menu .wp-megamenu-main-wrapper.wpmm-orientation-horizontal ul.wpmm-mega-wrapper > li > a {
	    display: inline-block;
	    border: none;
	}

	#mega-menu .wp-megamenu-main-wrapper.wpmm-ctheme-wrapper ul.wpmm-mega-wrapper {
		height: auto;
	}

	#mega-menu .wp-megamenu-main-wrapper.wpmm-orientation-horizontal ul.wpmm-mega-wrapper .wp-mega-sub-menu {
		margin: auto !important;
	}

	#mega-menu .wp-megamenu-main-wrapper.wpmm-orientation-horizontal ul.wpmm-mega-wrapper .wp-mega-sub-menu a {
		text-align: center;
	}

	#mega-menu .wp-megamenu-main-wrapper.wpmm-orientation-horizontal ul.wpmm-mega-wrapper .wpmm-sub-menu-wrap {
		width: 100%;
		border: none;
	}

	#mega-menu .wpmm-custom-postimage a {
	    position: relative;
	    text-align: center;
	    max-width: 150px;
	    margin: auto;
	}

	#mega-menu .wpmm-custom-postimage a .wpmm-custom-image {
		max-width: 150px;
	}

	#mega-menu .wpmm-custom-postimage a img {
		padding: 0;
	}

	#mega-menu ul.wpmm-mega-wrapper li.tmf-attorney-dropdown ul.wp-mega-sub-menu li.wpmm-custom-post-settings.wpmega-image-top .wpmm-custom-postimage span.wpmm-mega-menu-href-title  {
	    margin: auto;
	    left: auto;
	    right: auto;
	    max-width: 150px;
	    bottom: 0px;
	}
}

/* ======================================== *
	Mobile Menu Section
 * ======================================== */

.top-part .mob-cancel-button {
	color: #fff;
}

#mobile-nav {
	background: #4a4a4a;
}

#mobile-nav .mobile-menu {
	background: #4a4a4a;
}

#mobile-nav .menu > .menu-item > a {
	color: #ffffff;
}

.mob-expand-submenu:before {
	color: #ffffff;
}

#mobile-nav .menu .menu-item.display {
    background: #003665;
}

#mobile-nav .menu .sub-menu .menu-item {
    padding: 6px 30px;
}

#mobile-nav .menu .menu-item.display a,
#mobile-nav .menu .menu-item.display > .mob-expand-submenu:before {
	color: #ffffff;
}

/* ======================================== *
	Billboard Section
 * ======================================== */
#billboard-wrapper {
	position: relative;
	overflow-y: hidden;
}

#billboard {
	background-color: #fff;
	-webkit-box-shadow: 0 0 20px rgba(0,0,0, 0.4);
	box-shadow: 0 0 20px rgba(0,0,0, 0.4);
}

#billboard .content {
	position: absolute;
	top: 0;
	left: 0;
	width: 325px;
	padding: 25px;
	height: 400px;
	background-color: #830202;
	background-image: url(../ie-gradient.php?from=830202&to=560202);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#830202), to(#560202));
	background-image: -webkit-linear-gradient(#830202, #560202);
	background-image: -moz-linear-gradient(#830202, #560202);
	background-image: -ms-linear-gradient(#830202, #560202);
	background-image: -o-linear-gradient(#830202, #560202);
	background-image: linear-gradient(#830202, #560202);
	color: #fff;
	font-size: 1.05em;
	line-height: 1.1em;
}

#billboard .content a {
	color: #fff;
}

#billboard .slideshow { 
	position: relative; 
	margin-left: 375px;
	height: 400px;
}

#billboard .slideshow > div { 
	position: absolute; 
	top: 0; 
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-background-size: cover !important;
	background-size: cover !important;
	background-position: center center !important;
}

@media screen and (max-width: 750px) {
	#billboard .slideshow { 
		margin-left: 0;
		height: 300px;
	}

	#billboard .content { 
		position: relative; 
		height: auto;
		width: auto;
	}
}

@media screen and (max-width: 500px) {
	#billboard .slideshow { 
		height: 225px;
	}
}


/* ======================================== *
	Body Section
 * ======================================== */
#body-wrapper {
	position: relative;
	overflow-y: hidden;
}

#body-container {
	padding: 0;
	background-color: #fff;
}

#body {
	padding: 25px 0;
	-webkit-box-shadow: 0 0 20px rgba(0,0,0, 0.4);
	box-shadow: 0 0 20px rgba(0,0,0, 0.4);
}


/* ======================================== *
	Footer Section
 * ======================================== */
#footer-wrapper {}

#footer-container {
	padding: 0;
	border-top: 7px solid #4a4a4a;
	background-color: #e6e6e6;
	background-image: url(../ie-gradient.php?from=e6e6e6&to=ffffff);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e6e6e6), to(#ffffff));
	background-image: -webkit-linear-gradient(#e6e6e6, #ffffff);
	background-image: -moz-linear-gradient(#e6e6e6, #ffffff);
	background-image: -ms-linear-gradient(#e6e6e6, #ffffff);
	background-image: -o-linear-gradient(#e6e6e6, #ffffff);
	background-image: linear-gradient(#e6e6e6, #ffffff);
}

#footer {
	padding: 25px 0;
	-webkit-box-shadow: 0 0 20px rgba(0,0,0, 0.4);
	box-shadow: 0 0 20px rgba(0,0,0, 0.4);
}



/* ======================================== *
	Copyright Section
 * ======================================== */
#copyright-wrapper {}

#copyright-container {
	padding: 0;
}

#copyright {
	padding: 25px 0;
	color: #fff;
	font-size: .85em;
}

#copyright a {
	color: #fff;
}



/* ======================================== *
	Modules
 * ======================================== */
.tmf-multi-module-area .tmf-module {
	margin-bottom: 50px;
}

.tmf-multi-module-area .tmf-module:last-child {
	margin-bottom: 0;
}



/* ======================================== *
	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: #243b80;
	background-image: url(../ie-gradient.php?from=243b80&to=1d2f66);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#243b80), to(#1d2f66));
	background-image: -webkit-linear-gradient(#243b80, #1d2f66);
	background-image: -moz-linear-gradient(#243b80, #1d2f66);
	background-image: -ms-linear-gradient(#243b80, #1d2f66);
	background-image: -o-linear-gradient(#243b80, #1d2f66);
	background-image: linear-gradient(#243b80, #1d2f66);
	cursor: pointer;
	border: 1px solid #1d2f66;
	border-bottom-color: #16234d;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	cursor: pointer;
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
}

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

.tmf-button:active,
.page-numbers:active {
	background-color: #1d2f66;
	background-image: url(../ie-gradient.php?from=1d2f66&to=243b80);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1d2f66), to(#243b80));
	background-image: -webkit-linear-gradient(#1d2f66, #243b80);
	background-image: -moz-linear-gradient(#1d2f66, #243b80);
	background-image: -ms-linear-gradient(#1d2f66, #243b80);
	background-image: -o-linear-gradient(#1d2f66, #243b80);
	background-image: linear-gradient(#1d2f66, #243b80);
	border: 1px solid #1d2f66;
	border-top-color: #16234d;
	text-decoration: none;
}

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

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

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

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

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



/* ======================================== *
	Responsive Layout
 * ======================================== */
@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: 500px) {
	.not-mobile {
		display: none;
	}

	.mobile {
		display: inherit;
	}
}