/* ============================================================================ *
        Post Styles
    ---------------------------------------------------------------------------
        These are the styles which build all the various post types and their templates.
*/
.tmf-post.large:not(.attorney) img.primary {
    float: right;
    margin-right: 0;
    margin-left: 15px;
}

.tmf-post.small img.thumbnail {
    float: left;
    max-width: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.tmf-post.medium img.thumbnail {
    max-width: 150px;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 7px;
}

.tmf-post.medium img.thumbnail.mobile {
    margin-top: 7px;
}

.tmf-post img.primary {
    float: left;
    margin-top: 5px;
    max-width: 250px;
    margin-right: 15px;
    margin-bottom: 15px;
}

.children .tmf-post.medium img.thumbnail {
    max-width: 150px;
}

.tmf-post .excerpt a{
    text-decoration: underline;
}

.tmf-post .excerpt a:hover {
    text-decoration: none;
}

.tmf-post.staff.medium a {
    text-decoration: none;
}

.tmf-post.staff.medium a:hover {
    text-decoration: underline;
}

.tmf-post.large.post img.primary {
    max-width: 250px;
}

.tmf-post.medium.post .read-more {
    display: none;
}

/*------Attorney Small-----*/
.tmf-post.attorney.small {
    display: inline-block;
    width: 302px;
    vertical-align: top;
    text-align: left;
}

.tmf-post.attorney.small .small-inner{
    padding: 0 15px;
}

.tmf-post.attorney.small .title {
    color: #5f0000;
    font-size: 26px;
    padding: 20px 0;
}

.tmf-post.attorney.small .title a{
    color: #5f0000;
    text-decoration: none;
}

.tmf-post.attorney.small .title a:hover{
    text-decoration: underline;
}

.tmf-post.attorney.small .excerpt{
    color: #000000;
    font-size: 18px;
    line-height: 28px;
    min-height: 340px;
}

.tmf-post.attorney.small .button {
    text-align: center;
}

.tmf-post.attorney.small .tmf-button {
    box-sizing: border-box;
    display: inline-block;
    font-size: 22px;
    padding: 15px 15px;
    margin-top: 15px;
    width: 100%;
}

/*------Attorney Medium & Large-----*/
.tmf-post.attorney.medium h2.title {
    margin-bottom: 0;
}

.tmf-post.attorney.large{
    display: table;
    width: 100%;
}

.tmf-post.attorney.large .large-cell-1,
.tmf-post.attorney.large .large-cell-2{
    display: table-cell;
    vertical-align: top;
}

.tmf-post.attorney.large .large-cell-1{
    width: 66.666667%
}
.tmf-post.attorney.large .large-cell-2{
    width: 33.333333%
}

.tmf-post.attorney.large .large-inner{
    padding: 0 25px;
}

.tmf-post.attorney.large h1#page-title {
    display: inline-block;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.tmf-post.attorney.large h1#page-title:after {
    background: #a97777;
    content: "";
    display: block;
    height: 2px;
    width: 50%;
    position: relative;
    top: 25px;
}

.tmf-post.attorney.large img.primary {
    float: none;
    margin: 0 0 25px;
    max-width: 380px !important;
    width: 100%;
}

.tmf-post.attorney.large .attorney-titles {
    margin-top: 0;
    margin-bottom: 25px;
}

.tmf-post.attorney.large .tmf-taxonomy-list .tmf-taxonomy {
    color: #343434;
    font-size: 32px;
    font-style: normal;
}

.tmf-post.attorney.large .contact-information {
    color: #343434;
    font-size: 18px;
    line-height: 40px;
    display: block;
}

.tmf-post.attorney.large .label {
    font-weight: 700;
    text-transform: uppercase;
}

.tmf-post.attorney.large .mobile-view{
    display: none;
}

@media screen and (max-width: 850px) {
    .tmf-post.attorney.large .large-cell-1{
        display: block;
        width: 100%;
    }

    .tmf-post.attorney.large .desktop-view,
    .tmf-post.attorney.large .large-cell-2{
        display: none;
    }

    .tmf-post.attorney.large .mobile-view{
        display: block;
    }
}

/*----------Practice Area Home----------*/
.tmf-post.practice-area.home {
    border-bottom: none;
    display: table-cell;
    width: 33.333333%;
    vertical-align: top;
    padding: 0;
    margin-bottom: 50px;
}

.tmf-post.practice-area.home:hover {
    background: #330402;
}

.tmf-post.practice-area.home .home-inner {
    padding: 25px 25px;
}

.tmf-post.practice-area.home .title {
    color: #ffffff;
    font-size: 26px;
    margin-bottom: 25px;
}

.tmf-post.practice-area.home .title a{
    color: #ffffff;
    text-decoration: none;
}

.tmf-post.practice-area.home .title a:hover{
    text-decoration: underline;
}

.tmf-post.practice-area.home .excerpt {
    color: #ffffff;
    font-size: 18px;
    line-height: 28px;
    margin-top: 0;
    min-height: 260px;
}

.tmf-post.practice-area.home .tmf-button {
    box-sizing: border-box;
    border: 2px solid #ffffff;
    display: inline-block;
    font-size: 19px;
    padding: 10px 15px;
    margin-top: 35px;
    max-width: 135px;
    width: 100%;
}

