/* ============================================================================ *
        Post Styles
    ---------------------------------------------------------------------------
        These are the styles which build all the various post types and their templates.
*/

.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;
}

.tmf-post.attorney.large img.primary {
    margin-top: 0;
}

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

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


/*---------Practice Area----------*/
.tmf-post.small.practice-area {
    margin-bottom: 20px;
}

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

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

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

.tmf-post.small.practice-area .children {
    padding-left: 0;
}

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

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

.tmf-post.small.practice-area .children .tmf-post .title {
    font-size: 18px;
    font-weight: 400;
}


/*---------Location----------*/
.tmf-post.location.small {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    margin: 0;
}

.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_1x.jpg) repeat scroll 0px 0px;
    display: inline-block;
    font-size: 0;
    height: 20px;
    vertical-align: middle;
    width: 17px;
}

.tmf-post.small.location .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_1x.jpg) repeat scroll -39px 0px;
    display: inline-block;
    font-size: 0;
    height: 20px;
    vertical-align: middle;
    width: 22px;
}

.tmf-post.small.location .phone-1:after { 
    content: "|"; 
    font-size: 20px; 
    font-weight: 400; 
    color: #fff; 
    margin: 0 5px; 
}

@media screen and (max-width: 500px) {
    .tmf-post.small.location .phone-1{ 
        display: block; 
    }

    .tmf-post.small.location .phone-1:after { 
        display: none;
    }
}

.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.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 {
        max-width: 75px;
    }

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