.chapter-selection {
    z-index: 1;
    line-height: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,.09);
}
.home {
    float: left;
    margin: 0;
    padding: 20px 15px;
    text-decoration: none !important;
    text-align: center;
    position: relative;
    top: 15px;
}

.home img {
    width: 17px;
    margin-bottom: 5px;
    fill: #d60000;
}

.main-title {
    font-size: 0.9rem !important;
    color: #d60000;
    font-family: "Roboto","Helvetica",Helvetica,Arial,sans-serif !important;
    font-weight: normal;
    text-decoration: none !important;
}

.scrollable {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 4px 10px rgba(0,0,0,.09);
}


.chapters {
    list-style: none;
    white-space: nowrap;
    padding: 0;
    margin: 0;
}

.chapter-item {
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    padding: 10px 25px 15px 15px;
    border-left: 1px solid #e0e0e0;
    width: 20%;
    padding-bottom: 100%;
    margin-bottom: -100%;
}

.chapter-item a {
    display: block;
    text-decoration: none;
    font-size: 0.9rem;
    color: #d60000;
    font-family: "Roboto","Helvetica",Helvetica,Arial,sans-serif;
    margin: 5px 0 10px;
}


.sequence {
    font-size: 0.9rem;
    font-family: john-doe, monospace, sans-serif;
}

.title {
    font-size: 1em;
    font-weight: bold;
    font-family: john-doe, monospace, sans-serif;
    margin-bottom: 5px;
    white-space: normal;
    line-height: 1.2em;
}

.publish {
    text-transform: uppercase;
    font-size: 0.7em;
    color: #ababab;
    letter-spacing: 0.4;
    font-family: 'Roboto', Helvetica, sans-serif;
}

.sequence, .title, .publish {
    text-overflow: ellipsis;
    overflow: hidden;
}



/*-----------CONTROLS-----------*/

.control {
    display: inline-block;
    position: absolute;
    cursor: pointer;
    z-index: 3;
    top: 40px;
    bottom: 0;
    width: 2.5em;
    height: 40px;
    background-color: #fff;
    box-shadow: 8px 0 10px rgba(0, 0, 0, .09);
    transition: opacity .5s, visibility .5s;
    border-radius: 10px;
    display: none;
}

.control:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 60%;
    width: 10px;
    height: 10px;
    -webkit-transform: translate(-25%, -50%) rotate(45deg);
    -ms-transform: translate(-25%, -50%) rotate(45deg);
    transform: translate(-25%, -50%) rotate(45deg);
    border-width: 0 0 2px 2px;
    border-style: solid;
    display: none;
}
.control:hover:before {
	color: #d60000;
}
.next-page {
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
	right: 0;
}

/*----------------------*/


@media (max-width: 768px) {
    .chapter-item {
        min-width: 250px;
        max-width: 330px;
        height: 125px;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .scrollable {
        overflow: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .scrollable:after {
        display: block;
        position: absolute;
        top: 37%;
        text-align: center;
        color: rgba(34, 34, 34, 0.6);
        font-family: 'Helveticons';
        right: 0;
        z-index: 99;
        font-size: 1.2em;
        content: "\e880";
        padding-right: 1em;
        -webkit-animation: comic-zoom-hint 1.25s ease-in-out infinite alternate;
        animation: comic-zoom-hint 1.25s ease-in-out infinite alternate;
    }

    .control, .control:before {
        display: inline-block;
    }

    .next-page {
        display: none;
        right: -13px;
    }

    .prev-page {
        left: -13px;
        display: none;
    }

    .title {
        white-space: normal;
        line-height: 1.15em;
        font-size: 1em;
    }

    .chapter-item {
        padding: 10px 10px 15px 13px;
    }
}
