/* text */
.news-viewer__container {
    color: white;
}

/* background */
.news-viewer__container {
    background-color: rgba(0, 0, 0, 0.5);
}

.news-viewer__article-dot {
    background-color: white;
}

.news-viewer__article-dot--selected {
    background-color: red;
}

/* borders */
.news-viewer__nav {
    border-color: white;
}

.news-viewer__nav:hover {
    border-color: black;
}

/* container */

.news-viewer__container {
    width: 60%;
    height: 400px;
    position: relative;
    margin: 10px auto;
    padding: 0 5% 5% 5%;
    border-radius: 15px;
    overflow: hidden;
}

.news-viewer__title {
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 5px;
    right: 10px;
    z-index: 1;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.news-viewer__nav {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: solid 5px;
}

.news-viewer__nav:hover {
    cursor: pointer;
}

.news-viewer__nav-left {
    position: absolute;
    top: 175px;
    left: 10px;
    z-index: 1;
}

.news-viewer__nav-right {
    position: absolute;
    top: 175px;
    right: 10px;
    z-index: 1;
}

.news-viewer__item {
    width: 100%;
    height: 390px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-bottom: 20px;
}

.news-viewer__heading {
    width: 100%;
    height: 33px;
    text-align: center;
    margin: 15px auto 8px auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: keep-all;
    word-wrap: normal;
}

.news-viewer__media-box {
    width: 90%;
    height: 300px;
    margin: 0 auto -20px auto;
    display: flex;
    justify-content: center;
    align-content: center;
    overflow: hidden;
    object-fit: cover;
}

.news-viewer__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.news-viewer__article-dots {
    width: 100%;
    height: 10px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    position: absolute;
    bottom: 20px;
}

.news-viewer__article-dot {
    width: 8px;
    height: 8px;
    margin: 0 3px;
    border-radius: 50%;
}



.news-viewer__link {
    color: inherit;
}

.news-viewer__link:hover, .news-viewer__article-dot:hover {
    cursor: pointer;
    color: inherit;
}

@media only screen and (max-width: 768px) {
    .news-viewer__container {
        width: 60%;
        height: 300px;
    }

    .news-viewer__nav-left {
        top: 125px;
    }

    .news-viewer__nav-right {
        top: 125px;
    }

    .news-viewer__item {
        height: 290px;
    }

    .news-viewer__media-box {
        width: 80%;
        height: 200px;
    }

    .news-viewer__title {
        font-size: 18px;
        bottom: 10px;
    }
}

.news-item__image {
    float: right;
    margin: 15px 0 15px 15px;
}

/*  adjusts news-items for in-page links  */
.news-item__container::before {
    display: block;
    content: " ";
    margin-top: -90px;
    height: 90px;
    visibility: hidden;
    pointer-events: none;
}



@media only screen and (min-width: 992px) {
    .news-item__container::before {
        margin-top: -5px;
    }
}

/* admin user search */

.user__search-list {
    height: 200px;
    overflow-y: scroll
}

/* for user image hover */

.user__image--preview {
    width: auto;
    height: auto;
    max-width: 50%;
    max-height: 100%;
}

.user__div {
    position: relative;
    margin: 5px;
}

.img_hover {
    max-width: 100px;
    max-height: 100px;
    position: absolute;
    top: -5px;
    left: -5px;
    object-fit: fill;
    overflow: hidden;
    z-index: 1;
}

.user__writing {
    padding-left: 100px;
}

/* Notices and logs */

.notice__box {
    border: 2px solid darkgrey;
    border-radius: 5px;
}

.notice__box--priority {
    border-color: red;
}

.notice__header {
    height: 80px;
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: darkgrey solid 1px;
}

.notice__title {
    width: 100%;
}

.notice__image {
    height: 100px;
    float: left;
    margin: 5px 5px 5px 0;
}

.notice__footer {
    height: 50px;
}

.overflow-y-200 {
    height: 200px;
    overflow-y: scroll;
}

.max-overflow-y-400 {
    max-height: 400px;
    overflow-y: scroll;
}

/* helper__hover-box */

.helper__hover-box {
    width: 200px;
    position: absolute;
    top: -30px;
    right: -210px;
    z-index: 1;
    padding: 5px;
    color: black;
}

/* list sort */
.sort-button {
    border: 0;
    background-color: inherit;
}

.sort-icon {
    vertical-align: super;
    font-size: 10px;
}