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

.tmf-post.medium img.thumbnail {
    max-width: 250px;
    margin-right: 15px;
    margin-bottom: 0;
    margin-top: 7px;
}

.tmf-post.medium img.thumbnail.mobile {
    margin-top: 7px;
}

.tmf-post img.primary {
    float: left;
    margin-top: 5px;
    max-width: 350px;
    margin-right: 15px;
    margin-bottom: 15px;
}

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

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

.tmf-post .excerpt a{
    text-decoration: underline;
}

.tmf-post .excerpt a:hover{
    text-decoration: none;
}

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

.tmf-post.attorney.large #page-content, 
.tmf-post.staff.large #page-content {
    margin-top: 5px;
}

.tmf-post.attorney .icon-container .vcard-resume-container, 
.tmf-post.staff .icon-container .vcard-resume-container {
    margin-top: 5px;
}

/*---------Attorney Small----------*/
.tmf-post.small.attorney {
    border: none;
    margin: 0px 0px 50px 0px;
}

.tmf-post.small.attorney .attorney-small-cell-1,
.tmf-post.small.attorney .attorney-small-cell-2{
    display: table-cell;
    vertical-align: middle;
}

.tmf-post.small.attorney .attorney-small-cell-1 {
    width: calc(113px - 100%);
}

.tmf-post.attorney.small img.small-thumbnail {
    border: 3px solid #e6da9e;
    display: block;
    max-width: 107px !important;
}

.tmf-post.attorney.small .title {
    color: #333333;
    font-size: 16px;
    font-weight: 700;
    padding-left: 15px;
    text-transform: uppercase;
}

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

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

.tmf-post.attorney.small .tmf-taxonomy-list .tmf-taxonomy{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    text-transform: none;
}
   

/*----------Practice Area Sidebar----------*/
.tmf-post.sidebar.practice-area {
    border: none;
    margin: 0px 0px 50px 0px;
}

.tmf-post.sidebar.practice-area .sidebar-cell-1,
.tmf-post.sidebar.practice-area .sidebar-cell-2{
    display: table-cell;
    vertical-align: middle;
}

.tmf-post.sidebar.practice-area .sidebar-cell-1 {
    width: calc(106px - 100%);
}

.tmf-post.practice-area.sidebar img.sidebar-thumbnail {
    border: 3px solid #e6da9e;
    display: block;
    max-width: 100px !important;
}

.tmf-post.practice-area.sidebar .title {
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    padding-left: 15px;
    text-transform: uppercase;
}

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

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

.tmf-post.practice-area.sidebar .children {
    display: none;
}
@media only screen and (max-width: 850px){
    .tmf-post.sidebar.practice-area {
        display: inline-block;
        padding-right: 25px;
        text-align: center;
        max-width: 250px;
    }

    .tmf-post.sidebar.practice-area .sidebar-cell-1, 
    .tmf-post.sidebar.practice-area .sidebar-cell-2 {
        display: block;
        width: 100%;
    }

    .tmf-post.sidebar.practice-area .sidebar-cell-1 {
        width: 100%;
    }

    .tmf-post.practice-area.sidebar img.sidebar-thumbnail {
        display: inline-block;
    }
}

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

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

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

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

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

/*---------Testimonial----------*/
.tmf-post.testimonial.small {
    position: relative;
    margin-bottom: 25px;
}

.tmf-post.testimonial.small:before {
    background: url(../images/quote_icon.png) no-repeat 0px 0px;
    content: "";
    display: block;
    position: absolute;
    height: 160px;
    width: 190px;
}

.tmf-post.testimonial.small .excerpt {
    color: #ffffff;
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    line-height: 40px;
    position: relative;
    z-index: 9;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #ffffff;
    font-size: 16px;
    font-style: normal;
}

/*---------Location----------*/
.tmf-post.location.small {
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
    padding-top: 10px;
}

.home .tmf-post.location.small {
    padding-top: 40px;
}

.tmf-post.location.small .location-container {
    max-width: 225px;
    margin: 0 auto;
}

.home .tmf-post.location.small .location-container {
    max-width: 100%;
    margin: 0;
}

.tmf-post.location.small img{
    border: 2px solid #fff;
}

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

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

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

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

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

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

@media screen and (max-width: 850px) {
    .tmf-post.location.small,
    .home .tmf-post.location.small {
        padding-top: 0px;
    }

    .tmf-post.location.small .location-container {
        max-width: 100%;
        margin: 0;
    }
    
    .tmf-post.location.small img {
        float: left;
        margin-right: 25px;
    }
}

@media screen and (max-width: 620px) {
    .tmf-post.location.small img {
        float: none;
        margin-right: 0;
    }
}

/*---------Location Mobile----------*/
.tmf-post.location.mobile-location {
    background: #fff;
    padding: 15px 0;
    color: #000;
    font-size: 17px;
    width: 100%;
    margin: 15px 0;
}

.tmf-post.location.mobile-location .location-small-1, 
.tmf-post.location.mobile-location .location-small-2 {
    display: inline-block;
    max-width: 425px;
    vertical-align: middle;
    padding: 0 25px;
    box-sizing: border-box;
    position: relative;
}

.tmf-post.location.mobile-location .location-small-1{
    border-right: 1px solid #000000;
}

.tmf-post.location.mobile-location .location-small-2{
    /*text-align: right;*/
}

.tmf-post.location.mobile-location .location-small-container {
    max-width: 500px;
    margin: 0 auto;
}

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

.tmf-post.location.mobile-location a {
    color: #000 !important;
    text-decoration: none !important;
}

.tmf-post.location.mobile-location a:hover {
    text-decoration: underline !important;
}

.tmf-post.location.mobile-location .location-address .address {
    display: inline-block;
    vertical-align: middle;
    padding-left: 35px;
}

.tmf-post.location.mobile-location .map-label {
    margin-right: 0;
    font-size: 35px;
    color: #0072ae;
    vertical-align: middle;
    position: absolute;
    display: inline-block;
    top: 50%;
    transform: translateY(-50%);
}

.tmf-post.location.mobile-location  .label {
    color: #0072ae;
    margin-right: 13px;
    vertical-align: middle;
}

.tmf-post.location.mobile-location .divider{
    display: none;
}

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

    .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;
        background: #000;
        height: 1px;
        width: 100%;
        margin-top: 10px;
    }
}

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

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

/* ======================================== *
    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 .primary,
    .tmf-post.large.staff .primary {
        float: none;
        margin-bottom: 15px;
    }
}


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