/* ============================================================================ *
        Post Styles
    ---------------------------------------------------------------------------
        These are the styles which build all the various post types and their templates.
*/

.tmf-post.post.medium .title,
.tmf-post.attorney.medium .title {
    margin-bottom: 0;
}

.tmf-post.small img.thumbnail {
    max-width: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.tmf-post.medium img.thumbnail {
    max-width: 150px;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 7px;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.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;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.children .tmf-post.medium img.thumbnail {
    max-width: 150px;
}

.tmf-post.attorney.medium img.thumbnail, 
.tmf-post.staff.medium img.thumbnail {
    max-height: inherit;
    max-width: 107px;
    width: 100%;
}

.tmf-post.attorney.large img.primary, 
.tmf-post.staff.large img.primary {
    max-width: 250px;
    width: 100%;
}

.tmf-post.attorney.large .contact-information,
.tmf-post.staff.large .contact-information {
    font-size: 1em;
}


/*----------Attorney Small----------*/
.tmf-post.attorney.small{
    display: table-cell;
    width: 50%;
    width: auto;
    vertical-align: top;
}

.tmf-post.attorney.small a{
    color: #fff;
}

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

.tmf-post.attorney.small img.home-thumbnail {
    border: 1px solid #fff;
    float: left;
    /*max-width: 122px;*/
    margin-right: 15px;
    margin-bottom: 0;
    margin-top: 7px;
}

.tmf-post.attorney.small .title {
    font-size: 22px;
    color: #ffffff;
    font-weight: 700;
}

.tmf-post.attorney.small .excerpt {
    font-size: 18px;
    color: #ffffff;
    line-height: 28px
}

@media screen and (max-width: 850px) {
    .tmf-post.attorney.small{
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 450px) {
    .tmf-post.attorney.small .small-inner{
        padding: 0 12px;
    }
    .tmf-post.attorney.small img.home-thumbnail{
        max-width:125px;
    }
}

/*----------Practice Area Small----------*/
.tmf-post.practice-area.small {}

.tmf-post.practice-area.small .title {
    color: #000;
    font-size: 18px;
    font-weight: 400;
}

.tmf-post.practice-area.small .title a {
    color: #000;
    text-decoration: none;
}

.tmf-post.practice-area.small .title a:hover {
    text-decoration: underline;
}

.tmf-post.practice-area.small .children{
    display: none;
}

.tmf-post.faq .faq .label,
.tmf-post.practice-area .faq .label {
    font-weight: 700;
}

.tmf-post.faq .faq,
.tmf-post.practice-area .faq {
    font-size: 0.9em;
}

.tmf-post.faq .faq a,
.tmf-post.practice-area .faq a {
    text-decoration: underline;
}

.tmf-post.faq .faq a:hover,
.tmf-post.practice-area .faq a:hover {
    text-decoration: none;
}

/*----------Practice Area Home----------*/

.tmf-post.practice-area.home:hover:before {
    content: "";
    background: rgba(0,0,0,0.7);
    width: calc(100% - 30px);
    height: calc(100% - 32px);
    position: absolute;
    left: 16px;
    right: 0;
    top: 1px;
}

.tmf-post.practice-area.home {
    border: none;
    display: inline-block;
    line-height: 0;
    margin: 0;
    max-width: 220px;
    vertical-align: top;
    padding: 0 15px 30px;
    overflow: hidden;
    position: relative;
}

.tmf-post.practice-area.home img.home-thumbnail {
    border: 1px solid #fff;
    float: none;
    max-width: 220px;
}

.tmf-post.practice-area.home .title {
    background: rgba(0, 0, 0, 0.6);
    bottom: 31px;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    padding: 13px 15px;
    position: absolute;
    text-align: center;
    width: 190px;
    height: 38px;
    left: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tmf-post.practice-area.home .title a {
    color: #fff;
    text-decoration: none;
}
/*
.tmf-post.practice-area.home:hover .title {
    background: rgba(131, 131, 131, 0.6);
}*/

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

/*---------Post Small----------*/
.tmf-post.post.small {
    display: table-cell;
    width: 33.333333%;
    vertical-align: top;
}

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

.tmf-post.post.small .calendar-icon .month, 
.tmf-post.news.small .calendar-icon .month {
    display: none;
}

.tmf-post.post.small .calendar-icon, 
.tmf-post.news.small .calendar-icon {
    background: rgba(0, 0, 0, 0) url(../images/icon_sprite_3x.png) repeat scroll -185px 0px;
    background-size: 408px;
    border: medium none;
    border-radius: 0;
    height: 51px;
    left: 25px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 44px;
}

.tmf-post.post.small .calendar-icon .day, 
.tmf-post.news.small .calendar-icon .day {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    padding: 21px 0;
}

.tmf-post.post.small .title.has-post-date, 
.tmf-post.news.small .title.has-post-date {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin-left: 60px;
    padding-top: 6px;
}

.tmf-post.post.small .title.has-post-date a, 
.tmf-post.news.small .title.has-post-date a{
    color: #ffffff;
    text-decoration: none;
}

.tmf-post.post.small .title.has-post-date a:hover, 
.tmf-post.news.small .title.has-post-date a:hover{
    text-decoration: underline;
}

.tmf-post.post.small .date, 
.tmf-post.news.small .date {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    margin-top: 5px;
}

.tmf-post.post.small .excerpt,
.tmf-post.news.small .excerpt {
    color: #ffffff;
    font-size: 17px;
    line-height: 25px;
    margin-top: 10px;
}

.tmf-post.post.small .excerpt a,
.tmf-post.news.small .excerpt a{
    color: #ffffff;
}

@media screen and (max-width: 850px) {
    .tmf-post.post.small {
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 450px) {
    .tmf-post.post.small .post-small-inner{
        padding: 0 12px;
    }

    .tmf-post.post.small .calendar-icon, 
    .tmf-post.news.small .calendar-icon {
        left: 12px;
    }
}



/*----------Faq Sidebar----------*/
.tmf-post.faq.sidebar {
    border: none;
    margin: 15px 0 0;
    padding: 0;
}

.tmf-post.faq.sidebar .title {
    color: #000;
    font-size: 18px;
    font-weight: 400;
}

.tmf-post.faq.sidebar .title a {
    color: #000;
    text-decoration: none;
}

.tmf-post.faq.sidebar .title a:hover {
    text-decoration: underline;
}

/*----------Representative Case Sidebar----------*/
.tmf-post.representative-case.sidebar {
    border: none;
    margin: 15px 0 0;
    padding: 0;
}

.tmf-post.representative-case.sidebar .title {
    color: #000;
    font-size: 20px;
    font-weight: 700;
}

.tmf-post.representative-case.sidebar .title a {
    color: #000;
    text-decoration: none;
}

.tmf-post.representative-case.sidebar .title a:hover {
    text-decoration: underline;
}

.tmf-post.representative-case.sidebar .excerpt {
    margin-top: 10px;
    line-height: 1.7em;
    font-style: italic;
}

.tmf-post.representative-case.sidebar .excerpt a {
    color: #000;
    text-decoration: none;
}

.tmf-post.representative-case.sidebar .excerpt a:hover {
    text-decoration: underline;
}

.tmf-post.representative-case.sidebar .rep-case-button{
    text-align: center;
    margin-top: 15px;
}



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

@media screen and (max-width: 670px) {
    .tmf-post.location.mobile-location .location-small-container {
        max-width: 370px;
    }

    .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: #000000;
    font-size: 18px;
    line-height: 30px;
    margin: 0;
}

.tmf-post.location.small .location-small-1, 
.tmf-post.location.small .location-small-2 {
    display: table-cell;
    max-width: 420px;
    vertical-align: middle;
}

.tmf-post.location.small .location-small-2 {
    padding-left: 30px;
    text-align: left;
}

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

.tmf-post.location.small .static-map img {
    border: 2px solid #fff;
    border-radius: 3px;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    display: block;
}

.tmf-post.location.small .business-name {
    font-weight: 700;
}

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

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

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

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

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

.tmf-post.small.location .content{
    padding-bottom: 5px;
}

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

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

    .tmf-post.location.small .static-map img {
        display: block;
        margin: 0;
        width: 100%;
    }

    .tmf-post.location.small .location-small-2,
    .tmf-post.small.location .content {
        text-align: center;
    }
}


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

/*---------- VIDEO ----------*/

.tmf-module .tmf-post.video.small h3.title {
    font-size: inherit;
}

.tmf-module .tmf-post.video.small img {
    display: block;
    max-width: 100%;
    width: 100%;
    float: none;
}


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


@media screen and (max-width: 600px) {
    .tmf-post.large.attorney .primary,
    .tmf-post.large.staff .primary {
        float: none;
        margin-bottom: 15px;
    }

    .tmf-post.large.attorney img.primary,
    .tmf-post.large.staff img.primary {
        max-width: 200px;
    }

    .tmf-post.large.attorney .contact-information, 
    .tmf-post.large.staff .contact-information {
        display: block;
    }
}


@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: 100%;
    }

    .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: 100%;
        float: none;
    }

    .tmf-post img.primary {
        max-width: 150px;
    }

    .tmf-post.news.small {
        width:100%;
        padding-right:1%;
        display:inline-block;
    }
}

@media screen and (min-width: 850px) {
    .tmf-post.attorney.medium .excerpt {
        display: flow-root;
    }
}