/* ============================================================================ *
        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 Home-----*/
.tmf-post.attorney.home {
    border: none;
}

.tmf-post.attorney.home img.home-image {
    max-width: 291px !important;
    width: 100%;
    display: block;
}

@media screen and (max-width: 950px) {
    .tmf-post.attorney.home img.home-image{
        float: none;
        margin: 0 auto;
    }
}

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

.tmf-post.attorney.large img.primary {
    float: none;
    max-width: 311px;
    margin: 0 0 10px;
}

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

.tmf-post.attorney .fax .label {
    background: rgba(0,0,0,0) url(../images/icon_sprite_3x.png) repeat scroll -280px 0px;
    background-size: 534px;
    display: inline-block;
    font-size: 0;
    height: 24px;
    vertical-align: middle;
    width: 25px;
    margin-right: 5px;
}

.tmf-post.attorney .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -319px 0px;
    background-size: 534px;
    display: inline-block;
    font-size: 0;
    height: 17px;
    vertical-align: middle;
    width: 25px;
    margin-right: 5px;
}

@media screen and (max-width: 1000px) {
    .tmf-post.attorney.large img.primary {
        max-width: 311px !important;
    }
}

/*----------Testimonial Small----------*/
.tmf-post.testimonial.small{
    margin: 0;
    padding: 0;
}

.tmf-post.testimonial.small .excerpt {
    color: #ffffff;
    font-size: 32px;
    font-style: italic;
    font-weight: 400;
    line-height: 48px;
    padding: 0 50px;
    margin-top: 0;
}

@media screen and (max-width: 450px) {
    .tmf-post.testimonial.small .excerpt {
        font-size: 22px;
        line-height: 34px;
        padding: 0 25px;
    }
}

/*----------Practice Area Home----------*/
.tmf-post.practice-area.home {
    border-bottom: none;
    width: 33.25%;
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.tmf-post.practice-area.home:nth-child(1),
.tmf-post.practice-area.home:nth-child(2),
.tmf-post.practice-area.home:nth-child(3) {
    border-bottom: 1px solid #ffffff;
}

.tmf-post.practice-area.home:nth-child(1),
.tmf-post.practice-area.home:nth-child(2),
.tmf-post.practice-area.home:nth-child(4),
.tmf-post.practice-area.home:nth-child(5){
    border-right: 1px solid #ffffff
}

.tmf-post.practice-area.home .title {
    color: #ffffff;
    font-size: 24px;
    line-height: 28px;
}

.tmf-post.practice-area.home .title a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 10px;
    display: inline-flex;
    height: 90px;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.tmf-post.practice-area.home .title a:hover{
    background: #2960ad;
}

@media screen and (max-width: 1000px) {
    .tmf-post.practice-area.home {
        width: 49.5%;
    }

    .tmf-post.practice-area.home:nth-child(1),
    .tmf-post.practice-area.home:nth-child(2),
    .tmf-post.practice-area.home:nth-child(3),
    .tmf-post.practice-area.home:nth-child(4) {
        border-bottom: 1px solid #ffffff;
    }

    .tmf-post.practice-area.home:nth-child(1),
    .tmf-post.practice-area.home:nth-child(2),
    .tmf-post.practice-area.home:nth-child(4),
    .tmf-post.practice-area.home:nth-child(5){
        border-right: none;
    }

    .tmf-post.practice-area.home:nth-child(odd){
        border-right: 1px solid #ffffff;
    }
}

@media screen and (max-width: 700px) {
    .tmf-post.practice-area.home {
        display: block;
        width: 100%;
    }

    .tmf-post.practice-area.home:nth-child(1),
    .tmf-post.practice-area.home:nth-child(2),
    .tmf-post.practice-area.home:nth-child(3),
    .tmf-post.practice-area.home:nth-child(4),
    .tmf-post.practice-area.home:nth-child(5),
    .tmf-post.practice-area.home:nth-child(6) {
        border-bottom: 1px solid #ffffff;
    }

    .tmf-post.practice-area.home:nth-child(odd){
        border-right: none;
    }
}

@media screen and (max-width: 450px) {
    .tmf-post.practice-area.home .title {
        font-size: 22px;
        line-height: 26px;
    }

    .tmf-post.practice-area.home .title a {
        height: 70px;
    }
}

/*----------Practice Area Small----------*/
.tmf-post.practice-area.small {
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.tmf-post.practice-area.small.last-post {
    margin-bottom: 0;
    padding-bottom: 0;
}

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

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

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

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

/*---------Faq Home----------*/
.tmf-post.faq.home{
    border: none;
    margin-bottom: 0;
    padding-bottom: 15px;
}

.tmf-post.faq.home.last-post{
    padding-bottom: 0;
}

.tmf-post.faq.home .title{
    color: #000000;
    font-size: 26px;
    font-weight: 400;
}

.tmf-post.faq.home .title::before {
    background: url(../images/icon_sprite_3x.png) no-repeat -120px 0px;
    background-size: 534px;
    content: "";
    display: inline-block;
    width: 13px;
    height: 21px;
    vertical-align: middle;
    position: relative;
    left: 0;
    top: -2px;
    margin-right: 10px;
}

.tmf-post.faq.home .title a{
    color: #000000;
    text-decoration: none;
}

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

/*----------Locations Small----------*/
.tmf-post.small.location {
    border: none;
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    padding: 0;
}

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

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

.tmf-post.small.location .title{
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

.tmf-post.small.location .map .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -140px 0px;
    background-size: 534px;
    display: inline-block;
    font-size: 0;
    height: 28px;
    vertical-align: middle;
    width: 20px;
    margin-right: 5px;
}

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

.tmf-post.small.location .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -180px 0px;
    background-size: 534px;
    display: inline-block;
    font-size: 0;
    height: 17px;
    vertical-align: middle;
    width: 26px;
}

@media screen and (max-width: 750px) {}

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