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

@media screen and (max-width: 850px) {
    .tmf-post.large:not(.attorney) img.primary {
        display: none;
    }
}

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

.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.medium.post .title {
    margin-bottom: 0;
}

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

/*---------- Attorney Small ----------*/
.tmf-post.attorney.home {
    position: relative;
}

.tmf-post.attorney.home .attorney-cell-1,
.tmf-post.attorney.home .attorney-cell-2{
    border: none;
    display: table-cell;
    width: auto;
    vertical-align: top;
}

.tmf-post.attorney.home .attorney-cell-1 {
    width: 393px;
}

.tmf-post.attorney.home .attorney-cell-1 .home-inner{
    padding: 0 25px;
}

.tmf-post.attorney.home .attorney-cell-2 .home-inner {
    padding: 0 25px;
}

.tmf-post.attorney.home .home-image {
    border: 3px solid #ffff;
    box-sizing: border-box;
    display: block;
    max-width: 343px !important;
    width: 100%;
    position: relative;
    z-index: 1;
    top: -21px;
}

.tmf-post.attorney.home .home-content-box {
    max-width: 100%;
    display: flex;
    justify-content: center;
    height: 350px;
    flex-direction: column;
}

.tmf-post.attorney.home .title {
    color: #ffffff;
    font-size: 30px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 15px;
}

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

.tmf-post.attorney.home .excerpt {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    margin-top: 0;
}

.tmf-post.attorney.home .attorney-buttons {}

.tmf-post.attorney.home .tmf-button {
    box-sizing: border-box;
    display: inline-block;
    max-width: 310px;
    width: 100%;
    margin-top: 25px;
    padding: 16px 15px;
}

@media screen and (max-width: 950px) {
    .tmf-post.attorney.home .attorney-cell-1,
    .tmf-post.attorney.home .attorney-cell-2{
        display: block;
        width: 100%;
        text-align: center;
    }

    .tmf-post.attorney.home .attorney-cell-2 .home-inner {
        padding: 0px 25px;
    }

    .tmf-post.attorney.home .home-image {
        box-sizing: border-box;
        top: 0;
        z-index: inherit;
        margin: 0 auto 25px;
    }

    .tmf-post.attorney.home .home-content-box {
        max-width: 100%;
        display: block;
        justify-content: inherit;
        height: auto;
        flex-direction: inherit;
    }

    .tmf-post.attorney.home .title-1 {
        margin: 0px auto;
    }

    .tmf-post.attorney.home .title-2 {
        padding-left: 0;
    }
}

/*------ Attorney Small -----*/
.tmf-post.attorney.small{}

.tmf-post.attorney.small img.thumbnail {
    border: 2px solid #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    min-width: 138px;
    min-height: 159px;
    margin-top: 7px;
    margin-right: 15px;
    margin-bottom: 0;
}

.tmf-post.attorney.small .excerpt {
    color: #fff;
    font-size: 20px;
    line-height: 36px;
}

/*---------- Testimonial Home ----------*/
.tmf-post.testimonial.home {
    box-sizing: border-box;
    border-bottom: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.tmf-post.testimonial.home .excerpt{
    color: #172240;
    font-size: 24px;
    font-style: italic;
    font-weight: 500;
    line-height: 32px;
    margin-top: 0;
}

.tmf-post.testimonial.home .testimonial-description {
    float: none;
    color: #172240;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    margin-top: 25px;
}

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

/*---------- Testimonial Small ----------*/
.tmf-post.testimonial.small .excerpt {
    color: #ffffff;
    font-size: 36px;
    line-height: 50px;
    font-weight: 300;
    font-style: italic;
}

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

/*---------- Location Small ----------*/
.tmf-post.location.small {
    box-sizing: border-box;
    border: 2px solid #ffff;
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    display: flex;
    flex-direction: column;
    height: 336px;
    align-items: center;
    justify-content: center;
    padding: 15px 15px;
}

.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-size: 24px;
    font-weight: 500;
    line-height: normal;
    margin: 0 0 25px;
}

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

.tmf-post.small.location .phone-1,
.tmf-post.small.location .email{
    font-weight: 700;
}

.tmf-post.small.location .phone-1{
    padding-top: 10px;
}

.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: #172240;
    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: 350px) {
    .tmf-post.location.small {
        display: block;
        flex-direction: inherit;
        height: auto;
        align-items: inherit;
        justify-content: inherit;
        padding: 45px 15px;
    }
}

@media screen and (max-width: 350px) {
    .tmf-post.location.small {
        font-size: 16px;
        line-height: 26px;
        padding: 15px 10px;
    }
}

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

@media screen and (max-width: 600px) {
    .tmf-post.large.attorney .primary,
    .tmf-post.large.staff .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;
    }
}
