﻿/* SOME TEST STUFF THAT NEEDS TO
   BE IMPLEMENTED AFTER ITS BEEN
   TESTED.
*/

.hide {
    display: none;
}

/* END TEST CODE */


.ck.ck-editor {
    padding-bottom: 1em !important;
}

* {
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
}
html {
    height: 100%;
}
body {
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
main {
    flex-grow:1;
}
table {
    width: 100%;
    box-sizing: border-box;
    border-collapse: collapse;
    border-spacing: 0;
}
dt {
    font-weight:bold;
}

    table th {
        color: azure;
    }
    table td, table th {
        padding: 0.5em;
    }
footer nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
    footer nav ul {
        list-style: none;
    }
    footer nav ul li {
        margin: 1em;
    }

p {
    margin: 0.5em 0;
}

h2 {
    margin: 0.5em;
}
button, a.button {
    cursor: pointer;
}
.contentBody {
    flex-grow: 1;
}
.m-only {

}
.d-only {
    display: none;
}
.fGrow {
    flex: 1;
}
.contentWrapper {
    border-radius: 6px;
    padding: 15px;
    margin: auto;
    position: relative;
    max-width: 95%;
}
    .contentWrapper header.pageHeader {
        padding: 0;
    }
    .contentWrapper header.pageHeader .options {
        display: flex;
        align-items: center;
        padding: 1em;
        flex-direction: column;
    }

.pageHeader h1 {
    border-radius: 4px 4px 0px 0px;
    padding: 16px;
    box-shadow: none;
    position: relative;
    line-height: 1.5;
    word-break: break-word;
    font-weight: bold;
    font-size: 20px;
}
.pageHeader h2 {
    padding: 0.5em;
}

.pageFooter {
    margin-bottom: 150px;
}
/********Utility classes**********/

.error {
    padding:1em;
}
.errorList .error {
    padding: 0;
}
.errorsContainer {
    position:relative;
}
.errorsContainer .errorOverlay {
    display: none;
    position: absolute;
}
    .errorsContainer .errorOverlay .error {
        padding: 0.5em 0;
    }
    .errorsContainer:hover .errorOverlay {
        display: block;
        background:#f7f7f7;
    }
.tabLink {
    padding: 0.5em;
}
    a.button {
        display: inline-block;
    }
button.textButton {
    background: none;
    border: none;
    display: block;
    font-size: inherit;
    padding:0;
}
button.iconButton {
    font-size: larger;
    margin: 0;
}
.siteHeader {
    margin-bottom: 1em;
}

.contentHeader {
    margin-bottom: 1em;
    padding: 0.5em;
    display: flex;
    justify-content: space-between;
}

body > footer {
    margin-top: 4em;
}
.siteNav, main nav ul {
    display: flex;
    padding: 0.5em;
    align-items: center;
    flex-direction:column;
}

    .siteNav ul {
        display: none;
        list-style: none;
        align-items: center;
    }
    main nav ul {
        list-style: none;
    }
    .siteNav ul li, main nav li {
        margin-left: 1em;
    }

.formHorizontal {

}

input, textarea, select, label {
    display: block;
    padding: 0.5em;
}

input, textarea, select {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

input[type=checkbox], input[type=radio] {
    display: inline-block;
    margin-right: 0.5em;
    width: auto;
}

input[type=color] {
    width: 40px;
    height: 40px;
}
.section {
    padding:1em;
}
.grid {
    flex-wrap: wrap;
    list-style:none;
}

.grid > * {
    padding: 0 10px;
}

.grid, .userCard, .characterCard, .roleplayCard, .roleplayCard3 {
    display: flex;
    margin-bottom: 1em;
}
.grid-centered {
    justify-content: center;
}

.gridCardItem {
    box-shadow: 1px 1px 2px #aaa;
    border-radius: 10px;
    margin: 10px;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}
    .gridCardItem header {
        font-size: initial;
    }
    .gridCardItem header a {
        margin-right: 0.5em;
    }

    .gridCardItem .contents {
        flex: 1;
    }

    .gridCardItem footer {
        padding: 0.5em;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }

    .gridCardItem .postCharacters {
        flex: 1;
    }

.cardList, .cards, cards ul {
    list-style: none;
    padding: 0.5em 0;
}

.loginContents {
    gap: 1em;
}
.loginContents .contentBody {
    margin-top:0 !important;
}
.heroBox {
    margin: 0;
    margin-bottom: 0;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex-grow: 1;
}

    .heroBox h1 {
        margin: 1em;
    }

        .heroBox h1 img {
            width: 50%;
        }

    .heroBox .contents {
        flex-grow: 1;
    }

.text-right {
    text-align: right;
}

/***Pagination***/

.pagination {
    display: flex;
    list-style: none;
    flex-direction: row;
    justify-content: space-between;
}

    .pagination li {
        margin: 0.5em;
    }

.contentWrapper footer.pageFooter .pagination, .contentWrapper header.pageHeader .pagination {
    justify-content: flex-end;
    flex: 1;
}
.contentWrapper footer.pageFooter .paginationContainer, 
.contentWrapper header.pageHeader .paginationContainer {
    flex: 1;
}

.comment {
    margin-top: 1em;
}

.comment header {
    font-size: 0.8em;
    padding: 0.5em;
    display: flex;
    flex-direction: row;
}

.comment header .avatarImg {
    padding: 0.5em;
}

    .comment header .displayName {
        padding: 0.5em;
        margin-top: 0.5em;
        flex-grow: 1;
        font-weight: bolder;
    }

    .comment header .postedOn {
        font-style: italic;
    }

.userIcon {
    width: 30px;
    max-width: 30px;
    height: 30px;
    max-height: 30px;
    border-radius: 50%;
    background-color: white;
}

.comment footer {
    font-size: 0.8em;
    padding: 0.5em;
}
.comment .contents {
    padding: 0.5em;
}
/***Cards***/
.contentBody {
    margin-top: 1em;
    padding: 1em;
    border-radius: 10px;
}

.userCard, .characterCard, .roleplayCard, .roleplayCard2, .roleplayCard3 {
    margin: 1em;
    padding: 1em;
    border-radius: 10px;
    /*width: 400px; /* This breaks the roleplay details page */
}
.roleplayCard {
    margin: 1em 0 0 0;
    width:100%;
}

.characterCard {
    margin: 1em 0;
    padding: 1em 0;
}
    .userCard, .characterCard, .roleplayCard {
        padding: 0.5em;
        align-items: stretch;
    }

.userCard .profileImage {
    display: flex;
    align-items: center;
}

.profileImg, .profileEditImg, .userCard img, .characterCard .profileIconContainer img, .roleplayCard img {
    width: 69px;
    height: 69px;
    border-radius: 50%;
}

.userCard .body, .characterCard .body {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: 0.5em;
    padding: 0.5em;
    flex: 1;
}
.userCard .body h3 {
    overflow: hidden;
}
.userCard .userCredits {
    font-size: small;
}
.userCard .contentCount {
    text-align: right;
    font-size: small;
}
.userCard nav, .userCard .body header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.characterCard {
    width: 100%;
}
.characterCard .profileIconContainer {
    display: flex;
    align-items: center;

}
.characterCard .body {
    justify-content: space-between
}

.characterCard .playerLink, .roleplayCard2 .playerLink, .roleplayCard article .playerLink {
    text-align: right;
    overflow: hidden;
}


.roleplayCardContainer, a.roleplayCard {
    margin: 1em;
}

    .roleplayCardContainer .roleplayCardBg, .roleplayCardContainer .roleplayCard {
        position: absolute;
        width: 400px;
        height: 100%;
        max-height: 250px;
    }

.roleplayCardBg {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    padding: 0px;
}
a.roleplayCard {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top:2em;
}
a.roleplayCard span {
    font-size: 3em;
}

    .roleplayCardContainer .roleplayCard {
        top: 0;
        left: 0;
        z-index: 5;
    }
.roleplayCardContainer .roleplayCardBg1 {
    top: 12px;
    left: 4px;
    z-index: 4;
    opacity: .7;
}

.roleplayCardContainer .roleplayCardBg2 {
    top: 8px;
    left: 8px;
    z-index: 3;
    opacity: .5;
}
.roleplayCardInnerContainer {
    position: relative;
}
.roleplayCard, .roleplayCardInnerContainer {
    width: 400px;
    height: 250px;
}
.roleplayCard article .stats {
    font-size: small;
}

.roleplayCard {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    padding: 0px;
}

    .roleplayCard header, .roleplayCardBg header {
        display: flex;
        align-items: end;
        align-items: stretch;
        flex-direction: column-reverse;
    }
        .roleplayCard header h3, .roleplayCardBg header h3 {
            padding: 1em;
            margin: 0 10px;
            overflow: hidden;
        }

    .roleplayCard.alt header h3, .roleplayCardBg.alt header h3 {
        padding: 0.3em;
        display: flex;
        align-items: center;
    }
        .roleplayCard.alt header h3 img, .roleplayCardBg.alt header h3 img {
            margin-right: 1em;
        }
    .roleplayCard article, .roleplayCardBg article {
        display: flex;
        flex-direction: column;
    }

    .roleplayCard article,
    .roleplayCardBg header, .roleplayCardBg article {
        flex: 1 0;
    }

    .roleplayCard header, .roleplayCardBg header {
        display: flex;
        justify-content: space-between;
        padding: 0;
    }
    .roleplayCard article .stats, .roleplayCardBg article .stats {
        padding: 1em;
        margin: 0 10px;
    }

    .roleplayCard article .description, .roleplayCard article .playerLink,
    .roleplayCardBg article .description, .roleplayCardBg article .playerLink {
        padding: 0.5em;
    }

    .roleplayCard article .description,
    .roleplayCardBg article .description {
        text-overflow: ellipsis;
        overflow: hidden;
        overflow-wrap: break-word;
        -webkit-line-clamp: 2;
    }

    .roleplayCard header .controls,
    .pageHeader .controls,
    .roleplayCardBg header .controls {
        display: flex;
        justify-content: space-between;
        padding: 0.5em 1em;
        color: azure;
    }



        .roleplayCard header .controls button,
        .pageHeader .controls button,
        .pageHeader .controls button {
            padding: 0px;
        }



/*** Modals ***/
.modalFrame {
    display: block;
    position: fixed;
    top: 0;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(43, 43, 43, 0.54);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1050;
    padding-right: 17px;
    box-sizing: border-box;
    display: none;
}
.modal {
    margin: 1.74rem auto;
    position: relative;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 1px 1px 5px #444;
    /*pointer-events: none;*/
    z-index: 1060;
}

    .modal header {
        display: flex;
        justify-content: space-between;
        padding: 1em;
        flex-direction: row;
    }

.modal article {
    padding: 1em;
}
.modal footer {
    padding: 1em;
}
.modalFrame.modalOpen {
    display:block;
}
body.modalOpen {
    overflow: hidden;
}

/*******  Side Nav *******/
.sideNav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: 0.3s;
    z-index: 1030;
}
.sideNav.show {
    width:100%;
}
.sideNav header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding:0.5em;
}
.sideNav nav {
    padding: 10px;
}
.sideNav nav ul, ul.nav {
    list-style: none;
}
.subNav {
    padding:1em;
    display:flex;
}

