/* ============================================================================ *
        Post Styles
    ---------------------------------------------------------------------------
        These are the styles which build all the various post types and their templates.
*/
.attorney-titles .tmf-taxonomy {
    pointer-events: none;
}

.tmf-post.event.medium .post-information-container div {
    display: inline-block;
}

.tmf-post.event.medium .post-information-container .past-event {
    background: #e7c026;
    color: #fff;
    padding: 5px 15px;
    font-size: 14px;
    display: inline-block;
    margin-left: 15px;
    line-height: 1.2em;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.tmf-post.event.medium .post-information-container .boxed-event-tag {
    background: #e7c026;
    color: #fff;
    padding: 5px 15px;
    font-size: 14px;
    display: inline-block;
    margin-left: 15px;
    line-height: 1.2em;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.tmf-post.event.large h1#page-title {
    font-size:35px;
}

@media screen and (max-width: 500px) {
    .tmf-post.event.medium .post-information-container div {
        display: block;
    }

    .tmf-post.event.medium .post-information-container .past-event {
        margin: 5px 0;
    }
}

/*News*/

.tmf-post.news.large h1#page-title {
    font-size:35px;
}

/*Blog Posts*/

.tmf-post.post.large h1#page-title {
    font-size:35px;
}

/*Article Posts*/

.article h1#page-title {
    font-size: 40px;
    text-align: center;
}

#article-bylines, #article-date {
    text-align: center;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 25px;
}

/*-----------------------------*/

.tmf-post.large:not(.attorney) img.primary {
    float: right;
    margin-right: 0;
    margin-left: 15px;
}

.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: 5px;
    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 {
    max-height: 188px;
    max-width: 148px;
}

/*----------Attorney Home----------*/
.tmf-post.attorney.home{
    box-sizing: border-box;
    border: none;
    display: table-cell;
    width: 50%;
    vertical-align: top;
    text-align: center;
}

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

.tmf-post.attorney.home img.home-thumbnail {
    border: 1px solid #a4a5a6;
    max-width: 534px;
    width: 100%;
    margin-bottom: 15px;
}

.tmf-post.attorney.home .title {
    color: #004876;
    font-family: 'Cinzel', serif;
    font-size: 40px;
    line-height: normal;
}

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

.tmf-post.attorney.home .excerpt {
    font-size: 20px;
    color: #6a6a6a;
    text-align: left;
    line-height: 34px
    margin-top: 0;
    text-align: justify;
}

.tmf-post.attorney.home .tmf-button {
    display: inline-block;
    margin-top: 32px;
    padding: 20px 15px;
    max-width: 320px;
    width: 100%;
    box-sizing: border-box;
}


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

    .tmf-post.attorney.home .title {
        text-align: center;
    }

    .tmf-post.attorney.home .excerpt {
        text-align: center;
        text-align: justify;
    }
    .tmf-post.attorney.home img.home-thumbnail {
    margin-top: 40px;
        margin-bottom:40px;
}
    .tmf-post.attorney.home .tmf-button {
    margin-top: 50px;
        margin-bottom:0px;
}
}

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

/*---------Attorney Small----------*/
.tmf-post.attorney.small{
    margin-bottom: 20px;
}

.tmf-post.attorney.small img.thumbnail {
    margin-right: 15px;
    min-height: 188px !important;
    max-width: 148px !important;
    margin-bottom: 0 !important;
}

.tmf-post.attorney.small .title{
    color: #004876;
    font-family: "Cinzel", serif;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 15px;
}

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

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

.tmf-post.attorney.small .excerpt {
    color: #6a6a6a;
    font-size: 20px;
    line-height: 34px;
    margin-top: 0;
}

.tmf-post.attorney.small .tmf-button {
    display: block;
    margin: 32px auto 0;
    padding: 20px 15px;
    max-width: 320px;
    width: 100%;
    box-sizing: border-box;
}

