/* ============================================================================ *
        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: #494949;
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 400;
}

a {
    color: #242424;
}


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


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

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


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

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

h3 a:hover,
.tmf-post > h3 a:hover,
h3.tmf-module-title a:hover,
.editor-content h3 a:hover {}


/* ======================================== *
        Header 4
 * ======================================== */
h4,
.tmf-post > h4,
.editor-content h4 {
    color: #000000;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2em;
}

h4 a,
.tmf-post > h4 a,
.editor-content h4 a {
    color: #000000;
    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 {}
#secondary-nav .menu > .menu-item:hover a {}
#secondary-nav .menu:hover > .menu-item.current-menu-item > a {}

/* ======================================== *
        Header Section
 * ======================================== */
#header-wrapper {
    background: rgb(255,255,255);
    background: -webkit-linear-gradient(bottom, rgba(230,229,229,1) 0%, rgba(255,255,255,1) 30%);
    background: -o-linear-gradient(bottom, rgba(230,229,229,1) 0%, rgba(255,255,255,1) 30%);
    background: linear-gradient(to top, rgba(230,229,229,1) 0%, rgba(255,255,255,1) 30%);
}

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

#header{
    padding: 25px 0;
    text-align: center;
}

#header .logo {
    max-width: 910px;
    width: 100%;
    padding-bottom: 10px;
}

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

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

#header-cell-1,
#header-cell-2 {
    color: #575757;
    font-size: 22px;
    font-weight: 400;
    line-height: 30px;
}

#header-cell-1 .phone-1,
#header-cell-2 .phone-1 {
    font-size: 28px;
    font-weight: 700;
}

#header .tmf-button {
    display: inline-block;
    padding: 8px 15px 10px;
    margin-top: 15px;
    max-width: 200px;
    width: 100%;
    box-sizing: border-box;
}

@media screen and (min-width: 950px) {
    #header-cell-2 {
        text-align: right;
    }
}

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

.home #primary-nav-wrapper {
    background: rgba(0,0,0,0.7);
    position: absolute;
    z-index: 9;
    width: 100%;
}

#primary-nav-container {
    max-width: 1250px;
}

#primary-nav {
    padding: 10px 0;
}

#primary-nav-cell-1 .inner{
    padding-right: 0;
}

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

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

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

#primary-nav .menu > .menu-item > a {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 15px;
    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 {
    text-decoration: underline;
}

#primary-nav .menu .sub-menu {
    min-width: 300px;
}

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

#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;
    padding: 15px 15px;
}

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

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

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

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

@media screen and (max-width: 900px) {
    #primary-nav-wrapper {
        background: #000;
        position: relative;
    }
}

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

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


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

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

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

#billboard .flexslider .slides > li {
    z-index: inherit !important;
}


/* ======================================== *
        Interior Billboard
 * ======================================== */
#billboard-content-wrapper {}

#billboard-content-container{
    max-width: 1250px;
    text-align: center;
}

#billboard-content {
    position: absolute;
    bottom: 40px;
    /*z-index: 9;*/
}

#billboard-content .tmf-button {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    max-width: 500px;
    margin-top: 25px;
    width: 100%;
    text-decoration: none;
    padding: 15px 15px;
    box-sizing: border-box;
    -webkit-box-shadow: 0 0 20px rgba(0,0,0, 0.75);
    box-shadow: 0 0 15px rgba(0,0,0, 0.7);
}

#billboard-content .billboard-content-box-1 {
    background-color: rgba(255,255,255, 0.85);
    padding: 25px 15px;
    display: inline-block;
    text-align: left;
    margin: 15px 20px;
    max-width: 355px;
    vertical-align: top;
    -webkit-box-shadow: 0 0 20px rgba(0,0,0, 0.75);
    box-shadow: 0 0 15px rgba(0,0,0, 0.7);
    width: 100%;
    box-sizing: border-box;
}

#billboard-content .billboard-content-box-1 .tmf-button {
    display: inline-block;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 15px;
    width: 100%;
    text-decoration: none;
    padding: 5px 0 10px;
    box-sizing: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#billboard-content .billboard-content-box-1 .excerpt{
    color: #000;
    font-size: 16px;
    line-height: 24px;
}

@media screen and (max-width: 1260px) {
    #billboard-content {
        position: relative;
        bottom: inherit;
        padding: 25px 0 35px;
    }
}

