/* ============================================================================ *
	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: url(../images/background.png) repeat;
	font-size: 16px;
	color: #444749;
	font-family: "Lato", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

a {
	color: #0f75bc;
}


/* ======================================== *
	Headers
 * ======================================== */
h1#page-title,
.editor-content h1 {
	font-size: 1.5em;
	line-height: 1.1em;
	font-weight: 400;
	margin-bottom: 50px;
	color: #0f75bc;
}

.tmf-post > h2,
.editor-content h2 {
	font-size: 1.25em;
	line-height: 1.1em;
	font-weight: 400;
	margin-bottom: 0;
	color: #16376b;
}

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

.tmf-post > h3,
h3.tmf-module-title {
	font-size: 1.35em;
	font-weight: 400;
	margin-bottom: 15px;
	color: #0f75bc;
}

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

.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 {}
#secondary-nav .menu > .menu-item {}
#secondary-nav .menu > .menu-item.first {}
#secondary-nav .menu > .menu-item.last {}
#secondary-nav .menu > .menu-item > a {}
#secondary-nav .menu > .menu-item:hover > a {}



/* ======================================== *
	Header Section
 * ======================================== */
#header-wrapper {
	overflow-y: hidden;
	position: relative;
	z-index: 4;
}

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

#header {
	padding: 25px 0;
	-webkit-box-shadow: 0 0 15px rgba(0,0,0, 0.3);
	-moz-box-shadow: 0 0 15px rgba(0,0,0, 0.3);
	box-shadow: 0 0 15px rgba(0,0,0, 0.3);
}

#header a {
	color: #16376b;
}

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

#header-cell-2 {
	color: #0f75bc;
	text-transform: uppercase;
	font-size: 1.35em;
	text-align: right;
	line-height: 1.3em;
	vertical-align: middle;
}

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

div#alert-container {
    background: #16376b;
    text-align: center;
    color: #fff;
    padding: 20px 0;
}

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

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

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

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

	#header-cell-2 {
		font-size: 1.3em;
		padding-top: 0;
	}

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

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

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

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


/* ======================================== *
	Primary Navigation Section
 * ======================================== */
#primary-nav-wrapper {}
#primary-nav-container {
	background-color: #0f75bc;
}
#primary-nav {
	-webkit-box-shadow: 0 0 15px rgba(0,0,0, 0.3);
	-moz-box-shadow: 0 0 15px rgba(0,0,0, 0.3);
	box-shadow: 0 0 15px rgba(0,0,0, 0.3);
}
#primary-nav .menu > .menu-item {
	background: url(../images/nav-divider.jpg) no-repeat left center;
}
#primary-nav .menu > .menu-item.first {
	background: none;
}
#primary-nav .menu > .menu-item.last {}
#primary-nav .menu > .menu-item > a {
	color: #fff;
	font-weight: 700;
	font-size: 17px;
	text-transform: uppercase;
	padding: 15px;

}
#primary-nav .menu > .menu-item:hover {}
#primary-nav .menu > .menu-item:hover > a {
	text-decoration: underline;
}

#primary-nav .menu .sub-menu {
	background-color: #0f75bc;
}
#primary-nav .menu .sub-menu .menu-item > a {
	color: #fff;
	font-size: 15px;
}
#primary-nav .menu .sub-menu .menu-item:hover > a {
	background-color: #25aae1;
}

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

/* 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 {
	background: none;
}
html.mobile-nav #primary-nav .menu > .menu-item > a{
	border-left: none;
	border-top: 1px solid #25aae1;
	padding: 10px 0;
	font-size: 15px;
}


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

#billboard {
	-webkit-box-shadow: 0 0 15px rgba(0,0,0, 0.3);
	-moz-box-shadow: 0 0 15px rgba(0,0,0, 0.3);
	box-shadow: 0 0 15px rgba(0,0,0, 0.3);
	background-color: #fff;
}

#billboard-cell-1 {
	background-color: #16376b;
	height: 400px;
	color: #fff;
}

#billboard .tmf-post {
	padding-top: 25px;
	font-size: 1.2em;
}

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

@media screen and (max-width: 750px) {
	#billboard-cell-2 {
		display: none;
	}
}

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

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

#body {
	padding: 25px 0;
	-webkit-box-shadow: 0 0 15px rgba(0,0,0, 0.3);
	-moz-box-shadow: 0 0 15px rgba(0,0,0, 0.3);
	box-shadow: 0 0 15px rgba(0,0,0, 0.3);
}

#body #sidebar-image {
	margin-bottom: 25px;
	-webkit-box-shadow: 0 0 0 4px #fff, 0 0 5px 4px rgba(0,0,0, 0.3);
	-moz-box-shadow: 0 0 0 4px #fff, 0 0 5px 4px rgba(0,0,0, 0.3);
	box-shadow: 0 0 0 4px #fff, 0 0 5px 4px rgba(0,0,0, 0.3);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

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

#footer-container {
	padding: 0;
	background-color: #0f75bc;
	border-top: 7px solid #25aae1;
}

#footer {
	padding: 25px 0;
	color: #fff;
	-webkit-box-shadow: 0 0 15px rgba(0,0,0, 0.3);
	-moz-box-shadow: 0 0 15px rgba(0,0,0, 0.3);
	box-shadow: 0 0 15px rgba(0,0,0, 0.3);
}

#footer a {
	color: #b0dcf8;
}

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

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

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


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

#copyright-container {
	padding: 0;
}

#copyright {
	color: #404040;
	text-align: center;
	font-size: .9em;
	padding: 25px 0;
}

#copyright a {
	color: #404040;
}

/* ======================================== *
	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: #0e75bc;
	background-image: url(../ie-gradient.php?from=0e75bc&to=0b5e96);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0e75bc), to(#0b5e96));
	background-image: -webkit-linear-gradient(#0e75bc, #0b5e96);
	background-image: -moz-linear-gradient(#0e75bc, #0b5e96);
	background-image: -ms-linear-gradient(#0e75bc, #0b5e96);
	background-image: -o-linear-gradient(#0e75bc, #0b5e96);
	background-image: linear-gradient(#0e75bc, #0b5e96);
	cursor: pointer;
	border: 1px solid #0b5e96;
	border-bottom-color: #094e7d;
	-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: #0f7ec9;
	background-image: url(../ie-gradient.php?from=0f7ec9&to=0e75bc);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0f7ec9), to(#0e75bc));
	background-image: -webkit-linear-gradient(#0f7ec9, #0e75bc);
	background-image: -moz-linear-gradient(#0f7ec9, #0e75bc);
	background-image: -ms-linear-gradient(#0f7ec9, #0e75bc);
	background-image: -o-linear-gradient(#0f7ec9, #0e75bc);
	background-image: linear-gradient(#0f7ec9, #0e75bc);
	text-decoration: none;
}

.tmf-button:active,
.page-numbers:active {
	background-color: #0b5e96;
	background-image: url(../ie-gradient.php?from=0b5e96&to=0e75bc);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0b5e96), to(#0e75bc));
	background-image: -webkit-linear-gradient(#0b5e96, #0e75bc);
	background-image: -moz-linear-gradient(#0b5e96, #0e75bc);
	background-image: -ms-linear-gradient(#0b5e96, #0e75bc);
	background-image: -o-linear-gradient(#0b5e96, #0e75bc);
	background-image: linear-gradient(#0b5e96, #0e75bc);
	border: 1px solid #0b5e96;
	border-top-color: #094e7d;
	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: .85em;
	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;
	}
}