/* ============================================================================ *
	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: #ffffff;
	color: #000000;
	font-family: 'Quattrocento Sans', sans-serif;
	font-size: 19px;
	font-weight: 400;
}

a {
	color: #244267;
}


/* ======================================== *
	Header 1
 * ======================================== */
h1,
h1#page-title,
.editor-content h1 {
	color: #244267;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1em;
	margin-bottom: 15px;
	text-transform: uppercase;
}


/* ======================================== *
	Header 2
 * ======================================== */
h2,
.tmf-post > h2,
.editor-content h2 {
	color: #244267;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2em;
	margin-bottom: 15px;
}

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

/* ======================================== *
	Header 3
 * ======================================== */
h3,
.tmf-post > h3,
h3.tmf-module-title {
	color: #172a41;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1em;
	margin-bottom: 15px;
}

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


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

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

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


/* ======================================== *
        Secondary Navigation Section
 * ======================================== */
#secondary-nav-wrapper {}
#secondary-nav{}
#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 {}

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


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

#header-container {
	max-width: 1250px;
}

#header {
	padding: 40px 0;
}

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

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

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

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

#header-cell-2 {
	color: #244267;
	font-size: 26px;
	font-weight: 700;
	line-height: 30px;
	text-align: right;
}

#header-cell-2 .phone-1,
#header-cell-2 .email{
	font-weight: 400;
}

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

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

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


/* ======================================== *
	Primary Navigation Section
 * ======================================== */
#primary-nav-wrapper {
	background: #244267;
	font-family: 'Quattrocento Sans', sans-serif;
}

#primary-nav-container{
	border-left: 1px solid #435d7c;
	border-right: 1px solid #223e61;
}

#primary-nav .menu {}
#primary-nav .menu > .menu-item {
	border-left: 1px solid #223e61;
	border-right: 1px solid #435d7c;
}

#primary-nav .menu > .menu-item.first {}
#primary-nav .menu > .menu-item.last {}

#primary-nav .menu > .menu-item > a {
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	text-decoration: none;
	text-transform: uppercase;
	padding: 15px 10px;
}

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

#primary-nav .menu .sub-menu {
	background-color: #16283e;
}

#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;
	font-size: 16px;
	font-weight: 400;
	padding: 10px 15px;
}
#primary-nav .menu .sub-menu .menu-item:hover {}
#primary-nav .menu .sub-menu .menu-item:hover > a {
	background-color: #244267;
}

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

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

html.mobile-nav #primary-menu {}
html.mobile-nav #primary-menu .menu > .menu-item {}
html.mobile-nav #primary-nav .menu > .menu-item > a {}
html.mobile-nav #primary-menu .menu-item {}

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

@media screen and (max-width: 1050px) {
	#primary-nav .menu > .menu-item > a {
		font-size: 18px;
		padding: 15px 9px;
	}
}

@media screen and (max-width: 950px) {
	#primary-nav .menu > .menu-item > a {
		font-size: 17px;
		padding: 15px 5px;
	}
}

/* ======================================== *
    Mobile Menu
 * ======================================== */
#mobile-nav-wrapper {
    font-family: 'Quattrocento Sans', sans-serif;
}

#mobile-nav a {
    color: #fff;
    font-size: 16px;
}

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

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

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

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

#mobile-nav .menu > .current-menu-item,
#mobile-nav .menu > .menu-item:hover {
    background: #16283e;
}


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

#billboard-container{
	max-width: 100%;
	border-bottom: 15px solid #244267;
}

#billboard .modern-slider {
	border: none;
	margin: 0;
}

#billboard .billboard-content {
	padding: 0 12px;
	position: absolute;
	bottom: 10px;
	max-width: 1200px;
	z-index: 2;
	text-align: center;
	margin: 0 auto;
	left: 0;
	right: 0;
}

#billboard .tmf-button {
    background-color: #244267;
    -webkit-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.2);
    display: inline-flex;
    max-width: 280px;
    width: 100%;
    box-sizing: border-box;
    font-size: 22px;
    margin: 0 10px 20px;
    line-height: 24px;
    padding: 5px 15px;
    height: 70px;
    align-items: center;
    justify-content: center;
    vertical-align: top;
}

