/* ============================================================================ *
	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/page_bg.png') repeat;
	color: #333333;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
}

a {
	color: #224468;
}

table, td {
    border: 1px solid;
    border-collapse: collapse;
    padding: 2px;
}


/* ======================================== *
	Headers
 * ======================================== */
h1#page-title,
.editor-content h1 {
	font-family: 'Cardo', serif;
	font-size: 28px;
	line-height: 1.1em;
	font-weight: 700;
	margin-bottom: 15px;
	color: #224468;
}

.tmf-post > h2,
.editor-content h2 {
	font-family: 'Cardo', serif;
	font-size: 22px;
	line-height: 1.1em;
	font-weight: 700;
	margin-bottom: 15px;
	color: #636363;
}

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

.tmf-post > h3,
.editor-content h3,
h3.tmf-module-title {
	font-family: 'Cardo', serif;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 15px;
	color: #000000;
}

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

.tmf-post > h4,
.editor-content h4 {
	font-family: 'Cardo', serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.2em;
	color: #224468;
}

.tmf-post > h4 a,
.editor-content h4 a {
	color: #224468;
	text-decoration: none;
}

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



/* ======================================== *
	Shadow CSS
 * ======================================== */

#header-container,
#primary-nav-container,
#slogan-container,
#billboard-container,
#body-container,
#footer-container,
#copyright-container {
	box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.1);
}

#header-wrapper,
#slogan-wrapper,
#body-wrapper,
#footer-wrapper {
	overflow-y: hidden;
	z-index: 1;
}

/*#header-container:before,
#primary-nav-container:before,
#slogan-container:before,
#billboard-container:before,
#body-container:before,
#footer-container:before,
#copyright-container:before {
	-webkit-box-shadow: -15px 0 15px -15px inset rgba(0,0,0, 0.2);
	-moz-box-shadow: -15px 0 15px -15px inset rgba(0,0,0, 0.2);
    box-shadow: -15px 0 15px -15px inset rgba(0,0,0, 0.2);
    content: " ";
    height: 100%;
    left: -15px;
    position: absolute;
    top: 0;
    width: 15px;
}
#header-container:after,
#primary-nav-container:after,
#slogan-container:after,
#billboard-container:after,
#body-container:after,
#footer-container:after,
#copyright-container:after {
	-webkit-box-shadow: 15px 0 15px -15px inset rgba(0,0,0, 0.2);
	-moz-box-shadow: 15px 0 15px -15px inset rgba(0,0,0, 0.2);
    box-shadow: 15px 0 15px -15px inset rgba(0,0,0, 0.2);
    content: " ";
    height: 100%;
    position: absolute;
    right: -15px;
    width: 15px;
    top: 0;
}*/

@media screen and (max-width: 1250px) {
	#header-container,
	#primary-nav-container,
	#slogan-container,
	#billboard-container,
	#body-container,
	#footer-container,
	#copyright-container {
		box-shadow: none;
	}
}

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

/* ======================================== *
	Header Section
 * ======================================== */
