
/*------------------------------------*\
	RESET
\*------------------------------------*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{
	margin:0;
	padding:0;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
    display:block;
}
table{
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img{ 
	border:0;
}
address,caption,cite,dfn,th,var{
	font-style:normal;
	font-weight:normal;
}
caption,th{
	text-align:left;
}
h1,h2,h3,h4,h5,h6{
	font-size:100%;
	font-weight:normal;
}
q:before,q:after{
	content:'';
}
abbr,acronym{
	border:0;
}

/*------------------------------------*\
	Web Fonts
\*------------------------------------*/

@font-face {
    font-family: 'bold_dot_digital-7regular';
    src: url('../fonts/bold_dot_digital-7-webfont.eot');
    src: url('../fonts/bold_dot_digital-7-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/bold_dot_digital-7-webfont.woff') format('woff'),
         url('../fonts/bold_dot_digital-7-webfont.ttf') format('truetype'),
         url('../fonts/bold_dot_digital-7-webfont.svg#bold_dot_digital-7regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*------------------------------------*\
	BEGIN
\*------------------------------------*/

html, body, .body-wrap {
	height: 100%;
	overflow: hidden;
	background: #efefef;
}
body {
	font-family: 'bold_dot_digital-7regular';
	color: #fff;
}
a {
	color: #aaa;
	text-decoration: none;
}
a:focus {
	outline: none;
}
input {
	width: 93%;
	padding: 0.4em 0.4em;
	font-size: 1.4em;
	color: #333;
	letter-spacing: 0.05em;
	border: 0;
	border-radius: 8px;
}
nav a {
	margin-right: 1em;
}
nav a:last-child {
	margin-right: 0;
}

.app-wrap {
	margin: 0 auto;
}

.site-width {
	max-width: 1400px;
	margin: 0 auto;
	overflow: hidden;
}

/* 
 *	HEADER 
 */	
header {
	margin: 0 auto;
	padding: 0.6em 0;
	height: 44px;
	overflow: hidden;
	background: #000 url(../images/twinkle_twinkle.png);
}
header nav {
	padding: 0 .4em 0 2.5%;
	float: left;
}
.site-title {
	float: left;
	display: block;
	text-decoration: none;
	color: #fdff44;
	white-space: nowrap;
	font-size: 40px;
	line-height: 40px;
	word-spacing: -12px;
}
.primary-menu {
	float: left;
	list-style: none;
}
.primary-menu li {
	float: left;
	margin-right: 1em;
}
.primary-menu li a {
	display: block;
	padding: 1em 1em 0;
}
.new-book-link {
	display: none;
	white-space: nowrap;
}

.social {
	display: inline-block;
	float: right;
	position: relative;
	top: 15px;
	right: 2%;
	list-style: none;
	overflow: hidden;
}
.social li {
	width: 90px;
	float: right;
	margin: 0;
	overflow: hidden;
}
.social .gplus {
	width: 50px;
}
.social .pinterest {
	width: 50px;
}

/* 
 *	BOOK 
 */	
.book {
	padding: 1.5% 0 5%;
	position: relative;
}
/* section = page wrap.. 2 pages */
section {
	display: none;
	overflow: hidden;
}
section.current {
	display: block;
}
.page {
	width: 48%;
	float: left;
	padding: 0 1%;
	cursor: pointer;
}
.photo {
	max-width: 100%;
	position: relative;
	display: block;
	margin: 0 auto;
}
.cover .photo {
	left: 0 !important;
}

/* 
 *	BOOK - PAGES VIEW 
 */
.pages-view.closed {
	padding: 0;
	width: 100%;
}
.pages-view .cover {
 	max-width: 1800px;
 	background: #000 url(../images/twinkle_twinkle.png);
 }
.pages-view .cover .page {
	width: 99%;
	height: 93%;
	padding: 0 .5%;
	box-shadow: 0px 0px 10px #000;
}
.pages-view .cover .photo {
	left: 0;
	width: 100%;
	max-height: 100%;
	cursor: pointer;
}
.pages-view .page:first-child .photo {
	left: 0.5%;
}
.pages-view .page:last-child .photo {
	left: -0.5%;
}
.pages-view .page:before {
	content: "";
	position: absolute;
	top: 50%;
	width: 0;
	height: 0;
	border: 26px solid transparent;
	margin-top: -50px;
	opacity: 0.2;
}
.pages-view .page:hover:before {
	opacity: 1;
}
.pages-view .page:first-child:before {
	left: -26px;
	border-right: 26px solid #bbb;
}
.pages-view .page:last-child:before {
	right: -26px;
	border-left: 26px solid #bbb;
}
.pages-view.closed .page:before { 
	display: none;
}

/* 
 *	BOOK - COLUMN VIEW 
 */
.column-view .page {
	cursor: default;
}

/* 
 *	STATUS BAR - FEEDBACK FOR USER 
 */
.status-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 96%;
	padding: 0 2%;
	text-align: right;
	background: #000;
	opacity: 0.8;
	z-index: 99;
}
.status-bar p {
	font-family: Arial;
	font-size: 1.6em;
	line-height: 2em;
	color: #fff;
	margin-bottom: 0;
}

/* 
 *	UTILS
 */
.nopacity {
	width: 100%;
	background: #efefef url(../images/ajax-loader.gif) no-repeat center center;
}

/*
 * FALLBACKS 
 */
.lt-ie8 .facebook,
.lt-ie8 .gplus {
	display: none;
}
.lt-ie8 .page {
	padding: 0 0.9%;
} 	

@media only screen and (max-width: 1100px) {
    html, body, .body-wrap {
    	overflow: visible;
    	background: #111;
    }
    .book, .book.closed {
		padding: 1% 0 0;
	}	
    section {
    	display: block;
    }
    .page, .cover .page {
    	width: 98%;
    	float: none;
    	margin: 0 auto;
    }
    .page.empty,
    .page.blank {
    	display: none;
    }
    .photo {
    	margin-bottom: 1.5%;
    	background: #222 url(../images/ajax-loader-111on222.gif) no-repeat center	center;
    }
} 
@media only screen and (max-width: 760px) {
    .site-title {
    	font-size: 30px;
    	line-height: 46px;
    }
}
@media only screen and (max-width: 690px) {
	.pinterest {
		display: none;
	}
}
@media only screen and (max-width: 610px) {
	.stumble {
		display: none;
	}
}
@media only screen and (max-width: 520px) {
	.gplus	{
		display: none;
	}
}
@media only screen and (max-width: 470px) {
	.twitter	{
		display: none;
	}
}
@media only screen and (max-width: 380px) {
	.facebook	{
		display: none;
	}
	header nav,
	.site-title {
		width: 100%;
		text-align: center;
		padding: 0;
	}
}
@media only screen and (max-width: 265px) {
	.site-title {
		font-size: 20px;
	}
}