/* General Demo Style */
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);

@font-face {
	font-family: 'codropsicons';
	src: url('../fonts/codropsicons/codropsicons.eot');
	src: url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
		url('../fonts/codropsicons/codropsicons.woff') format('woff'),
		url('../fonts/codropsicons/codropsicons.ttf') format('truetype'),
		url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
	font-weight: normal;
	font-style: normal;
}

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body,
html {
	font-size: 100%;
	padding: 0;
	margin: 0;
	height: 100%;
}

body {
	font-family: 'Lato', Calibri, Arial, sans-serif;
	color: #777;
	background: #f6f6f6;
}

a {
	color: #555;
	text-decoration: none;
	outline: none;
}

a:hover,
a:active {
	color: #777;
}

img {
	width: 100%;
	height: 100%;
	vertical-align: bottom;
	object-fit: cover;
	border: none;
}

/* 本のサイズ */
.bb-bookblock {
	width: 300px;
	height: 225px;
}

article.bb-custom-grid {
	margin: 50px auto 30px;
	width: 320px;
}

article.bb-custom-grid>div {
	display: flex;
	flex-direction: column;
}

article.bb-custom-grid>div {
	width: 300px;
	height: 260px;
	padding: 10px 20px 20px;
	background: #fff;
	position: relative;
	box-sizing: content-box;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ここからはドロップシャドウの設定 */
article.bb-custom-grid>div:before,
article.bb-custom-grid>div:after {
	content: '';
	position: absolute;
	z-index: -2;
	bottom: 15px;
	left: 10px;
	width: 50%;
	height: 20%;
	box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
	transform: rotate(-3deg);
}

article.bb-custom-grid>div:after {
	right: 10px;
	left: auto;
	transform: rotate(3deg);
}

article.bb-custom-grid nav {
	text-align: center;
	margin-top: 12px;
	padding-bottom: 5px;
}

article.bb-custom-grid nav span {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #f0f0f0;
	margin: 3px;
	cursor: pointer;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.2), 0 2px 1px rgba(255, 255, 255, 0.9);
}

article.bb-custom-grid nav span.bb-current {
	background: #ecb700;
}