/*
  Theme Name: Akashic Books
  Theme URI: http://www.akashicbooks.com/
  Version: 1.1
  Author: Bangbay Siboliban
  Author URI: http://bangbay.com/
  Description: Compatible with Cart66, Calendarize It! for WordPress, WP-PageNavi, WP User Avatar
*/

html,
body {
  width: 100%;
  height: 100%;
  font-size: 76%;
  -webkit-text-size-adjust: none;
}

body {
  position: relative;
  font: 1em/1.65em "Lucida Grande", "Lucida Sans Unicode", "Arial", sans-serif;
  background: #aba693 url(images/bg.jpg) center bottom repeat-x fixed;
  color: #282828;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font: 700 100%/1.25em "Open Sans Condensed", "Arial Narrow", sans-serif;
}

h1 em,
h2 em,
h3 em,
h4 em,
h5 em,
h6 em {
  font-weight: 400;
}

a {
  color: #a00;
  overflow: hidden;
  text-decoration: none;
}

a.zoom,
div.gallery a {
  cursor: -moz-zoom-in;
  cursor: -webkit-zoom-in;
}

a img,
fieldset {
  border: none;
}

#content a:visited,
.sidebar a:visited {
  color: #828282;
}

a:hover,
#content a:hover,
.sidebar a:hover {
  color: #e00;
}

h1 {
  padding: 10px 0 20px;
}

h1.book-title,
h2,
h3,
h4,
h5,
h6 {
  padding: 10px 0 5px;
}

h1+h2,
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  padding-top: 0;
}

h1 {
  font-size: 1.75em;
}

h2 {
  font-size: 1.4em;
}

h3 {
  font-size: 1.3em;
}

h4 {
  font-size: 1.2em;
}

h5 {
  font-size: 1.1em;
}

h6 {
  font-size: 1em;
}

ul {
  list-style: circle;
}

ul,
ol,
blockquote {
  padding: 0 0 15px 20px;
}

p {
  padding: 0 0 15px;
}

#content h1 span,
#content h2 span {
  color: #a8a8a8;
  font-style: italic;
  font-weight: 400;
}

#content h2 .big-arrow {
  font-size: 2em;
  color: #282828;
}

hr {
  clear: both;
  margin: 0 0 10px;
  padding: 10px 0 0;
  background: transparent;
  border: 0;
  border-bottom: 1px dotted #bbb;
}

hr.invisible {
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

hr.bottom {
  padding: 50px 0 0;
}

.alphabet+hr.bottom {
  padding: 10px 0 0;
}

iframe {
  border: none;
  overflow: hidden;
}

.show-mobile {
  display: none;
}

/* Containers */
#container {
  position: relative;
  width: 88%;
  margin: 0 auto;
}

/* Header */
#tagline {
  width: 100%;
  margin: 0 0 5px;
  padding: 2px 0;
  background: #282828;
  color: #f5f5f5;
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

#discount-banner,
#discount,
#notch,
header h1 {
  position: absolute;
  top: 0;
}

#discount-banner {
  left: 0;
  width: 110px;
  height: 120px;
  overflow: hidden;
  z-index: 11;
}

#discount {
  left: 5px;
  width: 80px;
  font: 700 1.2em/1.25em "Open Sans Condensed", "Arial Narrow", sans-serif;
}

#discount,
#discount a {
  color: #f5f5f5;
}

#discount a:hover {
  color: #ffb;
}

#discount span {
  display: block;
}

#discount span.pct {
  color: #fd0;
  font-size: 1.5em;
  line-height: 1.35em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px #000;
}

#discount span.sub {
  width: 55px;
}

#notch {
  left: -130px;
  width: 0;
  height: 0;
  border: 120px solid transparent;
  border-top: 130px solid #a00;
}

header {
  position: relative;
  width: 100%;
  height: 64px;
  z-index: 10;
}

header h1 {
  float: left;
  left: 0;
  width: 21%;
  min-width: 169px;
  height: 108px;
  padding: 6px 0 0;
  z-index: 2;
}

header h1 a {
  width: 169px;
  height: 108px;
  margin: 0 auto;
  background: url(images/akashic-logo.png) left top no-repeat;
  display: block;
  text-indent: -9999px;
}

@-webkit-keyframes shake {
  0% {
    -webkit-transform: translate(0, 0) rotate(0deg);
  }

  25% {
    -webkit-transform: translate(-0, 0) rotate(5deg);
  }

  50% {
    -webkit-transform: translate(-0, 0) rotate(-5deg);
  }

  100% {
    -webkit-transform: translate(0, -0) rotate(0deg);
  }
}

header h1 a:hover {
  -webkit-animation-name: shake;
  -webkit-animation-duration: 200ms;
  -webkit-transform-origin: 50% 50%;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: linear;
}

/* Nav Menu */
header nav,
header nav>ul,
header nav ul li {
  height: 32px;
}

header nav {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
}

header nav>ul {
  width: 80%;
  padding: 0 0 0 49px;
  margin: 0 auto;
  text-align: center;
}

header nav ul li {
  position: relative;
  margin: 0 0.2%;
  display: inline-block;
  vertical-align: top;
}

header nav ul li a {
  padding: 0 20px;
  background: #fff;
  border-radius: 3px 3px 0 0;
  box-shadow: inset 0 0 .125em #c8c8c8;
  display: block;
  font: 700 1.15em/32px "Open Sans Condensed", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}

header nav ul li a:hover {
  background: #ffb;
}

header nav ul li.current_page_item>a,
header nav ul li.current-menu-item>a {
  box-shadow: none;
  color: #282828;
}

header nav ul li:hover a {
  box-shadow: none;
}

header nav ul li:hover ul {
  left: 0;
  opacity: 1;
  -webkit-transition: opacity 200ms ease-in-out;
  -moz-transition: opacity 200ms ease-in-out;
  transition: opacity 200ms ease-in-out;
}

