/* ============================================================================ *
	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-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

.tmf-post.medium img.thumbnail {
	max-width: 250px;
	margin-right: 15px;
	margin-bottom: 15px;
	margin-top: 7px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

.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-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

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

/*---------Practice Area----------*/
.tmf-post.practice-area.large-thumbnail {
    border-bottom: none;
    padding: 0;
    margin: 0 30px 25px;
    width: 100%;
    max-width: 343px;
    display: inline-block;
    box-sizing: border-box;
}

.tmf-post.practice-area.large-thumbnail img {
	border-radius: 15px;
	float: none;
}

.tmf-post.practice-area.large-thumbnail h2.title {
	text-align: center;
	font-size: 24px;
	color: #040404;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 400;
	padding: 0 8px;
}

.tmf-post.practice-area.large-thumbnail h2.title a {
	color: #040404;
	text-decoration: none;
}

@media screen and (max-width: 500px) {
	.tmf-post.practice-area.large-thumbnail {
	    margin: 0 0 25px;
	}
}


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

.tmf-post.testimonial .testimonial-description {
    font-weight: bold;
    font-style: normal;
}

.tmf-post.testimonial.small {}

.tmf-post.testimonial.small:before {
    background: url(../images/icon_sprite_1x.png) no-repeat 0 0;
    height: 67px;
    width: 82px;
    content: "";
    position: absolute;
}

.tmf-post.testimonial.small .excerpt {
    line-height: 24px;
    font-style: italic;
    font-size: 15px;
    color: #666666;
    z-index: 999;
    position: relative;
    margin-top: 0;
}

.tmf-post.testimonial.small .testimonial-description {
    font-size: 15px;
    font-style: normal;
    color: #666666;
}

.tmf-post.testimonial.small .read-more {
    text-decoration: none;
}

.tmf-post.testimonial.small .read-more:hover {
    text-decoration: underline;
}

/*---------Attorney----------*/

.tmf-post.attorney.large #page-content {
	clear: both;
}

.tmf-post.attorney.small img.thumbnail {
    margin-right: 15px;
    min-height: 136px !important;
    max-width: 110px !important;
    margin-bottom: 0 !important;
    margin-top: 7px;
}

.tmf-post.attorney.small .excerpt {
    font-size: 15px;
    line-height: 24px;
    margin-top: 0;
}

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

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


.tmf-post.practice-area.small{}
.tmf-post.practice-area.small .title a {
	color: #666;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 19px;
}

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

/*---------Location----------*/
.tmf-post.location.small {
    color: #666;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
}

.tmf-post.location.small img{
	border: 1px solid #fff;
}

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

.tmf-post.location.small .location-content{
	padding-top: 25px;
}

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

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


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


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