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

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

/*---------- Attorney Home ----------*/
.tmf-post.attorney.home {
    border-bottom: none;
    box-sizing: border-box;
    display: inline-block;
    max-width: 255px;
    vertical-align: top;
    margin: 0;
    padding: 25px 0 0;
}

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

.tmf-post.attorney.home .home-attorney-thumbnail {
    position: relative;
}

.tmf-post.attorney.home .home-image {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    box-sizing: border-box;
    display: block;
    max-width: 205px !important;
    width: 100%;
    margin-bottom: 15px;
}

.tmf-post.attorney.home .img-overlay {
    background: rgba(154, 76, 23, 0.5);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    padding: 15px;
}

.tmf-post.attorney.home .home-attorney-thumbnail:hover .img-overlay {
    display: block;
}

.tmf-post.attorney.home .title {
    color: #353a43;
    font-size: 22px;
    font-weight: 600;
    line-height: normal;
}

.tmf-post.attorney.home .title a{
    color: #353a43;
    text-decoration: none;
}

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

.tmf-post.attorney.home .attorney-titles a {
    font-style: italic;
    font-size: 22px;
    color: #353a43;
    text-decoration: none;
}

.tmf-post.attorney.home .attorney-titles a:hover {
    text-decoration: underline;
}

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

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

/*------ Attorney Large -----*/
.tmf-post.attorney.large .contact-information {
    color: #333333;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.tmf-post.attorney.large .contact-information a{
    color: #333333;
}

.tmf-post.attorney.large .icon-container .vcard-resume-container {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0px;
    line-height: normal;
}

.tmf-post.attorney.large .icon-container .vcard-resume-container a{
    color: #333333;
}

.tmf-post.attorney.large .label {
    font-size: 0;
}

.tmf-post.attorney.large .phone-1::before,
.tmf-post.attorney.large .phone-2::before,
.tmf-post.attorney.large .fax::before,
.tmf-post.attorney.large .email::before{
    color: #b9530b;
    font-size: 20px;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}

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

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

.tmf-post.attorney.large .fax::before {
    content: "\f1ac";
    margin-right: 5px;
    width: 20px;
}

.tmf-post.attorney.large .email::before {
    content: "\f0e0";
    margin-right: 5px;
    width: 20px;
}

.tmf-post.attorney.large .large-top-cell-1,
.tmf-post.attorney.large .large-top-cell-2{
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

.tmf-post.attorney.large .large-top-cell-1{
    padding-right: 25px;
}

.tmf-post.attorney.large h1#page-title {
    display: block;
    color: #383d46;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tmf-post.attorney.large img.primary {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    box-sizing: border-box;
    max-width: 280px !important;
    width: 100%;
    margin: 0 0 15px;
}

.tmf-post.attorney.large .tmf-taxonomy-list.attorney-titles {
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin: 5px 0 8px;
}

.tmf-post.attorney.large .tmf-taxonomy-list .tmf-taxonomy {
    color: #333333;
    font-size: 20px;
    font-style: normal;
}

.tmf-post.attorney.large .contact-information {
    line-height: 34px;
}

.tmf-post.attorney.large .icon-container {
    line-height: 34px;
}

.tmf-post.attorney.large .vcard .label {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    vertical-align: middle;
}

@media screen and (max-width: 500px) {
    .tmf-post.attorney.large .large-top-cell-1{
        padding-right: 0;
    }
}

/*---------- Practice Area Home ----------*/
.tmf-post.practice-area.home {
    display: inline-block;
    max-width: 337px;
    box-sizing: border-box;
    border-bottom: none;
    margin: 30px 0 0;
    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 15px;
}

.tmf-post.practice-area.home .home-prac-thumbnail {
    position: relative;
}

.tmf-post.practice-area.home .home-thumbnail {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    display: block;
    max-width: 307px !important;
    width: 100%;
}

.tmf-post.practice-area.home .img-overlay {
    background: rgba(154, 76, 23, 0.8);
    box-sizing: border-box;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    padding: 15px;
}

.tmf-post.practice-area.home .border-area {
    border: 2px solid #fff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    display: inline-flex;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.tmf-post.practice-area.home .home-prac-thumbnail:hover .img-overlay {
    display: block;
}

.tmf-post.practice-area.home .title {
    box-sizing: border-box;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    max-width: 100%;
    margin-top: 15px;
}

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

/*----------Practice Area Small----------*/
.tmf-post.practice-area.small {
    text-align: center;
    margin-top: 20px;
}

.tmf-post.practice-area.small .tmf-button {
    border: none;
    background: #545a66;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    box-sizing: border-box;
    display: block;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 900;
    max-width: 100%;
    width: 100%;
    padding: 7px 10px;
    text-transform: uppercase;
    line-height: 22px; 
}

.tmf-post.practice-area.small .outline {
    border: 3px solid #fff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tmf-post.practice-area.small .tmf-button:hover {
    color: #ffffff;
    background: #b9530b;
}

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

/*---------- Location Small ----------*/
.tmf-post.location.small {
    color: #333333;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    max-width: 480px;
    margin: 0 auto;
}

.tmf-post.location.small a{
    color: #333333;
    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: 410px;
    vertical-align: top;
    text-align: left;
}

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

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

.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 .fax::before,
.tmf-post.small.location .email::before {
    color: #b9530b;
    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: 0;
}

.tmf-post.small.location .phone-1::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 .tmf-button {
    border: 3px solid #ffffff;
    display: inline-block;
    max-width: 160px;
    width: 100%;
    padding: 6px 10px;
    margin-top: 15px;
}

.tmf-post.small.location .tmf-button:hover {
    background: #ffffff;
    color: #014421;
}

@media screen and (max-width: 550px) {
    .tmf-post.location.small {
        background: transparent;
    }

    .tmf-post.location.small .location-small-1, 
    .tmf-post.location.small .location-small-2 {
        display: block;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

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

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