/* Color Palette
 * Red  - rgb(232,92,47)
 * Tan  - rgb(250,234,209)
 * Blue - rgb(74,89,102)
 * Grey - rgb(244,244,243)
 *
 * Fonts
 * Headlines/Buttons: Raleway ExtraBold
 * Body Copy: Raleway Medium
 */


html, body {
  font-family: Raleway, Arial, Helvetica, Verdana;
  font-size: 11pt;
  color: rgb(255,255,255);
  background: rgb(255,255,255);
  margin: 0;
  padding: 0;
  line-height: 1.4em;
  height: 100%;
}
body {
  overflow-y: visible;
}
body:before {
  content:"";
  height:100%;
  float:left;
  width:0;
  margin-top:-32767px;
}
header, nav, section,
article, footer,
h1, h2, h3, h4, h5, h6,
p, blockquote, dl, dt, dd,
form, fieldset, textarea,
div, span, footnote {
  display: block;
  position: relative;
  z-index: 500;
  margin: 0;
  padding: 0;
  font-size: 100%;
}
h1, h2, h3, h4, h5, h6 {
  font-size: 1.5em;
  margin: 16px 0;
}
h2 {
  font-size: 1.3em;
}
h3 {
  font-size: 1.2em;
}
h4 {
  font-size: 1.1em;
}
h5, h6 {
  margin: 12px 0;
  font-size: 1em;
}
p {
  margin: 12px 0;
  max-width: 100%;
  font-size: 1em;
  line-height: 1.4em;
}
ol, ul, li {
  font-size: 1em;
  position: relative;
}
a, .a {
  margin:0;
  padding:0;
  text-decoration: none;
  font-size: 1em;
  color: rgb(255,255,255);
  cursor: pointer;
}
a:hover, .a:hover {
  color: rgb(107,115,123);
}
a:focus, a:active, .a:focus, .a:active {
  color: rgb(107,115,123);
  text-decoration: underline;
}
span /* span also listed above */ {
  display: inline-block;
}
input, label, select {
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 0;
}
table, tbody {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 11pt;
}
th, td {
  margin: 0;
  padding: 0;
}
fieldset, img {
  border: 0;
  margin: 0;
  padding: 0;
}
caption, th {
  text-align: left;
}
q:before, q:after {
  content:'';
}
abbr, acronym {
  border: 0;
}
hr {
  margin: 10px 0;
}
textarea {
  width: 400px;
  height: 50px;
}
input[type = "text"],
input[type = "email"] {
  width: 250px;
}




/* _____ Classes _____ */
body {
  min-width: 800px;
  max-width: 1000px;
  margin: 0 auto;
}
.flex-container {
  min-width: 400px;
  display: flex;
  justify-content: center; /* align horizontal */
  align-items: center;
  overflow: hidden;
  flex-wrap: nowrap;
  margin-bottom: 5px;
  z-index: 100;
}
.header_text,
.header_white {
  font-family: Raleway, Arial;
  font-size: 1.7em;
  font-weight: 900;
  text-transform: uppercase;
  color: rgb(232,92,47);
}
.header_white {
  color: rgb(255,255,255);
}
.flex-item {
  width: 50%;
  z-index: 200;
  overflow-y: visible;
}
.paragraph,
.paragraph_white {
  font-size: 0.9em;
  line-height: 1.4em;
  font-weight: 300;
  color: rgb(74,89,102);
}
.paragraph_white {
  color: rgb(255,255,255);
}


/* _____ Splash Panel _____ */
#splash {
  background: url(../img/splash.jpg);
}
#buy_the_book {
  position: absolute;
  right: 0;
  bottom:11%;
  width: 35%;
  min-width: 235px;
  max-width: 345px;
  height: 32%;
  min-height: 125px;
  max-height: 175px;
}
#upper_scallops,
#lower_scallops,
#side_scallops,
#upper_scallops_inspiration,
#upper_scallops_author,
#seagull,
#golden_gate_bridge {
  position: absolute;
  background: url(../img/sprite.png) -10px -11px;
}
#upper_scallops,
#lower_scallops {
  right: 0;
  width: 100%;
  max-width: 345px;
  height: 20px;
}
#upper_scallops {
  top:0;
}
#lower_scallops {
  bottom: 0;
  background-position: -10px -32px;
}
#buy_the_book_bold,
#where_available,
#buy_buttons {
  position: absolute;
}
#where_available {
  top: 38%;
}
#buy_the_book_bold {
  top: 18%;
}
#buy_buttons {
  top: 65%;
}
#amazon_button,
#retailers_button {
  left: 0;
  font-size: 0.8em;
  font-weight: 600;
  height: 1em;
  padding: 0.5em 1em;
  line-height: 1em;
  background: rgb(232,92,47);
  text-transform: uppercase;
  margin-right: 20px;
}
#retailers_button {
  left: 40%;
  margin-right: 0;
}


