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

.tmf-post.article.small .title a {
  font-size: 1.2em;
  font-weight: 700;
  text-decoration: none;
}

.tmf-post.article.small .date {
  font-size: 0.9em;
}

/*-------------------------------------*/

.tmf-post.large img.primary {
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.25);
  border: 2px solid #fff;
  max-width: 350px;
  width: 100%;
}

.tmf-post.medium img.thumbnail {
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.25);
  border: 2px solid #fff;
}

.tmf-post.small img.thumbnail {
  max-width: 100px;
  margin-right: 10px;
  margin-bottom: 10px;
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.25);
  border: 2px solid #fff;
}

.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.testimonial.medium .excerpt {
  font-style: italic;
}

.tmf-post.testimonial.medium .testimonial-description {
  font-style: normal;
}

.tmf-post.testimonial.small .excerpt {
  font-size: 1.778em;
  line-height: 1.3em;
  color: #ffffff;
  font-weight: 300;
  margin-bottom: 15px;
}

.tmf-post.testimonial.small .testimonial-description {
  color: #ffffff;
  font-style: normal;
  font-size: 1.222em;
  font-weight: 300;
  margin-top: 0;
}

@media screen and (max-width: 1160px) and (min-width: 1000px) {
  .tmf-post.testimonial.small .excerpt {
    font-size: 1.4em;
  }

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

/*----------------------------------*/

.tmf-post.post.small .excerpt,
.tmf-post.news.small .excerpt {
  font-size: 0.8em;
}

.tmf-post.post.small .title a,
.tmf-post.news.small .title a {
  color: #67a844;
  text-decoration: none;
  font-size: 0.9em;
}

.tmf-post.post.small .date,
.tmf-post.news.small .date {
  font-size: 0.65em;
  line-height: 1.7em;
}

.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;
  line-height: 1em;
}

.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: #717171;
  font-family: 'Helvetica', 'Arial', sans-serif;
}

.tmf-post.attorney.small img {
  border: 1px solid #fff;
  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
}

.tmf-post.attorney.small .title {
  display: none;
}

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

.tmf-post.location.small .static-map {
  display: inline-block;
  vertical-align: top;
  margin-right: 15px;
  border: 1px solid #fff;
  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
}

.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.location.small .info {
  display: inline-block;
  vertical-align: top;
}

.tmf-post.attorney.large img.primary,
.tmf-post.staff.large img.primary {
  max-width: 225px;
  display: block;
  margin: 0 0 5px 0;
  box-shadow: none;
  border: none;
}

.tmf-post.attorney.large .info-box {
  width: 225px;
  background-color: #404858;
  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.small.practice-area .children {
  font-size: 0.9em;
}

@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-module-area-home-practice-areas .tmf-post {
  display: inline-block;
  padding: 15px;
  line-height: 1.2em;
  border-bottom: none;
  max-width: 195px;
  text-align: center;
  vertical-align: top;
  text-decoration: none;
  color: #bb602d;
  font-size: 1em;
  text-transform: uppercase;
  margin: 0;
}

.tmf-module-area-home-practice-areas .tmf-post img.primary {
  float: none;
  display: block;
  box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.25);
  border: 2px solid #fff;
}

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