/*************************************************************/
/* css/style.css                                             */
/*                                                           */
/* VERSION: 1.2                                              */
/*                                                           */
/* MODIFIED: 03/23/2017                                      */
/*                                                           */
/* Description: General Style Sheet                          */
/*                                                           */
/* HISTORY:                                                  */
/*   1.2 - 03/23/2017 - New Ads                              */
/*                    - Re-enable Amazon Canada              */
/*   1.1 - 03/18/2017 - Re-Initialize FBS                    */
/*   1.0 - 09/25/2015 - Added a Date Added Sort              */
/*                                                           */
/*************************************************************/

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: Arial;
  font-size: 16px;
  color: #424242;
  background-color: white;
}

h1, h2, h3, h4, h5 {
  margin: 0;
}

a:link, a:visited, a:active {
  text-decoration: none;
}

header, nav, footer, section, article, div {
  box-sizing: border-box;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img, embed, object, video {
  max-width: 100%;
}


/* SECTION LAYOUT */
header {
  margin: 0;
  border-bottom: 1px #888 solid;
  background-color: #E7E7E7;
}
header img#menuimg {
  float:right;
  width: 22px;
  margin: 1.2em 1em 1em 1em;
}
header img#titleimg {
  width: 280px;
  margin: 1em 1em 1em .5em;
}
nav#search {
  padding: 1em .25em;
  text-align: right;
  float: right;
}
nav#search img#searchimg {
  height: 25px;
}
a.open#searchexpand {
  display: none;
}
div#searchbox {
  display: none; 
}
div.open#searchbox {
  display: block;
}
nav#search #searchinput {
  margin-right: 5px;
  width: 120px;
  color: #A3A3A3;
  font-style: italic;
}
#emailsignup_input {
  width: 240px;
  color: #A3A3A3;
  font-style: italic;
}
nav#current, nav#currentbig, nav#category {
  padding: .25em;
}
nav#current, nav#currentbig {
  padding-top: 1em;
}
nav#current img {
  height: 25px;
  margin-right: .25em;
}
nav#category {
  font-size: 1.2em;
  margin-bottom: .25em;
}
div#sort, div#sortbig {
  text-align: right;
  font-size: .75em;
  clear: right;
  margin-top: .25em;
}
div#sort a, div#sortbig a {
  font-weight: normal;
}
div#sort span, div#sortbig span {
  font-weight: bold;
}
div#sortbig { 
  font-size: .9em;
  display: none; 
  float: right;
  margin-bottom: 1em;
  margin-right: .5em;
}
div#allcats_header {
  width: 100%;
}
div#browse {
  font-size: .75em;
  font-style: italic;
  float: left;
  width: 150px;
}
div.bigblurb {
  text-align: left;
  float: right;
  width: 580px;
  margin-top: .5em;
  display: none;
}
div.bigblurb#searchresults {
  font-size: 2em;
}

section#advert {
  background-color: #B3ECFF;
  display: none;
}
main {
  font-size: .9em;
  min-height: 70%;
  background-color: white;
  display: block;
}
main table td {
  padding: .4em .25em;
}
footer {
  padding: 2em .25em;
  font-size: .85em;  
  clear: both;
  background-color: white;
}

a#sourceexpany {
    margin: 0 .25em 0 .5em;
}
a#sourceexpand img {
}
a#categoryexpand {
    color: blue;
    text-decoration: underline;
}
a#categoryexpand:hover {
    cursor: pointer;
}

nav#sourcelist, nav#categorylist {
  width: 200px;
  position: absolute;
  transform: translate(-200px, 0);
  -ms-transform: translate(-200px, 0);
  -webkit-transform: translate(-200px, 0);
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
  background-color: #F3F3F3;
  left: 0px;
  z-index: 99;
}
nav#categorylist {
  width: 300px;
  transform: translate(-300px, 0);
  -ms-transform: translate(-300px, 0);
  -webkit-transform: translate(-300px, 0);
  background-color: #F3F3F3;
}
nav#categorylist h2 {
  font-size: 1.2em;
  font-weight: normal;
  padding: .25em;
}
#catlist_cats {
  border-bottom: 1px #888 solid;
  border-right: 1px #888 solid;
}
#catlist_ad {
  display: none;
}
nav#sourcelist {
  border-bottom: 1px #888 solid;
  border-right: 1px #888 solid;
}
nav#sourcelist a {
  color: black;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  padding: .5em 0em;
}
nav#sourcelist a:hover {
  color: #C70000;
}
nav#sourcelist ul {
}
nav#sourcelist ul li {
  border-top: 1px #D7D7D7 solid;
  padding-left: .5em;
}
nav#sourcelist ul li:first-child {
  border-top: none;
}

nav#categorylist ul {
  background-color: #F3F3F3;
  border-top: 1px #A3A3A3 solid;
  margin: .5em 0 1em 0;
}
nav#categorylist ul.double {
  -webkit-column-count: 2; /* Chrome, Safari, Opera */
  -moz-column-count: 2; /* Firefox */
  column-count: 2;
}
nav#categorylist ul li {
  font-size: .9em; 
  padding: 1em 1em 0 1em;
 -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
  page-break-inside: avoid; /* Firefox */
  break-inside: avoid; /* IE 10+ */
}
nav#categorylist div#allcats {
  margin-top: .5em;
  border-top: 1px #A3A3A3 solid;
  padding: .5em;
}

