/* ============================================================================ *
        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: #dd3e3e;
    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;
    max-width: 380px;
    box-sizing: border-box;
    border-bottom: none;
    margin: 25px 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 25px;
}

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

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

.tmf-post.practice-area.home .title {
    background: rgba(10,35,63,0.9);
    box-sizing: border-box;
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    padding: 10px 10px;
    max-width: 330px;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.tmf-post.practice-area.home .home-prac-thumbnail:hover .title {
    background: rgba(221,62,62,0.9);
}

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

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

.tmf-post.small.practice-area .tmf-button {
    background: #0a233f;
    box-sizing: border-box;
    display: inline-block;
    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    width: 100%;
    padding: 40px 15px;
}

.tmf-post.small.practice-area .tmf-button:hover {
    background: #dd3e3e;
}

/*----------FAQ's Small----------*/
.tmf-post.small.faq {
    margin: 0;
    padding: 0;
}

/*---------- Location Small ----------*/
.tmf-post.location.small {
    border-right: 2px solid #d3d3d3;
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 12px 0;
}

.tmf-post.location.small.last-post {
    border-right: none;
}

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

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

.home .tmf-post.location.small,
.home .tmf-post.location.small a{
    color: #ffffff;
}

.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: 400px;
    vertical-align: middle;
    text-align: left;
}

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

.tmf-post.location.small img.small-thumbnail {
    display: block;
    max-width: 254px !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 .fax::before,
.tmf-post.small.location .email::before {
    color: #dd3e3e;
    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 .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: 1150px) {
    .tmf-post.location.small {
        border-right: none;
        display: block;
        padding: 0;
    }

    .tmf-post.location.small.first-post{
/*         border-bottom: 2px solid #d3d3d3; */
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
        .tmf-post.location.small.first-post:after{
		position: absolute;
		content: '';
		border-bottom: 2px solid #d3d3d3;
    width: 70%;
    bottom: 2px;
    left: 15%;
    }
}

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

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

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

    .tmf-post.location.small img.small-thumbnail {
        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;
    }
}
