@CHARSET "UTF-8";

@font-face {
  font-family: "tolkien";
  src: url("../fonts/tolkienregular.ttf") format("truetype");
  font-weight:  400;
  font-variant: normal;
  font-stretch: normal;
}


@font-face {
  font-family: "quad";
  src: url("../fonts/Quadranta-Regular.otf") format("opentype");
  font-weight:  400;
  font-variant: normal;
  font-stretch: normal;
}

@font-face {
  font-family: 'quad2';
  src: url('../fonts/quadranta-regular-webfont.woff2') format('woff2'),
       url('../fonts/quadranta-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

   
/* =================================================================
    GLOBAL
================================================================= */

html { font-size: 14px; background: #E0DBC5 url(../img/linen.png) 0 0 repeat; }

body {
  padding: 100px 0 0 0; /* 140px 0 0 0; */
  font-family: verdana, sans-serif;
  font-size: 14px;
  background: #F1EEDF url(../img/grain.png) 0 0 repeat;
  color: #643820;
  transition: all 0.2s ease-in-out; 
}


h1, h2, h3, h4, h5 {
  margin: 0 0 12px 0;
  font-family: 'trebuchet ms',tahoma,verdana,sans-serif;
  font-weight: bold;
  color: #643820;
}

h1 {font-size: 1.8rem;}
h2 { margin-bottom: 44px; font-size: 1.6rem; text-align: center;}
h3 {font-size: 1.3rem;}
h4 {font-size: 1.1rem}
h5 {margin: 0 0 4px 0; font-family: verdana, sans-serif; font-size: 100%;}

.toclist h5 { text-align: center; font-weight: normal; font-size: 110%; }
h5.toclisthdr { text-align: center; font-weight: normal; font-size: 130%; }

.subsection { margin: 0 20px 7px 20px;}

p {
  margin: 0 0 1.2em 0;
  padding: 0;
  line-height: 1.4em;
}

p.noindent {
  text-indent: 0px;
}

a {
  color: #50B2BC;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.ctr {
  text-align: center;
}

.small {
  font-size: 70%; 
}

sup {
  text-decoration: underline; 
}

#htmlref {
  width: 99%;
}

#htmlref th {
  padding: 4px;
  background: #ededed;
  border: 1px solid #555;
}

#htmlref td {
  padding: 10px;
  background: #fff;
  border: 1px solid #555;
}


ol.decimal {
  margin: 0 0 12px 34px;
  padding: 0;
}

ol.decimal li {
  margin: 0;
  padding: 0;
  list-style: decimal;
}

ol.upperalpha {
  margin: 0 0 12px 34px;
  padding: 0;
}

ol.upperalpha li {
  margin: 0;
  padding: 0;
  list-style: upper-alpha;
}

ol.loweralpha {
  margin: 0 0 12px 34px;
  padding: 0;
}

ol.loweralpha li {
  margin: 0;
  padding: 0;
  list-style: lower-alpha;
}

ul.bullet {
  margin: 0 0 12px 34px;
  padding: 0;
}

ul.bullet li {
  margin: 0;
  padding: 0;
  list-style: disc;
}

.red {
  color: #990000;
}

.green {
  color: #A7D273;
}

img.imgLeft {
  float: left;
  margin: 0 10px 10px 0;
}

img.imgRight {
  float: right;
  margin: 0 0 10px 10px;
}

.noborder {
  border: none !important;
}

/* rgba(44,24,14,1) 
hr { margin: 32px auto 32px; font-family: 'Amatic SC', cursive; border: 0; width: 100%; height: 1px; text-align: center; background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(44,28,14,1), rgba(0, 0, 0, 0)); }
hr:after { content: "\00A0"; display: inline-block; position: relative; top: -0.9em; font-size: 1rem; padding: 2px 0.25em; width: 50px; color: rgba(44,28,14,1); background: transparent url(../img/joggoon-logo-dk.png) 50% 50% no-repeat; background-size: 40px auto; -webkit-border-radius: 4px; border-radius: 4px;}
*/

hr.fancy {
  margin: 22px auto 42px;
  padding: 0;
  height: 25px;
  border: none;
  border-top: none;
  background: transparent url(../img/hrbg.png) 50% 0 no-repeat;
}

hr.fancyR {
  margin: 42px auto;
  padding: 0;
  height: 25px;
  border: none;
  border-top: none;
  background: transparent url(../img/hrbgR.png) 50% 0 no-repeat;
}

hr.fancy-dk {
  margin: 22px auto 42px;
  padding: 0;
  height: 25px;
  border: none;
  border-top: none;
  background: transparent url(../img/hrbg-dk.png) 50% 0 no-repeat;
}

hr.fancyR-dk {
  margin: 42px auto;
  padding: 0;
  height: 25px;
  border: none;
  border-top: none;
  background: transparent url(../img/hrbgR-dk.png) 50% 0 no-repeat;
}

hr.third {
  width: 33%;
}

hr.half {
  width: 50%;
}

hr.dashed {
  border-top: 1px dashed #555;
}

blockquote {
  margin: 12px 32px;
  padding: 0 10px 0 10px;
}

blockquote.special {
  padding: 16px;
  border: 1px solid rgba(207,203,180,1);
}

blockquote.special p {
  margin: 0;
}

/* =================================================================
    GEN PAGE
================================================================= */

#topmsg {
  display: none;
  margin: 0 20px 20px 20px;
  padding: 20px;
  text-align: left;
  color: #990000;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -moz-box-shadow: inset 0 0 7px 0 #555;
  -webkit-box-shadow: inset 0 0 7px 0 #555;
  box-shadow: inset 0 0 7px 0 #555;
}

.fixed #page article {
  position: relative;
  margin: 0 auto;
  max-width: 880px;
  width: 98%;
}

.fluid #page {
  max-width: 98%;
}

/* page content
---------------------------- */

#page article section {
  padding: 0 0 24px 0;
}

#reader #page article section {
  padding: 0 0 60px 0;
}

#page {
  padding: 32px 20px 0;
}

/* additional 'top' bg on homepage */
#home #page {
  /* background: #F1EEDF url(../img/bg_snowflakes.png) 0 0 repeat; */
}


/* Header & Footer bg DAD5CA*/
.grad1 {
  background: #E0DBC5 url(../img/linen.png) 0 0 repeat;
}

header.grad1 {
  background-color: #430000;
}


/* Error messaging (404) */
.errorbox {
  margin: 0 auto;
  padding: 320px 0 0 0;
  text-align: center;
  background: transparent url(../img/owl-404.png) 50% 0 no-repeat;
  background-size: contain;
}

#reader .errorbox {
  padding: 220px 0 0 0;
}

.errorbox p {
  margin: 0 auto 25px auto;
  width: 60%;
  text-indent: 0;
}

#fourofour {
  position: relative;
  margin: 0 auto;
  padding: 0; /* 5px 5px 30px; */
  max-width: 600px;
  min-height: 400px;
  background: #FdFdFd;

}

#fourofour > section {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  width: 100%;
  max-width: 600px;
  min-height: 400px;
  z-index: 2;
  background: #FdFdFd;
  /*
  border: 1px solid #D4CFC8; */
}

#fourofour > section #tear {
  position: absolute;
  top: 0;
  left: -25px;
  height: 100%;
  width: 28px;
  background: transparent url(../img/tear2.png) 0 0 repeat-y;
}

#fourofour > section p {
  margin: 70px 32px 12px;
  text-align: center;
  font-size: 400%;
  font-family: quad, 'trebuchet ms', tahoma, sans-serif;
}


#fourofour > section p.msg {
  margin: 0 32px 12px;
  font-size: 100%;
  font-family: 'trebuchet ms', tahoma, sans-serif;
}