#billboard .tmf-button:hover {	
	background-color: #294c76;
}

@media screen and (max-width: 950px) {
	#billboard .billboard-content {
		max-width: 100%;
	    background: #ffffff;
	    padding: 25px 12px 1px;
	    position: inherit;
	    bottom: inherit;
	    left: inherit;
	    right: inherit;
	}

	#billboard .tmf-button {
	    -webkit-box-shadow: none;
	    -moz-box-shadow: none;
	    box-shadow: none;
	}
}

@media screen and (max-width: 550px) {
	#billboard .tmf-button {
	    margin: 0 0 25px;
	}
}


/* ======================================== *
	Body Section
 * ======================================== */
#body-wrapper {}
#body-container {
	max-width: 1250px;
}

#body{
    padding: 35px 0;
}

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

.tmf-module-area .tmf-module-home-testimonial{
	margin: 35px 0 25px;
    border-top: 3px solid #878988;
    border-bottom: 3px solid #878988;
    padding: 5px 0 25px;
}

.tmf-module-area .tmf-module-home-testimonial .tmf-button {
    display: inline-block;
    box-sizing: border-box;
    max-width: 300px;
    width: 100%;
    padding: 10px 15px;
}


/* ======================================== *
	Footer Section
 * ======================================== */
#footer-wrapper {
	border-top: 15px solid #244267;
	background: url(../images/footer_bg_1x.jpg) no-repeat center center / cover;
}

#footer-container {
	max-width: 950px;
}

#footer {
	padding: 35px 0 110px;
}

#footer .inner{
	padding: 0;
}

#footer h3.tmf-module-title {
	color: #ffffff;
	font-size: 30px;
	margin-bottom: 35px;
	text-transform: uppercase;
	text-align: center;
}

/* ======================================== *
	Copyright Section
 * ======================================== */
#copyright-wrapper {
	background: #244267;
}

#copyright-container {}

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

#copyright a {
	color: #ffffff;
}


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

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

.tmf-multi-module-area .tmf-module h3,
.tmf-multi-module-area .tmf-module h3.tmf-module-title {
	color: #244267;
	font-size: 28px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 15px;
}

.tmf-multi-module-area .tmf-module-22 h3 {
	color: #ffffff;
	text-align: center;
}

.tmf-multi-module-area .tmf-module-22 .editor-content .aligncenter {
    margin-bottom: 15px;
}

.tmf-multi-module-area .tmf-module-22 {
	background: #244267;
	padding: 15px;
}

.tmf-multi-module-area .tmf-module .tmf-button {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 25px auto 0;
	padding: 10px 15px;
}

#body-cell-1 .sidebar-image {
    max-width: 330px;
    width: 100%;
    float: right;
    margin-bottom: 0;
    margin-left: 15px;
}

#body-cell-2 .sidebar-image {
    margin-bottom: 40px;
    max-width: 366px;
    width: 100%;
}

@media screen and (max-width: 600px) {
    #body-cell-1 .sidebar-image {
        float: none;
        margin-bottom: 40px;
        margin-left: 0;
    }
}

/* ======================================== *
    Inputs & Buttons
 * ======================================== */
.gform_wrapper.tmf-form_wrapper input[type=text],
.gform_wrapper.tmf-form_wrapper input[type=tel],
.gform_wrapper.tmf-form_wrapper input[type=email],
.gform_wrapper.tmf-form_wrapper textarea,
.gform_wrapper.tmf-form_wrapper input[type=url],
.gform_wrapper.tmf-form_wrapper input[type=number],
.gform_wrapper.tmf-form_wrapper input[type=checkbox],
.gform_wrapper.tmf-form_wrapper input[type=radio],
.gform_wrapper.tmf-form_wrapper input[type=date],
.gform_wrapper.tmf-form_wrapper input[type=time],
.gform_wrapper.tmf-form_wrapper input[type=hidden],
.gform_wrapper.tmf-form_wrapper input[type=password],
.gform_wrapper.tmf-form_wrapper input[type=file],
.gform_wrapper.tmf-form_wrapper input[type=range],
.gform_wrapper.tmf-form_wrapper input[type=color],
.gform_wrapper.tmf-form_wrapper input[type=search],
.gform_wrapper.tmf-form_wrapper select {
    background: #fff;
    border: 1px solid #ffffff;
    color: #45484d;
    font-size: 14px !important;
    margin-bottom: 25px !important;
    max-width: 100%;
    padding: 12px 10px !important;
}

