h1 { text-align: center; margin: 0px 0px 15px 0px; font-size: 1.5em; font-family: Abel, Ubuntu; }

/* GALLERY AND EMAIL SIGN UP */
/* #home-gallery img { width: 100%; height: auto; } */
.image-gallery { list-style: none; padding: 0px; margin: 0px; height: 370px !important; overflow: hidden !important; }
.image-gallery > li { position: relative; }
.image-gallery img { width: 100%; height: auto; }
.home-email-register, .home-email-register .email-signup { /* height: 370px; */ }
.home-email-register .congrats { display: none; }
.image-gallery > li .release-date { position: absolute; bottom: 10px; right: 20px; color: white; text-shadow: 2px 2px 4px black; text-align: center; }
.image-gallery > li .release-date.top-right { bottom: auto; top: 10px; right: 20px; }
.image-gallery > li .release-date.bottom-left { bottom: 20px; top: auto; right: auto; left: 20px; }
.image-gallery > li .release-date.top-left { bottom: auto; top: 20px; right: auto; left: 20px; }

/* FREE BOOK FOR SIGN UP */
.email-signup .free-book-details p { font-weight: normal; }
.email-signup .free-book-details img.free-book { height: 100px; width: auto; margin-bottom: 11px; }

/* GIVEAWAY WINNER ANNOUNCEMENT */
.home-email-register.giveaway-winner .email-signup { height: auto; }
.home-email-register.giveaway-winner .email-signup > p { margin-top: 21px; }
.home-email-register.giveaway-winner .congrats { display: block; background: white; margin: 0px 0px 10px 0px; padding: 10px 1px 10px 10px; text-align: center; }
.home-email-register.giveaway-winner .congrats h3 { margin-top: 0px; font-weight: bold; }
.homepage-giveaway { height: 362px; overflow: hidden; }
.homepage-giveaway img { width: 100%; height: auto; float: left; }
.homepage-giveaway .giveaway-content-block { display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-align: center; -webkit-align-items: center; -webkit-box-align: center; align-items: center; }
.homepage-giveaway .giveaway-countdown .btn { width: 100%; }
.homepage-giveaway .giveaway-countdown .panel .panel-body { padding: 0px; font-size: 0.7em !important; }

/* RECENT BOOKS */
.recent-books { clear: both; margin: 30px 0px 0px 0px; width: 100%; }
.recent-books ul.book-list { list-style: none; margin: 0px; padding: 0px; }
.recent-books ul.book-list > li { width: 25%; float: left; padding: 0px 10px 10px 0px; }
.recent-books ul.book-list > li:nth-child(4) { padding-right: 0px; }
.recent-books-blocks img.book-image { width: 100%; height: auto; box-shadow: gray 20px 20px 40px; }
.recent-books-blocks > h2 { margin-bottom: 30px; }
.recent-books-blocks h3 { font-size: 2em; }
.recent-books-blocks h4 { font-size: 1.4em; margin-top: -10px; }
.recent-books-blocks .btn-az-buy-now { width: 200px; float: right; }
.recent-books-blocks .btn-az-buy-now img { width: 100%; height: auto; }
.recent-books-blocks .recent-book-header { margin-bottom: 15px; }
.recent-books-blocks .scheduled-date { margin-top: 20px; }
.recent-books-blocks .upcoming-timer { width: 350px; margin: 20px 0px 0px 0px; border: 1px solid #ccc; border-radius: 5px; }
.recent-books-blocks .upcoming-timer > .panel { margin-bottom: 0px; }
.recent-books-blocks .upcoming-timer2 { width: 100%; margin: 20px 0px; }
.recent-books-blocks .countdown-timer .time-block .time { background: #5bc0de; }
.upcoming-books .book-image { border: 1px solid #777; padding: 2px; background: white; }

.recent-books ul.book-list.with-raffle > li { width: 50%; }
.recent-books ul.book-list.with-raffle > li:nth-child(3n) { padding-right: 20px; }
.recent-books ul.book-list.with-raffle > li:nth-child(2n) { padding-right: 0px; }
.recent-books h2 { text-align: center; font-family: Ubuntu; }
.recent-books .book { background: white; padding: 15px; width: 100%; text-align: center; }
.recent-books .book img { width: 100%; height: auto; display: block; }
.recent-books .book .book-image { width: 100%; height: auto; position: relative; }
.recent-books .book .book-image .usa-today-stamp { position: absolute; bottom: -10px; left: -20px; width: 75px; height: 75px; background: url( '/media/misc/usa-today-best-seller-logo-stamp.png' ) no-repeat; transform: rotate(-20deg); background-size: 75px; }
.recent-books .book h3 { margin: 5px 0px 0px 0px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-books h2 a { color: inherit; }
.recent-books .book h3 a { color: inherit; }
.recent-books .book .help-block { margin: 5px 0px 0px 0px; font-size: 0.7em; }

@media only screen and (min-width : 220px) and (max-width : 767px) {
    .image-gallery { height: auto !important; overflow: none !important; }
    .home-email-register .email-signup { height: auto; margin-top: 20px; }
    .home-email-register.giveaway-winner .congrats { margin-top: 20px; }
    .recent-books > ul > li { width: 100% !important; float: none; padding: 0px !important; margin: 0px 0px 20px 0px; }

    .recent-books ul.book-list > li { width: 50% !important; float: left; padding: 0px; margin-bottom: 10px; }
    .recent-books ul.book-list.with-raffle { padding: 10px; }
    .recent-books ul.book-list.with-raffle > li:nth-child(3n) { padding-right: 0px; }
    .recent-books ul.book-list.with-raffle > li { width: 100%; float: none; padding: 0px; }
    .recent-books-blocks img.book-image { box-shadow: none; }
    .recent-books-blocks .recent-book-header { text-align: center; }
    .recent-books-blocks .btn-az-buy-now { width: 60%; float: none; margin: 15px auto; }

    .free-book-details-image { display: none; }
}
