/*! 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
   ========================================================================== */
   html {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
   }

   *, *:before, *:after {
    -webkit-box-sizing: inherit;
            box-sizing: inherit;
   }

html {
    font-family: 'Open Sans', sans-serif;
    /*background-color: #fff;
    background-image: url(../img/pieces-left.jpg), url(../img/pieces-right.jpg);
    background-position: left 0%, right 0%;
    background-repeat: no-repeat, no-repeat;
    background-size: 30%, 30%;
    background-attachment: fixed;*/
     /*background: radial-gradient(closest-side at 60% 55%, #c00, #fc0, #fff000);*/
     /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fef8cd+0,efbf3e+8,f8d5c3+9,eec856+15,eec856+15,f9d5b7+16,e7a527+32,e7a527+32,ec8b2b+33,ea814a+53,ec8b2b+53,ec8b2b+54,ea814a+67,e15841+68,e15841+100 */
     background: #e25b43; /* Old browsers */ /* FF3.6-15 */
     background: -webkit-radial-gradient(center, circle cover, #fef8cd 0%,#fef8cd 15%,#efbf3e 15%,#efbf3e 25%,#eaa02b 25%,#eaa02b 35%,#ed862c 35%,#ed862c 54%,#e77339 54%,#e77339 75%,#e25b43 75%,#e25b43 100%); /* Chrome10-25,Safari5.1-6 */
     background: -webkit-radial-gradient(center, circle, #fef8cd 0%,#fef8cd 15%,#efbf3e 15%,#efbf3e 25%,#eaa02b 25%,#eaa02b 35%,#ed862c 35%,#ed862c 54%,#e77339 54%,#e77339 75%,#e25b43 75%,#e25b43 100%);
     background: -o-radial-gradient(center, circle, #fef8cd 0%,#fef8cd 15%,#efbf3e 15%,#efbf3e 25%,#eaa02b 25%,#eaa02b 35%,#ed862c 35%,#ed862c 54%,#e77339 54%,#e77339 75%,#e25b43 75%,#e25b43 100%);
     background: radial-gradient(circle at center, #fef8cd 0%,#fef8cd 15%,#efbf3e 15%,#efbf3e 25%,#eaa02b 25%,#eaa02b 35%,#ed862c 35%,#ed862c 54%,#e77339 54%,#e77339 75%,#e25b43 75%,#e25b43 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fef8cd', endColorstr='#e15841',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

body {
    margin: 0;
    padding: 0;
}

#wrapper {
     width: 100%;
     max-width: 1000px;
     margin: 0 auto;
     color: #33;
     /*padding: 0 12px;*/
     background-color: #fff;
     background-color: rgba(242, 242, 242, .55);
     padding: 24px; 
     font-family: 'Montserrat', sans-serif;
     text-align: center;
     position: relative;
    /*  background-image: url(../img/TheHush_header_bg.jpg);
    background-position: 0% 11%;
    background-repeat: no-repeat;
    background-size: contain;*/
}



header {
     width: 100%;
     font-size: 1.25em;
     padding:  12px 0 0 0;
     margin: 0 0 12px 0;
     text-align: center;
     color: #333;
     font-family: 'Montserrat', sans-serif;
}
header h1, header h2 {
    margin: 0 0 24px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;

}


header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    line-height: 1.0em;
    font-weight: 700;
}
header h1 span {
    display: block;
    font-size:.34em;
    margin: 0;
    line-height: .88em;
}
header h2 {
    font-size: 1.12em;
    padding: 0 4px;
    /*color: #e0ba50;*/
}
header h3 {
    color: #497DB6;
}
header h4 {
    display: inline-block;
    padding: 6px 0;
    color: #be9f86
}
header cite {
    color: #9ddae8;
}
header p {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 8px;
}
   
.container {
    margin: 24px auto;
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 2fr 1.5fr;
            grid-template-columns: 2fr 1.5fr;
        -ms-grid-rows: auto auto auto;
            grid-template-rows: 1fr auto auto;
        grid-row-gap:    20px;
        grid-column-gap: 8px;
}


.container > div {
     /*border:1px solid #666;*/
}

.container p {
     /*border: 1px solid #c00;*/
}

.book {
    /*background-color: #4FC941;*/
    padding: 12px;
    -ms-grid-row:    1;
        grid-row-start:    1;
    grid-row-end:      1;
    -ms-grid-column: 1;
        grid-column-start: 1;
    grid-column-end:   1;
}
.book a {
  background-color:#c00;
  padding: 12px;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  display: inline-block;
}


img {
    height: auto;
    width: auto;
    max-width: 100%;
}

.buylinks {
    padding: 0 6px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    /*background-color: #C9895C;*/
    -ms-grid-row:    1;
        grid-row-start:    1;
    grid-row-end:      1;
    -ms-grid-column: 2;
        grid-column-start: 2;
    grid-column-end:   3;
   }

.buylinks a {
    padding: 10px 12px;
    background-color: #efefef;
    border:1px solid #777;
    margin: 0 0 12px 0;
    border-radius: 6px;
    display: block;

   }
.buylinks a img {
    max-height: 24px;
}

.buylinks a:hover {
    background-color: #fef4eb;
}

.copy {
    font-size: 1.15em;
    /*background-color: #60C9BF;*/
    -ms-grid-row:    2;
        grid-row-start:    2;
    grid-row-end:      2;
    -ms-grid-column: 1;
        grid-column-start: 1;
    grid-column-end:   3;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.44em;
}
.copy p {
    margin: 0 0 12px 0;
    padding: 0 12px;
}
.copy h3 {
    color: #cf0110; 
    font-size: 1.24em;
    line-height: 1.6em;
    margin: 0 0 24px 0;
    border-bottom: 1px dotted #be9f86;
    /*background-color: #be9f86;*/
    padding: 0 0 24px 0;
}
.testform {
    background-color: #FCBD9F;
   /* display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;*/
}
h4 {
    margin: 8px 0 12px 0;
    font-size: 1.05em;
    
}
.onsale {
    padding: 0px; 
    color: #be9f86;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35em;
}

q, cite {
    display: block;
}
.copy q {
  quotes: "\201C" "\201D";
  font-weight: 700; 
  text-transform: uppercase;
}

.quote q {
  /*quotes: "";*/
  font-weight: 700; 
  font-size: 1.25em;
}
.quote q:before,
.quote q:after {
 content: "";
}
cite {
    margin: 4px 0 16px 0;
    color: #A11400;
    font-style: normal;
    font-size: 1.1em;
    font-weight: 700;
}
cite:before {
  content: '\2014';
}

.quote {
  font-size: 1.35em;
  -ms-grid-row:    3;
      grid-row-start:    3;
  grid-row-end:      3;
  -ms-grid-column: 1;
      grid-column-start: 1;
  grid-column-end:   4;
  -ms-grid-column-span:3;
   
}
.quote span {
  font-weight: 400;
  text-transform: normal;
}

.quote p {
  font-size: 1.35em;
}

/*.quotes > div {
    padding: 36px;
}*/

#videoYT {
  width: 96%;
  overflow: hidden;
  clear: both;
  margin: 36px auto;
  font-family: 'Cinzel', serif;
  font-size: 1.5em;
  color: #333;
  text-align: center;
  line-height: 1.2em;
}

.videoContainer {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
}

.videoContainer iframe {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0px;
  border: 1px solid #173255;
}

.excerpt {
  text-align: left;
  padding: 24px;

}

.read-excerpt {
  width: 100%;
  padding: 12px;
  background-color: #fff;
  position: relative;
  font-size: 1.13em;
  border: 1px solid #ccc;
  margin-bottom: 4em;
  font-family: 'Lora', serif;
}

.read-excerpt h2 {
  text-align: center;
}

#linx {
  width: 100%;
  position: fixed;
  bottom: 45px;
  display: none;
}
.readlinks {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  background-color: #333;
  background-color: rgba(0, 0, 0, .65);
  /*left: 30%;*/
  /*display: none;*/
  /*visibility: hidden;*/
  
}

.readlinks a {
  font-family: 'Arimo', sans-serif;
  padding: 12px 8px;
  background-color: #e4eff1;
  border: 1px solid #bbb;
  margin: 12px 8px;
  text-align: center;
  -webkit-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
  cursor: pointer;
  border-radius: 6px;
  display: block;
  min-width: 130px;
}
.readlinks a img {
  max-height: 24px;
}

.hidelinks {
  /*display: none;*/
  visibility: hidden;
}

.readbuybtn {
  width: 100%;
  /*max-width: 910px;*/
  font-size: 1.3em;
  text-align: center;
  padding: 8px 0;
  background-color: #c00;
  color: #fff;
  position: fixed;
  bottom: 0;
  cursor: pointer;
}

.alldates {
  background-color: #faf4af;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.one-date {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 124px 1fr;
      grid-template-columns: 124px 1fr;
  /*display: flex;
  flex-wrap: wrap;*/
  padding: 8px;
  border-bottom: 1px solid #333;
}
.one-date > div:first-child {
  font-size: 3.0em;
  background-color: #e25a43;
  text-align: center;
  margin: 0 12px 0 0;
  border-radius: 4px;
  line-height: 1.5em;
  -ms-grid-column: 1;
      grid-column-start: 1;
}
.one-date h4 {
  margin: 0 12px 0 0;
  padding: 4px;
  display: inline-block;
}
.one-date-info {
  margin: 6px 0 0 0;
}

.one-date > div:nth-child(2) {
  -ms-grid-column: 2;
      grid-column-start: 2;
}


/*=========================FOOTER============================*/

footer {
    width: 100%;
    font-size: .75em;
    padding: 24px 0;
    /*background-color: #cdef34;*/
}

footer a {
    color: #E53800;
}
footer a:hover {
    color: #e0ba50;
}
footer a:visited {
    color: #AD5428;
}
.footerlinks {
    display: block;
    margin: 0 24px 0 0;
}

/* ==========================================================================
   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) {
    /* Style adjustments for viewports that meet the condition */
    html {
        
    }
    
    header {
        font-size: 1.5em;
        margin: 0 0 24px 0;
        background-size: auto;
    }
    header h1 {
        font-size: 4.25em;
        margin: 0 0 24px 0;
    }
    header h2 {
        font-size: 1.25em;
        margin: 14px 0 20px 0;
    }

    .container {
         display: -ms-grid;
         display: grid;
         -ms-grid-columns: 1.5fr 1fr 1.75fr;
             grid-template-columns: 1.5fr 1fr 1.75fr;
         -ms-grid-rows: auto auto;
             grid-template-rows: auto auto;
         grid-row-gap:    4px;
         grid-column-gap: 1rem;
    }
    .book {
      padding: 12px 0;
    }
    .copy {
        -ms-grid-row:    1;
            grid-row-start:    1;
        grid-row-end:      1;
        -ms-grid-column: 3;
            grid-column-start: 3;
        grid-column-end:   3;
        font-size: 1.0em;
        padding: 24px 24px;
    }

    .copy h3 {
        font-size: 1.15em;
        line-height: 1.4em;
        margin: 0 0 24px 0;
    }
    .copy q {
      font-size: 1.05em;
    }

    .buylinks a img {
        max-height: 28px;
    }

    q {
      font-size: 1.05em;
    }
    footer {
        margin: 64px 0;
    }
    .footerlinks {
        display: inline-block;
        margin: 0 24px 0 0;
    }
}

@media only screen and (min-width: 1024px) {
    

    #wrapper {
        margin: 24px auto;
        padding: 0 24px;
        background-color: rgba(242, 242, 242, .65);
       
    }
    header h1 {
         margin: 36px 0 36px 0; 

    }
    .container {
         grid-column-gap: 2em;
    }
    .book {
        /*padding: 2em 24px 0 24px;*/
    }
    .copy {
       padding: 8px 24px;
       font-size: 1.0em;
    }
    h4 {
        font-size: 1.25em;
    }
    .buylinks a {
        margin: 0 0 12px 0;
        padding: 14px 12px;
    }
}

@media screen and (min-width:0\0) {
    /* IE9 and IE10 rule sets go here */
  
    .buylinks {
        -webkit-flex-basis: 20%;
            -ms-flex-preferred-size: 20%;
                flex-basis: 20%;
    }

}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (-o-min-device-pixel-ratio: 5/4),
       (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 */
        -webkit-box-shadow: none !important;
                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;
    }
}


}
