@font-face {
   font-family: 'forgotten_futurist_rg';
    src: url('fonts/forgotten_futurist_rg-webfont.woff2') format('woff2'),
         url('fonts/forgotten_futurist_rg-webfont.woff') format('woff'),
         url('fonts/forgotten_futurist_rg.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: ptsans-narrow;
  src: url(fonts/ptsans-narrow-web-regular.ttf);
}
@font-face {
  font-family: glimmer_of_light;
  src: url(fonts/glimmer_of_light.ttf);
}

/* Formatting and Text */
* {
  margin: 0;
  padding: 0;
}

h1 {
  font-family: "glimmer_of_light", Times, serif;
  font-size: 24px;
}
h2 {
  font-family: 'forgotten_futurist_rg', serif;
  margin-bottom: 5px;
}
h3 {
  font-family: "glimmer_of_light", Times, serif;
  font-size: 20px;
}
body {
  background-color : transparent;
  overflow-x: hidden;
  font-family: ptsans-narrow;
  font-size: 18px;
  text-align: center;
}

/* main content */
#promo {
  padding-top: 85px;
  transition: opacity 1s;
}
.promotext {
  font-size: 30px;
}
#signupText {
  margin-top: 8px;
  font-size: 18px;
}
p span {
  color: darkred;
}
.inlinePromo {
  font-size: 24px;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  color: darkred;
}

.inlineAd {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 16px;
  box-sizing: border-box;
}

.inlineAd img {
  display: block;
  width: 85%;
  aspect-ratio: 15 / 4;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  border: 2px solid darkgray;
  overflow: hidden;
}

/* General responsive coverflow defaults */
.coverflow {
  --cf-img-size: 136px;
  --cf-spacing: 54px;
  --cf-scroll-step: 58px;
  --cf-img-bottom: 38px;

  --cf-perspective: 460px;
  --cf-rotation: 54;
  --cf-depth: 42px;
  --cf-center-z: 8px;

  --cf-scale-drop: 0;
  --cf-min-scale: 1;

  --cf-title-bottom: 8px;
  --cf-title-width: 160px;
  --cf-title-height: 20px;
  --cf-title-font-size: 14px;

  --cf-center-brightness: 1;
  --cf-side-brightness: 0.68;
  --cf-far-brightness: 0.52;

  position: relative;
  width: 100%;
  height: calc(
    var(--cf-img-size) +
    var(--cf-img-bottom) +
    var(--cf-title-height) +
    var(--cf-title-bottom) +
    20px
  );
  overflow-x: auto;
  overflow-y: hidden;
  transform-style: preserve-3d;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin-top: -28px;
}

.bookPromoCoverflow {
  --cf-img-size: 140px;
  --cf-spacing: 54px;
  --cf-scroll-step: 58px;
  --cf-img-bottom: 16px;
  --cf-title-bottom: 8px;

  perspective-origin: 50% 70%;
  -webkit-perspective-origin: 50% 70%;

  height: calc(
    var(--cf-img-size) +
    var(--cf-img-bottom) +
    var(--cf-title-height) +
    var(--cf-title-bottom) +
    26px
  );
}

.bookPromoCoverflow > img {
  transform-origin: center bottom;
  -webkit-transform-origin: center bottom;
}

.inlineObject {
  position: relative;
  display: block;
  width: 85%;
  box-sizing: border-box;
  margin: 20px auto 16px auto;
  border-radius: 8px;
  border: 2px solid darkgray;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  padding: 0;
}

.promoObjectGallery {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.promoObjectHeader {
  position: absolute;
  top: 8px;
  left: 10px;
  z-index: 5000;
  font-family: 'forgotten_futurist_rg', serif;
  font-size: 20px;
  color: #222;
  background: rgba(255, 251, 134, 0.70);
  border-radius: 8px;
  padding: 3px 8px;
  pointer-events: none;
}

.promoObjectSelect {
  position: absolute;
  top: 8px;
  left: 10px;
  z-index: 5000;
}

.coverflow.coverflow-ready {
  opacity: 1;
  visibility: visible;
}

.coverflow::-webkit-scrollbar {
  display: none;
}

.coverflow > img {
  cursor: pointer;
  user-select: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition:
    transform 220ms ease,
    filter 220ms ease,
    bottom 220ms ease,
    width 220ms ease;
}

.coverflow-title-box {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  padding: 0 2px;
  color: #fff;
  background: #028400;
  border-radius: 10px;
  font-weight: normal;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: center;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.coverflow-scroll-spacer {
  position: relative;
  pointer-events: none;
}

.promoObjectEmpty {
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
  color: darkred;
}
#viewcontrols {
  text-align: center;
  width: 90%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  height: 42px;
  color: #fff;
  font-size: 18px;
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
}
.bothends {
  width: 110px;
  transform: translate(0, 20%);
}
#iconsize {
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
  width: 260px;
  margin-left: 20px;
  margin-right: 20px;
}

