
/******************************************************************************
	Book Shelf
******************************************************************************/

.book-wrapper {
	border: 1px solid black;
	border-radius: 5px;
	padding: 5px;
	margin:5px;
	background-color: #e7e7e7;
}

.book-img {
	vertical-align: top;
	max-width: 150px;
}

.book-img img {
	width: 100%;
}

.book-desc {
	vertical-align: top;
}

.book-title {
	font-family: 'Archivo Narrow','sans-serif';
	font-size: 1.1em;
}

.learn-more-button {
	background: linear-gradient(to bottom left,rgba(0,0,0,0),rgba(0,0,0,.2));
	background-color: #d00000;
	padding: 15px;
	color: #ffffff;
	font-weight: bold;
	border: 1px;
	border-color: #404040;
	border-style: solid;
	border-radius: 1em;
	text-decoration: none;
}

.learn-more-button:link {
	color: #ffffff;
	text-decoration: none;
}
.learn-more-button:visited {
	color: #ffffff;
	text-decoration: none;
}

.learn-more-button:hover {
	background: linear-gradient(to bottom left,rgba(255,255,255,.3),rgba(255,255,255,0));
	background-color: #d00000;
}

.learn-more-button:active {
	color: #ffffff;
	text-decoration: none;
}

/******************************************************************************
	Teaser
******************************************************************************/

.blog-teaser {
	border: 1px solid black;
	border-radius: 5px;
	color: #f0f0f0;
	background-color: rgba(128,128,128,.1);
}

.blog-teaser:hover {
	background-color: rgba(128,128,128,.4);
}

.blog-teaser h1 {
	font-family: 'Archivo Narrow','sans-serif';
}

.kickstarter-wrapper {
	width:474px;
}
/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */

@media screen and (min-width: 880px){

	.book-img {
		height: 250px; /* TODO: is this needed */
	}

	#first-two-book-table {
		display: inline-table;
		border-spacing: 10px 0;
	}

	#first-two-book-row {
		display: table-row;
	}

	#book-1, #book-2 {
		display: table-cell;
		position: relative;
	}

	#book-1 .book-desc, #book-2 .book-desc {
		display: block;
		margin-bottom: 60px; /* HACK: to make sure there's enough space under desc for button */
	}

	#book-1 .learn-more-button-wrapper, #book-2 .learn-more-button-wrapper {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		margin-bottom: 5px;
	}

	.kickstarter-wrapper {
		width: 320px;
	}

}

/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */

@media screen and (min-width: 1060px){
	#first-two-book-table {
		display: block;
	}

	#first-two-book-row {
		display: block;
	}

	#all-three-book-table {
		display: inline-table;
	}

	#all-three-book-row {
		display: table-row;
	}

	#book-1, #book-2, #book-3 {
		display: table-cell;
		position: relative;
	}

	#book-1 .book-desc, #book-2 .book-desc, #book-3 .book-desc {
		display: block;
		margin-bottom: 60px; /* HACK: to make sure there's enough space under desc for button */
	}

	#book-1 .learn-more-button-wrapper, #book-2 .learn-more-button-wrapper, #book-3 .learn-more-button-wrapper {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		margin-bottom: 5px;
	}
}

/*
     FILE ARCHIVED ON 13:00:48 Jul 16, 2015 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 19:16:45 Dec 05, 2025.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 1.049
  exclusion.robots: 0.078
  exclusion.robots.policy: 0.056
  esindex: 0.014
  cdx.remote: 35.812
  LoadShardBlock: 266.934 (3)
  PetaboxLoader3.datanode: 145.368 (4)
  PetaboxLoader3.resolve: 45.039 (2)
  load_resource: 85.373
*/