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

.tmf-post.medium img.thumbnail {
    max-width: 150px;
    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 .excerpt a{
    text-decoration: underline;
}

.tmf-post .excerpt a:hover {
    text-decoration: none;
}

/*------Attorney Medium & Large-----*/
.tmf-post.attorney.medium h2.title {
    margin-bottom: 0;
}

.tmf-post.attorney.medium .excerpt {
    clear: both;
}

.tmf-post.attorney .contact-information {
    color: #000000;
    font-size: 20px;
    font-weight: 700;
    line-height: 40px;
    margin: 0;
}

.tmf-post.attorney .contact-information a{
    color: #000000;
}

.tmf-post.attorney .icon-container .vcard-resume-container {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0px;
    line-height: 40px;
}

.tmf-post.attorney .icon-container .vcard-resume-container a{
    color: #000000;
}

.tmf-post.attorney .phone .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -140px 0px;
    background-size: 260px;
    display: inline-block;
    font-size: 0;
    height: 22px;
    vertical-align: middle;
    width: 18px;
    margin-right: 3px;
    margin-left: 4px;
}

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

.tmf-post.attorney .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -199px 0px;
    background-size: 260px;
    display: inline-block;
    font-size: 0;
    height: 15px;
    vertical-align: middle;
    width: 21px;
    margin-right: 4px;
}

.tmf-post.attorney.large .large-top-cell-1,
.tmf-post.attorney.large .large-top-cell-2{
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

.tmf-post.attorney.large .large-top-cell-1{
    padding-right: 25px;
}

.tmf-post.attorney.large h1#page-title {
    display: block;
    color: #14335b;
    font-size: 30px;
    margin-bottom: 5px;
}

.tmf-post.attorney.large img.primary {
    max-width: 310px;
    margin: 0 0 15px;
}

.tmf-post.attorney .tmf-taxonomy-list.attorney-titles {
    font-size: 20px;
    font-weight: 700;
    line-height: 40px;
    margin: 5px 0 8px;
}

.tmf-post.attorney .tmf-taxonomy-list .tmf-taxonomy {
    color: #000000;
    font-weight: 700;
    font-size: 20px;
    font-style: 40px;
}

.tmf-post.attorney .contact-information {
    line-height: 40px;
}

.tmf-post.attorney .icon-container {
    line-height: 40px;
}

.tmf-post.attorney .icon-container .social-icons {
    margin: 0;
    display: block;
}

.tmf-post.attorney .vcard .label {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    line-height: 40px;
    vertical-align: middle;
}

.tmf-post.attorney .superlawyer {
    padding-top: 25px;
}

/*----------Testimonial Home----------*/
.tmf-post.representative-case.small {
    margin: 0;
    padding: 0 100px;
    text-align: center;
}

.tmf-post.representative-case.small .title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: normal;
}

.tmf-post.representative-case.small .excerpt{
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    margin-top: 0;
}

@media screen and (max-width: 1250px) {
    .tmf-post.representative-case.small {
        padding: 0 65px;
    }
}

@media screen and (max-width: 450px) {
    .tmf-post.representative-case.small {
        padding: 0 40px;
    }

    .tmf-post.representative-case.small .excerpt{
        font-size: 16px;
        line-height: 27px;
    }
}

/*----------Practice Area Small----------*/
.tmf-post.practice-area.small {
    text-align: center;
    margin-top: 20px;
}

.tmf-post.practice-area.small .tmf-button {
    box-sizing: border-box;
    display: inline-block;
    width: 100%;
    font-size: 16px;
    padding: 18px 10px;
}

/*----------Location Mobile----------*/
.tmf-post.location.mobile-location .location-small-container {
    max-width: 595px;
    margin: 0 auto;
}

@media screen and (max-width: 625px) {
    .tmf-post.location.mobile-location .location-small-container {
        max-width: 350px;
    }

    .tmf-post.location.mobile-location .location-small-1, 
    .tmf-post.location.mobile-location .location-small-2 {
        display: block;
        max-width: 100%;
    }

    .tmf-post.location.mobile-location .location-small-1 {
        border-right: none;
    }

    .tmf-post.location.mobile-location .location-small-2 {
        margin-top: 10px;
    }

    .tmf-post.location.mobile-location .divider {
        display: block;
        height: 1px;
        width: 100%;
        margin-top: 10px;
    }
}

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

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

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

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

.tmf-post.small.location .address {
    position: relative;
    padding-left: 27px;
}

.tmf-post.small.location .address-label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -59px 0px;
    background-size: 260px;
    content: '';
    font-size: 0;
    display: inline-block;
    height: 21px;
    vertical-align: middle;
    width: 19px;
    position: absolute;
    top: 5px;
    left: 0;
}

.tmf-post.small.location .phone .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -79px 0px;
    background-size: 260px;
    content: '';
    font-size: 0;
    display: inline-block;
    height: 19px;
    vertical-align: middle;
    width: 19px;
    margin-right: 3px;
}

.tmf-post.small.location .fax .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -99px 0px;
    background-size: 260px;
    content: '';
    font-size: 0;
    display: inline-block;
    height: 19px;
    vertical-align: middle;
    width: 19px;
    margin-right: 3px;
}

.tmf-post.small.location .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -120px 0px;
    background-size: 260px;
    content: '';
    font-size: 0;
    display: inline-block;
    height: 14px;
    vertical-align: middle;
    width: 19px;
    margin-right: 3px;
}

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

    .tmf-post.small.location .address {
        padding-left: 0;
    }

    .tmf-post.small.location .address-label {
        position: relative;
        top: 0;
    }
}

/*----------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 img.primary,
    .tmf-post.large.staff img.primary {
        float: none;
        margin-bottom: 15px;
    }

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