/* ============================================================================ *
	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: 2px solid #fff;
  -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
}

.tmf-post.medium img.thumbnail {
  max-width: 250px;
  margin-right: 15px;
  margin-bottom: 15px;
  margin-top: 7px;
  border: 2px solid #fff;
  -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
}

.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: 3px solid #fff;
  -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
}

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

.tmf-post.attorney.large h2.title,
.tmf-post.staff.large h2.title {
  margin-bottom: 0px;
}

.tmf-post.attorney.large #page-content,
.tmf-post.staff.large #page-content {
  margin-top: 0;
}

.tmf-post.attorney.large img.primary,
.tmf-post.staff.large img.primary {
  margin-bottom: 0;
}

/*---------Testimonial----------*/
.tmf-post.testimonial.small {
}

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

.tmf-post.testimonial.small .excerpt {
  color: #000000;
  font-size: 28px;
  font-style: italic;
  font-weight: 700;
  line-height: 44px;
  z-index: 999;
  position: relative;
  margin-top: 0;
  padding: 20px 30px 0;
}

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

@media screen and (max-width: 450px) {
  .tmf-post.testimonial.small .excerpt {
    padding: 0;
  }
}

/*---------Attorney----------*/
.tmf-post.attorney.small img.thumbnail {
  margin-right: 15px;
  min-height: 120px !important;
  max-width: 120px !important;
  margin-bottom: 0 !important;
}

.tmf-post.attorney.small .excerpt {
  color: #000000;
  font-size: 17px;
  line-height: 27px;
  margin-top: 0;
}

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

.tmf-post.small.practice-area .title,
.tmf-post.small.practice-area a {
  color: #444444;
  font-weight: 400;
  font-size: 20px;
  text-decoration: underline;
}

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

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

/*---------Location----------*/
.tmf-post.location.small {
  display: inline-block;
  /* width: 50%; */
  width: 33%;
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  line-height: 27px;
  vertical-align: top;
}

.tmf-post.location.small .location-inner {
  padding: 0 25px;
}

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

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

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

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

.tmf-post.location.small a {
  color: #fff;
}

.tmf-post.location.small .contact-info a {
  text-decoration: none;
}

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

.tmf-post.location.small .direction-text {
  padding-top: 35px;
}

.tmf-post.location.small .direction-text p {
  margin-bottom: 0;
  font-size: 17px;
}

.postid-66 .tmf-post-66.location.small .direction-text {
  display: none;
}

.postid-68 .tmf-post-68.location.small .direction-text {
  display: none;
}

@media screen and (max-width: 1200px) {
  .tmf-post.location.small {
    width: 50%;
  }
}

@media screen and (max-width: 850px) {
  .tmf-post.small.location .static-map {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 700px) {
  .tmf-post.location.small {
    display: block;
    width: 100%;
  }

  .tmf-post.location.small .location-inner {
    padding: 0 12px;
  }

  .tmf-post.location.small .direction-text {
    padding-top: 15px;
  }
}

.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: 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;
  }
}