@media screen and (max-width: 450px) {
    #billboard-content .billboard-content-box-1 {
        margin-left: 0;
        margin-right: 0;
    }

    #billboard-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ======================================== *
        Body Section
 * ======================================== */
#body-wrapper {
    background: #efefef;
}

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

#body {
    padding: 35px 0;
}

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

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

#footer {
    padding: 15px 0;
}

#footer .phone .label,
#footer .fax .label {
    font-weight: 700;
}

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

.home #copyright-wrapper {
    background: #fff;
}

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

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

#copyright a{
    color: #494949;
}

/* ======================================== *
        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: #0e74bc;
    font-size: 24px;
    font-weight: 700;
}

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

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

.sidebar-image {
    border: 4px 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);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 40px;
    max-width: 340px;
    width: 100%;
}

@media screen and (max-width: 500px) {
    .sidebar-image {
        width: calc(100% - 4px);
    }
}

/* ======================================== *
        Inputs & Buttons
 * ======================================== */
input[type="text"], 
textarea {
    background: #ffffff none repeat scroll 0 0;
    border: 1px solid #c3c3c3;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px #7c7c7c;
    -moz-box-shadow: inset 0 1px 1px #7c7c7c;
    box-shadow: inset 0 1px 1px #7c7c7c;
    color: #45484d;
    font-family: 'Lato', sans-serif !important;
    font-size: 14px !important;
    margin-bottom: 0px !important;
    max-width: 100%;
    padding: 2px 10px !important;
}

textarea {
    height: 100px !important;
}

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

.tmf-button,
.page-numbers,
input[type=submit]{
    font-size: 20px;
    padding: 15px;
    background-color: #0e74bc;
    background-image: url(../ie-gradient.php?from=0e74bc&to=0a5082);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0e74bc), to(#0a5082));
    background-image: -webkit-linear-gradient(#0e74bc, #0a5082);
    background-image: -moz-linear-gradient(#0e74bc, #0a5082);
    background-image: -ms-linear-gradient(#0e74bc, #0a5082);
    background-image: -o-linear-gradient(#0e74bc, #0a5082);
    background-image: linear-gradient(#0e74bc, #0a5082);
    cursor: pointer;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    color: #fff !important;
    font-family: 'Lato', serif;
    font-weight: 400;
    line-height: normal;
}

.tmf-button:hover,
.page-numbers:hover,
input[type=submit]:hover{
    background-color: #0a5082;
    background-image: url(../ie-gradient.php?from=0a5082&to=0e74bc);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0a5082), to(#0e74bc));
    background-image: -webkit-linear-gradient(#0a5082, #0e74bc);
    background-image: -moz-linear-gradient(#0a5082, #0e74bc);
    background-image: -ms-linear-gradient(#0a5082, #0e74bc);
    background-image: -o-linear-gradient(#0a5082, #0e74bc);
    background-image: linear-gradient(#0a5082, #0e74bc);
}

.tmf-button:active,
.page-numbers:active,
input[type=submit]:active {
    background-color: #0e74bc;
    background-image: url(../ie-gradient.php?from=0e74bc&to=0a5082);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0e74bc), to(#0a5082));
    background-image: -webkit-linear-gradient(#0e74bc, #0a5082);
    background-image: -moz-linear-gradient(#0e74bc, #0a5082);
    background-image: -ms-linear-gradient(#0e74bc, #0a5082);
    background-image: -o-linear-gradient(#0e74bc, #0a5082);
    background-image: linear-gradient(#0e74bc, #0a5082);
    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 {
    color: #000;
    background: none;
    border: 1px solid #ddd;
}

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

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

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

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

aside {
    color: #494949;
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-style: italic;
    line-height: 34px;
}

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

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

blockquote {
    color: #0e74bc;
    font-family: 'Lato', sans-serif;
    font-size: 28px;
    font-style: italic;
    line-height: 36px;
    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: #f3f3f3;
    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 !important;
    color: #000;
}

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

.gform_wrapper.tmf-form_wrapper .gform_footer {
    margin-top: 15px;
    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: 'Lato', sans-serif;
    font-size: 22px;
    border: none;
    padding: 10px 15px;
    width: 100%;
    margin-right: 0;
    max-width: 200px;
    text-transform: uppercase;
    font-weight: 700;
}