ul.nav {
    display: flex;
    align-items: center;
}
ul.nav li {
}
    ul.nav form, nav ul form {
        display: flex;
        align-items: center;
    }
        ul.nav form *, nav ul form * {
            flex: 1;
        }
        ul.nav form label {
            display: inline-block;
        }
.sideNav nav li, nav ul li {
    padding: 0.5em;
}
.siteNav .sideNavOpen {
    display: block;
}

/******* Registrations ********/
.rp_captcha {
    margin-top: 0.5em;
}

/********** Posts **********/


.post {
    margin-bottom: 2em;
}

.post header, .post footer, .post-alt header, .post-alt footer {
    display: flex;
    justify-content: space-between;
    padding: 0.5em;
    align-items: center;
}
.post article, .post-alt section {
    padding: 0.5em;
}
.post .characterCard, .post-alt .characterCard {
    width: auto;
    margin: 0.5em 1em;
}
.post article, .post-alt article {
    flex-grow: 1;
}

.characterSelectionContainer {
    list-style: none;
    margin-left: 1em;
}
/******** Roleplay page *********/
.card {
    padding: 5px;
    border-bottom: 3px solid #eef2ff;
}

.cards .card:last-of-type {
    border:0;
}

/****User Status*****/

.userStatus {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-content: flex-end;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1010;
}
    .userStatus ul {
        list-style:none;
    }
    .userStatus .username {
        width: 100%;
        padding: 0.1em;
        overflow: hidden;
        box-sizing: border-box;
    }

    .userStatus .userAvatar, .userStatus .bubble-container, .userStatus .username {
    z-index: 1010;
}
.userStatus .userAvatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.userStatusInfo {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    align-content: flex-end;
}

