/* ============================================================================ *
        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 {
    max-width: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.tmf-post.medium img.thumbnail {
    max-width: 250px;
    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.attorney.medium h2.title, 
.tmf-post.staff.medium h2.title,
.tmf-post.post.medium h2.title {
    margin-bottom: 0;
}

.tmf-post.attorney.medium img.thumbnail, 
.tmf-post.staff.medium img.thumbnail {
    margin-bottom: 0;
}

.tmf-post.post.medium .read-more-button, 
.tmf-post.news.medium .read-more-button {
    display: none;
}

/*---------Attorney Home----------*/
.tmf-post.attorney.home{}

.tmf-post.attorney.home a{
    text-decoration: none;
}

.tmf-post.attorney.home img.home-image {
    border: 3px solid #ffffff;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    max-width: 277px;
    width: 100%;
    display: block;
}

.tmf-post.attorney.home .title {
    background: rgba(0,0,0,0.5);
    bottom: 3px;
    color: #fff;
    font-size: 24px;
    font-family: 'EB Garamond', serif;
    text-transform: uppercase;
    text-align: center;
    left: 3px;
    padding: 10px 0;
    position: absolute;
    width: 277px;
}

@media screen and (max-width: 850px) {
    .tmf-post.attorney.home {
        width: 283px;
        margin: 0 auto;
    }
}

/*---------Attorney Small----------*/

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

.tmf-post.attorney.small .excerpt {
    color: #000000;
    font-size: 22px;
    line-height: 32px;
    margin-top: 0;
}

/*---------Testimonial Small----------*/
.tmf-post.testimonial.small {}

.tmf-post.testimonial.small .excerpt {
    color: #ffffff;
    font-size: 32px;
    font-style: italic;
    font-weight: 500;
    line-height: 44px;
    text-shadow: 2px 3px 5px #000000;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #ffffff;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    text-shadow: 2px 3px 5px #000000;
}


/*----------Practice Area Home----------*/
.tmf-post.practice-area.home {
    background-color: #003f79;
    background-image: url(../ie-gradient.php?from=003f79&to=00305d);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#003f79), to(#00305d));
    background-image: -webkit-linear-gradient(#003f79, #00305d);
    background-image: -moz-linear-gradient(#003f79, #00305d);
    background-image: -ms-linear-gradient(#003f79, #00305d);
    background-image: -o-linear-gradient(#003f79, #00305d);
    background-image: linear-gradient(#003f79, #00305d);
    border-bottom: none;
    border-radius: 10px;
    display: inline-block;
    margin: 0 12px 25px;
    max-width: 350px;
    padding: 15px 15px 20px;
    width: 100%;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    vertical-align: top;
    min-height: 215px;
}

.tmf-post.practice-area.home:hover {    
    background-color: #00305d;
    background-image: url(../ie-gradient.php?from=00305d&to=003f79);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#00305d), to(#003f79));
    background-image: -webkit-linear-gradient(#00305d, #003f79);
    background-image: -moz-linear-gradient(#00305d, #003f79);
    background-image: -ms-linear-gradient(#00305d, #003f79);
    background-image: -o-linear-gradient(#00305d, #003f79);
    background-image: linear-gradient(#00305d, #003f79);
    text-decoration: none;
}

.tmf-post.practice-area.home .title {
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    line-height: 26px;
    text-decoration: none;
}

.tmf-post.practice-area.home .excerpt {
    color: #ffffff;
    font-size: 19px;
    font-weight: 400;
    line-height: 25px;
    margin-top: 0;
    padding: 0 10px;
}

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

/*---------Post----------*/
.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 -147px 0px;
    background-size: 707px;
    border: medium none;
    border-radius: 0;
    height: 51px;
    left: 25px;
    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 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    padding: 20px 0;
}

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

.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: 21px;
    font-weight: 400;
    font-style: normal;
    margin-top: 0;
}

.tmf-post.post.small .excerpt,
.tmf-post.news.small .excerpt {
    color: #ffffff;
    font-size: 21px;
    line-height: 29px;
    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;
    }
}


/*----------Locations Small----------*/
.tmf-post.small.location {
    color: #000000;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    margin-top: 10px;
}

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

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

.home .tmf-post.small.location .small-cell-2{
    padding-left: 15px;
}

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

.tmf-post.small.location .business-name{
    font-size: 22px;
    font-weight: 600;
}

.home .tmf-post.small.location .static-map {
    margin-bottom: 5px;
}

.tmf-post.small.location .static-map img {    
    border: 1px solid #b3b3b3;
}

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

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

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

.tmf-post.small.location .excerpt {
    font-size: 20px;
    margin-top: 15px;
}

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

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

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

    .home .tmf-post.small.location .small-cell-2 {
        padding: 0;
    }

    .tmf-post.small.location .small-cell-1,
    .tmf-post.small.location .small-cell-2{
        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.attorney img.primary,
    .tmf-post.large.staff img.primary {
        max-width: 100%;
    }

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

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