/* ============================================================================ *
        Post Styles
    ---------------------------------------------------------------------------
        These are the styles which build all the various post types and their templates.
*/
.tmf-post {
    padding-bottom: 50px;
    margin-bottom: 50px;
}

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

.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.practice-area.large .children {
    margin-top: 70px;
    border-left: none;
    margin-left: 0;
    padding-left: 0;
}

.read-more-button-left {
    margin-top:15px!important;
}

.tmf-post.post.medium .taxonomy-container,
.tmf-post.post.large .taxonomy-container {
    margin-top: 15px;
    display: none;
}

.tmf-post.post.medium .read-more {
    display: none;
}

.tmf-post.post.medium .read-more-button {
    float: none;
    margin-top: 25px;
    margin-left: 0;
    margin-bottom: 0;
}

/*---------- Attorney Small ----------*/
.tmf-post.attorney.small {
    display: inline-block;
    position: relative;
    max-width: 292px;
    width: 100%;
    vertical-align: top;
    margin-bottom: 0;
    padding-bottom: 50px;
}

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

.tmf-post.attorney.small .small-thumbnail-container {
    max-width: 242px;
    position: relative;
    margin-bottom: 25px;
}

.tmf-post.attorney.small .small-thumbnail-container:before {
    box-sizing: border-box;
    border: 2px solid var(--accent-light);
    border-radius: 5px;
    content: '';
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.tmf-post.attorney.small:hover .small-thumbnail-container:before {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.tmf-post.attorney.small img.small-thumbnail {
    border-radius: 5px;
    float: none;
    width: 242px;
    display: block;
    position: relative;
    z-index: 1;
}

.tmf-post.attorney.small .title {
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 27px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    margin-top: 0;
}

.tmf-post.attorney.small .tmf-taxonomy-list .tmf-taxonomy {
    font-style: normal;
    color: #fff;
    font-size: 18px;
}

.tmf-post.attorney.small .attorney-button{    
    box-sizing: border-box;
    padding-top: 10px;
    height: 60px;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.tmf-post.attorney.small:hover .attorney-button {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.tmf-post.attorney.small .attorney-button a{
    color: var(--accent-light);
    font-size: 18px;
    text-decoration: none;
}

.tmf-post.attorney.small .attorney-button a:before {
    content: '\f2ec';
    color: var(--accent-light);
    font-size: 16px;
    font-family: var(--font-awesome-6-pro);
    font-weight: 900;
    display: block;
}

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

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

.tmf-post.attorney.medium .excerpt {
    clear: both;
    margin-top: 50px !important;
}

.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-light);
    font-size: 18px;
    font-family: var(--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;
}

.tmf-post.medium.attorney .read-more-button.top {
    display: none !important;
}

.tmf-post.attorney.medium .read-more-button.bottom {
    display: inline-block;
    float: left;
    margin-top: 35px;
    margin-bottom: 0;
}

@media screen and (max-width: 550px) {
    .tmf-post.attorney.medium img.thumbnail {
        float: none;
    }
    
    .tmf-post.attorney.medium h2.title {
        margin-top: 25px;
    }
    
    .tmf-post.attorney.medium .excerpt {
        clear: both;
        margin-top: 25px !important;
    }
}

/*---------- Practice Areas Home ----------*/
.tmf-post.practice-area.home {
    border: none;
    display: inline-block;
    max-width: 524px;
    margin: 0 auto 50px;
    padding: 0;
    vertical-align: top;
}

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

.tmf-post.practice-area.home .title {
    box-sizing: border-box;
    color: var(--primary);
    font-family: var(--heading-font);
    font-size: 34px;
    font-weight: 400;
    line-height: normal;
    position: relative;
    text-align: center;
}

.tmf-post.practice-area.home .title a {
    color: var(--primary);
    text-decoration: none;
}

.tmf-post.practice-area.home .home-practice-area-container {
    max-width: 424px;
    position: relative;
    margin-bottom: 25px;
}

.tmf-post.practice-area.home .home-practice-area-container:before {
    box-sizing: border-box;
    border: 2px solid var(--accent-light);
    border-radius: 5px;
    content: '';
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.tmf-post.practice-area.home:hover .home-practice-area-container:before {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.tmf-post.practice-area.home .home-practice-area-container img.home-thumbnail {
    border-radius: 5px;
    display: block;
    float: none;
    max-width: 424px !important;
    width: 100%;
    transition: all 0.3s ease-out;
}

.tmf-post.practice-area.home:hover .home-practice-area-container img.home-thumbnail {
    -webkit-filter: grayscale(100%) brightness(100%);
    filter: grayscale(100%) brightness(100%);
    transition: all 0.3s ease-in;
}

.tmf-post.practice-area.home .home-practice-area-container .img-overlay {
    background: rgba(0, 0, 0, 0);
    mix-blend-mode: multiply;
    position: absolute !important;
    top: 0;
    width: 100%;
    height: 100%;
}

.tmf-post.practice-area.home .home-practice-area-container .img-overlay:before {
    background: #e4cf90;
    border-radius: 5px;
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.tmf-post.practice-area.home:hover .home-practice-area-container .img-overlay:before {  
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

@media screen and (max-width: 1150px) {
    .tmf-post.practice-area.home {
        max-width: 100%;
        width: 50%;
    }

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

@media screen and (max-width: 750px) {
    .tmf-post.practice-area.home {
        display: block;
        max-width: 474px;
        width: 100%;
    }

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

@media screen and (max-width: 550px) {
    .tmf-post.practice-area.home .title {
        font-size: 24px;
    }
}

/*---------- Practice Area Small ----------*/
.tmf-post.practice-area.small {
    border: none;
    margin: 0 auto 15px;
    padding: 0;
}

.tmf-post.practice-area.small .prac-area-button {
    background: var(--accent-light);
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: flex;
    color: var(--primary);
    font-size: 27px;
    font-family: var(--heading-font);
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    text-decoration: none !important;
    height: 90px;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    position: relative;
    transition: all 0.3s ease-out;
}

.tmf-post.practice-area.small .prac-area-button:hover {
    background: var(--primary);
    color: var(--accent-light);
    transition: all 0.3s ease-in;
}

/*---------- Location Mobile ----------*/
.tmf-post-list.mobile {
    display: block;
    margin-top: 15px;
}

.tmf-post.location.mobile-location {
    margin: 0;
}

.tmf-post.location.mobile-location .location-small-container {
    max-width: 100%;
}

.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 .phone .fas{
    font-family: var(--font-awesome-5-free);
}

.tmf-post.location.mobile-location .map-label {
    font-size: 22px;
    vertical-align: top;
    top: 5px;
    transform: inherit;
}

/*---------- Location Small ----------*/
.tmf-post.location.small {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    margin: 0;
    padding: 0;
}

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

.tmf-post.location.small .small-cell-1 {
    padding-right: 70px;
}

.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;
    padding-bottom: 25px;
}

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

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

.tmf-post.small.location .email{
    margin-top: 48px;
}

.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: var(--accent-light);
    font-size: 16px;
    font-family: var(--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;
    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;
}

.tmf-post.small.location .direction {
    margin-left: 0;
}

.tmf-post.location.small .direction:before {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -150px 0px;
    background-size: 371px;
    content: '';
    display: inline-block;
    font-size: 0;
    height: 15px;
    vertical-align: middle;
    width: 20px;
}

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

    .tmf-post.location.small .small-cell-1 {
        padding-right: 0;
    }

    .tmf-post.small.location .address {
        margin-left: 0;
    }

    .tmf-post.small.location .phone-1, 
    .tmf-post.small.location .email {
        margin-top: 25px;
    }
}

@media screen and (max-width: 750px) {
    .tmf-post.location.small .small-cell-1,
    .tmf-post.location.small .small-cell-2 {
        display: block;
        width: 100%;
    }

    .tmf-post.location.small .small-cell-1 {
        padding-right: 0;
    }

    .tmf-post.small.location .address {
        margin-left: 0;
    }

    .tmf-post.small.location .phone-1, 
    .tmf-post.small.location .email {
        margin-top: 25px;
    }
}

/*----------Location Medium----------*/
.tmf-post.location.medium h2 {
    font-weight: 600;
}

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

/* ======================================== *
        Staff Additions
 * ======================================== */
 
.tmf-post.staff p {
	margin-bottom:25px;
}

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

    .tmf-post.attorney.small img.thumbnail, 
    .tmf-post.staff.small img.thumbnail {
        max-width: 135px;
    }

    .tmf-post.medium img.thumbnail {
        max-width: 135px;
    }

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

    .tmf-post img.primary {
        max-width: 150px;
    }
}
