﻿.newsListItems {
    list-style: none;
    padding: 0;
    margin: 0 5em 0 2em;
}

.newsListItem {
    border-bottom: 1px solid #e0e0e0;
}

    .newsListItem:last-child {
        border-bottom: none;
    }

.accordion-content .newsListItems {
    margin: 0 0 0 2em;
}

.accordion-content .newsListItem a {
    display: flex;
    flex-direction: row;
    text-decoration: none;
}

    .accordion-content .newsListItem a > div:first-child {
        padding-right: 1rem;
        border-right: 1px solid var(--cc-blue);
        margin-right: 1rem;
        min-width: 10.5rem;
    }

    .accordion-content .newsListItem a > div {
    }

a.newsItemLink {
    display: block;
    transition: color 0.2s;
    padding: .5rem;
    transition: all 0.2s ease;
}

    a.newsItemLink:hover {
        background: #f5f5f5;
        text-decoration: none;
        padding-left: 1rem;
    }

.newsItemTitle {
    font-size: 1.15rem;
    margin: 0 0 0.25rem 0;
}

.newsListSummary {
    font-size: 0.9rem;
    color: #555;
    margin: 0 0 .25rem .5rem;
}

.newsListRelease {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin: 0 0 0 .5rem;
}

/*News Display view page*/
.news-feature-image img {
    width: 100%;
}

section.news-content {
    margin: .5em;
}

/* News meta (author/date) */
.news-meta {
    display: flex;
    justify-content: end;
    background: #eee;
    padding: .4rem .5rem .1rem .2rem;
    font-size: .9rem;
}

    .news-meta .news-date {
    }

    .news-meta .news-author {
        padding-left:.5em;
    }

/* Feature image */
.news-feature-image {
    background: #eee;
    max-width: 20rem;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.15);
}

    .news-feature-image figcaption.image-caption {
        text-align: center;
        font-size: .85rem;
        padding: .5rem .5rem .2rem .5rem;
    }

/* News body */
.news-body {
}

/* Attachments */
.news-attachments {
}

    .news-attachments h4 {
        border-bottom: 1px solid var(--cc-blue);
    }

    .news-attachments ul {
        list-style: none;
        padding-left: 0;
    }

    .news-attachments li {
        padding: .35rem;
        border-bottom: 1px solid #bbb;
        border-left: .5rem solid transparent;
    }

        .news-attachments li:hover {
            background: #eee;
            border-left: 1rem solid var(--cc-yellowAccent);
            transition: all .2s ease;
        }

    .news-attachments a:hover {
        font-weight: bold;
        text-decoration: none;
        color: var(--cc-blue);
    }

.news-share {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0.5rem;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #333;
}

    .news-share > span {
        margin-right: 0.5rem;
        font-weight: 500;
        font-size: .8rem;
        padding-top: .3rem;
    }

    .news-share .share-icons {
        display: flex;
        gap: 0.5rem;
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .news-share .share-icons li {
            display: inline-block;
        }

        .news-share .share-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: .25rem;
            background-color: #f9f9f9;
            color: #333;
            text-decoration: none;
            transition: all 0.2s ease;
            border: 1px solid transparent;
            border-left-color: #bbb;
            font-weight: 600;
            font-size: 1.1rem;
        }

            .news-share .share-icons a:hover {
                border-color: #bbb;
                transform: translateY(-1px);
            }

    /* Brand setup and Hovers */
    /*.news-share .icon-x-social {
        font-size: .82rem;
    }*/

        .news-share .icon-x-social:hover {
            background-color: #eee;
        }

    .news-share .icon-linkedin:hover {
        background-color: #cae2f9;
    }

    .news-share .icon-facebook:hover {
        background-color: #95c1f9;
    }

    .news-share .icon-mail:hover {
        background-color: #ffd1d1;
    }
