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

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

.tmf-post.medium img.thumbnail {
    max-width: 150px;
    max-height: 100px;
    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: 25px;
    margin-bottom: 15px;
}


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

.tmf-post .children .tmf-post .children {
    border-left: none;
}

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

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


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

.tmf-post.attorney.small img.thumbnail {
    border: 1px solid #fff;
    margin-right: 15px;
    min-height: 139px !important;
    max-width: 118px !important;
    margin-bottom: 0 !important;
}

.tmf-post.attorney.small .title a {
    font-size: 20px;
    font-weight: 400;
    color: #484848;
    text-decoration: underline;
}

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

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

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


/*----------Practice Areas----------*/

.tmf-post.practice-area.home {
    border: medium none;
    display: inline-block;
    margin: 25px 13px 0;
    padding-bottom: 0;
    max-width: 174px;
    vertical-align: top;
}

.tmf-post.practice-area.home:hover img.thumbnail {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    cursor: pointer;
}

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

.tmf-post.practice-area.home img.thumbnail {
    border: 4px solid #d9d9d9;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin-bottom: 0;
    max-width: 166px !important;
    min-height: 192px;
    float: none;
}

.tmf-post.practice-area.home .title {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 23px;
    text-transform: uppercase;
}

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

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

.tmf-post.practice-area.small .title {
    color: #484848;
    font-size: 19px;
}

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

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

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

.tmf-post.medium.practice-area .read-more-button {
    float: right;
    margin-top: 15px;
    margin-left: 25px;
    margin-bottom: 15px;
}


/*---------- Video Medium ----------*/
.tmf-post.medium.video .img-container {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 7px;
    text-align: center;
}

.tmf-post.medium.video img.thumbnail {
    float: none;
    margin: 0;
    display: block;
    /*opacity: 0.6;*/
}

.tmf-post.medium.video .video-thumbnail {
    position: relative;
    /*background: #000;*/
    max-width: 250px;
    margin: 0;
}

.tmf-post.medium.video .play-button {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 60px;
    margin: 0 auto;
    font-size: 50px;
    color: #fff;
    transform: translateY(-50%);
}


/*---------- Video Large ----------*/
.tmf-post.large.video .img-container {
    text-align: center;
}

.tmf-post.large.video img.primary {
    float: none;
    margin: 0;
    display: block;
    /*opacity: 0.6;*/
}

.tmf-post.large.video .video-thumbnail {
    position: relative;
    /*background: #000;*/
    max-width: 500px;
    margin: 0;
}

.tmf-post.large.video .play-button i {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 90px;
    margin: 0 auto;
    font-size: 80px;
    color: #fff;
    transform: translateY(-50%);
}


/*----------Location----------*/

.tmf-post.location.small {
    text-align: center;
    margin: 0 auto;
    display: inline-block;
    font-size: 17px;
    color: #474747;
    line-height: 32px;
}

.tmf-post.location.small h3 {
    background-color: #053796;
    color: #fff;
    font-size: 26px;
    padding: 10px 25px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
}

.tmf-post.location.small .map-pad {
    padding-left: 25px;
    padding-top: 25px;
}

.tmf-post.location.small .static-map img {
    display: block;
}
.tmf-post.location.small .address {}
.tmf-post.location.small .business-name {
    font-size: 22px;
    font-weight: 500;
}

@media screen and (max-width: 350px) {
    .tmf-post.location.small h3 {
        padding: 10px 15px;
    }

    .tmf-post.location.small .map-pad {
        padding-left: 15px;
        padding-top: 15px;
    }
}

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

    .tmf-post.news.small {
        width:100%;
        padding-right:1%;
        display:inline-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: 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;
    }

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