/* ============================================================================ *
    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 {
    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 .excerpt a{
    text-decoration: underline;
}

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

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

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


/*---------Testimonial Small----------*/
.tmf-post.testimonial.small {
    position: relative;
}

.tmf-post.testimonial.small:before {
    background: url(../images/icon_sprite_3x.png) no-repeat -149px 0px;
    background-size: 718px;
    content: "";
    display: block;
    position: absolute;
    height: 155px;
    width: 186px;
}

.tmf-post.testimonial.small .excerpt {
    color: #244267;
    font-size: 28px;
    font-style: italic;
    font-weight: 700;
    line-height: 44px;
    position: relative;
    z-index: 9;
    padding-left: 40px;
    padding-top: 25px;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #244267;
    font-size: 15px;
    font-style: normal;
}

@media screen and (max-width: 350px) {
    .tmf-post.testimonial.small .excerpt {
        padding-left: 0px;
        padding-top: 15px;
    }
}

/*---------Attorney Small----------*/
.tmf-post.attorney.small img.thumbnail {
    margin-right: 15px;
    min-height: 120px !important;
    max-width: 120px !important;
    margin-top: 5px;
    margin-bottom: 0 !important;    
    border: 2px solid #fff;
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.3);
}

.tmf-post.attorney.small .excerpt {
    color: #000000;
    font-size: 17px;
    line-height: 27px;
    margin-top: 0;
}

/*----------Practice Area Small----------*/
.tmf-post.small.practice-area {
    position: relative;
}

.tmf-post.practice-area.small .title {
    color: #000000;
    font-size: 19px;
}

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

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

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

/*---------Location Small----------*/
.tmf-post.location.small {
    display: inline-block;
    width: 50%;
    box-sizing: border-box;
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    text-align: center;
    vertical-align: top;
}

.tmf-post.location.small .location-small-inner{
    padding: 0 25px;
}

.tmf-post.small.location .static-map {}

.tmf-post.location.small img{
    border: 2px solid #fff;
    border-radius: 3px;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

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

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

.tmf-post.small.location .fax .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -32px 0px;
    background-size: 718px;
    display: inline-block;
    font-size: 0;
    height: 24px;
    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 -68px 0px;
    background-size: 718px;
    display: inline-block;
    font-size: 0;
    height: 21px;
    vertical-align: middle;
    width: 25px;
}

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

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

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

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

/*---------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: 0;
        margin-left: 0;
        margin-bottom: 15px;
    }
}


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