header nav ul li ul {
  float: left;
  position: absolute;
  top: 32px;
  left: -9999px;
  padding: 6px 0 3px;
  background: #fff;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 0 1em #aaa;
  opacity: 0;
  z-index: 1;
}

header nav ul li ul li {
  width: 100%;
  height: 28px;
  margin: 0;
  padding: 0;
  display: block;
}

header nav ul li ul li a {
  border-radius: 0;
  box-shadow: none;
  line-height: 28px;
  text-align: left;
}

header nav ul li.menu-item-has-children .dropdown-click {
  display: none;
}

/* Cart icon */
#cart-info,
#cart-info a {
  height: 32px;
}

#cart-info {
  position: relative;
  width: 37px;
  margin: 0 4px;
  background: url(images/cart.png) left top no-repeat;
  overflow: hidden;
}

#cart-info iframe {
  width: 37px;
  height: 32px;
  background: transparent;
  display: block;
  overflow: hidden;
}

#cart-info a {
  width: 37px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  color: #fff;
  display: inline-block;
  font-size: 1.35em;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  text-shadow: 0 0 2px #000;
}

#cart-info a:hover {
  color: #ffb;
}

#emptyCartMsg {
  padding: 0 0 50px;
}

#emptyCartMsg+p,
#emptyCartMsg+p+p {
  display: none;
}

/* Social Media */
header .social-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 21%;
  text-align: center;
  z-index: 2;
}

.social-media h4 {
  padding: 0;
  line-height: 32px;
}

.social-media ul,
.social-media ul li {
  display: inline-block;
}

.social-media ul {
  padding: 0 0 10px;
}

.social-media ul li {
  margin: 0 2px;
  background: #333;
  border-radius: 5px;
}

.social-media ul li a {
  width: 32px;
  height: 32px;
  background-image: url(images/icons.png);
  background-repeat: no-repeat;
  border-radius: 5px;
  display: block;
  text-indent: -9999px;
}

.facebook-link a {
  background-position: left top;
}

.twitter-link a {
  background-position: -32px top;
}

.pinterest-link a {
  background-position: -64px top;
}

.tumblr-link a {
  background-position: -96px top;
}

.instagram-link a {
  background-position: right top;
}

.social-media ul li a:hover {
  opacity: 0.5;
}

.social-media iframe {
  width: 86px;
  height: 25px;
  margin: 0 auto;
  cursor: pointer;
  display: block;
  overflow: hidden;
}

/* Mobile Nav */
#mobile-wrap {
  position: relative;
}

.nav-open {
  overflow: hidden;
}

#mobile-nav,
#open-nav,
#open-search {
  display: none;
}

#push {
  position: relative;
  left: 0;
  min-width: 320px;
  width: 100%;
  -webkit-transition: left 300ms ease-in-out;
  -moz-transition: left 300ms ease-in-out;
  transition: left 300ms ease-in-out;
}

#close-nav {
  display: none;
  position: absolute;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  z-index: 11;
}

/* Sidebar */
.sidebar {
  float: left;
  position: relative;
  width: 21%;
  padding: 65px 0 25px;
}

.right-sidebar {
  float: right;
}

.sidebar-wrap {
  padding: 0 5%;
}

.sidebar-widget {
  margin: 0 0 6%;
  background: #fff;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 2px;
}

.author-widget {
  background: #fff;
}

.sidebar h2 {
  padding: 9px 15px 7px;
  background: #f1eee8;
  background: rgba(241, 238, 232, 0.96);
  border-radius: 2px 2px 0 0;
  border-bottom: 1px solid #ccc;
  font-size: 1.35em;
}

.sidebar .post {
  width: auto;
  padding: 15px 15px 0;
}

.sidebar h2+.post {
  border-top: none;
}

.sidebar .cloud {
  padding-bottom: 15px;
}

.sidebar .post .book-image {
  width: 33%;
}

.sidebar h3 {
  padding-top: 0;
  font-size: 1.25em;
}

.sidebar .author-widget .post .book-image,
.sidebar .post img {
  float: none;
  width: 100%;
}

.sidebar .author-widget .post img {
  max-width: 66%;
  width: auto;
}

.sidebar p {
  font-size: 0.95em;
  line-height: 1.35em;
}

.sidebar p:last-child {
  padding: 0;
}

.sidebar .post p:last-child {
  padding: 0 0 15px;
}

.sidebar ul {
  padding: 0 0 15px;
  list-style: none;
}

.sidebar ul.circle {
  padding: 0 0 15px 20px;
  list-style: circle;
}

.sidebar ul li {
  padding: 0;
}

.sidebar ul li.cat-item ul {
  padding: 0 0 0 10px;
}

.sidebar ul li.current_page_item>a:before,
.sidebar ul li.current-cat>a:before,
.sidebar ul li.current-cat h4>a:before {
  content: "\00b6  ";
}

.sidebar ul li.current_page_item>a,
.sidebar ul li.current-cat>a,
.sidebar ul li.current-cat h4>a {
  color: #282828;
}

/* Events by Location */
#events-author-widget {
  padding-bottom: 15px;
}

#events-author-widget h3 a {
  color: #282828;
}

#events-author-widget h3 a:hover {
  color: #e00;
}

#events-author-widget h3 a:before {
  content: "\25ba ";
}

#events-author-widget ul {
  display: none;
}

#events-author-widget.active-arrow {
  padding-bottom: 0;
}

#events-author-widget.active-arrow h3 a:before {
  content: "\25bc ";
}

#events-author-widget.active-list h3 a:before {
  content: "\25bc ";
}

#events-author-widget.active-list ul {
  display: block;
}

/* Events by Location */
#events-location-widget {
  padding-bottom: 15px;
}

#events-location-widget h3 a {
  color: #282828;
}

#events-location-widget h3 a:hover {
  color: #e00;
}

#events-location-widget h3 a:before {
  content: "\25ba ";
}

