/* ============================================================================ *
        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.large h1#page-title {
    display: none;
}

/*---------- Attorney Small ----------*/
.tmf-post.attorney.small {
    box-sizing: border-box;
    display: inline-block;
    width: 272px;
    vertical-align: top;
    padding: 25px 25px 0;
}

.tmf-post.attorney.small .small-thumbnail {
    box-sizing: border-box;
    -webkit-border-radius: 50%;
    box-sizing: border-box;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 7px solid #333333;
    display: block;
    width: 222px;
    margin-bottom: 15px; 
}

.tmf-post.attorney.small:hover .small-thumbnail {
    border: 7px solid #39632d;
}

.tmf-post.attorney.small .title {
    color: #ffffff;
    font-family: 'Source Serif Pro', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 5px;
}

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

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

.tmf-post.attorney.small .tmf-taxonomy-list .tmf-taxonomy {
    color: #ffffff;
    font-size: 18px;
    font-style: normal;
    text-decoration: none;
}

.tmf-post.attorney.small .tmf-taxonomy-list .tmf-taxonomy:hover {
    text-decoration: underline;
}

/*------ Attorney Medium -----*/
.tmf-post.attorney.medium h2.title {
    margin-bottom: 0;
    text-transform: capitalize;
}

.tmf-post.attorney.medium .excerpt {
    clear: both;
}

.tmf-post.attorney.medium .label {
    font-size: 0;
}

.tmf-post.attorney.medium .phone-1::before,
.tmf-post.attorney.medium .phone-2::before,
.tmf-post.attorney.medium .fax::before,
.tmf-post.attorney.medium .email::before{
    color: #8eb28f;
    font-size: 18px;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}

.tmf-post.attorney.medium .phone-1::before {
    content: "\f879";
    margin-right: 5px;
    transform: rotate(10deg);
    width: 20px;
}

.tmf-post.attorney.medium .phone-2::before {
    content: "\f879";
    margin-right: 5px;
    transform: rotate(10deg);
    width: 20px;
}

.tmf-post.attorney.medium .fax::before {
    content: "\f1ac";
    margin-right: 5px;
    width: 20px;
}

.tmf-post.attorney.medium .email::before {
    content: "\f0e0";
    margin-right: 5px;
    width: 20px;
}

/*---------- Practice Area Home ----------*/
.tmf-post.practice-area.home {
    display: inline-block;
    max-width: 550px;
    box-sizing: border-box;
    border-bottom: none;
    margin: 0 0 30px;
    padding: 0;
    vertical-align: top;
}

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

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

.tmf-post.practice-area.home .home-prac-thumbnail {
    position: relative;
}

.tmf-post.practice-area.home .home-prac-thumbnail .home-thumbnail {
    display: block;
    max-width: 500px !important;
    width: 100%;
}

.tmf-post.practice-area.home .home-prac-thumbnail .title {
    background: #333333;
    box-sizing: border-box;
    color: #ffffff;
    font-family: 'Source Serif Pro', serif;
    font-size: 36px;
    font-weight: 600;
    line-height: normal;
    padding: 5px 5px;
    width: 100%;
    height: 70px;
    bottom: 0;
    display: flex;
    vertical-align: middle;
    left: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tmf-post.practice-area.home .home-prac-thumbnail:hover .title {
    background: #39632d;
}

@media screen and (max-width: 550px) {
    .tmf-post.practice-area.home .home-prac-thumbnail .title {
        font-size: 24px;
        height: 65px;
        line-height: 24px;
    }
}

/*---------- Practice Area Small ----------*/
.tmf-post.practice-area.small {
    border-bottom: none;
    margin: 0;
    padding: 0;
}

.tmf-post.practice-area.small .title {
    border-bottom: 2px solid #ffffff;
    color: #ffffff;
    font-family: 'Source Serif Pro', serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 34px;
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

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

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

.tmf-post.small.practice-area .children {
    margin-top: 0;
    padding-left: 0;
    border-left: none;
    margin-bottom: 35px;
}

.tmf-post.small.practice-area.last-post .children {
    margin-bottom: 0;
}

.tmf-post.small.practice-area .children .tmf-post {
    position: relative
}

.tmf-post.small.practice-area .children .tmf-post:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 11px;
    position: absolute;
    background: url(../images/icon_sprite_3x.png) no-repeat -518px 0px;
    background-size: 660px;
    top: 6px;
    left: 0;
}

.tmf-post.small.practice-area .children .tmf-post .title {
    border-bottom: none;
    color: #ffffff;
    font-family: 'Assistant', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: left;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-left: 20px;
}

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

/*---------- Testimonial Small ----------*/
.tmf-post.testimonial.small {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

.tmf-post.testimonial.small .excerpt{
    color: #424242;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    margin-top: 0;
}

.tmf-post.testimonial.small .testimonial-description {
    float: none;
    color: #424242;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    margin-top: 15px;
}

@media screen and (max-width: 550px) {
    .tmf-post.testimonial.small .excerpt{
        font-size: 22px;
        line-height: 32px;
    }
}

@media screen and (max-width: 400px) {
    .tmf-post.testimonial.small .excerpt{
        font-size: 20px;
        line-height: 28px;
    }
}

/*---------- FAQ Small ----------*/
.tmf-post.faq.small {
    border-bottom: none;
}

/*---------- Video Home ----------*/
.tmf-post.video.home {}

.tmf-post.video.home .home-thumbnail{
    display: block;
    width: 100%;
}

@media screen and (max-width: 950px) {
    .tmf-post.video.home .home-thumbnail{
        max-width: 624px !important;
        margin: 0 auto;
    }
}

/*---------- Representative Case Small ----------*/
.tmf-post.representative-case.small {
    margin: 0;
    padding: 0;
}

.tmf-post.representative-case.small .excerpt{
    color: #000000;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    margin-top: 0;
}

/*---------- Location Small ----------*/
.tmf-post.location.small {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: 34px;
}

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

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

.tmf-post.location.small .footer-logo {
    max-width: 173px;
    width: 100%;
    margin: 0 auto 15px;
}

.tmf-post.location.small .title {
    font-family: 'Source Serif Pro', serif;
    font-size: 28px;
    font-weight: 6500;
    margin-bottom: 0;
}

.tmf-post.small.location .label {
    font-size: 0;
}

.tmf-post.small.location .phone-1,
.tmf-post.small.location .phone-2,
.tmf-post.small.location .fax,
.tmf-post.small.location .email {
    line-height: 26px;
}

.tmf-post.small.location .phone-1::before,
.tmf-post.small.location .phone-2::before,
.tmf-post.small.location .fax::before,
.tmf-post.small.location .email::before {
    color: #ffffff;
    font-size: 18px;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}

.tmf-post.small.location .phone-1::before {
    content: "\f879";
    margin-right: 5px;
    transform: rotate(10deg);
    width: 20px;
}

.tmf-post.small.location .phone-2::before {
    content: "\f879";
    margin-right: 5px;
    transform: rotate(10deg);
    width: 20px;
}

.tmf-post.small.location .fax::before {
    content: "\f1ac";
    font-size: 20px;
    margin-right: 5px;
    width: 20px;
}

.tmf-post.small.location .email::before {
    content: "\f0e0";
    margin-right: 5px;
    width: 20px;
}

@media screen and (max-width: 400px) {
    .tmf-post.location.small .address-2 {
        display: block;
    }
}

/*----------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: 250px;
    }
}

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