/* ============================================================================ *
        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 .children {
  margin-top: 25px;
  border-left: 3px solid rgba(193, 191, 185, 0.3);
  margin-left: 0;
  padding-left: 25px;
}
.tmf-post {
  border-bottom: 1px solid rgba(193, 191, 185, 0.4);
}
.tmf-post .excerpt a {
  text-decoration: underline;
}

.tmf-post .excerpt a:hover {
  text-decoration: none;
}
.tmf-post.location.mobile-location .location-small-container {
  max-width: 90%;
  margin: 0 auto;
}
.tmf-post.large h1#page-title {
  display: none;
}
.blog .read-more {
  display: none;
}
.tmf-post.post.medium .read-more-button,
.tmf-post.news.medium .read-more-button {
  display: inline-block;
  float: unset;
  margin-top: 10px;
  margin-left: 0;
  margin-bottom: 0;
}
@media screen and (max-width: 500px) {
  .tmf-post.medium img.thumbnail {
    margin-right: 7px;
  }
}
/*------ Attorney Small -------*/
.tmf-post.attorney.small {
  position: relative;
}

.tmf-post.attorney.small .attorney-cell-1,
.tmf-post.attorney.small .attorney-cell-2 {
  border: none;
  display: table-cell;
  width: auto;
  vertical-align: top;
}

.tmf-post.attorney.small .attorney-cell-1 {
  width: 420px;
}

.tmf-post.attorney.small .attorney-cell-1 .small-inner {
  padding: 0 35px 0 25px;
}

.tmf-post.attorney.small .attorney-cell-2 .small-inner {
  padding: 0px 25px;
}
.tmf-post.attorney.small .attorney-cell-2 {
  padding: 65px 0;
  max-width: 80vw;
}
.tmf-post.attorney.small .small-image {
  box-sizing: border-box;
  display: block;
  position: absolute;
  z-index: 1;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 405px;
  outline: 2px solid #084aa6;
  outline-offset: -12px;
}

.tmf-post.attorney.small .small-content-box {
  max-width: 100%;
  display: flex;
  justify-content: center;
  /* height: 355px; */
  flex-direction: column;
}

.tmf-post.attorney.small .title {
  font-family: "Alexandria", sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 10px;
}

.tmf-post.attorney.small .title a {
  color: #0d1740;
  text-decoration: none;
}

.tmf-post.attorney.small .title a:hover {
  text-decoration: none;
}

.tmf-post.attorney.small .excerpt {
  color: #000000;
  font-size: 19px;
  font-weight: 500;
  line-height: 29px;
}

.tmf-post.attorney.small .attorney-buttons {
}

.tmf-post.attorney.small .tmf-button {
  box-sizing: border-box;
  display: inline-block;
  text-align: center;
  border: 2px solid #084aa6;
  color: #084aa6;
  max-width: 280px;
  width: 100%;
  margin: 25px 0 0;
  padding: 10px 15px;
}
.tmf-post.attorney.small .attorney-buttons a:hover {
  color: #ffffff;
}
@media screen and (min-width: 1600px) {
  /* .tmf-post.attorney.small .small-image {
    left: -5.6%;
  } */
}
@media screen and (min-width: 1507px) and (max-width: 1599px) {
  /* .tmf-post.attorney.small .small-image {
    left: -10%;
  } */
}
@media screen and (min-width: 1400px) and (max-width: 1506px) {
  /* .tmf-post.attorney.small .small-image {
    left: -8%;
  } */
}
@media screen and (max-width: 950px) {
  .tmf-post.attorney.small .attorney-cell-1,
  .tmf-post.attorney.small .attorney-cell-2 {
    display: block;
    width: 100%;
    text-align: center;
  }

  .tmf-post.attorney.small .attorney-cell-2 .small-inner {
    padding: 0px 25px;
  }

  .tmf-post.attorney.small .small-image {
    box-sizing: border-box;
    top: 0;
    z-index: inherit;
    margin: 0 auto 35px;
    position: static;
  }

  .tmf-post.attorney.small .small-content-box {
    max-width: 100%;
    display: block;
    justify-content: inherit;
    height: auto;
    flex-direction: inherit;
  }

  .tmf-post.attorney.small .tmf-button {
    margin: 25px 0 0;
  }
}

@media screen and (max-width: 550px) {
  .tmf-post.attorney.small .title {
    font-size: 34px;
  }
}

/*------ 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: var(--accent-color);
  font-size: 16px;
  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: 16px;
}

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

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

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

/*------- Rep Case -------------- */

.post-type-archive-representative-case .representative-case {
  padding: 0;
  margin: 0;
  border: none;
}

.post-type-archive-representative-case .tmf-archive-top {
  margin-bottom: 15px;
}

