/*
Theme Name: Marcus Chown
Author: Bookswarm
Author URI: http://www.bookswarm.co.uk
Description: Custom theme for Marcus Chown
Version: 1.0
Text Domain: marcuschown;
*/


/* --- reset --- */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

textarea, input {
	outline: none;
}

/* -end reset- */


/* ----- generic structure ----- */

html, body {
  height: 99%;
}

body {
	background-color: #fff;
	font-family: 'Cardo', serif;
	font-size: 12px;
	color: #000;
}

#content {
	margin-bottom: 45px;
}

#content.page {
	max-width: 1050px;
	width: 100%;
	margin: 20px auto 45px;
}


/* --- typography and generic elements / classes --- */

h1,h2,h3,h4,h5,h6 {
	color:#000;
	display: block;
	width: 100%;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
}

h1 {
	font-size: 40px;
	padding-bottom: 5px;
	margin-bottom: 22px;
}

h2 {
	font-size: 30px;
	padding-bottom: 5px;
	margin-bottom: 15px;
}

h3 {
	font-size: 26px;
	padding-bottom: 4px;
	margin-bottom: 10px;
}

h4 {
	font-size: 22px;
	padding-bottom: 5px;
	margin-bottom: 8px;
}

h5 {
	font-size: 18px;
	margin-bottom: 12px;
}

h6 {
	font-size: 16px;
	margin-bottom: 15px;
}

p {
	line-height: 16px;
	margin-bottom: 20px;
	font-family: 'Open Sans', sans-serif;
}

blockquote, q {
	margin: 0 30px;
	font-style: italic;
	font-size: 14px;
}

strong, b {
	font-weight: 700;
}

em, i{
	font-style: italic;
}

a:link , a:visited {
	text-decoration: none;
	color: #3399ff;
}

a:hover {
	text-decoration: underline;
}

a.button {
	color: #fff;
	background: #3399ff;
	display: inline-block;
	padding: 5px 9px;
	margin: 5px 5px 5px 0;
	font-size: 11px;
	font-weight: 800;
}

.left { float: left; }
.right { float: right; }
.clear { clear: both; }


img.alignright, .wp-caption.alignright {float:right; margin:0 0 0.7em 0.7em} 
img.alignleft, .wp-caption.alignleft {float:left; margin:0 0.7em 0.7em 0} 
img.aligncenter {display: block; margin-left: auto; margin-right: auto} 
.alignright {float:right; } 
.alignleft {float:left; } 
.aligncenter {display: block; margin-left: auto; margin-right: auto}
.wp-caption-text { font-weight: bold;text-align: center;margin-top: 3px; }

ul, ol {
	margin-left: 17px;
}

ul li, ol li {
	list-style: disc;
	padding: 0 0 8px 0;
}

/* forms */

.gform_button, input[type=submit] {
	display: block;
	border: 0;
	color: #fff;
	background-color: #3399ff;
	padding: 5px;
	font-size: 12px;
	cursor: pointer;
}

#content .gform_wrapper .top_label textarea.textarea {
	width: 98%;
}

/* comments */

/* --- comments --- */

#comments label {
	display: inline-block;
	width: 100px;
}

#comments textarea {
	height: 120px;
	margin-left: 5px;
	padding: 5px;
}

.comments-title {
	font-size: 20px;
}

#comments #reply-title {
	font-size: 16px;
}

#respond {
	padding-top: 15px;
}

.commentlist li {
	list-style: none;
	margin-left: 0;
}

#comments #submit {
	text-transform: uppercase;
}

.comment-author {
	margin-bottom: 4px;
}


/* -- header -- */

#masthead {
	border-bottom: 1px solid #999;
}

#masthead .inner {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	text-align: center;
}

#title:link, #title:visited {
	color: #000;
}

#title:hover {
	text-decoration: none;
}

#title h1 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: 54px;
	margin-bottom: 10px;
}

#title .sub {
	font-family: 'Cardo', serif;
	font-size: 24px;
	font-style: italic;
}

/* --- nav --- */
#site-navigation {
	clear:  both;
	margin: 20px 0;
	overflow: hidden;
	padding: 0 20px;
	text-align: center;
}

#site-navigation ul li {
	display: inline-block;
	list-style: none;
	padding: 0;
}