.pageCurls:before,
.pageCurls:after {
  position: absolute;
  bottom: 18px;
  left: -10px;
  width: 35%;
  max-width: 300px;
  height: 10px;
  z-index: 1;/* -1; */
  content: " ";
  background: transparent;
  -moz-transform: skew(-5deg) rotate(-4deg);
  -webkit-transform: skew(-5deg) rotate(-4deg);
  transform: skew(-5deg) rotate(-4deg);
  -moz-box-shadow: 6px 18px 12px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 6px 18px 12px rgba(0, 0, 0, 0.6);
  box-shadow: 6px 18px 12px rgba(0, 0, 0, 0.6);
}


.pageCurls:after {
  left: auto;
  right: 12px;
  -moz-transform: skew(5deg) rotate(4deg);
  -webkit-transform: skew(5deg) rotate(4deg);
  transform: skew(5deg) rotate(4deg);
}

/* table for index e.g. The Aquarian Gospel */
.index {

}

.index td {
	padding: 4px 0;	
	border-bottom: 1px solid #ccc;
}

.index td.tdr {
	text-align: center;
}

.tdc.pix {
	padding: 12px 0;
	font-size: 1.5rem;
	text-align: center;
	background: rgba(255,255,255,0.3);
}

.index td a {
	display: inline-block;
	width: 100%;
	text-align: center;
}

.index td .smaller {
	font-size: 0.8em;
	font-style: italic;
}



/* =================================================================
    MASTHEAD
================================================================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 106px;
  height: auto;
  z-index: 9;
  /* border-bottom: 1px solid #ACA89F; */
  -moz-box-shadow: 0 0 8px 0 rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 0 8px 0 rgba(0,0,0,0.5);
  box-shadow: 0 0 8px 0 rgba(0,0,0,0.5);
}

hgroup {
  position: relative;
  height: 61px;
  /* border-bottom: 1px solid #F1F0E4; /* B2A78E; */
}

hgroup h1 {
  margin: 0 auto;
  padding: 0;
  width: 880px;
  height: 100%;
  font-family: quad,'trebuchet ms',tahoma,verdana,sans-serif;
  font-size: 280%;
  font-weight: normal;
  /* text-shadow: 1px 1px 1px #f9f9f9; */
  text-align: center;
  color: #4B2E1F;
}

hgroup h1 a {
  display: block;
  margin: 0 auto;
  padding: 0;
  max-width: 180px;
  height: 100%;
  overflow: hidden;
  text-indent: -99999px;
  background: transparent url(../img/jog-logo-lt.png) 50% 50% no-repeat;
  background-size: contain;
}

hgroup h1 a:hover {
  text-decoration: none;
}

hgroup h1 span {
  float: right;
  display: inline-block;
  margin: 15px 10px 0 0;
  padding: 0;
  width: 32px; /* 104px; */
  height: 28px;
  overflow: hidden;
  font-family: verdana;
  font-size: 14px;
  line-height: 1em;
  border: 1px solid #C3B9A3;
  border-top: 1px solid #B2A78E;
  -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;
  
  background-image: linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -o-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -moz-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -webkit-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -ms-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0.08, #E0DBBC),
	color-stop(0.62, #F4F3EA)
  );

  -moz-box-shadow: 0 1px 1px 0 #E9E6E1, inset 0 1px 1px 0 #C3B9A3;
  -webkit-box-shadow: 0 1px 1px 0 #E9E6E1, inset 0 1px 1px 0 #C3B9A3;
  box-shadow: 0 1px 1px 0 #E9E6E1, inset 0 1px 1px 0 #C3B9A3;
}

hgroup h1 span a {
  display: block;
  margin: 0;
  padding: 5px 0 7px;

}

#navgroup {
  position: relative;
  height: 46px;
  border-top: 1px solid #B29D6C; /* 50B2BC; /* #FCCE43; /* #860202; /* E9E6E1; */
  border-bottom: 1px solid #000; /* B2A78E; */
  background: #861819;
  
  background-image: linear-gradient(bottom, rgb(113,20,20) 15%, rgb(154,29,29) 58%);
  background-image: -o-linear-gradient(bottom, rgb(113,20,20) 15%, rgb(154,29,29) 58%);
  background-image: -moz-linear-gradient(bottom, rgb(113,20,20) 15%, rgb(154,29,29) 58%);
  background-image: -webkit-linear-gradient(bottom, rgb(113,20,20) 15%, rgb(154,29,29) 58%);
  background-image: -ms-linear-gradient(bottom, rgb(113,20,20) 15%, rgb(154,29,29) 58%);
  background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0.15, rgb(113,20,20)),
	color-stop(0.58, rgb(154,29,29))
  );
}

#navgroup nav {
  margin: 0 auto;
  padding: 4px 0;
  width: 560px;
  height: 100%;
  overflow: hidden;
  text-align: center;
}



/* =================================================================
    BUTTONS
================================================================= */

/* Reader drop menu buttons */
.button1 {
  display: none;
  margin: 5px 0 0 0;
  padding: 16px 0;
  width: 100px;
  z-index: 999;
  text-align: center;
  /* text-shadow: 1px 1px 1px #f9f9f9; */
  font-variant: small-caps;
  color: #4B2E1F;
  border: 1px solid #8C837A;
  background: #C3B9A3;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
  box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
}

#reader .button1 {
  display: block;
  padding: 0;
  height: 50px;
  width: 50px;
  text-indent: -99999px;
  overflow: hidden;
  background: #4B2E1F url("/img/sprite_icons.png") -2px -2px no-repeat;

}


/* added to nav bar */
#reader #next.button1, #reader #prev.button1 {
  position: absolute;
  top: -5px;
  padding: 0;
  height: 44px;
  width: 124px;
  overflow: hidden;
  z-index: 9;
  text-indent: -99999px;
  font-size: 20px;
  color: #CBC4A4;
  border: none;
  border-left: 1px solid #B29D6C;
  border-right: 1px solid #B29D6C;
  background-color: rgba(255,255,255,0.1); /* rgba(75,46,31,1); /* #E4E0CE; */
  -webkit-border-radius: 0;
  border-radius: 0;
}

#reader #next.button1 {
  right: 14px;
}

#reader #prev.button1 {
  left: 14px;
}


#reader hgroup .button1 {
  background-color: #F1EEDF;
  border: none;
  -moz-box-shadow: inset 0 0 2px 0 #851919; /* rgba(0,0,0,0.5); */
  -webkit-box-shadow: inset 0 0 2px 0 #851919; /* rgba(0,0,0,0.5); */
  box-shadow: inset 0 0 2px 0 #851919; /* rgba(0,0,0,0.5); */
}

#reader #next {background-position: 50% -109px;}
#reader #prev {background-position: 50% -161px;} 
#reader #prefs {background-position: -1px -52px;}
#reader #tools {background-position: -2px -2px;}

/* active state of buttons (3 & 4) in drop menus */
a.active {
  background: #F6E9CD;
  -moz-box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
  box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
}

/* nav buttons */
#reader #navgroup nav {
  display: none;
}

.button2 {
  display: inline-block;
  margin: 0;
  padding: 10px 0;
  width: 100px;
  height: auto;
  text-align: center; 
  /* text-shadow: 1px 1px 1px #f9f9f9; */
  font-variant: small-caps;
  line-height: 1em;
  color: #4B2E1F;
  border: 1px solid #731515; /* 8C837A; */
  background: #C3B9A3;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: inset 0 0 3px 0 rgba(0,0,0,0.7);
  -webkit-box-shadow: inset 0 0 3px 0 rgba(0,0,0,0.7);
  box-shadow: inset 0 0 3px 0 rgba(0,0,0,0.7);
}

#navgroup nav .button2 {
  padding: 10px 0;
  background: #F1EEDF; /* DAD5CA; */
  color: #430000;
}

#navgroup nav .button2.btnsmall {
  display: none;
  position: relative;
  width: 40px;
}

@media (min-width: 490px) {
  #navgroup nav .button2.btnsmall {
    display: inline-block;
  }
}

#navgroup nav .button2.btnsmall:hover {
  text-decoration: none;
}

#main-nav .current {
  font-weight: 700;
}

