@import url(https://fonts.googleapis.com/css?family=Merriweather);
@import url('https://fonts.googleapis.com/css?family=Raleway&display=swap');

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

* {
	box-sizing: border-box;
	-moz-box-sizing:border-box;
}

.clear {
	clear:both;
}

image, img {
	border:0px;
}

body {
	margin:0px;
	background: #f0f4f8 url('/assets/images/bg2014.png') repeat-x top;
}

p {
	font-size:14px;
}

#wrapper {
	position:relative;
	width:1200px;
	margin:auto;
	background:white;
}

#header {
	background: #2973b4;
}

#hleft {
	float:left;
	min-width:55%;
}

#logo {
	height: 60px;
	padding: 15px 10px 15px 10px;
	font-size:18px;
	font-weight:normal;
	font-family:'Raleway',sans-serif;
	color:#f0f4f8;
	font-family:arial;
	letter-spacing:1px;
}

#logo image, #logo img {
	height:26px;
	width:84px;
	vertical-align:middle;
	margin-right:10px;
	//float:left;
	line-height:26px;
}

#hright {
	float:right;
	min-width:40%;
	text-align: right;
	font-size:14px;
	color:white;
	font-family:arial;
	padding: 20px 10px 0px 0px;
}

#menu {
	background: #63aae9;
}

#menu-left {
	width:65%;
	float:left;
}

#menu ul {
	list-style:none;
	margin:0px;
	padding:0px;
}

#menu ul li {
	float:left;
	padding:5px 15px 5px 15px;
}

#menu ul li:hover {
	background: #9ccdf9;
}

#menu ul li.active {
	background: #2973b4;
}

#menu ul li a {
	color:white;
	font-family:arial;
	font-size:12px;
	text-decoration:none;
}

#menu ul li.last {
	display:none;
}

#menu-right {
	width:30%;
	float:right;
	color:white;
	font-family:arial;
	font-size:12px;
	text-align:center;
	padding: 7px;
}

#menu-right:hover {
	background: #9ccdf9;
}

#menu-right a {
	color:white;
	text-decoration:none;
}

#mobile-menu {
	background: #f0f4f8;
	position:relative;
	margin:0px;
	border:1px solid #f0f4f8;
}

#mobile-menu ul {
	list-style:none;
	padding:0px;
	margin:0px;
}

#mobile-menu ul li {
	padding:5px 3px 5px 15px;
	border-bottom: 1px solid gray;
}

#mobile-menu ul li.last {
	display: none;
}

#mobile-menu ul li a {
	font-family:arial;
	text-decoration:none;
	color: #2973b4;
}

#cart {
	background: #9ccdf9;
	padding:1%;
	border-bottom:1px solid #63aae9;
	font-family:arial;
	color:white;
}

#cart a {
	text-decoration:none;
}

#main {
	width: 100%;
	position: relative;
	border:1px solid #d8dbde;
	margin-top: 3px;
}

/* PAGE LAYOUTS */
/* reusable small columns */

.small-col-l {
	width:50%;
	float:left;
}

.small-col-r {
	width:50%;
	float:right;
	border-left: 1px solid #d8dbde;
}

/* reusable small columns - for unbalanced (book) tpl */

.unbal-col-l {
	width:40%;
	float:left;
}

.unbal-col-r {
	width:60%;
	float:right;
	border-left: 1px solid #d8dbde;
}

.unbal-col-l_flip {
	width:60%;
	float:left;
}

.unbal-col-r_flip {
	width:40%;
	float:right;
	border-left: 1px solid #d8dbde;
}

.unbal-col-l-swap {
	width:40%;
	float:left;
	border-right: 1px solid #d8dbde;
}

.unbal-col-r-swap {
	width:60%;
	float:right;
}

/* COLUMNS - HOME PAGE */

.main-l {
  position: relative;
  top: 0px;
  left: 0px;
  float:left;
  width: 600px;
}

.main-r {
	margin-left: 600px;
	border-left: 1px solid #d8dbde;
}

.main-l-l {
	width:50%;
	float:left;
}

.main-l-r {
	width:50%;
	float:right;
	border-left: 1px solid #d8dbde;
}

/* COLUMNS - CENTER COL */

.wide-l {
	width:20%;
	float:left;
}