#header-wrapper {}
#header-container {
	background-color: #fbfbfb;
    background-image: url(../ie-gradient.php?from=fbfbfb&to=eaeaea);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbfbfb), to(#eaeaea));
    background-image: -webkit-linear-gradient(#fbfbfb, #eaeaea);
    background-image: -moz-linear-gradient(#fbfbfb, #eaeaea);
    background-image: -ms-linear-gradient(#fbfbfb, #eaeaea);
    background-image: -o-linear-gradient(#fbfbfb, #eaeaea);
    background-image: linear-gradient(#fbfbfb, #eaeaea);
}

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

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

#header a:hover {
	text-decoration: underline;
}

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

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

#header-cell-2 {
	font-family: 'Cardo', serif;
	font-size: 24px;
	text-align: right;
	color: #224468;
	font-weight: 700;
	line-height: 30px;
}

#header-cell-2 .phone-1 {
	font-size: 34px;
}

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

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

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

#primary-nav {
	padding: 0;
	background-color: #224468;
    background-image: url(../ie-gradient.php?from=224468&to=1a3450);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#224468), to(#1a3450));
    background-image: -webkit-linear-gradient(#224468, #1a3450);
    background-image: -moz-linear-gradient(#224468, #1a3450);
    background-image: -ms-linear-gradient(#224468, #1a3450);
    background-image: -o-linear-gradient(#224468, #1a3450);
    background-image: linear-gradient(#224468, #1a3450);
	border-radius: 8px;
	max-width: 1170px;
	margin: auto;
}

#primary-nav .menu {

}

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

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

#primary-nav .menu > .menu-item.last {}
#primary-nav .menu > .menu-item > a {
	color: #fff;
	font-size: 20px;
	padding: 15px 15px;
}

#primary-nav .menu > .menu-item.first:hover,
#primary-nav .menu > .menu-item.current-menu-item.first {
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

#primary-nav .menu > .menu-item.last:hover,
#primary-nav .menu > .menu-item.current-menu-item.last {
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
}

#primary-nav .menu > .menu-item:hover,
#primary-nav .menu > .menu-item.current-menu-item {
	background-color: #636363;
    background-image: url(../ie-gradient.php?from=636363&to=4c4c4c);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#636363), to(#4c4c4c));
    background-image: -webkit-linear-gradient(#636363, #4c4c4c);
    background-image: -moz-linear-gradient(#636363, #4c4c4c);
    background-image: -ms-linear-gradient(#636363, #4c4c4c);
    background-image: -o-linear-gradient(#636363, #4c4c4c);
    background-image: linear-gradient(#636363, #4c4c4c);
}

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

#primary-nav .menu .sub-menu {
	background-color: #4c4c4c;
	border-top: 1px solid #e4e4e4;
}

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

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

}

#primary-nav .menu-bar {
	/*background-color: #1f69b2;*/
	color: #fff;
}

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

html.mobile-nav #primary-nav {
	max-width: 100%;
	border-radius: 0;
}

html.mobile-nav #primary-nav .menu > .menu-item.first:hover {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

html.mobile-nav #primary-nav .menu > .menu-item.last:hover {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

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

/* ======================================== *
	Slogan
 * ======================================== */
 #slogan-container{
	background-color: #e8e8e8;
    background-image: url(../ie-gradient.php?from=e8e8e8&to=e0e0e0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e8e8e8), to(#e0e0e0));
    background-image: -webkit-linear-gradient(#e8e8e8, #e0e0e0);
    background-image: -moz-linear-gradient(#e8e8e8, #e0e0e0);
    background-image: -ms-linear-gradient(#e8e8e8, #e0e0e0);
    background-image: -o-linear-gradient(#e8e8e8, #e0e0e0);
    background-image: linear-gradient(#e8e8e8, #e0e0e0);
 }

 #slogan {
 	padding: 10px 0;
 	font-family: 'Cardo', serif;
	line-height: normal;
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	color: #224468;
	border-bottom: 14px solid #224468;
}

.home #slogan{
    border-bottom: none;
}


/* ======================================== *
	Billboard
 * ======================================== */
#billboard-container {
	background: url(../images/home_billboard_1x.jpg) no-repeat 50% 50%;
}

#billboard-container #billboard {
	height: 480px;
	background: url(../images/curve.png) no-repeat 100% 100%;
	text-align: right;
}

#billboard .billboard-content {
    padding-top: 50px;
}

#billboard .tmf-button {
    display: block;
    background-color: #626262;
    background-image: url(../ie-gradient.php?from=626262&to=4c4c4c);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#626262), to(#4c4c4c));
    background-image: -webkit-linear-gradient(#626262, #4c4c4c);
    background-image: -moz-linear-gradient(#626262, #4c4c4c);
    background-image: -ms-linear-gradient(#626262, #4c4c4c);
    background-image: -o-linear-gradient(#626262, #4c4c4c);
    background-image: linear-gradient(#626262, #4c4c4c);
    border: 2px solid #fff;
    box-shadow: 0 0 5px #888;
    border-radius: 6px;
    max-width: 406px;
    width: 100%;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    line-height: normal;
    font-size: 22px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: 45px;
    padding: 10px 15px;
}
#billboard .tmf-button:hover {
    background-color: #4c4c4c;
    background-image: url(../ie-gradient.php?from=4c4c4c&to=626262);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4c4c4c), to(#626262));
    background-image: -webkit-linear-gradient(#4c4c4c, #626262);
    background-image: -moz-linear-gradient(#4c4c4c, #626262);
    background-image: -ms-linear-gradient(#4c4c4c, #626262);
    background-image: -o-linear-gradient(#4c4c4c, #626262);
    background-image: linear-gradient(#4c4c4c, #626262);	
}

.billboard-mobile-img {
	display: none;
}

@media (max-width: 900px) {
	#billboard-container,
	#billboard-container #billboard {
		background-color: #e0e0e0;
		background-image: none;
		height: auto;
	}

	#billboard .billboard-content {
	    padding: 0 0 20px;
	}

	#billboard-container .tmf-button {
		margin-left: auto;
		margin-right: auto;
		width: auto;
	}	

	#billboard-container .tmf-button.last-post {
		margin-bottom: 0;
	}

	.billboard-mobile-img {
		display: block;
		width: 100%;
	}

}


/* ======================================== *
	Body Section
 * ======================================== */
#body-wrapper {}

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

#body .inner {
	padding-top: 25px;
	padding-bottom: 25px;
}

#body-cell-2 {
    background-color: #aeaeae;
}

#body-cell-1 {
    background-color: #fff;
}

.home #body-cell-2 {
    width: 450px;
}

.home #body-cell-1 {
    width: auto;
}

@media screen and (min-width: 900px) {
	.home #body-cell-1 .inner {
		padding-left: 30px;
		padding-right: 30px;
	}
}

@media (max-width: 850px) {
	.home #body-cell-2 {
	    width: 100%;
	}
}

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