#navgroup nav .button2.btnsmall:after {  
  content: "\f26b";
  position: absolute;
  top: 4px;
  left: 14px;
  display: inline-block; 
  font-family: "Ionicons"; 
  font-size: 1.9rem;
  font-style: normal; 
  font-weight: normal; 
  font-variant: normal; 
  text-transform: none; 
  text-rendering: auto; 
  line-height: 1; 
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale;
} 

/*
.button2:hover, .button2:active {
  text-decoration: none;
  -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,0.5);
  -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,0.5);
  box-shadow: inset 0 0 2px 0 rgba(0,0,0,0.5);
}
*/

.button3 {
  display: inline-block;
  margin: 0;
  padding: 7px 0;
  width: 100px;
  text-align: center;
  text-shadow: 1px 1px 1px #f9f9f9;
  font-variant: small-caps;
  color: #4B2E1F;
  border: 1px solid #C9C18E;
  background: #C3B9A3;
  
  background-image: linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -o-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -moz-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -webkit-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -ms-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0.08, #E0DBBC),
	color-stop(0.62, #F4F3EA)
  );

  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  
  -moz-box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
  box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
}

.button4, .startreadingbtn, fieldset .button2 {
  display: inline-block;
  margin: 0;
  padding: 7px 0;
  width: 152px;
  text-align: center;
  text-shadow: 1px 1px 1px #f9f9f9;
  font-variant: small-caps;
  color: #4B2E1F;
  border: 1px solid #C9C18E; /* 8C837A; */
  background: #C3B9A3;
  
  background-image: linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -o-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -moz-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -webkit-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -ms-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0.08, #E0DBBC),
	color-stop(0.62, #F4F3EA)
  );

  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  
  -moz-box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
  box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
}

.button4:hover, .startreadingbtn:hover, fieldset .button2:hover {
  text-decoration: none;
  -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,0.5);
  -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,0.5);
  box-shadow: inset 0 0 2px 0 rgba(0,0,0,0.5);
}

.button5 {
  display: inline-block;
  margin: 0;
  padding: 7px 0;
  width: 309px;
  text-align: center;
  text-shadow: 1px 1px 1px #f9f9f9;
  font-variant: small-caps;
  color: #4B2E1F;
  border: 1px solid #C9C18E;
  background: #C3B9A3;
  
  background-image: linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -o-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -moz-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -webkit-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -ms-linear-gradient(bottom, #E0DBBC 8%, #F4F3EA 62%);
  background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0.08, #E0DBBC),
	color-stop(0.62, #F4F3EA)
  );

  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  
  -moz-box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
  box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
}



/* =================================================================
    HOMEPAGE
================================================================= */

#hometitle {
  margin: 0;
  padding: 0 20px 20px 20px;
  text-align: center;
}

#hometitle h2 {
  margin: 0 0 12px;
  font-family: "quad2", sans-serif;
  font-size: 1.6rem;
  text-align: center;
}

#homebanner, .introbanner {
  margin: 0 0 20px;
  padding: 10px;
  background-color: rgba(252, 251, 248, 0.4);
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  -moz-box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-box-shadow: inset 0 0 3px #C1BEBA;
  box-shadow: inset 0 0 3px #C1BEBA;
}

#homebanner img { display: none;
  float: left;
  width: 18%;
}

/* background: #F1EEDF url(../img/bg_brodie_new.png) 0 0 no-repeat;      fall */
/* background: #F1EEDF url(../img/bg_brodie_snowy.png) 0 0 no-repeat;    winter */
/* background: #F1EEDF url(../img/bg_brodie_laughing.png) 0 0 no-repeat; summer */
/* background: #F1EEDF url(../img/bg_brodie_barn.png) 0 0 no-repeat;     spring */

#bgbrodie {
  display: block;
  padding: 0;
  background: transparent;
  -moz-box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-box-shadow: inset 0 0 3px #C1BEBA;
  box-shadow: inset 0 0 3px #C1BEBA;
}

@media (min-width: 600px) {

  #bgbrodie {
    padding: 0 0 0 20%;
    background: #F1EEDF url(../img/bg_brodie_barn.png) 0 0 no-repeat;
    background-position: -40px 0px;
  }

  #bgbrodie.fall {
    background: #F1EEDF url(../img/bg_brodie_new.png) 0 0 no-repeat;
    background-position: -40px 0px;
  }

  .bgbrodie.fall > div {
    background: #F1EEDF url(../img/bg_brodie_new.png) 0 0 no-repeat;
    background-position: -40px 0px;
  }
  
  #bgbrodie.winter {
    background: #F1EEDF url(../img/bg_brodie_snowy.png) 0 0 no-repeat;
    background-position: -40px 0px;
  }

  .bgbrodie.winter > div {
    background: #F1EEDF url(../img/bg_brodie_snowy.png) 0 0 no-repeat;
    background-position: -40px 0px;
    background-size: contain;
  }
  
  #bgbrodie.spring {
    background: #F1EEDF url(../img/bg_brodie_barn.png) 0 0 no-repeat;
    background-position: -40px 0px;
    /* background-size: contain; */
  }

  .bgbrodie.spring > div {
    background: #F1EEDF url(../img/bg_brodie_barn.png) 0 0 no-repeat;
    background-position: -40px 0px;
    background-size: contain;
  }
  
  #bgbrodie.summer {
    background: #F1EEDF url(../img/bg_brodie_laughing.png) 0 0 no-repeat;
    background-position: -40px 0px;
  }

  .bgbrodie.summer > div {
      background: #F1EEDF url(../img/bg_brodie_laughing.png) 0 0 no-repeat;
      background-position: -40px 0px;
      background-size: contain;
  }
}



.introbanner > div {
  display: block;
  padding: 20px;
  background: #F1EEDF;
  -moz-box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-box-shadow: inset 0 0 3px #C1BEBA;
  box-shadow: inset 0 0 3px #C1BEBA;
}

/* amazon banner on hp */
.introbanner > div > div > span > div > img {
  display: block;
  margin: 0 auto;
  float: none;
}

#bannertext {
  float: none;
  padding: 12px;
  width: 99%;
}

#bannertext > div {
  padding: 0;
}

#bannertext h2 {
  margin: 0 0 4px;
  padding: 0;
  text-align: left;
}

@media (min-width: 600px) {
  #bannertext {
    float: left;
  }

  #bannertext h2 {
    padding: 0 0 0 55px;
  }

  #bannertext div {
    padding: 0 0 0 20px;
  }
}

#bannertext h2 em {
  font-weight: bold;
  color: rgba(154,29,29,1);
}

#bannertext h2 em.green {
  color: #009900;
}

#bannertext i, #bannertext b {
  display: inline-block;
  padding: 0 10px;
  font-size: 120%;
  color: rgba(154,29,29,1);
  /* text-shadow: 2px 2px 5px #777; */
}

#bannertext b {
  padding-left: 0;
}

.featuredbox {
  position: relative;
  margin: 0 0 24px;
  padding: 5px;
  overflow: hidden;
  text-align: center;
  background: #F1EEDF;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  -moz-box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-box-shadow: inset 0 0 3px #C1BEBA;
  box-shadow: inset 0 0 3px #C1BEBA;
}

#febox #snow {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 44px;
  z-index: 9;
  background: transparent url(../img/snow2.png) 0 0 repeat-x;

  -moz-box-shadow: inset 0 -3px 3px #D1CCC6;
  -webkit-box-shadow: inset 0 -3px 3px #D1CCC6;
  box-shadow: inset 0 -3px 3px #D1CCC6;

}

.featuredbox a {
  position: relative;
  display: inline-block;
  padding: 4px;
}

.featuredbox a:first-child {
  padding-left: 9px;
}

.featuredbox a img.homepageimg {
  height: auto;
  width: 160px;
}