#events-location-list {
  padding: 0;
  display: none;
}

#events-location-widget.active-arrow {
  padding-bottom: 0;
}

#events-location-widget.active-arrow h3 a:before {
  content: "\25bc ";
}

#events-location-widget.active-list #events-location-list {
  display: block;
}

#events-location-widget ul li ul li ul {
  padding: 0 0 0 20px;
  font-size: 1em;
  display: none;
  list-style: circle;
}

#events-location-widget ul li ul li ul li ul {
  padding: 0 0 0 15px;
  list-style: square;
}

#events-location-widget ul li.current-cat-parent ul.children,
#events-location-widget ul ul li.current-cat ul.children,
#events-location-widget ul li ul li.current-cat-state>ul.children {
  display: block;
}

#events-location-widget ul li.current-cat-parent ul.children li ul.children,
#events-location-widget ul li ul li.current-cat ul.children li ul.children {
  display: none;
}

#events-location-widget ul li.current-cat-parent ul.children li.current-cat ul.children {
  display: block;
}

#events-location-widget .active {
  background: #282828;
}

/* Mailing List */
.mailing-list-widget {
  width: 100%;
  padding: 4% 6% 6%;
  background: #dedbcc;
  background: rgba(222, 219, 204, 0.96);
  overflow: hidden;
}

#content .mailing-list-widget {
  width: 220px;
  margin: 0 0 15px;
  padding: 9px 13px 13px;
}

#content .mailing-list-widget.aligncenter {
  margin: 0 auto 15px;
}

#content .mailing-list-widget.alignleft {
  margin: 0 20px 15px 0;
}

#content .mailing-list-widget.alignright {
  margin: 0 0 15px 20px;
}

.mailing-list-widget h2 {
  padding: 0 0 10px;
  background: transparent;
}

.mailing-list-widget .cform input[type=text] {
  float: none;
  width: 92%;
  margin: 0 auto 10px;
  display: block;
}

.mailing-list-widget .cform .cf-box-group {
  float: left;
  width: 66%;
  font-size: 0.95em;
  line-height: 20px;
}

.mailing-list-widget .cform p {
  padding: 0;
}

.mailing-list-widget .cform .cf-box-group span,
.mailing-list-widget .cform .cf-box-group label {
  white-space: nowrap;
}

.mailing-list-widget .cform .cf-box-group input {
  margin: 0 3px 0 5px;
}

.mailing-list-widget .cform ol {
  padding: 0;
  list-style: none;
}

.mailing-list-widget .cform li:first-child label,
.cf-box-title,
.cf_hidden,
.linklove {
  display: none;
}

.mailing-list-widget .cf_info {
  text-align: center;
}

.cform input[type=text].cf_error,
.cform textarea.cf_error {
  border-color: #a00;
}

.cf_info {
  font-weight: 700;
}

.failure,
.reqtxt,
.emailreqtxt {
  color: #a00;
}

.reqtxt,
.emailreqtxt {
  font-style: italic;
}

.success {
  color: #37b;
}

/* Contact Form */
.cform.contact-form ol {
  padding: 0;
  list-style: none;
}

.cform.contact-form ol li {
  padding: 5px 0;
  overflow: hidden;
}

.cform.contact-form ol li label,
.cform.contact-form ol li input,
.cform.contact-form ol li textarea,
.cform.contact-form ol li select,
.cform.contact-form ol li>span {
  float: left;
}

.cform.contact-form ol li label,
.cform.contact-form ol li>span {
  height: 30px;
  display: block;
  line-height: 30px;
}

.cform.contact-form ol li label {
  width: 90px;
  padding: 0 10px 0 0;
  font-size: 1.15em;
}

.cform.contact-form ol li input {
  width: 300px;
  padding: 0 1%;
}

.cform.contact-form ol li textarea {
  width: 300px;
  height: 150px;
  padding: 0 1%;
}

.cform.contact-form ol li option {
  padding: 0 2px;
}

.cform.contact-form ol li>span {
  padding: 0 0 0 10px;
}

.cform.contact-form p.cf-sb {
  padding: 5px 0 20px 90px;
}

.cform.contact-form input[type="submit"] {
  float: none;
  width: 100px;
}

/* Twitter */
.twitterbox {
  width: 100%;
  margin: 0 0 6%;
  background: #019ad2;
  background: rgba(1, 154, 210, 0.96);
  border: 1px solid #019ad2;
  border-radius: 2px;
}

.twitterbox h2 {
  background: transparent;
  color: #fff;
  text-align: center;
}

.twitterbox ul {
  padding: 0;
  list-style: none;
}

.twitterbox ul li {
  padding: 10px 15px;
  background: #fff;
  border-bottom: 1px solid #019ad2;
}

.entry-content {
  padding: 0 0 5px;
  display: block;
  line-height: 1.5em;
}

.entry-meta,
.intent-meta {
  display: block;
  font-size: 0.9em;
  line-height: 1.25em;
}

.entry-meta {
  padding: 0 0 5px;
}

.intent-meta a {
  margin: 0 5px 0 0;
}

.follow-button {
  padding: 10px 5px 5px;
}

/* Featured Titles */
.featured-titles {
  width: 100%;
}

.featured-post a {
  margin: 0 0 15px;
  display: block;
  line-height: 1.25em;
  text-align: center;
}

.featured-post img {
  max-width: 80%;
  margin: 0 auto 5px;
  display: block;
}

/* Search */
.form-container,
.cform {
  width: 100%;
}

.form-container {
  height: 50px;
}

.sidebar-widget .form-container {
  height: 30px;
}

.cform input[type=text],
.cform input[type=submit],
.cform textarea {
  border: none;
  border-radius: 5px;
  display: block;
  -webkit-appearance: none;
}

.cform input[type=text] {
  width: 60%;
  height: 28px;
}

