/* ============================================================================ *
	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;
	border: 1px solid #aeaa9b;
}

.tmf-post.medium img.thumbnail {
	max-width: 250px;
	margin-right: 15px;
	margin-bottom: 15px;
	margin-top: 7px;
	border: 1px solid #aeaa9b;
}

.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: 1px solid #aeaa9b;
}

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

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

.tmf-post.attorney.small img.thumbnail {
    margin-top: 5px;
    margin-right: 15px;
    min-height: 154px;
    max-width: 106px;
    margin-bottom: 0;
    border: 1px solid #aeaa9b;
}

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


/*---------Post----------*/

.tmf-post.post.small {
    text-align: left;
}

.tmf-post.post.small .calendar-icon .month, 
.tmf-post.news.small .calendar-icon .month {
    display: none;
}

.tmf-post.post.small .calendar-icon, 
.tmf-post.news.small .calendar-icon {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_1x.png) repeat scroll 0px 0px;
    border: medium none;
    border-radius: 0;
    height: 45px;
    left: 0;
    /* margin-top: 2px; */
    position: absolute;
    text-align: center;
    top: 0;
    width: 38px;
}

.tmf-post.post.small .calendar-icon .day, 
.tmf-post.news.small .calendar-icon .day {
    color: #224468;
    line-height: normal;
    padding: 16px 0;
    font-weight: 700;
    font-size: 20px;
}

.tmf-post.post.small .title.has-post-date, 
.tmf-post.news.small .title.has-post-date {
    color: #333333;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    margin-left: 55px;
    padding-top: 6px;
}

.tmf-post.post.small .title.has-post-date a, 
.tmf-post.news.small .title.has-post-date a{
	color: #333333;
    text-decoration: none;
}

.tmf-post.post.small .title.has-post-date a:hover, 
.tmf-post.news.small .title.has-post-date a:hover{
    text-decoration: underline;
}

.tmf-post.post .date, 
.tmf-post.news .date {
    color: #333333;
    font-size: 15px;
    font-weight: 400;
    margin-top: 0;
}

.tmf-post.post.small .excerpt {
	color: #333333;
    font-size: 15px;
    line-height: 24px;
    margin-top: 5px;
}


/*---------Location----------*/
.tmf-post.location.small {
    color: #4d4d4d;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

.tmf-post.location.small img{
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 0 0 3px #fff, 0 0 5px 2px rgba(0,0,0, 0.4);
    -moz-box-shadow: 0 0 0 3px #fff, 0 0 5px 2px rgba(0,0,0, 0.4);
    box-shadow: 0 0 0 3px #fff, 0 0 5px 2px rgba(0,0,0, 0.4);
}

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

.tmf-post.small.location .phone .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_1x.png) repeat scroll -59px 0px;
    display: inline-block;
    font-size: 0;
    height: 25px;
    vertical-align: middle;
    width: 20px;
}

.tmf-post.small.location .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_1x.png) repeat scroll -97px 0px;
    display: inline-block;
    font-size: 0;
    height: 21px;
    vertical-align: middle;
    width: 25px;
}

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

@media screen and (max-width: 600px) {
    .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;
	}
}


@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 img.primary {
		max-width: 150px;
	}
}
