/* login */

#div-reclaim-my-books{
    margin-top:30px;
}

#reclaimed-message {
    display: none;
    margin-top: 30px;
    text-transform: none;
    letter-spacing: normal;
}

#reclaimed-message span {
    display: block;
}

#reclaim-error {
    display: none;
    margin-top: 0;
    padding: 10px 0 10px 0;
}

body.login .page {
    background: url(../images/login-background.jpg) no-repeat center;
    background-size: cover;
    padding: 30px 0 60px 0;
}

body.login .page article .content {
    max-width: 400px;
    padding: 20px;
}

body.login article .content {
    font-size: 20px;
    line-height: 24px;
    background-color: inherit;
    color: white;
    text-align: center;
}

body.login article .content .button {
    display: block;
    width: 100%;
    margin: 20px 0;
}

body.login article .content h1 {
    font-size: 48px;
    line-height: 51px;
    margin: 20px 0;
}

/* my books */

body.my-books article .content {
    text-align: center;
    padding: 20px 110px;
}

body.my-books article .content h2 {
    font-size: 48px;
    margin-bottom: 0;
}

body.my-books article .content .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 60px;
}

body.my-books article .content .preview-only li {
    pointer-events: none;
    filter:alpha(opacity=50);
    opacity:0.5;
}

body.my-books article .content .list > * {
    display: block;
    position: relative;
}

body.my-books article .content .books > * {
    margin: 0 12px 45px;
}

body.my-books article .content .gifts > * {
    margin: 0 12px 45px;
    padding: 0;
    width: 240px;
}

body.my-books article .content .books > * {
    width: 200px;
}

body.my-books article .content .list a {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    font-size: 20px;
}

body.my-books article .content .list h3 {
    flex: 1;
}

body.my-books article .content .list .book-cover {
    margin: 0 auto;
    position: relative;
}

body.my-books article .content .books .book-cover {
    display: flex;
    height: 300px;
}

body.my-books article .content .gifts .book-cover {
    display: flex;
    height: 300px;
}

body.my-books article .content .list .book-cover img {
    width: 100%;
    bottom: 0;
    left: 0;
    box-shadow: 0 1px 3px #808080;
}

body.my-books article .content .books .book-cover img {
    max-width: 200px;
    align-self: end;
    margin-top:auto;
    border-radius: 2px;
}

body.my-books article .content .gifts .book-cover img {
    max-width: 200px;
    align-self: end;
    margin-top:auto;
}

body.my-books article .content .books .button {
    margin: 0 auto;
}

body.my-books article .content .gifts .button {
    width: 170px;
    margin: 30px auto 0;
}

body.my-books article .content .books h3 {
    font-size: 20px;
    line-height: 24px;
    margin: 20px 0 20px 0;
}

body.my-books article .content .no-books {
    font-size: 20px;
}

/* gift unwrap */

body.unwrap-gift div.content {
    padding-bottom: 0;
}

body.unwrap-gift article > .content {
    padding: 5em;
}

@media (max-width: 48em) {
    body.unwrap-gift article > .content {
        padding-bottom: 40px;
    }

    h2.my-book__title--gift {
        margin: 30px;
    }
}

body.unwrap-gift article .gift-message .message-inner {
    margin: 0;
}

/* book */

body.book article > .content {
    display: block;
    text-align: center;
}

body.book article > .content > .cover,
body.book article > .content > .details {
    width: auto;
    padding: 30px;
}

body.book article > .content > .cover {
    width: 55%;
    margin: auto;
}

@media (min-width: 48em) {
    body.book article .content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        padding: 55px 85px;
    }

    body.book article .content > .cover,
    body.book article .content > .details {
        width: 0;
        margin: 0;
        flex-grow: 1;
        padding: 30px;
    }
}

@media (min-width: 62em) {
    body.book article .content {
        padding: 70px 130px;
    }
}

@media (min-width: 75em) {
    body.book article .content {
        padding: 80px 155px;
    }
}

@media (min-width: 90.625em) {
    body.book article .content {
        padding: 90px 180px;
    }
}

body.book article .content .cover img {
    box-shadow: 0 2px 6px #808080;
    border-radius: 3px;
    width: 100%;
}

body.book article .content .details h2 {
    margin: 0 0 0 0;
    font-size: 36px;
    line-height: 42px;
}

body.book article .content .details h3 {
    margin-top: 0.25em;
    font-size: 30px;
    line-height: 36px;
}

/* simple pages */

body.simple-page .banner h1 {
    margin: 65px auto;
    width: 66%;
}

body.simple-page article .content {
    padding: 7% 10%;
    font-size: 26px;
    line-height: 44px;
}

/* error pages */

body.error-page .page {
    background: url(../images/page-not-found-large.jpg) center no-repeat #000;
    background-size: cover;
}

body.error-page .banner h1 {
    margin: 65px auto;
    width: 66%;
}

body.error-page article .content {
    text-align: center;
    color: #fff;
    background-color: transparent;
}

body.error-page article .content a {
    color: #fff;
}

/* closed shop */

body.closed-shop article .content {
    padding: 100px;
    text-align: center;
}

/* delete account */

body.delete-account article .content input[type=checkbox] {
    display: inline;
    width: auto;
    margin: 10px;
}
