/* ============================================================================ *
        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 {
    font-family: Georgia;
    font-size: 18px;
    color: #303030;
}

a {
    color: #0087e2;
}

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

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



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


/* ======================================== *
        Header 2
 * ======================================== */
h2,
.tmf-post > h2 {
    font-size: 24px;
    line-height: 1.1em;
    font-weight: 400;
    margin-bottom: 15px;
    color: #5f6623;
}

h2 a,
.tmf-post > h2 a {
    color: #5f6623;
}


/* ======================================== *
        Header 3
 * ======================================== */
h3,
.tmf-post > h3,
h3.tmf-module-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #004698;
}

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

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


/* ======================================== *
        Header 4
 * ======================================== */
h4,
.tmf-post > h4 {
    font-weight: 400;
    font-size: 22px;
    line-height: 1.2em;
    color: #960031;
}

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

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


/* ======================================== *
        Header 5
 * ======================================== */
h5,
.tmf-post > h5 {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2em;
    color: #960031;
}

h5 a,
.tmf-post > h5 a {
    color: #960031;
    text-decoration: none;
}

h5 a:hover,
.tmf-post > h5 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: 32px solid #004698;
}

#header {
    padding: 25px 0;
    border-bottom: 1px solid #949393;
    text-align: center;
}

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


/* ======================================== *
        Primary Navigation Section
 * ======================================== */
#primary-nav {}

#primary-nav .menu {}
#primary-nav .menu > .menu-item {
    padding: 0 15px;
}
#primary-nav .menu > .menu-item.first {}
#primary-nav .menu > .menu-item.last {}
#primary-nav .menu > .menu-item > a {
    border-bottom: 1px solid #949393;
    padding: 20px 0;
    color: #303030;
    font-size: 20px;
}
#primary-nav .menu > .menu-item:hover {}
#primary-nav .menu > .menu-item:hover > a {
    color: #004698;
    border-bottom-color: #004698;
}
#primary-nav .menu:hover > .menu-item.current-menu-item > a {}

#primary-nav .menu .sub-menu {
    background-color: #004698;
    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;
}
#primary-nav .menu .sub-menu .menu-item:hover {}
#primary-nav .menu .sub-menu .menu-item:hover > a {
    background-color: #6d7721;
    color: #fff;
}

#primary-nav .menu-bar {
    border-bottom: 1px solid #bbb;
    text-transform: uppercase;
    font-size: 1em;
}

html.mobile-nav #primary-nav .menu .menu-item > a{
    padding: 10px 0;
    border-bottom-color: #e3e3e3;
}

@media screen and (max-width: 1020px) {
    #primary-nav .menu-bar {
        display: block;
    }

    #primary-nav .menu {
        display: none;
    }

    #primary-nav .menu > .menu-item {
        display: block;
        padding: 0;
    }

    #primary-nav .menu > .menu-item > a{
        padding: 10px 0;
        border-bottom: 1px solid #e3e3e3;
        font-size: 16px;
    }

    #primary-nav .menu .sub-menu {
        width: 100%;
        text-align: center;
    }

    #primary-nav .menu .sub-menu .menu-item > a {
        padding: 8px 15px 5px;
    }
}



/* ======================================== *
        Billboard
 * ======================================== */
#billboard{
    text-align: center;
    line-height: 0;
    margin-top: 20px;
}

#billboard .inner{
    padding: 0;
}

.billboard-image {
    max-width: 100%;
    width: 100%;
}

.billboard-content {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 930px;
    color: #fff;
    font-size: 26px;
    font-style: italic;
    font-weight: 400;
    line-height: 36px !important;
    text-shadow: 2px 3px 3px #303030;
}

.billboard-content h4 {
    color: #fff;
    font-size: 26px;
    font-style: italic;
    font-weight: 400;
    line-height: 36px !important;
    text-shadow: 2px 3px 3px #303030;
}

.billboard-content p {
    line-height: 36px !important;
}

#billboard .tmf-button {
    display: inline-block;
    font-size: 24px;
    font-style: normal;
    margin-top: 20px;
    padding: 15px 60px;
    text-shadow: none;
}

@media screen and (max-width: 1000px) {
    .billboard-content {
        max-width: 740px;
        bottom: 30px;
        font-size: 24px;
    }
}

