/*custom styles*/

.content-book {
    margin-top: 10px;
}

.content-book-left,
.content-book-right {
    vertical-align: top;
}

.content-book-right figure {
    padding: 0 0 10px 0;
}

.page-book {
    margin: 20px 0;
}

.spicok-avtor-content li div span a:after {
    content: '\002C';
    font-weight: bold;
    position: relative;
    top:-1px;
}

.search-but {
    cursor: pointer;
}

.search-but:active {
    position: relative;
    top:1px;
}

.search-but:hover {
    background: #eaeaea -moz-linear-gradient(top, #eaeaea 0%, #f9f9f9 100%);
    background: #eaeaea -webkit-linear-gradient(top, #eaeaea 0%, #f9f9f9 100%);
    background: #eaeaea -webkit-linear-gradient(top, #eaeaea 0%, #f9f9f9 100%);
    background: #eaeaea -o-linear-gradient(top, #eaeaea 0%, #f9f9f9 100%);
    background: #eaeaea -ms-linear-gradient(top, #eaeaea 0%, #f9f9f9 100%);
    background: #eaeaea linear-gradient(top, #eaeaea 0%, #f9f9f9 100%);
}

/*—————————*/

.bb-custom-wrapper {
	width: 620px;
	height: 380px;
	position: relative;
	padding:10px;
	-webkit-box-shadow: 0px 0px 10px 0 rgba(0, 0, 0, 0.4);
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);

}



.bb-custom-wrapper .bb-bookblock {
	width: 100%;
	height: 100%;
	-webkit-perspective: 2000px;
	-moz-perspective: 2000px;
	perspective: 2000px;
}

.bb-custom-side {
	width: 50%;
	float: left;
	height: 100%;
	overflow: hidden;
	/* 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-firstpage h1 {
	font-size: 2.625em;
	line-height: 1.3;
	margin: 0;
	font-weight: 300;
}

.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%;
	height: 40px;
	margin: 1em auto 0;
	position: fixed;
	bottom: 20px;
	z-index: 1000;
	text-align: center;
}

.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: 'arrows';
	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:before,
.bb-custom-icon-last:before {
	content: "\e002";
}

.bb-custom-icon-arrow-left:before,
.bb-custom-icon-arrow-right:before {
	content: "\e003";
}

.bb-custom-icon-arrow-left:before,
.bb-custom-icon-first:before {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

.pages {
    display: inline-block;
}

.pages span {
    display: inline-block;
    color: #808080;
    font-weight: bold;
    margin: 0 10px;
    text-decoration: none;
    cursor: pointer;
    padding: 8px;
}

.pages .bb-current {
    font-family: Arial, Tahoma, Verdana, sans-serif;
    font-size: 14px;
    color: #000;
    display: inline-block;
    font-weight: bold;
    margin: 0 10px;
    text-decoration: none;
    cursor: pointer;
    padding: 8px;
    border: solid 1px #808080;
    max-width: 55px;
    text-align: center;
}

/* No JS */
.no-js .bb-custom-wrapper {
	height: auto;
}

.no-js .bb-custom-content {
	height: 470px;
}

@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%;
	}
}