.cform input[type=text],
.cform textarea {
  float: left;
  padding: 0 3%;
  background: #fff;
  border: 1px solid #828282;
  font-size: 1.1em;
  line-height: 28px;
}

.cform input[type=text].ui-autocomplete-loading {
  background: #fff url(images/loader.gif) right center no-repeat;
}

.cform .input-inactive {
  color: #dedbcc;
}

#searchform .input-inactive {
  font-style: italic;
}

.cform input[type=submit] {
  float: right;
  width: 32%;
  height: 30px;
  background: #a00;
  box-shadow: inset 0 0 1em #79707d;
  color: #fff;
  cursor: pointer;
  font: 700 1em/30px "Open Sans Condensed", "Arial Narrow", sans-serif;
  text-align: center;
  text-transform: uppercase;
}

.cform input[type=submit]:hover {
  background: #e00;
}

body .ui-widget {
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Arial", sans-serif;
}

/* Footer */
footer {
  clear: both;
  width: 100%;
  height: 150px;
  box-shadow: 0 0 6em #000;
  background: #0b1217;
  background: rgba(11, 18, 23, 0.86);
  color: #f5f5f5;
  font-size: 0.95em;
  text-align: center;
}

footer a {
  white-space: nowrap;
}

footer p {
  padding: 10px 0;
  font-size: 1.05em;
}

footer .footer {
  padding: 0 0 15px;
}

footer h4,
footer ul {
  padding: 0;
  display: inline;
}

footer ul {
  line-height: 1.35em;
}

footer ul li {
  padding: 0 8px;
  display: inline;
}

/* Alphabet Nav */
.browse-title,
#content .alphabet {
  text-align: center;
}

.browse-title {
  padding: 0 0 5px;
}

#content .alphabet {
  clear: both;
  padding: 0 0 10px;
  list-style: none;
}

#content .alphabet li {
  display: inline-block;
}

#content .alphabet li a {
  width: 20px;
  height: 22px;
  border-left: 1px solid #a8a8a8;
  display: block;
  line-height: 22px;
}

#content .alphabet li:first-child a {
  border-left: none;
}

#content .alphabet li a:hover,
#content .alphabet li a.current,
#content .alphabet li a.current:visited {
  background: #ffb;
  color: #e00;
}

/* Content */
#content-wrap,
#content {
  position: relative;
}

#content-wrap {
  float: left;
  width: 58%;
  margin: 0 0 150px;
  padding-bottom: 1px;
  background: #fff;
  border-radius: 2px;
}

#content {
  width: 100%;
  padding: 25px 3% 0;
  overflow: hidden;
}

#content .navigation {
  clear: both;
  padding: 25px 0;
  border-top: 1px dotted #bbb;
  text-align: center;
}

/* Home Page */
.home-box {
  position: relative;
  width: 48%;
  min-height: 334px;
  margin: 0 0 25px;
  background: #fff;
  border: 1px solid #bbb;
  overflow: hidden;
}

.home-box-left {
  float: left;
}

.home-box-right {
  float: right;
}

.home-box h2 {
  padding: 9px 15px 7px;
  background: #f1eee8;
  background: rgba(241, 238, 232, 0.96);
  border-bottom: 1px solid #ccc;
  text-align: center;
}

.home-box h3 {
  padding-top: 0;
}

.home-box ul {
  padding: 15px;
  list-style: none;
}

.home-box ul li {
  clear: both;
}

.home-box ul .bullet {
  margin: 0 0 0 20px;
  list-style: circle;
}

.home-box ul li img {
  max-width: 200px;
  max-height: 250px;
  margin: 0 auto 10px;
  display: block;
}

.home-box p {
  padding: 0 15px 10px;
}

.home-box li p {
  padding: 0 0 10px;
}

#facebook-boxes {
  clear: both;
}

#facebook-boxes iframe {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 101%;
  height: 335px;
  display: block;
}

#facebook-boxes .home-box-right iframe {
  top: -71px;
  height: 500px;
}

/* Authors Page */
.authors,
.sitemap {
  float: left;
}

.authors {
  width: 25%;
  padding-right: 5px;
}

.authors h2 {
  padding-top: 0;
}

.sitemap {
  width: 33%;
}

.half {
  width: 50%;
}

.authors ul {
  padding: 0 0 15px;
  list-style: none;
}

.authors ul li ul {
  padding: 0 0 0 20px;
  list-style: circle;
}

/* Books & Posts */
#subjects,
.post {
  width: 100%;
}

#subjects {
  margin: 0 auto;
  padding: 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  list-style: none;
  overflow: hidden;
  text-align: center;
}

#subjects li {
  position: relative;
  width: 50%;
  max-width: 162px;
  padding: 0 0 25px;
}

#subjects li .sale {
  left: 9px;
}

#subjects li img {
  max-width: 132px;
  max-height: 195px;
}

#subjects li span {
  display: block;
}

.post {
  clear: both;
  position: relative;
  padding: 20px 0 0;
  border-top: 1px dotted #bbb;
}

h1+.post,
h2+.post {
  border-top: none;
}

h1+.post {
  padding: 0;
}

h2+.post {
  padding: 5px 0 0;
}

.author {
  padding: 0 0 20px;
}

.author a {
  font-weight: 700;
}

.date {
  padding: 0;
  font-size: 0.85em;
}

.forthcoming {
  color: #37b;
  font-weight: 700;
}

.subjects {
  padding-top: 10px;
}

.books-list,
.book-post,
.books-list .book-set:first-child .no-border,
.books-list .book-set .no-border {
  border: none;
}

.books-list {
  margin: 0 0 20px;
  border-left: 1px solid #eee;
}

.book-set {
  width: 100%;
  display: table;
}

.book-post {
  clear: none;
  width: 50%;
  padding: 0;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  display: table-cell;
  overflow: hidden;
}

.books-list .book-set:first-child .book-post {
  border-top: 1px solid #eee;
}

.book-wrap {
  padding: 15px;
}

