/* ============================================================================ *
        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 Small ----------*/
.tmf-post.attorney.small {
    position: relative;
}

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

.tmf-post.attorney.small .attorney-cell-1 {
    width: 382px;
}

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

.tmf-post.attorney.small .attorney-cell-2 .small-inner {
    padding: 40px 25px;
}

.tmf-post.attorney.small .small-image {
    box-sizing: border-box;
    display: block;
    max-width: 332px !important;
    width: 100%;
}

.tmf-post.attorney.small .small-content-box {
    max-width: 100%;
    display: flex;
    justify-content: center;
    height: 455px;
    flex-direction: column;
}

.tmf-post.attorney.small .title {
    box-sizing: border-box;
    background: #505151;
    border-radius: 7px 0 0 7px;
    color: #ffffff;
    font-family: 'Heebo', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: normal;
    width: 100%;
    padding: 8px 25px;
    position: relative;
}

.tmf-post.attorney.small .title:after {
    background: #505151;
    display: block;
    content: "";
    height: 100%;
    width: 1000%;
    position: absolute;
    top: 0;
    right: -1000%;
}

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

.tmf-post.attorney.small .title a:hover{
    text-decoration: none;
}

.tmf-post.attorney.small .excerpt {
    color: #000000;
    font-size: 19px;
    font-weight: 400;
    line-height: 30px;
    margin-left: 25px;
}

.tmf-post.attorney.small .attorney-buttons {}

.tmf-post.attorney.small .tmf-button {
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
    color: #ffffff;
    max-width: 245px;
    width: 100%;
    margin: 25px 0 0 25px;
    padding: 9px 15px;
}

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

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

    .tmf-post.attorney.small .small-image {
        border: 4px solid #005180;
        box-sizing: border-box;
        z-index: inherit;
        max-width: 370px !important;
        padding: 15px 15px 0;
        margin: 0 auto 25px;
    }

    .tmf-post.attorney.small .small-content-box {
        max-width: 100%;
        display: block;
        justify-content: inherit;
        height: auto;
        flex-direction: inherit;
    }

    .tmf-post.attorney.small .title {
        border-radius: 7px;
        display: block;
        width: 100%;
    }

    .tmf-post.attorney.small .title:after {
        display: none;
    }

    .tmf-post.attorney.small .excerpt {
        margin-left: 0;
    }

    .tmf-post.attorney.small .tmf-button {
        margin: 25px 0 0;
    }
}

@media screen and (max-width: 550px) {
    .tmf-post.attorney.small .title {
        font-size: 30px;
        margin-bottom: 15px;
        padding: 8px 15px;
    }
}

@media screen and (max-width: 400px) {
    .tmf-post.attorney.small .title {
        font-size: 22px;
    }
}

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

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

.tmf-post.attorney.medium .phone .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -360px 0px;
    background-size: 424px;
    display: inline-block;
    font-size: 0;
    height: 25px;
    vertical-align: middle;
    width: 25px;
    margin-right: 5px; 
}

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

/*------ Attorney Large -----*/
.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: inline-block;
    border-bottom: 4px solid #d8d8d8;
    color: #3f4040;
    font-size: 30px;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.tmf-post.attorney.large img.primary {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 10px;
    border: 3px solid #9d9d9d;
    max-width: 360px !important;
    width: 100%;
    margin: 0 0 15px;
    float: none;
}

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

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

.tmf-post.attorney.large .contact-information {
    color: #3f4040;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

.tmf-post.attorney.large a{
    font-weight: 600;
}

.tmf-post.attorney.large .contact-information a{
    color: #3f4040;
    font-weight: 600;
}

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

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

.tmf-post.attorney.large .phone .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -360px 0px;
    background-size: 424px;
    display: inline-block;
    font-size: 0;
    height: 25px;
    vertical-align: middle;
    width: 25px;
    margin-right: 5px; 
}

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

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

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

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

.tmf-post.attorney.large .social-icons {
    vertical-align: middle;
    margin-top: 5px;
}

.tmf-post.attorney.large .social-icons a{
    color: #3f4040;
    font-size: 20px;
    font-weight: 600;
}

.tmf-post.attorney.large .social-label {
    vertical-align: middle;
    padding-left: 7px;
}

.tmf-post.attorney.large .social-icons .icon {
    width: 25px;
    height: 25px;
}

.tmf-post.attorney.large .social-icons .linked-in {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -180px 0;
    background-size: 424px;
    vertical-align: middle;
}

@media screen and (max-width: 550px) {
    .tmf-post.attorney.large img.primary {
        margin: 0 0 15px;
    }
}