.userStatusInfo .bubble-container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 0 1em;
    justify-content: center;

}
    .userStatusInfo .bubble-container .bubblePopup {
        display: none;
    }



    .userStatus nav {
        position: absolute;
        display: flex;
        right: 0px;
        bottom: 0;
        padding-bottom: 90px;
        z-index: 1000;
    }
.userStatus nav.hide {
    visibility: hidden;
    overflow: no-content;
    height: 0;
    width: 0;
}
.userStatus nav.show {
    visibility: visible;    
}

.userStatus nav.show ul {
    display: flex;
    flex-direction: column;   
}
.bubbles {
    display: flex;
}
.userStatus .settings, .userStatus .logout {
    display: none;
}

/******* Reactions *******/
.reaction, .availableReactions img {
    cursor: pointer;
    padding: 0.1em;
}
.reactions {
    display: flex;
}
.reactionSet, .reaction {
    display: flex;
    align-items: center;
}

.reactionsContainer {
    position: relative;
}
.reactionsContainer .reactionPopup {
    opacity: 0;
    transition: 0.5s;
    position: absolute;
    bottom: 2em;
    display: flex;
}
.reactionsContainer .reactionSet {
    right: 0;
}
.userReactions {
    padding: 0.5em;
}
.userReactions .reactionPopup {
    flex-direction: column;
    padding: 0.5em;
}

