/*

		Global Pageflip Styles
		
*/


#pageflip {
	width: 100%;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
}
#pagerin {
}
#stage {
}

/*

		template 1 - Meet Pageflip Styles

*/

.not-waxwing-front-cover-page #book-grip-left {
	top: 0;  right: 1100px;
	display: block;
}
.not-waxwing-front-cover-page #book-grip-right {
	top: 0; right: 40px;
	width: 3%; 
}
.book-grip {	
	position: absolute;
	width: 5%; height: 100%;
	z-index: 10;
}
.book-grip:hover {
    cursor: move;
    cursor: -webkit-grab;
    cursor: grab;
}
#book-grip-right {	
	top: 0; right: 0;
}
#book-grip-left {	
	display: none;
}

.centered-buttons div:hover {
	cursor: pointer;
}

.page-container {
}

#book .page-content {
	padding: 80px 60px;
	color: #333;
	font-size: 1.1875em;
	line-height: 1.5;
}

#book .page-content p {
	margin-top: 0;
	text-align: justify;
}
#book .page-content section h1 {
	margin-top: 0;
}

#book .page-content .dropcap p:first-child:first-letter {
	float: left;
	font-size: 108px;
	line-height: 60px;
	padding-top: 4px;
	padding-right: 8px;
	padding-left: 3px;
	font-weight: normal;
}



#book .page-container.right-side {
	-webkit-box-shadow: 2px 0 2px 1px rgba(0,0,0,0.3);
	-moz-box-shadow: 2px 0 2px 1px rgba(0,0,0,0.3);
	box-shadow: 2px 0 2px 1px rgba(0,0,0,0.3);
}

#book .page-number {
	position: absolute;
	bottom: 20px;
	right: 40px;
	font-size: 24px;
	color: #999999;
}

#book #page3content,
#book #page9content,
#book #page15content,
#book #page19content {
	padding: 0;
	display: table;
	width: 100%; height: 100%;
}

#book .title  {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}
#book .title header {
	margin-bottom: 12%;
}
#book .title header h1 {
	font-size: 72px;
	text-align: center;
	margin: 0;
}


#book #front-cover {
	text-align: center;
}
#book #front-cover h1 {
	font-size: 108px;
	color: #361e0a;
	margin: 0;
	font-family: "LiebeErika-Regular",Arial,sans-serif;
    margin: 0;
    padding: 0;
}
#book #front-cover h2 {
	color: #361e0a;
}
#book #front-cover p {
	text-align: center;
}
#book #front-cover footer p {
	margin-top: 40px;
	font-size: 14px;
	text-transform: uppercase;
	color: #361e0a;
}
#book #front-cover .waxwing-image {
	margin: 20px 0 20px 0;
}
#book #front-cover .hr {
	width: 87%; margin-left: auto; margin-right: auto;
	border: 1px solid #976936;
	-webkit-box-shadow: 0px 1px 0px 1px rgba(255,255,255,0.25);
	-moz-box-shadow: 0px 1px 0px 1px rgba(255,255,255,0.25);
	box-shadow: 0px 1px 0px 1px rgba(255,255,255,0.25);
}

#book #page1 {
	background: url('../img/book-texture.jpg');
}

#book #bird-pg1 .image {
	text-align: center;
}
#book #bird-pg1 .image img {
	padding: 60px 0px;
}

#book #bird-pg2 .image {
	text-align: left;
}
#book #bird-pg2 .image img {
	padding: 60px 0px;
}

#book #characters-pg1 section.column-1 div,
#book #characters-pg2 section.column-1 div.inner-content,
#book #film-pg1 section.column-1 div,
#book #film-pg2 section.column-1 div,
#book #bird-pg2 section div,
#book #directors-pg1 section.column-1 div {
	margin: 0 auto;
}
#book #characters-pg1 section.column-1 .frame,
#book #film-pg1 section.column-1 .frame,
#book #film-pg2 section.column-1.frame,
#book #bird-pg2 section .frame {
	text-align: center;
}
#book #characters-pg1 section.column-2 div,
#book #film-pg1 section.column-2 div,
#book #film-pg2 section.column-2 div,
#book #directors-pg1 section.column-2 div, {
	margin-right: auto;
	text-align: left;
}

#book #characters-pg2 .content h1 {
	margin-top: 10px;
}
#book #characters-pg2 .frame:last-child {
	text-align: right;
} 

#book #directors-pg1 section.column-2 div {
	margin-top: 66px;
}

.group:after {
  content: "";
  display: table;
  clear: both;
}

.frame {
    margin: 0;
    padding: 0;
}
.frame img {
    border: 8px solid white;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
}

