/* ============================================================================ *
        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: none;
    box-shadow: none;
}

.tmf-post.medium img.thumbnail {
    max-width: 150px;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 5px;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.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;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

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

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

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

/*----------Practice Area Home----------*/
.tmf-post.practice-area.home {
    border-bottom: 1px solid #ffffff;
    display: inline-block;
    width: 50%;
    vertical-align: top;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: #1280b2;
}

.tmf-post.practice-area.home .home-cell-1, 
.tmf-post.practice-area.home .home-cell-2 {
    display: table-cell;
    vertical-align: middle;
}

.tmf-post.practice-area.home .home-cell-1 {
    width: 270px;
    position: relative;
}

.tmf-post.practice-area.home .home-cell-2 {
    width: calc(100% - 270px);
    padding: 5px 25px;
}

.tmf-post.practice-area.home img.home-image{
    display: block;
}

.tmf-post.practice-area.home .home-image-hover {
    font-size: 20px;
    height: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
}

.tmf-post.practice-area.home .home-image-hover:before {
    background-color: #0e709d;
    height: 100%;
    width: 100%;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    transform: scale(0);
}

.tmf-post.practice-area.home:hover .home-image-hover:before {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: .3;
    filter: alpha(opacity=30);
}

.tmf-post.practice-area.home .title{
    color: #fff;
    font-size: 30px;
    line-height: 40px;
}

.tmf-post.practice-area.home{
    color: #fff;
    text-decoration: none;
}

.tmf-post.practice-area.home:hover{
    background: #0e709d;
}

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

@media screen and (max-width: 1150px) {
    .tmf-post.practice-area.home .title{
        font-size: 18px;
    }
}

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

    .tmf-post.practice-area.home .title {
        font-size: 30px;
        line-height: 40px;
    }
}

@media screen and (max-width: 700px) {
    .tmf-post.practice-area.home {
        background: transparent;    
    }

    .tmf-post.practice-area.home:hover{
        background: transparent;
    }

    .tmf-post.practice-area.home .home-cell-1, 
    .tmf-post.practice-area.home .home-cell-2 {
        display: block;
        width: 100%;
    }

    .tmf-post.practice-area.home img.home-image {
        margin: 0 auto;
        width: 100%;
    }

    .tmf-post.practice-area.home .home-cell-2 {
        background: #1280b2;
        text-align: center;
        padding: 15px 0;
    }

    .tmf-post.practice-area.home:hover .home-cell-2 {
        background: #0e709d;
    }

    .tmf-post.practice-area.home .title {
        padding: 0 25px;
    }
}

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

.tmf-post.practice-area.small .title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    padding-left: 0;
}

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

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

/*---------Testimonial Small----------*/

.tmf-post.testimonial:nth-child(even) .testimonial-description {
    float: none;
}

.tmf-post.testimonial.home {
    position: relative;
    border: none;
}

.tmf-post.testimonial.home .excerpt {
    color: #000000;
    font-size: 38px;
    font-style: italic;
    font-weight: 400;
    line-height: 48px;
    position: relative;
    z-index: 9;
    padding-left: 80px;
    padding-top: 0px;
    margin-top: 0;
}

.tmf-post.testimonial.home .excerpt:before {
    background: url(../images/icon_sprite_3x.png) no-repeat -139px 0px;
    background-size: 624px;
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 10px;
    height: 55px;
    width: 65px;
}

.tmf-post.testimonial.home .testimonial-description {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    margin-top: 15px;
}

@media screen and (max-width: 450px) {
    .tmf-post.testimonial.home .excerpt {
        padding-left: 0px;
        padding-top: 80px;
    }
    
    .tmf-post.testimonial.home .excerpt:before {
    	display: none;
	}
}

/*---------Testimonial Medium----------*/
.tmf-post.testimonial.medium:nth-child(odd) .excerpt {
    color: #BF1E2E;
    font-weight: 700;
}

.tmf-post.testimonial.medium:nth-child(even) .excerpt {
    color: #283977;
    font-weight: 700;
}


/* ======================================== *
    inspiration
 * ======================================== */
.tmf-post.inspiration.small .title {}

.tmf-post.inspiration.small .excerpt {
    color: #ffffff;
    font-size: 39px;
    font-weight: 300;
    line-height: 59px;
}

.tmf-post.inspiration.small .inspiration-description {
    color: #ffffff;
    font-size: 29px;
    font-style: normal;
}

.tmf-post.inspiration .inspiration-description {
    float: right;
    font-size: .85em;
    margin-top: 10px;
    font-style: italic;
}


/*----------Location Map----------*/
.tmf-post.location.map{}

.tmf-post.location.map img {
    display: block;
    width: 100%;
}

/*----------Location Small----------*/
.tmf-post.small.location {
    background: rgba(40,57,119,0.75);
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
    padding: 50px 25px;
    text-align: center;
    max-width: 470px;
    margin: 0 auto;
}

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

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

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

.tmf-post.small.location .fax .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -19px 0px;
    background-size: 624px;
    content: '';
    font-size: 0;
    display: inline-block;
    height: 24px;
    vertical-align: middle;
    width: 30px;
}

.tmf-post.small.location .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -59px 0px;
    background-size: 624px;
    content: '';
    font-size: 0;
    display: inline-block;
    height: 18px;
    vertical-align: middle;
    width: 30px;
}

@media only screen and (max-width: 850px){
    .tmf-post.small.location img{
        float: left;
        margin-right: 25px;
    }
}

@media only screen and (max-width: 700px){
    .tmf-post.small.location img{
        float: none;
        margin-left: 0;
    }
}

/*----------Location Medium----------*/
.tmf-post.location.medium h2 {
    font-weight: 400;
    font-size: 32px;
}

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

    .tmf-post.large.attorney .contact-information, 
    .tmf-post.large.staff .contact-information {
        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: 100%;
    }

    .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: 100%;
        float: none;
    }

    .tmf-post img.primary {
        max-width: 150px;
    }

    .tmf-post.news.small {
        width:100%;
        padding-right:1%;
        display:inline-block;
    }
}
