/* General Demo Style */
@import url(http://fonts.useso.com/css?family=Lato:300,400,700);

 img{ display:block;}
@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%;}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

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;
}

a img {
	border: none;
}

/* Header Style */
.main,
.container > header {
	margin: 0 auto;
	padding: 6px 0;
}

.container {
	height: auto;
	overflow:hidden;
	display:block;
}

.container > header {
	text-align: center;
	background: rgba(0,0,0,0.01);
}

.container > header h1 {
	font-size: 2.625em;
	line-height: 1.3;
	margin: 0;
	font-weight: 300;
}

.container > header span {
	display: block;
	font-size: 60%;
	opacity: 0.3;
	padding: 0 0 0.6em 0.1em;
}

/*
.main {
	max-width: 79em;
}*/

.column {
	float: left;
	width: 50%;
	padding:0 10px;
	height: auto;
	position: relative;
}

.column:nth-child(2) {
	box-shadow: -1px 0 0 rgba(0,0,0,0.1);
}

.column p {
	
	font-size: 14px;
	padding: 0;
	margin: 0;

}

/* To Navigation Style */
.codrops-top {
	background: #fff;
	background: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
	width: 100%;
	font-size: 0.69em;
	line-height: 2.2;
}

.codrops-top a {
	padding: 0 1em;
	letter-spacing: 0.1em;
	color: #888;
	display: inline-block;
}

.codrops-top a:hover {
	background: rgba(255,255,255,0.95);
	color: #333;
}

.codrops-top span.right {
	float: right;
}

.codrops-top span.right a {
	float: left;
	display: block;
}

.codrops-icon:before {
	font-family: 'codropsicons';
	margin: 0 4px;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}



/* Demo Buttons Style */
.codrops-demos {
	padding-top: 1em;
	font-size: 0.9em;
}

.codrops-demos a {
	display: inline-block;
	margin: 0.2em;
	padding: 0.45em 1em;
	background: #999;
	color: #fff;
	font-weight: 700;
	border-radius: 2px;
}

.codrops-demos a:hover,
.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover {
	opacity: 0.6;
}

.codrops-nav {
	text-align: center;
}

.codrops-nav a {
	display: inline-block;
	margin: 20px auto;
	padding: 0.3em;
}

/* Demo Styles */

.demo-1 body {
	color: #87968e;
	background: #f0f0f0;
}

.demo-1 a {
	color: #72b890;
}

.demo-1 .codrops-demos a {
	background: #72b890;
	color: #fff;
}

.demo-2 body {
	color: #fff;
	background: #c05d8e;
}

.demo-2 a {
	color: #d38daf;
}

.demo-2 a:hover,
.demo-2 a:active {
	color: #fff;
}

.demo-2 .codrops-demos a {
	background: #883b61;
	color: #fff;
}

.demo-2 .codrops-top a:hover {
	background: rgba(255,255,255,0.3);
	color: #333;
}

.demo-3 body {
	color: #87968e;
	background: #fff2e3;
}

.demo-3 a {
	color: #ea5381;
}

.demo-3 .codrops-demos a {
	background: #ea5381;
	color: #fff;
}

.demo-4 body {
	color: #999;
	background: #fff2e3;
	overflow: hidden;
}

.demo-4 a {
	color: #1baede;
}

.demo-4 a:hover,
.demo-4 a:active {
	opacity: 0.6;
}

.demo-4 .codrops-demos a {
	background: #1baede;
	color: #fff;
}

.demo-5 body {
	background: #fffbd6;
}


@media only screen and (max-width: 959px){}

@media only screen and (min-width: 768px) and (max-width:959px) { 
		
	
	#wrapper {width:748px; margin:0 auto;}
	
	.bb-item{ width:748px}
	.bb-item a img{ width:748px;}
	
	#bb-bookblock {width: 748px; height: 308px; }
	#navbutton{ width:80%;}
	#button01,#button02,#button03,#button04,#button05{ float:left; width:60px; text-align:center; margin-left:10px;}
	#navbutton a {width: 60px; height: 60px;}

	
	}

/*@media only screen and (max-width: 767px){
	
	#wrapper {width:600px; margin:0 auto;}
	 #select-to-img,#select-to-img01,#select-to-img18{ width:300px;}
	.bb-item{ width:600px}
	.bb-item a img{ width:600px;}
	#button0{ margin-left:20px; display:inline; display:block;}
	#bb-bookblock {width: 600px; height: 386px; }
	#navbutton{ width:46%;}
	
	}*/

@media only screen and (min-width: 480px) and (max-width:767px){
	
	 #wrapper {width:460px; margin:0 auto;}
	
	.bb-item{ width:460px}
	.bb-item a img{ width:460px;}

	#bb-bookblock {width: 460px; height: 189px; }
	#navbutton{ width:80%;}
	#button0{ margin-left:60px; display:inline; display:block;}
	#navbutton a {width: 60px; height: 50px;}
	#button01,#button02,#button03,#button04,#button05{ float:left; width:60px; text-align:center; margin-left:10px; display:inline; display:block;}
}

@media only screen and (max-width: 479px){
	
	#wrapper {width:300px; margin:0 auto;}
	
	.bb-item{ width:300px}
	.bb-item a img{ width:300px;}

	#bb-bookblock {width: 300px; height: 123px; }
	#button01,#button02,#button03,#button04,#button05{ float:left; width:30px; text-align:center; margin-left:20px; display:inline; display:block;}
	#navbutton a {width: 30px; height: 30px;}
	#navbutton{ width:92%;}
	#bb-nav-chinese span{ position:relative; top:-6px; height:60px; clear:both; overflow:hidden; font-size:12px;}
	#button0{margin-left:30px; display:inline; display:block;}


}

