/* ============================================================================ *
        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: 0 0 0 2px #fff,  0 0 5px 2px rgba(0,0,0, 0.4);
    -moz-box-shadow: 0 0 0 2px #fff,  0 0 5px 2px rgba(0,0,0, 0.4);
    box-shadow: 0 0 0 2px #fff,  0 0 5px 2px rgba(0,0,0, 0.4);
}

.tmf-post.medium img.thumbnail {
    max-width: 250px;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 7px;
    -webkit-box-shadow: 0 0 0 2px #fff,  0 0 5px 2px rgba(0,0,0, 0.4);
    -moz-box-shadow: 0 0 0 2px #fff,  0 0 5px 2px rgba(0,0,0, 0.4);
    box-shadow: 0 0 0 2px #fff,  0 0 5px 2px rgba(0,0,0, 0.4);
}

.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;
    -webkit-box-shadow: 0 0 0 3px #fff,  0 0 5px 2px rgba(0,0,0, 0.4);
    -moz-box-shadow: 0 0 0 3px #fff,  0 0 5px 2px rgba(0,0,0, 0.4);
    box-shadow: 0 0 0 3px #fff,  0 0 5px 2px rgba(0,0,0, 0.4);
}

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

/*---------Attorney----------*/
.tmf-post.attorney.small img.thumbnail {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 0 2px #fff,  0 0 5px 2px rgba(0,0,0, 0.4);
    -moz-box-shadow: 0 0 0 2px #fff,  0 0 5px 2px rgba(0,0,0, 0.4);
    box-shadow: 0 0 0 2px #fff,  0 0 5px 2px rgba(0,0,0, 0.4);
    margin-top: 10px;
    margin-right: 15px;
    max-height: 140px;
    margin-bottom: 0;
}

.tmf-post.attorney.small .excerpt {
    color: #47372c;
    font-size: 18px;
    line-height: 28px;
}


/*---------Testimonial----------*/
.tmf-post.testimonial.small {
    margin-bottom: 25px;
}

.tmf-post.testimonial.small .excerpt {
    background: #f1eee8 url(../images/quote_icon_1x.png) no-repeat top left;
    background-position: -2px -10px;
    border-radius: 10px;
    color: #402625;
    font-size: 26px;
    font-style: italic;
    line-height: 36px;
    padding: 20px 25px;
}

.tmf-post.testimonial.small .excerpt:after {
    background: url(../images/quote_bottom_arrow.png);
    background-repeat: no-repeat;
    content: "";
    display: block;
    height: 40px;
    width: 55px;
    position: absolute;
    right: 0;
    bottom: -10px;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #402625;
    font-size: 13px;
    font-style: normal;
    margin-right: 60px;
    margin-top: 0;
}


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

.tmf-post.practice-area.small .title {
    font-size: 18px;
    color: #47372c;
}

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

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

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


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

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

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

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

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

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

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

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

@media screen and (max-width: 740px) {
    .tmf-post.location.small{
        text-align: center;
    }
    
    .tmf-post.location.small img {
        float: none;
        margin: 0 auto;
    }
}

.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.attorney img.primary,
    .tmf-post.large.staff img.primary {
        max-width: 100%;
    }
}


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