/*---------- Practice Area Home ----------*/
/* .tmf-post.practice-area.home {
  display: inline-block;
  max-width: 568px;
  box-sizing: border-box;
  border-bottom: none;
  margin: 30px 0 0;
  padding: 0;
  vertical-align: top;
}

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

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

.tmf-post.practice-area.home .home-prac-thumbnail {
  position: relative;
  border: 5px solid #ffffff;
}

.tmf-post.practice-area.home .home-prac-thumbnail:hover {
  border: 5px solid #ebab1f;
}

.tmf-post.practice-area.home .home-prac-thumbnail .home-thumbnail {
  display: block;
  max-width: 508px !important;
  width: 100%;
}

.tmf-post.practice-area.home .home-prac-thumbnail .title {
  background: rgba(230, 171, 65, 0.9);
  box-sizing: border-box;
  color: #ffffff;
  font-size: 30px;
  font-weight: 600;
  line-height: normal;
  padding: 10px 5px;
  width: 100%;
  height: 65px;
  position: absolute;
  bottom: 0;
  display: flex;
  vertical-align: middle;
  left: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
} */

/* .tmf-post.practice-area.home .home-prac-thumbnail:hover .title {
  background: rgba(230, 171, 65, 1);
} */

@media screen and (max-width: 550px) {
  .tmf-post.practice-area.home .home-prac-thumbnail .title {
    font-size: 20px;
    height: 55px;
    line-height: 20px;
  }
}

/*----------Practice Area Small----------*/
/* .tmf-module-area-page-sidebar .tmf-module-practice-areas---sidebar,
.tmf-module-area-contact-sidebar .tmf-module-practice-areas---sidebar {
  background: #47509a;
  padding: 25px;
  border: 5px solid #e3aa2d;
} */

.tmf-module-area-home-practice-areas .tmf-post.practice-area.small {
  margin: 0 0 20px;
}

.tmf-module-area-home-practice-areas .tmf-post.practice-area.small a {
  color: #ffffff;
  display: block;
  text-decoration: none;
  font-family: var(--body-font);
  background: var(--primary-color);
  padding: 20px 10px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  transition: 0.25s ease-in;
}
.tmf-module-area-home-practice-areas .tmf-post.practice-area.small a:hover {
  background: var(--accent-color);
}
.tmf-post.practice-area.small a {
  color: #ffffff;
  text-decoration: none;
}

.tmf-post.practice-area.small a {
  color: #ffffff;
  display: block;
  text-decoration: none;
  font-family: var(--body-font);
  background: var(--primary-color);
  padding: 20px 10px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  transition: 0.25s ease-in;
  text-align: center;
}
.tmf-post.practice-area.small a:hover {
  background: var(--accent-color);
  text-decoration: none;
}
.tmf-post.practice-area.small {
  margin: 0 0 20px;
}

.tmf-post.practice-area.small .small-inner {
  padding: 0 25px;
}
.tmf-post.practice-area.small .first-post {
  padding-left: 0;
}
.tmf-post.practice-area.small .small-prac-thumbnail {
  position: relative;
  /* background-color: #41497e; */
}

.tmf-post.practice-area.small .small-prac-thumbnail img.small-thumbnail {
  display: block;
  visibility: visible;
  opacity: 1;
  float: none;
  max-width: 600px !important;
  width: 100%;
  height: auto !important;
  margin: 0;
  transition: all 0.3s ease;
}

.tmf-post.practice-area.small .small-prac-thumbnail:hover img.small-thumbnail {
  /* mix-blend-mode: overlay; */
}

/* .tmf-post.practice-area.small .small-prac-thumbnail .title {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  line-height: 28px;
  margin: 0 65px;
  padding: 5px 0;
  border: 2px solid #e3aa2d;
  position: absolute;
  top: 50%;
  text-align: center;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  opacity: 1;
  transition: all 1.5s ease;
} */

