@import url(http://fonts.googleapis.com/css?family=Lato:100,300,400,700,700italic|Alegreya+SC:400,700,700italic,900,900italic,400italic|Raleway:400,700,500,600,300,200,100,800,900);

body {
	/* background-color: #245C7D; */
  	background-image: url('assets/sky.jpg');
  	background-repeat: no-repeat;
  	background-size: cover;
	font-family: lato;
}

.index-table {
	width: 90%;
	height:80%;
	font-weight: bold;
}

.title::selection, .page p::selection, .page b::selection, .page a::selection, .page h3::selection, td::selection, img::selection {
    background: #50bc6b;
    color: white;

}

.title::-moz-selection, .page p::-moz-selection, .page b::-moz-selection, .page a::-moz-selection, .page h3::-moz-selection, td::-moz-selection, img::-moz-selection {
    background: #50bc6b;
    color: white;
}

.front-page-container {
  font-family: "Raleway";
  font-family: "Lato";
  width: 400px;
  margin-right: auto;
  margin-left: auto;
  border: solid 1px white;
  /* border: dashed; */
  border-right: none;
  border-left: none;
  margin-top:60px;
  margin-bottom: 28px;
  /* border-top-color: black; */
  /* border-top-color: #F5E838; */
  /* border-bottom-color: #F5E838; */
}

.front-page-container h2 {
  text-align: justify;
  /* font-weight: 400; */
  font-weight: 300;
  width: 205px;
  font-size: 40px;
  margin-left: 10px;
  letter-spacing: 0.1em;
  /* color: #F5E838; */
}

.front-page-container h2 b {
  color: white;
}

.credits {
  text-align: center;
  /* font-family: "Raleway"; */
  font-weight: 400;
  letter-spacing: 0.1em;
  font-size: 8pt;
}

.credits b {
  font-size: 10pt;
  font-weight: bolder;
}

.credits a {
  color: white;
  text-decoration: underline;
}

.credits a:hover {
  color: #1e8cbf;
}

#cover-logo {
  opacity: 0.8;
}

.pages-container {
	width: 475px;
	max-width: 475px;
	min-width: 475px;
	max-height: 685px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	left: 0px;
	webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	transition-property: width, max-width, min-width;
	transition: 0.5s; /*This is the Transition property of the minimization and maximization of the handbook*/
}

@media all and (max-height: 699px) {
	.pages-container {
		height: 685px;
	}
}

@media all and (min-height: 700px) {
	.pages-container {
		height: 620px;
	}
}

@media all and (max-width: 1144px) {
	.pages-container {
		margin-top: 75px;
	}
}

@media all and (min-width: 1145px) {
	.pages-container {
		margin-top: 50px;
	}
}


.index-container {
  width: 540px;
  margin-right: auto;
  margin-left: auto;
  color: #8d1717;
}

.index-container a {
  /* color: #8d1717; */
  /* color: white; */
  color: black;
  font-weight: 300;
  text-decoration:underline;
}

.index-container a:hover {
  background-color: #245C7D;
  color: white;
}

.page {
	position: absolute;
	width: 475px;
	height: 600px;
	color: black;
	text-align: left;
	padding: 10px;
	background: url(assets/extra_clean_paper.png);
	-ms-transition-duration: 0.5s;
}

.left {
	-webkit-transform-origin: 100% 100%;
	-ms-transform-origin: 100% 100%;
	-webkit-transform: rotateY(90deg);
	-ms-transform: rotateY(90deg);
	transform: rotateY(90deg);
	transform-origin: 100% 100%;
	/*border-left: 3px solid black;*/
}

.right {
	right: 0px;
	-webkit-transform-origin: 0px 0px;
	-webkit-transform: rotateY(0deg);
	-ms-transform-origin: 0px 0px;
	/*-ms-transform: rotateY(0deg);
	transform: rotateY(0deg);*/
	transform-origin: 0px 0px 0px;
	left: auto;
	/*border-right: 3px solid black;*/
}

.button {
	width: 75px;
	height: 75px;
	opacity: 0.8;
	cursor: pointer;
	background-color: transparent;
	position: absolute;
	z-index: 2;
}

@media all and (max-height: 699px) and (max-width: 1144px) {
	.button.bottom {
		bottom: 0%;
	}
}

@media all and (min-height: 700px) and (min-width: 1145px) {
	.button.bottom {
		visibility: hidden;
	}
}

@media all and (max-width: 1144px) {
	.button {
		bottom: 100%;
	}

	.button.next {
		left: 50%;
	}

	.button.prev {
		right: 51%;
		display: none;
	}
}

@media all and (min-width: 1145px) {
	.button {
		bottom: 45%;
	}

	.button.next {
		left: 100%;
	}

	.button.prev {
		right: 101%;
		display: none;
	}
}


