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

.tmf-post.medium img.thumbnail {
    max-width: 250px;
    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;
}

/*----------Event----------*/
.tmf-post.event.small h2 a{
    text-decoration: none;
}

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

.tmf-post.event.small .calendar-icon {
     position: inherit; 
    top: 0;
    left: 0;
    border: 2px solid #000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    width: 40px;
    margin-top: 4px;
    text-align: center;
    float: left;
}

.tmf-post.event.large form.event-rsvp {
    margin: 10px 0 0;
}


/*----------Practice Area----------*/
.tmf-post.practice-area.small .title a {
    color: #45484d;
}

.tmf-module-area-page-sidebar .tmf-post.small.practice-area .title::before {
  content: "•";
  display: block;
  font-weight: 700;
  left: -15px;
  padding-left: 15px;
  position: absolute;
}

.tmf-module-area-page-sidebar .tmf-post.small.practice-area .title {
  padding-left: 15px;
  font-size: 18px;
}

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

.tmf-module-area-page-sidebar .tmf-post.small.practice-area a {
    text-decoration: none;
}

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

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

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

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

.tmf-post.location.small {
    color: #fff;
    font-size: 15px;
    line-height: 25px;
}

.tmf-post.location.small .office-address {
    background: #104378 none repeat scroll 0 0;
    border: 1px solid #104378;
    padding: 22px;
}

.tmf-post.location.small .business-name {
    font-family: "PT Serif",serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
}

.tmf-post.location.small .phone-1 .label {
    background: rgba(0, 0, 0, 0) url("../images/phone_icon.png") no-repeat scroll 0 0;
    content: "";
    display: inline-block;
    font-size: 0;
    height: 13px;
    width: 17px;
}

.tmf-post.small.location .static-map {
    border: 1px solid #8d8e8f;
    line-height: 0;
}

.tmf-post.small.location img{
    max-width: 100%;
    width: 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 {
        max-width: 100%;
        float: none;
    }

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

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