/* CSS3 effects for book */
.not-waxwing-front-cover-page #book .left-side {
	background-image: -o-linear-gradient(right , rgb(212,212,212) 0%, rgb(255,255,255) 5%, rgb(243,243,243) 10%, rgb(244,244,244) 100%);
	background-image: -moz-linear-gradient(right , rgb(212,212,212) 0%, rgb(255,255,255) 5%, rgb(243,243,243) 10%, rgb(244,244,244) 100%);
	background-image: -webkit-linear-gradient(right , rgb(212,212,212) 0%, rgb(255,255,255) 5%, rgb(243,243,243) 10%, rgb(244,244,244) 100%);
	background-image: -ms-linear-gradient(right, rgb(212,212,212) 0%, rgb(255,255,255) 5%, rgb(243,243,243) 10%, rgb(244,244,244) 100%);
	background-image: linear-gradient(right, rgb(212,212,212) 0%, rgb(255,255,255) 5%, rgb(243,243,243) 10%, rgb(244,244,244) 100%);
}
.not-waxwing-front-cover-page #book .right-side {
	background-image: -webkit-gradient(linear, left center, right center, from(#828282), to(#f4f4f4), color-stop(0.75%, #cfcfcf), color-stop(10%, #efefef));
	background-image: -webkit-linear-gradient(left, #828282, #cfcfcf 0.75%, #efefef 10%, #f4f4f4);
	background-image: -moz-linear-gradient(left, #828282, #cfcfcf 0.75%, #efefef 10%, #f4f4f4);
	background-image: -o-linear-gradient(left, #828282, #cfcfcf 0.75%, #efefef 10%, #f4f4f4);
	background-image: -ms-linear-gradient(left, #828282, #cfcfcf 0.75%, #efefef 10%, #f4f4f4);
	background-image: linear-gradient(to right, #828282, #cfcfcf 0.75%, #efefef 10%, #f4f4f4);
}

#book-bevel-top {
	position: absolute;
	top: 0;
	width: 100%; height: 6px;
/*	z-index: 2;*/
	
	background-image: -webkit-gradient(linear, center top, center bottom, from(rgba(255,255,255, 0.25)), to(rgba(255,255,255, 0.05)));
	background-image: -webkit-linear-gradient(top, rgba(255,255,255, 0.25), rgba(255,255,255, 0.05));
	background-image: -moz-linear-gradient(top, rgba(255,255,255, 0.25), rgba(255,255,255, 0.05));
	background-image: -o-linear-gradient(top, rgba(255,255,255, 0.25), rgba(255,255,255, 0.05));
	background-image: -ms-linear-gradient(top, rgba(255,255,255, 0.25), rgba(255,255,255, 0.05));
	background-image: linear-gradient(to bottom, rgba(255,255,255, 0.25), rgba(255,255,255, 0.05));
}

#book-bevel-bottom {
	position: absolute;
	bottom: 0;
	width: 100%; height: 6px;
/*	z-index: 2;*/
	
	background-image: -webkit-gradient(linear, center top, center bottom, from(rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.3)));
	background-image: -webkit-linear-gradient(top, rgba(0,0,0, 0.05), rgba(0,0,0, 0.3));
	background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05), rgba(0,0,0, 0.3));
	background-image: -o-linear-gradient(top, rgba(0,0,0, 0.05), rgba(0,0,0, 0.3));
	background-image: -ms-linear-gradient(top, rgba(0,0,0, 0.05), rgba(0,0,0, 0.3));
	background-image: linear-gradient(to bottom, rgba(0,0,0, 0.05), rgba(0,0,0, 0.3));
}

#book-left-cut {
	position: absolute;
	left: 12px; top: 0;
	width: 11px; height: 100%;
/*	z-index: 2;*/
	
	background: -moz-linear-gradient(left, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0255,255,255,0.6)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left, rgba(255,255,255,0.2) 0%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left, rgba(255,255,255,0.2) 0%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left, rgba(255,255,255,0.2) 0%,rgba(255,255,255,0) 100%); /* IE10+ */
	background: linear-gradient(to right, rgba(255,255,255,0.2) 0%,rgba(255,255,255,0) 100%); /* W3C */
}

#book-left-shadow {
	position: absolute;
	left: 0; top: 0;
	width: 11px; height: 100%;
/*	z-index: 2;*/
	
	background: -moz-linear-gradient(left, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,0.6)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
	background: linear-gradient(to right, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* W3C */
}

#book-right-shadow {
	background: rgba(0,0,0, 0.15);
	position: absolute;
	right: 0; top: 0;
	width: 2px; height: 100%;
/*	z-index: 2;*/
}

#bookc {
/*	z-index: 5;*/
}

#book-spinal,
#book-spinal-left-shadow,
#book-spinal-right-hightlight {
	height: 779px;
	position: absolute;
	top: 0px;
