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

a {
    color: #06456b;
}


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


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

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


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

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

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: #474747;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2em;
}

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

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


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

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

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

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

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

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

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

/* ======================================== *
        Primary Navigation Section
 * ======================================== */
#primary-nav-wrapper {
    border-bottom: 1px solid #cccccc;
}

.home #primary-nav-wrapper {
    border-bottom: none;
}

#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 {
    color: #474747;
    font-size: 20px;
    border-bottom: 4px solid rgba(0,0,0,0);
    padding: 15px 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 {
    border-bottom: 4px solid #06456b;
}

#primary-nav .menu .sub-menu {
    background-color: #06456b;
    min-width: 300px;
}

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

#primary-nav .menu .sub-menu .menu-item:hover {}
#primary-nav .menu .sub-menu .menu-item:hover > a {
    background-color: #5082a4;
    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: 1100px) {
    #primary-nav .menu > .menu-item > a {
        font-size: 18px;
        padding: 15px 10px;
    }
}

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

/* ======================================== *
    Mobile Menu
 * ======================================== */
/* ======================================== *
    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: #5082a4;
}

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

/* ======================================== *
        Billboard
 * ======================================== */
#billboard-wrapper {
    background: url('../images/home_billboard_1x.jpg') no-repeat center center / cover;
    border-bottom: 15px solid #06456b;
}

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

#billboard {
    text-align: center;
    padding: 125px 0;
}

#billboard .main-text {
    color: #fff;
    font-size: 54px;
    font-weight: 400;
    margin-bottom: 25px;
    text-transform: uppercase;
    line-height: 1.1em;
}

#billboard .main-text {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#billboard .main-text:before,
#billboard .main-text:after {
    content: '';
    border-top: 1px solid #ffffff;
    margin: 0 20px 0 0;
    flex: 1 0 20px;
}

#billboard .main-text:after {
    margin: 0 0 0 20px;
}

#billboard .tmf-button {
    display: inline-block;
    font-size: 24px;
    padding: 20px 15px;
    margin: 25px 10px 0;
    max-width: 278px;
    width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 1270px) {
    #billboard .tmf-post-list.home {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 700px) {
    #billboard {
        text-align: center;
        padding: 70px 0;
    }

    #billboard .main-text {
        font-size: 34px;
        margin-bottom: 10px;
    }

    #billboard .main-text:before {
        margin: 0 10px 0 0;
    }

    #billboard .main-text:after {
        margin: 0 0 0 10px;
    }
}

@media screen and (max-width: 400px) {
    #billboard .main-text {
        font-size: 24px;
        margin-bottom: 0;
    }

    #billboard .tmf-button {
        margin: 15px 0px 0;
    }
}


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

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

#body {
    padding: 35px 0;
}


/* ======================================== *
    Testimonial Section
 * ======================================== */
.tmf-single-module-area.tmf-module-area-testimonial {
    margin-top: 70px;
}

.tmf-single-module-area.tmf-module-area-testimonial .tmf-button {
    display: inline-block;
    font-size: 20px;
    max-width: 320px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 50px;
}


/* ======================================== *
        Home Attorney Section
 * ======================================== */
#home-attorney-wrapper{
    background: #51718b;
}

#home-attorney-container{
    max-width: 1250px;
    padding: 65px 0 45px;
}

#home-attorney .inner{
    padding: 0;
}

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


/* ======================================== *
        Associations Section
 * ======================================== */
#associations-wrapper {}

#associations-container{
    max-width: 1250px;
    padding: 40px 0;
}

#associations-cell-1{
    border-right: 1px solid #cccccc;
}

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

@media screen and (max-width: 1200px) {
    #associations-container{
        text-align: center;
    }
}

@media screen and (max-width: 850px) {
    #associations-wrapper {
        display: none;
    }

    #associations-cell-1{
        border-right: none;
    }
}


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

#footer-container {
    border-top: 1px solid #cccccc;
}

#footer {
    padding: 35px 0;
    max-width: 700px;
    margin: 0 auto;
}

/* ======================================== *
        Interior Footer Section
 * ======================================== */
#int-footer-wrapper{
    background: #51718b;
    text-align: center;
}

#int-footer{
    padding: 25px 0;
}

.post-type-archive-location #int-footer-wrapper{
    display: none;
}


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

#copyright {
    border-top: 1px solid #cccccc;
    padding: 25px 0 50px;
    font-size: 13px;
    color: #333333;
}

#copyright a{
    color: #333333;
}

#copyright .tmf-button {
    color: #ffffff !important;
    display: inline-block;
    font-size: 19px;
    max-width: 240px;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 15px;
}

/* ======================================== *
        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: #06456b;
    font-size: 32px;
    font-weight: 400;
}

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

#body-cell-2 .sidebar-image {
    border: 6px 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);
    margin-bottom: 40px;
    max-width: 302px;
    width: 100%;
}

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

/* ======================================== *
        Inputs & Buttons
 * ======================================== */
input[type="text"], 
textarea {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #cccccc;
    border-radius: 0;
    box-shadow: none;
    color: #848484;
    font-family: 'Lato', sans-serif !important;
    font-size: 14px !important;
    font-style: italic;
    margin-bottom: 10px !important;
    max-width: 100%;
    padding: 10px !important;
}

textarea {
    height: 100px !important;
}

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

.tmf-button,
.page-numbers,
input[type=submit]{
    font-size: 24px;
    padding: 15px;
    background-color: #06456b;
    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: 'Lato', serif;
    font-weight: 700;
    line-height: normal;
}

.tmf-button:hover,
.page-numbers:hover,
input[type=submit]:hover{
    /*background-color: #074b74;*/
    color: #bec0c2;
}

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

.tmf-button.small {
    font-size: .85em;
    padding: 10px 15px;
}

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

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

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

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

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

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

blockquote {
    color: #000000;
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-style: normal;
    line-height: 34px;
    position: relative;
    margin: 0;
    padding: 0 0 0 40px;
    z-index: 9;
    font-style: italic;
}

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

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

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

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