/* ============================================================================ *
        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 Medium -----*/
.tmf-post.attorney.medium h2.title {
    margin-bottom: 0;
}

.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: #8c959c;
    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;
}

/*------ Attorney Large -----*/
.tmf-post.attorney.large .large-top-cell-1,
.tmf-post.attorney.large .large-top-cell-2{
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

.tmf-post.attorney.large h1#page-title {
    display: inline-block;
    color: #610d0d;
    font-size: 34px;
    margin-bottom: 10px;
}

.tmf-post.attorney.large img.primary {
    border: 3px solid #8c959c;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 342px !important;
    width: 100%;
    margin: 0 25px 15px 0px;
}

.tmf-post.attorney.large .tmf-taxonomy-list.attorney-titles {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    margin: 5px 0 8px;
}

.tmf-post.attorney.large .tmf-taxonomy-list .tmf-taxonomy {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
}

.tmf-post.attorney.large .contact-information {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.tmf-post.attorney.large a{
    font-weight: 400;
}

.tmf-post.attorney.large .contact-information a{
    color: #000000;
    font-weight: 400;
}

.tmf-post.attorney.large .icon-container .vcard-resume-container {
    display: block;
    font-size: 18px;
    font-weight: 400;
    margin-top: 0px;
    line-height: normal;
}

.tmf-post.attorney.large .icon-container .vcard-resume-container a{
    color: #000000;
}

.tmf-post.attorney.large .phone-1, 
.tmf-post.attorney.large .email {
    line-height: 30px;
}

.tmf-post.attorney.large .phone .label,
.tmf-post.attorney.large .fax .label,
.tmf-post.attorney.large .email .label {
    font-size: 0;
}

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

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

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

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

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

.tmf-post.attorney.large .contact-information {
    line-height: 34px;
}

.tmf-post.attorney.large .icon-container {
    line-height: 34px;
}

.tmf-post.attorney.large .vcard .label {
    font-size: 18px;
    font-weight: 400;
    margin-top: 0;
    vertical-align: middle;
}

@media screen and (max-width: 550px) {
    .tmf-post.attorney.large img.primary {
        margin: 0 0 15px;
    }
}

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

.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: 400px !important;
    width: 100%;
}

.tmf-post.practice-area.home .home-prac-thumbnail:hover .home-thumbnail {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.tmf-post.practice-area.home .home-prac-thumbnail .title-wrap {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
}

.tmf-post.practice-area.home .home-prac-thumbnail .title {
    background: rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    color: #ffffff;
    font-family: 'Gentium Book Basic', serif;
    font-size: 36px;
    font-weight: 700;
    line-height: normal;
    padding: 5px 5px;
    width: 100%;
    height: 70px;
    display: flex;
    vertical-align: middle;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tmf-post.practice-area.home .tmf-button{
    box-sizing: border-box;
    display: inline-block;
    font-size: 18px;
    max-width: 140px;
    width: 100%;
    padding: 10px 10px;
    margin-top: 25px;
}

@media screen and (max-width: 400px) {
    .tmf-post.practice-area.home .home-prac-thumbnail .title {
        font-size: 22px;
        height: 40px;
    }
}

/*---------- Practice Area Small ----------*/
.tmf-post.small.practice-area {}

.tmf-post.practice-area.small .title {
    color: #000000;
    font-size: 20px;
    line-height: 30px;
    position: relative;
    padding-left: 20px;
}

.tmf-post.practice-area.small .title:before {
    background: url(../images/icon_sprite_3x.png) no-repeat -120px 0px;
    background-size: 294px;
    content: "";
    display: inline-block;
    width: 20px;
    height: 16px;
    vertical-align: middle;
    margin-right: 0;
    position: absolute;
    top: 7px;
    left: 0;
}

.tmf-post.practice-area.small .title:hover:before {
    background: url(../images/icon_sprite_3x.png) no-repeat -100px 0px;
    background-size: 294px;
}

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

.tmf-post.practice-area.small .title a:hover{
    color: #610d0d;
}

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

.tmf-post.testimonial.small .excerpt {
    color: #000000;
    font-size: 22px;
    font-style: italic;
    font-weight: 400;
    line-height: 32px;
    margin-top: 0;
    position: relative;
    padding-left: 50px;
    padding-top: 30px;
}

.tmf-post.testimonial.small .excerpt:before {
    background: rgba(0, 0, 0, 0) url(../images/home_testimonial_quotation_mark_3x.png) no-repeat scroll 0 0;
    background-size: 102px;
    content: "";
    display: inline-block;
    width: 102px;
    height: 95px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #333333;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
}

@media screen and (max-width: 750px) {
    .tmf-post.testimonial .testimonial-description {
        float: left;
    }
}

@media screen and (max-width: 650px) {
    .tmf-post.testimonial.small .excerpt {
        padding-left: 25px;
        padding-top: 25px;
    }
}

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

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

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

.tmf-post.location.small .location-small-1, 
.tmf-post.location.small .location-small-2 {
    box-sizing: border-box;
    display: table-cell;
    vertical-align: middle;
    text-align: left;
}

.tmf-post.location.small .small-inner{
    padding: 0 0 0 25px;
}

.tmf-post.location.small .title {
    color: #000000;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0px;
}

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

.tmf-post.small.location .download-instruction a:hover {
    text-decoration: none;
}

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