/* ============================================================================ *
        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 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: #b2903e;
    font-size: 16px;
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    display: inline-block;
    vertical-align: middle;
}

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

.tmf-post.attorney.medium .phone-2::before {
    content: "\f3cd";
    margin-right: 5px;
    width: 20px;
    position: relative;
    left: 4px;
}

.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 Small----------*/
.tmf-post.small.practice-area {
    margin: 20px 0 0;
    padding: 0;
}

.tmf-post.small.practice-area .prac-button {
    box-sizing: border-box;
    background: #2e3336;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    font-size: 18px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    line-height: 24px;
    width: 100%;
    height: 60px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    margin: 0 auto;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
}

.tmf-post.small.practice-area .prac-button:before {
    pointer-events: none;
    content: '';
    position: absolute;
    border: 2px solid #cbb102;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    opacity: 0;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: top, right, bottom, left;
    transition-property: top, right, bottom, left;
}

.tmf-post.small.practice-area .prac-button:hover:before, 
.tmf-post.small.practice-area .prac-button:focus:before, 
.tmf-post.small.practice-area .prac-button:active:before {
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    opacity: 1;
}

@media screen and (max-width: 350px) {
    .tmf-post.small.practice-area .prac-button {
        font-size: 16px;
    }
}

/*---------- Practice Areas Home ----------*/
.tmf-post.practice-area.home {
    border: none;
    margin: 0;
    padding: 0;
}

.tmf-post.practice-area.home .home-practice-area-container {
    border: none;
    max-width: 265px;
    position: relative;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
}

.tmf-post.home.practice-area .home-practice-area-container:before {
    pointer-events: none;
    content: '';
    position: absolute;
    border: 2px solid #cbb102;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    opacity: 0;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: top, right, bottom, left;
    transition-property: top, right, bottom, left;
}

.tmf-post.home.practice-area .home-practice-area-container:hover:before, 
.tmf-post.home.practice-area .home-practice-area-container:focus:before, 
.tmf-post.home.practice-area .home-practice-area-container:active:before {
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    opacity: 1;
}

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

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

.tmf-post.practice-area.home .home-practice-area-container .title {
    box-sizing: border-box;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    padding: 0px 25px;
    text-align: center;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

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

/*---------- News Small ----------*/
.tmf-post.news.small{
    border: none;
    margin: 0;
    padding: 0;
}

.tmf-post.news.small .excerpt {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-top: 15px;
}

.tmf-post.news.small .excerpt a{
    color: #cbb102;
    font-size: 14px;
    text-decoration: none;
}

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

.tmf-post.news.small img.small-thumbnail {
    display: inline-block;
    max-width: 300px !important;
    width: 100%;
}

.tmf-post.post.medium .read-more-button, 
.tmf-post.news.medium .read-more-button {
    float: left;
    margin-top: 15px;
    margin-left: 0;
    margin-bottom: 15px;
}

/*---------- Location Mobile ----------*/
.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 .map-label {
    font-size: 22px;
    vertical-align: top;
    top: 5px;
    transform: inherit;
}

@media screen and (max-width: 600px){
    .tmf-post.location.mobile-location .divider {
        display: none;
    }
}

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

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

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

.tmf-post.small.location .title {
    color: #ffffff;
    font-family: 'Crimson Text', serif;
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: normal;
}

.tmf-post.small.location .address, 
.tmf-post.small.location .phone, 
.tmf-post.small.location .fax {
    position: relative;
    padding-bottom: 0;
    display: inline-block;
    vertical-align: top;
}

.tmf-post.small.location .address, 
.tmf-post.small.location .phone {
    padding-right: 25px;
}

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

.tmf-post.small.location .address-1,
.tmf-post.small.location .address-3 {
    padding-left: 28px;
}

.tmf-post.small.location .label {
    vertical-align: middle;
}

.tmf-post.small.location .value {
    padding-left: 28px;
}

.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: #cbb102;
    font-size: 20px;
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    display: inline-block;
    vertical-align: middle;
}

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

.tmf-post.small.location .phone-1::before {
    content: "\f095";
    margin-right: 5px;
    width: 20px;
}

.tmf-post.small.location .phone-2::before {
    content: "\f095";
    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: 1150px) {
    .tmf-post.small.location .address, 
    .tmf-post.small.location .phone, 
    .tmf-post.small.location .fax {
        padding-bottom: 0;
        display: block;
    }

    .tmf-post.small.location .address, 
    .tmf-post.small.location .phone {
        padding-right: 0;
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 950px) {
    .tmf-post.small.location .address-1,
    .tmf-post.small.location .address-3 {
        padding-left: 0;
    }

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

/*---------- Location Small Homepage ----------*/
.home .tmf-post.small.location .address, 
.home .tmf-post.small.location .phone, 
.home .tmf-post.small.location .fax {
    padding-bottom: 0;
    display: block;
}

.home .tmf-post.small.location .address, 
.home .tmf-post.small.location .phone {
    padding-right: 0;
    padding-bottom: 10px;
}

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

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