.tmf-post.practice-area.small .small-prac-thumbnail:hover .title {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.tmf-post.practice-area.small .small-prac-thumbnail .practice-area-hover {
  position: absolute;
  top: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  left: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 25px;
  outline: 2px solid #e3aa2d;
  outline-offset: -10px;
  transition: all 0.3s ease;
}

.tmf-post.practice-area.small .small-prac-thumbnail .excerpt {
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
  padding: 40px 0;
  text-align: left;
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tmf-post.practice-area.small .small-prac-thumbnail .excerpt:hover {
  opacity: 1;
  transition: all 1.25s ease;
}
.tmf-post.practice-area.small .small-prac-thumbnail .excerpt ul {
  padding-left: 25px;
  margin: 0 auto;
  width: 180px;
}

.tmf-post.practice-area.small .small-prac-thumbnail .tmf-button {
  background: #ffffff;
  box-sizing: border-box;
  display: inline-block;
  color: #4a5778;
  max-width: 135px;
  width: 100%;
  padding: 3px 15px;
  margin-top: 15px;
}

.tmf-post.practice-area.small .small-prac-thumbnail .tmf-button:hover {
  background: #ededee;
}

.tmf-post.practice-area.small .small-prac-thumbnail:hover .practice-area-hover {
  display: inline-flex;
  cursor: default;
  visibility: visible;
  opacity: 1;
  transition: all 1.2s ease;
}

.practice-area-hover h2 {
  color: #ffffff;
  text-align: center;
}
.practice-area-hover li {
  color: #ffffff;
}

@media screen and (min-width: 951px) and (max-width: 1117px) {
  .tmf-post.practice-area.small .small-inner {
    padding: 0 10px;
  }
}
@media screen and (max-width: 950px) {
  .tmf-module-area-home-practice-areas .tmf-post.practice-area.small {
    max-width: 100%;
  }
}
@media screen and (max-width: 450px) {
  .tmf-post.practice-area.small .small-prac-thumbnail .title {
    padding: 0 25px;
    font-size: 1.3em;
    margin: 0 35px;
  }

  .tmf-post.practice-area.small .small-prac-thumbnail .practice-area-hover {
    padding: 35px 35px;
  }

  .tmf-post.practice-area.small .small-prac-thumbnail .excerpt {
    font-size: 22px;
    line-height: 28px;
  }

  .tmf-post.practice-area.small .small-prac-thumbnail .tmf-button {
    max-width: 105px;
    font-size: 12px;
    padding: 3px 15px;
    margin-top: 8px;
  }
}

@media screen and (max-width: 380px) {
  .tmf-post.practice-area.small .small-prac-thumbnail .practice-area-hover {
    padding: 20px 30px;
  }

  .tmf-post.practice-area.small .small-prac-thumbnail .excerpt {
    font-size: 16px;
    line-height: 25px;
  }

  .tmf-post.practice-area.small .small-prac-thumbnail .tmf-button {
    max-width: 105px;
    font-size: 10px;
    padding: 1px 15px;
    margin-top: 8px;
  }
}

/*---------- Testimonial Small ----------*/

.tmf-post.testimonial.small {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
}
.tmf-post.testimonial .testimonial-description {
  float: left;
  font-size: 0.85em;
  margin-top: 10px;
  font-style: italic;
}

.tmf-post.testimonial.small .excerpt {
  color: #000000;
  font-size: 16px;
  font-family: var(--body-font);
  font-weight: 400;
  line-height: 28px;
  margin-top: 0;
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
}
.home .tmf-post.testimonial.small .excerpt {
  max-width: 60% !important;
}

.tmf-post.testimonial.small .testimonial-description {
  float: none;
  color: #000000;
  font-size: 16px;
  font-family: var(--body-font);
  font-style: normal;
  font-weight: 400;
  margin-top: 15px;
  text-align: center;
}
.post-type-archive-testimonial .tmf-post.testimonial {
  margin-bottom: 60px !important;
  text-align: left !important;
}

@media screen and (max-width: 550px) {
  .tmf-post.testimonial.small .excerpt {
    font-size: 16px;
    line-height: 24px;
  }
  .tmf-post.testimonial.small .excerpt {
    max-width: 80%;
  }
  .bx-wrapper .bx-viewport {
    height: 250px !important;
  }
}

@media screen and (max-width: 400px) {
  .tmf-post.testimonial.small .excerpt {
    font-size: 20px;
    line-height: 28px;
  }
}
/*---------- FAQ Small ----------*/
.tmf-post.small.faq {
  padding: 0;
}

/*---------- Location Small ----------*/
.tmf-post.location.small {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 700;
  line-height: 34px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

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

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

.tmf-post.small.location .footer-logo-wrap {
  margin-bottom: 10px;
}

.tmf-post.small.location .address,
.tmf-post.small.location .phone-1,
.tmf-post.small.location .email {
  display: inline-block;
  font-weight: 400;
}

.tmf-post.small.location .phone-1,
.tmf-post.small.location .email {
  padding-left: 15px;
}
#footer-cell-1 .tmf-post.small.location .phone-1,
.tmf-post.small.location .email {
  padding-left: 0;
}

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

.tmf-post.small.location .streetAddress::before,
.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: 18px;
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
}

.tmf-post.small.location .streetAddress::before {
  content: "\f3c5";
  margin-right: 5px;
  vertical-align: top;
}

.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: 1050px) {
  .tmf-post.small.location .address {
    display: block;
  }

  .tmf-post.small.location .phone-1,
  .tmf-post.small.location .email {
    padding: 0 10px;
  }
}

@media screen and (max-width: 570px) {
  .tmf-post.small.location .phone-1,
  .tmf-post.small.location .email {
    display: block;
    line-height: normal;
    padding: 5px 0;
  }

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

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