/* ============================================================================ *
        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: 350px;
    margin-right: 15px;
    margin-bottom: 15px;
}

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

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

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

.tmf-post.attorney .icon-container .vcard-resume-container, 
.tmf-post.staff .icon-container .vcard-resume-container {
    display: none;
}

.tmf-post.post.medium .post-information-container, 
.tmf-post.news.medium .post-information-container {
    display: none;
}


/*------Attorney Home-----*/
.tmf-post.attorney.home {
    border: none;
    display: table-cell;
    width: 50%;
    vertical-align: top;
}

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

.tmf-post.attorney.home img.home-image {
    border: 1px solid #f3f6f7;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border-radius: 1px;
    float: left;
    min-height: 230px;
    max-width: 168px;
    display: block;
    margin-right: 15px;
}

.tmf-post.attorney.home .title {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
}

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

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

.tmf-post.attorney.home .excerpt {
    color: #ffffff;
    font-size: 19px;
    line-height: 29px;
}

.tmf-post.attorney.home .excerpt a {
    color: #ffffff;
}

.tmf-post.attorney.home .attorney-associations{
    display: none;
}

@media screen and (max-width: 850px) {
    .tmf-post.attorney.home {
        display: block;
        width: 100%;
    }

    .tmf-post.attorney.home .attorney-associations{
        display: block;
        text-align: center;
    }

    .tmf-post.tmf-post-135.attorney.home .attorney-associations {
        text-align: left;
        color: #fff;
    }

    .tmf-post.attorney.home .attorney-associations img {
        padding: 15px 10px 0;
        vertical-align: middle;
    }
}


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

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

.tmf-post.attorney.small .title {
    color: #06456b;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1em;
    margin-bottom: 15px;
}

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

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

.tmf-post.attorney.small .excerpt {
    color: #474747;
    font-size: 19px;
    line-height: 29px;
}

.tmf-post.attorney.small .excerpt a {
    color: #474747;
}

.tmf-post.attorney.small .attorney-associations{
    text-align: center;
}

.tmf-post.attorney.small .attorney-associations img {
    max-width: 115px !important;
    padding: 15px 5px 0;
    vertical-align: middle;
}

/*----------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 {
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}

.tmf-post.testimonial.small:before {
    background: url(../images/icon_sprite_3x.png) no-repeat -202px 0px;
    background-size: 797px;
    height: 55px;
    width: 55px;
    content: "";
    position: absolute;
    display: inline-block;
    top: -40px;
    left: 20px;
}

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

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

.tmf-post.testimonial.small .excerpt {
    color: #06456b;
    font-size: 34px;
    font-style: italic;
    line-height: 48px;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #474747;
    font-size: 15px;
    font-style: normal;
    line-height: normal;
    padding-right: 0;
}

@media screen and (max-width: 450px) {
    .tmf-post.testimonial.small:before {
        left: 15px;
    }

    .tmf-post.testimonial.small:after {
        right: 15px;
    }

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


/*----------Post Small----------*/
.tmf-post.post.small{}

.tmf-post.post.small .title{
    color: #474747;
    font-size: 24px;
    font-weight: 700;
}

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

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

.tmf-post.post.small .excerpt{
    color: #474747;
    font-size: 19px;
    line-height: 29px;
}


/*----------Location Home----------*/
.tmf-post.home.location {
    border: none;
    color: #474747;
    font-size: 19px;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 0;
    padding-bottom: 5px;
}

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

.tmf-post.home.location img {
    float: left;
    margin-right: 25px;
    margin-top: 7px;
}

.tmf-post.home.location .phone-1::before {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll 0px 0px;
    background-size: 797px;
    content: "";
    display: inline-block;
    font-size: 0;
    height: 20px;
    vertical-align: middle;
    width: 25px;
}

.tmf-post.home.location .fax::before {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -32px 0px;
    background-size: 797px;
    content: "";
    display: inline-block;
    font-size: 0;
    height: 25px;
    vertical-align: middle;
    width: 25px;
}

.tmf-post.home.location .email::before {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -68px 0px;
    background-size: 797px;
    content: "";
    display: inline-block;
    font-size: 0;
    height: 20px;
    vertical-align: middle;
    width: 25px;
}

.tmf-post.home.location a{
    color: #474747;
    text-decoration: none;
}

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

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

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

@media screen and (max-width: 380px) {
    .tmf-post.home.location {
        font-size: 16px;
        line-height: 26px;
    }
}

/*----------Location Small----------*/
.tmf-post.small.location {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}

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

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

.tmf-post.small.location .phone .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -342px 0px;
    background-size: 797px;
    display: inline-block;
    font-size: 0;
    height: 23px;
    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 -370px 0px;
    background-size: 797px;
    display: inline-block;
    font-size: 0;
    height: 23px;
    vertical-align: middle;
    width: 25px;
}

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

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

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

    .tmf-post.small.location .business-name:after,
    .tmf-post.small.location .streetAddress-1:after,
    .tmf-post.small.location .phone-1:after,
    .tmf-post.small.location .fax: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;
    }
}