@media screen and (max-width: 750px) {
    .billboard-content {
        display: none;
    }
}


/* ======================================== *
        Body Section
 * ======================================== */
#body {
    padding: 25px 0;
}

.gform_wrapper.tmf-form_wrapper .gform_footer {
    margin-top: 0;
}


/* ======================================== *
        Home Attorneys Section
 * ======================================== */
#home-attorneys-wrapper{}
#home-attorneys-container{}

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

#home-attorneys h3.tmf-module-title {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 25px;
    color: #5f6623;
}

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

#footer-container {
    padding: 0;
    background: #004698;
}

#footer {
    padding: 20px 0;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

#footer a{
    text-decoration: none;
}

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

#footer p {
    margin: 0;
}


/* ======================================== *
        Copyright Section
 * ======================================== */

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

#copyright a{
    color: #303030;
}


/* ======================================== *
        Breadcrumbs
 * ======================================== */
#breadcrumbs {
    color: #303030;
    font-size: 16px;
    margin: 0 0 25px 25px;
}

#breadcrumbs a{
    color: #303030;
}


/* ======================================== *
        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 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #5f6623;
}

.tmf-multi-module-area .tmf-module .tmf-button {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 30px;
}

.sidebar-image {
    margin-bottom: 40px;
    max-width: 100%;
    width: auto;
}

/* ======================================== *
        Inputs & Buttons
 * ======================================== */
input[type="text"], 
textarea {
    background: #efefef none repeat scroll 0 0;
    border: 1px solid #efefef;;
    border-radius: 0;
    box-shadow: 0 1px 1px #e2e2e2 inset;
    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,
.gform_wrapper.tmf-form_wrapper input[type=submit]{
    font-size: 20px;
    padding: 10px 30px;
    background-color: #a00338;
    background-image: url(../ie-gradient.php?from=a00338&to=84022e);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a00338), to(#84022e));
    background-image: -webkit-linear-gradient(#a00338, #84022e);
    background-image: -moz-linear-gradient(#a00338, #84022e);
    background-image: -ms-linear-gradient(#a00338, #84022e);
    background-image: -o-linear-gradient(#a00338, #84022e);
    background-image: linear-gradient(#a00338, #84022e);
    cursor: pointer;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none !important;
    color: #fff;
}

.tmf-button:hover,
.page-numbers:hover,
.gform_wrapper.tmf-form_wrapper input[type=submit]:hover{
    background-color: #84022e;
    background-image: url(../ie-gradient.php?from=84022e&to=a00338);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#84022e), to(#a00338));
    background-image: -webkit-linear-gradient(#84022e, #a00338);
    background-image: -moz-linear-gradient(#84022e, #a00338);
    background-image: -ms-linear-gradient(#84022e, #a00338);
    background-image: -o-linear-gradient(#84022e, #a00338);
    background-image: linear-gradient(#84022e, #a00338);
    text-decoration: none;
    color: #fff;
}

.tmf-button:active,
.page-numbers:active,
.gform_wrapper.tmf-form_wrapper input[type=submit]:active {
    background-color: #a00338;
    background-image: url(../ie-gradient.php?from=a00338&to=84022e);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a00338), to(#84022e));
    background-image: -webkit-linear-gradient(#a00338, #84022e);
    background-image: -moz-linear-gradient(#a00338, #84022e);
    background-image: -ms-linear-gradient(#a00338, #84022e);
    background-image: -o-linear-gradient(#a00338, #84022e);
    background-image: linear-gradient(#a00338, #84022e);
    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;
}

/*.vcard .value {
    background: rgba(0, 0, 0, 0) url("../images/icon_sprite.png") repeat scroll -118px -8px;
    height: 21px;
    width: 28px;
}*/


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

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

#body-cell-2 .gform_wrapper.tmf-form_wrapper .top_label .gfield_label {
    margin-bottom: 0;
}

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

#body-cell-2 .gform_wrapper.tmf-form_wrapper .gform_footer input.button,
#body-cell-2 .gform_wrapper.tmf-form_wrapper input[type=submit] {
    font-family: Georgia;
    font-size: 20px;
    border: none;
    padding: 15px;
    width: 100%;
}