/* ============================================================================ *
        Post Styles
    ---------------------------------------------------------------------------
        These are the styles which build all the various post types and their templates.
*/
.tmf-post.small img.thumbnail {
    float: left;
    max-width: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
}

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

.tmf-post.medium img.thumbnail.mobile {
    margin-top: 7px;
}

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


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

.tmf-post.attorney.small img.thumbnail {
    max-height: 141px;
    max-width: 125px;
    margin-right: 10px;
    margin-bottom: 0;
}

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

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

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

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

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

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

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

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

.tmf-post.testimonial.small .small-testimonial-container:after {
    background: url(../images/icon_sprite_3x.png) no-repeat -298px 0px;
    background-size: 720px;
    height: 55px;
    width: 55px;
    content: "";
    position: absolute;
    display: inline-block;
    bottom: 0;
    right: 0;
}

.tmf-post.testimonial.small .small-testimonial-box{
    padding: 0px 0 40px;
}

.tmf-post.testimonial.small .excerpt {
    color: #404040;
    font-size: 24px;
    font-style: normal;
    line-height: 38px;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #404040;
    font-size: 14px;
    font-style: normal;
    line-height: normal;
    margin-top: 0;
    padding-right: 0;
    position: relative;
    top: 30px;
}


/*----------Post Small----------*/
.tmf-post.post.small{
    margin: 0;
}

.tmf-post.post.small .date,
.tmf-post.post.small .title{
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    line-height: 26px
}

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

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

.tmf-post.post.small .excerpt{
    color: #000000;
    font-size: 18px;
    line-height: 26px;
}


/*-----------Location Small----------*/
.tmf-post.location.small {
    color: #ffffff;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    vertical-align: top;
}

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

.tmf-post.small.location .business-name:after,
.tmf-post.small.location .streetAddress:after,
.tmf-post.small.location .phone:after{ 
    content: "|"; 
    color: #ffffff;
    font-size: 18px; 
    font-weight: 400;
    margin: 0 5px; 
}

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

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

@media screen and (max-width: 700px) {
    .tmf-post.small.location .business-name,
    .tmf-post.small.location .streetAddress,
    .tmf-post.small.location .phone { 
        display: block; 
    }

    .tmf-post.small.location .business-name:after,
    .tmf-post.small.location .streetAddress:after,
    .tmf-post.small.location .phone:after { 
        display: 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 .primary,
    .tmf-post.large.staff .primary {
        float: none;
        margin-bottom: 15px;
    }

    .tmf-post.large:not(.attorney) img.primary {
        float: none;
        margin-right: auto;
        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;
    }
}
