/* ============================================================================ *
        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;
}

.tmf-post.large img.primary {
    max-width: 250px;
    width: auto;
}

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

.tmf-post.attorney .contact-information, 
.tmf-post.staff .contact-information{
    display: block;
}

/*-----------Attorneys-------------*/
.tmf-post.attorney.home {
    display: inline-block;
    margin: 0 20px 25px;
    max-width: 175px;
    text-align: center;
    vertical-align: top;
    border: none;
}

.tmf-post.attorney.home img.thumbnail {
    float: none;
    max-height: 175px;
    max-width: 175px;
}

.tmf-post.attorney.home .title {
    color: #9d0148;
    font-size: 22px;
    font-weight: 400;
    padding: 0 20px;
}

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

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

.tmf-post.attorney.medium img.thumbnail {
    max-height: inherit;
}

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

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

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

.tmf-post.small.location .street-address-1:after, 
.tmf-post.small.location .street-address-2:after, 
.tmf-post.small.location .phone-1:after, 
.tmf-post.small.location .email:after { 
    content: "|"; 
    font-size: 16px; 
    font-weight: 400; 
    color: #fff; 
    margin: 0 5px; 
}

@media only screen and (max-width: 600px){
    .tmf-post.small.location {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    .tmf-post.small.location.last-post {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .tmf-post.small.location .street-address-2,
    .tmf-post.small.location .phone-1, 
    .tmf-post.small.location .email{
        display: block;
    }

    .tmf-post.small.location .street-address-1:after,
    .tmf-post.small.location .street-address-2:after,
    .tmf-post.small.location .phone-1:after, 
    .tmf-post.small.location .email:after { 
        display: none; 
    }
}

/*----------Testimonials----------*/
.tmf-post.testimonial.small{}

.tmf-post.testimonial.small .excerpt {
    color: #303030;
    font-size: 25px;
    font-style: italic;
    line-height: 40px;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #303030;
    float: right;
    font-size: 16px;
    font-style: normal;
    margin-top: 10px;
}

.tmf-post.testimonial.home .excerpt {
    color: #fff;
    font-size: 26px;
    font-style: italic;
    font-weight: 400;
    line-height: 36px !important;
    text-shadow: 2px 3px 3px #303030;
}

.tmf-post a{
    text-decoration: none !important;
}

.tmf-post a:hover{
    text-decoration: underline !important;
}

.tmf-post a.read-more{
    text-decoration: underline !important;
}

.tmf-post a.read-more:hover{
    text-decoration: none !important;
}

.tmf-post.small .excerpt {
    font-size: 1em;
}

.tmf-post.practice-area.small .title {
    color: #444;
}

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

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

/* ======================================== *
        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: 150px;
    }
}

@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: 500px) {
    .tmf-post.attorney.medium img.thumbnail {
        float: none;
    }
}


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