#site-navigation ul li a:link,
#site-navigation ul li a:visited {
	display: block;
	padding: 10px 15px;
	color: #000;
	text-transform: uppercase;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
}

#site-navigation ul li a:hover,
#site-navigation ul .current_page_item > a:link,
#site-navigation ul .current_page_item > a:visited {
	color: #3399ff;
	text-decoration: none;
}

#site-navigation ul.sub-menu {
	display: none;
	position: absolute;
	z-index: 999;
	width: auto;
	height: auto;
	background: #fff;
	margin-left: 0;
}

#site-navigation ul.sub-menu li {
	float: none;
	position: relative;
	display: block;
	text-align: left;
}

#site-navigation ul.nav-menu > li:hover ul.sub-menu {
	display: block;	
}

#site-navigation ul.sub-menu li a:hover {
	color: #3399ff;
}

#site-navigation ul.sub-menu .current_page_item > a:link,
#site-navigation ul.sub-menu .current_page_item > a:visited {
	color: #3399ff;
}


/* --- homepage --- */

#featured, .universe-slide {
	border-bottom: 1px solid #999;
	position: relative;
	overflow: hidden;
	max-height: 530px;
}

#featured img {
	width: 100%;
	height: auto;
	display: block;
}

#featured .caption, .universe-slide .caption {
	display: block;
	width: 340px;
	padding: 10px;
	text-align: center;
	position: absolute;
	right: 10px;
	bottom: 15px;
	font-family: 'Open Sans', sans-serif;
	font-size: 11px;
	line-height: 14px;
}

#featured p {
	margin-bottom: 0;
}

#featured .credit, .universe-slide .credit {
	display: block;
	width: 150px;
	padding: 10px;
	text-align: center;
	position: absolute;
	left: 10px;
	bottom: 15px;
	font-family: 'Open Sans', sans-serif;
	font-size: 9px;
	line-height: 12px;
	font-style: none;
}

.caption.dark, .credit.dark {
	background-color: rgba(0,0,0,0.5);
	/*color: #fff;*/
}

#quote {
	text-align: center;
	border-bottom: 1px solid #999;
	padding: 11px 0;
}

#quote p {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: 24px;
	line-height: 27px;
	margin-bottom: 3px;
}

#quote p.name {
	font-size: 12px;
	font-weight: 700;
	line-height: 15px;
}

#books {
	max-width: 1396px;
	width: 100%;
	margin: 0 auto;
	padding-top: 50px;
	overflow: hidden;
	position: relative;
}

#slider {
	width: 470px;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}

#books #slider div.book {
	background: #fff;
}

#slider .slick-prev {
	background: url('images/left-arrow.png') no-repeat center center;
	height: 193px;
	left: 20px;
	top: 52px;
	width: 49px;
}

#slider .slick-next {
	background: url('images/right-arrow.png') no-repeat center center;
	height: 193px;
	right: 20px;
	top: 52px;
	width: 49px;
}

#slider .slick-next:hover, #slider .slick-prev:hover {
	opacity: 0.8;
}

#slider .slick-prev:before,
#slider .slick-next:before  {
	content: none;
}

#slider .slick-slide img {
	margin: 0 auto;
}

#universe #slider {
	width: 100%;
}

#universe #slider .slick-next,
#universe #slider .slick-prev {
	top: 177px;
	width: 58px;
}

#universe #slider .slick-prev {
	background: url('images/left-arrow-shadow.png') no-repeat center center;
}

#universe #slider .slick-next {
	background: url('images/right-arrow-shadow.png') no-repeat center center;
}


#universe #slider .slick-slide img {
	width: 100%;
	height: auto;
} 

#universe .content {
	max-width: 1050px;
	width: 100%;
	margin: 20px auto 45px;
}

#books h2 {
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 5px;
}

#books h3 {
	font-size: 24px;
	margin-bottom: 25px;
}

#books h3, #books .info {
	display: block;
	text-align: center;
}

#slider .info {
	padding: 31px 30px 10px;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
}

#books > .left li, #books > .right li {
	list-style: none;
	display: block;
	margin: 0 7px;
}

#books > .left li {
	float: right;
}

#books > .right li {
	float: left;
}


