
/* some basic stuff */

.Aligner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}


.fullwidth {
    width: 100% !important;
}

.fullheight {
    height: 100% !important;
}

.centered {
    margin: auto;
}
.text-centered {
    text-align: center;
}


.inline-aligned {
    display: inline-flex !important;
    align-items: center !important;
}

.left0 {
    padding-left: 0px;
}


.bold {
    font-weight: bold;
}

/* original stories stuff */

.storiesview {
    margin-left: 0%; 
    width: 100%;
}

.storiesview-image {
    padding-right: 10px; width: 100px; height: 100px; float: right;
    background-position: center;
    background-size: cover;
    border: 2px solid #408b82 !important;
    display:block;
    overflow:hidden;
    text-indent:100%;
    white-space:nowrap;
    position: relative;
    z-index: 100;
}

.storiesview-opener {
    height: 100px; 
    background-color: rgb(225,225,225);
    /* border: 1px solid rgb(195,195,195); */
    float: right;
    position: relative;
    padding-top: 40px;
    font-size: 16px;
    z-index: 100;
}

.storiesview-bookpanel {
    display: inline-flex;
    position: absolute;
    right:15px;
    top: 0px;
    padding: 2px;
    background-color: rgb(225,225,225);
    border: 1px solid rgba(90,167,164, 1.0);
    z-index: 100;
}

.storiesview-bookpanel-image {
    display: block;

    width: 9rem;
    height: calc(1.6 * 9rem);
    min-width: 100%;
    min-height: 100%;
    
    margin-right: 0.3rem;
    border: 1px solid rgba(107, 107, 107, 0.5);
    -webkit-border-radius: 0.75rem;
    -khtml-border-radius: 0.75rem;
    -moz-border-radius:0.75rem;
    border-radius: 0.75rem;

    background-color: white;
    overflow: hidden;
    line-height: 0;
    background-position: center;
    background-size: cover;
}

.storiesview-entry {
    padding-left: 0px;
    margin-right: 160px;
    font-size: 21px;
    position:absolute; 
    position:relative; 
}

.storiesview-avatar {
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    width: 32px; 
    height: 32px;
    float: left;
    border: 2px solid #408b82 !important;
    margin-top: 3px !important;
    margin-left: 5px !important;
}

.storiesview-attribution {
    margin-left: 40px; 
    display: table-cell;
    vertical-align: middle;
    font-size: 14px;
    line-height: 1.4;
    padding-left: 10px;
    text-rendering: auto;
    font-size: 16px;
}

.storiesview-teaser {
    font-size: 16px;
}

.storiesview-source {
    font-size: 16px; color: #408b82;
    font-style: italic;

}

.sources-panel {
    width: 30rem;
    padding: 10px;
    position: fixed;
    top: 95px;
    bottom: 0px;
    background: white;
    overflow: scroll;
}

.stories-shift-right {
    padding-left: 30rem;
}

/* new story cards */

.bookHeaderBackground {
    position:relative; 
    height: 15rem;
    background-size: cover;
    background-position: center;
    border-radius: 1rem 1rem 0 0;
}

.news-card > .bookHeaderBackground {
    margin-left: -10px;
    margin-right: -10px;
}

.news-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    padding-top: 0px;
    background: white;
    padding-top: 0px !important;
}


.news-card .card_title {
    vertical-align: middle;
    font-size: 12px;
}
/* 
.news-card-wide .news-card-contents {
    display:flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.news-card-wide .bookHeaderBackground {
    border-radius: 4px;
    margin:10px;
    height:10rem;
} 
*/


.news-image-header {
    overflow:hidden;
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    padding-top: 0px;
}


.book-toolbar {
    position:absolute;
    padding-right: 0.5rem;
    right: 0;
    z-index: 2;
}

.book-toolbar-pushed {
    color: #86F053 !important;
}

.book-button > span, .book-action-button > span {
    font-size: 2rem;
    color: white;
    text-align: center;
    top: 0px;
}

.books-menu {
    border-radius: 50%;
    border: 1px solid grey;
    padding-right: 10;
    margin-right: 0;
    width: 4rem;
    height: 4rem;
    margin-top: 10px;
    background: #FF9800;
    color: #0FAFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.books-menu-fix {
    margin-top: 0;
}

.margin-vertical {
    margin-top: 10px;
    margin-bottom: 10px;
}

.story-avatar {
    margin-top: 20px;
    display: inline-block;
    overflow: hidden;
    background-color: #fff;
    /* box-shadow: 0 1px 1px rgba(0,0,0,0.3); */
    border-radius: 100%;
    border: 1px solid #cccccc;
}

.avatar-large {
    width: 8rem;
    min-width: 8rem;
    height: 8rem;
}
.avatar-medium {
    width: 5rem;
    min-width: 5rem;
    height: 5rem;
}

.avatar-small {
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
}

.newsheader {
    width: 100%;
    padding-bottom: 5px;
}

.newsheader-fix {
    width: calc(100% - 2rem);
}

.newsitem {
    width: 30rem;
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
    box-shadow:0 1px 1px 1px rgba(0,0,0,0.25);
    -webkit-border-radius:1rem;
    -khtml-border-radius:1rem;
    -moz-border-radius:1rem;
    border-radius:1rem;
    background-color: white;
}

.storybooks-container {
    display:flex; width: 100%; justify-content:center;position: fixed;
    z-index: 10;
}

.storybooks-panel {
    position: fixed;
    top: 100px;
    z-index: 10;
    display: flex;
    flex-basis: content;
    max-width: 90%;
    min-width: 20rem;
    
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: white;
    /* padding: 1rem;
       padding-right: 3rem;
       padding-left: 3rem; */
    padding: 1rem 0 1rem 0;
    border: 1px solid grey;
    border-radius: 0.5rem;
}

.books-strip-container {
    background-color: white;
    white-space:nowrap;
    width: 100%;
    padding: 1px;
    display:flex;
    justify-content: center;
}

.books-strip {
    background-color: white;
    white-space:nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
    max-width: fit-content;
    display:flex;
}



/* 
   nav-bg-active:  #333;
   duration:        300ms;
   ease:           ease-in-out;
 */

/**
 * Navigation Defaults
 */

.mysidebar-nav {
    opacity:0;
    transition-property: all;
    transition-duration: 200ms;
}

.mysidebar-nav--active .mysidebar-nav {
    opacity:1;
}

/* style 1 */
.style-1 .mysidebar-nav {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.style-1 .mysidebar-nav--active .mysidebar-nav {
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}


