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

.tmf-post.practice-area.large .post-link-label {
	font-weight: 700;
}

.isotope-filters {
	margin-bottom: 15px;
	max-width: 1080px;
	text-align: center;
}

.isotope-filters label strong {
	font-weight: 400;
}

.isotope-filters label:last-child {
    margin-left: 30px;
}

.isotope-item {
    overflow: hidden;
    background: #3B3A34;
    float: left;
    max-width: 270px;
    width: 100%;
    border: none;
    color: #fff;
    padding: 0;
    height: 190px;
    margin: 0;
}

.isotope-item .attorney-name {
    float: right;
    width: 105px;
    text-overflow: ellipsis;
    height: 74px;
    text-align: center;
    box-shadow: inset 0 0 20px #111;
    text-shadow: -1px -1px 0 #111;
    height: 190px;
    padding-left: 15px;
    padding-right: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-style: italic;
    background: #393833;
    flex-direction: column;
}

.attorney-name span.person,
.attorney-name span.attorney-titles {
	width:100%;
}

.isotope-item:hover .attorney-name {
	background:#2D619D; 
	box-shadow:inset 0 0 20px #000; 
	text-shadow:-1px -1px 0 #000;
}

.tmf-post.attorney.medium img.thumbnail {
    max-width: 135px;
    width: 200px;
    max-height: inherit;
    height: 189px;
    margin: 0;
}

.tmf-post.attorney.medium .tmf-taxonomy-list {
	font-size: 0.7em;
}

@media screen and (max-width: 1200px) {
	.isotope-filters {
		max-width: 1200px;
	}
	
	.post-type-archive-attorney #body-cell-1 .tmf-post-list.medium {
		max-width: 1080px;
		margin: auto;
	}
}

@media screen and (max-width: 1129px) {
	.post-type-archive-attorney #body-cell-1 .tmf-post-list.medium {
		max-width: 810px;
	}
}

@media screen and (max-width: 859px) {
	.post-type-archive-attorney #body-cell-1 .tmf-post-list.medium {
		max-width: 545px;
	}
}

@media screen and (max-width: 600px) {
	.post-type-archive-attorney #body-cell-1 .tmf-post-list.medium {
		max-width: 100%;
		background: #3B3A34;
	}

	.isotope-filters {
		text-align: left;
	}

	.isotope-filters label:last-child {
		margin-left: 0;
		display: block;
	}

	.isotope-filters label select {
		width: 100%;
	}

	.tmf-post.attorney.medium {
		max-width: 100%;
		float: none;
		height: auto;
	}

	.tmf-post.attorney.medium .title {
		display: table-cell;
		width: 50%;
	}

	.tmf-post.attorney.medium {
		display: table;
		width: 100%;
		box-shadow: none;
		padding: 0;
		height: auto;
	}

	.isotope-item:hover span {
		background: inherit;
		box-shadow: none;
	}

	.tmf-post.attorney.medium img.thumbnail {
		max-width: 100%;
		width: auto;
		height: auto;
	}
}

@media screen and (max-width: 600px) {
	.tmf-post.attorney.medium .tmf-taxonomy-list {
		display: none;
	}

	.isotope .isotope-item {
		display: table;
		width: 100%;
	}

	.tmf-post.attorney.medium img.thumbnail {
	    width: 100% !important;
	    width: auto;
	    height: auto;
	    display: table-cell;
	    float: left;
	}

	.isotope-item span {
		padding-top: 0;
	}

	.tmf-post.attorney.medium .title {
	    display: table-cell;
	    height: 100%;
	    width: 50%;
	    box-shadow: inset 0 0 20px #111;
	    background: #393833;
	    vertical-align: middle;
	}

	.isotope-item:hover .attorney-name {
		background: transparent;
		box-shadow: none;
	}

	.tmf-post.attorney.medium .title:hover {
		background:#2D619D; 
		box-shadow:inset 0 0 20px #000; 
		text-shadow:-1px -1px 0 #000;
	}

	.isotope-item span.attorney-name {
		height: 100%;
		width: 100%;
		display: block;
		margin: auto;
		padding: 0;
		box-shadow: none;
		background: transparent;
	}
}

@media screen and (max-width: 420px) {
	.tmf-post.attorney.medium img.thumbnail {
		max-width: 100% !important;
	}
}

