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

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: 'PT Sans Narrow', Arial narrow, sans-serif; 
background-color:#7F652E;
background-image: (http://www.lacor.info/film/ini_avan/images/pattern.jpg);
background-repeat:repeat;z-index:2;
position:relative;
	font-weight: 100;
	font-size: 130%;
	color: white;
	height: 100%;
	opacity:1;
}

.js body {
	overflow: hidden;
}

a {
	color: #888;
	text-decoration: none;
	outline: none;
	text-shadow: 0 0 1px #555;
}
}

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:#111;
	background-image: url(http://www.lacor.info/film/ini_avan/images/pattern.png);
	background-repeat:repeat ;
	position:relative;
	z-index:2;
	width: 240px;
	height: 100%;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

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

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

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

.menu-toc li a {
	display: block;
	color: grey;
	opacity:0.7;
	font-size: 0.8em;
	line-height: 1.2em;
	padding:0;
	text-align:right;
	cursor: pointer;
	background:#111;

}
.menu-toc li a: first-child {
	border-top: 1px dotted #999;
}
.menu-toc li a: last-child {
	border-bottom: 1px dotted #999;
}

.menu-toc li a:hover,
.menu-toc li.menu-toc-current a{
	background:999;
	opacity:0.5;
}

.menu-panel div {
	margin-top: 20px;
}

.menu-panel div a {
	text-transform: none;
	font-size: 0.7em;
	line-height: 1;
	padding: 5px 20px;
	display: block;
	border: none;
	color:#eee;
	font-weight: 100;
	text-shadow: 0 1px rgba(255,255,255,0.2);
	text-align:left;
} 

.menu-panel div a:hover {
	background: inherit;
	color:#525B5C;
	text-shadow: none;
}

.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: #fff;
	opacity:0.4;
	border-radius: 50%;
	color: #111;
	line-height: 30px;
	text-align: center;
	speak: none;
	font-weight: bold;
	cursor: pointer;
}

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

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

.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,0) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 100%);
}

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

.content h2 {
	font-weight: 300;
	font-size: 40px;
	padding: 0;
	opacity:0.5;
	color: white;
	margin: 30px 1% 20px;
	text-align: left;
	box-shadow: 0 10px 0 rgba(0,0,0,0.02);
	text-shadow: 0 0 3px #111;
	position:relative;
	z-index:601;
}

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

.content p {
	font-size: 1.3em;
	line-height: 2.2em;
	font-weight: 100;
	width:49%;
	padding: 1%;
	text-align: justify;
	text-shadow: 0 0 4px #111;
}


@media screen and (max-width: 1600px){
	
	.content h2 {
	font-size: 35px;
	}
}
@media screen and (max-width: 800px){
	.no-js .menu-panel {
		display: none;
	}

	.no-js .container {
		padding: 0;
	}
	.content p {
	width:100%;
	padding:2em;
	}
	.content h2 {
	color:#111;
	opacity:0.8;
	font-size: 30px;
	}
}

@media screen and (max-width: 400px){
	.menu-panel,.content {
	font-size: 75%;
	}
	.content p {
	width:100%;
	padding:2em;
	}
	.content h2 {
	font-size: 25px;
	}
}