/* ============================================================================ *
        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: 'PT Serif', serif;
    font-size: 18px;
    font-weight: 400;
}

a {
    color: #123466;
}


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


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

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


/* ======================================== *
        Header 3
 * ======================================== */
h3,
.tmf-post > h3,
h3.tmf-module-title {
    color: #666666;
    font-size: 26px;
    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: #333333;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1em;
}

h4 a,
.tmf-post > h4 a {
    color: #333333;
    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 {}

#header-container {}

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

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

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

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


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

#primary-nav .menu {}
#primary-nav .menu > .menu-item {}
#primary-nav .menu > .menu-item.first {}
#primary-nav .menu > .menu-item.last {}
#primary-nav .menu > .menu-item > a {
    border-bottom: 6px solid rgba(43,73,123,0);
    color: #000000;
    font-size: 19px;
    font-weight: 400;
    padding: 20px 10px;
    margin: 0 5px;
    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: #000000;
    border-bottom: 6px solid #123466;
}

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

#primary-nav .menu .sub-menu {
    background-color: #123466;
    min-width: 300px;
    /*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: 18px;
    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: #153e7b;
    color: #fff;
}

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

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

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


/* ======================================== *
    Mobile Menu
 * ======================================== */
#mobile-nav-wrapper {
    font-family: 'PT Serif', 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: #153e7b;
}

#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: #153e7b;
}


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

#billboard-container{
    max-width: 100%;
}

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

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

/* ======================================== *
    Interior Billboard
 * ======================================== */
#int-billboard-wrapper {
    background: url('../images/int_slogan_bg_1x.jpg') center center / cover;
}

#int-billboard-container{
    max-width: 780px;
    padding: 10px 0;
}

#int-billboard .billboard-tagline {
    color: #fff;
    font-size: 38px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    padding: 10px 0 20px;
}


/* ======================================== *
        Home Page Body Section
 * ======================================== */
#home-body-wrapper{
    background: #dbd9d9;
}

#home-body-container {
    max-width: 1250px;
}

#home-body {
    padding: 60px 0;
}

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

#home-body h1 {
    font-size: 36px;
    color: #123466;
    border-bottom: 4px solid #666666;
    padding-bottom: 20px;
    margin-bottom: 20px;
    line-height: 40px;
}

#home-body h2{
    color: #000000;
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 40px;
}

#home-body .home-main-content {
    display: table-cell;
    width: 50%;
    padding: 0 25px;
    box-sizing: border-box;
    text-align: justify;
}

@media screen and (max-width: 1050px) {
    #home-body .home-main-content {
        display: block;
        width: 100%;
    }

    #home-body-cell-2{
        padding-top: 0;
    }

    #home-body .home-main-content {
        padding-bottom: 15px;
    }

    #home-body .home-main-content:last-child {
        padding-bottom: 0;
    }
}

@media screen and (max-width: 450px) {
    #home-body .home-main-content {
        padding: 0 12px 15px;
    }

    #home-body-cell-1 .inner {
        padding-right: 12px;
    }
}

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

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

#body-wrapper:before {
    background: #dbd9d9;
    display: block;
    content: "";
    height: 100%;
    width: 50%;
    position: absolute;
    top: 0;
    right: 0;
}

#body > .row > div {
    padding: 25px 0 !important;
}

#body-wrapper,
#body-cell-1 {
    background: #ffffff;
}

#body h1#page-title {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 25px;
}

#body h1#page-title:after {
    content: '';
    height: 4px;
    background: #666666;
    position: absolute;
    left: 0;
    top: 55px;
    width: 100%;
    margin: 0 auto;
    right: 0;
}

@media screen and (max-width: 900px) {
    #body-wrapper:before {
        width: 100%;
    }
}

/* ======================================== *
        Footer Section
 * ======================================== */
#footer-wrapper {    
    background: #123466;
}

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

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

#footer h3.tmf-module-title {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 45px;
    position: relative;
}

#footer h3.tmf-module-title:after {
    content: '';
    height: 3px;
    background: #b1b1b1;
    position: absolute;
    left: 0;
    top: 35px;
    width: 110px;
    margin: 0 auto;
    right: 0;
}

