body {
  font-size: 16px;
  background-color: #006F9F;
  font-family: "PT Serif", "Times New Roman", serif;
}

/*=== typography ===*/

h1, h2, h3, h4, h5, h6, figcaption, #mainmenu, #footer {
  font-family: Helvetica, Verdana, Arial, sans-serif;
  font-weight: normal;
}
h1 { font-size: 30px; margin-bottom: 1em; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

figcaption {
  font-size: 0.95em;
  font-style: italic;
  text-align: center;
  margin-top: -10px;
}

i.icon-primary {
  color: #1C6C95 !important;
}

.align_left {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}
.align_right {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
}
.align_center {
  margin-top: 10px;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

video {
  height: auto !important;
  width: 100% !important;
}
.video-container {
  margin-top: 3em;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.video-wrapper {
  height: 0;
  padding-bottom: 56.25%;
  padding-top: 25px;
  position: relative;
}
.video-wrapper iframe,
.video-wrapper object,
.video-wrapper embed {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}


/* Layout */

#mainmenu {
  background-color: #105175;
}

#main-content {
  background-image: url(../images/love-never-past-tense-bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 858px;
  background-color: #fff;
}

#home-left {
  min-height: 858px;
  padding: 50px 50px 20px 20px;
}

#home-left img {
  display: block;
  margin: 0 auto 30px auto;
}

.home-text {
  font-size: 0.9em;
  line-height: 1.5em;
  color: #fff;
}

div#header {
}

#content {
  background-color: #fff;
  padding-top: 35px;
  padding-bottom: 25px;
}

#left {
  padding-left: 10px;
}

#middle {
}

#right {
  padding-right: 10px;
}

.testimonial-author {
  display: block;
  margin-left: 5%;
  margin-right: 30%;
  padding-bottom: 15px;
  border-bottom: 1px #cccccc dotted;
  margin-bottom: 25px;
}

#footer-outer {
  color: #fff;
  background-color: #105175;
  padding-top: 20px;
  padding-bottom: 60px;
  margin-top: 0px;
}
#footer-left {
}

#footer-right {
  padding-top: 20px;
  text-align: center;
}

#footer a,
#footer a:link,
#footer a:visited {
  color: #ACCAD7;
  text-decoration: none;
}
#footer a:hover {
  color: #ffffff;
}

#back-top span {
  width: 50px;
  height: 50px;
  display: inline-block;
  margin-bottom: 25px;
  background: #dddddd url(up-arrow.png) no-repeat center center;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
  position: fixed;
  bottom: 0px;
  right: 0px;
  z-index: 9999;
}


#gr_add_to_books {
 padding-left: 15px; 
 padding-top: 15px; 
}

.jotform-form {
  padding: 0 !important;
}


table tbody, table tfoot, table thead, tr, td {
  border: none;
  background-color: #fff;
}
#booksales table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  width: 100%;
  background-color: #fff;
}
#booksales tbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
}
#booksales tr {
  padding-bottom: 10px; 
  border-bottom: 1px #777 solid;
}  
#booksales td {
  padding: 0;
  margin: 0;
  text-align: left;
  font-weight: normal;
  vertical-align: top;
} 
#booksales input {
  width: 30%;
}


/* Foundation overrides */

#header-outer .grid-container {
  padding-right: 0 !important;
  padding-left: 0 !important;
}


/*=========== media queries =========*/

/* Small only */
@media screen and (max-width: 39.9375em) {
  #main-content {
    background-image: url('../images/love-never-past-tense-bg2.jpg');
    background-position: center center;
  }    
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  #main-content {
    background-image: url('../images/love-never-past-tense-bg2.jpg');
    background-position: center center;
  } 
}

/* Large and up */
@media screen and (min-width: 64em) {
 
#gr_add_to_books {
 padding-left: 75px; 
}
  
}




/*========= foundation visibility classes =========*/

@media screen and (max-width: 39.9375em) {
  .hide-for-small-only {
    display: none !important; } }

@media screen and (max-width: 0em), screen and (min-width: 40em) {
  .show-for-small-only {
    display: none !important; } }

@media screen and (min-width: 40em) {
  .hide-for-medium {
    display: none !important; } }

@media screen and (max-width: 39.9375em) {
  .show-for-medium {
    display: none !important; } }

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  .hide-for-medium-only {
    display: none !important; } }

@media screen and (max-width: 39.9375em), screen and (min-width: 64em) {
  .show-for-medium-only {
    display: none !important; } }

@media screen and (min-width: 64em) {
  .hide-for-large {
    display: none !important; } }

@media screen and (max-width: 63.9375em) {
  .show-for-large {
    display: none !important; } }

@media screen and (min-width: 64em) and (max-width: 74.9375em) {
  .hide-for-large-only {
    display: none !important; } }

@media screen and (max-width: 63.9375em), screen and (min-width: 75em) {
  .show-for-large-only {
    display: none !important; } }

.show-for-sr,
.show-on-focus {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0); }

.show-on-focus:active, .show-on-focus:focus {
  position: static !important;
  height: auto;
  width: auto;
  overflow: visible;
  clip: auto; }

.show-for-landscape,
.hide-for-portrait {
  display: block !important; }
  @media screen and (orientation: landscape) {
    .show-for-landscape,
    .hide-for-portrait {
      display: block !important; } }
  @media screen and (orientation: portrait) {
    .show-for-landscape,
    .hide-for-portrait {
      display: none !important; } }

.hide-for-landscape,
.show-for-portrait {
  display: none !important; }
  @media screen and (orientation: landscape) {
    .hide-for-landscape,
    .show-for-portrait {
      display: none !important; } }
  @media screen and (orientation: portrait) {
    .hide-for-landscape,
    .show-for-portrait {
      display: block !important; } }