/*CSS Reset*/
@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic);
body,
div,
dl,
dt,
dd,
li,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
button {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
var {
  font-style: normal;
  font-weight: normal;
}
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption,
th {
  text-align: left;
  font-weight: normal;
  font-style: normal;
}
acronym,
abbr,
fieldset,
img {
  border: 0;
}
:focus {
  outline: 0;
}
.clear:before,
.clear:after {
  content: " ";
  display: table;
}
.clear:after {
  clear: both;
}
/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clear {
  *zoom: 1;
}
/* CONFIG */
/* ADN CSS */
/* Fonts */
/* URL: https://www.google.com/fonts#UsePlace:use/Collection:PT+Sans:400,700,400italic */
/* Global styling */
.grey {
  color: #9e9e9e;
}
p.small {
  font-size: .8em;
}
.bold {
  font-weight: 700;
}
.semi-bold {
  font-weight: 600;
}
.extra-bold {
  font-weight: 800;
}
.italic {
  font-style: italic;
}
/*
.helvetica {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", 
	Helvetica, Arial, "Lucida Grande", sans-serif;
}
*/
.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.justify {
  text-align: justify;
  word-break: break-word;
  word-wrap: break-word;
}
.customScrollBar::-webkit-scrollbar {
  width: .5em;
  background-color: transparent;
}
.customScrollBar::-webkit-scrollbar-track {
  background-color: transparent;
}
.customScrollBar::-webkit-scrollbar-thumb {
  background-color: #556910;
}
/* HTML elements */
body {
  background: #373b44;
  font-family: 'Open Sans', 'PT Sans', sans-serif;
  font-weight: 400;
  color: #000000;
  font-size: 13px;
}
a {
  color: #000000;
}
a:link {
  color: inherit;
  text-decoration: none;
}
a:link:hover {
  text-decoration: underline;
}
h1 {
  font-size: 2em;
  color: #556910;
}
h2 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.07em;
}
h3 {
  margin: 5px 0;
  font-size: 1.1em;
  font-weight: 600;
  text-transform: uppercase;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
.author {
  display: none;
}
/* CUSTOM ELEMENTS */
#container {
  position: fixed;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow-x: hidden;
}
nav#chapters_menu {
  float: left;
  width: 230px;
  box-sizing: border-box;
  text-align: left;
  text-transform: uppercase;
  background: #ffffff url(../images/paper_bg.png) repeat top left;
  position: fixed;
  height: 100%;
  border-right: 3px solid #556910;
  margin-left: 0;
  transition: 0.2s ease-in-out margin-left;
  padding-bottom: 20px;
  overflow-y: auto;
  overflow-x: visible;
  /*
	&::before {
		z-index: -1;
		position: fixed;
		height: 100%;
		width: 1em;
		background-color: red;
		margin-left: 50px;
	}
*/
}
nav#chapters_menu::-webkit-scrollbar {
  width: .5em;
  background-color: transparent;
}
nav#chapters_menu::-webkit-scrollbar-track {
  background-color: transparent;
}
nav#chapters_menu::-webkit-scrollbar-thumb {
  background-color: #556910;
}
nav#chapters_menu::-webkit-scrollbar {
  background-color: rgba(55, 59, 68, 0.8);
}
nav#chapters_menu * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}
nav#chapters_menu:hover {
  cursor: pointer;
}
nav#chapters_menu:hover ul:hover {
  cursor: auto;
}
nav#chapters_menu #menu_title {
  padding: 3em 1em 1em;
  float: right;
  font-size: 1.2em;
  color: #677f13;
  text-align: right;
  font-weight: 700;
}
nav#chapters_menu ul {
  clear: both;
  font-size: .9em;
  padding-left: 12px;
}
nav#chapters_menu ul li {
  width: auto;
}
nav#chapters_menu ul li a {
  background-color: rgba(55, 59, 68, 0.7);
  color: rgba(255, 255, 255, 0.9);
  padding: .3em .5em;
  width: auto;
  line-height: 1em;
  transition: 0.05s ease-in-out background-color;
  font-weight: 200;
}
nav#chapters_menu ul li a:hover {
  background-color: rgba(55, 59, 68, 0.9);
}
nav#chapters_menu ul li.active > a {
  background-color: #556910;
  color: #ffffff;
}
nav#chapters_menu ul li.active > a:nth-last-child(1)::after {
  content: '<';
  float: right;
  color: rgba(255, 255, 255, 0.4);
}
nav#chapters_menu ul li.active > a:hover {
  color: #373b44;
}
nav#chapters_menu ul li.hasChildren li.hasChildren:last-of-type {
  padding-bottom: 0;
}
nav#chapters_menu ul li.transition {
  display: none;
}
nav#chapters_menu ul li ul {
  border-top: 1px solid transparent;
}
nav#chapters_menu ul li ul.hasChildren {
  padding-bottom: 10px;
}
nav#chapters_menu ul li.active > ul {
  display: block;
}
nav#chapters_menu > ul {
  font-size: 1.2em;
  padding-bottom: 15px;
  /*
		&:hover {
			li a {
				//background-color: fade(@ColorWhite, 80%);
				
				&:hover {
					background-color: @ColorWhite;
				}
			}
		}
*/
}
nav#chapters_menu > ul > li {
  margin-bottom: .5em;
}
nav#chapters_menu.collapseForSpace ul ul {
  display: none;
}
nav#chapters_menu a {
  color: #e1b866;
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: .2em .5em;
  cursor: pointer;
}
nav#chapters_menu a:hover {
  text-decoration: none;
}
nav#chapters_menu a#menu_close {
  position: absolute;
  bottom: 0;
  cursor: pointer;
  color: #556910;
  border: 1px transparent solid;
  transition: 0.2s ease-in-out border-color;
  margin-bottom: 10px;
  margin-left: 0;
}
.noChapters nav#chapters_menu {
  margin-left: -210px;
}
.noChapters main.main {
  padding-left: 20px;
}
.referencesZoom nav#chapters_menu {
  margin-left: -210px;
}
.referencesZoom main.main {
  padding-left: 20px;
  margin-left: -300px;
}
.referencesZoom main.main .refZoomTrigger {
  right: -80px;
}
.referencesZoom main.main section .redaction {
  cursor: pointer;
}
.referencesZoom main.main section .redaction .menu_prev_next {
  margin-left: 300px;
}
.loaded main.main {
  transition: 0.2s ease-in-out padding-left;
  transition-property: padding-left, margin-left;
}
main.main {
  box-sizing: border-box;
  padding-left: 230px;
  width: 100%;
}
main.main .refZoomTrigger {
  position: fixed;
  right: -40px;
  bottom: 0;
  margin-bottom: 30px;
  box-sizing: border-box;
  cursor: pointer;
  transition: 0.2s ease-in-out right;
  z-index: 999;
}
main.main .refZoomTrigger:hover {
  right: -20px;
}
main.main .refZoomTrigger .refZoomTriggerInner {
  text-align: left;
  background-color: rgba(0, 0, 0, 0.2);
  color: #556910;
  width: 20px;
  height: 100%;
  padding: 5px 40px 5px 10px;
  transition: 0.2s ease-in-out background-color;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
main.main .refZoomTrigger .refZoomTriggerInner:hover {
  background-color: rgba(0, 0, 0, 0.4);
}
main.main section {
  box-sizing: border-box;
}
main.main section .screenheight {
  box-sizing: border-box;
}
main.main section .screenheight.focused .redaction .menu_prev_next {
  display: block;
}
main.main section .screenheight.focused .redaction .menu_prev_next a {
  position: fixed;
}
main.main section .screenheight.focused .redaction .menu_prev_next .menu_prev_chap {
  top: 0;
}
main.main section .screenheight.focused .redaction .menu_prev_next .menu_next_chap {
  bottom: 0;
}
main.main section .screenheight.focused .redaction h1.fixed {
  display: none;
}
main.main section .screenheight.focused .references figure {
  display: block;
}
main.main section .screenheight.focused .references figure a {
  padding-right: 0;
  background-image: none;
}
main.main section .screenheight.focused .references .sideRef {
  display: block;
}
main.main section .redaction,
main.main section .references {
  box-sizing: border-box;
  height: auto;
  float: left;
  overflow: auto;
  overflow-x: hidden;
  padding: 40px 30px 40px;
  transition: 0.2s ease-in-out padding-left;
  transition-property: padding-left, margin-left;
}
main.main section .references {
  padding: 20px;
  height: 100%;
  overflow: visible;
  width: 35%;
}
main.main section .redaction {
  width: 65%;
  max-width: 550px;
  box-sizing: border-box;
  background-color: #ffffff;
  background: #ffffff linear-gradient(0deg, #556910, #ffffff) no-repeat center bottom;
  text-align: justify;
  word-break: break-word;
  word-wrap: break-word;
  background-size: 100% 0%;
  height: 100%;
}
main.main section .redaction.reversedGradient {
  background-image: linear-gradient(0deg, #ffffff, #556910);
  background-position-y: top;
  background-position: center top;
}
main.main section .redaction::-webkit-scrollbar {
  width: .5em;
  background-color: transparent;
}
main.main section .redaction::-webkit-scrollbar-track {
  background-color: transparent;
}
main.main section .redaction::-webkit-scrollbar-thumb {
  background-color: #556910;
}
main.main section .redaction .menu_prev_next {
  display: none;
  height: 0;
  text-align: center;
  transition: 0.2s ease-in-out margin-left;
}
main.main section .redaction .menu_prev_next a {
  cursor: pointer;
  color: #556910;
  padding: 5px 30px;
  display: inline-block;
  margin-left: -30px;
}
main.main section .redaction .menu_prev_next a:hover {
  color: #53231b;
}
main.main section .redaction h1.fixed {
  display: none;
}
main.main section .redaction h1 {
  padding-top: 20px;
  margin-bottom: .5em;
  border-bottom: 1px #556910 dotted;
}
main.main section .redaction h1.fixed {
  position: fixed;
  top: 0;
  box-sizing: border-box;
  height: 50px;
  background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 70%, rgba(255, 255, 255, 0) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 70%, rgba(255, 255, 255, 0) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 70%, rgba(255, 255, 255, 0) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=0);
  /* IE6-9 */
}
main.main section .redaction h1.fixed + p {
  padding-top: 60px;
}
main.main section .redaction h3 {
  margin: 1em 0 0;
}
main.main section .redaction p {
  padding-bottom: 1em;
  line-height: 1.5em;
  text-indent: 1em;
}
main.main section .redaction p * {
  text-indent: 0;
}
main.main section .redaction .ref {
  border-bottom: #373b44 1px dotted;
  cursor: pointer;
  text-indent: 0;
}
main.main section .redaction .ref:hover {
  border-bottom-style: solid;
  text-decoration: none;
}
main.main section .redaction sup.footnote {
  white-space: nowrap;
}
main.main section .redaction sup.footnote::before {
  white-space: nowrap;
}
main.main section .redaction hr {
  margin-bottom: 2em;
}
main.main section .redaction > ul {
  list-style: disc;
  padding-left: 23px;
}
main.main section .redaction blockquote {
  padding: .5em 0 1em;
}
main.main section .redaction blockquote p {
  padding: .5em 1em;
  border: 1px dashed #556910;
  background-color: rgba(55, 59, 68, 0.15);
  border-radius: 3px;
  margin-left: 1em;
  margin-right: 1em;
}
main.main section .redaction blockquote p + p {
  margin-top: .5em;
  margin-left: .5em;
  width: auto;
  float: right;
  text-indent: 0;
}
main.main section .redaction blockquote p + p + ul {
  clear: both;
  margin-top: 10px;
}
main.main section .redaction blockquote ul li {
  text-align: right;
  margin-bottom: 1em;
  margin-top: .2em;
  padding-right: 1em;
}
.sideRef {
  overflow: hidden;
  padding-bottom: 10px;
  font-size: .92em;
  word-break: break-word;
  word-wrap: break-word;
  margin-right: 10px;
  display: none;
  box-sizing: border-box;
}
.sideRef p {
  margin-bottom: .5em;
}
.sideRef a[href] {
  display: inline;
  padding-right: 14px;
  background-image: url(../images/icon-external-url.png);
  background-repeat: no-repeat;
  background-position: top right;
}
.sideRef .refMoreInfoLink {
  float: right;
  position: relative;
  top: 0;
  left: 0;
  margin-left: .5em;
  background-color: #556910;
  color: rgba(255, 255, 255, 0.95);
  padding: 0 .5em;
  display: inline-block;
  cursor: pointer;
  font-family: monospace;
}
.sideRef h4 {
  font-size: 1.1em;
  border-bottom: 1px dotted #373b44;
  margin-bottom: .5em;
}
.sideRef h4 {
  font-size: 1.1em;
  border-bottom: 1px dotted #373b44;
  margin-bottom: .5em;
  /*
				position: absolute;
				top: 0px;
				background: fade(@ColorWhite, 80%) url(../images/paper_bg.png) repeat top left;
				width: 100%;
				margin-left: -10px;
*/
}
.sideRef ul {
  list-style: disc;
  padding-left: 1em;
  margin-left: 0;
}
.sideRef figure {
  background-color: rgba(55, 59, 68, 0.9);
  margin: 0;
  text-align: center;
  margin-bottom: .5em;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.sideRef figure * {
  vertical-align: middle;
}
.sideRef figure iframe,
.sideRef figure img {
  margin: 0 auto;
  width: auto;
  max-width: 100%;
}
.sideRef blockquote p {
  border: 1px dashed #556910;
  padding: .5em;
}
.sideRef blockquote ul {
  list-style: none;
  text-align: right;
}
.sideRef blockquote ul li {
  font-size: .9em;
}
.sideRef .sideRefWrapper {
  height: 100%;
  width: 100%;
  padding: 1em;
  box-sizing: border-box;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.8) url(../images/paper_bg.png) repeat top left;
}
.sideRef .sideRefWrapper::-webkit-scrollbar {
  width: .5em;
  background-color: transparent;
}
.sideRef .sideRefWrapper::-webkit-scrollbar-track {
  background-color: transparent;
}
.sideRef .sideRefWrapper::-webkit-scrollbar-thumb {
  background-color: #556910;
}
.sideRef .sideRefInfo {
  display: none;
  position: absolute;
  top: 35px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1em;
  font-size: .9em;
  box-sizing: border-box;
  width: 100%;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
}
.sideRef.toggleInfo .sideRefInfo {
  display: block;
}
.sideRef.toggleInfo .sideRefWrapper {
  opacity: .4;
}
.footnotes {
  margin-top: 5em;
  padding-top: 10px;
  border-top: 1px solid #373b44;
}
section section h1 {
  font-size: 1.6em;
}
main.main .section-references .screenheight .redaction {
  text-align: left;
}
main.main .section-references #fullReferences .fullRef.notInBibliography {
  display: none;
}
main.main .section-references #fullReferences .sideRef {
  display: none;
}
main.main .section-references #fullReferences a[href] {
  display: inline;
  padding-right: 14px;
  background-image: url(../images/icon-external-url.png);
  background-repeat: no-repeat;
  background-position: top right;
}
body #overlay {
  background-color: transparent;
  background-color: rgba(0, 0, 0, 0);
  transition: ease-in-out 0.2s background-color;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: -9999;
}
body #overlay .sideRef {
  display: block;
}
body.lightsOn #overlay {
  background-color: black;
  background-color: rgba(0, 0, 0, 0.7);
  display: block;
  z-index: 999;
}
body.lightsOn #overlay .ref {
  position: fixed;
  float: left;
  z-index: 9999;
  background-color: white;
  margin-left: -5px;
  margin-top: -3px;
  padding: 3px 5px;
  display: inline-block;
}
/*
ISOTOPE MASONRY STUFF
*/
.isotope {
  width: 100%;
  height: 100%;
  /*
	.item { width: 25%; }
	.item.width2 { width: 50%; }
*/
  /* clear fix */
  /* ---- .item ---- */
}
.isotope * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.isotope:after {
  content: '';
  display: block;
  clear: both;
}
.isotope .grid-sizer,
.isotope .item {
  height: 25%;
  margin-right: 10px;
  /* related to gutter in js */
}
.isotope .item {
  width: 200px;
}
.isotope .item.width2 {
  width: 400px;
}
.isotope .item.height2 {
  height: 50%;
}