.reactionsContainer:hover .reactionPopup {
    opacity: 1;
}
.reactions img {
    height: 50px;
}

.reactionPopup.hidden {
    display: none;
}

@media screen and (min-width: 600px) {
    .gridCardItem {
        width: initial;
    }
    body {
        padding-bottom: 0;
    }
    footer nav ul {
        flex-direction: row;
    }
    input, textarea, select {
        display: block;
    }
    .grid-nowrap {
        flex-wrap: nowrap;
        margin-bottom: 1em;
    }
    .d-only {
        display: block;
    }
    .m-only {
        display: none;
    }

    .userStatusInfo .bubble-container .bubblePopup {
        position: absolute;
        bottom: 30px;
        right: 30px;
        padding: 1em;
        width: 150px;
    }

    .userStatusInfo .bubble-container:hover .bubblePopup {
        display: flex;
        flex-direction: column;
    }
    .formHorizontal {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .siteNav, main nav ul {
        flex-direction: row;
    }
    .subNav form label {
        display: inline;
    }
    .siteNav .sideNavOpen {
        display: none;
    }

    .siteNav ul {
        display: flex;
    }

    .sideNav.show {
        width: 300px;
    }
    .formImagePreviewContainer, .formImagePreviewContainer img {
        max-width: 40%;
    }
        .userCard, .characterCard, .roleplayCard {
            box-sizing: border-box;
            width: auto;
            max-width: 450px;
        }
    .characterCard {
        width: 400px;
    }
    .characterCard {
        margin: 1em;
        padding: 1em;
    }
    .modalFrame {
        padding: 0.5em;
    }

    .modal {
        width: 60%;
        min-width: 500px;
    }
    .contentWrapper header.pageHeader .options {
        flex-direction: row;
    }
    .contentWrapper header.pageHeader .options.vertical {
        flex-direction: column;
        align-items: stretch;
    }

    /*** Roleplay cards ***/

    .roleplayCard {
        width:400px;
        /*margin: 1em;*/
    }
        .roleplayCard.large {
            width:auto;
            max-width: 100%;
            min-height: 300px;
        }
        .roleplayCard article .description {
            height: 3em;
            text-overflow: ellipsis;
            overflow: hidden;
            overflow-wrap: break-word;
            -webkit-line-clamp: 2;
        }

        .roleplayCard header, .roleplayCard article,
        .roleplayCardBg header, .roleplayCardBg article {
            height: 50%;
                 
        }
            .scroll {
                overflow: auto !important;
            }
            .roleplayCard.large article .stats {
                display: flex;
                align-items: center;
            }
        .roleplayCard.large article .stats .reactions {
            flex: 1;
            justify-content: flex-end;
        }

    header.storyCard h1 {
        margin: 0px;
    }
    header.storyCard .subHeader {
        margin: 0.5em 1em 1em 1em;
    }
    /********* Posts **********/
    .post, .post-alt {
        margin: 1em;
    }

    .post .contents, .post-alt {
        display: flex;
        justify-content: space-around;
    }

    .post2 .contents, .post-alt2 {
        flex-direction: row-reverse;
    }
    .cardList {
        padding: 0.5em;
    }
    .post .characterCard, .post-alt .characterCard {
        margin-right: 0;
    }

    .post .characterCard, .post-alt .characterCard {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .post2 .characterCard, .post-alt2 .characterCard {
        margin-left: 0;
        margin-right: 10px;
    }

    .post .characterCard, .post-alt .characterCard {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .post2 .characterCard, .post-alt2 .characterCard {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .post header, .post footer {
    }

    .post-alt article {
        display: flex;
        flex-direction: column;
    }

    .post-alt section {
        flex-grow: 1;
    }

    .post-alt aside {
        padding: 60px 0;
    }

    /**** User Status ****/
    .userStatus {
        z-index: 1005;
        flex-direction: column-reverse;
        width: auto;
    }

    .userStatus .userAvatar {
        z-index: 1010;
        right: 0;
        top: 0;        
        margin-bottom:10px;
    }

    .userStatus .userAvatar img {
        margin: 5px 5px 0 0;
        width: 100px;
        height: 100px;
        border-radius: 50%;
    }

    .userStatusInfo {
        position: relative;
    }

    .userStatus .username {
        text-align: center;
    }

    .userStatus .bubble {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .userStatus .bubble-text {
        padding-right: 1em;
        padding-left: 0.5em;
    }

    .userStatus .bubble-container {
        position: absolute;
        display: flex;
        align-items: center;
        flex-direction: row;
        z-index: 1100;
    }

    .userStatus nav {
        position: absolute;
        display: flex;
        top: 0px;
        right: 0px;
        padding-top: 100px;
        z-index: 1000;
    }

    .userStatus nav.show {
        display: none;
    }

    .userStatus .credits {
        bottom: 15px;
        right: 105px;
    }

    .userStatus .mail {
        bottom: 50px;
        right: 115px;
    }

    .userStatus .notifications {
        bottom: 85px;
        right: 105px;
    }
    .userStatus .settings, .userStatus .logout {
        display: flex;
    }
    .userStatus .settings {
        bottom: 110px;
        right: 80px;
    }

    .userStatus .toTop {
        bottom: 120px;
        right: 45px;
    }

    .userStatus .logout {
        bottom: 110px;
        right: 10px;
    }

    .userStatusInfo .bubble-container {
        opacity: 0;
        transition: 0.6s;
        padding: 0;
    }
    .userStatus .toTop {
        opacity: 1;
    }

    .userStatusInfo:hover .bubble-container {
        display: flex;
        opacity: 1;
    }

    .userStatusInfo:hover .bubble-container.credits {
        display: flex;
    }

    .userStatusInfo:hover .bubble-container.mail {
        display: flex;
        transition-delay: 0.1s;
    }

    .userStatusInfo:hover .bubble-container.notifications {
        display: flex;
        transition-delay: 0.2s;
    }

    .userStatusInfo:hover .bubble-container.settings {
        display: flex;
        transition-delay: 0.3s;
    }

    .userStatusInfo:hover .bubble-container.toTop {
        display: flex;
        transition-delay: 0.5s;
    }

    .userStatusInfo:hover .bubble-container.logout {
        display: flex;
        transition-delay: 0.4s;
    }
    .userStatusInfo .bubble-container.mail {
        transition-delay: 0.1s;
    }

    .userStatusInfo .bubble-container.notifications {
        transition-delay: 0.2s;
    }

    .userStatusInfo .bubble-container.settings {
        transition-delay: 0.3s;
    }

    .userStatusInfo .bubble-container.toTop {
        transition-delay: 0.5s;
    }

    .userStatusInfo .bubble-container.logout {
        transition-delay: 0.4s;
    }

    .reactions img {
        height: 25px;
    }
    .userStatus .username {
        max-width: 222px;
    }
}

@media screen and (min-width: 920px) {
    .gridCardItem header {
        display: flex;
    }
}

/* TEMPORARY STORAGE FOR PASSWORD STRENGTH METER! */

meter {
    /* Reset the default appearance */
    /*-webkit-appearance: none;*/
    -moz-appearance: none;
    /*appearance: none;*/
    /*margin: 0 auto 1em;*/
    width: 100%;
    height: 0.5em;
    /* Applicable only to Firefox */
    background: none;
    background-color: rgba(0, 0, 0, 0.1);
}

    meter::-webkit-meter-bar {
        background: none;
        background-color: rgba(0, 0, 0, 0.1);
    }

    /* Webkit based browsers
    meter::-webkit-meter-even-less-good-value {
        background: red;
    }

    meter::-webkit-meter-bar {
        background: yellow;
    }

    meter::-webkit-meter-suboptimum-value {
        background: orange;
    }

    meter::-webkit-meter-optimum-value {
        background: green;
    }*/

/*Webkit based browsers */
meter[value="1"]::-webkit-meter-optimum-value {
    background: red;
}

    meter[value="2"]::-webkit-meter-optimum-value {
        background: yellow;
    }

    meter[value="3"]::-webkit-meter-optimum-value {
        background: orange;
    }

    meter[value="4"]::-webkit-meter-optimum-value {
        background: green;
    }

    /* Gecko based browsers */
    meter[value="1"]::-moz-meter-bar {
        background: red;
    }

    meter[value="2"]::-moz-meter-bar {
        background: yellow;
    }

    meter[value="3"]::-moz-meter-bar {
        background: orange;
    }

    meter[value="4"]::-moz-meter-bar {
        background: green;
    }

.notificationList, .storygroups {
    list-style: none;
}
    .notificationList li {
        padding: 0.5em;
    }
    .notificationList li .sent {
        text-align: right;
    }

@media screen and (min-width: 920px) {
    .notificationList li {
        display: flex;
        justify-content: space-between;        
    }
}

    .storygroups li {
        padding: 1em;
    }

    .storygroup header {
        display: flex;
        justify-content: space-between;
    }