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

a {
	color: #124856;
}



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

	.mobile {
		display: inherit;
	}
}



/* ======================================== *
	Header 1
 * ======================================== */
h1#page-title,
.editor-content h1 {
	font-size: 30px;
	line-height: 1.1em;
	font-weight: 700;
	margin-bottom: 25px;
	color: #124856;	
}


/* ======================================== *
	Header 2
 * ======================================== */
.tmf-post > h2 {
	font-size: 22px;
	line-height: 22px;
	font-weight: 700;
	margin-bottom: 0;
	color: #36a2c7;
}

.tmf-post > h2 a {
	color: #36a2c7;
}

/* ======================================== *
	Header 3
 * ======================================== */
.tmf-post > h3,
h3.tmf-module-title {
	font-weight: 700;
	margin-bottom: 25px;
	color: #124856;
	font-size: 22px;
	text-transform: uppercase;
}

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

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


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

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

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


/* ======================================== *
	Secondary Navigation Section
 * ======================================== */
#secondary-nav-wrapper {}
#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 {}
#secondary-nav .menu > .menu-item:hover a {}
#secondary-nav .menu:hover > .menu-item.current-menu-item > a {}

/* ======================================== *
	Header Section
 * ======================================== */
#header-wrapper {
	background-image: url(../images/header-background.png);
	background-size: cover;
	border-bottom: 1px solid #0f3547;
	-webkit-box-shadow: 0 8px 10px rgba(0,0,0,0.2);
	box-shadow: 0 8px 10px rgba(0,0,0,0.2);
	z-index: 10;
}

#header {
	padding: 20px 0 8px;
}

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

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

#header-cell-2 {
	text-align: right;
	color: #fff;
	font-size: 18px;
	text-shadow: 0 1px 2px rgba(0,0,0, 0.7);
	vertical-align: middle;
}

#header-cell-2 p {
	line-height: 1.4em;
}

#header-cell-2 .email {
	font-size: .85em;
	text-decoration: underline;
}

#header-cell-2 a {
	color: #fff;
	text-decoration: none;
}

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

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

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

	#header {
		padding: 15px 0;
	}
}

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


/* ======================================== *
	Primary Navigation Section
 * ======================================== */
#primary-nav-wrapper {
	background-color: #297089;
}

#primary-nav {
	border-right: 1px solid #37788e;
	border-left: 1px solid #236076;
	margin-left: 25px;
	margin-right: 25px;
}

#primary-nav .menu {}
#primary-nav .menu > .menu-item {
	border-left: 1px solid #37788e;
	border-right: 1px solid #236076;
}
#primary-nav .menu > .menu-item.first {}
#primary-nav .menu > .menu-item.last {}
#primary-nav .menu > .menu-item > a {
	text-transform: uppercase;
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	text-shadow: 0 1px 2px rgba(0,0,0, 0.5);
	padding: 17px 0px 12px 0px;
}

#primary-nav .menu > .menu-item:hover {

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

}
#primary-nav .menu:hover > .menu-item.current-menu-item > a {}

#primary-nav .menu .sub-menu {
	background-color: #37a2c7;
}
#primary-nav .menu .sub-menu .menu-item {}
#primary-nav .menu .sub-menu .menu-item.first {}
#primary-nav .menu .sub-menu .menu-item.last {}
#primary-nav .menu .sub-menu .menu-item a {
	color: #fff;
}
#primary-nav .menu .sub-menu .menu-item:hover {}
#primary-nav .menu .sub-menu .menu-item:hover > a {
	background-color: #124856;
}

#primary-nav .menu-bar {
	color: #fff;
	text-transform: uppercase;
	text-shadow: 0 1px 2px rgba(0,0,0, 0.5);
	font-weight: 700;
	font-size: 16px;
}

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

html.mobile-nav #primary-menu {}

html.mobile-nav #primary-menu .menu > .menu-item {
	border-left: none;
	border-right: none;
}

html.mobile-nav #primary-nav .menu > .menu-item > a {
	padding: 10px 15px;
	border-top: 1px solid rgba(255,255,255, 0.2);
}
html.mobile-nav #primary-menu .menu-item {}


@media screen and (max-width: 1200px) {
	#primary-nav {
		border-right: none;
		border-left: none;
		margin-left: 0;
		margin-right: 0;
	}
}


/* ======================================== *
	Billboard
 * ======================================== */
#billboard-wrapper {
	background: url(../images/home_billboard_bg.jpg) no-repeat top center;
	-webkit-background-size: cover;
	background-size: cover;
	border-bottom: 15px solid #124856;
}

#billboard {
	text-align: center;
	padding-top: 125px;
}

#billboard p {
	color: #fff;
	font-size: 45px;
	margin-bottom: 50px;
	display: block;
	text-shadow: 0 0px 6px rgba(0,0,0, 1);
	font-weight: 700;
}

#billboard-buttons {
	display: table;
	width: 100%;
	border-spacing: 12px;
}