.post h2 {
  padding: 0 0 5px;
}

#content .post .book-image img {
  max-width: 120px;
  min-height: 50px;
}

/* Book summary */
.post+h2 {
  padding-top: 20px;
  border-top: 1px dotted #bbb;
}

.book-image {
  position: relative;
}

.excerpt p {
  font-size: 1.1em;
}

.excerpt p,
.digits-downloads {
  padding: 0 0 20px;
  font-weight: 700;
}

#book-images {
  float: left;
  position: relative;
  margin: 0 20px 20px 0;
}

#book-images img {
  display: block;
}

#book-images-nav img {
  width: auto;
  height: 50px;
  min-height: 50px;
  margin: 5px 0 0;
  display: inline-block;
}

.product-details {
  padding: 0 0 10px;
  list-style: none;
}

.sale {
  position: absolute;
  top: -9px;
  left: -9px;
  padding: 0 7px;
  background: #a00;
  border-radius: 5px;
  color: #f5f5f5;
  font-size: 1.05em;
}

a:hover .sale {
  background: #e00;
}

.original-price {
  color: #aaa;
  text-decoration: line-through;
}

/* Purchase Options */
#book-summary {
  float: left;
  width: 72%;
}

/* Digital Links */
#digital-versions {
  clear: left;
  float: left;
  margin: 0 0 20px;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid #bbb;
}

#digital-versions h2 {
  padding: 0 0 5px;
  font-size: 1em;
}

#digital-versions ul+h2 {
  padding-top: 15px;
}

#digital-versions ul {
  padding: 0;
  list-style: none;
}

#digital-versions ul li {
  padding: 0 10px 0 0;
  display: inline-block;
  vertical-align: top;
}

#digital-versions ul li.itunes-ebook {
  padding: 0 0 10px;
  display: block;
}

#digital-versions p {
  padding: 0;
}

#digital-versions img {
  vertical-align: middle;
}

#digital-versions img:hover {
  opacity: 0.5;
}

/* Reviews */
#reviews,
#read-more-reviews {
  background: #f1eee8;
  background: rgba(241, 238, 232, 0.96);
  border: 1px solid #bbb;
}

#reviews {
  clear: both;
  position: relative;
  margin: 0 auto 15px;
  padding: 15px;
  border-radius: 5px;
}

#reviews h2 {
  padding: 0 0 15px;
  font-size: 1.25em;
}

#reviews p {
  padding: 0 25px 15px;
}

#read-more-reviews {
  position: absolute;
  bottom: -22px;
  right: 20px;
  width: 120px;
  height: 22px;
  border-top-color: #f1eee8;
  border-top-color: rgba(241, 238, 232, 0.96);
  border-radius: 0 0 5px 5px;
  text-align: center;
}

#read-more-reviews button {
  background: transparent;
  border: none;
  color: #a00;
  display: block;
  width: 100%;;
}

/* Cart Overrides */
#container .Cart66Price {
  margin: 0 5px 0 0;
  color: #282828;
  font-size: 1.25em;
  line-height: 30px;
}

#container .Cart66OutOfStock {
  color: #a00;
  font-size: 1.15em;
}

#container .Cart66AjaxWarning {
  display: none;
}

#container #viewCartTable {
  margin-top: 0;
}

#container .Cart66CartButton {
  float: none;
  width: 140px;
  padding: 10px;
  margin: 0 auto 20px;
  background: #f1eee8;
  background: rgba(241, 238, 232, 0.96);
  border: 1px solid #bbb !important;
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  text-align: center;
}

#container div .Cart66CartButton,
#container p .Cart66CartButton {
  margin: 0 0 20px;
}


#container #book-summary .Cart66CartButton {
  float: left;
  width: auto;
  margin: 0 0 20px;
  text-align: left;
}

#container .Cart66UserQuantity {
  display: none;
}

#container .Cart66PriceBlock {
  margin: 0 auto;
}

#container .Cart66ButtonPrimary,
#container .Cart66ButtonSecondary,
#container #content .Cart66ButtonPrimary,
#container #content .Cart66ButtonSecondary,
#container .Cart66CartButton .purAddToCart {
  height: 30px;
  background: #a00;
  border: none;
  color: #fff;
  font: 700 1.25em/30px "Open Sans Condensed", "Arial Narrow", sans-serif;
  text-align: center;
  text-transform: uppercase;
  -webkit-appearance: none;
}

#container #content .Cart66Price {
  font: 15px/1.65em "Lucida Grande", "Lucida Sans Unicode", "Arial", sans-serif;
  margin-bottom: 5px;
}

#container #content #book-summary .Cart66Price {
  margin-bottom: 0;
}

#container #content .Cart66Price,
#container #content .Cart66CartButton .purAddToCart {
  font-size: 15px;
}

#container .cart66Options {
  margin-bottom: 10px;
}

#container #book-summary .cart66Options {
  margin-bottom: 0;
}

#container #content .Cart66UpdateTotalButton {
  margin: 0 auto;
  display: block;
}

#container .Cart66ButtonPrimary:hover,
#container .Cart66ButtonSecondary:hover,
#container #content .Cart66ButtonPrimary:hover,
#container #content .Cart66ButtonSecondary:hover,
#container .Cart66CartButton .purAddToCart:hover {
  background: #e00;
}

#container #content #viewCartTable img {
  box-shadow: none;
}

#container #content #viewCartTable th {
  background: #f1eee8;
  background: rgba(241, 238, 232, 0.96);
}

#container #content #viewCartTable th.alignRight {
  background: transparent;
  border: none;
}

#container #content #viewCartTable .haveCoupon,
#container #content #viewCartTable #couponCode,
#container #content #viewCartTable #updateCart {
  clear: none;
  float: none;
  display: inline-block;
  vertical-align: top;
}

#container #content #viewCartTable .haveCoupon {
  height: 28px;
  padding: 0 5px;
  font-style: italic;
  line-height: 28px;
}