#books > .left, #books > .right {
	width: 414px;
	float: none;
	position: absolute;
	top: 72px;
	padding-top: 53px;
	overflow: hidden;
	height: 179px;
}

#books > .left li, #books > .right li {
	opacity: 0.3;
}

#books > .left li:hover,
#books > .right li:hover {
	opacity: 1;
}

#books .left {
	left: 0;
}

#books .right {
	right: 0;
}

/* --- books page --- */

#books.wide #slider {
	width: 100%;
}

#books.wide #slider .cover {
	width: 13%;
	float: left;
	margin-left: 100px;
}

#books.wide #slider .info {
	width: 65%;
	float: right;
	padding-left: 20px;
	margin-right: 54px;
	text-align: left;
	padding-top: 0;
}

#books.wide #slider .cover img {
	width: 100%;
	height: auto;
}

#books.wide #slider .info .left {
	width: 49%;
	font-family: 'Open Sans', sans-serif;
}

#books.wide #slider .info .left h4 {
	font-family: 'Cardo', serif;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 0;
}

#books.wide #slider .info .left ul {
	margin-left: 0;
}

#books.wide #slider .info .left ul li,
#books.wide #slider .info .reviews li {
	list-style: none;
	padding-bottom: 2px;
}

#books.wide #slider .info .reviews {
	margin-left: 0;
}

#books.wide #slider .info .reviews p {
	margin-bottom: 0;
}

#books.wide #slider .info .reviews p.name {
	font-family: 'Cardo', serif;
	font-size: 12px;
	font-weight: 700;
}

#books.wide #slider .info .right h5 {
	font-size: 12px;
	font-weight: 700;
}

#books.wide #slider .info .button {
	margin-left: 0;
	margin-top: 20px;
}

#books.wide #slider .info .reviews li {
	margin-bottom: 10px;
}

#books.wide #slider .info .right {
	width: 49%;
}


/* --- footer --- */

footer#colophon {
	clear: both;
	background-color: #000;
	border-top: 1px solid #dadada;
	position: relative;
}

footer#colophon p {
	padding: 9px 25px 10px;
	margin: 0;
}

footer#colophon p, footer#colophon a:link, footer#colophon a:visited {
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 10px;
}

#social-bartender {
	position: absolute;
	right: 0;
	bottom: 0;
}

#social-bartender img {
	display: block;
}

#page-wrap {
	min-height: 100%;
	margin-bottom: -36px;
}

#page-wrap:after {
  content: "";
  display: block;
}
#page-wrap:after {
  height: 36px; 
}



/* ------------ RESPONSIVE MEDIA QUERIES ------- */
 
@media (max-width: 1334px) {
 	#books > .left, #books > .right {
 		width: 374px;
 	}
}

@media (max-width: 1243px) {
 	#books > .left, #books > .right {
 		width: 326px;
 	}
}
 

@media (max-width: 1130px) {
 	/*#books > .left, #books > .right {
 		width: 284px;
 	}*/
 	#books > .left {
 		margin-left: -30px;
 	}
 	#books > .right {
 		margin-right: -30px;
 	}
 	#books > .left li {
		float: left;
 	}
 	#books > .right li {
 		float: right;
 	}
 	#universe #slider .slick-next, #universe #slider .slick-prev {
 		top: 140px;
 	}
}


@media (max-width: 940px) {
 	#books > .left, #books > .right {
 		width: 150px;
 	}
 	#books > .left {
 		margin-left: 0;
 	}
 	#books > .right {
 		margin-right: 0;
 	}
 	#universe #slider .slick-next, #universe #slider .slick-prev {
 		top: 120px;
 	}
 }

/* iPad portrait */
@media (max-width: 768px) {
 	#universe #slider .slick-next, #universe #slider .slick-prev {
 		top: 90px;
 	}
}
 
/* eg: Android Samsung galaxy landscape */
@media (max-width: 685px) {

}
 
/* iphone 5 landscape */
@media (max-width: 568px) {

}
 
/* iPhone 3+4 landscape */
@media (max-width: 480px){
 
}
 
/* eg: Android Samsung galaxy portrait */
@media (max-width: 380px) {
 
}
 
/* iPhone 3+4 portrait */
@media (max-width: 320px) {
 
}
 
/* small android portrait */
@media (max-width: 240px) {
 
}