/*******************************************/

.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: right;
	margin-top: 5px;
	max-width: 250px;
	margin-left: 15px;
	margin-bottom: 15px;
}

.home .tmf-post img.primary {
	float: none;
	text-align: center;
	margin: 0 auto;
	display: block;
	padding-bottom: 15px;
}

.tmf-post.attorney.medium .title a {
	text-decoration: none;
}

.tmf-post.attorney.large img.primary {
	margin-right: 15px;
	margin-left: 0;
	float: left;
}

.tmf-post.attorney.small img.primary {
	float: left;
	margin-right: 15px;
	margin-left: 0;
	border: 1px solid #fff;
	box-shadow: 0px 1px 5px 0px #888;
	padding: 0;
}

.tmf-post.attorney .icon-container .social-icons, 
.tmf-post.staff .icon-container .social-icons {
	margin-top: 10px;
}

.tmf-post.attorney .icon-container .social-icons, 
.tmf-post.staff .icon-container .social-icons {
    margin-right: 15px;
    /* margin-top: 10px; */
}

.tmf-post.attorney .icon-container .vcard-resume-container, 
.tmf-post.staff .icon-container .vcard-resume-container {
    display: inline-block;
    /* margin-top: 10px; */
    vertical-align: middle;
}

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

.tmf-post.small .excerpt {
	font-size: 1em;
}

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

.tmf-post.post.small .title.has-post-date, 
.tmf-post.news.small .title.has-post-date {
    margin-left: 0px;
}

.tmf-post.post .date, 
.tmf-post.news .date {
    font-style: normal;
}

.tmf-post.location.small {
	font-size: 18px;
	margin-top: 30px;
}

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

.tmf-post.location.small .static-map img {
	border: 1px solid #fff;
	box-shadow: 0px 1px 5px 0px #888;
}

.tmf-post.location.small .directions p {
	margin-top: 40px;
	font-size: 18px;
}

.tmf-post.attorney .contact-information, .tmf-post.staff .contact-information {
    font-size: 1em;
    line-height: 1.5em;
    margin-top: 10px;
    display: inline-block;
}

.tmf-post.practice-area.medium {
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.tmf-post.practice-area.small {
	margin-top: 15px;
	margin-left: 2px;
}

.children .tmf-post.practice-area.small {
	margin-left: 0px;
}


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

.tmf-post.practice-area.small a{
	font-weight: 400;
	text-decoration: underline;
}

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

.tmf-post.small.practice-area .children {
    margin-top: 0;
    padding-left: 0px;
    border-left: none;
}

.tmf-post.small.practice-area .children .tmf-post:before {
    content: '';
    font-weight: 700;
    left: 0;
    position: absolute;
}


/* ======================================== *
	Home Practice Area
 * ======================================== */

.tmf-post.practice-area.home {
	border-bottom: none;
	display: inline-block;
	vertical-align: top;
	/*max-width: 210px;*/
	max-width: 196px;
	margin: 0 10px;
	text-align: center;
}

.tmf-post.practice-area.home.first-post {
	margin-left: 0;
}

.tmf-post.practice-area.home.last-post {
	margin-right: 0;
}

.tmf-post.practice-area.home .icon-image {
	display: block;
	margin: auto;
	margin-bottom: 18px; 
}

.tmf-post.practice-area.home .title a {
	font-weight: 700;
	/*font-size: 26px;*/
	font-size: 22px;
	color: #000;
	text-decoration: none;
}

.tmf-post.practice-area.home .excerpt {
	font-size: 16px;
	color: #2f2f2f;
	line-height: 1.3em;
}

.tmf-post.practice-area.home .tmf-button {
    display: block;
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
}

.tmf-post.practice-area.home.tmf-post-138 .tmf-button {
    margin-top: 30px;
}

/*@media screen and (max-width: 1330px) {
	.tmf-post.practice-area.home.tmf-post-138 .tmf-button {
	    margin-top: 30px;
	}
}*/

@media screen and (max-width: 1180px) {
	.tmf-post.practice-area.home {
		margin: 10px;
	}
}

/* ======================================== *
	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 (min-width: 850px) and (max-width: 1100px), screen and (max-width: 700px) {
	.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.attorney img.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;
	}
}