#footer-container {
	background-color: #ebebeb;
}

#footer {
	border-top: 24px solid #224468;
	padding: 50px 0;
}

#footer h3.tmf-module-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 15px;
	color: #224468;
}

#footer h3.tmf-module-title a {
	color: #224468;
}

#footer .tmf-button {
    display: block;
    text-align: center;
    padding: 15px;
    font-size: 20px;
}


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

#copyright-container {
	background-color: #224468;
	padding: 15px 0;
}

#copyright {
	color: #fff;
	font-size: 14px;
	text-align: center;
}
#copyright a {
	color: #fff;
}

/* ======================================== *
	Disclaimer Section
 * ======================================== */
#disclaimer-wrapper {}

#disclaimer-container {
	padding-top: 15px;
}

#disclaimer {
	color: #4c4c4c;
	font-size: 12px;
	text-align: center;
	padding-bottom: 25px;
}

#disclaimer .tmf-button {
    display: inline-block;
    background-color: #626262;
    background-image: url(../ie-gradient.php?from=626262&to=4c4c4c);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#626262), to(#4c4c4c));
    background-image: -webkit-linear-gradient(#626262, #4c4c4c);
    background-image: -moz-linear-gradient(#626262, #4c4c4c);
    background-image: -ms-linear-gradient(#626262, #4c4c4c);
    background-image: -o-linear-gradient(#626262, #4c4c4c);
    background-image: linear-gradient(#626262, #4c4c4c);
    -webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    font-size: 18px;
    padding: 15px 20px;
    max-width: 180px;
    width: 100%;
    margin-bottom: 10px;
}

#disclaimer .tmf-button:hover {
    background-color: #4c4c4c;
    background-image: url(../ie-gradient.php?from=4c4c4c&to=626262);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4c4c4c), to(#626262));
    background-image: -webkit-linear-gradient(#4c4c4c, #626262);
    background-image: -moz-linear-gradient(#4c4c4c, #626262);
    background-image: -ms-linear-gradient(#4c4c4c, #626262);
    background-image: -o-linear-gradient(#4c4c4c, #626262);
    background-image: linear-gradient(#4c4c4c, #626262);	
}

#disclaimer a {
	color: #4c4c4c;
}


/* ======================================== *
	Modules
 * ======================================== */
.tmf-multi-module-area .tmf-module {
	margin-bottom: 50px;
	max-width: 340px;
	margin-left: auto ;
	margin-right: auto ;
}

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

.tmf-multi-module-area .tmf-module h3.tmf-module-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 15px;
	color: #224468;
}

.sidebar-image {
    margin-bottom: 35px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

@media (max-width: 850px) {
	.tmf-multi-module-area .tmf-module {
		max-width: 100%;
		margin-left: 0; ;
		margin-right: 0; ;
	}

	.sidebar-image {
	    margin: 0 0 35px;
	    max-width: 100%;
	    display: block;
	}
}



/* ======================================== *
	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;
}

.gform_wrapper.tmf-form_wrapper .gform_footer input[type=submit],
.tmf-button,
.page-numbers {
	font-size: 18px;
	padding: 15px;
	background-color: #224468;
	background-image: url(../ie-gradient.php?from=224468&to=1a3450);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#224468), to(#1a3450));
	background-image: -webkit-linear-gradient(#224468, #1a3450);
	background-image: -moz-linear-gradient(#224468, #1a3450);
	background-image: -ms-linear-gradient(#224468, #1a3450);
	background-image: -o-linear-gradient(#224468, #1a3450);
	background-image: linear-gradient(#224468, #1a3450);
	cursor: pointer;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	cursor: pointer;
	text-decoration: none !important;
	color: #fff;
	font-weight: 700;
}

.gform_wrapper.tmf-form_wrapper .gform_footer input[type=submit]:hover,
.tmf-button:hover,
.page-numbers:hover {
	background-color: #1a3450;
	background-image: url(../ie-gradient.php?from=1a3450&to=224468);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#224468), to(#224468));
	background-image: -webkit-linear-gradient(#1a3450, #224468);
	background-image: -moz-linear-gradient(#1a3450, #224468);
	background-image: -ms-linear-gradient(#1a3450, #224468);
	background-image: -o-linear-gradient(#1a3450, #224468);
	background-image: linear-gradient(#1a3450, #224468);
	text-decoration: none;
}

.gform_wrapper.tmf-form_wrapper .gform_footer input[type=submit]:active,
.tmf-button:active,
.page-numbers:active {
	background-color: #224468;
	background-image: url(../ie-gradient.php?from=224468&to=1a3450);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#224468), to(#1a3450));
	background-image: -webkit-linear-gradient(#224468, #1a3450);
	background-image: -moz-linear-gradient(#224468, #1a3450);
	background-image: -ms-linear-gradient(#224468, #1a3450);
	background-image: -o-linear-gradient(#224468, #1a3450);
	background-image: linear-gradient(#224468, #1a3450);
	text-decoration: none;
}

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

.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;
	}
	#header-container {
		padding: 15px 0;
	}
}

@media screen and (max-width: 500px) {

}

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



/* ======================================== *
	Miscellaneous
 * ======================================== */
.vcard .value {
    background: url(../images/icon_sprite_1x.png);
    background-position: -137px 2px;
    width: 26px;
}

#breadcrumbs {
    color: #333333;
    font-size: 16px;
}

#breadcrumbs a {
    color: #333333;
}

.editor-content img { 
	max-width: 100% !important;
}

.mobile {
	display: none; 
	height: auto !important;
}

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

	.mobile {
		display: inherit;
	}
}


/* ======================================== *
        Gravity Form
 * ======================================== */
#body-cell-2 .gform_wrapper.tmf-form_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text],
#body-cell-2 .gform_wrapper.tmf-form_wrapper input[type=text],
#body-cell-2 .gform_wrapper.tmf-form_wrapper textarea {
    margin: 0;
}

#body-cell-2 .gform_wrapper.tmf-form_wrapper ul li.gfield {
    margin-bottom: 15px;
    margin-top: 0px;
}

#body-cell-2 .gform_wrapper.tmf-form_wrapper .top_label .gfield_label {
    margin-bottom: 15px;
}

#body-cell-2 .gform_wrapper.tmf-form_wrapper ul.gform_fields li.gfield {
    padding-right: 0 !important;
}

#body-cell-2 .gform_wrapper.tmf-form_wrapper ul.gform_fields input[type=text],
#body-cell-2 .gform_wrapper.tmf-form_wrapper ul.gform_fields textarea {
    background-color: #fff;
    font-size: 14px;
    color: #848484;
    font-style: normal;
    padding: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    max-width: 100%;
    border: 1px solid #c0c0c0;
}

#body-cell-2 .gform_wrapper.tmf-form_wrapper ul.gform_fields textarea{
    height: 100px;
}

#body-cell-2 .gform_wrapper.tmf-form_wrapper .gform_footer{
    text-align: center;
    margin: 0;
    padding: 0;
}

#body-cell-2 .gform_wrapper.tmf-form_wrapper .gform_footer input.button,
#body-cell-2 .gform_wrapper.tmf-form_wrapper input[type=submit] {
	font-family: 'Lato', sans-serif;
    cursor: pointer;
    font-size: 18px;
    border: none;
    width: 100%;
    padding: 20px 15px;
}

#body-cell-2 .gform_wrapper.tmf-form_wrapper .gform_footer input.button:hover,
#body-cell-2 .gform_wrapper.tmf-form_wrapper input[type=submit]:hover {

}