html, body {
    font-size: 20px;
}

.js-header-label {
    margin-left: 3rem;
}

.content.my-books {
    position: relative;
    padding: 1rem;
    padding-bottom: 0;
    background-image: url('/_images/inaki-del-olmo-NIJuEQw0RKg-unsplash_2500_dark.png');
    background-repeat: no-repeat;
}

.content.my-books .btn-primary {
    background-color: rgb(40, 100, 162);
    text-shadow: none;
    border-color: rgb(40, 100, 162);
}

main {
    position: relative;
    width: 100%;
    margin-bottom: 300px;
}

#menu_bars {
    top: -2.6rem;
    position: absolute;
    z-index: 100;
    font-size: 1.5rem;
    color: white;
}

#menu_sidebar {
    /* border: 2px solid red; */
    width: 240px;
    flex-shrink: 0;
    position:absolute;
    z-index: 100;
    background-color: rgb(0, 125, 125);
    height: 100%;
    min-height: 100vh;
    left: -240px;
    top: 0;
}



a.sidebar-item {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid rgb(50,50,50);
    padding: 1rem 1rem;
}

a.sidebar-item,
a.sidebar-item:visited {
    color: gainsboro;
}

a.sidebar-item:hover {
    text-decoration: none;
    cursor: pointer;
    background-color: gainsboro;
    color: rgb(45,45,45);
}

a.sidebar-item i {
    font-size: 1.5rem;
}

a.sidebar-item span {
    text-wrap: nowrap;
}

@media (min-width: 900px) {

    .js-header-label {
        margin-left: 0;
    }

    .content.my-books {
        display: flex;
        flex-flow: row nowrap;
        align-items: stretch;
        /* border: 2px solid violet; */
    }

    #menu_bars {
        display: none;
    }

    #menu_sidebar {
        position: relative;
        left: -1rem;
        top: -1rem;
        height: unset;
        margin-right: 2rem;
        background-color: rgb(50,50,50);
    }

    a.sidebar-item {
        border-color: rgb(100,100,100);
    }

    a.sidebar-item:hover {
        color: gainsboro;
        background-color: rgb(0, 125, 125);
    }

    main {
        max-width: 900px;
    }

}

#dashboard {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.dashboard-row {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.dashboard-row.login {
    /* margin-top: 2rem; */
    cursor: pointer;
    position: absolute;
    top: 3rem;
    left: 0;
    right: 0;
    
}

#dashboard,
#dashboard a, 
#dashboard a i {
    color: rgb(200,200,200);
}

#dashboard i {
    font-size: 3rem;
}

#dashboard a i.fa-plus {
    font-size: 1.5rem;
    margin-right: .5rem;
}

.dashboard-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 150px;
    width: 150px;
    background-color: rgba(0,0,0, .4);
    border: 2px solid rgb(100,100,100);
    border-radius: 6px;
    margin: .5rem;
}

.dashboard-item span {
    margin-top: .5rem;
    display: inline-block;
}

#booklist_gridview {
    padding: .75rem 0;
    margin-top: .5rem;
    margin-bottom: 1rem;    
}

.gridview-results-div {
    margin-top: 1rem;
}

.gridview-row {
    display: flex;
    flex-direction: column;
    padding: .75rem .5rem;
    background-color: rgb(45,45,45);
    color: gainsboro;
    margin-bottom: .5rem;
    border-radius: 4px;
}

.gridview-row .title {
    font-weight: bold;
}

.gridview-row .sub-title {
    margin-top: .25rem;
    font-style: italic;
}

.gridview-row .author {
    margin-top: .25rem;
    font-size: .85rem;
    font-style: italic;
}

#booklist_gridview_results_div .gridview-row a,
#authors_gridview_results_div .gridview-row a {
    display: flex;
    flex-direction: column;
}

#filter-row {
    margin-bottom: .75rem;
}

#filter-row input {
    padding: 8px;
    border-radius: 5px;
    background-color: rgb(45,45,45);
    color: gainsboro;
    border: 2px solid rgb(100,100,100);
}

#filter-row input:active,
#filter-row input:focus {
    border-color: rgb(120,120,120);
    box-shadow: 0 0 2px 2px rgb(120,120,120);
    outline: 0;
}

.book-details-section {
    margin-bottom: 2rem;
}

.book-details-section h5.author-h5 {
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}

.book-details-section p.author-p {
    margin-bottom: .5rem;
}

.book-details-section p.subtitle {
    font-size: 1.2rem;
    font-style: italic;
}

.book-details-section p.category, 
.book-details-section p.book-notes {
    margin-top: 1.5rem;
    font-weight: bold;
}

.book-details-section#read_log h5 {
    margin-bottom: .5rem;
}

.book-reading {
    background-color: rgb(45,45,45);
    margin-bottom: .75rem;
    border-radius: 4px;
    padding: .9rem 1rem 1.2rem;
}

.book-reading h5 {
    margin-top: 0;
}

.decades {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.book-details-section a {
    text-decoration: underline;
}

.book-details-section a,
.decades a,
.gridview-row a {
    cursor: pointer;
    color: gainsboro;
}

.decades .decades-header, 
.decades .decades-content a {
    padding: 1rem;
    background-color: rgb(35,35,35);
    border-radius: 4px;
    margin: 0 auto;
}

.decades .decades-header {
    background-color: rgb(45,45,45);
    margin-bottom: .9rem;
}

.decades .decades-header,
.decades .decades-content a {
    display: flex;
    justify-content: space-between;
}

.decades .decades-content a {

    margin-bottom: .5rem;
}

.decades .decades-header h5 {
    display: inline;
}

.content.my-books .myForms .btn {
    align-self: center;
    width: 150px;
}