@media screen and (max-width: 950px) {
    .tmf-post.practice-area.home {
        display: block;
        width: 100%;
    }

    .tmf-post.practice-area.home .excerpt {
        min-height: inherit;
    }
}

/*---------Testimonial Small----------*/
.tmf-post.testimonial.small {
    margin: 0;
    padding: 0;
}

.tmf-post.testimonial.small .excerpt {
    color: #ffffff;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: 28px;
    margin-top: 0;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #ffffff;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: 26px;
    float: none;
    margin-top: 25px;
}

@media screen and (max-width: 450px) {
    .tmf-post.testimonial.small {
        margin: 0;
        padding: 0 12px;
    }

    .tmf-post.testimonial.small .excerpt {
        font-size: 22px;
        line-height: 30px;
    }
}

/*----------Locations Mobile----------*/
.tmf-post.location.mobile-location .location-small-container {
    max-width: 660px;
}

@media screen and (max-width: 690px) {
    .tmf-post.location.mobile-location .location-small-container {
        max-width: 350px;
    }

    .tmf-post.location.mobile-location .location-small-1, 
    .tmf-post.location.mobile-location .location-small-2 {
        display: block;
        max-width: 100%;
    }

    .tmf-post.location.mobile-location .location-small-1 {
        border-right: none;
    }

    .tmf-post.location.mobile-location .location-small-2 {
        margin-top: 10px;
    }

    .tmf-post.location.mobile-location .divider {
        display: block;
        height: 1px;
        width: 100%;
        margin-top: 10px;
    }
}

/*----------Locations Small----------*/
.tmf-post.small.location {
    border-bottom: none;
    color: #5f0000;
    font-size: 21px;
    font-weight: 400;
    line-height: 34px;
    display: table;
    width: 100%;
}

.tmf-post.small.location a{
    color: #5f0000;
    text-decoration: none;
}

.tmf-post.small.location a:hover{
    text-decoration: underline;
}

.tmf-post.small.location .title {
    color: #333333;
    font-weight: 700;
}

.tmf-post.small.location .small-cell-1, 
.tmf-post.small.location .small-cell-2 {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
}

.tmf-post.tmf-post-288.small.location .fax{
    display: none;
}

@media screen and (max-width: 500px) {
    .tmf-post.small.location {
        text-align: center;
    }

    .tmf-post.small.location .small-cell-1, 
    .tmf-post.small.location .small-cell-2 {
        display: block;
        width: 100%;
    }
}

/*----------Location Medium----------*/
.tmf-post.location.map {
    border-bottom: none;
    margin-top: 35px;
    height: 350px;
}

.tmf-post.location.map .dynamic-map{
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.tmf-post.location.map .dynamic-map iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
}

@media screen and (max-width: 600px) {
    .tmf-post.location.map {
        height: auto; 
    }

    .tmf-post.location.map .dynamic-map iframe{
        height: 100%;
    }
}

/*----------Location Medium----------*/
.tmf-post.location .dynamic-map{
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.tmf-post.location .dynamic-map iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ======================================== *
        Responsive Posts
 * ======================================== */
@media screen and (min-width: 850px) and (max-width: 1000px), screen and (max-width: 600px) {
    .tmf-post.medium.post .taxonomy-container {
        clear: both;
    }

    .tmf-post.medium.post .read-more-button {
        margin-bottom: 25px;
    }

    .tmf-post.medium.event .taxonomy-container {
        clear: both;
    }

    .tmf-post.medium.event .read-more-button {
        margin-bottom: 25px;
    }


    .tmf-post.medium.post img.primary {
        max-width: 150px;
    }

    .tmf-post.medium img.thumbnail {
        max-width: 175px;
    }

    .children .tmf-post.medium img.thumbnail {
        max-width: 125px;
    }

    .tmf-post.medium.attorney .read-more-button.top,
    .tmf-post.medium.staff .read-more-button.top {
        display: none;
    }

    .tmf-post.medium.attorney .read-more-button.bottom,
    .tmf-post.medium.staff .read-more-button.bottom {
        display: block;
        text-align: center;
    }

    .tmf-post img.primary {
        max-width: 200px;
    }

    .tmf-post.large.attorney img.primary,
    .tmf-post.large.staff img.primary {
        max-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .tmf-post.large.attorney img.primary,
    .tmf-post.large.staff img.primary {
        float: none;
        margin-bottom: 15px;
    }

    .tmf-post.large:not(.attorney) img.primary {
        float: none;
        margin-right: 0;
        margin-left: 0;
    }
}


@media screen and (max-width: 400px) {
    .tmf-post.small img.thumbnail {
        max-width: 75px;
    }

    .tmf-post.attorney.small img.thumbnail, 
    .tmf-post.staff.small img.thumbnail {
        max-width: 75px;
    }

    .tmf-post.medium img.thumbnail {
        max-width: 125px;
    }

    .children .tmf-post.medium img.thumbnail {
        max-width: 100px;
    }

    .tmf-post.medium.post img.primary {
        max-width: 100px;
    }

    .tmf-post.attorney.medium img.thumbnail, 
    .tmf-post.staff.medium img.thumbnail {
        max-width: 75px;
    }

    .tmf-post img.primary {
        max-width: 150px;
    }
}
