﻿.bb-custom-wrapper {
	width: 960px;
	max-width: 100%;
	/*height: 100%;*/
	background-color: #e8e6d9;
	border-top: 10px #4C4C4C solid;
	margin: 0px auto;
	position: relative;
}

.bb-custom-wrapper .bb-bookblock {
	width: 100%;
	/*height: 100%;*/
	-webkit-perspective: 2000px;
	perspective: 2000px;
	position: relative;
}
.footer {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #FFFFFF;
	text-align: center;
	background-color: #4C4C4C;
	padding: 10px 20px 20px;
	margin-top: 70px;
}

.bb-custom-side {
	width: 50%;
	float: left;
	height: auto;
	overflow: hidden;
	background-color: transparent;
	/* Centering with flexbox */
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-moz-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-moz-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}
.bb-custom-side img {
	width: 100%;
	float: left;
}
.bb-custom-side .left {
	text-align: right;
}
.bb-custom-side .right {
	text-align: left;
}

.bb-custom-firstpage h1 {
	font-size: 2.625em;
	line-height: 1.3;
	margin: 0;
	font-weight: 300;
	background: #fff;
}

.bb-custom-firstpage h1 span {
	display: block;
	font-size: 60%;
	opacity: 0.3;
	padding: 0 0 0.6em 0.1em;
}

.bb-custom-firstpage {
	text-align: center;
	padding-top: 15%;
	width: 50%;
	float: left;
	height: 100%;
}

.bb-custom-side p {
	padding: 8%;
	font-size: 1.8em;
	font-weight: 300;
}

.bb-custom-wrapper h3 {
	font-size: 1.4em;
	font-weight: 300;
	margin: 0.4em 0 1em;
}

.bb-custom-wrapper > nav {
	width: 100%;
	padding-bottom: 10px;
	margin: 0px auto;
	position: absolute;
	z-index: 1000;
	text-align: center;
	background-color: #e8e6d9;
}

.bb-custom-wrapper > nav a {
	display: inline-block;
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 2px;
	background: #1baede;
	color: #fff;
	font-size: 0;
	margin: 2px;
}

.bb-custom-wrapper > nav a:hover {
	opacity: 0.6;
}

.bb-custom-icon:before {
	font-family: Arial, Helvetica, sans-serif;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	font-size: 30px;
	line-height: 40px;
	display: block;
	-webkit-font-smoothing: antialiased;
}

.bb-custom-icon-first .bb-nav-icon, .bb-custom-icon-last .bb-nav-icon, .bb-custom-icon-arrow-left .bb-nav-icon, .bb-custom-icon-arrow-right .bb-nav-icon {
	width: 20px;
	height: 20px;
	background: url("../img/arrows.png") 0px center no-repeat;
	margin: 10px;
	display: inline-block;
}
.bb-custom-icon-arrow-left .bb-nav-icon {
	background-position: -27px center;
}
.bb-custom-icon-arrow-right .bb-nav-icon {
	background-position: -50px center;
}
.bb-custom-icon-last .bb-nav-icon {
	background-position: -81px center;
}


/* No JS */
.no-js .bb-custom-wrapper {
	height: auto;
}

.no-js .bb-custom-content {
	height: 470px;
}

.bb-item {
	height: auto;
}

.header {
	text-align: center;
	background-color: #2bc1e4;
	padding: 10px 20px;
}
.header img, .demo-4 .header a:hover {
	max-width: 100%;
	opacity: 1;
}

@media screen and (max-width: 61.75em){
	.bb-custom-side {
		font-size: 70%;
	}
}

@media screen and (max-width: 33em){
	.bb-custom-side {
		font-size: 60%;
	}
}

/* Responsive Media Queries */
@media screen and (max-width:1280px)
{
	
}

@media screen and (max-width:1024px)
{
	
}

@media screen and (max-width:980px)
{
	.bb-bookblock {
		height: 682px;
	}
}

@media screen and (max-width:800px)
{
	.bb-bookblock {
		height: 552px;
	}
}

@media screen and (max-width:768px)
{
	.bb-bookblock {
		height: 532px;
	}
}

@media screen and (max-width:700px)
{
	.bb-bookblock {
		height: 482px;
	}
}

@media screen and (max-width:640px)
{
	.bb-bookblock {
		height: 432px;
	}
}

@media screen and (max-width:600px)
{
	.bb-bookblock {
		height: 422px;
	}
}

@media screen and (max-width:540px)
{
	.bb-bookblock {
		height: 382px;
	}
}

@media screen and (max-width:480px)
{
	.bb-bookblock {
		height: 342px;
	}
}

@media screen and (max-width:360px)
{
	.bb-bookblock {
		height: 252px;
	}
}

@media screen and (min-width:1025px) and (max-width:1280px)
{
	
}

@media screen and (min-width:981px) and (max-width:1024px)
{
	
}

@media screen and (min-width:801px) and (max-width:980px)
{
	
}

@media screen and (min-width:769px) and (max-width:800px)
{
	
}

@media screen and (min-width:701px) and (max-width:768px)
{
	
}

@media screen and (min-width:641px) and (max-width:700px)
{
	
}

@media screen and (min-width:601px) and (max-width:640px)
{
	
}

@media screen and (min-width:541px) and (max-width:600px)
{
	
}

@media screen and (min-width:481px) and (max-width:540px)
{
	
}

@media screen and (min-width:361px) and (max-width:480px)
{
	
}

@media screen and (min-width:321px) and (max-width:360px)
{
	
}

@media screen and (max-width:320px)
{
	.bb-bookblock {
		height: 226px;
	}
}