/*----------Attorney Large----------*/

.tmf-post.attorney.large h1#page-title {
    font-size:40px;
}

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

.tmf-post.attorney.large div.badges img {
    margin-right:1em;
}

@media screen and (max-width: 800px) {
    .tmf-post.attorney.large h1#page-title {
        font-size: 30px;
    }
}

@media screen and (max-width: 670px) {
    .tmf-post.attorney.large h1#page-title {
        font-size: 25px;
    }
}

@media screen and (max-width: 640px) {
    .tmf-post.large.attorney img.primary,
    .tmf-post.large.staff img.primary {
        max-width: 200px;
        float: none;
    }
}


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

.tmf-post.practice-area.small .title {
    color: #333333;
    font-size: 22px;
    font-weight: 400;
    padding-left: 0;
}

.tmf-post.practice-area.small .title a {
    color: #333333;
}

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


/*----------Post, News and Event Small----------*/
.tmf-post.post.small,
.tmf-post.news.small,
.tmf-post.event.small {}

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

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

.tmf-post.post.small .calendar-icon .day, 
.tmf-post.news.small .calendar-icon .day,
.tmf-post.event.small .calendar-icon .day {
    color: #000000;
    font-size: 23px;
    font-weight: 400;
    padding: 20px 0;
}

.tmf-post.post.small .title.has-post-date, 
.tmf-post.news.small .title.has-post-date,
.tmf-post.event.small .title {
    /*padding-top: 7px;*/
    margin-left: 0;
}

.tmf-post.tmf-post-167.post.large h1#page-title{
    font-style: italic;
}

/*----------Location Small----------*/
.tmf-post.small.location {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
}

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

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

.tmf-post.small.location .title::after, 
.tmf-post.small.location .streetAddress::after, 
.tmf-post.small.location .suite::after, 
.tmf-post.small.location .phone-1::after,
.tmf-post.small.location .building-name::after,
.tmf-post.small.location .fax::after {
    color: #e7c026;
    font-size: 16px;
    content: "|";
    margin: 0 5px;
}

@media only screen and (max-width: 750px){
    .tmf-post.small.location .title,
    .tmf-post.small.location .addressLocality,
    .tmf-post.small.location .streetAddress,
    .tmf-post.small.location .suite,
    .tmf-post.small.location .phone-1,
    .tmf-post.small.location .fax{
        display: block;
    }

    .tmf-post.small.location .title::after,
    .tmf-post.small.location .addressLocality::after,
    .tmf-post.small.location .streetAddress::after,
    .tmf-post.small.location .suite::after,
    .tmf-post.small.location .phone-1::after,
    .tmf-post.small.location .fax::after {
        display: none;
    }
}

/*----------Location Medium----------*/
.tmf-post.location.medium h2 {
    font-weight: 400;
    font-size: 32px;
}

.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%;
}

/*----------Resources Page----------*/

p.resources-button {
    padding-top:1em;
    padding-bottom:2em;
    padding-left:10px;
}

.tmf-post.attorney.large .mobile-view,
.tmf-post.attorney.medium .mobile-view,
.tmf-post.location.medium .mobile-view,
.tmf-post.location.small .mobile-view{
    display: none;
}

@media screen and (max-width: 750px) {
    .tmf-post.attorney.large .desktop-view,
    .tmf-post.attorney.medium .desktop-view,
    .tmf-post.location.medium .desktop-view,
    .tmf-post.location.small .desktop-view{
        display: none;
    }

    .tmf-post.attorney.large .mobile-view,
    .tmf-post.attorney.medium .mobile-view,
    .tmf-post.location.medium .mobile-view,
    .tmf-post.location.small .mobile-view{
        display: block;
    }
}

/* ======================================== *
        Post Specific Styles
 * ======================================== */


/* ======================================== *
        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: 767px) {
    .tmf-post h2.title {
        text-align: initial;
    }
}

@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;
    }
}
