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

.tmf-post.large.practice-area h1#page-title {
    display: block;
    display: flex;
    width: 100%;
    align-items: center;
}

.tmf-post.large.practice-area h1#page-title:after {
    content: '';
    border-top: 3px solid #a2dbe3;
    margin: 5px 0 0 20px;
    flex: 1 0 20px;
}

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

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

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

.tmf-post.attorney.small .small-image {
    border: 4px solid #f99d1b;
    box-sizing: border-box;
    display: block;
    max-width: 418px !important;
    width: 100%;
    position: relative;
    z-index: 9;
    top: -50px;
}

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

.tmf-post.attorney.small .title {
    color: #14515a;
    font-family: 'Libre Baskerville', serif;
    font-size: 35px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 5px;
}

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

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

.tmf-post.attorney.small .excerpt {
    color: #333333;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
}

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

.tmf-post.attorney.small .tmf-button {
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
    color: #ffffff;
    max-width: 230px;
    width: 100%;
    margin: 25px auto 0;
    padding: 7px 15px;
}

@media screen and (max-width: 1200px) {
    .tmf-post.attorney.small .attorney-cell-1,
    .tmf-post.attorney.small .attorney-cell-2{
        vertical-align: middle;
    }

    .tmf-post.attorney.small .small-image {
        top: 0;
        z-index: inherit;
    }

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

@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 {
        margin: 0 auto 25px;
    }
}

/*------ 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: #14515a;
    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 Billboard ----------*/
.tmf-post.billboard.practice-area {
    border-bottom: none;
    margin: 20px 0 0;
    padding: 0;
}

.tmf-post.billboard.practice-area .tmf-button {
    box-sizing: border-box;
    background: rgba(20, 81, 90, 0.85);
    border: 4px solid transparent;
    display: flex;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 700;
    max-width: 400px;
    width: 100%;
    height: 54px;
    padding: 5px 15px;
    align-items: center;
    justify-content: center;
}

.tmf-post.billboard.practice-area .tmf-button:hover {
    background: rgba(20, 81, 90, 1);
    border: 4px solid #f99d1b;
}

@media screen and (max-width: 950px) {
    .tmf-post.billboard.practice-area .tmf-button {
        margin: 0 auto;
    }
}

@media screen and (max-width: 750px) {
    .tmf-post.billboard.practice-area {
        margin: 30px 0 0;
    }
}

/*----------Practice Area Small----------*/
.tmf-post.small.practice-area {
    box-sizing: border-box;
    display: inline-block;
    margin: 0 0 20px;
    padding: 0 5px;
}

.tmf-post.small.practice-area .tmf-button {
    box-sizing: border-box;
    display: inline-block;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    padding: 10px 10px;
}

@media screen and (max-width: 650px) {
    .tmf-post.small.practice-area {
        width: 100%;
        padding: 0;
    }

    .tmf-post.small.practice-area .tmf-button {
        width: 100%;
    }
}

/*---------- FAQ Small ----------*/
.tmf-post.small.faq {
    padding: 0;
}
/*---------- FAQs Faqing Template ----------*/
.tmf-post.faq.faqing {
    padding: 0;
    margin: 0;
    border: none;
}

.tmf-post-list.faqing.smk_accordion.acc_with_icon .accordion_in .acc_head{
    padding-left: 15px;
    padding-right: 45px;
}

.tmf-post-list.faqing.smk_accordion.acc_with_icon .accordion_in .acc_content {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 20px;
}

/* Icon expand */
.tmf-post-list.faqing.smk_accordion .accordion_in .acc_head .acc_icon_expand {
    background: transparent !important;
    display: block;
    position: absolute;
    left: inherit;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -8px;
}

.tmf-post-list.faqing.smk_accordion .accordion_in .acc_head .acc_icon_expand::before {
    content: "\f04b";
    color: #0a3165;
    font-size: 12px;
    font-family: "Font Awesome 6 Sharp";
    font-weight: 900;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0;
}

.tmf-post-list.faqing.smk_accordion .accordion_in.acc_active .acc_head .acc_icon_expand::before {
    content: "\f04b";
    color: #ffffff;
    font-size: 12px;
    font-family: "Font Awesome 6 Sharp";
    font-weight: 900;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0;
    transform: rotate(90deg);
}


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

@media screen and (max-width: 710px) {
    .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: #333333;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    margin-bottom: 30px;
}

.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 {
    border-bottom: 3px solid #a2dbe3;
    max-width: 500px;
    margin: 0 auto 15px;
    padding-bottom: 10px;
}

.tmf-post.small.location .phone-1,
.tmf-post.small.location .fax {
    padding-right: 15px;
}

.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: #f99d1b;
    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: 800px) {
    .tmf-post.location.small {
        line-height: 30px;
    }

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

@media screen and (max-width: 450px) {
    .tmf-post.location.small {
        font-size: 17px;
        line-height: 28px;
    }
}

@media screen and (max-width: 360px) {
    .tmf-post.location.small {
        font-size: 15px;
        line-height: 26px;
    }

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