/* _____ Description _____ */
#description,
#inspiration,
#author_and_illustrator {
  z-index: 200;
  overflow: visible;
}
#description,
#author_and_illustrator {
  margin-bottom: 0;
}
#description_1 {
  background: rgb(250,234,209);
}
#side_scallops {
  top: 15%;
  left: 33%;
  height: 100%;
  max-height: 383px;
  width: 20px;
  background-position: -410px -7px;
}
#seagull {
  bottom: 0;
  right: 5%;
  width: 88px;
  height: 66px;
  background-position: -12px -100px;
}
#sea_lions_redwoods_bear_bear_oh_my {
  position: absolute;
  top: 15%;
  left: 15%;
  line-height: 1.5em;
}
#description_3 {
  margin-bottom: 0;
  width: 100%;
  min-height: 300px;
  background: rgb(244,244,243);
}
#golden_gate_bridge {
  top: 30%;
  left: 3%;
  width: 217px;
  height: 120px;
  background-position: -134px -91px;
}
#description_detail {
  position: absolute;
  top: 30%;
  left: 33%;
  width: 50%;
}
#discover_and_count {
  position: absolute;
  border: 2px solid rgb(250,234,209);
  top: 16%;
  left: 7%;
  width: 475px;
  height: 200px;
  padding: 5px;
}
#discover_and_count_interior {
  background: rgb(250,234,209);
  width: 100%;
  height: 100%;
}
#discover_and_count_title,
#discover_and_count_text {
  position: absolute;
  left: 10%;
  right: 10%;
}
#discover_and_count_title {
  position: absolute;
  top: 20%;
}
#discover_and_count_text {
  top: 40%;
}


/* _____ Inspiration _____ */
#inspiration_2 {
  background: rgb(244,244,243);
}
#inspiration_title,
#upper_scallops_inspiration,
#upper_scallops_author,
#inspiration_text,
#author_title,
#author_text {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
}
#upper_scallops_inspiration,
#upper_scallops_author {
  top: 23%;
  width: 80%;
  max-width: 400px;
  height: 10px;
  background-position: -9px -69px;
}
#inspiration_text {
  top: 29%;
}

/* _____ Author + Contact ______ */
#author_and_illustrator_detail {
  background: rgb(250,234,209);
}
#upper_scallops_author {
  top: 30%;
}
#author_title {
  line-height: 1.25em;
}
#author_text {
  top: 36%;
}

/* _____ Footer _____ */
#footer {
  height: 170px;
  background: rgb(232,92,47);
  margin-bottom: 0;
}
.footer-item {
  position: absolute;
  top: 30px;
  height: 80px;
  width: 13%;
  min-width: 100px;
}
.footer-item > :first-child {
  position: absolute;
  width: 10px;
  height: 100%;
  background: url(../img/sprite.png) -378px -94px;
}
.footer-item > :nth-child(2) {
  background: url(../img/sprite.png) -73px -223px;
  position: absolute;
  top: 0;
  left: 25px;
  width: 35px;
  height: 35px;
}
.footer-item > :nth-child(3) {
  position: absolute;
  top: 5px;
  left: 75px;
  width: 100%;
  height: 100px;
  color: rgb(250,234,209);
}
#footer {
  font-size: 0.8em;
  color: rgb(250,234,209);
}
.footer-item > :nth-child(3) > :first-child {
  text-transform: uppercase;
  font-weight: 900;
}
#follow,
#copyright {
  left: 5%;
}
#join {
  left: 27%;
}
#join:hover,
#join:active {
  cursor: pointer;
}
#join > :nth-child(2) {
  background-position: -137px -223px;
}
#see_more {
  left: 52%;
}
#see_more > :nth-child(2) {
  background-position: -200px -223px;
}
#contact {
  left: 73%;
}
#contact > :nth-child(2) {
  background-position: -268px -223px;
}
#copyright {
  position: absolute;
  width = 80%;
  bottom: 20px;
}


/* _____ POPUP _____ */
#popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index = 1000;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}
#popup_shell {
  position: relative;
  margin: 90px auto 0 auto;
  width: 500px;
  height: 500px;
  border: 1px solid rgb(250,234,209);
}
#popup {
  margin: 1%;
  height: 98%;
  width: 98%;
  background: rgb(250,234,209);
}
#popup_close {
  position: absolute;
  right: 30px;
  top: 30px;
  z-index: 1000;
  width: 30px;
  height: 30px;
  background: rgb(232,92,47);
  -moz-border-radius: 30px;
  border-radius: 30px;
  text-align: center;
  font-size: 29px;
  overflow: hidden;
}
#puCloseX,
#puCloseY {
  position: absolute;
  top: 14px;
  left: 5px;
  height: 2px;
  width: 21px;
  background-color: rgb(250,234,209);
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
#puCloseY {
  top: 14px;
  left: 4px;
  transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.popup_content {
  position: absolute;
  top: 60px;
  left: 50px;
  right: 80px;
}
.popup_title {
  font-size: 1.8em;
  color: rgb(232,92,47);
  margin-bottom: 20px;
}
.popup_description,
.popup_body {
  font-size: 0.9em;
  color: rgb(74,89,102);
}
.popup_horizontal_squiggle {
  width: 345px;
  height: 10px;
  margin: 30px 0;
  background: url(../img/sprite.png) -10px -70px;
}
.popup_body {
  max-height: 220px;
  overflow-y: scroll;
}
.store {
  margin-bottom: 15px;
}
.store > span:first-child {
  text-transform: uppercase;
  font-weight: 700;
  color: rgb(232,92,47);
  margin-right: 5px;
}
.store > span:last-child {
  color: rgb(74,89,102);
}


