/* ============================================================================ *
        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 {
    display: inline-block;
    max-width: 362px;
    vertical-align: top;
    text-align: center;
    padding-bottom: 25px;
    margin-bottom: 0;
}

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

.tmf-post.attorney.small .small-image {
    border: 6px solid #6296ca;
    border-radius: 50%;
    box-sizing: border-box;
    max-width: 262px !important;
    width: 100%;
}

.tmf-post.attorney.small .title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    line-height: normal;
    padding-top: 5px;
}

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

.tmf-post.attorney.small .read-more{
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.tmf-post.attorney.small .read-more:hover{
    text-decoration: underline;
}

@media screen and (max-width: 1200px) {
    .tmf-post.attorney.small .small-inner{
        padding: 0 25px;
    }
}

/*------ 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: #1e69b3;
    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 Billboard ----------*/
.tmf-post.billboard.practice-area {
    border: none;
    margin: 20px 0 0;
    padding: 0;
}

.tmf-post.billboard.practice-area .tmf-button {
    box-sizing: border-box;
    display: flex !important;
    font-size: 19px;
    line-height: 20px;
    max-width: 100% !important;
    width: 100% !important;
    height: 56px;
    padding: 5px 15px !important;
    align-items: center;
    justify-content: center;
}

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

.tmf-post.practice-area.small .title {
    color: #3b3b3b;
    font-size: 22px;
    font-weight: 700;
    line-height: 26px;
}

.tmf-post.practice-area.small .title-link {
    padding-left: 10px;
    display: table-cell;
    vertical-align: middle;
}

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

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

.tmf-post.practice-area.small .title a::before {
    background: url(../images/icon_sprite_sidebar_practice_areas_3x.png) no-repeat;
    background-size: 341px;
    content: "";
    display: table-cell;
    width: 48px;
    height: 41px;
    vertical-align: middle;
}

.tmf-post.practice-area.small .guardianship-conservatorship a::before {
    background-position: 4px 0px;
    height: 30px;
}

.tmf-post.practice-area.small .supplemental-needs-special-needs-trusts a::before {
    background-position: -55px 0px;
    height: 41px;
}

.tmf-post.practice-area.small .trust-and-estate-administration a::before {
    background-position: -106px 0px;
    height: 33px;
}

.tmf-post.practice-area.small .elder-disability-law a::before {
    background-position: -235px 0px;
    height: 40px;
}

.tmf-post.practice-area.small .estate-planning a::before {
    background-position: -147px 0px;
    height: 39px;
    width: 45px;
}

.tmf-post.practice-area.small .estate-planning .title-link {
    padding-left: 13px;
}

.tmf-post.practice-area.small .probate a::before {
    background-position: -192px 0px;
    height: 32px;
    position: relative;
    left: 2px;
}

.tmf-post.practice-area.small .family-law a::before {
    background-position: -297px 0px;
    height: 36px;
}

@media screen and (max-width: 450px) {
    .tmf-post.practice-area.small .title {
        font-size: 16px;
        line-height: 20px;
    }

    .tmf-post.practice-area.small .title-link {
        padding-left: 0px;
        display: block;
        padding-top: 5px;
    }
}

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

.tmf-post.article.small .excerpt{
    color: #3b3b3b;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    margin-top: 0;
}

.tmf-post.article.small .read-more {
    display: inline-block;
    color: #6296ca;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 15px;
}

.tmf-post.article.small .read-more:hover {
    text-decoration: underline;
}

@media screen and (max-width: 450px) {
    .tmf-post.article.small .excerpt {
        font-size: 18px;
        line-height: 26px;
    }
}

/*---------- Location Header ----------*/
.tmf-post.location.header {
    border: none;
    padding: 0;
    margin: 0;
}

.tmf-post.location.header .icon-container {
    display: inline-block;
    vertical-align: middle;
}

.tmf-post.location.header .phone,
.tmf-post.location.header .email{
    box-sizing: border-box;
    display: inline-block;
}

.tmf-post.location.header .phone{
    padding-right: 25px;
}

.tmf-post.location.header .phone-1::before {
    background: url(../images/icon_sprite_3x.png) no-repeat 0px 0px;
    background-size: 742px;
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 5px;
}

.tmf-post.location.header .email::before {
    background: url(../images/icon_sprite_3x.png) no-repeat -60px 0px;
    background-size: 742px;
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 5px;
}

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

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

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

.tmf-post.small.location .title {
    color: #ffffff;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 10px;
}

.tmf-post.small.location .phone-1 {}

.tmf-post.small.location .label {
    font-weight: 500;
}

.tmf-post.small.location .streetAddress::before,
.tmf-post.small.location .phone-1 .label::before,
.tmf-post.small.location .phone-2 .label::before,
.tmf-post.small.location .fax .label::before,
.tmf-post.small.location .email .label::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 .streetAddress::before {
    content: "\f3c5";
    margin-right: 5px;
    vertical-align: top;
}

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

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

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

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

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

@media screen and (max-width: 370px) {
    .tmf-post.location.small {
        font-size: 15px;
        line-height: 28px;
    }
}

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