/* ============================================================================ *
        Post Styles
    ---------------------------------------------------------------------------
        These are the styles which build all the various post types and their templates.
*/
.tmf-post {
  padding-bottom: 50px;
  margin-bottom: 50px;
}

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

.tmf-post.small img.thumbnail {
  float: left;
  max-width: 100px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.tmf-post.medium img.thumbnail {
  max-width: 150px;
  margin-right: 15px;
  /*    margin-bottom: 15px;*/
  margin-bottom: 0px;
  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 .excerpt a {
  text-decoration: underline;
}

.tmf-post .excerpt a:hover {
  text-decoration: none;
}

.read-more-button-left {
  margin-top: 15px !important;
}

.tmf-post.post.large #page-title,
.tmf-post.news.large #page-title {
  margin-bottom: 35px;
}

/*.tmf-post.post.medium .taxonomy-container,
.tmf-post.post.large .taxonomy-container {
    margin-top: 15px;
    display: none;
}*/

.tmf-post.post.medium .read-more {
  display: none;
}

.tmf-post.post.medium .read-more-button {
  float: none;
  margin-top: 25px;
  margin-left: 0;
  margin-bottom: 0;
}

/*---------- Attorney Small ----------*/
.tmf-post.attorney.small {
  border-radius: 15px 15px 15px 0;
}

.tmf-post.attorney.small .small-cell-1,
.tmf-post.attorney.small .small-cell-2 {
  display: table-cell;
}

.tmf-post.attorney.small .small-cell-1 {
  width: 222px;
  vertical-align: top;
}

.tmf-post.attorney.small .small-cell-2 {
  width: auto;
  vertical-align: bottom;
}

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

.tmf-post.attorney.small .small-thumbnail-container {
  border-radius: 15px 0 0 0;
  max-width: 222px;
  position: relative;
  overflow: hidden;
}

.tmf-post.attorney.small .small-thumbnail-container img.small-thumbnail {
  float: none;
  width: 222px;
  display: block;
  position: relative;
  transition: all 0.3s ease-out;
}

.tmf-post.attorney.small .small-thumbnail-container:hover img.small-thumbnail {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  transition: all 0.3s ease-in;
}

.tmf-post.attorney.small .small-content {
  padding: 25px 25px;
}

.tmf-post.attorney.small .title {
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 500;
  line-height: 36px;
  margin-bottom: 5px;
}

.tmf-post.attorney.small .tmf-taxonomy-list .tmf-taxonomy {
  color: #000000;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

@media screen and (max-width: 450px) {
  .tmf-post.attorney.small .small-cell-1 {
    width: 130px;
  }

  .tmf-post.attorney.small .small-thumbnail-container {
    max-width: 130px;
  }

  .tmf-post.attorney.small img.small-thumbnail {
    width: 130px;
  }

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

  .tmf-post.attorney.small .title {
    font-size: 18px;
    line-height: 22px;
  }

  .tmf-post.attorney.small .tmf-taxonomy-list .tmf-taxonomy {
    font-size: 15px;
  }
}

/*------ Attorney Medium -----*/
.tmf-post.attorney.medium h2.title {
  margin: 0 !important;
}

.tmf-post.attorney.medium .excerpt {
  clear: both;
  margin-top: 50px !important;
}

.tmf-post.attorney.medium .label {
  font-size: 0;
}

.tmf-post.attorney.medium .phone-1::before,
.tmf-post.attorney.medium .phone-2::before,
.tmf-post.attorney.medium .fax::before,
.tmf-post.attorney.medium .email::before {
  color: var(--accent);
  font-size: 18px;
  font-family: var(--font-awesome-5-free);
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
}

.tmf-post.attorney.medium .phone-1::before {
  content: '\f879';
  margin-right: 5px;
  transform: rotate(10deg);
  width: 20px;
}

.tmf-post.attorney.medium .phone-2::before {
  content: '\f879';
  margin-right: 5px;
  transform: rotate(10deg);
  width: 20px;
}

.tmf-post.attorney.medium .fax::before {
  content: '\f1ac';
  margin-right: 5px;
  width: 20px;
}

.tmf-post.attorney.medium .email::before {
  content: '\f0e0';
  margin-right: 5px;
  width: 20px;
}

.tmf-post.medium.attorney .read-more-button.top {
  display: none !important;
}

.tmf-post.attorney.medium .read-more-button.bottom {
  display: inline-block;
  float: left;
  margin-top: 35px;
  /*    margin-bottom: 20px;*/
}

/*------ Staff Medium -----*/
.tmf-post.staff.medium h2.title {
  margin: 0 !important;
}

.tmf-post.staff.medium .excerpt {
  clear: both;
  margin-top: 50px !important;
}

.tmf-post.staff.medium .label {
  font-size: 0;
}

.tmf-post.staff.medium .phone-1::before,
.tmf-post.staff.medium .phone-2::before,
.tmf-post.staff.medium .fax::before,
.tmf-post.staff.medium .email::before {
  color: var(--accent);
  font-size: 18px;
  font-family: var(--font-awesome-5-free);
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
}

.tmf-post.staff.medium .phone-1::before {
  content: '\f879';
  margin-right: 5px;
  transform: rotate(10deg);
  width: 20px;
}

.tmf-post.staff.medium .phone-2::before {
  content: '\f879';
  margin-right: 5px;
  transform: rotate(10deg);
  width: 20px;
}

.tmf-post.staff.medium .fax::before {
  content: '\f1ac';
  margin-right: 5px;
  width: 20px;
}

.tmf-post.staff.medium .email::before {
  content: '\f0e0';
  margin-right: 5px;
  width: 20px;
}

.tmf-post.medium.staff .read-more-button.top {
  display: none !important;
}

.tmf-post.staff.medium .read-more-button.bottom {
  display: inline-block;
  float: left;
  margin-top: 35px;
  /*    margin-bottom: 20px;*/
}

/*---------- Practice Areas Home ----------*/
.tmf-post.practice-area.home {
  border: none;
  display: table-cell;
  max-width: 571px;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

.tmf-post.practice-area.home .home-inner {
  padding: 0 12px;
}

.tmf-post.practice-area.home .home-practice-area-container {
  border-radius: 15px;
  max-width: 547px;
  margin: 50px 0 0;
  position: relative;
  overflow: hidden;
}

.tmf-post.practice-area.home .home-practice-area-container img.home-thumbnail {
  display: block;
  float: none;
  max-width: 547px !important;
  width: 100%;
  height: auto;
  transition: all 0.3s ease-out;
}

.tmf-post.practice-area.home .home-practice-area-container:hover img.home-thumbnail {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  transition: all 0.3s ease-in;
}

.tmf-post.practice-area.home .home-practice-area-container .title {
  box-sizing: border-box;
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 35px;
  font-weight: 500;
  line-height: 40px;
  position: relative;
  text-align: left;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  padding: 0 25px;
}

.tmf-post.practice-area.home .home-practice-area-container .title a {
  color: #ffffff;
  text-decoration: none;
}

@media screen and (max-width: 950px) {
  .tmf-post.practice-area.home {
    display: inline-block;
  }
}

@media screen and (max-width: 550px) {
  .tmf-post.practice-area.home .home-practice-area-container .title {
    font-size: 25px;
    line-height: 30px;
  }
}

@media screen and (max-width: 400px) {
  .tmf-post.practice-area.home .home-practice-area-container .title {
    font-size: 20px;
    line-height: 25px;
    bottom: 15px;
  }
}

/*---------- Practice Area Small ----------*/
.tmf-post.practice-area.small {
  border: none;
  margin: 0 auto 15px;
  padding: 0;
}

.tmf-post.practice-area.small .prac-area-button {
  background: transparent;
  box-sizing: border-box;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  color: var(--primary);
  font-size: 25px;
  font-family: var(--body-font);
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  text-decoration: none !important;
  height: 90px;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  position: relative;
  transition: all 0.3s ease-out;
}

.tmf-post.practice-area.small .prac-area-button:hover {
  background: var(--accent);
  color: #ffffff;
  transition: all 0.3s ease-in;
}

.tmf-post.practice-area.small .sub-title {
  display: block;
  font-size: 20px;
}

/*---------- Practice Areas Medium and Large ----------*/
.tmf-post.practice-area.large .tmf-taxonomy-list,
.tmf-post.practice-area.large .tmf-post-link-list {
  margin-top: 50px;
}

/*---------- Process Small ----------*/
.tmf-post.process.small {
  border: none;
  padding: 0;
  margin: 0;
}

.tmf-post.process.small .small-cell-1,
.tmf-post.process.small .small-cell-2 {
  display: table-cell;
  vertical-align: top;
}

.tmf-post.process.small .small-cell-1 {
  width: 182px;
}

.tmf-post.process.small .small-cell-2 {
  width: auto;
}

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

.tmf-post.process.small .process-thumbnail {
  border-radius: 50%;
  display: block;
  max-width: 132px !important;
  width: 100%;
}

.tmf-post.process.small .title {
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 25px;
}

.tmf-post.process.small .editor-content p {
  color: #ffffff;
  font-size: 18px;
  line-height: 28px;
}

@media screen and (max-width: 950px) {
  .tmf-post.process.small .small-cell-1,
  .tmf-post.process.small .small-cell-2 {
    display: block;
    width: 100%;
  }

  .tmf-post.process.small .process-thumbnail {
    margin: 0 auto 25px;
  }
}

/*---------- FAQ Small ----------*/
.tmf-post.faq.small {
  padding-bottom: 5px !important;
  margin-bottom: 5px !important;
  border-bottom: none !important;
}

.tmf-post.faq.small.last-post {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.tmf-post.faq.small .number {
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 35px;
  font-weight: 400;
  line-height: 35px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.tmf-post.faq.small .title {
  display: block;
  padding-left: 75px;
}

/*---------- Post Medium ----------*/
.tmf-post.medium.post img.thumbnail,
.tmf-post.medium.post .tmf-author,
.tmf-post.medium.post .taxonomy-container,
.tmf-post.medium.post .social-buttons {
  display: none;
}

.tmf-post.post.medium.first-post {
  padding-top: 50px;
}

/*---------- Location Mobile ----------*/
.tmf-post-list.mobile {
  display: block;
  margin-top: 15px;
}

.tmf-post.location.mobile-location {
  margin: 0 25px;
  padding: 25px 0;
  width: auto;
}

.tmf-post.location.mobile-location .location-small-container {
  max-width: 100%;
}

.tmf-post.location.mobile-location .location-small-1,
.tmf-post.location.mobile-location .location-small-2 {
  display: block;
  max-width: 100%;
  padding: 0;
}

.tmf-post.location.mobile-location .location-small-1 {
  border-right: none;
}

.tmf-post.location.mobile-location .location-small-2 {
  margin-top: 10px;
}

.tmf-post.location.mobile-location .phone .fas {
  font-family: var(--font-awesome-5-free);
}

.tmf-post.location.mobile-location .map-label {
  font-size: 22px;
  vertical-align: top;
  top: 5px;
  transform: inherit;
}

/*---------- Location Small ----------*/
.tmf-post.location.small {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: normal;
  margin: 0;
  padding: 0;
}

.tmf-post.location.small .small-cell-1,
.tmf-post.location.small .small-cell-2,
.tmf-post.location.small .small-cell-3 {
  box-sizing: border-box;
  display: table-cell;
  width: auto;
  vertical-align: top;
}

.tmf-post.location.small .small-cell-1,
.tmf-post.location.small .small-cell-2 {
  padding-right: 50px;
}

.tmf-post.location.small a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease-out;
}

.tmf-post.location.small a:hover {
  color: var(--accent);
  transition: all 0.3s ease-in;
}

.tmf-post.small.location .address {
  position: relative;
  padding-bottom: 25px;
}

.tmf-post.small.location .streetAddress {
  display: block;
}

.tmf-post.small.location .email {
  margin-top: 48px;
}

.tmf-post.small.location .label {
  font-size: 0;
}

.tmf-post.small.location .direction {
}

.tmf-post.small.location .linkedin {
  margin-top: 50px;
}

@media screen and (max-width: 1200px) {
  .tmf-post.location.small {
    max-width: 660px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 950px) {
  .tmf-post.location.small .small-cell-1,
  .tmf-post.location.small .small-cell-2,
  .tmf-post.location.small .small-cell-3 {
    display: block;
    width: 100%;
  }

  .tmf-post.location.small .small-cell-1,
  .tmf-post.location.small .small-cell-2 {
    padding-right: 0;
  }

  .tmf-post.small.location .phone-1,
  .tmf-post.small.location .email {
    margin-top: 25px;
  }

  .tmf-post.small.location .facebook,
  .tmf-post.small.location .linkedin {
    margin-top: 25px;
  }
}

@media screen and (max-width: 360px) {
  .tmf-post.small.location .address-2 {
    display: block;
  }
}

/*----------Location Medium----------*/
.tmf-post.location.medium h2 {
  font-weight: 400;
}

.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 img.primary,
  .tmf-post.large.staff img.primary {
    float: none;
    margin-bottom: 15px;
  }

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

@media screen and (max-width: 400px) {
  .tmf-post.small img.thumbnail {
    max-width: 135px;
  }

  .tmf-post.attorney.small img.thumbnail,
  .tmf-post.staff.small img.thumbnail {
    max-width: 135px;
  }

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

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

  .tmf-post img.primary {
    max-width: 150px;
  }
}