#iconsize::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

#iconsize::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

#sortbutton {
  background: none;
  border: 2px solid white;
  color: white;
  text-align: center;
  display: inline-block;
  font-size: 17px;
  border-radius: 8px;
  width: 68px;
  height: 26px;
  font-family: ptsans-narrow;
}
#gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 960px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}
.box {
  width: 28%;
  text-align: center;
  font-size: 18px;
  margin: 3px 3px 3px 3px;
  background: #fff;
  transition: opacity 1s;
  border-radius: 12px;
}
.box img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Sort Controls */
#sortwindow {
  width: calc(90% - 20px);
  max-width: 460px;
  text-align: left;
  font-size: 18px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  transition: max-height 1s, padding 0.5s, opacity 1s, margin-bottom 1s;
  border-radius: 15px;
  padding: 0;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
}
#sortTitle {
  font-size: 20px;
  color: #ffffff;
}
#sortClose {
  text-align: right;
}
#OptionsTable {
  width: 100%;
  transform: translate(0, -2px);
}
#closebtn {
  width: 22px;
}
#searchtext {
  width: calc(100% - 88px);
  transform: translate(0, -1px);
}
.sortTable {
  width: calc(100% - 16px);
  margin-left: 16px;
  table-layout: fixed;
}
#zoneTable {
  width: calc(100% - 16px);
  margin-left: 16px;
}
.selectCell {
  vertical-align: top;
  text-align: left;
}
#mapcell {
  text-align: center;
}
#zonezip {
  width: 45px;
}
.checkAll {
  float: right;
  font-size: smaller;
  margin-right: 4px;
  margin-top: 2px;
  color: blue;
  display: none;
  cursor: pointer;
}
.panel {
  background-color: #ffffff;
  transition: max-height 0.3s ease-out;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid darkgray;
}
#line2, #line3, #line4, #line5, #line6 {
  margin-top: 5px;
  background: #a6a6a6;
}
#line1 {
  background: #fbfcb8;
}
#sortBottom {
  margin-top: 3px;
  color: #ffffff;
  width: 100%;
}
#sortBottom table {
  width: 100%;
}
#summary {
  width: 50%;
  text-align: left;
  font-size: smaller;
}
#displayCell {
  width: 50%;
  text-align: right;
}
hr {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}
.sectionLinks {
  font-family: "forgotten_futurist_rg";
  font-size: 24px;
  margin-top: -8px;
  margin-bottom: -8px;
}
.phone{
  text-decoration: none;
}
a.phone:link, a.phone:visited {
  color: #3d7d1e;
}
a.phone:hover {
  color: #56b627;
}
a.phone:active {
  color: #fff5a4;
}

/* books page */

#galleryB {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  max-width: 960px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  transition: height 1s, opacity 1s;
}
.shelf {
  width: 100%;
  text-align: center;
  margin-bottom: -20px;
}
.stack {
  justify-content: center;
  text-align: center;
  display: flex;
  flex-direction: row;
  width: 100%;
}
.bookTitle {
  max-height: 44px;
  width: 25%;
  margin-top: 4px;
  margin-bottom: 4px;
  overflow: hidden;
}
.author {
  font-size: smaller;
}
.book {
  height: 25%;
  width: 25%;
  text-align: center;
  transition: opacity 1s;
  margin-top: 4px;
  margin-bottom: 4px;
}
.book img {
  width: 100%;
}
.glass {
  width: 100%;
  position: relative;
  transform: translate(0, -46%);
  z-index: -1;
}
.glass img {
  width: 100%;
  padding-bottom: 4px;
}
.stack2 {
  justify-content: center;
  text-align: center;
  display: flex;
  flex-direction: row;
  width: 100%;
  position: relative;
  transform: translate(0, -100%);
}
.price {
  max-height: 44px;
  width: 25%;
  position: relative;
  margin-top: 4px;
  margin-bottom: 4px;
  overflow: hidden;
}


@media screen and (orientation: portrait) and (max-width: 400px){

h1 {
  font-size: 14px;
}
#viewcontrols input {
  width: 130px;
}
#sortbutton {
  width: 62px;
  transform: translate(-2px, 0);
}
#sortwindow {
  font-size: 14px;
}
#sortTitle, #sortBottom {
  font-size: 16px;
}
.promotext {
  font-size: 20px;
}
.sectionLinks {
  font-size: 20px;
}
.disappear {
  display: none;
}
#galleryB {
  font-size: 14px;
}
.bookTitle {
  max-height: 34px;
}
.price {
  transform: translate(0, 80%);
  max-height: 34px;
}