/* dedications */
.featuredbox a span {
  position: absolute;
  bottom: 5px;
  left: 2px;
  display: inline-block;
  padding: 12px;
  width: 163px;
  height: 80px;
  z-index: 2;
  text-align: center;
  color: #643820;
  
  /* opacity: 0.9; */

  border: 1px solid #DBD7C6;
  background: #F1EEDF;
  
  -webkit-box-shadow: 0 -7px 9px rgba(0,0,0,0.6);
  -moz-box-shadow: 0 -7px 9px rgba(0,0,0,0.6);
  box-shadow: 0 -7px 9px rgba(0,0,0,0.6);
  
  -moz-border-radius: 1px;
  -webkit-border-radius: 1px;
  border-radius: 1px;
}

.featuredbox a:first-child span {
  left: 7px;
}

.featuredbox a span h5 {
  font-size: 24px;
}

.featuredbox a b.cl {
  position: absolute;
  top: -8px;
  left: 2px;
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #F1EEDF;
  -webkit-transform:rotate(45deg);
  -moz-transform:rotate(45deg);
  -ms-transform:rotate(45deg);
  -o-transform:rotate(45deg);
  transform:rotate(45deg);
}

.featuredbox a b.cr {
  position: absolute;
  top: -8px;
  right: 2px;
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid #F1EEDF;
  -webkit-transform:rotate(-45deg);
  -moz-transform:rotate(-45deg);
  -ms-transform:rotate(-45deg);
  -o-transform:rotate(-45deg);
  transform:rotate(-45deg);
}

.featuredbox a b.bow {
  position: absolute;
  top: -1px;
  right: -1px;
  display: inline-block;
  width: 52px;
  height: 52px;
  background: transparent url(../img/bow_sm.png) 0 0 no-repeat;
}

.featuredbox a b.jogg-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-block;
  width: 52px;
  height: 52px;
  background: transparent url(../img/joggoon-logo-dk.png) 0 0 no-repeat;
  background-size: contain;
  -webkit-transform:rotate(45deg);
  -moz-transform:rotate(45deg);
  -ms-transform:rotate(45deg);
  -o-transform:rotate(45deg);
  transform:rotate(45deg);
}

#featuredLinks {
  margin: 0 0 18px;
  text-align: center;
  font-weight: normal;
}

#featuredLinks a {
  display: inline-block;
  padding: 2px 7px;
}

.featuredLink.showing {
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  -moz-box-shadow: 0 0 3px #C1BEBA;
  -webkit-box-shadow: 0 0 3px #C1BEBA;
  box-shadow: 0 0 3px #C1BEBA;
}


#homeleft {
  float: left;
  padding: 0 0 20px 0;
  width: 45%;
}

#homeleft h2.underline, #homeright h2.underline {
  margin: 0 0 20px;
}

#homeleft p {
  text-align: justify;
}

#contactUsBox {
  position: relative;
  margin: 0 auto;
  padding: 32px 0 10px;
  width: 80%;
}

#contactUsBox header {
  position: relative;
  margin: 0 auto;
  min-height: auto;
  height: 30px;
  width: 100%;
  z-index: 0;
  text-align: center;
  background: transparent; /* rgba(56,174,189,1); /* transparent url(../img/box_header_sdw.png) 50% 0 no-repeat; */
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#bookmarks {
  display: block;
  width: 100%;
  height: 10px;
}

#contactUsBox header .button2 {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 1.4rem;
  line-height: 1em;
  border: none;
  background: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#contactUsBox header .button2:hover {
  text-decoration: none;
}

#contactUsBox > div {
  margin: -12px auto 0;
  padding: 20px 0;
  min-width: 242px;
  width: 100%;
  height: auto;
  /* border: 2px solid rgba(56,174,189,1); */

  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#homeleft #contactUsBox p {
  margin: 0;
  padding: 12px;
  font-size: 82%;
  background: #F1EEDF;
}

/* Contact page
----------------------------------------------------------------------- */

#contact form {
  width: 100%;
}

#contact form fieldset {
}

#contact form input, #contact form textarea {
  margin: 0 0 16px 0;
  padding: 7px;
  width: 100%;
  font-size: 1.2em;
  color: #444;
  border: 1px solid #C3B9A3;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: inset 0 0 3px 0 rgba(0,0,0,0.5);
  -webkit-box-shadow: inset 0 0 3px 0 rgba(0,0,0,0.5);
  box-shadow: inset 0 0 3px 0 rgba(0,0,0,0.5);
}

#contact form textarea {
  min-height: 190px;
}

#contact form .button2 {
  display: inline-block;
  padding: 12px 10px;
  width: 32%;
}

#form-msg {
  display: inline-block;
  margin-left: 5%;
  width: 60%;
  color: rgba(154,29,29,1);
}

.bgbrodie {
  display: block;
  margin-bottom: 42px;
  padding: 10px;
  background: rgba(252, 251, 248, 0.4);
  /* background-size: contain; */
  -moz-box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-box-shadow: inset 0 0 3px #C1BEBA;
  box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-border-radius: 7px;
  border-radius: 7px;
}

.bgbrodie > div {
  display: block;
  padding: 16px;
  min-height: 240px;
  background-color: #F1EEDF;
  background-image: url(../img/grain.png);
  background-position: 0 0;
  background-repeat: repeat;
  -moz-box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-box-shadow: inset 0 0 3px #C1BEBA;
  box-shadow: inset 0 0 3px #C1BEBA;
}

@media (min-width: 820px) {
  #contact form {
    width: 60%;
  }

  .bgbrodie > div {
    background-image: url(../img/grain.png), url(../img/bg_brodie_barn.png);
    background-position: 0 0, 105% 12px;
    background-repeat: repeat, no-repeat;
    background-size: contain;
  }

  .bgbrodie.fall > div {
    background-image: url(../img/grain.png), url(../img/bg_brodie_new.png);
    background-position: 0 0, 98% 12px;
    background-repeat: repeat, no-repeat;
    background-size: contain;
  }
  
  .bgbrodie.winter > div {
    background-image: url(../img/grain.png), url(../img/bg_brodie_snowy.png);
    background-position: 0 0, 105% 0;
    background-repeat: repeat, no-repeat;
    background-size: contain;
  }
  
  .bgbrodie.spring > div {
    background-image: url(../img/grain.png), url(../img/bg_brodie_barn.png);
    background-position: 0 0, 105% 12px;
    background-repeat: repeat, no-repeat;
    background-size: contain;
  }
  
  .bgbrodie.summer > div {
    background-image: url(../img/grain.png), url(../img/bg_brodie_laughing.png);
    background-position: 0 0, 105% 0;
    background-repeat: repeat, no-repeat;
    background-size: contain;
  }
}


/* deprecated

#homecenter {
  float: left;
  padding: 0 20px 20px 20px;
  width: 32%;
  height: 100%;
}

#homecenter p {
  padding: 0 12px;
}

#homecenter img {
  display: block;
  margin: 24px auto;
  width: 80%;
}

#homecenter img.homepageimg {
  height: auto;
  width: 180px;
}

*/

#homeright {
  float: right;
  padding: 0 0 20px 0;
  width: 45%;
}

#lastbookpage {
  padding: 0 0 32px 0;
}

#lastbookpage p {
  padding: 0 18px;
  text-indent: 0;
}

#homeright #contactUsBox p {
  margin: 0;
}

/* the # of books total */
.tally {
  position: relative;
  margin: 0 15% 12px;
  padding: 0;
  width: auto;
  height: 90px;
  
  /*
  border: 1px solid #212925;

  background-image: linear-gradient(bottom, #6C4124 25%, #BA8F69 86%);
  background-image: -o-linear-gradient(bottom, #6C4124 25%, #BA8F69 86%);
  background-image: -moz-linear-gradient(bottom, #6C4124 25%, #BA8F69 86%);
  background-image: -webkit-linear-gradient(bottom, #6C4124 25%, #BA8F69 86%);
  background-image: -ms-linear-gradient(bottom, #6C4124 25%, #BA8F69 86%);
  background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0.25, #6C4124),
	color-stop(0.86, #BA8F69)
  );

  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  
  -moz-box-shadow: 1px 1px 2px 1px #777;
  -webkit-box-shadow: 1px 1px 2px 1px #777;
   box-shadow: 1px 1px 2px 1px #777;
   
   */
}