#footer h3.tmf-module-title,
#footer h3.tmf-module-title:after {
    display: none;
}

#footer h3.desktop-title {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 45px;
    position: relative;
    padding-left: 35px;
}

#footer h3.desktop-title:after {
    content: '';
    height: 3px;
    background: #b1b1b1;
    position: absolute;
    left: 35px;
    top: 35px;
    width: 110px;
}

@media screen and (max-width: 970px) {
    #footer{
        text-align: center;
    }

    #footer h3.tmf-module-title,
    #footer h3.tmf-module-title:after {
        display: block;
    }

    #footer h3.desktop-title,
    #footer h3.desktop-title:after{
        display: none;
    }
}


/* ======================================== *
        Copyright Section
 * ======================================== */
#copyright-wrapper {
    border-top: 20px solid #123466;
}

.home #copyright-wrapper {
    border-top: none;
}

#copyright {
    padding: 25px 0 50px;
    color: #333333;
    font-size: 16px;
}

#copyright a{
    color: #333333;
}


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

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

.tmf-multi-module-area .tmf-module h3.tmf-module-title {
    color: #123466;
    font-size: 26px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.tmf-multi-module-area .tmf-module h3.tmf-module-title:after {
    content: '';
    height: 3px;
    background: #666666;
    position: absolute;
    left: 0;
    top: 40px;
    width: 100%;
    margin: 0 auto;
    right: 0;
}

.tmf-multi-module-area .tmf-module .tmf-button {
    display: block;
    margin-top: 25px;
    padding: 15px;
}

body.home #home-body-cell-1 .tmf-multi-module-area .tmf-module {
    padding-top: 0;
}

#body-cell-1 .sidebar-image {
    border: 3px solid #fff;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    float: right;
    max-width: 285px;
    width: 100%;
    margin-left: 15px;
}

#body-cell-2 .sidebar-image {
    border: 3px solid #fff;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    max-width: 285px;
    width: 100%; 
    margin-bottom: 40px;
    display: block;
}

@media screen and (max-width: 850px) {
    .tmf-multi-module-area .tmf-module {
        padding-top: 0;
    }
}

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

/* ======================================== *
        Inputs & Buttons
 * ======================================== */
input[type="text"], 
textarea {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #ccc;
    color: #45484d;
    font-size: 14px !important;
    margin-bottom: 20px !important;
    max-width: 100%;
    padding: 12px 10px !important;
}

textarea {
    height: 100px !important;
}

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

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

.tmf-button:hover,
.page-numbers:hover,
.gform_wrapper.tmf-form_wrapper input[type=submit]:hover{
    background: #153d77;
    text-decoration: none;
    color: #fff;
}

.tmf-button:active,
.page-numbers:active,
.gform_wrapper.tmf-form_wrapper input[type=submit]:active {
    background: #123466;
    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;
    color: #000000;
}

.vcard .value {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.jpg) repeat scroll -78px 3px;
    background-size: 551px;
    height: 23px;
    width: 27px;
}

/* ======================================== *
        Breadcrumbs
 * ======================================== */
#breadcrumbs {
    color: #808184;
    font-size: 15px;
    margin: 0 0 15px;
}

#breadcrumbs a{
    color: #808184;
    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
 * ======================================== */
.social-icons {
    vertical-align: middle;
}

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

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

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

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

aside {
    color: #413d38;
    font-family: 'PT Serif', serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    line-height: 34px; 
}

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

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

blockquote {
    color: #123466;
    font-family: 'PT Serif', serif;
    font-size: 24px;
    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;
}

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

#body-cell-2 .gform_wrapper.tmf-form_wrapper textarea {
    margin-bottom: 15px !important;
}

.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;
    margin-top: 0;
}

.gform_wrapper.tmf-form_wrapper .gform_footer {
    padding: 0;
    margin: 10px 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: 'PT Serif', serif;
    font-size: 18px;
    font-weight: 400;
    border: none;
    padding: 20px 15px;
    width: 100%;
    margin-right: 0;
}