/* ============================================================================ *
        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: #666666;
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    font-weight: 400;
}

a {
    color: #2c2e59;
}

b, strong {
    font-weight: 700;
    color: #415d8a;
}


/* ======================================== *
        Header 1
 * ======================================== */
h1,
h1#page-title,
.editor-content h1 {
    color: #415d8a;
    font-size: 1.25em;
    line-height: 1.1em;
    font-weight: 400;
    margin-bottom: 15px;
    text-transform: uppercase;
}

h1 a,
h1#page-title a,
.editor-content h1 a {
    color: #415d8a;
}


/* ======================================== *
        Header 2
 * ======================================== */
h2,
.tmf-post > h2,
.editor-content h1 {
    color: #2c2e59;
    font-size: 1.25em;
    line-height: 1.2em;
    font-weight: 400;
    margin-bottom: 15px;
}

h2 a,
.tmf-post > h2 a,
.editor-content h1 a {
    color: #2c2e59;
}


/* ======================================== *
        Header 3
 * ======================================== */
h3,
.tmf-post > h3,
h3.tmf-module-title {
    color: #666666;
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1.1em;
    margin-bottom: 15px;
}

h3 a,
.tmf-post > h3 a,
h3.tmf-module-title a {
    color: #666666;
}

h3 a:hover,
.tmf-post > h3 a:hover,
h3.tmf-module-title a:hover {}


/* ======================================== *
        Header 4
 * ======================================== */
h4,
.tmf-post > h4 {
    color: #415d8a;
    font-size: 1.15em;
    font-weight: 400;
    line-height: 1.2em;
}

h4 a,
.tmf-post > h4 a {
    color: #415d8a;
    text-decoration: none;
}

h4 a:hover,
.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 {}
#secondary-nav .menu > .menu-item:hover a {}
#secondary-nav .menu:hover > .menu-item.current-menu-item > a {}

/* ======================================== *
        Header Section
 * ======================================== */
#header-wrapper {
    border-top: 20px solid #415d8a;
}

#header-container {}

#header {
    padding: 25px 0;
}

#header .logo {
    max-width: 434px;
    width: 100%;
}

#header a{
    color: #666;
    text-decoration: none;
}

#header a:hover{
    text-decoration: underline;
}

#header-cell-1,
#header-cell-2{
    vertical-align: middle;
}

#header-cell-2 {
    color: #666;
    font-size: 19px;
    font-weight: 300;
    line-height: 27px;
    text-align: right;
    text-transform: uppercase;
}

#header-cell-2 .phone-1{
    font-size: 28px;
}

#header-cell-2 .email{
    font-size: 23px;
    text-transform: none;
}

#header .phone-1 a::before {
    background: rgba(0, 0, 0, 0) url(../images/icon-phone-large.png) no-repeat scroll 0px 0px;
    content: "";
    display: inline-block;
    height: 25px;
    vertical-align: middle;
    width: 35px;
}

#header .email::before {
    background: rgba(0, 0, 0, 0) url(../images/icon-email-large.png) no-repeat scroll 0px 0px;
    content: "";
    display: inline-block;
    height: 20px;
    vertical-align: middle;
    width: 30px;
}

@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 {
    font-family: 'Lato', sans-serif;
    border-top: 1px solid #bbbbbb;
}

#primary-nav .menu {
}

#primary-nav .menu > .menu-item {
    padding: 0 15px;
}

#primary-nav .menu > .menu-item.first {
    padding-left: 0;
}

#primary-nav .menu > .menu-item.last {
    padding-right: 0;
}

#primary-nav .menu > .menu-item > a {
    border-bottom: 1px solid #bbbbbb;
    color: #666666;
    font-size: 17px;
    font-weight: 400;
    padding: 15px 0;
    text-transform: uppercase;
}

#primary-nav .menu > .menu-item:hover {}

#primary-nav .menu > .menu-item.current-menu-item > a,
#primary-nav .menu > .menu-item:hover > a {
    color: #415d8a;
    border-bottom-color: #415d8a;
}

#primary-nav .menu:hover > .menu-item.current-menu-item > a {}

#primary-nav .menu .sub-menu {
    background-color: #415d8a;
    top:-1px;
}
#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;
    padding: 7px 15px;
}

