/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*page main colors*/
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html {
  background-color: #ccc;
    background: url(../img/sea-bg.jpg) no-repeat center center fixed #e6e6e6;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

#wrapper {
  width: 95%;
  margin: 24px auto;
  /*border: 1px solid $linkColor;*/
  overflow: hidden;
  background-color: #e9e7d0;
  background-color: rgba(255, 255, 255, .65);
  font-family: 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif;
  box-shadow: 0 0 24px #000;
}


header {
/*  background-color: #f8d64f;*/
  text-align: center;
  padding: 12px 6px;
  color: #333;
  font-weight: 400;
  font-family: 'Crimson Text', rserif;
}

header h1 {
  font-size: 3.25em;
  margin: .012em 0; 
  font-weight: 400;
  color: #d93432;
  line-height: 1.0em;
}

header h2 {
  font-size: 1.84em;
  margin: 0;
}

header h3 {
  font-size: 1.2em;
  margin: 0;
  font-weight: 400;
  font-family: 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif;
}

.title {
  font-size: 2.75em;
  letter-spacing: .024em;
  font-weight: 700;
  background-color: #000;
  color: #fff;
  margin: 8px 0;
}

section {
  /*background-color: #efefef;*/
}

section:nth-last-child(2) {
  margin-bottom: 2em;
}

.book {
  width: 48%;
  float: left;
  margin: 0 8px 0 4px;
  text-align: center;
  position: relative;
}

.book img {
  height: auto;
  width: auto;
  max-width: 100%;
}

.burst {
  width: 42%;
  position: absolute;
  top: 0;
  right: -24px;
}

.excerpt {
  border: 0;
  background-color: #333;
  color: #fff;
  width: 98%;
  margin: 12px auto;
  border-radius: 4px;
  padding: 6px 0;
  font-size: .78em;
}

.excerpt-cta img {
  vertical-align: text-top;
}

.excerpt-cta:before {
  /*content: url(../img/excerpt_icon.png);*/
  background-image: url("../img/excerpt_icon.png");
  background-size: 36px 23px;
  display: inline-block;
  width: 36px;
  height: 23px;
  margin-bottom: -6px;
  content: "";
}

.excerpt:hover {
  background-color: #d93432;
}

/*===========================Retail Links============================*/
.onsale {
  width: 100%;
  text-align: center;
  font-size: 1.6em;
  margin: .24em 0;
}


.buylinks {
  width: 48%;
  overflow: visible;
  float: left;
}

.buy-table {
  display: table;
  margin: 0 auto;
}

#myButtons {
  width: 98%;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
  text-align: center;
  float: left;
}

#myButtons li {
  list-style: none;
  display: inline-block;
  padding: 6px;
  margin: 6px 4px;
  text-align: center;
  background-color: #efefef;
  border-radius: 6px;
  width: 80%;
  border: 1px solid #444;
}

#myButtons a img {
  width: auto;
  height: auto;
  max-width: 100%;
}

ul#myButtons li:hover {
  background-color: #e8cf94;
}

/*===============================main copy===============================*/
.copy {
  width: 100%;
  float: left;
  padding: 0 12px;
  margin: 0 0 24px 0;
}
.copy p {
  margin: 0 0 14px 0;
}

q {
  display: block;
  margin: 24px 0 0 0;
  quotes: "\201C" "\201D";
}

cite {
  display: block;
  margin-top: 2px;
  font-weight: 700;
  font-style: normal;
  color: #555;
}

cite:before {
  content: '\2014';
}

/*==================================Footer==================================*/
footer {
  width: 100%;
  margin: 30px auto 0px;
  background-color: #000;
  font-family: 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: .75em;
  text-align: center;
  padding: 6px 0px;
  color: #fff;
  border-top: 0px solid #999;
  clear: both;
}

footer a {
  color: #fff100;
  margin: 0 6px;
  text-decoration: none;
}

footer a:hover {
  color: #c00;
}

footer a:visited {
  color: #ccbf66;
}

.footerlinks {
  width: 100%;
  margin: .64em 0;
}

/*=================================Sign Up Form===============================*/
#myForm {
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    background-color: #fff;
    padding: 12px;
    font-size: 1.0em;
    font-family: sans-serif;
    overflow: hidden;

}
#myForm h1 {
    font-size: 1.44em;
    margin: 0 0 12px 0;
    text-align: center;
    font-family: 'Alegreya', serif;
    color: #c00;
}

#macsite input[type="submit"] {
    background-color: #c00;
    color: #fff;
    font-size: 1.3em;
    padding: 8px 24px;
    border: 0;
    display: block;
    width: 98%;
    cursor: pointer;
}

#macsite input[type="submit"]:hover {
    background-color: #03739d;
    color: #fff;
}

#macsite input[type="text"] {
    background-color: #efefef;
    color: #333;
    border: 1px solid #b9b9b9;
    margin: 0 0 8px 0;
    padding: 6px 6px;
    width: 260px;
    font-size: .84em;
    display: inline-block;
    font-family: sans-serif;
    border-radius: 0px;
}
#macsite input[type="text"][name="txtEmail"] {

    margin: 0 0 16px 0;

}

label {
  font-size: .78em;
  font-family: sans-serif;
  width: 72px;
  display: inline-block;
    padding: 7px 0 4px 0;
    float: left;
}

input#cboAgeYear.input {
    width: 96px;
}
.birth {
    width: 100%;
    float: left;
    margin: 0px 0;
    clear: both;
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.msg {
    font-size: .84em;
    display: block;
    float: left;
    margin: 8px 0;
}

.birth select {
   background: transparent;
   width: 180px;
   padding: 5px;
   font-size: 16px;
   line-height: 1;
   border: 1;
   border-radius: 0;
   height: 34px;
   -webkit-appearance: none;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 768px) {
  /*.burst {
      width: 40%;
  }*/
  .excerpt {
    width: 65%;
    font-size: 1.1em;
    }
  }
@media only screen and (min-width: 900px) {
  /* Style adjustments for viewports that meet the condition */
  #wrapper {
    max-width: 960px;
  }
  header {
    padding: 0 0 24px 0;
  }

  header h1 {
    font-size: 7.8em;
    line-height: 1.0em;
  }

  header h2 {
    font-size: 2.4em;
    margin: 12px 0 0 0;
  }

  header h3 {
    font-size: 2.0em;
  }
  .title {
    font-size: 5.0em;
  }

  .book {
    width: 32%;
    float: left;
    margin: 0 8px 48px 4px;
    text-align: center;
    position: relative;
  }

  .buylinks {
    width: 30%;
  }

  .copy {
    width: 36%;
    font-size: 1.42em;
  }

  .burst-text {
    font-size: 1.3em;
    line-height: 1.2em;
    position: absolute;
    vertical-align: middle;
    padding: 28% 0 0 0;
  }

  section:nth-last-child(2) {
    margin-bottom: 5em;
  }

  footer {
    padding: 24px;
    margin-top: 2em;
  }

  .footerlinks {
    display: inline;
    }
  }
@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *:before,
  *:after,
  *:first-letter,
  *:first-line {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster:
       http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
    }
  }

/*# sourceMappingURL=main.css.map */