.promoCoverflow {
    --cf-img-size: 82px;
    --cf-spacing: 24px;
    --cf-img-bottom: 32px;
    --cf-title-height: 18px;
    --cf-title-bottom: 6px;
    margin-top: -24px;
  }
.promoObjectHeader {
  font-size: 14px;
}
.inlineObject {
  width: 87%;
}
.inlineAd img {
  width: 87%;
}

}

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

h1 {
  font-size: 18px;
}
#viewcontrols input {
  width: 160px;
}
#sortbutton {
  width: 66px;
  transform: translate(-2px, 0);
}
#sortwindow {
  font-size: 14px;
}
#sortTitle, #sortBottom {
  font-size: 16px;
}
.promotext {
  font-size: 24px;
}
.sectionLinks {
  font-size: 24px;
}
.disappear {
  display: none;
}
#galleryB {
  font-size: 14px;
}
.bookTitle {
  max-height: 34px;
}
.price {
  transform: translate(0, 50%);
  max-height: 34px;
}

.promoCoverflow {
    --cf-img-size: 82px;
    --cf-spacing: 24px;
    --cf-img-bottom: 32px;
    --cf-title-height: 18px;
    --cf-title-bottom: 6px;
    margin-top: -24px;
  }
.promoObjectHeader {
  font-size: 14px;
}
.inlineObject {
  width: 87%;
}
.inlineAd img {
  width: 87%;
}

}

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

h1 {
  font-size: 22px;
}
#viewcontrols input {
  width: 250px;
}
#sortbutton {
  width: 68px;
}
#sortwindow {
  font-size: 16px;
}
#sortTitle, #sortBottom {
  font-size: 18px;
}
.promotext {
  font-size: 22px;
}
.sectionLinks {
  font-size: 22px;
}
.disappear {
  display: inline-block;
}
#galleryB {
  font-size: 15px;
}
.bookTitle {
  max-height: 36px;
}
.price {
  transform: translate(0, 30%);
  max-height: 36px;
}

.promoCoverflow {
    --cf-img-size: 120px;
    --cf-spacing: 44px;
    --cf-img-bottom: 44px;
    --cf-title-height: 22px;
    --cf-title-bottom: 10px;
    margin-top: -26px;
  }
.promoObjectHeader {
  font-size: 16px;
}
.inlineObject {
  width: 86%;
}
.inlineAd img {
  width: 86%;
}

}

@media screen and (orientation: portrait) and (min-width: 600px){

h1 {
  font-size: 26px;
}
#sortwindow {
  font-size: 18px;
}
#sortTitle, #sortBottom {
  font-size: 20px;
}
#galleryB {
  font-size: 18px;
}
.bookTitle {
  max-height: 44px;
}
.price {
  transform: translate(0, -20%);
  max-height: 44px;
}

.promoCoverflow {
    --cf-img-size: 150px;
    --cf-spacing: 55px;
    --cf-img-bottom: 44px;
    --cf-title-height: 22px;
    --cf-title-bottom: 10px;
    margin-top: -26px;
  }
.promoObjectHeader {
  font-size: 18px;
}
.inlineObject {
  width: 86%;
}
.inlineAd img {
  width: 86%;
}

}

@media screen and (orientation: portrait) and (min-width: 960px){

h1 {
  font-size: 30px;
}
.price {
  transform: translate(0, -30%);
}

.promoCoverflow {
    --cf-img-size: 136px;
    --cf-spacing: 54px;
    --cf-img-bottom: 38px;
    --cf-title-height: 20px;
    --cf-title-bottom: 8px;
    margin-top: -28px;
  }
.promoObjectHeader {
  font-size: 20px;
}
.inlineObject {
  width: 85%;
}
.inlineAd img {
  width: 85%;
}

}

@media screen and (orientation: landscape) {

h1 {
  font-size: 30px;
}
.disappear {
  display: inline-block;
}
#sortbutton {
  width: 68px;
}
#sortwindow {
  font-size: 18px;
}
#sortTitle, #sortBottom {
  font-size: 20px;
}

.promoCoverflow {
    --cf-img-size: 136px;
    --cf-spacing: 54px;
    --cf-img-bottom: 38px;
    --cf-title-height: 20px;
    --cf-title-bottom: 8px;
    margin-top: -28px;
  }
.promoObjectHeader {
  font-size: 20px;
}
.inlineObject {
  width: 85%;
}
.inlineAd img {
  width: 85%;
}

}



