/* ============================================================================ *
	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: #fff;
    color: #666666;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

a {
    color: #1377b0;
}


/* ======================================== *
        Headers
 * ======================================== */
h1,
h1#page-title,
.editor-content h1 {
    color: #1377b0;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.1em;
    margin-bottom: 15px;
}

h2,
.tmf-post > h2,
.editor-content h2 {
    color: #666666;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2em;
    margin-bottom: 15px;
}

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

h3,
.tmf-post > h3, 
.editor-content h3 {
    color: #000000;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.1em;
    margin-bottom: 15px;
}

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

h4,
.tmf-post > h4, 
.editor-content h4 {
    color: #1377b0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1em;
}

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

h4 a:hover,
.tmf-post > h4 a:hover, 
.editor-content 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 {}

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

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

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

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

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

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

#header-cell-2 .inner{
    padding-left: 0;
}

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

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

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

    #header-cell-2 .inner{
        padding: 0;
    }
}


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

#primary-nav-container {}

#primary-nav {}

#primary-nav .menu {}
#primary-nav .menu > .menu-item {
    border-left: 1px solid #848484;
    vertical-align: top;
    text-align: left;
}

#primary-nav .menu > .menu-item.first {
    border-left: none;
}
#primary-nav .menu > .menu-item.last {}
#primary-nav .menu > .menu-item > a {
	color: #0876ae;
	font-size: 16px;
    font-weight: 400;
    line-height: 20px;
	text-transform: uppercase;
    padding: 10px 10px;
}

#primary-nav .menu > .menu-item.current-menu-item > a,
#primary-nav .menu > .menu-item:hover > a {
	color: #000000;
}

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

#primary-nav .menu .sub-menu {}

#primary-nav .menu .sub-menu li {
    background-color: #106696;
    top: 15px;
}

#primary-nav .menu .menu-item-698 .sub-menu li {
    top: 35px;
}

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

#primary-nav .menu .sub-menu .menu-item:hover > a {
    background-color: #1581bf;
	color: #ffffff;
	text-decoration: none;
}

#primary-nav .menu-bar {
	color: #ffffff;
	font-size: 20px;
	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 {
	border-right: none;
	/*border-top: 1px solid rgba(255,255,255,1);*/
}
html.mobile-nav #primary-nav .menu > .menu-item > a{}

@media screen and (max-width: 1200px) {
    #primary-nav .menu > .menu-item {
        vertical-align: middle;
        text-align: center;
    }

    #primary-nav .menu .sub-menu li {
        background-color: #106696;
        top: 0px;
    }

    #primary-nav .menu .menu-item-698 .sub-menu li {
        top: 0px;
    }
}

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



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

.hamburger-container {
    max-width: none;
}

#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: #1581bf;
}

#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: #1581bf;
}


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

#billboard-container{}

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

#billboard-cell-1 .inner{
	padding: 0;
}

#billboard-cell-1 img {
    width: 100%;
    height: auto;
    display: block;
}

#billboard-cell-2{
    background: #efeeee url('../images/home_billboard_right_1x.png') no-repeat center center;
    text-align: center;
    border-left: 40px solid #1377b0;
}

#billboard .slogan {
    color: #000000;
    font-size: 40px;
    font-weight: 500;
    line-height: normal;
}

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

    #billboard-cell-1 img {
        max-width: 347px;
        margin: 0 auto;
    }

    #billboard-cell-2 {
        padding-top: 0;
        /*border-top: 40px solid #1377b0;*/
        border-top: none;
        border-left: none;
        height: 250px;
        display: inline-flex;
    }

    #billboard .slogan {
        transform: translateY(-50%);
        position: relative;
        top: 50%;
    }
}


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

#body-container {
	background: #ffffff;
}

#body{
	padding: 30px 0;
}

/* ======================================== *
        Associations Section
 * ======================================== */
#associations {
    text-align: center;
}

#associations img {
    vertical-align: middle;
    padding: 0 15px 15px;
}

@media screen and (max-width: 650px) {
    #associations img {
        padding: 0;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
    }
}


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

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

#footer {
	color: #ffffff;
	font-size: 18px;
    line-height: 24px;
	text-align: center;
    padding: 15px 0;
}

#footer a {
	color: #666666;
}

#footer h3.tmf-module-title {
    color: #1377b0;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 35px;
}

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

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

#copyright-container {
    max-width: 1150px;
	border-top: 5px solid #1377b0;
}

#copyright {
	color: #666666;
	font-size: 15px;
	padding: 50px 0;
}

#copyright .copyright{
	font-size: 16px;
}

#copyright a {
	color: #666666;
}



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

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

.tmf-multi-module-area .tmf-module h3.tmf-module-title {
    color: #1377b0;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 15px;
}

.home .tmf-module-area .tmf-module-testimonials h3.tmf-module-title{
    display: none;
}

.tmf-module-area .tmf-module-testimonials{}

.tmf-module-area .tmf-module-testimonials .tmf-module-content{
    background: #efeeee;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin: 35px 0 25px;
    padding: 0px 0 25px;
}

.tmf-module-area .tmf-module-testimonials .testimonials-button {
    margin: 0 12px;
}

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

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


/* ======================================== *
	Inputs & Buttons
 * ======================================== */
::-webkit-input-placeholder {
    color: #45484d;
}

:-ms-input-placeholder {
    color: #45484d;
}

::placeholder {
    color: #45484d;
}

input[type="text"], 
textarea {
    background: #ececed;
    border: 1px solid #ececed;;
    border-radius: 0;
    box-shadow: none;
    color: #45484d;
    font-size: 14px !important;
    margin-bottom: 10px !important;
    max-width: 100%;
    padding: 10px !important;
}

textarea {
    height: 100px !important;
}

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

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

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

.tmf-button:active,
.page-numbers:active,
input[type=submit]:active {
    background-color: #1377b0;
	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: #666666 !important;
}

.vcard .value {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -106px 3px;
    background-size: 656px;
    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;
	}
}



/* ======================================== *
        Miscellaneous
 * ======================================== */
.social-icons {
    vertical-align: middle;
}

.social-icons .icon {
    width: 46px;
    height: 46px;
}

.social-icons .facebook {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -296px 0;
    background-size: 656px;
}

.social-icons .linked-in {
    background: rgba(0, 0, 0, 0) url("../images/icon_sprite_3x.png") repeat scroll -347px 0;
    background-size: 656px;
}

.social-icons .twitter {
    background: rgba(0, 0, 0, 0) url("../images/icon_sprite_3x.png") repeat scroll -400px 0;
    background-size: 656px;
}

aside {
    color: #413d38;
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 300;
    line-height: 34px; 
}

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

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

blockquote {
    color: #666666;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    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: #c0c3c5;
    top: 140px;
    z-index: -9;
    font-style: normal;
}

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

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

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

.editor-content img {
    height: auto;
    max-width: 100%;
}

.mobile {
    display: none;
}

@media screen and (max-width: 500px) {
    .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;
}

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

.gform_wrapper.tmf-form_wrapper .gform_footer {
    padding: 0 0 15px;
    margin: 16px 0 0;
    clear: both;
    width: 100%;
}

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