.button:hover{
	opacity: 1;
}

.button img {
	width: 40px;
	padding: 14px;
	padding-left: 24px;
}

.container {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	z-index: 2;
}

@media all and (max-width: 1144px) {
	.container {
		width: 100%;
	}
}

@media all and (min-width: 1145px) {
	.container {
		width: 995px;
	}
}

.HBtext {
	/*text-shadow: rgba(0,0,0,0.6) 0.1em 0.1em 0.2em;*/
	font-weight: bold;
	color: white;
	/*text-shadow: 0px 1px 0px rgba(0,0,0,0.3), 4px -1px 44px rgba(255,255,255,0.7)*/
	/*text-shadow: 0px 1px 0px rgba(255,255,255,.5);*/
	text-shadow: -3px -1px 0px rgba(255,255,255,.5);
}



#right-0 {
	border: none;
 	background: #8d1717;
	color: white;
	box-shadow: rgba(0, 0, 0, 0.498039) -4px 4px 17px 11px;
}


.page-no {
	float: left;
	width: 25px;
	height: 25px;
	background-color: white;
	margin-right: 5px;
	text-align: center;
	cursor: pointer;
	border-radius: 6px;
	line-height: 1.5;
}

.page-no:hover {
	margin-top: -5px;
}

.pagination-container {
	position: relative;
	margin-top: -63px;
	margin-left: auto;
	margin-right: auto;
}



#paper-depth-right {
	position: absolute; 
	left: 96%;
	margin-top: -3px;
}

#paper-depth-left {
	position: absolute; 
	left: -1.8%;
	margin-top: -3px;
	display: none;
}

a {
	text-decoration: none;
	/* color: #245C7D; */
	color: #8d1717;
}

a:hover {
	color: #245C7D;
}

#mid-side-logo {
	width: 58px;
    height: 58px;
    background: #2690C1;
    position: relative;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 61px;
    right: -14px;
    border: outset 6px #2690C1;
}

#left-side-logo {
	background: #4AA2CB;
    width: 50px;
    height: 125px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    left: 40%;
    margin-top: 50px;
    border: outset 10px #4AA2CB;
}

#right-side-logo {
	background: #4AA2CB;
   	width: 50px;
   	height: 125px;
   	-webkit-transform: rotate(-45deg);
  	-ms-transform: rotate(-45deg);
  	transform: rotate(-45deg);
   	position: absolute;
   	margin-top: 50px;
   	left: 51.2%;
   	border: inset 10px #4AA2CB;
	}


.cover-page {
  width:100%;
  height:100%;
  top: 0px;
  left: 0px;
	position: absolute;
	/* width: 98%;  */
	/* height: 98%;  */
	/* top: 1%;  */
	/* left: 1%; */
}

.title {
	font-family: 'Alegreya SC', serif;
	text-align: center;
	margin-top: 53%;
	font-size: 75px;
	font-style: italic;
	/*-webkit-transform: rotate(-14deg);
	transform: rotate(-14deg);
	ms-transform: rotate(-14deg);*/
}

.index-container a h3 {
	color: #8d1717;
	font-weight: bold;
	width: 57px;
	text-align: center;
}

.index-container a h3:hover {
	background-color: black;
	color: white;
}

.strech {
	position: absolute;
	height: 100%;
	background: url(assets/strechy-thing.png);
	width: 20px;
	right: 40px;
	top: 0px;
	z-index: 2;
}

.pre-back-cover {
	overflow: hidden;
}

.ddc {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
  height:90%;
  /* background-color: red; */
}

.ddc h3 {
  font-weight: 400;
  text-align: center;
  font-size: 24pt;
}

.left {
  float: left;
}

.right {
  float: right;
}

.ddc .member .crop {
  width: 160px;
  height: 160px;
  border-radius: 80px;
  overflow: hidden;
}

.ddc .member a {
  /* float: left */
  font-size: 22pt;
}

.ddc p {
  font-size: 10pt;
  width: 100%;
  display: block;
  text-align: center;
}

#facebook-link {
	color: #245C7D;
}

#facebook-link:hover {
	color: orange;
}

#loading-cover {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	z-index: 99999999;
	background: white;
}

#loading-container {
	position: relative; 
	top: 40%;
}

#loading-circle {
	width: 50px; 
	height: 50px; 
	border:3px solid white; 
	border-radius: 999px; 
	position: relative; 
	margin: auto; 
	top: 40%; 
	background-color: #8d1717; 
	overflow: hidden;
}

#loading-logo {
	position: absolute; 
	width: 30px; 
	top: 47px; 
	left: 21%;
}

#loading-container p {
	position: relative;
	font-size: 24px;
	width: 97px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	font-family: 'Alegreya';
	color: black;
}