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

/*---------- Practice Area Home ----------*/
.tmf-post.practice-area.home {
    display: inline-block;
    width: 210px;
    box-sizing: border-box;
    border-bottom: none;
    margin: 0 0 50px;
    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 {
    background: #ffffff;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    width: 97px;
    height: 97px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.tmf-post.practice-area.home .home-thumbnail {
    display: block;
    max-width: 69px !important;
}

.tmf-post.practice-area.home .title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    padding: 15px 0 0;
}

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

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

@media screen and (max-width: 1200px) {}

/*----------Practice Area Small----------*/
.tmf-post.practice-area.small {}

.tmf-post.practice-area.small .title {
    color: #000000;
    font-size: 20px;
    font-weight: 600;
    padding-left: 25px;
    position: relative;
    padding-bottom: 12px;
}

.tmf-post.practice-area.small.last-post .title {
    padding-bottom: 0;
}

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

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

.tmf-post.small.practice-area .title:before {
    content: '\2022';
    color: #a4353b;
    font-size: 28px;
    font-weight: 600;
    left: 0;
    position: absolute;
    top: -3px;
}

.tmf-post.practice-area.small .children{
    display: none;
}


/*----------Testimonial Small----------*/
.tmf-post.testimonial.small {
    margin: 0;
    padding: 0 100px;
}

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

.tmf-post.testimonial.small .testimonial-description {
    color: #333333;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
}

@media screen and (max-width: 1250px) {
    .tmf-post.testimonial.small {
        padding: 0 65px;
    }
}

@media screen and (max-width: 950px) {
    .tmf-post.testimonial.small {
        text-align: center;
    }

    .tmf-post.testimonial.small .testimonial-description {
        float: none;
    }
}

@media screen and (max-width: 450px) {
    .tmf-post.testimonial.small {
        padding: 0 20px;
    }

    .tmf-post.testimonial.small .excerpt{
        font-size: 17px;
        line-height: 27px;
    }
}

/*---------- Faq Medium ----------*/
.tmf-post.faq.medium {
    border-bottom: none;
    padding: 0;
    margin: 0;
}

/*----------Post Small----------*/
.tmf-post.post.small {
    display: table-cell;
    width: 50%;
    box-sizing: border-box;
    vertical-align: top;
}

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

.tmf-post.post.small .small-content {
    border-left: 3px solid #a2b1ba;
    padding: 15px 0 15px 25px;
}

.tmf-post.post.small .title {
    color: #01395a;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

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

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

.tmf-post.post.small .date {
    color: #000000;
    font-size: 20px;
    font-style: normal;
}

.tmf-post.post.small .excerpt {
    color: #000000;
    font-size: 20px;
    line-height: 30px;
    margin: 0 0 10px;
}

.tmf-post.post.small .tmf-button {
    background: #01395a;
    font-size: 18px;
    max-width: 145px !important;
    padding: 6px 15px !important;
    margin: 10px 0 0 !important;
}

.tmf-post.post.small .tmf-button:hover{
    background: #00436a;
}

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

/*---------- Location Mobile ----------*/
.tmf-post.location.mobile-location .location-small-container {
    max-width: 630px;
    margin: 0 auto;
}

@media screen and (max-width: 660px) {
    .tmf-post.location.mobile-location .location-small-container {
        max-width: 350px;
    }

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

    .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 .divider {
        display: block;
        height: 1px;
        width: 100%;
        margin-top: 10px;
    }
}

/*---------- Location Small ----------*/
.tmf-post.location.small {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

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

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

.tmf-post.location.small .location-small-1, 
.tmf-post.location.small .location-small-2 {
    box-sizing: border-box;
    display: table-cell;
    max-width: 450px;
    vertical-align: middle;
    text-align: left;
}

.tmf-post.location.small .location-small-2 {
    padding-left: 25px;
}

.tmf-post.small.location .static-map {
    margin-bottom: 0;
}

.tmf-post.location.small .static-map img {
    display: block;
    max-width: 435px !important;
    width: 100%;
    box-sizing: border-box;
}

.tmf-post.location.small .title {
    font-size: 20px;
    font-weight: 700;
}

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

.tmf-post.small.location .streetAddress {
    display: block;
    padding-left: 30px;
}

.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;
    position: absolute;
    left: 0;
    top: 3px;
}

.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: 950px) {
    .tmf-post.location.small {}

    .tmf-post.location.small .location-small-1, 
    .tmf-post.location.small .location-small-2 {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }

    .tmf-post.location.small .location-small-2 {
        padding: 15px 0 0;
        text-align: center;
    }

    .tmf-post.location.small .static-map img {
        margin: 0 auto;
    }

    .tmf-post.small.location .streetAddress {
        padding-left: 0;
    }

    .tmf-post.small.location .streetAddress::before {
        margin-right: 5px;
        position: relative;
        top: 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;
    }
}
