/* ============================================================================ *
        Post Styles
    ---------------------------------------------------------------------------
        These are the styles which build all the various post types and their templates.
*/
.tmf-post {
    padding-bottom: 50px;
    margin-bottom: 50px;
}

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

.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-bottom: 0px;
    margin-top: 0;
}

.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;
    margin-top: 35px !important;
}

.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: #2c698d;
    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;
}

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

.tmf-post.attorney.medium .read-more-button.bottom {
    display: inline-block;
    float: left;
    margin-top: 35px;
    margin-bottom: 0;
}

/*------ 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 .large-top-cell-2 {
    padding: 50px 25px;
}

.tmf-post.attorney.large img.primary {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 390px !important;
    width: 100%;
    margin: 0;
}

.tmf-post.attorney.large .page-title-wrap{
    display: inline-block;
    border-bottom: 4px solid #b7b7b7;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

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

.tmf-post.attorney.large .tmf-taxonomy-list.attorney-titles {
    color: #151d32;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    margin: 5px 0 8px;
}

.tmf-post.attorney.large .tmf-taxonomy-list .tmf-taxonomy {
    color: #151d32;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
}

.tmf-post.attorney.large .contact-information {
    color: #333132;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

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

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

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

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

.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: #2c698d;
    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: 20px;
    font-weight: 700;
    margin-top: 0;
    vertical-align: middle;
}

@media screen and (max-width: 750px) {
    .tmf-post.attorney.large .large-top-cell-2 {
        padding: 50px 0;
    }
}

/*---------- Practice Areas Footer ----------*/
.tmf-post.practice-area.footer {
    border: none;
    color: #ffffff;
    font-size: 18px;
    margin: 0;
    padding: 5px 0 0;
}

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

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

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

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

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

.tmf-post.practice-area.small .small-wrap .title {
    color: #333333;
    font-size: 20px;
    font-weight: 700;
    line-height: 22px;
}

.tmf-post.practice-area.small .small-wrap .title a{
    color: #333333;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease-out;
}

.tmf-post.practice-area.small .small-wrap:hover .title a{
    color: #151D33;
    transition: color 0.3s ease-in;
}


.tmf-post.practice-area.small .small-wrap .icon-cell,
.tmf-post.practice-area.small .small-wrap .title-link {
    display: table-cell;
    vertical-align: middle;
}

.tmf-post.practice-area.small .small-wrap .icon-cell{
    width: 57px;
}

.tmf-post.practice-area.small .small-wrap .title-link {
    padding-left: 5px;
    width: auto;
}

.tmf-post.practice-area.small .small-wrap .icon-box {
    box-sizing: border-box;
    border-radius: 50%;
    background: #2c698d;
    display: flex;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
}

.tmf-post.practice-area.small .small-wrap:hover .icon-box {
    background: #408bb1;
    transition: all 0.3s ease-in;
}

.tmf-post.practice-area.small .small-wrap .icon {
    background: url(../images/icon_sprite_3x.png) no-repeat; 
    background-size: 721px;
    display: flex;
    width: 31px;
    height: 33px;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
}

.tmf-post.practice-area.small .small-wrap .creditors-rights .icon {
    background-position: -359px 0px;
    width: 30px;
    height: 31px;
}

.tmf-post.practice-area.small .small-wrap .probate-and-trust-administration .icon {
    background-position: -359px 0px;
    width: 30px;
    height: 31px;
}


.tmf-post.practice-area.small .small-wrap .elder-law .icon {
    background-position: -179px 0px;
    width: 31px;
    height: 33px;
}

.tmf-post.practice-area.small .small-wrap .estate-planning .icon {
    background-position: -120px 0px;
    width: 31px;
    height: 32px;
}

.tmf-post.practice-area.small .small-wrap .income-tax .icon {
    background-position: -240px 0px;
    width: 31px;
    height: 28px;
}

.tmf-post.practice-area.small .small-wrap .real-estate-law .icon {
    background-position: -299px 0px;
    width: 32px;
    height: 28px;
}

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

.tmf-post.practice-area.medium .taxonomy-container {
    margin-top: 0;
}

/*---------- Post Medium ----------*/
.tmf-post.post.medium {
    box-sizing: border-box;
    border: none;
    margin: 0 0 25px;
    padding: 0 0 25px;
    display: inline-block;
    width: 50%;
    vertical-align: top;
}

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

.tmf-post.post.medium h2.title {
    background: #d2d4d8;
    color: #151d32;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    padding: 25px 50px 25px 15px;
}

.tmf-post.post.medium .medium-content-wrap {
    border-left: 2px solid #d2d4d8;
    padding: 0 50px 0 15px;
}

.tmf-post.post.medium .post-information-container {
    display: block;
    margin-bottom: 10px;
}

.tmf-post.post.medium .date,
.tmf-post.post.medium .author,
.tmf-post.post.medium .contributors,
.tmf-post.post.medium .taxonomy-container{
    display: inline-block;
    margin: 0;
}

.tmf-post.post.medium .date,
.tmf-post.post.medium .contributors a,
.tmf-post.post.medium .taxonomy-container a {
    color: #2c698d;
    font-style: normal;
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
}

.tmf-post.post.medium .contributors .contributor-label {
    display: none;
}

.tmf-post.post.medium .author::before,
.tmf-post.post.medium .contributors::before,
.tmf-post.post.medium .taxonomy-container .tmf-taxonomy-list::before {
    content: '|';
    display: inline-block;
    color: #a6a8a9;
    font-style: normal;
    font-size: 18px;
    font-weight: 700;
    width: 2px;
    height: 100%;
    margin: 0 15px 0 10px;
}

.tmf-post.post.medium .excerpt{
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    margin-top: 0;
}

.tmf-post.post.medium .read-more {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    margin-top: 10px;
    display: inline-block;
}

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

    .tmf-post.post.medium h2.title {
        padding: 25px 15px;
    }

    .tmf-post.post.medium .medium-content-wrap {
        padding: 0 15px;
    }
}

/*---------- Location Mobile ----------*/
.tmf-post.location.mobile-location .location-small-container {
    max-width: 100%;
}

.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 .map-label {
    font-size: 22px;
    vertical-align: top;
    top: 5px;
    transform: inherit;
}

/*---------- Location Small ----------*/
.tmf-post.location.small {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    line-height: 32px;
    margin: 0;
    padding: 0;
}

.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: Arial, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 15px;
    max-width: 200px;
}

.tmf-post.small.location .address {
    position: relative;
}

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

.tmf-post.small.location .streetAddress {
    display: block;
}

.tmf-post.small.location .address-3 {
    padding-left: 25px;
}

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

.tmf-post.small.location .streetAddress::before,
.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: 16px;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}

.tmf-post.small.location .streetAddress::before {
    content: "\f3c5";
    font-size: 18px;
    margin-right: 5px;
    vertical-align: top;
}

.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: 950px) {
    .tmf-post.small.location .title {
        max-width: 100%;
    }

    .tmf-post.small.location .address-3 {
        padding-left: 0;
    }
}

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