.tally p {
  height: 88px;
  padding: 0;
  text-align: center;
  text-indent: 0;
  
  /*
  border-left: 1px solid #A7774D;
  border-top: 1px solid #A7774D;
  border-right: 1px solid #807a53;
  border-bottom: 1px solid #807a53;
  background: transparent;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  */
}

.tally p span {
  display: block;
  padding: 10px 0 0 0;
  height: auto;
  color: #9D493C; /* 50B2BC; /* AB825E; /* FCCE43;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px; */
}

.tally p span i {
  display: block;
  padding: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 70px;
  font-family: arial, sans-serif;
  line-height: 1em;
  /*
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  */
  text-shadow: 2px 2px 5px #333; /* 807a53; */
}

.tallyhdrT {
  padding: 10px 0 0 0;
  text-align: center;
  border-top: 1px solid #E6E1C8;
}

.tallyhdrB {
  padding: 0 0 10px 0;
  text-align: center;
  border-bottom: 1px solid #E6E1C8;
}

/* dedication wall button */
#dwall {
  display: block;
  margin: 44px auto 12px auto;
  padding: 12px 0;
  width: 95%;
  height: auto;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  color: #6C4124;
  background: transparent;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: inset 0 0 3px 0 #333;
  -webkit-box-shadow: inset 0 0 3px 0 #333;
   box-shadow: inset 0 0 3px 0 #333;
}

/* donate button */
#donate {
  display: block;
  margin: 44px auto 12px auto;
  padding: 12px 0;
  width: 95%;
  height: auto;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  color: #6C4124;
  background: transparent;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0 0 3px 0 #333;
  -webkit-box-shadow: 0 0 3px 0 #333;
   box-shadow: 0 0 3px 0 #333;
}



#homelegal {
  padding: 10px 0 0;
}




/* =================================================================
    ABOUT PAGE
================================================================= */
#bkmkSteps, .bkmkSteps li {
  text-align: center;
}

#bkmkSteps li p, .bkmkSteps li p {
  padding: 10px;
  text-indent: 0;
}

#bkmkSteps li img, .bkmkSteps li img {
  max-width: 420px;
  width: 98%;
  border: 1px solid #C3B9A3;
}

#browserlist {

}

#browserlist li {
  float: left;
  margin: 0 0 20px;
  width: 33%;
}

#browserlist li img {
  display: block;
  margin: 0 auto;
  width: 40%;
  height: auto;
  opacity: 0.7;
}

#browserlist li#safarib img {
  width: 36%;
}

#browserlist li p {
  padding: 7px 0 0;
  text-align: center;
  text-indent: 0;
  line-height: 1em;
  margin: 0;
}

#devicelist {
  margin: 0 auto;
  width: 90%;
}

#devicelist li {
  float: left;
  margin: 0 0 20px;
  width: 33%;
  text-align: center;
}

#devicelist li img {
  width: 100%;
  height: auto;
}

#dedicationblock {
  min-height: 220px;
  padding: 220px 0 0 0;
  background: transparent url(../img/granddad1.png) 50% 0 no-repeat;
}

@media (min-width: 600px) {
  #dedicationblock {
    padding: 0 220px 0 0;
    background: transparent url(../img/granddad1.png) right 0 no-repeat;
  }
}


/* =================================================================
    THE WALL #F1EEDF
================================================================= */
body#wall {
  background: #F1EEDF url(../img/wood-pattern.png) 0 0 repeat;
}

article.paper {
  
}







.dedwall {
  margin: 0 auto;
  width: 740px;
}

.dedwall li {
   float: left;
   margin: 0 20px 20px 0;
}


.dedwall li a.img {
  position: relative;
  display: block;
  width: 217px; /* 180px; */
  height: 302px; /* 250px; */
  background-color: transparent; 
  background-position: 50% 50%;
  background-repeat: no-repeat;
  color: #643820;
  -moz-box-shadow: 0 0 7px 0 #333;
  -webkit-box-shadow: 0 0 7px 0 #333;
   box-shadow: 0 0 7px 0 #333;
  
  /*
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  */
}

.dedwall li:hover {
   margin: 0 19px 19px 0;
}

.dedwall li a.img:hover {
  margin: 1px 0 0 1px;
  -moz-box-shadow: 0 0 3px 0 #333;
  -webkit-box-shadow: 0 0 3px 0 #333;
   box-shadow: 0 0 3px 0 #333;
}


.dedwall li a.img > span {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 10px;
  width: 100%;
  height: 100px;
  background: transparent url(../img/bg_dedication.png) 0 0 no-repeat;

  -moz-box-shadow: 0 -5px 7px 0 #555;
  -webkit-box-shadow: 0 -5px 7px 0 #555;
   box-shadow: 0 -5px 7px 0 #555;
}

.dedwall li a.img > span span {
  display: block;
  margin: 0 0 4px 0;
}

.dedwall2 {
  margin: 0 auto;
  width: 740px;
}

.dedwall2 li {
  margin: 0 0 18px 0;
  padding: 0 0 20px 90px;
  background: transparent url(../img/icon_jbook4.png) 0 0 no-repeat;
  border-bottom: 1px solid #C5C2B6;
}

.dedwall2 li h5 {
  font-family: 'trebuchet ms',tahoma,verdana,sans-serif;
  font-size: 22px;
  font-weight: normal;
  text-shadow: 1px 1px 1px #f9f9f9;
}

.dedwall2 li h5 a {
  color: #4B2E1F;
}

.dedwall2 li h5 a:hover {  }

.dedwall2 li > span{
  display: block;
  margin: 0 0 4px 0;
}





/* =================================================================
    SEARCH
================================================================= */

.searchpara {
  text-align: center;
}

fieldset {
  padding: 0;
  /* border-bottom: 1px solid #E6E1C8; */
  border: none;
}

#searchInput {
  margin: 0 0 16px 0;
  padding: 7px;
  width: 50%;
  font-size: 1.5em;
  color: #DAD5CA;
  border: 1px solid #C3B9A3;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: inset 0 0 3px 0 rgba(0,0,0,0.5);
  -webkit-box-shadow: inset 0 0 3px 0 rgba(0,0,0,0.5);
  box-shadow: inset 0 0 3px 0 rgba(0,0,0,0.5);
}

#searchInput:focus {
  color: #555;   
}



/* =================================================================
    BROWSE
================================================================= */

#numauthors {
  font-size: 90%;
}

#browseleft {
  float: left;
  width: 48%;
}

#browseleft h3, #browseright h3 {
  text-align: center;
  border-bottom: 1px solid #DAD5CA;
}

#browseleft ul li, #browseright ul li {
  margin: 1em;
}

#browseleft ul li a, #browseright ul li a {
  display: block;
  padding: 12px;
  border: 1px solid #DAD5CA;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
  -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
  box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
}

#browseleft ul li a:hover, #browseright ul li a:hover {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#browseright {
  float: right;
  width: 48%;
}

#browseright #authlistBtns {
  padding: 10px 0;
  text-align: center;
}

#browseright #authlistBtns a {
  display: inline-block;
  padding: 4px 8px;
}

#browseright #authlistBtns a.liston {
  border-radius: 7px 7px 7px 7px;
  box-shadow: 0 0 3px #C1BEBA;
}

#browseright ul {

}


/* =================================================================
    GENRE / AUTHOR RESULTS PAGES
================================================================= */

#genrepage h3 {
  font-size: 150%;
}

.resultsData {
  margin: 0 0 24px 0;
  text-align: center;
  border-top: 1px solid #E6E1C8;
  border-bottom: 1px solid #E6E1C8;
}

.resultsData b {
  display: block;
  padding: 12px 0;
  font-size: 130%;
  font-weight: normal;
  text-align: center;
}

.resultsData span {
  display: inline-block;
  margin: 0 0 12px;
}