#container #content #viewCartTable .itemQuantity,
#container #content #viewCartTable #couponCode input {
  height: 26px;
  line-height: 26px;
}

#container #content #viewCartTable .itemQuantity {
  width: 26px;
  padding: 0 2px;
  text-align: center;
}

#container #content #viewCartTable #couponCode input {
  padding: 0 5px;
}

#container #content #checkoutShopping {
  display: none;
}

#container #content #Cart66CheckoutButton {
  height: 40px;
  line-height: 40px;
  font-size: 1.35em;
}

#container #content #viewCartTable th.shipping-cell {
  border-top: 1px solid #eee;
}

.shipping-message {
  float: right;
  width: 90%;
  color: #37b;
}

#loader {
  float: right;
  width: 16px;
  height: 16px;
  margin: 0 0 0 5px;
  background: url(images/loader.gif) left top no-repeat;
  display: none;
}

/* Checkout */
#container .alert-message {
  display: none !important;
}

#container #billing-country,
#container #shippingInfo,
#container #shipping-country,
#container .alert-message {
  margin: 0 0 20px;
}

#container .phorm2 ul li label,
#container #ccInfo select,
#container #ccInfo input[type=text] {
  height: 28px;
}

#container .phorm2 ul li label,
#container #ccInfo input[type=text] {
  line-height: 28px;
}

#container .phorm2 ul li label {
  width: 145px;
  margin: 0;
}

#container .phorm2 ul.shortLabels li label {
  width: 85px;
}

#container #ccInfo select,
#container #ccInfo input[type=text] {
  background: #fff;
  border: 1px solid #aaa;
}

#container #ccInfo input[type=text] {
  width: 60%;
  padding: 0 3%;
  box-shadow: inset 2px 2px 1em #ddd;
}

#container #ccInfo #billing-zip {
  width: 30%;
}

#container #viewCartNav {
  float: left;
}

#container #viewCartNav+br {
  display: none;
}

#container #paypalexpresscheckout {
  float: none;
  clear: none;
  margin: 0 0 50px;
  text-align: right;
}

#container #PayPalExpressCheckoutButton {
  margin: 0;
}

#container #PayPalExpressCheckoutButton:hover {
  opacity: 0.88;
}

#content .edit-cart,
#content .edit-cart:visited {
  margin: 0 0 0 10px;
  color: #a00;
}

#content .edit-cart:hover {
  color: #e00;
}

/* Digits */
.digits-downloads {
  color: #37b;
}

.digits-downloads ul,
.digits-downloads ul li {
  display: inline-block;
}

.digits-downloads ul {
  padding: 0;
  list-style: none;
}

.digits-downloads ul li {
  padding: 0 6px;
  border-left: 1px solid #282828;
}

.digits-downloads ul li:first-child {
  padding: 0 2px;
  border-left: none;
}

/* Add This */
.addthis_toolbox {
  clear: both;
}

.addthis_counter {
  margin: 0 0 0 12px;
}

.iframe-box {
  float: left;
  width: 90px;
  overflow: hidden;
}

.share-arrow {
  float: left;
  margin: 0 8px 0 0;
  color: #37b;
  display: block;
  font-style: italic;
  line-height: 22px;
}

/* Fancybox */
.zoom img {
  max-width: 150px;
  min-height: 50px;
}

.fancybox-nav {
  width: 60px;
}

.fancybox-nav span {
  visibility: visible;
  opacity: 0.5;
}

.fancybox-nav:hover span {
  opacity: 1;
}

.fancybox-next {
  right: -75px;
}

.fancybox-prev {
  left: -75px;
}

/* Viper's Quicktags */
#content .vvqbox {
  clear: both;
  margin: 5px auto 20px;
}

/* Carousels */
.carousel {
  border: 1px solid #bbb;
  margin: 0 0 30px;
  text-align: center;
}

.carousel+h1,
.carousel+h2 {
  padding-top: 0;
}

.carousel h2 {
  border-bottom: 1px solid #bbb;
  margin: 0;
  padding: 9px 15px 7px;
}

.carousel-item .featured-title {
  background: rgba(0, 0, 0, 0.8);
  bottom: 0;
  box-shadow: none;
  color: #fff;
  font-size: 1.25em;
  left: 0;
  padding: 5px 2%;
  transition: 0.33s ease-in-out;
  width: 100%;
  z-index: 1;
}

.carousel-item img {
  max-width: 100%;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  background-color: #000;
  height: 40px;
  width: 30px;
}

.carousel-control-next,
.carousel-control-prev {
  width: 4%;
}

.featured-books .slide-size1 {
  width: 100%;
}

.featured-books .slide-size2 {
  width: 50%;
}

.featured-books .slide-size3 {
  width: 33%;
}

.featured-books .slide-size4 {
  width: 25%;
}

.featured-books .book-image {
  display: inline-block;
  margin: 0 auto;
  max-width: 88%;
  min-width: 100px;
}

.featured-books img {
  margin: 0 auto;
  max-height: none;
  max-width: 60%;
  width: auto;
}

.featured-books-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  overflow: hidden;
  margin: 0;
  padding: 60px 0 20px;
  width: 100%;
}

.featured-books-list-item {
  padding: 10px;
}

.featured-books-title {
  background: #f1eee8;
  background: rgba(241, 238, 232, 0.96);
  left: 0;
  padding: 5px 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.book-title {
  display: block;
  padding: 0 20px;
}

/* Calendar */
#content .rhcalendar {
  margin: 0 0 25px;
}

#event-details {
  clear: both;
  padding: 0 0 15px;
}

#event-details p {
  padding: 0;
}

#content .fc-header td {
  width: 33%;
}

#content .fc-header-cell {
  display: block;
}

#content .fc-event {
  width: 96%;
  padding: 0 2%;
  background: transparent;
  border: none;
  color: #a00;
  line-height: 1.45em;
}

