/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.eeatwpcp-citations-reference {
    cursor: pointer;
}

.eeatwpcp-citation {
    margin: 10px 0;
    font-size: 16px;
}

.eeatwpcp-citation > cite > a.eeatwpcp-citation-a-link{
    text-decoration: none;
}

/* Author bylines */
.eeatwpcp-author-bylines-container {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;

    position: relative;
}

.eeatwpcp-author-bylines-images-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 90px;
    gap: 10px;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-auto-rows: auto;
}

a.eeatwpcp-author-bylines-images {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-wrap: wrap;
    cursor: pointer;
    text-decoration: none !important;
    border: 0 !important;
}

a.eeatwpcp-author-bylines-images-single {
    width: 60px;
    height: 60px;
}

a.eeatwpcp-author-bylines-images-first {
    width: 41px;
    height: 41px;
}

img.eeatwpcp-author-bylines-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
}

.eeatwpcp-author-bylines-author-containers {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

.eeatwpcp-author-bylines-author,
.eeatwpcp-author-bylines-review-by {
    position: relative;
}

/*
* Added CSS for authorbyline name
* v1.0.1
*/
a.eeatwpcp-author-bylines-author-link{
    white-space: nowrap;
    word-wrap: break-word;
}

.eeatwpcp-author-bylines-modal,
.eeatwpcp-author-bylines-review-by-modal {
    display: none;
    width: 300px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #eeeeee;
    background: #ffffff;
    position: absolute;
    z-index: 999;
    top: 35px;
}

/*
* Author bylines publish date
* v1.0.0
* Modified CSS gap -> column-gap
* Added flex wrap
* v1.0.1
*/

.eeatwpcp-author-bylines-post-publish-date-container{
    display: flex;
    column-gap: 10px;
    flex-wrap: wrap;
}

.eeatwpcp-author-bylines-post-publish-date{
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Modal arrow */

.eeatwpcp-author-bylines-modal-arrow-container {
    position: absolute;
    left: 0;
    top: -14px;
    line-height: 1;
    background: transparent;
    height: fit-content;
    width: 100%;
    margin: 0;
    padding: 0;
}

/*
* Modal arrow CSS
* v1.0.0
* Changed top postion
* Added z-index: 1
* v1.0.1
*/
.eeatwpcp-author-bylines-modal-arrow,
.eeatwpcp-author-bylines-review-by-modal-arrow {
    position: relative;
    top: 2px;
    z-index: 1;
}

.eeatwpcp-author-bylines-modal-arrow>svg>path:first-child,
.eeatwpcp-author-bylines-review-by-modal-arrow>svg>path:first-child {
    stroke: #eeeeee;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.eeatwpcp-author-bylines-modal-header {
    display: flex;
    gap: 15px;
}

.eeatwpcp-author-bylines-modal-author-details {
    display: flex;
    flex-direction: column;
}

/* Modal Job title */
span.eeatwpcp-author-bylines-modal-author-job-title {
    font-size: 15px;
    line-height: 1;
}

/* Modal Author name */
span.eeatwpcp-author-bylines-modal-author-name {
    font-weight: 500;
}

/* Modal Social Icon */
.eeatwpcp-author-bylines-modal-author-social-link-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 5px 0;
}

.eeatwpcp-author-bylines-modal-author-social-link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid #eeeeee;
    width: 25px;
    height: 25px;
    padding: 5px;
}

.eeatwpcp-author-bylines-modal-author-social-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

/* Modal author description */
.eeatwpcp-author-bylines-modal-description {
    font-size: 16px;
}

/* Modal Hr */
.eeatwpcp-author-bylines-modal hr.eeatwpcp-author-bylines-modal-hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Modal author expertises */
.eeatwpcp-author-bylines-modal-expertises {
    font-size: 16px;
}

/* Author Box */
.eeatwpcp-author-boxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.eeatwpcp-author-box {
    padding: 20px;
    background: #eeeeee;
    border-radius: 3px;
}

.eeatwpcp-author-box-header {
    display: flex;
    gap: 15px;
}

a.eeatwpcp-author-box-image-container {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 90px;
    height: 90px;
}

a.eeatwpcp-author-box-image-container>img.eeatwpcp-author-box-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

a.eeatwpcp-author-box-details-name {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.eeatwpcp-author-box-details {
    display: flex;
    flex-direction: column;
}

.eeatwpcp-author-box-details-job-title {
    font-size: 15px;
    color: #757575;
}

.eeatwpcp-author-box-details-name {
    font-weight: bold;
}

.eeatwpcp-author-box-details-social-link-container {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.eeatwpcp-author-box-details-social-link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid #eeeeee;
    width: 30px;
    height: 30px;
    padding: 5px;
}

.eeatwpcp-author-box-details-social-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.eeatwpcp-author-box-description {
    margin-top: 10px;
    font-size: 16px;
}

.eeatwpcp-author-box .eeatwpcp-author-box-hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

.eeatwpcp-author-box-expertises {
    font-size: 16px;
}

/*
* Author Details Shortcode
*/

.eeatwpcp-author-details-row {
    display: flex;
    gap: 2rem;
    margin: 10px auto;
}

.eeatwpcp-author-details-profile-container {
    width: 200px;
    height: auto;
}

.eeatwpcp-author-details-profile {
    width: 100%;
    height: 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
}

h1.eeatwpcp-author-details-name {
    font-size: 2.1rem;
    margin-bottom: 15px;
    margin-top: 0;
    line-height: 1;
}

.eeatwpcp-author-details-jobtitle {
    font-size: 1.2rem;
    color: #757575;
}

.eeatwpcp-author-details-social-container{
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    margin-top: 15px;
    box-sizing: border-box;
}

.eeatwpcp-author-details-social-link{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid #eeeeee;
    width: 35px;
    height: 35px;
    padding: 7px;
}

.eeatwpcp-author-details-social-image{
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
}

.eeatwpcp-author-details-column {
    margin: 20px auto;
}

.eeatwpcp-author-details-long-description-container h2.eeatwpcp-author-details-long-description-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.eeatwpcp-author-details-alumni-of,
.eeatwpcp-author-details-employer,
.eeatwpcp-author-details-jobtitle-text,
.eeatwpcp-author-details-expertise {
    margin: 3px auto;
}

/*
* Mobile responsive CSS
*/
@media only screen and (max-width: 480px) {
    
    .eeatwpcp-author-details-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    div.eeatwpcp-author-details-profile-container{
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    h3.eeatwpcp-author-details-jobtitle{
        margin-bottom: 15px;
    }

    .eeatwpcp-author-details-social-container{
        margin-top: 15px;
    }

    .eeatwpcp-author-details-long-description-container h2.eeatwpcp-author-details-long-description-title {
        margin-bottom: 10px;
    }

    .eeatwpcp-author-details-alumni-of,
    .eeatwpcp-author-details-employer,
    .eeatwpcp-author-details-jobtitle-text,
    .eeatwpcp-author-details-expertise {
        margin: 5px auto;
    }
}