#primary-nav .menu .sub-menu .menu-item:hover {}
#primary-nav .menu .sub-menu .menu-item:hover > a {
    /*background-color: #436a86;*/
    color: #fff;
    text-decoration: underline;
}

#primary-nav .menu-bar {
    border-bottom: 1px solid #bbbbbb;
    text-transform: uppercase;
    font-size: 1em;
}

html.mobile-nav #primary-nav .menu .menu-item > a{
    padding: 10px 0;
    border-bottom-color: #bbbbbb;
}

@media screen and (max-width: 1200px) {
    #primary-nav .menu > .menu-item.first {
        padding-left: 15px;
    }

    #primary-nav .menu > .menu-item.last {
        padding-right: 15px;
    }
}

/* ======================================== *
    Mobile Menu
 * ======================================== */
#mobile-nav-wrapper {
    border-top: 1px solid #bbbbbb;
    border-bottom: 1px solid #bbbbbb;
    font-family: 'Lato', sans-serif;
}

#mobile-nav a {
    color: #fff;
    font-size: 16px;
}

#mobile-nav .menu > .menu-item > a {
    color: #000;
    font-size: 17px;
}

#mobile-nav .menu > .menu-item.current-menu-item > a,
#mobile-nav .menu > .menu-item:hover > a {
    color: #fff;
}

#mobile-nav .menu .menu-item.display {
    background: #415d8a;
}

#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: #415d8a;
}

/* ======================================== *
        Tagline
 * ======================================== */
#tagline {
    margin: 25px 0;
    text-align: center;
}

#tagline:after {
    content: '';
    display: block;
    width: 100%;
    text-indent: -9999px;
    border-top: 1px solid #bbbbbb;
    position: absolute;
    top: 50%;
    z-index: -9;
}

#tagline-text {
    background-color: #f5f5f5;
    border: 1px solid #bbbbbb;
    color: #2c2e59;
    display: block;
    font-size: 21px;
    font-weight: 300;
    padding: 10px;
    position: relative;
    text-transform: uppercase;
    max-width: 1075px;
    margin: 0 auto;
}

@media screen and (max-width: 485px) {
    #tagline-text {
        font-size: 18px;
    }
}


/* ======================================== *
        Billboard
 * ======================================== */
#billboard{}

#billboard img {
    display: block;
    width: 100%;
    height: auto;
}

#billboard .billboard-content {
    position: absolute;
    bottom: 30px;
    z-index: 999;
    text-align: center;
    left: 0;
    right: 0;
    max-width: 1200px;
    margin: 0 auto;
}

#billboard-buttons {
    display: table;
    width: 100%;
    border-spacing: 25px 0;
}

#billboard .tmf-button {
    display: table-cell;
    color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0, 0.8);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0, 0.8);
    box-shadow: 0 1px 2px rgba(0,0,0, 0.8);
    padding: 10px;
    font-size: .9em;
    line-height: 1.3em;
    text-align: center;
    text-decoration: none;
}

#billboard .top-text {
    display: block;
    font-size: 1.4em;
    line-height: 1.1em;
    margin-bottom: 6px;
    font-family: 'Noto Serif', 'Times New Roman', serif;
    text-transform: uppercase;
}

@media screen and (max-width: 850px) {
    #billboard .billboard-content {
        position: inherit;
        bottom: 0;
        padding: 25px 0;
        border-bottom: 15px solid #666666;
    }
}

@media screen and (max-width: 700px) {
    #billboard .tmf-button {
        display: block;
        margin: 25px auto 0;
    }

    #billboard .billboard-content {
        padding: 0 25px 25px;
    }

    #billboard-buttons {
        border-spacing: 0;
    }
}

@media screen and (max-width: 450px) {
    #billboard .billboard-content {
        padding: 0 12px 25px;
    }
}


/* ======================================== *
        Body Section
 * ======================================== */
#body-container {}

#body {
    padding: 25px 0;
}

.home #body {
    padding: 50px 0;
}

@media screen and (max-width: 850px) {
    .home #body {
        padding: 25px 0;
    }
}

/* ======================================== *
        Footer Section
 * ======================================== */
#footer-container {
    padding: 50px 0;
    border-top: 5px solid #bbbbbb;
}

#footer h3.tmf-module-title {
    color: #415d8a;
    font-weight: 400;
    text-transform: uppercase;
}


/* ======================================== *
        Copyright Section
 * ======================================== */
