/* ============================================================================ *
        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 & Large-----*/
.tmf-post.attorney.medium h2.title {
    margin-bottom: 0;
}

.tmf-post.attorney.medium img.thumbnail {
    max-height: 200px;
    max-width: 200px !important;
}

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

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

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

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

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

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

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

/*.tmf-post.attorney .fax .label {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) no-repeat scroll -380px 0px;
    background-size: 298px;
    display: inline-block;
    font-size: 0;
    height: 21px;
    vertical-align: middle;
    width: 25px;
}*/

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

.tmf-post.attorney.large {
    display: table;
    width: 100%;
}

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

.tmf-post.attorney.large .large-top-cell-1{
    width: 402px;
}

.tmf-post.attorney.large .large-top-cell-2{
    width: calc(100% - 402px);
}

.tmf-post.attorney.large .large-top-inner {
    padding-left: 45px;
}

.tmf-post.attorney.large .large-top-cell-2::before,
.tmf-post.attorney.large .large-top-cell-2::after {
    content: '';
    display: block;
    position: relative;
    height: 3px;
    background-color: #e9ecf2;
    width: 100%;
    left: 0;
}

.tmf-post.attorney.large .large-top-cell-2::before{
    margin-bottom: 30px;
}

.tmf-post.attorney.large .large-top-cell-2::after {
    margin-top: 30px;
}

.tmf-post.attorney.large h1#page-title {
    display: block;
    color: #062f6e;
    font-size: 36px;
    margin-bottom: 10px;
}

.tmf-post.attorney.large img.primary {
    max-width: 402px !important;
    margin: 0;
    z-index: 9;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

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

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

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

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

.tmf-post.attorney .icon-container .social-icons {
    margin: 0;
    display: block;
}

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

.tmf-post.attorney .superlawyer {
    padding-top: 25px;
}

.tmf-post.attorney .superlawyer img {
    vertical-align: middle;
    padding-right: 15px;
    padding-bottom: 25px;
}

@media screen and (max-width: 850px) {
    .tmf-post.attorney.large .large-top-cell-1,
    .tmf-post.attorney.large .large-top-cell-2{
        display: inline-block;
        width: 100%;
        vertical-align: middle;
    }

    .tmf-post.attorney.large .large-top-cell-2{
        margin-top: 25px;
    }

    .tmf-post.attorney.large .large-top-cell-2::before,
    .tmf-post.attorney.large .large-top-cell-2::after {
        width: 100%;
        left: 0;
    }

    .tmf-post.attorney.large .large-top-inner {
        padding-left: 0;
    }
}

@media screen and (max-width: 600px) {
    .tmf-post.attorney.medium img.thumbnail {
        float: none;
        margin-top: 0;
        margin-left: 0;
    }
}

@media screen and (max-width: 350px) {
    .tmf-post.attorney .contact-information {
        font-size: 17px;
    }
}

/*----------Practice Area Home----------*/
.tmf-post.practice-area.home {
    display: inline-block;
    max-width: 362px;
    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 {
    display: block;
    max-width: 332px !important;
    width: 100%;
    height: 446px !important;
    object-fit: cover;
}

.tmf-post.practice-area.home .title {
    background: rgba(12,36,64,0.95);
    box-sizing: border-box;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    padding: 10px 15px;
    position: absolute;
    max-width: 332px;
    width: 100%;
    height: 100px;
    bottom: 0;
    display: inline-flex;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: center;
}

.tmf-post.practice-area.home .home-hover-text {
    position: absolute;
    top: 0;
    background: #b68b28;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    height: 100%;
    padding: 25px 25px;
    box-sizing: border-box;
    width: 100%;
    align-items: center;
    left: 0;
    text-align: left;
    font-size: 24px;
    font-weight: 600;
    display: none;
}

.tmf-post.practice-area.home .home-hover-text h4 {
    color: #fff;
    font-size: 28px;
    text-align: center;
    border-bottom: 3px solid #fff;
    padding-bottom: 15px;
}

.tmf-post.practice-area.home .home-hover-text ul {
    padding-left: 25px;
    margin: 0 auto;
    width: 180px;
}

.tmf-post.practice-area.home .home-hover-text p {
    font-size: 20px;
    text-align: center;
    line-height: normal;
}

.tmf-post.practice-area.home .home-hover-text-container {
    width: 100%;
}

.tmf-post.practice-area.home:hover .home-hover-text {
    display: inline-flex;
}

@media screen and (max-width: 1200px) {
    .tmf-post.practice-area.home .title {
        padding: 10px 40px;
    }
}

/*---------- Practice Area Large ----------*/
.tmf-post.tmf-post-119.practice-area.large .tmf-post.practice-area.large-child .tmf-button,
.tmf-post.tmf-post-129.practice-area.large .tmf-post.practice-area.large-child .tmf-button{
    display: none;
}

/*---------- Practice Area Large Child ----------*/
.single-practice-area .tmf-post-list.large-child {
    margin: 0 -25px;
    text-align: center;
}

.tmf-post.practice-area.large-child {
    border-bottom: none;
    display: inline-block;
    max-width: 415px;
    box-sizing: border-box;
    vertical-align: top;
    text-align: center;
    width: 100%;
}

.tmf-post.practice-area.large-child .large-child-inner{
    padding: 0 25px;
}

.tmf-post.practice-area.large-child .large-child-box {
    border: 5px solid #e9ecf2;
    padding: 50px 25px;
}

.tmf-post.practice-area.large-child .title {
    color: #062f6e;
    font-family: 'Raleway', sans-serif;
    font-size: 26px;
    font-weight: 600;
}

.tmf-post.practice-area.large-child .editor-content ul {
    margin: 0;
    text-align: left;
}

.tmf-post.practice-area.large-child .tmf-button {
    box-sizing: border-box;
    display: inline-block;
    max-width: 165px;
    width: 100%;
    padding: 15px 15px;
    position: relative;
    top: -27px;
}

/*---------- Testimonial Home ----------*/
.tmf-post.testimonial.small {
    margin: 0;
    padding: 0 50px;
    text-align: center;
}

.tmf-post.testimonial.small .small-container{
    border-top: 3px solid #e9ecf2;
    padding-top: 15px;
}

.tmf-post.testimonial.small .excerpt {
    color: #404144;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    margin-top: 0;
    padding: 0 50px;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #404144;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 0;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.tmf-post.testimonial.small .testimonial-description:before, 
.tmf-post.testimonial.small .testimonial-description:after {
    content: '';
    border-top: 3px solid #d1d7e1;
    margin: 0 20px 0 0;
    flex: 1 0 20px;
}

.tmf-post.testimonial.small .testimonial-description:after {
    margin: 0 0 0 20px;
}

@media screen and (max-width: 750px) {
    .tmf-post.testimonial.small {
        padding: 0 15px;
    }
}

@media screen and (max-width: 450px) {
    .tmf-post.testimonial.small .excerpt{
        font-size: 17px;
        line-height: 27px;
        padding: 0 15px;
    }
}

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

@media screen and (max-width: 635px) {
    .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 {
    box-sizing: border-box;
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    display: table-cell;
    width: 50%;
    vertical-align: top;
}

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

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

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

.tmf-post.location.small .title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.tmf-post.location.small .phone-1 {
    margin-top: 15px;
}

.tmf-post.location.small .label {
    display: none;
}

@media screen and (max-width: 850px) {
    .tmf-post.location.small {
        display: block;
        width: 100%;
        padding-bottom: 50px;
        margin: 0;
    }

    .tmf-post.location.small.last-post {
        padding-bottom: 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;
    }
}