.resultsData span a {
  display: inline-block;
  padding: 1em;  font-size: 130%;
  border: 1px solid #E6E1C8;
  -webkit-transition: .4s;
  -moz-transition: .4s;
  transition: .4s;
}

.resultsData span a:hover {
  text-decoration: none;
  background: #E6E1C8;
}

.resultsData span a.hereSet {
  background: #E6E1C8;
}

.clearfloats.line {
  margin: 0 0 24px 0;
  height: 1px;
  background: #E6E1C8;
}


/* =================================================================
    AUTHOR RESULTS PAGE
================================================================= */

.aintroBegin {
  text-indent: 0;
}

.aintroBegin img {
  float: left;
  margin: 7px 12px 12px 0;
  padding: 4px;
  border: 1px solid #643820;
}

.aintroEnd {
  text-align: right;
  border-bottom: 1px solid #E6E1C8;
}


/* =================================================================
    READER / BRI
================================================================= */
#reader #page article {
  font-family: helvetica, sans-serif;
}


#reader #page .imgleftA {
  float: left;
  margin: 0 7px 7px 0;
  padding: 0;
}

#reader #page .smcap {font-variant: small-caps;}
#reader #page pre {padding: 0 0 12px 0; clear: both;}
.footnote {font-size: 11px;}

#reader #page .footnote, #reader #page .citation {
  font-size: .6em;
  vertical-align: super;
  color: #FF0000;
}



#reader #page img, img.deco {
  padding: 2px;
  border: 1px solid #643820;
  -moz-box-shadow: 0 0 3px 0 rgba(0,0,0,0.7);
  -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.7);
  box-shadow: 0 0 3px 0 rgba(0,0,0,0.7);
}

#reader #page .imgctr, .imgctr {
  display: block;
  margin: 32px auto;
  padding: 2px;
  text-align: center;
  color: #333;
  font-size: 80%;
}

#reader #page .imgctr img, .imgctr img {
  padding: 2px;
  border: 1px solid #643820;
}

#reader #page .imgrt,
#reader #page .imgright {
  display: block;
  margin: 32px auto;
  padding: 0;
  text-align: center;
  color: #333;
  font-size: 80%;
}

#reader #page .imgleft,
#reader #page .imglt {
  display: block;
  margin: 32px auto;
  padding: 0;
  text-align: center;
  color: #333;
  font-size: 80%;
}

/* bri option boxes */

#prefs {
  position: fixed;
  top: 0;
  left: 14px;
}

#tools {
  position: fixed;
  top: 0;
  right: 14px;
  padding: 8px 0;
}

.box {
  display: none;
  position: fixed;
  top: 0;
  width: 444px;
  height: 250px;
  z-index: 99;
  background: #EDE6D6;
  border: 1px solid #645A51;
  border-top: none;

}

body.console .box {
  color: #643820;
}

.box#prefsbox {
  left: 2px;
  -moz-box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.3);
  -webkit-box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.3);
  box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.3);
}

.box#toolsbox {
  right: 2px;
  -moz-box-shadow: -1px 1px 3px 0 rgba(0,0,0,0.3);
  -webkit-box-shadow: -1px 1px 3px 0 rgba(0,0,0,0.3);
  box-shadow: -1px 1px 3px 0 rgba(0,0,0,0.3);
}

.box#toolsbox:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
}

.box h2 {
  margin: 0;
  height: 60px;
  text-align: right;
}

.box#toolsbox h2 {
  padding: 10px 12px 2px 12px;
  height: auto;
  font-size: 110%;
  text-align: left;
  font-weight: normal
}

.box h2 span {
  display: block;
  padding: 7px;
}

/*
.box#toolsbox h2 span {
  float: left;
  display: inline-block;
  padding: 2px 7px;
  width: 100px;
  text-align: right;
}
*/


.box#toolsbox h2 b {
  float: left;
  display: inline-block;
  padding: 2px 0;
  width: 210px;
}

.box > div {
  padding: 0 12px 12px 12px;
}

.box > div > ul li {
  margin-bottom: 6px;
  display: inline-block;
}

.box > div > ul {
  height: auto;
}

.box > div > ul li span {
  display: inline-block;
  padding: 10px 7px;
  width: 100px;
  text-align: right;
}

.box#toolsbox > div > ul li.metadata span {
  display: inline-block;
  padding: 2px 7px;
  width: 100px;
  text-align: right;
}

.box > div > ul li.spacer {
  clear: both;
  display: block;
  margin: 0;
  padding: 0;
  width: auto;
  height: 14px;
}

#reader h2 {
  padding: 0 0 12px 0;
}

#reader h2.toptitle {
  border-bottom: 1px solid #E2DFCF;
  text-align: center;
  font-size: 160%;
  font-weight: normal;
}

/* config settings
------------------------------------------------ */

#reader h4 { padding-top: 10px; border-top: 1px solid #E2DFCF;}
#reader h4.frontHdr { padding-top: 10px; border-top: none;}
#reader h4:first-child { border-top: none; }
#reader #page p, #reader #page.sm p { font-size: 16px; }  /* this is also .small */
#reader #page, #reader #page.sm { font-size: 16px; }
#reader #page.med p { font-size: 22px; }
#reader #page.med { font-size: 22px; }
#reader #page.lg p { font-size: 28px; }
#reader #page.lg { font-size: 28px; }
#reader #page.just { text-align: justify; }
#reader #page.rag { text-align: left; }
#reader #page article.serif,
#reader #page article.serif p,
#reader #page article.serif h2 { font-family: georgia, serif; }
#reader #page article.sans,
#reader #page article.sans p,
#reader #page article.sans h2 { font-family: helvetica, sans-serif; }

#reader p.first-letter:first-letter,
#reader p.fl:first-letter { /* in AG was drop-cap5 */
  float: left;
  padding: 4px 8px 0 3px;
  color: #903; 
  font-size: 270%;
  font-family: Georgia; 
}

/* Aquarian gospel */
.leadnum {
	font-style: italic;
	color: #903;
}

/* too many of these in AG - just hide them */
.pagenum { display: none; }

/* reversed contrast on reader page */
body.console {
  background: #2A120D;
  color: #F1EEDF;
}

body.console h2, body.console h3, body.console h4, body.console h5 {
  color: #F1EEDF;
}

body.paper {
  background: #F1EEDF;
  color: #2A120D;
}

body.paper h2, body.paper h3, body.paper h4, body.paper h5 {
  color: #2A120D;
}


/* metadata in drop box */
#bookpgMeta .hrbookshelf {
  margin: 0;
  padding: 12px 0 0 0;
  width: 100%;
  min-height: 90px;
}

#bookpgMeta .hrbookshelf p {
  margin: 0 0 0 0;
  font-size: 1rem;
  text-indent: 0;
  line-height: 1.4em;
  color: #643820;
}

#bookpgMeta .hrbookshelf p:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
}

#bookpgMeta .hrbookshelf p.dtitle span {
  font-size: 100%;
  font-weight: normal;
  text-indent: 0;
}

#bookpgMeta .hrbookshelf p.dtitle a {
  float: right;
  display: block;
  margin: 0;
  width: 215px;
  overflow:hidden;
  line-height: 1.4em;
}


#bookpgMeta .hrbookshelf p span {
  float: none;
  display: inline-block;
  margin: 0 7px 0 0;
  width: 90px;
  height: 1.5em;
  color: #AE651A;
  text-align: right;
}

#bookpgMeta .hrbookshelf p.dtitle {
  margin-bottom: 10px;
}

#bookpgMeta .hrbookshelf .databox {
  float: none;
  /* width: 100%; */
}

#bookpgMeta .hrbookshelf .imgbox {
  display: none;
}

#bookpgMeta .hrbookshelf .shelf {
  clear: both;
  float: none;
  display: block;
  margin: 0;
  padding: 0;
  height: 0px;
  font-size: 1px;
  line-height: 0em;
  background: none;
}



/* bookmarking in the UI on homepage
-------------------------------------------------- */

