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

.tmf-post.medium img.thumbnail {
    max-width: 150px;
    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.large h1#page-title {
    display: none;
}

/*---------- Attorney Small ----------*/
.tmf-post.attorney.small {
    box-sizing: border-box;
    border: none;
    display: inline-block;
    padding: 35px 25px 0;
    max-width: 350px;
    width: 100%;
    vertical-align: top;
}

.tmf-post.attorney.small .small-attorney-image-box {
    width: 262px;
    position: relative;
    margin: 0 auto;
}

.tmf-post.attorney.small .small-attorney-image-box .small-thumbnail {
    box-sizing: border-box;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 6px solid #929292;
    display: block;
    width: 262px;
    margin-bottom: 25px; 
}

.tmf-post.attorney.small .small-attorney-image-box:hover .small-thumbnail {
    border: 6px solid #02255d;
}

.tmf-post.attorney.small .small-attorney-image-box .img-overlay {
    background: rgba(2, 37, 93, 0.8);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tmf-post.attorney.small .small-attorney-image-box:hover .img-overlay {
    display: flex;
}

.tmf-post.attorney.small .title {
    color: #1c3461;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 5px;
}

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

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

.tmf-post.attorney.small .tmf-taxonomy-list .tmf-taxonomy {
    color: #000000;
    font-size: 18px;
    font-style: normal;
    text-decoration: none;
}

.tmf-post.attorney.small .tmf-taxonomy-list .tmf-taxonomy:hover {
    text-decoration: underline;
}

.tmf-post.attorney.small .tmf-button {
    display: inline-block;
    color: #ffffff;
    font-size: 16px;
    max-width: 96px;
    width: 100%;
    padding: 5px 5px;
}

/*------ Attorney Medium -----*/
.post-type-archive-attorney .tmf-post-list.medium {
    text-align: center;
}

.tmf-post.attorney.medium {
    border-bottom: none;
    box-sizing: border-box;
    display: inline-block;
    max-width: 265px !important;
    padding-left: 25px;
    padding-right: 25px;
    vertical-align: top;
    text-align: center;
}

.tmf-post.attorney.medium a{
    color: #000000;
}

.tmf-post.attorney.medium img.thumbnail {
    border: 6px solid #929292;
    border-radius: 50%;
    box-sizing: border-box;
    float: none;
    width: 212px;
    max-width: 100% !important;
    max-height: inherit;
    margin: 0 0 20px;
}

.tmf-post.attorney.medium h2.title {
    color: #1c3461;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
}

.tmf-post.attorney.medium h2.title a{
    color: #1c3461;
}

.tmf-post.attorney.medium .contact-information{
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    margin-top: 0;
}

.tmf-post.attorney.medium .tmf-taxonomy-list .tmf-taxonomy, 
.tmf-post.attorney.medium .tmf-post-link-list .tmf-post-link {
    font-style: normal;
    font-size: 18px;
}

.tmf-post.attorney.medium .label {
    font-size: 0;
}

.tmf-post.attorney.medium .phone-1,
.tmf-post.attorney.medium .phone-2,
.tmf-post.attorney.medium .fax,
.tmf-post.attorney.medium .email{
    line-height: normal;
}

.tmf-post.attorney.medium .tmf-button{
    display: inline-block;
    border: none;
    background: #1c3461;
    color: #ffffff;
    font-size: 14px;
    max-width: 80px;
    width: 100%;
    padding: 5px 5px;
    margin-top: 5px;
}

.tmf-post.attorney.medium .tmf-button:hover{
    background: #213d72;
}

@media screen and (max-width: 400px) {
    .tmf-post.attorney.medium {
        padding-left: 0;
        padding-right: 0;
    }
}

/*----------Practice Area Small----------*/
.tmf-post.small.practice-area {
    margin: 25px 0 0;
    padding: 0;
}

.tmf-post.small.practice-area .tmf-button {
    background: url('../images/sidebar_button_bg_3x.jpg') no-repeat center center / cover;
    border: 5px solid #01204d;
    box-sizing: border-box;
    display: flex;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    max-width: 100%;
    width: 100%;
    height: 90px;
    align-items: center;
    justify-content: center;
    padding: 0px 15px;
}

.tmf-post.small.practice-area .tmf-button:hover {
    border: 5px solid #929292;
}

/*---------- Testimonial Small ----------*/
.tmf-post.testimonial.small {
    margin: 0;
    padding: 0 75px 0 0;
    box-sizing: border-box;
}

.tmf-post.testimonial.small .excerpt{
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    margin-top: 0;
}

.tmf-post.testimonial.small .testimonial-description {
    color: #ffffff;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    margin-top: 15px;
}

@media screen and (max-width: 800px) {
    .tmf-post.testimonial.small {
        padding: 0 25px 0 0;
    }
}

@media screen and (max-width: 400px) {
    .tmf-post.testimonial.small .excerpt{
        font-size: 18px;
        line-height: 28px;
    }
}

/*---------- Location Small ----------*/
.tmf-post.location.small {
    color: #000000;
    font-size: 20px;
    font-weight: 400;
    line-height: 34px;
}

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

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

.tmf-post.location.small .location-small-1, 
.tmf-post.location.small .location-small-2 {
    box-sizing: border-box;
    display: table-cell;
    vertical-align: middle;
    text-align: left;
}

.tmf-post.location.small .small-inner{
    padding: 0 25px;
}

.tmf-post.location.small img.footer-map {
    display: block;
}

.tmf-post.location.small .title {
    color: #000000;
    font-size: 20px;
    font-weight: 700;
}

.tmf-post.small.location .address {
    position: relative;
}

.tmf-post.small.location .streetAddress {
    display: block;
    padding-left: 30px;
}

.tmf-post.small.location .label {
    font-size: 0;
}

.tmf-post.small.location .streetAddress::before,
.tmf-post.small.location .phone-1::before,
.tmf-post.small.location .phone-2::before,
.tmf-post.small.location .fax::before,
.tmf-post.small.location .email::before {
    color: #1c3461;
    font-size: 18px;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}

.tmf-post.small.location .streetAddress::before {
    content: "\f3c5";
    margin-right: 5px;
    vertical-align: top;
    position: absolute;
    left: 0;
    top: 0;
}

.tmf-post.small.location .phone-1::before {
    content: "\f879";
    margin-right: 5px;
    transform: rotate(10deg);
    width: 20px;
}

.tmf-post.small.location .phone-2::before {
    content: "\f879";
    margin-right: 5px;
    transform: rotate(10deg);
    width: 20px;
}

.tmf-post.small.location .fax::before {
    content: "\f1ac";
    font-size: 20px;
    margin-right: 5px;
    width: 20px;
}

.tmf-post.small.location .email::before {
    content: "\f0e0";
    margin-right: 5px;
    width: 20px;
}

@media screen and (max-width: 950px) {
    .tmf-post.location.small .location-small-1, 
    .tmf-post.location.small .location-small-2 {
        display: block;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .tmf-post.location.small .location-small-2 {
        padding: 15px 0 0;
    }

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

    .tmf-post.location.small img.footer-map {
        margin: 0 auto;
    }

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

    .tmf-post.small.location .streetAddress::before {
        margin-right: 5px;
        position: relative;
        top: 0;
    }
}

/*----------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: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 {
        max-width: 75px;
    }

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