#content .fc-event:hover {
  color: #e00;
}

#content .fc-event-inner {
  width: auto;
  height: auto;
  padding: 0 5px 5px;
}

#content .fc-button {
  font-family: "Arial", sans-serif;
}

#content .fc-start,
#content .fc-end,
#content .fc-tax-venue {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

#content .fct-body .fc-image a img {
  float: left;
  max-width: 120px;
  margin: 10px 0;
  padding: 0;
  border: 1px solid #bbb;
}

/* Not Found */
#not-found h1 {
  padding: 0 0 15px;
  text-align: center;
}

#not-found h1+h2 {
  padding: 0 0 50px;
  line-height: 1em;
}

/* Links */
.blogroll span {
  padding: 0 5px;
}

/* Wordpress Posts */
.wp-post-image {
  border: 1px solid #bbb;
}

.wp-caption,
.wp-caption-text {
  padding: 5px;
}

.wp-caption-text {
  font-style: italic;
  line-height: 1.25em;
}

.alignleft {
  float: left;
  margin: 0 20px 15px 0;
}

.alignright {
  float: right;
  margin: 0 0 15px 20px;
}

.search-post div.alignleft {
  margin: 0;
}

.search-post div.alignleft img {
  margin: 0 20px 15px 0;
}

.wp-caption.alignleft {
  padding: 0 20px 15px 0;
}

.wp-caption.alignright {
  padding: 0 0 15px 20px;
}

.aligncenter {
  margin: 0 auto;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.alignleft img.alignleft,
.alignright img.alignright {
  margin: 0;
}

.aligncenter img,
img.aligncenter {
  margin: 0 auto 15px;
  display: block;
}

.sidebar .alignleft {
  margin: 0 15px 5px 0;
}

.sidebar .alignright {
  margin: 0 0 5px 15px;
}

.wp-caption,
.center {
  text-align: center;
}

.clear {
  clear: both;
}

.overflow {
  overflow: hidden;
}

/*** Plugins ***/

/* PageNavi */
.wp-pagenavi {
  clear: both;
}

.wp-pagenavi a,
.wp-pagenavi span {
  margin: 2px;
  padding: 3px 5px;
  border: 1px solid #bfbfbf;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: top;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
  border-color: #000;
}

.wp-pagenavi span.current {
  font-weight: bold;
}

/*** Media Queries ***/

@media only screen and (max-width: 1300px) {
  /* Containers */
  #container {
    width: 100%;
  }

  /* Nav Menu */
  header nav ul li a {
    padding: 0 15px;
  }

  #content .book-post img {
    max-width: 112px;
  }
}

@media only screen and (max-width: 1200px) {
  /* Containers */
  #container {
    width: 100%;
    overflow: hidden;
  }

  /* Nav Menu */
  header nav ul li a {
    padding: 0 10px;
  }

  /* Sidebar */
  .sidebar .post .book-image {
    width: 50%;
  }

  .sidebar h3 {
    clear: both;
  }

  /* Twitter */
  .twitterbox {
    overflow: hidden;
  }

  /* Books & Posts */
  #content .post .book-image img {
    max-width: 100px;
  }

  /* Purchase Options */
  #book-summary {
    width: 69%;
  }
}

@media only screen and (max-width: 1024px) {
  .bxslider li ul li h2.featured-title {
    bottom: 0;
  }
}

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

  /* Purchase Options */
  #book-summary {
    width: 66%;
  }
}