#bkmkbtn.active {
  background: #BFFF99; /* F6E9CD; */
}

.bookmarked {
  padding: 0 0 0 42px;
  min-height: 50px;
  background: transparent url(../img/bookmarker.png) 0 0 no-repeat;
}


hr#thanksforreading {
  margin: 0 auto;
  padding: 0;
  width: 650px;
  height: 30px;
  background: transparent url(../img/hr_thanksforreading.png) 0 0 no-repeat;
  border: none;
}

h2.underline {
  margin: 0 0 7px 0;
  border-bottom: 1px solid #DAD5CA;
}

#nobookmarks {
  padding: 0 0 0 20px;
}

#nobookmarks p {
  margin: 0 0 12px 0;
  text-indent: 0;
  line-height: 1.4em;
}

#lastBkPgViewed span {
  display: block;
  padding: 7px 0 0;
}

#bookmarklistbox {
  padding: 0 10px 20px 10px;
  height: auto;
  overflow: auto;
  /* background: #F8F5E4; */
  background-color: rgba(252, 251, 248, 0.4);
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  -moz-box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-box-shadow: inset 0 0 3px #C1BEBA;
  box-shadow: inset 0 0 3px #C1BEBA;
}

.isDT #bookmarklistbox {
  max-height: 170px;
}

#bookmarklist li {
  margin: 0 0 4px 0;
  padding: 12px 0;
  /* border-bottom: 1px dashed #C3B9A3; */
  background: transparent url(../img/sm_bookmarker.png) 0 12px no-repeat;
}

#bookmarklist li p,
p#deleteButton {
  margin: 0 0 4px 0;
  padding: 0;
  text-indent: 0;
  line-height: 1.3em;
}

p#deleteButton {
  padding: 5px 12px 0 0;
  text-align: right;
}

#bookmarklist li p strong {
  display: block;
  float: left;
  margin: 0 5px 0 0;
  width: 110px; /* 38%; /* 110px; */
  text-align: right;
}

#bookmarklist li p span  {
  display: block;
  float: left;
  width: 58%; /* 170px; */
}

#bookmarklist li p b {
  display: block;
  margin: 0;
  padding: 0;
  width: 90%;
  height: 1px;
  clear: both;
}

#bookmarkButtons {
  display: none;
  margin: 22px 0 0 0;
  padding: 24px 0 0 0;
  text-indent: 0px;
  border-top: 1px solid #DAD5CA;
}

#bookmarkButtons #cacheClean {
  float: left;
  cursor: pointer;
}

#bookmarkButtons #cacheClean:hover { text-decoration: none; }

#bookmarkButtons #bookmarkDelete {
  float: right;
  font-family: verdana, sans-serif;
}

/*
#clearButton {
  display: none;
  margin: 16px 12px 0 0;
  padding: 10px 0 0;
  text-align: right;
  line-height: 1em;
  text-indent: 0;
}

#clearButton .button4 {
  padding: 10px 12px;
  width: auto;
  text-align: center;
  cursor: pointer;
}

#clearButton .button4:hover { text-decoration: none; }
*/

#noteslisthdr {
  margin: 42px 0 0 0;
}

#noteslistbox {
  margin: 12px 0 0 0;
  padding: 20px 10px;
  height: auto;
  overflow: auto;
  text-align: center;
  /* background: #F8F5E4; */
  background-color: rgba(252, 251, 248, 0.4);
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  -moz-box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-box-shadow: inset 0 0 3px #C1BEBA;
  box-shadow: inset 0 0 3px #C1BEBA;
}

#noteslistbox p {
  text-indent: 0px;
}

.isDT #noteslistbox {
  height: 170px;
}



/* custom checkboxes for tablet devices------------------------------------------- */

label       { display: block; cursor: pointer; padding-bottom: 21px; }
.label_check    { background: url(../img/check-off.png) no-repeat; }
label.c_on      { background: url(../img/check-on.png) no-repeat; }
.label_check input  { position: absolute; left: -9999px; }



/* =================================================================
    CATALOG
================================================================= */

.hrbookshelf {
  margin: 0 auto 24px auto;
  padding: 20px 0 0 0;
  width: 90%;
  min-height: 325px;
}

.hrbookshelf p {
  margin: 0 0 1em 0;
  font-size: 140%;
  text-indent: 0;
  line-height: 1.2em;
}

.hrbookshelf .dtitle {
  font-size: 170%;
  font-weight: normal;
  text-indent: 0;
}

.hrbookshelf p span {
  float: left;
  display: inline-block;
  width: 150px; 
  height: 1.8em;
  color: #AE651A;
}

/* carryover el to hide */
.hrbookshelf .dtitle span {
  display: none;
}

.hrbookshelf .databox {
  float: right;
  width: 75%;
}

#page .hrbookshelf .databox {
  width: 65%;
}

.hrbookshelf .imgbox {
  float: left;
  width: 32%;
}

.hrbookshelf .imgbox img, .img-cover {
  margin: 0 auto;
  padding: 3px;
  width: 95% !important;
  height: auto !important;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  -moz-box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-box-shadow: inset 0 0 3px #C1BEBA;
  box-shadow: inset 0 0 3px #C1BEBA;
}

.img-cover-sm {
  display: block;
  margin: 0 auto;
  max-width: 180px;
}

.hrbookshelf .imgbox .startreadingbtn {
  display: block;
  margin: 20px auto 0 auto;
}

.hrbookshelf .shelf {
  clear: both;
  float: none;
  display: block;
  margin: 0;
  padding: 0;
  height: 0px;
  font-size: 1px;
  line-height: 0em;
  background: none;
}

.tocbox h3 {
  margin: 0 0 12px 0;
  padding: 12px 0;
  font-size: 160%;
  font-weight: normal;
  text-align: center;
  border-top: 1px solid #E6E1C8;
  border-bottom: 1px solid #E6E1C8;
}

.tocbox h4 {
  margin: 0 0 12px 0;;
  font-size: 150%;
  font-weight: normal;
  color: #AE651A;
}

.tocbox {
  padding: 0 0 24px 0;
}

.tocbox h4 a {
  display: block;
  padding: 5px 0;
  border-top: 1px solid #E6E1C8;
  border-bottom: 1px solid #E6E1C8;
}

.toclist {
  margin: 0 2px 20px 30px;
}

.tocnonchapter {
  margin: 0 2px 20px 0;
}

.toclist li {
  list-style: decimal-leading-zero outside none;
  margin: 4px 0;
  padding: 0;
  font-size: 120%;
  border-bottom: 1px solid #E6E1C8;
}

.toclist li a {
  display: block;
  padding: 6px 0 9px 0;
}

.tocnonchapter li a {
  display: block;
  padding: 6px 0 9px 0;
  font-size: 120%;
}

/* =================================================================
    FOOTER
    brook green: rgba(173,212,193,1); 
================================================================= */

footer {
  padding: 32px;
  width: 100%;
  min-height: 32px;
  z-index: 9;
  text-align: center;
  border-top: 1px solid #ACA89F;
  -moz-box-shadow: 0 -7px 7px -5px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 -7px 7px -5px rgba(0,0,0,0.5);
  box-shadow: 0 -7px 7px -5px rgba(0,0,0,0.5);
}

footer > div {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  justify-content: space-around;
	align-items: flex-start;
  flex-flow: column;
  flex-wrap: wrap;
}

.footerbox {
  margin: 0 0 20px;
  padding: 7px;
  background-color: rgba(252, 251, 248, 0.4);
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  -moz-box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-box-shadow: inset 0 0 3px #C1BEBA;
  box-shadow: inset 0 0 3px #C1BEBA;
}

.footerbox > div {
  display: block;
  padding: 20px;
  background: #F1EEDF;
  -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.7);
  -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.7);
  box-shadow: inset 0 0 3px rgba(0,0,0,0.7);
}

#midfooter > div {
  background: #F1EEDF url(../img/owl-watermark.png) 50% 50% no-repeat;
  background-size: contain;
}

