/* ============================================================================ *
        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 {
    max-width: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.tmf-post.medium img.thumbnail {
    max-width: 250px;
    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;
}


/*---------Attorney Small----------*/

.tmf-post.attorney.medium .title {
    margin-bottom: 0;
}

.tmf-post.attorney.small img.thumbnail {
    margin-right: 15px;
    min-height: 124px !important;
    max-width: 104px !important;
    margin-bottom: 0 !important;
}

.tmf-post.attorney.small .excerpt {
    color: #000000;
    font-size: 18px;
    line-height: 35px;
    margin-top: 0;
}


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

.tmf-post.practice-area.small .title {
    color: #000;
    font-size: 20px;
    font-weight: 400;
}

.tmf-post.practice-area.small .title a {
    color: #000;
}

.tmf-post.practice-area.small .children{
    display: none;
}

/*----------Practice Area Home----------*/
.tmf-post.practice-area.home {
    border: none;
    display: inline-block;
    line-height: 0;
    margin: 0;
    max-width: 200px;
    vertical-align: top;
    padding: 0;
    overflow: hidden;
    margin: 0 18px 25px;
}

.tmf-post.practice-area.home img.sidebar-thumbnail {
    float: none;
    max-width: 200px;
    min-height: 264px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.tmf-post.practice-area.home .title {
    background: rgba(20, 42, 79, 0.7);
    border-bottom: 1px solid #ffffff;
    -moz-border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
    box-sizing: border-box;
    top: 0;
    color: #fff;
    font-family: 'Source Serif Pro', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    padding: 0px;
    position: absolute;
    text-align: center;
    width: 100%;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    left: 0;
    right: 0;
}

.tmf-post.practice-area.home:hover .title {
    background: rgba(20, 42, 79, 1);
}

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

.tmf-post.practice-area.home .title a:hover {
    text-decoration: none;
}

@media screen and (max-width: 1330px) {
    .tmf-post.practice-area.home {
        margin: 0 12px 25px;
    }
}

/*---------Testimonial Small----------*/
.tmf-post.testimonial.small {}

.tmf-post.testimonial.small:before {
    background: url(../images/icon_sprite_3x.png) no-repeat -286px 0px;
    background-size: 804px;
    height: 62px;
    width: 65px;
    content: "";
    position: relative;
    display: inline-block;
    top: 0;
    left: 0;
}

.tmf-post.testimonial.small:after {
    background: url(../images/icon_sprite_3x.png) no-repeat -366px 0px;
    background-size: 804px;
    height: 62px;
    width: 65px;
    content: "";
    position: relative;
    display: inline-block;
    /* top: 0; */
    /* right: 0; */
    float: right;
}

.tmf-post.testimonial.small .excerpt {
    color: #666666;
    font-size: 34px;
    font-style: normal;
    line-height: 52px;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #666666;
    font-size: 20px;
    font-style: normal;
    line-height: normal;
    margin-bottom: 15px;
}

/*----------Location Small----------*/
.tmf-post.location.small {
    border-right: 1px solid #5e88a6;
    box-sizing: border-box;
    color: #fff;
    font-size: 20px;
    line-height: 32px;
    display: inline-block;
    width: 50%;
    text-align: center;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.tmf-post.location.small.last-post {
    border: none;
    margin: 0 auto;
    display: block;
}

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

.tmf-post.location.small .business-name {
    font-weight: 700;
}

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

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

.tmf-post.small.location .phone .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll 0px 0px;
    background-size: 804px;
    display: inline-block;
    font-size: 0;
    height: 22px;
    vertical-align: middle;
    width: 25px;
}

.tmf-post.small.location .fax .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -32px 0px;
    background-size: 804px;
    display: inline-block;
    font-size: 0;
    height: 22px;
    vertical-align: middle;
    width: 25px;
}

.tmf-post.small.location .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -68px 3px;
    background-size: 804px;
    display: inline-block;
    font-size: 0;
    height: 22px;
    vertical-align: middle;
    width: 25px;
}

@media screen and (max-width: 850px) {
    .tmf-post.location.small {
        display: block;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #5e88a6;
    }

    .tmf-post.location.small.last-post {
        border: none;
    }

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

@media screen and (max-width: 450px) {
    .tmf-post.location.small .location-small-inner {
        padding: 25px 12px;
    }
}

@media screen and (max-width: 350px) {
    .tmf-post.location.small {
        font-size: 18px;
    }
}

.tmf-post.location.mobile-location .location-small-container {
    max-width: 580px;
}

.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.attorney img.primary,
    .tmf-post.large.staff img.primary {
        max-width: 100%;
    }
}


@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 {
        float: none;
    }

    .tmf-post img.primary {
        max-width: 150px;
    }
}
