 /* ============================================================================ *
        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 {
    border: 2px solid #fff;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    float: left;
    max-width: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.tmf-post.medium img.thumbnail {
    border: 2px solid #fff;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    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 {
    border: 3px solid #fff;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    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.small .excerpt a{
    text-decoration: underline;
}

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

.tmf-post.attorney .contact-information, 
.tmf-post.staff .contact-information {
    font-size: 18px;
}

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

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

.tmf-post.representative-case.medium h2.title{
    font-size: 22px;
}


/*----------Representative Case Billboard----------*/
.tmf-post.billboard.representative-case {
    margin: 0;
    padding: 0;
    border: none;
}

.tmf-post.billboard.representative-case .excerpt {
    color: #ffffff;
    font-size: 26px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    line-height: 42px;
    margin: 0;
}

.tmf-post.billboard.representative-case .editor-content p {
    line-height: 42px;
}


/*----------Representative Case Small----------*/
.tmf-post.small.representative-case {}

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

.tmf-post.small.representative-case .editor-content p {
    line-height: 25px;
}


/*----------Locations Small----------*/
.tmf-post.small.location {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    margin: 0;
    padding: 0;
}

.tmf-post.small.location .location-small-cell-1 {
    display: table-cell;
    max-width: 350px;
    vertical-align: top;
    padding-right: 25px;
}

.tmf-post.small.location .location-small-cell-1:last-child {
    padding-right: 0;
}

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

.tmf-post.small.location .phone .label:before {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll 0px 0px;
    background-size: 558px;
    content: '';
    display: inline-block;
    height: 17px;
    vertical-align: middle;
    width: 23px;
}

.tmf-post.small.location .fax .label:before {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -22px 0px;
    background-size: 558px;
    content: '';
    display: inline-block;
    height: 20px;
    vertical-align: middle;
    width: 23px;
}

.tmf-post.small.location .email .label:before {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -49px 1px;
    background-size: 558px;
    content: '';
    display: inline-block;
    height: 17px;
    vertical-align: middle;
    width: 23px;
}

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

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

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

    .tmf-post.small.location .location-small-cell-1 {
        display: block;
        max-width: 100%;
        padding-right: 0;
    }
}


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

@media screen and (max-width: 640px) {
    .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 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.practice-area img.primary {
        float: none;
        margin: 0 auto 15px;
        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: 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;
    }
}