@media only screen and (max-width: 1004px) {

  /* Basics */
  body {
    background: #282828;
    font-size: 1.05em;
  }

  .hide-mobile {
    display: none;
  }

  .show-mobile {
    display: block !important;
  }

  .show-mobile .home-box p {
    padding: 0 0 15px;
  }

  #mobile-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #282828;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-transition: left 300ms ease-in-out;
    -moz-transition: left 300ms ease-in-out;
    transition: left 300ms ease-in-out;
    z-index: 2;
  }

  #mobile-nav ul {
    padding: 0;
    list-style: none;
  }

  #mobile-nav ul li {
    clear: both;
    min-height: 40px;
    border-bottom: 1px solid #383838;
  }

  #mobile-nav ul li.menu-item-2006 {
    display: none;
  }

  #mobile-nav ul li.menu-item-has-children {
    position: relative;
  }

  #mobile-nav ul li.menu-item-has-children .dropdown-click {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 40px;
    margin: 0;
    padding: 0;
    background: #383838;
    cursor: pointer;
    display: block;
    line-height: 40px;
    text-align: center;
  }

  #mobile-nav ul li.show-dropdown ul {
    border-top: 1px solid #383838;
  }

  #mobile-nav ul li.search-mobile {
    min-height: 30px;
    padding: 10px 15px;
  }

  #mobile-nav ul li.search-mobile .cform input[type=text] {
    float: none;
    width: 100%;
  }

  #mobile-nav ul li ul li {
    display: none;
  }

  #mobile-nav ul li.show-dropdown ul li {
    display: block;
  }

  #mobile-nav ul li a {
    float: left;
    display: block;
    padding: 0 15px;
    color: #fff;
    font-size: 1.25em;
    line-height: 40px;
  }

  #mobile-nav .social-media {
    padding: 20px 15px;
  }

  #mobile-nav .social-media ul li {
    min-height: 32px;
    margin: 0 8px 0 0;
  }

  #mobile-nav .social-media ul li.instagram-link {
    margin: 0;
  }

  #mobile-nav .social-media ul li a {
    padding: 0;
    line-height: 32px;
  }

  #mobile-nav ul li.show-dropdown ul li a {
    padding: 0 25px;
  }

  /* Header */
  #tagline {
    position: absolute;
    top: 120px;
  }

  header {
    height: auto;
  }

  header h1 {
    float: none;
    position: relative;
    margin: 0 auto 35px;
  }

  header h1 a {
    width: 100%;
    height: 100%;
    background-position: center top;
  }

  #discount-banner {
    display: none;
  }

  /* Nav Menu */
  header nav {
    top: -5px;
    left: auto;
    bottom: auto;
    width: 60px;
  }

  header nav ul {
    display: none;
  }

  /* Social Media */
  header .social-media {
    display: none;
  }

  #push {
    background: #aba693;
  }

  #open-left-sidebar {
    position: absolute;
    top: 0;
    right: 20px;
    z-index: 12;
  }

  #open-right-sidebar {
    position: absolute;
    top: 0;
    right: 10px;
    z-index: 12;
  }

  #open-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background: #181818;
    color: #fff;
    display: inline-block;
    font-size: 1.35em;
    line-height: 50px;
    text-align: center;
    z-index: 12;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  #open-nav.open {
    top: 0;
    left: -1px;
    height: 50px;
    background: #484848;
    letter-spacing: 1px;
    line-height: 50px;
    -ms-transform: rotate(0);
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  .nav-open {
    position: fixed !important;
    overflow: visible;
  }

  .nav-open #push {
    position: fixed;
    left: 280px;
    right: -280px;
    width: 100%;
  }

  .nav-open #mobile-nav {
    left: 0;
  }

  /* Sidebar */
  .sidebar {
    float: none;
    position: absolute;
    top: 0;
    left: -9999px;
    width: 100%;
    padding: 0;
    background: #fff;
    z-index: 12;
    display: none;
  }

  .sidebar.open {
    position: relative;
    left: 0;
    -moz-transition: left 300ms ease-in-out;
    -webkit-transition: left 300ms ease-in-out;
    transition: left 300ms ease-in-out;
  }

  .sidebar-wrap {
    padding: 0;
  }

  /* Contact Form */
  .cform.contact-form p.cf-sb {
    padding: 0;
  }

  /* Footer */
  footer {
    background: #0b1217;
  }

  #back-top {
    display: none !important;
  }

  /* Alphabet Nav */
  #content .alphabet li a {
    width: 24px;
  }

  /* Content */
  #content-wrap {
    clear: both;
    float: none;
    width: 100%;
    margin: 0;
  }

  .wp-pagenavi a,
  .wp-pagenavi span {
    padding: 3px 10px;
  }

  /* Home Page */
  .home-box {
    min-height: 0;
  }

  .home-box .post {
    width: auto;
    padding: 20px 20px 10px;
  }

  /* Books & Posts */
  article img {
    max-width: 100%;
    height: auto;
  }

  .books-list {
    margin: 0 -3% -1px;
  }

  #content {
    padding-top: 15px;
    overflow: visible;
  }

  #content.full {
    padding: 0;
    overflow: visible;
  }

  .alphabet+hr {
    display: none;
  }

  hr,
  .navigation {
    width: 106%;
    margin: 0 -3% 10px;
  }
}

@media only screen and (max-width: 768px) {
  .home-box ul li img {
    float: right;
    max-width: 125px;
    margin: 0 0 10px 20px;
  }

  hr.bottom {
    margin: 0;
    border: 0;
  }

  #tagline {
    top: 115px;
  }

  header {
    height: 140px;
  }

  header h1 {
    margin-bottom: 0;
  }

  /* Content */
  #content-wrap {
    clear: both;
    float: none;
    width: 100%;
    margin: 0;
  }

  #content.full {
    width: 100%;
    padding: 0;
  }

  /* Home Page */
  .home-box {
    width: 100%;
    float: none;
    border: 0;
  }

  .home-box h2 {
    background: #eee;
  }

  /* Authors Page */
  .authors,
  .sitemap {
    width: 33%;
  }

  /* Books & Posts */
  #subjects {
    padding: 0 0 20px;
  }

  #subjects li {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0 0 5px;
    display: block;
    text-align: left;
  }

  #subjects li img,
  #subjects li .sale {
    display: none;
  }

  article img.alignleft,
  article img.alignright {
    max-width: 50%;
  }

  .post {
    padding: 20px 0 10px;
  }

  h1+.post {
    padding: 0 0 10px;
  }

  .books-list {
    width: 106%;
  }

  .book-post {
    width: 100%;
    padding: 0;
    border-right: 0;
    border-left: 0;
    display: block;
  }

  .addthis_counter {
    display: none !important;
  }

  /* Purchase Options */
  #book-summary {
    width: 100%;
  }

  /* Digital Links */
  #digital-versions {
    clear: both;
    float: none;
  }

  /* Cart Overrides */
  #container #viewCartTable {
    box-shadow: none;
  }

  #container .Cart66Price {
    text-align: center;
    display: block;
    font-size: 1.5em;
  }

  #container .cart66Options {
    margin: 10px auto 20px;
    display: block;
  }

  #container .Cart66CartButton {
    float: none;
    padding: 0;
    border: 0 !important;
    background: transparent;
    box-shadow: none;
  }

  #container .Cart66CartButton .purAddToCart {
    width: 100%;
  }

  #container #content .Cart66UpdateTotalButton,
  #container #content .Cart66CartContinueShopping {
    font-size: 1.15em;
  }

  #container #viewCartNav,
  #container #continueShopping {
    float: none;
  }

  #container #couponCode,
  #container #updateCart {
    font-size: 0.75em;
    margin-bottom: 5px;
  }

  .featured-books .slide-size4 {
    width: 50%;
  }
}

@media only screen and (max-width: 600px) {
  #tagline {
    top: 90px;
  }

  header {
    height: 115px;
  }

  header h1 {
    width: 130px;
    height: 83px;
  }

  header h1 a {
    background-size: contain;
  }

  /* Authors Page */
  .authors,
  .sitemap {
    width: 50%;
  }
}

@media only screen and (max-width: 480px) {
  #tagline {
    top: 90px;
    width: 100%;
    padding: 0 10%;
  }

  header {
    height: 131px;
  }
}
