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

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: 'Lato', Calibri, Arial, sans-serif;
	font-weight: 300;
	font-size: 100%;
	background-color: #000000;
	color: #333;
	height: 100%;
}

.js body {
	overflow: hidden;
}

img.ac_bgimage
{
	position: fixed;
	left:0px;
	top: 0px;
	width: 100%;
	opacity: 1.0;
	display: none;
}

.ac_overlay
{
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background: transparent url(../images/pattern.png) repeat top left;
}

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

a:hover {
	color: #ffffff;
}

.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: #225593;
	width: 240px;
	height: 100%;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	text-shadow: 0 2px 2px rgba(0,0,0,0.5);
}

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

.menu-panel h3 {
	font-size: 2em;
	padding: 20px;
	font-weight: 300;
	color: #fff;
	border-bottom: 1px solid #0071BD;
} 

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

.menu-toc li a {
	display: block;
	color: #fff;
	font-size: 1.5em;
    font-weight: 300;
	line-height: 2.5;
	padding: 0 20px;
	cursor: pointer;
	background: #225593;
	border-bottom: 1px solid #0071BD;
}

.menu-toc li a:hover,
.menu-toc li.menu-toc-current a{
	background: #0071BD;
}

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

.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: #225593;
	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: #0071BD;
}

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

.js .content:after {
	top: auto;
	bottom: 0;
}

.content h2 {
  color: #ffffff;
  font-weight: 400;
  font-size: 3em;
  font-style: italic;
  padding: 0 0 10px 0;
  margin: 0 1%;
  text-align: left;
  text-shadow: 0 0 2px #ffffff;
}

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

.content h3 {
  color: #ffffff;
  font-weight: 400;
  font-size: 2em;
  font-style: italic;
  padding: 0;
  margin: 20px 1% 0 1%;
  text-align: left;
  text-shadow: 0 0 2px #ffffff;
}

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

.content p {
  color: #ffffff;
  font-size: 1.2em;
  line-height: 1.6;
  font-weight: 400;
  padding: 5px 8%;
  text-align: justify;
  text-shadow: 0 0 2px #000000;
  clear: both;
}

.content blockquote {
  color: #2e73c7;
  font-size: 1.2em;
  font-style: italic;
  line-height: 1.6;
  font-weight: 400;
  padding: 5px 8%;
  text-shadow: 0 0 2px #000000;
  clear: both;
}

.content blockquote .author {
  font-size: 0.8em;
  font-style: normal;
  color: #ffffff;
  text-shadow: 0 0 2px #000000;
}

.content .centered {
  margin: 0 auto;
  padding: 0;
  width: 600px;
  text-align: center;
}

.content .centered .smaller {
  font-size: 0.8em;
}

.content .cover {
  padding: 2px;
  border: 2px solid #225593;
}

.content a {
  color: #0071BD;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;	
}

.content a:hover {
  color: #ffffff;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;	
}

.content p .quote {
  color: #EDE08A;
  font-style: italic;
}

ul.album {
  width: 100%;
  display: block;
  padding: 0;
  clear: both;

  padding: 5px 8%;
}

ul.album li {
list-style: none;
float: left;
}

ul.album li a img {
  opacity: 1;
  height: 150px;
  width: 150px;
  padding: 10px;
  margin: 0 16px 16px 0;
  background-color: #225593;
  border-radius: 20px;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

ul.album li a:hover img {
  border-radius: 0px;
}

.content .quotes blockquote {
  margin: 0 0 1em 0;
  padding: 0;
}

.quotes blockquote p {
  line-height: 1.2em;
  margin: 0 10%;
  padding: 0;
}

.quotes blockquote footer {
  margin: 0 15%;
  padding: 0;
}


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