#billboard-buttons > a {
	font-size: .9em;
	width: 25%;
	display: table-cell;
	padding: 15px 10px;
	background-color: #6fbdc0;
	background-image: url(../ie-gradient.php?from=6fbdc0&to=4da1a5);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6fbdc0), to(#4da1a5));
	background-image: -webkit-linear-gradient(#6fbdc0, #4da1a5);
	background-image: -moz-linear-gradient(#6fbdc0, #4da1a5);
	background-image: -ms-linear-gradient(#6fbdc0, #4da1a5);
	background-image: -o-linear-gradient(#6fbdc0, #4da1a5);
	background-image: linear-gradient(#6fbdc0, #4da1a5);
	cursor: pointer;
	border: 1px solid #4ba9ad;
	border-bottom-color: #409094;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0,0,0, 0.5);
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.2em;
	text-align: center;
	vertical-align: middle;
}

@media screen and (max-width: 950px) {
	#billboard-wrapper {
		height: 350px;
	}

	#billboard {
		padding-top: 75px;
	}

	#billboard-buttons > a {
		font-size: .8em;
	}
}

@media screen and (max-width: 650px) {
	#billboard-buttons {
		display: block;
		width: auto;
	}

	#billboard .slogan {
		font-size: 1.5em;
		margin-bottom: 25px;
	}

	#billboard-wrapper {
		height: auto;
	}

	#billboard {
		padding-top: 25px;
		padding-bottom: 25px;
	}

	#billboard-buttons > a {
		display: block;
		width: auto;
		margin-bottom: 10px;
	}
}


/* ======================================== *
	Tagline
 * ======================================== */
#tagline {
	background-color: #435256;
	padding: 25px 25px;
	font-size: 36px;
	line-height: 1.2em;
	color: #fff;
	text-align: center;
	text-shadow: 0 2px 4px rgba(0,0,0,0.6);
	font-weight: 700;
}

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

/* ======================================== *
	Body Section
 * ======================================== */
#body-wrapper {
	border-bottom: 1px solid #b4b3b0;
}

#body {
	padding: 50px 0 100px;
}

#body .sidebar-image {
	border: 3px solid #fff;
	outline: 1px solid #e0e0e0;
	margin-bottom: 25px;
	width: 100%;
	max-width: 340px;
}

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


/* ======================================== *
	Footer Section
 * ======================================== */
#footer-wrapper {
	background-color: #e6e6e6;
	border-top: 1px solid #fff;
	border-bottom: 5px solid #36a2c7;
}

#footer {
	padding: 34px 0 50px;
}

#footer #banner {
	background: url(../images/background-banner.png) no-repeat center center;
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	height: 107px;
	margin-top: -153px;
	margin-bottom: 50px;
	padding: 0 25px;
}

#banner-table h1 {
	font-size: 1.2em;
	margin-bottom: 0;
}

#banner-table td {
	vertical-align: middle;
}

#banner-row > .cell {
	vertical-align: middle;
}

#footer .tmf-button {
	text-decoration: none;
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 350px;
	text-align: center;
	padding: 10px;
	margin-top: 20px;
}

#footer-cell-3 {
	color: #124856;
	font-size: 14px;
}

#footer-cell-3 .editor-content {
	font-family: 'Lora', serif;
}

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

	#footer #banner {
		margin-bottom: 25px;
		background: #3a5a68;
		background: url(assets/ie-gradient.php?from=3a5a68&to=1a3f4f);
		background: -webkit-gradient(linear, 0 0, 0 100%, from(#3a5a68), to(#1a3f4f));
		background: -webkit-linear-gradient(#3a5a68, #1a3f4f);
		background: -moz-linear-gradient(#3a5a68, #1a3f4f);
		background: -ms-linear-gradient(#3a5a68, #1a3f4f);
		background: -o-linear-gradient(#3a5a68, #1a3f4f);
		background: linear-gradient(#3a5a68, #1a3f4f);
		height: auto;
		padding-top: 15px;
		padding-bottom: 15px;
	}


}

@media screen and (min-width: 850px) and (max-width: 1000px) {
	
	#footer .tmf-button {
		font-size: .7em;
		padding: 5px;
	}
}

@media screen and (max-width: 650px) {
	#banner-table,
	#banner-table tr,
	#banner-table td {
		display: block;
		text-align: center;
	}

	#banner-table td:first-child {
		margin-bottom: 25px;
	}

}

/* ======================================== *
	Copyright Section
 * ======================================== */
#copyright-wrapper {
	background-color: #124856;
	border-top: 1px solid #0e3346;
}

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

#copyright a {
	color: #fff;
	font-size: .95em;
}


/* ======================================== *
	Modules
 * ======================================== */
.tmf-multi-module-area .tmf-module {
	margin-bottom: 50px;
	-webkit-box-shadow: 0px 0px 10px 2px rgba(136,136,136,1);
	-moz-box-shadow: 0px 0px 10px 2px rgba(136,136,136,1);
	box-shadow: 0px 0px 10px 2px rgba(136,136,136,1);
}

#body .tmf-module h3.tmf-module-title {
	background-color: #5eb5d2;
	background-image: url(../ie-gradient.php?from=5eb5d2&to=37a2c7);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5eb5d2), to(#37a2c7));
	background-image: -webkit-linear-gradient(#5eb5d2, #37a2c7);
	background-image: -moz-linear-gradient(#5eb5d2, #37a2c7);
	background-image: -ms-linear-gradient(#5eb5d2, #37a2c7);
	background-image: -o-linear-gradient(#5eb5d2, #37a2c7);
	background-image: linear-gradient(#5eb5d2, #37a2c7);
	padding: 15px;
	color: #fff;
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 400;
	margin-bottom: 0;
	text-shadow: 0 1px 2px rgba(0,0,0, 0.5);
}

#body .tmf-module h3.tmf-module-title a {
	color: #fff;
}

#body .tmf-module .tmf-module-content {
	padding: 15px;
	background-color: #fafafa;
}

.tmf-module-109 .tmf-module-content {
	text-align: center;
}

.tmf-module-109 .tmf-module-content img {
	margin: 5px 5px 0;
	vertical-align: middle;
}


/* ======================================== *
	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: 20px;
	padding: 5px;
	background-color: #36a2c7;
	cursor: pointer;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0,0,0, 0.5);
	font-weight: 700;
}

.tmf-button:hover,
.page-numbers:hover {
	background-color: #124856;
	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;
}