footer > div .footerbox {
  width: 100%;
  background: #50B2BC;
}

footer > div .sitemap {
  
}

footer > div .footerbox:first-child {
  background: #430000;
}

footer > div .footerbox:last-child {
  background: rgb(154,29,29);
}

footer > div .footerbox img {
  max-width: 140px;
  width: 100%;
}

footer > div .footerbox > div {
  min-height: auto;
}

@media (min-width: 800px) {
  footer > div {
    flex-flow: row;
  }

  footer > div .footerbox {
    width: 30%;
  }

  footer > div .footerbox > div {
    min-height: 310px;
  }
}

footer p {
  margin: 0;
  padding: 0;
  text-indent: 0;
  font-size: 0.9rem;
}

footer p.small {
  padding: 5px 0;
}

.flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  justify-content: space-around;
	align-items: flex-start;
  flex-flow: column;
  flex-wrap: wrap;
}

.footer-list {
  width: 100%;
}

@media (min-width: 480px) {
  .flex {
    flex-flow: row;
  }

  .footer-list {
    width: auto;
  }
}

.footer-list li {
  margin: 0 0 4px;
  text-align: left;
}

.footer-list li a {
  display: block;
  padding: 4px;
  width: 100%;
  color: #643820;
}

.social {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(207,203,180,1);
}

.social a {
  display: inline-block;
  padding: 4px;
  font-size: 44px;
  color: #643820;
}

footer.brifooter {
  /* position: fixed;
  bottom: 0;
  left: 0; */
  width: 100%;
  height: 22px;
  z-index: 9;
  text-align: center;
  border-top: 1px solid #ACA89F;
  -moz-box-shadow: 0 0 8px 0 rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 0 8px 0 rgba(0,0,0,0.5);
  box-shadow: 0 0 8px 0 rgba(0,0,0,0.5);
}

#prev {
  position: fixed;
  bottom: 62px;
  left: 0;
}

#next {
  position: fixed;
  bottom: 62px;
  right: 0;
}

#prev:hover, #next:hover { text-decoration: none; }


/* =================================================================
    COOKIE BANNER
================================================================= */

#cookie-msg {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
	align-items: center;
  flex-flow: row;
  flex-wrap: wrap;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 999;
  background: rgba(0,0,0,0.5);
}

.msgbanner {
  margin: 0;
  padding: 10px;
  width: 90%;
  max-width: 880px;
  text-align: left;
  background-color: rgba(252, 251, 248, 0.4);
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  -moz-box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-box-shadow: inset 0 0 3px #C1BEBA;
  box-shadow: inset 0 0 3px #C1BEBA;
}

.msgbanner > div {
  display: block;
  width: 100%;
  padding: 20px;
  background: #F1EEDF;
  -moz-box-shadow: inset 0 0 3px #C1BEBA;
  -webkit-box-shadow: inset 0 0 3px #C1BEBA;
  box-shadow: inset 0 0 3px #C1BEBA;
}

#close-cookie-banner {}


/* =================================================================
    FAQs
================================================================= */

#faqAccord {
  margin-bottom: 20px;
  border-top: 1px solid rgba(207,203,180,1);
  border-bottom: 1px solid rgba(207,203,180,1);
}

#faqAccord dt {
  padding: 10px;
  cursor: pointer;
  border-top: 1px solid rgba(207,203,180,1);
}

#faqAccord dt:first-child {
  border: none;
}

#faqAccord dd {
  padding: 10px;
  background: rgba(255,255,255,0.5);
}
<







/* =================================================================
    MODALS
================================================================= */

.jqmWindow {
  display: none;
  position: fixed;
  top: 40%;
  left: 50%;
  margin-left: -440px;
  margin-top: -200px;
  width: 880px;
  height: 540px;
  background: rgba(34, 34, 34, 0.8);
  border: 2px solid #222;
  color: #333;
  -moz-box-shadow: 0 0 12px 0 #111;
  -webkit-box-shadow: 0 0 12px 0 #111;
  box-shadow: 0 0 12px 0 #111;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}

.modalInterior {
  margin: 20px 0 0 12px;
  width: 850px;
  height: 504px;
  background: #EAEAEA;
  color: #333;
  border: 4px solid #222;
  -moz-border-radius: 11px;
  -webkit-border-radius: 11px;
  border-radius: 11px;
  -moz-box-shadow: inset 0 0 7px 0 #000;
  -webkit-box-shadow: inset 0 0 7px 0 #000;
  box-shadow: inset 0 0 7px 0 #000;
}

.modalBar {
  position: relative;
  padding: 0 4px;
  height: 64px;
  color: #9E9B9B;
  border-bottom: 1px solid #222;
  -moz-border-radius: 7px 7px 0 0;
  -webkit-border-radius: 7px 7px 0 0;
  border-radius: 7px 7px 0 0;
  
  background-image: linear-gradient(top, #555 11%, #222 81%);
  background-image: -o-linear-gradient(top, #555 11%, #222 81%);
  background-image: -moz-linear-gradient(top, #555 11%, #222 81%);
  background-image: -webkit-linear-gradient(top, #555 11%, #222 81%);
  background-image: -ms-linear-gradient(top, #555 11%, #222 81%);

  background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0.11, #555),
	color-stop(0.81, #222)
  );

  -moz-box-shadow: inset 0 0 7px 0 #111;
  -webkit-box-shadow: inset 0 0 7px 0 #111;
  box-shadow: inset 0 0 7px 0 #111, 0 3px 4px 0 #555;
}

.modalBar div {
  padding: 10px;
}

.modalBar a {
  position: absolute;
  top: -24px;
  right: -8px;
  display: block;
  padding: 0 12px 2px 12px;
  width: auto;
  text-decoration: none;
  text-align: center;
  color: #f9f9f9;
  font-size: 11px;
  font-weight: bold;
  border: 1px solid #000;
  border-top: none;
  text-shadow: 0 -1px 1px #5D0000;
  -moz-border-radius: 0 0 6px 6px;
  -webkit-border-radius: 0 0 6px 6px;
  border-radius: 0 0 6px 6px;
  background: #C53232;
  background: -moz-linear-gradient(top, #C73333, #770100);
  background: -webkit-gradient(linear, center top, center bottom, from(#C73333), to(#770100));
  background: -o-linear-gradient(top,rgb(199,51,51),rgb(119,1,0));
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
}

.modalBar a:hover {
  color: #E1D84C;
  -moz-box-shadow: 0 0 8px 2px #F5E455;
  -webkit-box-shadow: 0 0 8px 2px #F5E455;
  box-shadow: 0 0 8px 2px #F5E455;
}

.modalBar h2 {
  font-family: 'Lucida Sans Unicode', verdana, sans-serif;
  font-size: 32px;
  font-weight: normal;
  text-align: center;
  color: #9E9B9B;
  /* text-shadow: -1px 0 #333, 0 1px #333, 1px 0 #333, 0 -1px #333; // outlines the text */
  text-shadow: 0.1em 0.1em 0.2em #000;
}

.modalCopy {
  margin: 0;
  padding: 18px;
  height: 410px;
  overflow: auto;
}

.modalCopy p {}

#tx {
  text-decoration: none;
  background: yellow;
}

.jqmOverlay {
  background: #F0EFEF url(../img/stripeBg.png) 0 0 repeat;
  /*
  background: -moz-radial-gradient(center 45deg, circle closest-corner, #EDEDED 0%, #333333 100%);
  background: -webkit-gradient(radial, center center, 0, center center, 70, from(#EDEDED), to(#333333));
  background: -o-linear-gradient(top,rgb(85,85,85),rgb(51,51,51));
  */
}


/* =======================================================================================
		Print
		Notes: Overrides Print MQ in _n.css
======================================================================================= */

@media print {
  
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; page-break-after: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }

  header, footer {
  	display: none;
  }

  body {
    display: none;
    padding: 0 100px;
  }

  body#reader {
    display: block;
  }


}