#copyright {
    background-color: #415d8a;
    color: #fff;
    font-size: 17px;
    text-align: center;
    padding: 10px 0;
}

#copyright a{
    color: #fff;
}


/* ======================================== *
        Disclaimer Section
 * ======================================== */
#disclaimer {
    color: #666666;
    font-size: 16px;
    text-align: center;
    padding: 15px 0 50px;
}

#disclaimer 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: #415d8a;
    font-weight: 400;
    text-transform: uppercase;
}

.tmf-multi-module-area .tmf-module .tmf-button {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}


/* ======================================== *
        Inputs & Buttons
 * ======================================== */
input[type="text"], 
textarea {
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 0;
    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 #666;
}

.tmf-button,
.page-numbers,
input[type=submit]{
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    padding: 15px;
    background-color: #415d8a;
    background-image: url(../ie-gradient.php?from=415d8a&to=344b71);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#415d8a), to(#344b71));
    background-image: -webkit-linear-gradient(#415d8a, #344b71);
    background-image: -moz-linear-gradient(#415d8a, #344b71);
    background-image: -ms-linear-gradient(#415d8a, #344b71);
    background-image: -o-linear-gradient(#415d8a, #344b71);
    background-image: linear-gradient(#415d8a, #344b71);
    text-align: center;
    cursor: pointer;
    border: none;
    cursor: pointer;
    font-weight: 400;
    text-decoration: none !important;
    color: #fff;
}

.tmf-button:hover,
.page-numbers:hover,
input[type=submit]:hover{
    background-color: #344b71;
    background-image: url(../ie-gradient.php?from=344b71&to=415d8a);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#344b71), to(#415d8a));
    background-image: -webkit-linear-gradient(#344b71, #415d8a);
    background-image: -moz-linear-gradient(#344b71, #415d8a);
    background-image: -ms-linear-gradient(#344b71, #415d8a);
    background-image: -o-linear-gradient(#344b71, #415d8a);
    background-image: linear-gradient(#344b71, #415d8a);
    text-decoration: none;
    color: #fff;
}

.tmf-button:active,
.page-numbers:active,
input[type=submit]:active {
    background-color: #415d8a;
    background-image: url(../ie-gradient.php?from=415d8a&to=344b71);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#415d8a), to(#344b71));
    background-image: -webkit-linear-gradient(#415d8a, #344b71);
    background-image: -moz-linear-gradient(#415d8a, #344b71);
    background-image: -ms-linear-gradient(#415d8a, #344b71);
    background-image: -o-linear-gradient(#415d8a, #344b71);
    background-image: linear-gradient(#415d8a, #344b71);
    text-decoration: none;
    color: #fff;
}

.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;
}


/* ======================================== *
        Breadcrumbs
 * ======================================== */
#breadcrumbs {
    color: #484848;
    font-size: 0.75em;
    margin: 0 0 25px;
    padding: 0 25px;
}

#breadcrumbs a{
    color: #484848;
    text-decoration: underline;
}

#breadcrumbs a:hover{
    text-decoration: none;
}

/* ======================================== *
        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
 * ======================================== */
aside {
    color: #4d4d4d;
    font-family: 'Crimson Text', serif;
    font-size: 26px;
    font-style: italic;
    line-height: 34px; 
}

aside.left {
    border-top: 6px solid #3c5f78; 
    border-bottom: 6px solid #3c5f78; 
}

aside.right {
    border-top: 6px solid #3c5f78; 
    border-bottom: 6px solid #3c5f78; 
}

blockquote {
    color: #3c5f78;
    font-family: 'Crimson Text', serif;
    font-size: 28px;
    font-style: italic;
    font-weight: 600;
    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;
}

.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;
}

.gform_wrapper.tmf-form_wrapper ul.gform_fields li.gfield {
    padding-right: 0 !important;
}

.gform_wrapper.tmf-form_wrapper .gform_footer {
    margin-top: 0;
    padding-top: 0;
    text-align: center;
}

.gform_wrapper.tmf-form_wrapper .gform_footer input.button, 
.gform_wrapper.tmf-form_wrapper input[type=submit] {
    font-family: 'Crimson Text', serif;
    font-size: 22px;
    border: none;
    padding: 18px 15px;
    max-width: 280px;
    width: 100%;
    margin-right: 0;
    box-sizing: border-box;
}