.wide-r {
	width:80%;
	float:right;
}

.wide-r-l {
	width:60%;
	float:left;
	border-left: 1px solid #d8dbde;
	border-right: 1px solid #d8dbde;
}

.wide-r-r {
	width:39.7%;
	float:right;
}

.col-inner {
	padding:0% 3% 3% 3%;
	font-family: 'Merriweather', serif;
	font-size: 0.9em;
	line-height: 1.4em;
}

.col-inner h1 {
	line-height: 1.15em;
	margin:0;
	padding:0;
}

.col-inner h2 {
	font-size: 1.25em;
	line-height: 1.15em;
}

.col-inner-top {
	padding:3%;
}

.book-inner {
	padding-top:2%;
}

.book-inner img, .book-inner image {
	display:block;
	float:left;
	margin-right:2%
}

.section-head {
	background: #e9ecef;
	padding:10px;
	font-family:arial;
	font-size:12px;
	font-weight:bold;
	letter-spacing:1px;
}

.gbox {
	padding:3%;
	font-family: 'Merriweather', georgia, serif;
	display:inline-block;
	width:100%;
	position:relative;
}

.gbox image, .gbox img {
	float:left;
	margin-right:5px;
}

.gbox h2, .gbox h3 {
	margin:0px;
	padding:0px;
	font-weight:normal;
}

.gbox h2 {
	font-size:1.1em;
}

.gbox h2 a {
	color:black;
}

.gbox h3 {
	font-size:0.8em;
}

.gbox h4 {
	font-size:0.7em;
	font-weight:normal;
	margin:0px;
	padding:0px;
}

.gbox h4 a {
	color:#5f6061;
}

.gbox a {
	text-decoration:none;
}

.gbox-img {
	width: 29%;
	float: left;
}

.gbox-img image, .gbox-img img {
	float: none;
	width:100%;
	height: auto;
	display: block;
}

.gbox-txt {
	width: 68%;
	float: right;
}

#advert {
	position:relative;
	margin: 3%;
	text-align: center;
	width: 94%;
}

.dlist {
	list-style:none;
	margin:0px;
	padding:0px;
}

.dlist li {
	border-bottom:1px solid #d8dbde;
	padding: 1% 3% 1% 3%;
}

.dlist li.active {
	background: #d8dbde;
}

.dlist li .listsub {
	display:block;
	color:gray;
	font-size:10px;
	font-family:arial;
	text-transform:uppercase;
}

.dlist li:hover {
	background: #f0f4f8;
}

.dlist li a {
	text-decoration:none;
	font-family:arial;
	font-size: 0.74em;
	color:#373839;
}

.rev li {
	background-color: #f0f4f8;
}

.rev li:hover {
	background: white;
}

footer {
	background: #2973b4;
	font-family:arial;
	font-size:0.71em;
	line-height:1.3em;
	color:white;
}

footer a {
	color:white;
	text-decoration:none;
}

#footer-l {
	width:72%;
	padding:1.5%;
	float:left;
}

#footer-r {
	width:25%;
	float:right;
}

#footer-l ul {
	list-style:none;
	margin:0px;
	padding:0px;	
}

#footer-l ul li {
	width:30%;
	float:left;
}

#viewerCanvas {
	display:block;
}

.jnl-img {
	float:left;
	margin-right:2%;
	border:0;
}

#cat-list {
margin:0px;
padding:0px;
list-style:none;
font-size:11px;
}

#cat-list li {
float:left;
width:22.6%;
color:white;
margin:1.2%;
border:1px solid white;
}

#cat-list li:hover {
border:1px solid black;
color:black;
}

#cat-list img, #cat-list image {
display:block; 
width:100%; 
height:auto;
}

/* HOME PG FEATURED BOOK */

#feature {
	display:inline-block;
	width:100%;
	position:relative;
	padding:3% 3% 2% 3%;
	cursor: pointer;
}

#feature-left {
	width:20%;
	float:left
}

#feature-right {
	width:77%;
	float:right;
	text-align:left;
	font-family:arial
}

#feature-right h1 {
	margin-top:0;
	font-size:1.5em;
}

#twenty-years { position:absolute; top:0; left:54%; }
#twenty-years image, #twenty-years img { height:110px; width:auto }