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

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

.tmf-post.attorney.medium .excerpt {
    clear: both;
}

.tmf-post.attorney .contact-information {
    color: #000000;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

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

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

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

.tmf-post.attorney .phone .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -100px 0px;
    background-size: 182px;
    display: inline-block;
    font-size: 0;
    height: 20px;
    vertical-align: middle;
    width: 19px;
    margin-right: 3px;
    margin-left: 3px;
}

.tmf-post.attorney .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -120px 0px;
    background-size: 182px;
    display: inline-block;
    font-size: 0;
    height: 14px;
    vertical-align: middle;
    width: 20px;
    margin-right: 5px;
}

.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 h1#page-title {
    font-size: 30px;
    margin-bottom: 10px;
}

.tmf-post.attorney.large img.primary {
    max-width: 354px;
}

.tmf-post.attorney .tmf-taxonomy-list {
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
}

.tmf-post.attorney.large .tmf-taxonomy-list {
    margin-top: 10px;
    margin-bottom: 15px;
}

.tmf-post.attorney .tmf-taxonomy-list .tmf-taxonomy {
    font-size: 20px;
    color: #000000;
}

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

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

.tmf-post.attorney .vcard .label {
    font-size: 20px;
    margin-top: 0;
}

/*----------Practice Area Home----------*/
.tmf-post.practice-area.home {
    box-sizing: border-box;
    border-bottom: none;
    display: inline-block;
    max-width: 360px;
    padding: 0 10px;
    vertical-align: top;
    margin-top: 25px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    width: 100%;
}

.tmf-post.practice-area.home .tmf-button {
    box-sizing: border-box;
    display: inline-block;
    max-width: 360px;
    width: 100%;
    line-height: normal;
    padding: 15px 15px;
}

@media screen and (max-width: 1250px) {
    .tmf-post.practice-area.home {
        max-width: 390px;
        margin-bottom: 0;
        margin-top: 25px;
    }
}

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

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

.tmf-post.practice-area.small .tmf-button {
    box-sizing: border-box;
    display: inline-block;
    width: 100%;
    line-height: normal;
    padding: 15px 15px;
}

/*----------Locations Mobile----------*/
.tmf-post.location.mobile-location .location-small-container {
    max-width: 580px;
    margin: 0 auto;
}

@media screen and (max-width: 610px) {
    .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: 34px;
}

.tmf-post.location.small .location-small-1, 
.tmf-post.location.small .location-small-2 {
    display: table-cell;
    width: auto;
    position: relative;
    vertical-align: middle;
}

.tmf-post.location.small .location-small-1 {
    width: 125px;
}

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

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

.tmf-post.location.small .title{
    font-weight: 700;
}
 
.tmf-post.small.location .address-1:after{ 
    content: "|"; 
    font-size: 20px; 
    font-weight: 400; 
    color: #333333; 
    margin: 0 5px; 
}

.tmf-post.small.location .phone .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -100px 0px;
    background-size: 182px;
    display: inline-block;
    font-size: 0;
    height: 22px;
    vertical-align: middle;
    width: 20px;
}

.tmf-post.small.location .email {
    padding-left: 10px;
}

.tmf-post.small.location .email .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -120px 0px;
    background-size: 182px;
    display: inline-block;
    font-size: 0;
    height: 15px;
    vertical-align: middle;
    width: 20px;
}

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

    .tmf-post.location.small .location-small-2 {
        padding-top: 20px;
    }
}

@media screen and (max-width: 470px) {
    .tmf-post.small.location .address-1 {
        display: block;
    }

    .tmf-post.small.location .address-1:after {
        display: none;
    }

    .tmf-post.small.location .email {
        display: block;
        padding-left: 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;
    }
}
