/* ============================================================================ *
	Post Styles
    ---------------------------------------------------------------------------
	These are the styles which build all the various post types and their templates.
*/

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

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

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

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

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

.tmf-post.testimonial.small .excerpt {
    color: #666666;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    position: relative;
    z-index: 9;
    padding: 15px 25px 0px;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #666666;
    font-size: 18px;
    font-style: normal;
    padding: 0 25px;
}

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


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

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

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

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

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


/*----------Locations Small----------*/
.tmf-post.small.location {
    color: #666666;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 0;
    display: inline-block;
    vertical-align: top;
    max-width: 320px;
    padding: 0 35px 50px;
}

.tmf-post.small.location .title {
    color: #000000;
    font-size: 22px;
    font-weight: 500;
}

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

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

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

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

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

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

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


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