/*	z-index: 3;*/
}
#book-spinal {
	background: url('../img/spinal.jpg');
	width: 36px;
	right: 1190px;
	
	-webkit-box-shadow: inset 0 0 7px rgba(0,0,0,0.1);
	-moz-box-shadow: inset 0 0 7px rgba(0,0,0,0.1);
	box-shadow: inset 0 0 7px rgba(0,0,0,0.1);
}
#book-spinal-left-shadow {
	width: 8px;
	right: 1226px;
	
	background-image: -webkit-gradient(linear, left center, right center, from(rgba(163,105,61,0.50)), to(rgba(122,89,57,0.50)));
	background-image: -webkit-linear-gradient(left, rgba(163,105,61,0.50), rgba(122,89,57,0.50));
	background-image: -moz-linear-gradient(left, rgba(163,105,61,0.50), rgba(122,89,57,0.50));
	background-image: -o-linear-gradient(left, rgba(163,105,61,0.50), rgba(122,89,57,0.50));
	background-image: -ms-linear-gradient(left, rgba(163,105,61,0.50), rgba(122,89,57,0.50));
	background-image: linear-gradient(to right, rgba(163,105,61,0.50), rgba(122,89,57,0.50));
}

#book-spinal-right-hightlight {
	width: 8px;
	right: 1182px;
	
	background-image: -webkit-gradient(linear, left center, right center, from(rgba(197,167,111,0.5)), to(rgba(178,148,92,0.5)));
	background-image: -webkit-linear-gradient(left, rgba(197,167,111,0.5), rgba(178,148,92,0.5));
	background-image: -moz-linear-gradient(left, rgba(197,167,111,0.5), rgba(178,148,92,0.5));
	background-image: -o-linear-gradient(left, rgba(197,167,111,0.5), rgba(178,148,92,0.5));
	background-image: -ms-linear-gradient(left, rgba(197,167,111,0.5), rgba(178,148,92,0.5));
	background-image: linear-gradient(to right, rgba(197,167,111,0.5), rgba(178,148,92,0.5));
}

#extra-right-pages {
/*	z-index: 2;*/
	position: absolute;
	top: 17px; right: 14px;
	width: 100px; height: 100%;
}
#extra-right-pages span {
	-webkit-box-shadow: 0 0 2px 1px rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 2px 1px rgba(0,0,0,0.3);
	box-shadow: 0 0 2px 1px rgba(0,0,0,0.3);
	background-color: #dfdfdf;
	display: block;
	position: absolute;
	top: 3px; right: 20px;
	width: 10px; height: 738px;
}
/* This is the last page due to layering */
#extra-right-pages span:first-child {
	background-color: #cfcece;
	top: 5px; right: 15px;
	height: 733px;
}

#book-texture-open {
	width: 10px; height: 100%;
	right: 0; top: 0;
/*	z-index: 1;*/
	opacity: 1;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-ms-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

.front-cover-flipped #book-texture-open {
	background: url('../img/book-texture.jpg');
	position: absolute;
	width: 100%; height: 100%;
	
	-webkit-box-shadow: 0 0 20px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 0 20px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(0,0,0,0.2);
	box-shadow: 0 0 20px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(0,0,0,0.2);
}


#page1 .waxwing-book-css3-styles,
.not-waxwing-front-cover-page .waxwing-book-css3-styles {
	opacity: 1;
}

.waxwing-book-css3-styles {
	opacity: 0;
	z-index: -1
}


/* TEMP CODE */

.grid .col {
    background-clip: padding-box !important;
    box-sizing: border-box;
    float: left;
    margin-right: 0.75643%;
    padding-right: 0.75643%;
    width: 4.84115%;
}
.grid .col2 {
    width: 10.4387%;
}
.grid .col3 {
    width: 16.0363%;
}
.grid .col4 {
    width: 21.6339%;
}
.grid .col5 {
    width: 27.2315%;
}
.grid .col6 {
    width: 32.829%;
}
.grid .col7 {
    width: 38.4266%;
}
.grid .col8 {
    width: 44.0242%;
}
.grid .col9 {
    width: 49.6218%;
}
.grid .col10 {
    width: 55.2194%;
}
.grid .col11 {
    width: 60.8169%;
}
.grid .col12 {
    width: 66.4145%;
}
.grid .col13 {
    width: 72.0121%;
}
.grid .col14 {
    width: 77.6097%;
}
.grid .col15 {
    width: 83.2073%;
}
.grid .col16 {
    float: none;
    width: 88.8048%;
}
.grid .col17 {
    float: none;
    width: 94.4024%;
}
.grid .col18 {
    float: none;
    width: 100%;
}
.grid .col:last-child, .grid .col18 {
    margin-right: 0;
    padding-right: 0;
}
.grid .col13 > .col12, .grid .col13 > .col6 {
    width: 100%;
}

