/* ============================================================================ *
	Post Styles
    ---------------------------------------------------------------------------
	These are the styles which build all the various post types and their templates.
*/
.tmf-post.large:not(.attorney):not(.staff) img.primary {
    float: right;
    margin-right: 0;
    margin-left: 15px;
    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;
	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.attorney.medium h2.title, 
.tmf-post.staff.medium h2.title {
    margin-bottom: 0;
}

.tmf-post.attorney.medium .excerpt,
.tmf-post.staff.medium .excerpt {
    clear: both;
}

/*---------Attorney Home----------*/
.tmf-post.attorney.home {
    display: inline-block;
    padding: 0 25px 25px;
    text-align: center;
    border: none;
    margin: 0;
}

.tmf-post.attorney.home .home-thumbnail {
    width: 100%;
    max-width: 232px !important;
}

.tmf-post.attorney.home .title {    
	color: #fff;
	font-family: 'Cabin', Helvetica, Arial, serif;
    font-size: 20px;
    font-weight: 700;
	line-height: 1.4em;
}

.tmf-post.attorney.home .title a {
    color: #fff;
    text-decoration: none;
}

.tmf-post.attorney.home .title a:hover {
    text-decoration: underline;
}

/*---------Attorney Large----------*/
.tmf-post.attorney.large h1#page-title, 
.tmf-post.staff.large h1#page-title {
    margin-bottom: 15px;
}

.tmf-post.attorney .contact-information, 
.tmf-post.staff .contact-information {
    font-size: 18px;
    line-height: 30px;
}

.tmf-post.attorney .icon-container .vcard-resume-container, 
.tmf-post.staff .icon-container .vcard-resume-container {
    margin-top: 0;
}

.tmf-post.attorney .phone .label,
.tmf-post.staff .phone .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -40px 0px;
    background-size: 585px;
    display: inline-block;
    font-size: 0;
    height: 22px;
    vertical-align: middle;
    width: 20px;
    margin-right: 5px;
}

.tmf-post.attorney .fax .label,
.tmf-post.staff .fax .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -61px 0px;
    background-size: 585px;
    display: inline-block;
    font-size: 0;
    height: 22px;
    vertical-align: middle;
    width: 25px;
}

.tmf-post.attorney .email .label,
.tmf-post.staff .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -100px 0px;
    background-size: 585px;
    display: inline-block;
    font-size: 0;
    height: 14px;
    vertical-align: middle;
    width: 25px;
}

.tmf-post.attorney.large .superlawyer {
    margin-top: 25px;
}

.tmf-post.attorney.large .superlawyer img {
    padding-right: 15px;
    padding-top: 15px;
    display: inline-block;
}

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

.tmf-post.practice-area.small .title {
    color: #464236;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
}

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

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

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


/*---------Post Small----------*/
.tmf-post.post.small,
.tmf-post.news.small {}

.tmf-post.post.small .calendar-icon, 
.tmf-post.news.small .calendar-icon {
	position: relative;
    border: 2px solid #c85a27;
    float: left;
    margin: 6px 10px 0 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 40px;
    text-align: center;
}

.tmf-post.post.small .calendar-icon .month, 
.tmf-post.news.small .calendar-icon .month {
    background-color: #c85a27;
    color: #f7f1e9;
    font-family: 'PT Serif', 'Times New Roman', serif;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
}

.tmf-post.post.small .calendar-icon .day, 
.tmf-post.news.small .calendar-icon .day {
    color: #c85a27;
    font-weight: 700;
    font-size: 19px;
    padding: 0;
    font-family: 'Cabin', Helvetica, Arial, serif;
}

.tmf-post.post.small .title.has-post-date, 
.tmf-post.news.small .title.has-post-date {
	font-weight: 600;
    font-size: 17px;
    color: #4b4b4b;
    font-family: 'Cabin', Helvetica, Arial, serif;
}

.tmf-post.post.small .title.has-post-date a, 
.tmf-post.news.small .title.has-post-date a{
	color: #4b4b4b !important;
    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.small .excerpt,
.tmf-post.news.small .excerpt {
	color: #2f2f2f;
    font-size: 15px;
    line-height: 23px;
    margin-top: 0px;
}


/*---------Location Small----------*/
.tmf-post.location.small {
    color: #2f2f2f;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

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

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

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


.tmf-post.location.small .business-name {
    font-weight: 700;
    margin-top: 5px;
}

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

.tmf-post.location.small .fax .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_1x.png) no-repeat scroll -61px 0px;
    background-size: 585px;
    display: inline-block;
    font-size: 0;
    height: 22px;
    vertical-align: middle;
    width: 22px;
}

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

	.tmf-post.large:not(.attorney):not(.staff) img.primary {
	    float: none;
	    margin-right: 0;
	    margin-left: 0;
	    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;
	}
}
