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

.tmf-post.medium img.thumbnail {
	max-width: 250px;
	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.location.small .static-map {
	display: inline-block;
	vertical-align: top;
	margin-right: 15px;
}

.tmf-post.location.small .static-map img {
	display: block;
}

.tmf-post.location.small .location-information {
	display: inline-block;
	vertical-align: top;
}

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

.tmf-post.attorney.large img.primary,
.tmf-post.staff.large img.primary {
	max-width: 200px;
	width: 100%;
	display: block;
	margin: 0 0 5px 0;
}

.tmf-post.attorney.large .info-box {
	width: 200px;
	background-color: #0e2457;
	color: #fff;
	float: left;
	margin: 0 25px 25px 0;
}

.tmf-post.attorney.large .info-box-interior {
	padding: 0 15px 15px 15px;
}

.tmf-post.attorney.large .email .label {
	display: none;
}

.tmf-post.attorney.large .info-box a {
	color: #fff;
}

.tmf-post.attorney.large h1#page-title {
	margin-bottom: 25px;
}

.tmf-post.attorney.small img.thumbnail {
	float: right;
	max-height: 175px;
	max-width: 125px;
}

@media screen and (max-width: 500px) {
	.tmf-post.attorney.large h1#page-title {
		text-align: center;
	}

	.tmf-post.attorney.large .info-box {
		float: none;
		margin: 0 auto 25px
	}
}

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

.tmf-post.practice-area.small .title a:hover {
	color: #0b1c43;
}

.tmf-post.small.practice-area .tmf-post.small.practice-area.first-post {
	margin-top: 12px;
}

.tmf-module-area-home-practice-areas {
	margin-top: 25px;
	display: table;
	width: 100%;
}

.tmf-module-area-home-practice-areas .tmf-post {
	display: table-cell;
	width: 25%;
}

.tmf-post.practice-area.large-thumbnail {
	border-bottom: none;
	text-align: center;
}

.tmf-post.practice-area.large-thumbnail .title {
	text-transform: uppercase;
	font-family: 'Lato', 'Helvetica', sans-serif;
	color: #ab0b0b;
	line-height: 1.3em;
	font-size: 1.1em;
	font-weight: 700;
}

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

.tmf-post.practice-area.large-thumbnail .title a:hover {
	text-decoration: underline;
}

.tmf-post.practice-area.large-thumbnail .primary {
	margin-bottom: 5px;
	max-width: 251px !important;
	width: 100%;
}

.tmf-post.practice-area.large-thumbnail .inner {
	padding: 12px;
}

@media screen and (max-width: 750px) {
	.tmf-module-area-home-practice-areas {
		display: block;
		width: auto;
	}

	.tmf-module-area-home-practice-areas .tmf-post {
		display: block;
		width: auto;
		margin-bottom: 0;
		padding-bottom: 0;
	}

	.tmf-post.practice-area.large-thumbnail .primary {
		max-width: 150px !important;
		border: 1px solid;
	}

	.tmf-post.practice-area.large-thumbnail .inner {
		display: table;
		vertical-align: top;
		padding: 7px 0;
	}

	.tmf-post.practice-area.large-thumbnail .inner > div{
		display: table-cell;
		vertical-align: middle;
		text-align: left;
	}

}

@media screen and (max-width: 500px) {
	.tmf-post.practice-area.large-thumbnail .primary {
		max-width: 90px !important;
	}
}


.tmf-post.event.small .title,
.tmf-post.post.small .title.has-post-date,
.tmf-post.news.small .title.has-post-date {
	margin-left: 45px;
	font-weight: 700;
}

.tmf-post.event.small .calendar-icon,
.tmf-post.post.small .calendar-icon,
.tmf-post.news.small .calendar-icon {
	position: absolute;
	top: -4px;
	left: 0;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	width: 31px;
	height: 38px;
	margin-top: 4px;
	text-align: center;
	background: url(../images/icon-calendar.png) no-repeat;
}

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

.tmf-post.event.small .calendar-icon .day,
.tmf-post.post.small .calendar-icon .day,
.tmf-post.news.small .calendar-icon .day {
	line-height: 1em;
	padding: 13px 0 0;
	font-size: 16px;
	font-weight: 700;
	color: #0e2457;
	font-family: 'Helvetica', 'Arial', sans-serif;
}


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