/* ============================================================================ *
        Post Styles
    ---------------------------------------------------------------------------
        These are the styles which build all the various post types and their templates.
*/
.tmf-post.large:not(.attorney) img.primary {
  float: right;
  margin-right: 0;
  margin-left: 15px;
}

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

.tmf-post.large h1#page-title {
  display: none;
}

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

.tmf-post.attorney.medium .excerpt {
  clear: both;
}

.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: #144e80;
  font-size: 18px;
  font-family: "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;
}

/*------ Attorney Large -----*/
.tmf-post.attorney.large .large-top-cell-1 {
  background: #e0e2e7;
  padding: 50px 50px;
}

.tmf-post.attorney.large .page-title-wrap {
}

.tmf-post.attorney.large h1#page-title {
  display: block;
  color: #144e80;
  font-size: 34px;
  margin-bottom: 15px;
}

.tmf-post.attorney.large .tmf-taxonomy-list.attorney-titles {
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 5px 0 8px;
}

.tmf-post.attorney.large .tmf-taxonomy-list .tmf-taxonomy {
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
}

.tmf-post.attorney.large .contact-information {
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
}

.tmf-post.attorney.large a {
  font-weight: 600;
}

.tmf-post.attorney.large .contact-information a {
  color: #000000;
  font-weight: 600;
}

.tmf-post.attorney.large .icon-container .vcard-resume-container {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-top: 0px;
}

.tmf-post.attorney.large .icon-container .vcard-resume-container a {
  color: #000000;
}

.tmf-post.attorney.large .phone,
.tmf-post.attorney.large .email {
  display: inline-block;
  padding-right: 25px;
  vertical-align: middle;
}

.tmf-post.attorney.large .phone .label,
.tmf-post.attorney.large .fax .label,
.tmf-post.attorney.large .email .label {
  font-size: 0;
}

.tmf-post.attorney.large .phone-1::before,
.tmf-post.attorney.large .phone-2::before,
.tmf-post.attorney.large .fax::before,
.tmf-post.attorney.large .email::before {
  color: #144e80;
  font-size: 18px;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
}

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

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

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

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

.tmf-post.attorney.large .contact-information,
.tmf-post.attorney.large .icon-container {
  display: inline-block;
  line-height: 30px;
  vertical-align: middle;
}

.tmf-post.attorney.large .vcard .label {
  font-size: 16px;
  font-weight: 600;
  margin-top: 0;
  vertical-align: middle;
}

@media screen and (max-width: 550px) {
  .tmf-post.attorney.large .large-top-cell-1 {
    padding: 50px 15px;
    text-align: center;
  }

  .tmf-post.attorney.large .contact-information,
  .tmf-post.attorney.large .icon-container {
    display: block;
  }

  .tmf-post.attorney.large .phone,
  .tmf-post.attorney.large .email {
    display: block;
    padding-right: 0;
  }
}

/*---------- Practice Area Home ----------*/
.tmf-post.home.practice-area {
  border: none;
  display: inline-block;
  max-width: 265px;
  width: 100%;
  vertical-align: top;
  padding: 55px 0 25px;
  margin: 0;
}

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

.tmf-post.home.practice-area a {
  border: 3px solid #cdcfd4;
  box-sizing: border-box;
  display: inline-block;
  color: #144e80;
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  height: 160px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
}

.tmf-post.home.practice-area a:hover {
  color: #1f74be;
}

.tmf-post.home.practice-area .prac-areas-icon {
}

.tmf-post.tmf-post-94.home.practice-area a .prac-areas-icon:before {
  background: url(../images/home_icon_sprite_prac_areas_3x.png) no-repeat 0px
    0px;
  background-size: 585px;
  content: "";
  display: block;
  width: 110px;
  height: 110px;
  margin: -55px auto 15px;
}

.tmf-post.tmf-post-94.home.practice-area a:hover .prac-areas-icon:before {
  background: url(../images/home_icon_sprite_prac_areas_3x.png) no-repeat 0px -120px;
  background-size: 585px;
}

.tmf-post.tmf-post-96.home.practice-area a .prac-areas-icon:before {
  background: url(../images/home_icon_sprite_prac_areas_3x.png) no-repeat -120px
    0px;
  background-size: 585px;
  content: "";
  display: block;
  width: 110px;
  height: 110px;
  margin: -55px auto 15px;
}

.tmf-post.tmf-post-96.home.practice-area a:hover .prac-areas-icon:before {
  background: url(../images/home_icon_sprite_prac_areas_3x.png) no-repeat -120px -120px;
  background-size: 585px;
}

