/****
 ********* Archive Page
****/
.m6cf-member-content  {
    display: grid;
    grid-gap: 1em;
    /*grid-template-columns: repeat(1, 1fr);*/
    grid-template-columns: .75fr 2fr;
    grid-template-rows: auto;
    /*min-height: 100vh;*/
    margin: 25px 0 0 0;
    grid-template-areas: "memberSidebar" "memberContent" ;
    max-width: 1400px;
    padding: 0 12%;
}

.m6cf-member {
    grid-area: memberContent;
    padding-left: 10%;
}

.m6cf-sidebar {
    grid-area: memberSidebar;
}

.m6cf-archive-box-container {
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 15px;
}

.m6cf-archive-box-container .m6cf-box-photo {
    max-width: 200px;
    display: block;
    margin: 0 auto;
}

.m6cf-archive-box-container .m6cf-box-photo img {
    max-width: 100%;
    height: auto;
}

.m6cf-archive-box-container .m6cf-box-content {
    vertical-align: top;
    width: 100%;
    display: block;
}

.m6cf-archive-box-container .m6cf-box-content p {
    margin: 0;
}

.widget.widget_nav_menu {
    margin-bottom: 10px;
}

.widget.widget_nav_menu li.menu-item-has-children {
    font-weight: bold;
}

.widget.widget_nav_menu li.menu-item-has-children li {
    font-weight: normal;
}


/* Single Page */
h3.entry-title, h4.entry-title, h5.entry-title, h6.entry-title {
    font-weight: bold;
}

.member-featured-image-container img {
    max-width: 300px;
    height: auto;
}

.member-key-services {
    background-color: #f2f2f2;
    padding: 20px 30px;
    border-radius: 10px;
}

.member-key-services ul {
    margin-top: 20px;
    margin-left: 1.5em;
}

h6.m6cf-htags {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.divider-inner {
    margin: 15px 0;
    height: 5px;
    border-top: 1px dashed #dadada;
    border-bottom: 1px dashed #dadada;
}

.contact-info ul {
    list-style-type: none;
}

.contact-name {
    background: url(images/name.png) no-repeat 0 0;
    width: 100%;
    height: 31px;
    background-size: contain;
    padding-left: 45px;
    padding-top: 5px;
    margin: 10px 0;
}

.contact-title {
    background: url(images/title.png) no-repeat 0 0;
    width: 100%;
    height: 31px;
    background-size: contain;
    padding-left: 45px;
    padding-top: 5px;
    margin: 10px 0;
}

.contact-phone {
    background: url(images/phone.png) no-repeat 0 0;
    width: 100%;
    height: 31px;
    background-size: contain;
    padding-left: 45px;
    padding-top: 5px;
    margin: 10px 0;
}

.contact-email {
    background: url(images/email.png) no-repeat 0 0;
    width: 100%;
    height: 31px;
    background-size: contain;
    padding-left: 45px;
    padding-top: 5px;
    margin: 10px 0;
}

.contact-website {
    background: url(images/website.png) no-repeat 0 0;
    width: 100%;
    height: 31px;
    background-size: contain;
    padding-left: 45px;
    padding-top: 5px;
    margin: 10px 0;
}

.contact-social ul {
    list-style-type: none;
}

.contact-social li {
    display: inline-block;
}

.contact-social img {
    width: 35px;
}

/*** Associated Posts ***/
/*a {*/
/*    background-color: goldenrod;*/
/*    text-decoration: none;*/
/*    color: white;*/
/*    border-radius: .25rem;*/
/*    text-align: center;*/
/*    display: inline-block;*/
/*    transition: all .3s;*/
/*}*/

/*a:hover {*/
/*    opacity: .6;*/
/*}*/

/*** Memeber Gallery ***/
.member-gallery {
    margin-top: 25px;
}

/* Associated Posts styles */
.associated-posts-container {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
    grid-template-columns: none;
    grid-gap: 1rem;
    justify-content: center;
    max-width: 1220px;
    margin: 25px auto 35px;
}
.associated-posts {
    padding: 0.5rem;
    margin-top: 20px;
    max-width: 300px;
}

.associated-posts > ul {
    /*display: grid;*/
    /*grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));*/
    /*grid-gap: 1rem;*/
    list-style-type: none;
    margin: 0;
}

.associated-posts > ul > li {
    border: 1px solid #E2E2E2;
    border-radius: .5rem;
    padding: 0;
    margin: 0;
}

.associated-posts > ul > li > figure {
    max-height: 200px;
    overflow: hidden;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    position: relative;
    margin: 0;
}

.associated-posts > ul > li > figure > img {
    width: 100%;
    height: auto;
}

.associated-posts > ul > li > figure > figcaption {
    position: absolute;
    bottom: 0;
    background-color: rgba(0,0,0,.7);
    width: 100%;
}

.associated-posts > ul > li > figure > figcaption > h3 {
    color: white;
    padding: .75rem;
    font-size: 1.25rem;
}

.associated-posts > ul > li > p {
    padding: 0 .75rem;
}

/*.associated-posts > ul > li > a {*/
/*    padding: .5rem 1rem;*/
/*    margin: .5rem;*/
/*}*/

@media screen and (min-width: 768px) {



}

@media screen and (min-width: 960px) {

    .associated-posts-container {
        grid-template-columns: repeat(4, 1fr);
        justify-content: left;
    }

    .m6cf-member-content{
        /*grid-template-columns: repeat(4, 1fr);*/
        grid-column: 1 / -1;
        grid-template-rows: auto;
        grid-template-areas: "memberSidebar memberContent";
    }

    .m6cf-archive-box-container .m6cf-box-photo {
        display: inline-block;
        width: 17%;
    }

    .m6cf-archive-box-container .m6cf-box-content {
        display: inline-block;
        width: 79%;
        padding-left: 20px;
    }

    .contact-title {
        padding-top: 0;
        height: 37px;
    }

    .contact-title p {
        line-height: 1.2em;
    }

}

@media screen and (min-width: 1770px) {

    .contact-title {
        padding-top: 7px;
        height: 29px;
    }

}

