html { height: 100%; }

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

body {
	font-family: 'Comfortaa', cursive, Calibri, Arial, sans-serif;
	background: #fff;
	font-weight: 400;
	font-size: 100%;
	color: #333;
	height: 100%;
}

.js body {
	overflow: hidden;
}

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

a:hover {
	color: #000;
}

.container,
.bb-custom-wrapper,
.bb-bookblock {
	width: 100%;
	height: 100%;
}

.container {
	position: relative;
	left: 0px;
	-webkit-transition: left 0.3s ease-in-out;
	-o-transition: left 0.3s ease-in-out;
	transition: left 0.3s ease-in-out;
}

.slideRight {
	left: 240px;
}

.no-js .container {
	padding-left: 240px;
}

.menu-panel {
	background: #41ab6b;
	width: 240px;
	height: 100%;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	overflow: auto;
}

.js .menu-panel {
	position: absolute;
	left: -240px;
}

.menu-panel h3 {
	font-size: 1.8em;
	padding: 20px;
	font-weight: 300;
	color: #fff;
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
} 
.menu-panel h4 {
	font-size: 18px;
	padding: 10px;
	font-weight: 300;
	color: #fff;
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
} 

.menu-toc {
	list-style: none;
}

.menu-toc li a{
	display: block;
	line-height: 3.5;
	padding: 0 20px;
	cursor: pointer;
	background: #41ab6b;
    color: #fff;
	font-size: 1.1em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition:background-color 0.4s ease-out 0s;
}

.menu-toc li a:hover,
.menu-toc li.menu-toc-current a{
	background: none repeat scroll 0 0 #f4f4f4;
	color:#41ab6b;
}
.download-list{
    list-style: none;
    position:relative;
    left: 195px;
    bottom:315px;
    width:32px;
    height:32px;
}
.download-list li{
    line-height:3.5;
    padding:0 5px;
}
.download-list li a {
    background: none repeat scroll 0 0 #41ab6b;
	cursor: pointer;
    color: #fff;
    border-radius: 50%;
    padding:5px 8px;
    font-size: 1.1em;
    font-weight: 400;
    position: relative;
    line-height: 3.55;
    transition:background-color 0.4s ease-out 0s;
}
.download-list li a:hover {
    background:#33cc66;
}
.menu-panel div {
	margin-top: 20px;
}

.menu-panel div a {
    float:right;
	text-transform: uppercase;
	font-size: 0.7em;
	line-height: 1;
	padding: 5px 20px;
	display: block;
	border: none;
	color: #f8f8f8;
	letter-spacing: 1px;
	font-weight: 800;
} 

.menu-panel div a:hover {
	background: inherit;
	color: #375757;
}
.menu-panel .backlink {
    margin:0;
}
.menu-panel .backlink a{
    color:#fff;
    transition: color 0.4s ease-out 0s;
}
.menu-panel .backlink a:hover {
    color:#375757;
}
.bb-custom-wrapper nav {
	top: 20px;
	left: 60px;
	position: absolute;
	z-index: 1000;
}

.bb-custom-wrapper nav span,
.menu-button {
	position: absolute;
	width: 32px;
	height: 32px;
	top: 0;
	left: 0;
	background: #41ab6b;
	border-radius: 50%;
	color: #fff;
	line-height: 30px;
	text-align: center;
	speak: none;
	font-weight: bold;
	cursor: pointer;
}

.bb-custom-wrapper nav span:hover,
.menu-button:hover {
	background: #33cc66;
}

.bb-custom-wrapper nav span:last-child {
	left: 40px;
}

.menu-button {
	z-index: 1000;
	left: 20px;
	top: 20px;
	text-indent: -9000px;
}

.menu-button:after {
	position: absolute;
	content: '';
	width: 50%;
	height: 2px;
	background: #fff;
	top: 50%;
	margin-top: -1px;
	left: 25%;
	box-shadow: 0 -4px #fff, 0 4px #fff;
}

.no-js .bb-custom-wrapper nav span,
.no-js .menu-button {
	display: none;
}

.js .content {
	position: absolute;
	top: 60px;
	left: 0;
	width: 100%;
	bottom: 50px;
	overflow: hidden;
	-webkit-font-smoothing: subpixel-antialiased;
}

.scroller {
	padding: 10px 5% 10px 5%;
}

#surmaterialistichno p{
    text-align:center;
}
.js .content:before,
.js .content:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	z-index: 100;
	pointer-events: none;
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.js .content:after {
	top: auto;
	bottom: 0;
	background: -webkit-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.content h1 {
	font-weight: 300;
	font-size: 27px;
	font-style:italic;
	padding: 5px 8%;
	color: #333;
	margin: 0 1% 20px;
	text-align: center;
	text-shadow: 0 0 2px #fff;
	/*box-shadow: 0 10px 0 rgba(0,0,0,0.02);*/
}
.content h2 {
	font-weight: 100;
	font-size: 45px;
	padding: 0;
	color: #333;
	margin: 0 1%;
	text-align: center;
	text-shadow: 0 0 2px #fff;
}

.no-js .content h2 {
	padding: 40px 1% 20px;
}

.content p {
	font-size: 1.2em;
	line-height: 1.6;
	font-weight: 300;
	padding: 5px 8%;
	text-align: justify;
}

@media screen and (max-width: 800px){
	.no-js .menu-panel {
		display: none;
	}

	.no-js .container {
		padding: 0;
	}
}

@media screen and (max-width: 400px){
	.menu-panel,
	.content {
		font-size: 75%;
	}
.download-list {
    bottom: 235px;
}
}