/* NB MOST OF THIS CODE IS TAKEN FROM:
  http://tympanus.net/Development/SidebarTransitions/
*/
@font-face {
  font-family: 'Matrka Serif Web';
  font-weight: normal;
  font-style: normal;
  src: url('fonts/MatrkaSerifWeb-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Matrka Serif Web';
  font-weight: bold;
  font-style: normal;
  src: url('fonts/MatrkaSerifWeb-Bold.ttf') format('truetype');
}
html,body,.st-container,.st-pusher,.st-content {
  height:100%;
  padding:0;
  margin:0;
}
.st-content {
  overflow:auto;
	/* background: #f3efe0; */
  background: #fff;
  color: #2c774b;
	font-weight: 300;
  text-align:center;
}
.st-content,.st-content-inner {
	position: relative;
}
.st-container {
	position: relative;
	overflow: hidden;
}
.st-pusher {
	position: relative;
	left: 0;
	z-index: 99;
	height: 100%;
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}
.st-pusher::after {
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	background: rgba(0,0,0,0.2);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
	transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
}
.st-menu-open .st-pusher::after {
	width: 100%;
	height: 100%;
	opacity: 1;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
}
.st-menu {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	visibility: hidden;
	width: 300px;
	height: 100%;
  overflow:auto;
	background: #48a770;
  color: rgba(0,0,0,0.4);
  text-align:center;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
.st-menu::after {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.2);
	content: '';
	opacity: 1;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
}
.st-menu-open .st-menu::after {
	width: 0;
	height: 0;
	opacity: 0;
	-webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
	transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
}
.st-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
  text-align:left;
}
.st-menu h3 {
  padding:1em;
	margin: 0;
	text-shadow: 0 0 1px rgba(0,0,0,0.1);
	font-weight: 300;
	font-size: 1.5em;
  text-transform: uppercase;
}
.st-menu p {
  margin-top:-1em;
  margin-bottom:-1em;
  text-transform: lowercase;
  font-size: 100;
}
.st-menu h2 { font-size:2em; }
.st-menu ul li a {
	display: block;
	padding: 0.5em 0.5em 0.5em 0.5em;
	outline: none;
	box-shadow: inset 0 -1px rgba(0,0,0,0.2);
	color: #f3efe0;
	text-transform: uppercase;
	text-shadow: 0 0 1px rgba(255,255,255,0.1);
	letter-spacing: 1px;
	font-weight: 400;
	-webkit-transition: background 0.3s, box-shadow 0.3s;
	transition: background 0.3s, box-shadow 0.3s;
}
.st-menu ul li:first-child a {
	box-shadow: inset 0 -1px rgba(0,0,0,0.2), inset 0 1px rgba(0,0,0,0.2);
}
.st-menu ul li a:hover {
	background: rgba(0,0,0,0.2);
	box-shadow: inset 0 -1px rgba(0,0,0,0);
	color: #fff;
}
a {
  color: #2c774b;
  text-decoration:none;
  font-weight: 800;
}
a.notemarker {
  font-weight: normal;
  font-size:10pt;
}
h3 {
	font-size: 1em;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.innercontainer {
  position:relative;
  text-align:left;
  color: #2c774b;
}
.wrapper {
  padding-left:15%;
  padding-right:2em;
  padding-bottom:2em;
  font-family: 'Matrka Serif Web', serif;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
.heading {
	color: #388a5a;
	font-family: 'Cardo', serif;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
  font-size:120%;  
}
.heading-left {
  float:left;
  text-align:right;
  position:absolute;
  left:0;
  width:15%;
}
.heading-right {
  float:left;
  text-align:left;
  font-size:130%;
  margin-left:0.5em;
  margin-bottom:0.5em;
  width:100%;
  border-bottom: medium ridge #2c774b;
}
.pagenumber {
  float:right;
  margin-right:10px;
	font-family: 'Cardo', serif;
  text-align:right;
  font-size:70%;
  color:#aca89a;
}
.notes {
  padding-left:10px;
}
.notes .note {
  display:block;
  margin:0;
  padding:0;
  font-size:90%;
}
.notes .note .notemarker {
  margin-right:5px;
}
.notes span p, .notes span span.citation {
  display:inline;
  margin:0px;
  text-indent:0px;
}
.st-bottom {
 /* -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg); 
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); */
  position:fixed;
  bottom:0;
  width:15%;
  text-align:center;
  padding:3em 0;
  font-size:80%;
}
a div {
  display:none;
  font-weight: 400;
}
.anchor {
  display: block; position: relative; top: 0; visibility: hidden;
}
/* FOR APPARATUS */
.appelement {
  display:block;
  text-indent:0;
  padding-top:5px;
}
.appelement:not(:last-child) {
  border-bottom:thin solid #fff;
}
.appelement p {
  display:inline;
  font-weight:120%;
}
.tooltip {
	display:none;
	position:absolute;
	background: #388a5a;
	color: #fff;
  box-shadow: 10px 10px 5px #888888;
	border-radius: 4px;
	padding:10px;
  z-index:100;
}
/* Individual effects */
/* Effect 1: Slide in on top */
.st-effect-1.st-menu {
	visibility: visible;
	-webkit-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
}
.st-effect-1.st-menu-open .st-effect-1.st-menu {
	visibility: visible;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.st-effect-1.st-menu::after {
	display: none;
}
button {
	border: none;
  width:95%;
	padding: 0.6em 1.2em;
	background: #388a5a;
	color: #fff;
	font-family: 'Lato', Calibri, Arial, sans-serif;
	font-size: 1em;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-block;
	margin: 3px 1px;
	border-radius: 2px;
}
button:hover {
	background: #2c774b;
}
