body.login-body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

.form-signin {
    width: 100%;
    padding: 15px;
    margin: auto;
}

.container-form {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.book-container {
    width: 250px;
    margin: 0 auto;
}

.controls {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    position: sticky;
    top: 0;
    z-index: 1;
}

.page {
    background-color: #FFFFFF;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 250px;
    height: 380px;
    border: 1px solid #CCCCCC;
    margin-bottom: 20px;
    position: relative;
}

/* .grid {
    position: absolute;
    width: 800px;
    height: 1216px;
    background-image: url('images/overlay.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
} */

@media screen and (min-width: 400px) {

    .book-container,
    .controls {
        width: 350px;
    }

    .page {
        width: 350px;
        height: 532px;
    }
}

@media screen and (min-width: 576px) {

    .book-container,
    .controls {
        width: 500px;
    }

    .page {
        width: 500px;
        height: 760px;
    }
}

@media screen and (max-width: 575px) {
    #page {
        margin-bottom: 10px;
    }
}

@media screen and (min-width: 725px) {

    .book-container,
    .controls {
        width: 625px;
    }

    .page {
        width: 625px;
        height: 950px;
    }
}

@media screen and (min-width: 900px) {

    .book-container,
    .controls {
        width: 800px;
    }

    .page {
        width: 800px;
        height: 1216px;
    }
}

@media screen and (min-width: 1100px) {

    .book-container,
    .controls {
        width: 1000px;
    }

    .page {
        width: 1000px;
        height: 1520px;
    }
}

@media screen and (min-width: 1350px) {

    .book-container,
    .controls {
        width: 1250px;
    }

    .page {
        width: 1250px;
        height: 1900px;
    }
}

.audio-trigger,
.game-trigger {
    width: 17px;
    height: 17px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    cursor: pointer;
    border: 1px solid blue;
    background-color: rgba(255, 255, 255, 0.5);
}

.audio-trigger {
    background-image: url('https://book.awana.hk/images/speaker-icon.png');
}

.game-trigger {
    background-image: url('https://book.awana.hk/images/game-icon.png');
}

@media screen and (min-width: 600px) {
    .audio-trigger,
    .game-trigger {
        width: 30px;
        height: 30px;
    }
}

@media screen and (min-width: 900px) {
    .audio-trigger,
    .game-trigger {
        width: 60px;
        height: 60px;
    }
}

.blur {
    filter: blur(5px);
}

iframe.game-iframe {
    width: 100%;
    height: 100%;
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
}

.admin-body tr.expired td,
.admin-body tr.expired th {
    color: #999999;
}

.admin-body table#book-data-table tbody tr {
    cursor: pointer;
}
