/* ============================================================================ *
        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;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.tmf-post.medium img.thumbnail {
    max-width: 150px;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 7px;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.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;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.children .tmf-post.medium img.thumbnail {
    max-width: 150px;
}

.tmf-post.attorney.medium img.thumbnail, 
.tmf-post.staff.medium img.thumbnail {
    max-height: inherit;
    max-width: 107px;
    width: 100%;
    margin-bottom: 0;
}

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

.tmf-post.attorney.large img.primary, 
.tmf-post.staff.large img.primary {
    max-width: 200px;
    width: 100%;
}


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

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

.tmf-post.small.practice-area .title:before {
    content: '\2022';
    color: #000;
    font-size: 20px;
    font-weight: 400;
    left: 0;
    position: absolute;
    top: 0;
}

.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: 255px;
    vertical-align: top;
    padding: 0;
    overflow: hidden;
}

.tmf-post.practice-area.home img.thumbnail {
    float: none;
}

.tmf-post.practice-area.home .title {
    background: rgba(66, 66, 66, 0.7) none repeat scroll 0 0;
    bottom: 0;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 25px;
    padding: 0 5px;
    position: absolute;
    text-align: center;
    width: 245px;
    height: 78px;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    display: flex;
}

.tmf-post.practice-area.home:hover .title {
    background: rgba(66, 66, 66, 1) none repeat scroll 0 0;
}

.tmf-post.tmf-post-84.practice-area.home .title {
    font-size: 18px;
}

.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: 830px) {
    .tmf-post.practice-area.home {
        margin: 5px 5px;
    }
}

/*-----------Location----------*/

.tmf-post.location.small {
    color: #fff;
    font-size: 16px;
    line-height: 25px;
}

.home .tmf-post.location.small {
    color: #333333;
}

.tmf-post.small.location img{
    border: 2px solid #fff;
    border-radius: 2px;
    float: left;
    margin-right: 25px;
}

.tmf-post.location.small .title {
    font-weight: 600;
    padding-top: 65px;
}

.tmf-post.location.small .phone-1 .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_white_1x.png) no-repeat scroll -33px 1px;
    content: "";
    display: inline-block;
    font-size: 0;
    height: 20px;
    width: 18px;
    vertical-align: middle;
}

.tmf-post.location.small .fax .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_white_1x.png) no-repeat scroll -59px 0px;
    content: "";
    display: inline-block;
    font-size: 0;
    height: 20px;
    width: 18px;
    vertical-align: middle;
}

.tmf-post.location.small .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_white_1x.png) no-repeat scroll -89px 2px;
    content: "";
    display: inline-block;
    font-size: 0;
    height: 20px;
    width: 18px;
    vertical-align: middle;
}

.home .tmf-post.location.small .phone-1 .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_1x.png) no-repeat scroll -33px 1px;
}

.home .tmf-post.location.small .fax .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_1x.png) no-repeat scroll -59px 0px;
}

.home .tmf-post.location.small .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_1x.png) no-repeat scroll -89px 2px;
}


@media screen and (max-width: 1050px) {
    .tmf-post.small.location{
        text-align: center;
    }

    .tmf-post.small.location img{
        float: none;
        margin-right: 0;
    }

    .tmf-post.location.small .title {
        padding-top: 0px;
    }
}


@media screen and (max-width: 650px) {
    .tmf-post.small.location {
        text-align: center;
    }
}



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


@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: 200px;
    }

    .tmf-post.large.attorney .contact-information, 
    .tmf-post.large.staff .contact-information {
        display: block;
    }
}


@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: 100%;
    }

    .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: 100%;
        float: none;
    }

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

    .tmf-post.news.small {
        width:100%;
        padding-right:1%;
        display:inline-block;
    }
}