textarea {
    height: 100px !important;
}

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

input[type=submit],
.tmf-button,
.page-numbers {
	padding: 15px;
	background-color: #646464;
	border: none;
	cursor: pointer;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	text-align: center;
	text-decoration: none !important;
	color: #fff;
	font-family: 'Quattrocento Sans', sans-serif;
	font-size: 18px;
	font-weight: 700;
}

input[type=submit]:hover,
.tmf-button:hover,
.page-numbers:hover {
	background-color: #747474;
	color: #fff !important;
	text-decoration: none !important;
}

input[type=submit]:active,
.tmf-button:active,
.page-numbers:active {
	background-color: #646464;
	color: #fff !important;
	text-decoration: none !important;
}

.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;
	color:#595959;
	border: 1px solid #ddd;
}
.page-numbers.current:hover {
color:#595959!important;
}

.vcard .value {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -106px 2px;
    background-size: 718px;
    height: 22px;
    width: 27px;
}


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

/* ======================================== *
        Table CSS
 * ======================================== */
table {
  border-collapse: collapse;
  padding: 0;
  width: 100%;
}

table tr {}

table th, 
table td {
    width: 50%;
    padding: 15px 15px 15px 0;
}

table th:last-child, 
table td:last-child {
    padding: 15px 0;
}

table th {}

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table thead {
    display: none;
  }

  table tr {
    display: block;
  }

  table td {
    width: 100%;
    display: block;
  }
}


/* ======================================== *
        Miscellaneous
 * ======================================== */
aside {
    color: #413d38;
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 26px;
    font-style: italic;
    font-weight: 700;
    line-height: 34px; 
}

aside.left {
    border-top: 6px solid #244267; 
    border-bottom: 6px solid #244267; 
}

aside.right {
    border-top: 6px solid #244267; 
    border-bottom: 6px solid #244267; 
}

blockquote {
    color: #244267;
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 26px;
    font-style: italic;
    font-weight: 700;
    line-height: 34px;
    position: relative;
    margin: 0;
    padding: 0 0 0 40px;
    z-index: 9;
}

blockquote:after {
    content: "“";
    display: inline-block;
    font-family: Georgia;
    font-size: 400px;
    position: absolute;
    left: -15px;
    color: #e9e8e8;
    top: 140px;
    z-index: -9;
    font-style: normal;
}

#breadcrumbs {
    color: #484848;
    font-size: 15px;
    margin: 0 0 15px;
}

#breadcrumbs a{
    color: #484848;
    text-decoration: underline;
}

#breadcrumbs a:hover{
    text-decoration: none;
}

.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;
    }
}


/* ======================================== *
        Gravity Form
 * ======================================== */
.gform_wrapper.tmf-form_wrapper {
    margin: 0 !important;
}

.gform_wrapper.tmf-form_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text],
.gform_wrapper.tmf-form_wrapper input[type=text],
.gform_wrapper.tmf-form_wrapper textarea {
    margin: 0;
}

.gform_wrapper.tmf-form_wrapper .top_label .gfield_label {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

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

.gform_wrapper.tmf-form_wrapper ul li.gfield {
    margin-top: 0;
    padding-top: 0;
}

.gform_wrapper.tmf-form_wrapper .top_label div.ginput_container {
    margin-top: 0;
}

.gform_wrapper.tmf-form_wrapper .gform_footer{
	padding-top: 0;
	margin-top: 10px;
	text-align: center;
}

.gform_wrapper.tmf-form_wrapper .gform_footer input.button,
.gform_wrapper.tmf-form_wrapper input[type=submit] {
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 18px;
    border: none;
    padding: 15px 15px;
    box-sizing: border-box;
    width: 100%;
    margin-right: 0;
}