nav#menulist {
  border-bottom: 1px #888 solid;
  border-left: 1px #888 solid;
  width: 200px;
  position: absolute;
  transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
  background-color: #F3F3F3;
  left: 100%;
  z-index: 99;
  display:none;
}
nav.open#menulist {
  transform: translate(-200px, 0);
  -ms-transform: translate(-200px, 0);
  -webkit-transform: translate(-200px, 0);
  display:block;
}
nav#menulist ul li {
  padding: .5em 1em;
  border-top: 1px #D7D7D7 solid;
}

nav#menulist {
  box-shadow: -3px 3px 10px #333;
}
nav#menulist ul li#social img {
  height: 22px;
  float: left;
  margin-bottom: .5em;
  margin-right: .6em;
}

#current a, nav#currentbig a, #category a {
  font-weight: bold;
}

nav.open#sourcelist, nav.open#categorylist {
  transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
}

ul#books {
  font-size: .9em;
  margin: 0em .25em;
  clear: right;
  background-color: white;
}
ul#books li {
  border-top: 1px #D7D7D7 solid;
  padding: .5em .25em;
}
ul#books li:first-child {
  border-top: 1px #888 solid;
}
ul#books li div.rating {
  text-align: right;
  font-style: italic;
}
ul#books li .verified {
  margin-top: .25em;
  text-align: right;
  font-size: .85em;
}
ul#books li .verified.old span {
  color: #C70000;
  border-bottom: 1px #C70000 dotted;
  cursor: help;
}

table#books {
  margin: 0px;
  padding: 0px;
  border-spacing: 0px;
  max-width: 100%;
}
table#books td {
  font-size: .9em;  
  border-top: 1px #F3F3F3 solid;
  border-right: 1px #F3F3F3 solid;
}
table#books td.catheader {
  font-weight: bold;
  font-size: 1em;
  background-color: #F3F3F3;
  border-top: 1px #888 solid;
  margin-top: 10px;
}

main#special {
  padding: 2em 1em;
}

div.faq_question {
  margin-top: 1em;
  font-weight: bold;
}

ul#terms {
  list-style: disc;
}
ul#terms li {
  padding: .25em;
  margin-left: 1em;
}

nav#pagenav {
  padding: .5em;
  text-align: center;
  border-top: 1px #888 solid;
  background-color: #D7D7D7;
  color: #333;
  margin-top: 1em;
}

li#midtable_ad {
  text-align: center;
}
li#midtable_ad div {
  width: 360px;
}

div.catancestors {
  font-size: .85em;
  padding-top: .25em;
}
div.catancestors#head {
  font-size: 1em;
  padding: .25em;
}
div.currentcat {
  padding: .5em .25em .25em .5em;
  font-size: .85em;
}
div.currentcat span.arrow {
  font-weight: bold;
}
div.currentcat a, div.currentcat span.num {
  font-weight: bold;
}
nav#currentbig { display: none; }

div#bannerad {
  display: none;
  float: left;
  margin: .25em 0;
}
div#defaultview {
  margin-top: .25em;
  font-size: .85em;
  font-style: italic;
}

div#alerthead, div#alert {
  display: none;
}
div#socialdiv {
  display: none;
}

section#subheader {
  padding: 0 .5em .5em .5em;
  font-style: italic;
  background-color: #E7E7E7;
  border-bottom: 1px #888 solid;
  color: black;
  display: none; 
}

div#headeralert { display: none; }

div#othercats_head {
  margin-top: .5em;
  padding-top: .5em;
  padding-left: .5em;
  border-top: 1px #D7D7D7 solid;
  font-weight: bold;
  font-style: italic;
}
div#extrainfo {
  display: none;
}
select#sourcelist_select {
  display: none;
  margin: .5em 0em;
}

#n2k h1, #n2k h2, #n2k h3, #n2k p {
  margin: 0px; 
  padding: 0px;
}
#n2k h1 {
  margin-top: 40px;
}
#n2k h2 {
  margin-top: 20px;
}
#n2k h3 {
  margin-top: 10px;
}
#n2k p {
  margin-top: 5px;
}
#nook2kindle {
  clear: both;
  margin-left: 5px;
  font-size: 10pt;
  font-style: italic;
  display: none;
}

#title {
  color: #333;
  width: 100%;
  height: 100%;
}
#title_rightblock {
  float: right;
}
#title_link {
  font-weight: bold;
  font-variant: small-caps;
  font-size: 24pt;
  text-shadow: 2px 2px 3px #999;
  margin: 0px 8px;
  padding: 10px 0px;
}
#title_link a {
  color: #333;
}
#title_blurb {
  display: none;
  font-size: 12pt;
  font-style: italic;
  font-variant: normal;
  font-weight: normal;
  margin: 0px 10px 10px 10px;
}
#link_ad {
  margin-bottom: 1em;
}
