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

.tmf-post.attorney.large h1#page-title, .tmf-post.staff.large h1#page-title {
    margin-bottom: 25px;
}

.tmf-post.attorney.small img.thumbnail {

}

.tmf-post.small img.thumbnail {
    max-width: 100px;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 2px solid #fff;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.tmf-post.medium img.thumbnail {
    max-width: 250px;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: 7px;
    border: 2px solid #fff;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.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: 3px solid #fff;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

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

.tmf-post.small.practice-area .children {

    padding-left: 0px;

}

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

.tmf-post.post.home {
    padding-bottom: 0;
}

.tmf-post.post.home .title {
    font-size: 1.05em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.tmf-post.post.home .title a {

    text-decoration: none;
}

.tmf-post.post.home .date {
    font-size: 1em;
}

.tmf-post.post.home .excerpt {
    margin-top: 5px;
}

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

.tmf-post.practice-area.small .title a {

}

.tmf-post.small.practice-area .title:before {
    font-weight: 700;
    left: -15px;
    position: absolute;
    padding-left: 15px;
}

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

/*-----------*/
.tmf-post.attorney .contact-information, .tmf-post.staff .contact-information {
    font-size: 18px;
}

.tmf-post.attorney.small .read-more {
    text-transform: uppercase;
}

.tmf-post.attorney.small .excerpt {
    font-size: 1em;
}

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

.tmf-post.testimonial.small .excerpt {
    font-weight: 400;
    font-size: 28px;
    line-height: normal;
    background: url(../images/quote.png);
    background-repeat: no-repeat;	
}

.tmf-post.testimonial.small .read-more {
    font-size: .5em;
    font-style: normal;
    text-transform: uppercase;
}



.testimonial .excerpt:before {}

/*-----------*/
.tmf-post.location.small img.primary {
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    float: left;
    margin-bottom: 15px;
    margin-right: 15px;
    margin-top: 5px;
    max-width: 270px;
}

.tmf-post.location.small {
    display: inline-block;
    font-size: 18px;
    padding: 0;
    width: 50%;
}

.tmf-post.location.small .business-name,
.tmf-post.location.small .building-name,
.tmf-post.location.small .address,
.tmf-post.location.small .phone-1,
.tmf-post.location.small .phone-2,
.tmf-post.location.small .fax,
.tmf-post.location.small .email{
    text-align: left;
}

.tmf-post.location.small.last-post{
    padding: 0;
}

.tmf-post.location.small .static-map img {
    float: left;
    margin-right: 20px;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


.tmf-post.location.small .page-title {
    font-weight: 700;
    text-align: left;
}

.tmf-post.location.small .direction {
    text-align: left;
    padding-top: 25px;
}


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

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

/*-----------*/
.tmf-post.representative-case.medium .excerpt {
    font-style: italic;
}


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

    .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: 75px;
    }

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

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

.home .tmf-module-practice-areas .editor-content {
    text-align: center;
}

.pa-buttons {
    border-bottom: none;
    margin: 10px;
    display: inline-block;
    padding: 25px 15px;
    width: 250px;
    background-color: #686969;
    background-image: url(../ie-gradient.php?from=686969&to=505050);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#686969), to(#505050));
    background-image: -webkit-linear-gradient(#686969, #505050);
    background-image: -moz-linear-gradient(#686969, #505050);
    background-image: -ms-linear-gradient(#686969, #505050);
    background-image: -o-linear-gradient(#686969, #505050);
    background-image: linear-gradient(#686969, #505050);
    border-radius: 15px;
    vertical-align: middle;
    text-align: center;
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700; 
}

.pa-buttons:hover {
    background-color: #505050;
    background-image: url(../ie-gradient.php?from=505050&to=686969);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#505050), to(#686969));
    background-image: -webkit-linear-gradient(#505050, #686969);
    background-image: -moz-linear-gradient(#505050, #686969);
    background-image: -ms-linear-gradient(#505050, #686969);
    background-image: -o-linear-gradient(#505050, #686969);
    background-image: linear-gradient(#505050, #686969);
    text-decoration: none; 
}


@media screen and (max-width: 1200px) {
    .tmf-post.location.small {
        font-size: 16px;
    }
}

@media screen and (max-width: 1020px) {
    .tmf-post.location.small {
        width: auto;
        max-width: 400px;
        margin-right: 50px;
        font-size: 18px;
    }
    .tmf-post.location.small.last-post {
        margin-right: 0px;
    }

    .tmf-post.location.small .static-map img {
        float: none;
        margin-right: 0px;
    }
}

@media screen and (max-width: 700px) {
    .tmf-post.location.small {
        margin-right: 25px;
    }
}

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