/*---------- Practice Area Home ----------*/
.tmf-post.practice-area.home {
    display: inline-block;
    max-width: 630px;
    box-sizing: border-box;
    border-bottom: none;
    margin: 0 0 30px;
    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-prac-thumbnail .home-thumbnail {
    border-radius: 10px;
    display: block;
    max-width: 580px !important;
    width: 100%;
    min-width: 300px;
}

.tmf-post.practice-area.home .home-prac-thumbnail .title {
    border-radius: 0 0 10px 10px ;
    background: #007fcb;
    box-sizing: border-box;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: normal;
    padding: 5px 5px;
    width: 100%;
    height: 62px;
    display: flex;
    vertical-align: middle;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/*.tmf-post.practice-area.home .home-prac-thumbnail:hover .title {
    display: none;
}*/

.tmf-post.practice-area.home .home-prac-thumbnail .practice-area-hover {
    border-radius: 10px;
    position: absolute;
    top: 0;
    background: rgba(0, 153, 242, 0.7);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: none;
    left: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tmf-post.practice-area.home .home-prac-thumbnail:hover .practice-area-hover {
    display: inline-flex;
    cursor: pointer;
}

@media screen and (max-width: 400px) {
    .tmf-post.practice-area.home .home-prac-thumbnail .title {
        font-size: 22px;
        height: 40px;
    }
}

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

.tmf-post.small.practice-area .tmf-button {
    background: #505151;
    box-sizing: border-box;
    display: flex;
    font-size: 24px;
    max-width: 100%;
    width: 100%;
    height: 54px;
    padding: 5px 15px;
    align-items: center;
    justify-content: center;
}

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

/*---------- Location Home ----------*/
.tmf-post.location.home {
    color: #3f4040;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

.tmf-post.location.home a{
    color: #3f4040;
    text-decoration: none;
}

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

.tmf-post.location.home .footer-map{
    box-sizing: border-box;
    border: 3px solid #d8d8d8;
    border-radius: 10px;
    display: block;
    max-width: 461px !important;
    width: 100%;
    margin: 0 auto 15px;
}

.tmf-post.home.location .title {
    color: #3f4040;
    font-family: 'Heebo', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 10px;
}

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

.tmf-post.home.location .address-label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -100px 0px;
    background-size: 424px;
    content: '';
    font-size: 0;
    display: inline-block;
    height: 25px;
    width: 25px;
    vertical-align: top;
    position: relative;
    top: 2px;
    margin-right: 7px;
}

.tmf-post.home.location .contact-info-wrap{
    padding-top: 10px;
}

.tmf-post.home.location .phone,
.tmf-post.home.location .social-icons {
    display: inline-block;
    vertical-align: middle;
}

.tmf-post.home.location .phone {
    padding-right: 15px;
}

.tmf-post.home.location .phone .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -140px 0px;
    background-size: 424px;
    content: '';
    font-size: 0;
    display: inline-block;
    height: 25px;
    vertical-align: middle;
    width: 25px;
    margin-right: 6px;
}

.tmf-post.home.location .social-label {
    padding-left: 7px;
}

.tmf-post.home.location .social-icons .icon {
    width: 25px;
    height: 25px;
}

.tmf-post.home.location .social-icons .linked-in {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -180px 0;
    background-size: 424px;
    vertical-align: middle;
}

@media screen and (max-width: 1050px) {
    .tmf-post.home.location .address-2 {
        display: block;
    }
}

@media screen and (max-width: 950px) {
    .tmf-post.home.location .address-2 {
        display: inline-block;
    }
}

@media screen and (max-width: 400px) {
    .tmf-post.location.home span.suite {
        display: block;
    }

    .tmf-post.home.location .phone,
    .tmf-post.home.location .social-icons {
        display: block;
    }

    .tmf-post.home.location .phone {
        padding-right: 0;
    }
}

/*---------- Location Small ----------*/
.tmf-post.location.small {
    color: #3f4040;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

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

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

.tmf-post.location.small .small-cell-1,
.tmf-post.location.small .small-cell-2,
.tmf-post.location.small .small-cell-3{
    display: inline-block;
    vertical-align: top;
}

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

.tmf-post.location.small img.footer-logo {
    max-width: 374px !important;
    width: 100%;
}

.tmf-post.small.location .address {
    position: relative;
    padding-left: 35px;
}

.tmf-post.small.location .address-label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -100px 0px;
    background-size: 424px;
    content: '';
    font-size: 0;
    display: inline-block;
    height: 25px;
    vertical-align: middle;
    width: 25px;
    position: absolute;
    top: 5px;
    left: 0;
}

.tmf-post.small.location .phone .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -140px 0px;
    background-size: 424px;
    content: '';
    font-size: 0;
    display: inline-block;
    height: 25px;
    vertical-align: middle;
    width: 25px;
    margin-right: 6px;
}

.tmf-post.small.location .social-icons {
    vertical-align: middle;
    margin-top: 5px;
}

.tmf-post.small.location .social-label {
    vertical-align: middle;
    padding-left: 7px;
}

.tmf-post.small.location .social-icons .icon {
    width: 25px;
    height: 25px;
}

.tmf-post.small.location .social-icons .linked-in {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -180px 0;
    background-size: 424px;
    vertical-align: middle;
}

@media screen and (max-width: 1080px) {
    .tmf-post.location.small .small-cell-3 {
        display: block;
        padding-top: 25px;
        text-align: center;
    }
}

@media screen and (max-width: 855px) {
    .tmf-post.location.small {
        text-align: center;
    }

    .tmf-post.location.small .small-cell-1,
    .tmf-post.location.small .small-cell-2,
    .tmf-post.location.small .small-cell-3 {
        display: block;
    }

    .tmf-post.location.small .small-cell-2,
    .tmf-post.location.small .small-cell-3{
        padding-top: 15px;
    }

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

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

    .tmf-post.small.location .address-label {
        vertical-align: top;
        position: relative;
        top: 2px;
        margin-right: 7px;
    }
}

@media screen and (max-width: 400px) {
    .tmf-post.location.small span.suite {
        display: block;
    }
}

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