.tmf-post.tmf-post-98.home.practice-area a .prac-areas-icon:before {
  background: url(../images/home_icon_sprite_prac_areas_3x.png) no-repeat -240px
    0px;
  background-size: 585px;
  content: "";
  display: block;
  width: 110px;
  height: 110px;
  margin: -55px auto 15px;
}

.tmf-post.tmf-post-98.home.practice-area a:hover .prac-areas-icon:before {
  background: url(../images/home_icon_sprite_prac_areas_3x.png) no-repeat -240px -120px;
  background-size: 585px;
}

.tmf-post.tmf-post-100.home.practice-area a .prac-areas-icon:before {
  background: url(../images/home_icon_sprite_prac_areas_3x.png) no-repeat -480px
    0px;
  background-size: 585px;
  content: "";
  display: block;
  width: 110px;
  height: 110px;
  margin: -55px auto 15px;
}

.tmf-post.tmf-post-100.home.practice-area a:hover .prac-areas-icon:before {
  background: url(../images/home_icon_sprite_prac_areas_3x.png) no-repeat -480px -120px;
  background-size: 585px;
}

/*----------Practice Area Small----------*/
.tmf-post.small.practice-area {
  margin: 25px 0 0;
  padding: 0;
  text-align: center;
}

.tmf-post.small.practice-area .tmf-button {
  background: #144e80;
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  max-width: 100%;
  width: 100%;
  padding: 5px 30px;
  height: 90px;
  /* align-items: center; */
  align-items: start;
  justify-content: center;
}

.tmf-post.small.practice-area .prac-areas-icon {
  position: relative;
  padding-left: 60px;
}

.tmf-post.tmf-post-94.small.practice-area .prac-areas-icon:before {
  background: url(../images/int_sidebar_icon_sprite_prac_areas_3x.png) no-repeat
    0px 0px;
  background-size: 242px;
  content: "";
  display: inline-block;
  width: 42px;
  height: 44px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.tmf-post.tmf-post-96.small.practice-area .prac-areas-icon:before {
  background: url(../images/int_sidebar_icon_sprite_prac_areas_3x.png) no-repeat -51px
    0px;
  background-size: 210px;
  content: "";
  display: inline-block;
  width: 50px;
  height: 30px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.tmf-post.tmf-post-98.small.practice-area .prac-areas-icon:before {
  background: url(../images/int_sidebar_icon_sprite_prac_areas_3x.png) no-repeat -188px
    0px;
  background-size: 230px;
  content: "";
  display: inline-block;
  width: 43px;
  height: 44px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.tmf-post.tmf-post-100.small.practice-area .prac-areas-icon:before {
  background: url(../images/int_sidebar_icon_sprite_prac_areas_3x.png) no-repeat -200px
    0px;
  background-size: 242px;
  content: "";
  display: inline-block;
  width: 42px;
  height: 44px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.tmf-post.small.practice-area .tmf-button:hover {
  background: #1f74be;
}

/*---------- Location Small ----------*/
.tmf-post.location.small {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 30px;
}

.tmf-post.location.small a {
  color: #ffffff;
  text-decoration: none;
}

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

.tmf-post.small.location .title {
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 15px;
}

.tmf-post.small.location .sub-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  position: relative;
  display: flex;
  max-width: 350px;
  width: 100%;
  margin: 0 auto 15px;
  justify-content: center;
  align-items: center;
}

.tmf-post.small.location .sub-title:before,
.tmf-post.small.location .sub-title:after {
  content: "";
  border-top: 2px solid #eaeff3;
  margin: 0 15px 0 0;
  flex: 1 0 15px;
}

.tmf-post.small.location .sub-title:after {
  margin: 0 0 0 15px;
}

.tmf-post.small.location .address {
  position: relative;
}

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

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

.tmf-post.small.location .phone-1 {
  padding-right: 25px;
}

.tmf-post.small.location .phone-1::before,
.tmf-post.small.location .phone-2::before,
.tmf-post.small.location .fax::before,
.tmf-post.small.location .email::before {
  color: #ffffff;
  font-size: 16px;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
}

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

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

.tmf-post.small.location .fax::before {
  content: "\f1ac";
  font-size: 20px;
  margin-right: 5px;
  width: 20px;
}

.tmf-post.small.location .email::before {
  content: "\f0e0";
  margin-right: 5px;
  width: 20px;
}

@media screen and (max-width: 450px) {
  .tmf-post.small.location .sub-title {
    display: block;
    justify-content: inherit;
    align-items: inherit;
  }

  .tmf-post.small.location .sub-title:before,
  .tmf-post.small.location .sub-title:after {
    display: none;
  }

  .tmf-post.small.location .phone-1 {
    display: block;
    margin-right: 0;
  }
}

/*----------Location Medium----------*/
.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: 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;
  }
}
