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

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

/*---------- 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: 482px;
    vertical-align: bottom;
}

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

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

.tmf-post.attorney.small .small-image {
    box-sizing: border-box;
    display: block;
    max-width: 432px !important;
    width: 100%;
    position: relative;
}

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

.tmf-post.attorney.small .title-1 {
    color: #121943;
    font-family: 'Figtree', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.tmf-post.attorney.small .title-2 {
    color: #121943;
    font-family: 'Figtree', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tmf-post.attorney.small .excerpt {
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin-top: 0;
}

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

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

@media screen and (max-width: 1200px) {
    .tmf-post.attorney.small .attorney-cell-2 .small-inner {
        padding: 0 25px;
    }
}

@media screen and (max-width: 950px) {
    .tmf-post.attorney.small .attorney-cell-1,
    .tmf-post.attorney.small .attorney-cell-2{
        border: none;
        display: block;
        width: 100%;
        text-align: center;
    }

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

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

    .tmf-post.attorney.small .small-image {
        border: 2px solid #121943;
        box-sizing: border-box;
        max-width: 436px !important;
        margin: 0 auto 25px;
        padding: 10px 10px 0;
    }

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

/*------ 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: #315fa3;
    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: 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;
}

/*---------- Practice Areas Small ----------*/
.tmf-post.practice-area.small {
    display: table-cell;
    max-width: 650px;
    margin: 0 auto 35px;
    vertical-align: top;
}

.tmf-post.practice-area.small.last-post{
    margin: 0 auto;
}

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

.tmf-post.practice-area.small .small-practice-area-container {
    max-width: 600px;
    position: relative;
}

.tmf-post.practice-area.small .small-practice-area-container img.small-thumbnail {
    display: block;
    float: none;
    max-width: 600px !important;
    width: 100%;
}

.tmf-post.practice-area.small .small-practice-area-container:hover img.small-thumbnail {
    -webkit-filter: grayscale(100%) brightness(100%);
    filter: grayscale(100%) brightness(100%);
}

.tmf-post.practice-area.small .small-practice-area-container .title {
    background: #121943;
    color: #fff;
    font-family: 'Figtree', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    padding: 0px;
    text-align: center;
    width: 100%;
    height: 70px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

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

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

.tmf-post.practice-area.small .small-practice-area-container:hover .title {
    display: none;
}

.tmf-post.practice-area.small .small-practice-area-container .img-overlay {
    background: rgba(0, 0, 0, 0);
    mix-blend-mode: multiply;
    position: absolute !important;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tmf-post.practice-area.small .small-practice-area-container .img-overlay:before {
    background: rgba(191, 78, 10, 0.9);
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.tmf-post.practice-area.small .small-practice-area-container:hover .img-overlay:before {  
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}

.tmf-post.practice-area.small .small-practice-area-container .overlay-title {
    display: none;
    color: #ffffff;
    font-family: 'Figtree', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.tmf-post.practice-area.small .small-practice-area-container:hover .overlay-title {  
    display: block;
}

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

/*---------- Post Small ----------*/
.tmf-post.post.small {
    border-bottom: none;
    display: table-cell;
    width: 33.333333%;
    box-sizing: border-box;
    vertical-align: top;
    padding: 25px 0 0;
    margin: 0;
}

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

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

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

.tmf-post.post.small .title{
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 15px;
}

.tmf-post.post.small .excerpt {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 15px;
}

.tmf-post.post.small .read-more{
    color: #ff8826;
    font-weight: 700;
}

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

/*---------- Post Medium ----------*/
.tmf-post.post.medium .read-more-button {
    display: none;
}

/*---------- Testimonial Small ----------*/
.tmf-post.testimonial.small {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.tmf-post.testimonial.small .excerpt{
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 0;
}

.tmf-post.testimonial.small .testimonial-description {
    float: none;
    color: #000000;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    margin-top: 0;
}

/*---------- Testimonial Medium ----------*/
.tmf-post.testimonial .testimonial-description {
    float: left;
}

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

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

/*---------- Location Small ----------*/
.tmf-post.location.small {
    border-top: 2px solid #315fa3;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
    max-width: 465px;
    margin: 15px auto 0;
    padding: 15px 0 0;
}

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

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

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

.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: #5b80b8;
    font-size: 16px;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}

.tmf-post.small.location .streetAddress::before {
    content: "\f3c5";
    font-size: 18px;
    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-3{
        display: block;
    }
}

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

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

@media screen and (max-width: 400px) {
    .tmf-post.small.location .phone-1,
    .tmf-post.small.location .address-2{
        display: block;
        padding-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;
    }
}
