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

.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 .contact-information,
.tmf-post.staff .contact-information {
  display: block;
}

/*----------Attorney----------*/
.tmf-post.attorney.small {
  border: 2px solid #beccd7;
  background: #fff;
  padding: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.tmf-post.attorney.small img.thumbnail {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  max-height: 271px;
  max-width: 289px;
  margin-right: 25px;
  object-fit: cover;
}

.tmf-post.attorney.small > a {
  float: left;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  margin-right: 15px;
  height: 272px;
  position: relative;
}

.tmf-post.attorney.small > a .title {
  position: absolute;
  bottom: 0px;
  color: white;
  background: #203c5699;
  max-width: 289px;
  width: 100%;
  text-align: center;
  padding: 9px 0 4px;
  left: 0;
  right: 0;
  font-size: 28px;
  font-family: 'Crimson Text', sans-serif;
  font-weight: 600;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  font-style: italic;
}

.tmf-post.attorney.small .excerpt {
  font-size: 20px;
  padding: 0 35px;
}

.tmf-post.attorney.small .attorney-btn {
  /*text-align: center;*/
}

.tmf-post.attorney.small .tmf-button {
  display: inline-block;
  padding: 10px 15px;
  max-width: 270px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 25px;
}

@media screen and (max-width: 1150px) {
  .tmf-post.attorney.small > a {
    margin-right: 0;
  }

  .tmf-post.attorney.small .excerpt {
    font-size: 18px;
    padding: 0 25px;
  }
}

@media screen and (max-width: 960px) {
  .tmf-post.attorney.small .excerpt {
    font-size: 16px;
  }
}

@media screen and (max-width: 800px) {
  .tmf-post.attorney.small > a {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .tmf-post.attorney.small img.thumbnail {
    float: none;
    margin-right: 0;
  }

  .tmf-post.attorney.small > a .title {
    bottom: 4px;
  }
}

/*----------Testimonial----------*/
.tmf-post.small.practice-area {
  font-size: 18px;
  padding-left: 15px;
}

.tmf-post.small.practice-area .children {
  padding-left: 10px;
}

.tmf-post.small.practice-area .children .tmf-post .title {
  font-style: normal;
}

.tmf-post.small.practice-area .children .tmf-post:before {
  font-weight: 400;
  left: 0;
  color: #206da8;
}

.tmf-post.small.practice-area:before {
  content: '\2022';
  font-weight: 400;
  left: 0;
  position: absolute;
  font-size: 18px;
  color: #206da8;
}

.tmf-post.small.practice-area a {
  color: #333333;
  text-decoration: none;
}

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

/*----------Testimonial----------*/
.tmf-post.testimonial.small {
  max-width: 650px;
}

.tmf-post.testimonial.small .excerpt {
  line-height: 40px;
  font-size: 40px;
  font-style: italic;
  color: #32292f;
  margin: 0;
  font-family: 'Crimson Text', serif;
  font-weight: 600;
}

.tmf-post.testimonial.small .testimonial-description {
  float: none;
  color: #32292f;
  font-size: 24px;
  line-height: 36px;
  font-style: normal;
  padding-right: 15px;
  font-weight: 600;
}

/*----------Posts----------*/
.tmf-post.post.small {
  display: table-cell;
  width: 33.3333%;
  vertical-align: top;
}

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

.tmf-post.post.small .calendar-icon,
.tmf-post.news.small .calendar-icon {
  background: url(../images/icon_sprite_1x.png) no-repeat;
  background-position: 0px -1px;
  width: 45px;
  border: none;
  height: 55px;
  margin-top: 0;
  margin-left: 15px;
}

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

.tmf-post.post.small .title.has-post-date,
.tmf-post.post.small .title.has-post-date a {
  font-size: 22px;
  color: #083049;
  font-weight: 100;
  text-transform: uppercase;
  text-decoration: none;
}

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

.tmf-post.post.small .calendar-icon .day,
.tmf-post.news.small .calendar-icon .day {
  font-family: 'Crimson Text', serif;
  color: #6882a1;
  font-weight: 600;
  font-size: 30px;
  padding: 10px 0;
  line-height: 55px;
}

.tmf-post.post .date,
.tmf-post.news .date {
  color: #333333;
  font-style: normal;
  font-size: 15px;
  font-weight: 400;
  margin-top: 0;
  line-height: 22px;
  text-transform: none;
}

.tmf-post.post.small .excerpt {
  font-size: 18px;
  font-weight: 400;
  color: #333333;
  line-height: 24px;
  margin-top: 10px;
}

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

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

  .tmf-post.post.small .calendar-icon,
  .tmf-post.news.small .calendar-icon {
    margin-left: 12px;
  }
}

/*----------Location----------*/
.tmf-post.location.small {
  display: inline-block;
  width: 50%;
  vertical-align: top;
  font-size: 20px;
  line-height: 29px;
  color: #fff;
  margin: 0;
  padding: 0;
}

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

.tmf-post.small.location .static-map {
  margin-bottom: 0;
}

.tmf-post.location.small .static-map img {
  border: 1px solid #d1d1d1;
  float: left;
  margin-right: 20px;
}

.tmf-post.location.small .business-name {
  font-weight: 600;
  text-transform: uppercase;
  padding-top: 20px;
}

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

@media screen and (max-width: 1110px) {
  .tmf-post.location.small .static-map img {
    float: none;
    margin-right: 0;
  }
}

@media screen and (max-width: 650px) {
  .tmf-post.location.small {
    display: block;
    width: 100%;
    max-width: 337px;
    margin: 0 auto;
  }

  .tmf-post.location.small.first-post {
    margin-bottom: 40px;
  }
}

/* ======================================== *
        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;
    max-width: 100%;
  }

  .tmf-post.large.attorney img.primary,
  .tmf-post.large.staff img.primary {
    max-width: 100%;
  }

  .tmf-post.large:not(.attorney) img.primary {
    float: none;
    margin-right: auto;
    margin-left: 0;
  }
}

@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;
  }
}
