html, body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  text-rendering: geometricPrecision;
  -webkit-backface-visibility: hidden;
}

li {
  list-style: none;
}
h1, h2, h3 ,h4, h5, h6 {
  margin: 0;
}

::-webkit-scrollbar {
    display: none;
}

.wrapwrap{
  overflow-x: hidden !important;
  position: absolute;
  width:100%;
  height: 100%;
}



.group::after {
  content: "";
  clear: both;
  display: block;
}
.line {
  width: 100%;
  background-color: #000;
  height: 1px;
  float: left;
  margin-bottom: 50px;
}
.line:last-of-type {
  margin-bottom: 0;
}
#maincontent, #sourcecontent, #instructions {
  display: none;
}
#maincontent {
  transition: opacity 1s ease;
}
#maincontent, #sourcecontent, #preface{
  position: absolute;
  z-index: 1;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  /*overflow: scroll;*/
}
#preface{
  z-index: 100;
  transition: transform 2s ease;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;

}
#preface #scrolldown {
  position: absolute;
  cursor: pointer;
  width: 100%;
  text-align: center;
}
#preface #scrolldown img{
  width: 17px;
}
#preface #scrolldown h6{
  font-family: "Akzi-400";
  font-weight: 400;
  font-size: 11px;
  color: #fff;
}

#sourcecontent .nav.aboutOpen {
  transition: all .4s ease;
  background-color: #323232;
}
#sourcecontent .nav .about, #sourcecontent .nav .trailer {
  background-color: transparent;
}

#preface #titleimg {
  width: 65%;
  margin-top: -110px;
}
#preface.remove {
  transform: translateY(-100%);
  -ms-transform: translateY(-100%);
   -webkit-transform: translateY(-100%);
}
#preface div{
  width: 100%;
}
#preface .heading {
  position: relative;
  /*height: 100%;*/
}
#preface .heading img {
  width: 100%;
  transition: all 1.4s ease;
  -webkit-filter: blur(20px);
}
#preface .text h3, #preface .text h6 {
  transition: all 1.4s ease;
  -webkit-filter: blur(20px);
  margin-top: 0;
}

#preface .heading img.unblur, #preface .text h3.unblur, #preface .text h6.unblur {
  -webkit-filter: blur(0px);
}
#preface .forward .text h6 {
  text-align: left;
  font-size: 20px;
}

#preface .heading .gradient {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  right: 0;
  background: -webkit-linear-gradient(rgba(51,51,51,0), #333333); /* For Safari 5.1 to 6.0 */
   background: -o-linear-gradient(rgba(51,51,51,0), #333333); /* For Opera 11.1 to 12.0 */
   background: -moz-linear-gradient(rgba(51,51,51,0), #333333); /* For Firefox 3.6 to 15 */
   background: linear-gradient(rgba(51,51,51,0), #333333); /* Standard syntax */

 }

#preface .heading .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
   -webkit-transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 1000;

}
#preface .forward, #preface .heading {
  float: left;
  clear: both;
}
#preface .forward {
  padding: 100px 0;
}
#preface .forward .text {
  margin-left: 50%;
    color: #fff;

  transform: translateX(-50%);
    -ms-transform: translateX(-50%);
   -webkit-transform: translateX(-50%);
   text-align: left;
}

.legal {
  font-family: "Akzi-400", Arial, sans-serif;
  font-size: 14px;
  color: #A59675;
}

.legal a {
  text-decoration: none;
  color: #A59675;

}

.legal a:hover {
  color: #fff;
}

.legalcopy {
  font-size: 14px;
  color: #A59675;
  margin-top: 20px;
  display: block;
  float: left;
}

.chapter .preamble{
  display: none;
}

.preamble {
  display: block;
  font-size: 21px;
  font-family: "Caslon-540";
  font-weight: bolder;
  color: #424243;
  margin-left: 25px;
  margin-bottom: -30px;
}


.forwardlink {
  font-family: "BigCaslon";
  color: #A59675;
  font-size: 21px;
  margin-top: 30px;
  margin-bottom: -30px;
}

.forwardlink a {
  text-decoration: none;
  color: #A59675;
}

.forwardlink a:hover {
  color: #fff;
}

.text h1 {
  font-family: "BigCaslon";
  font-size: 141px;
  line-height: 110px;
  color: #fff;
  font-weight: 400;
}

.text h3 {
  font-family: "Akzi-400";
  font-weight: 400;
  font-size: 48px;
  line-height: 78px;
  margin-top: 30px;
}
#preface .forward {
  background-color: #333333;
  /*height: 100%;*/
  position: relative;
}
#preface .forward .text {
  max-width: 900px;
  width: 90%;
}
.forward h6 {
  font-family: "Akzi-400";
  font-weight: 400;
  color: #A59675;
  font-size: 14px;
  /*margin-bottom: 50px;*/
  letter-spacing: 1px;
  margin: 20px 0;
}
.forward h4 {
  font-family: "Big Caslon";
  font-weight: 500;
  /*font-size: 32px;
  line-height: 40px;*/
  font-size: 36px;
  line-height: 42px;
  margin: 20px 0;

}
.forward p {
  font-family: "Big Caslon";
  font-weight: 400;
  /*font-size: 14px;
  line-height: 20px;*/
  font-size: 36px;
  line-height: 42px;
  margin: 20px 0;

}
#preface .forward .enter {
  padding: 10px 25px;
  border: 1px solid #ebebeb;
  color: #ebebeb;
  width:40px;
  margin: 0 auto;
  margin-top: 80px;
  font-family: "Akzi-500";
  font-weight: 500;
  font-size: 11px;
  cursor: pointer;
  background-color: #323232;
  transition: all .4s ease;
  text-align: center;
}
#preface .forward .enter:hover {
  background-color: #ebebeb;
  color: #323232;
}
#sourcecontent{
  overflow: hidden;
}
#maincontent.hidden, .wrapwrap.hidden {
  z-index: -10;
}
#maincontent {
  /*z-index: -10;*/
}

#sourcecontent {
  z-index: -1;
  background-color: #282C46;
}
#sourcecontent #close, #abtclose, #instructions-close{
  position: fixed;
  top: 22px;
  right: 22px;
  width: 23px;
  z-index: 100;
  cursor: pointer;
  transition: transform .5s ease;
  transform-origin: center;
  backface-visibility: hidden;
}
#close{
      transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

#instructions-close {
  position: absolute;
  width: 26px;
  top: 20px;
  right: 20px;
}
#sourcecontent #close:hover , #abtclose:hover, #instructions-close:hover {
  transform: rotate(90deg) scale(1.2);
  -ms-transform: rotate(90deg) scale(1.2);
   -webkit-transform: rotate(90deg) scale(1.2);
}

#instructions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
   -webkit-transform: translate(-50%, -50%);

  background: rgba(235, 235, 235, .95);
  width: 70%;
  z-index: 20;
  padding: 40px;
box-shadow: 0 10px 10px 0 rgba(0,0,0,.19), 0 6px 3px 0 rgba(0,0,0,.23);
}

#instructions h6 {
  font-family: "Akzi-500";
  font-weight: 500;
  font-size: 14px;
  color: #333333;
}
#instructions h2 {
  font-family: "BigCaslon";
  font-size: 42px;
  line-height: 48px;
  color: #333333;
  font-weight: 500;
}
/*#instructions .head {}*/
#instructions .head {
  padding: 20px;
}
#instructions .left, #instructions .right {
  float: left;
  width: 50%;
}

#instructions #okay {
    border: 1px solid black;
    padding: 8px 20px;
    margin: 0 auto;
    clear: both;
    width: 40px;
    text-align: center;
    font-family: "Akzi-500";
    font-weight: 500;
    font-size: 11px;
    cursor: pointer;
    display: none;
}
#instructions .block {
  padding: 20px;
  width: calc(50% - 40px);
  float: left;
}
#instructions .block img {
  width: 100%;
}

#instructions h4 {
  font-size: 15px;
  line-height: 21px;
  font-family: "Akzi-500";
  font-weight: 500;
  color: #333;
  margin: 12px 0;

}
#instructions p {
  font-size: 12px;
  line-height: 16px;
  font-family: "Akzi-400";
  font-weight: 400;
  color: #333;
}
.link {
  position: absolute;
  top: 400px;
  right: 300px;
  background-color: purple;
  height: 10px;
  width: 10px;
  z-index: 10000;
  border-radius: 50%;
}
 .nav {
  float: left;
  height: calc(100% - 44px);
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;

  padding: 22px;
  width: calc(300px - 44px);
  color: #fff;
  background-color: #323232;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#sourcecontent .nav {
  background-color: #282C46;
}
.nav .header img {
  width: 100%;
}
.nav .header .title {
  font-size: 63px;
  font-family: "BigCaslon";
  font-weight: 400;
  line-height: 60px;

}
.header .fsojimage {
  cursor: pointer;
}

.nav .header .buttons {
  width: 100%;
  margin: 20px 0 40px 0;
}
.nav .header .buttons div {
  float: left;
}
.nav .about, .read, .trailer {
  padding: 6px 17px;
  border: 1px solid #ebebeb;
  color: #ebebeb;
  cursor: pointer;
  background: #323232;
  transition: all .4s ease;
  float: left;
}
.read .readtext:nth-child(1) {
  display: block;
}
.read .readtext:nth-child(2) {
  display: none;

}
.open .read .readtext:nth-child(1) {
  display: none;
}
.open .read .readtext:nth-child(2) {
  display: block;
}
.about h6, .read h6, .trailer h6{
  font-size: 11px;
  font-family: "Akzi-400";
  font-weight: 400;
  color: #ebebeb;
  transition: color .4s ease;
}
.trailer {
  margin-left: 20px;
}

.read {
  border: 1px solid #303030;
  background: #ebebeb;
  transition: all 0s ease;
}
.read:hover {
  background-color: #303030;
}
.read:hover h6 {
  transition: color 0s ease;
  color: #ebebeb;
}
.read img:nth-of-type(1) {
  /*display: inline;*/
}
.read img:nth-of-type(2){
  display: none;
}
.read:hover img:nth-of-type(1) {
  display: none;
}
.read:hover img:nth-of-type(2) {
  display: inline;
}
.read h6 {
  color: #303030;
  font-size: 16px;
  transition: all .4s ease;
  float: left;
}

.nav .about:hover, .trailer:hover{
  background: #ebebeb;
}
.nav .about:hover h6, .trailer:hover h6{
  color: #323232;
}
#sourcecontent .nav .about:hover, #sourcecontent .nav .trailer:hover {
    background-color: #ebebeb;
}
#sourcecontent .nav .about:hover,h6, #sourcecontent .nav .trailer:hover h6{
  color: #282C46;
}
/*#sourecontent .nav .about:hover h6, #sourcecontent .trailer:hover h6{
  color: #fff;
}*/

.buttons .social {
  margin-left: 16px;
}
.social img {
  width: 24px;
  position: relative;
  top: 2px;
  cursor: pointer;
}

.nav-section {
  cursor: pointer;
  float: left;
  clear: both;
  margin: 10px 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.nav-section h1 {
  font-family: "BigCaslon";
  font-weight: 500;
  font-size: 21px;
  color: #fff;
  transition: color .3s ease;
}
.nav-section h1 span{
  font-family: "Azki-400";
  font-weight: 400;
}
.nav-section h4, .nav-section .description {
  font-family: "Akzi-400";
  font-weight: 400;
  font-size: 12px;
  color: #B1A283;
}

.nav-section h4, .nav-section h1 {
  margin: 2px 0;
}
.nav-section .description {
  line-height: 16px;
}
.nav-section .cont {
  max-height: 0;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;

  transition: max-height .6s ease;
  transition-delay: 0s;
}
.nav-section .description {
  color: #fff;
  /*margin-top: 0px;*/
  opacity: 0;
  /*margin: 0;*/
  transition: opacity .3s ease;
  transition-delay: .1s;
}
.nav-section img {
  /*max-height: 100px;*/
  opacity: 0;
  transition: opacity .3s ease;
  transition-delay: .1s;
  width: 100%;
}
.nav-section:hover .cont {
  max-height: 300px;
}
.nav-section:hover .description, .nav-section:hover img {
  opacity: 1;
}

.nav-section:hover h1{
  color: #B1A283;
}
#chapters, #sources, #sourcedrawer, #aboutpage {
  float: left;
  color: #303030;
  background: #EBEBEB;
  height: 100%;
  display: block;
  width: calc(100% - 300px);
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

}
#sources {
  background-color: #282C46;
}

#sourcedrawer, #aboutpage {
  background-color: #B0A182;
  position: absolute;
  left: 300px;
  top: 0;
  z-index: 2000000000;
  transform: translateX(100%);
  -ms-transform: translateX(100%);
   -webkit-transform: translateX(100%);
  transition: transform .4s ease;
}
#aboutpage {
  background-color: #323232;
  transform: translateX(0);
  -ms-transform: translateX(0);
   -webkit-transform: translateX(0);
  display: none;
}

#aboutpage .underline {
  /*text-decoration: underline;*/
  color: #fff;
  font-family: "Akzi-400";
  font-weight: 400;
  font-family: "Akzi-400";
  font-weight: 400;
  color: #A59675;
  font-size: 14px;
  letter-spacing: 1px

}
#aboutpage .container {
  max-width: 650px;
}
#aboutpage .overview {
  font-size: 30px;
  line-height: 36px;
  font-family: "BigCaslon";
  font-weight: 500;
  margin-top: 5px;
}
#aboutpage .subtext {
  font-size: 15px;
  line-height: 21px;
  font-family: "Akzi-400";
  font-weight: 400;
  margin-top: 30px;
}
#aboutpage .more-info {
  margin-top: 35px;
}
#aboutpage .more-info h3 {
  float:left;
  color: #fff;
  margin-right: 20px;
  font-family: "Akzi-500";
  font-weight: 500;
  font-size: 21px;
}
#aboutpage .social {
  position: relative;
  top: -2px;

}

#aboutpage .left, #aboutpage .right {
  float: left;
  padding-right: 10px;
  width: calc(65% - 10px);
}

#aboutpage .right {
  width: calc(35% - 10px);

}
#aboutpage .left h5 {
  margin-bottom: 15px;
}
#aboutpage .right {
  margin-top: 45px;
}
#aboutpage .right img {
  width: 200px;
}
#aboutpage .right img , #aboutpage .right h6 {
  display: block;
  clear: both;
  float: left;
}
#aboutpage .right h6{
  color: #fff;
  font-size: 12px;
  font-family: "Akzi-400";
  font-weight: 400;
  margin: 15px 0;
}

#aboutpage .left h5 {
  /*text-decoration: underline;*/
  color: #fff;
  /*font-size: 11px;*/
  font-family: "Akzi-400";
  font-weight: 400;
  line-height: 16px;
  font-family: "Akzi-400";
  font-weight: 400;
  color: #A59675;
  font-size: 14px;
  /* margin-bottom: 50px; */
  letter-spacing: 1px
}

#aboutpage .left h6 {
  color: #fff;
  font-size: 12px;
  font-family: "Akzi-400";
  font-weight: 400;
  line-height: 16px;
}
#aboutpage .wrap {
  margin: 40px 0;
}
#aboutpage .left .margin {
  margin-top: 15px;
}

#aboutpage .left h6 span {
  font-family: "Akzi-500";
  font-weight: 500;
}
#aboutpage p {
  color: #fff;
}

#aboutpage li {
  background: url("/images/thumb_01.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: grow 1s ease;
  height: 90px;
  width: 160px;
  float: left;
}
@keyframes grow {
  0% {
    transform: scale(1);
  -ms-transform: scale(1);
   -webkit-transform: scale(1);
  }
  30% {
    transform: scale(2.5);
  -ms-transform: scale(2.5);
   -webkit-transform: scale(2.5);
  }
  100% {
    transform: scale(1);
  -ms-transform: scale(1);
   -webkit-transform: scale(1);
   } }

#sourcedrawer.open {
  transform: translateX(0);
    -ms-transform: translateX(0);
   -webkit-transform: translateX(0);
}
#closedrawer {
  position: absolute;
  top: 25px;
  cursor: pointer;
  left: 25px;
  z-index: 100;
}
#closedrawer img {
  width: 35px;
  position: relative;
  top: -1px;
  margin-right: 4px;
}

#closedrawer h5 {
  display: inline;
  font-family: "Akzi-500";
  font-weight: 500;
  font-size: 12px;
  color: #282C46;
}

.chapter {
  float: left;
  clear: both;
  padding: 45px;
  padding-right: 20px;
  width: calc(100% - 65px);
  /*border-top: 1px solid black;*/
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: padding 1s ease;
  position: relative;
}

#maincontent .chapter .read {
  position: relative;
  top: 20px;
  cursor: pointer;

}
#maincontent .chapter .read img{
  width: 17px;
  transform: rotate(180deg);
    -ms-transform: rotate(180deg);
   -webkit-transform: rotate(180deg);
  margin-left: 10px;
  position: relative;
  top: 2px;

}
#maincontent .open.chapter .read img{
  transform: rotate(0deg);
    -ms-transform: rotate(0deg);
   -webkit-transform: rotate(0deg);
}


.chapter:nth-child(1) {
  border-top: none;
  margin-top: 45px;
}

.chapter .left{
  width: calc(70% - 40px);
  padding-right: 40px;
  float: left;
  max-width: 600px;
}

.chapter .right {
  width: 30%;
  float: left;
}

.chapter.reenter .left, .chapter.reenter .right {
  opacity: 0;
  animation: enter 2s ease;
  animation-delay: .3s;
  animation-fill-mode: forwards;
}

.chapter.reenter .main {
  animation: fadeout .5s ease;
  animation-fill-mode: forwards;
}

@keyframes fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.chapter .main {
  float: left;
  width: 100%;
  max-height:0;
  transition: all 1s ease;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /*max-width: 650px;*/
}
.chapter .main .up {
  width: 22px;
  position: absolute;
  z-index: 100;
  top: 45px;
  right: 12px;
  display: none;
  cursor: pointer;
  transition: transform .2s ease;
}
.open.chapter .main .up {
  display: block;
  opacity: 0;
  animation: 1s show ease;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

.chapter .main .up:hover {
  transform: scale(1.05);
    -ms-transform: scale(1.05);
   -webkit-transform: scale(1.05);
}
.chapter.fix .up {
  position: fixed;
  top: 40px;

}

.chapter.fix .main .up.final {
  position: absolute;

}

.open .main {
  overflow: visible;
}


.main p {
  display: none;
  margin: 25px 25px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  max-width: 650px;

}
.main .img-section {
  display: none;
  width: 100%;
  margin: 35px 0;
}

.main .img-section img {
  width: calc(100% - 25px);

}
.main .img-section h6 {
  display: block;
  width: 70%;
  margin: 5px auto;
  font-family: "Caslon-540";
  font-size: 11px;
  font-weight: 400;
}
.main .show {
  display: block;
  opacity: 0;
  animation: enter 1s ease;
  animation-fill-mode: forwards;
}

.main .show.hide {
  animation: exit .5s ease;
  animation-fill-mode: forwards;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateX(30px);
    -ms-transform: translateX(30px);
   -webkit-transform: translateX(30px);

  }
  to {
    transform: translateX(0px);
    -ms-transform: translateX(0px);
   -webkit-transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes exit {
  from {
    opacity: 1;
    transform: translateY(0);
    -ms-transform: translateY(0);
   -webkit-transform: translateY(0);
  }
  to {
    transform: translateY(20px);
     -ms-transform: translateY(20px);
   -webkit-transform: translateY(20px);
    opacity: 0;
  }
}

.chapter .title {
  font-family: "Big Caslon";
  font-weight: 500;
  /*transition: all 1s ease;*/
  font-size: 30px;
}

.chapter .big.title {
  display: none;
}
.chapter .big.title.show {
  display: block;
  animation: show .4s ease;
}
@keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.chapter .title span {
  font-family: "Akzi-400";
  font-weight: 400;
  font-size: 20px;
  transition: color 1s ease;
  color: #B1A283;
}
.open.chapter {
  padding-top: 22px;
}
.open.chapter .title {
  font-size: 42px;
  max-width: 500px;
}

.open.chapter .title span {
  color: #B1A283;
}
.chapter p{
  font-family: "Akzi-400";
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
}

.chapter .right img {
  /*float: right;*/
  width: 100%;
  max-width:  370px;
  position: relative;
  /*float: left;*/
}
.open.chapter .right img {
  display: none;
}
#chapters .chapter {
  /*padding-top: 70px;*/
  padding-top: 0;
}

#chapters .chapter.open {
  padding-top: 22px;
}
.preview {
  margin-bottom: 0;
}
.chapter .source-links {
  width: 100%;
  margin-top: 10px;
  float: left;
  display: block;
  /*height: 0;*/
}

.open.chapter .source-links {
  opacity: 0;
  animation: enter 1s ease;
  animation-fill-mode: forwards;
  animation-delay: 1s;
}

/*.chapter .source-links h5{
  font-family: "Akzi-500";
  font-weight: 500;
  font-size: 12px;
}*/

/*.chapter .source-links h6 {
  font-family: "Caslon-540";
  font-weight: 400;
  font-size: 12px;
  margin: 2px 0;
}*/

 .source-links .left, .source-links .right {
   width: 47.5%;
}

.chapter .source-links .left {
  margin-right: 5%;
  float: left;
}

.chapter .source-links .right {
  width: 47.5%;
  float: right;
}

.open.chapter .left, .open.chapter .right {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.source-btn, .source-btn span, .btn-wrap {
  cursor: pointer;
  display: inline;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  /*padding: 2px 2.5px;*/
  height: 16px;
  width: 16px;
  display: inline-block;
  font-size: 7px;
  position: relative;
  text-align: center;
  line-height: 17px;
  letter-spacing: -.5px;
  top: -2px;
  font-weight: 700;
  background-color: transparent;
  border: 1px solid transparent;
  color: #fff;
  transform: translateZ(0deg);
   -ms-transform: translateZ(0deg);
   -webkit-transform: translateZ(0deg);
  backface-visibility: hidden;
  /*transition: padding .5s ease;*/
  transition: background-color .4s ease;
  margin: -1px;
}
.btn-wrap {
  top: 3px;
}
.source-btn span {
  top: 0px;
  left: 0px;
  z-index: -1;
  position: absolute;
  /*background-color: #282C46;*/
  border: 1px solid #282C46;

}
.btn-wrap:hover .source-btn {
  color: #fff;
}
.btn-wrap:hover .source-btn span {
  border: 1px solid transparent;
  background-color: #282C46;
}
.source-btn.safari {
  padding: 2px 1px;
}

.source-btn:hover span {
  /*background-color: transparent;
  border: 1px solid black;
  color: black;*/
  animation: bouncy .4s linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.btn-wrap {
  position: relative;
}
.btn-wrap .source-btn {
  position: absolute;
  top: 0;
  left:0;
  z-index: 10;
  color: #282C46;
}

@keyframes bouncy {
  from{

    transform: scale(1);
   -ms-transform: scale(1);
   -webkit-transform: scale(1);
  }
  to {
    transform: scale(1.5);
   -ms-transform: scale(1.5);
   -webkit-transform: scale(1.5);
  }
}

@keyframes bouncy {
  from{
    /*height: 16px;
    width:16px;
    line-height: 17px;*/
    transform: scale(1);
   -ms-transform: scale(1);
   -webkit-transform: scale(1);
    /*color: red;*/
  }
  to {
    /*height: 25px;
    width:25px;
    line-height: 25px;*/
    transform: scale(1.5);
   -ms-transform: scale(1.5);
   -webkit-transform: scale(1.5);
    /*color: blue;*/
    /*font-size: 5px;*/
  }
}
@keyframes antibouncy {
  from{
    /*height: 16px;
    width:16px;
    line-height: 17px;*/
    transform: scale(1);
   -ms-transform: scale(1);
   -webkit-transform: scale(1);
    color: red;
  }
  to {
    /*height: 25px;
    width:25px;
    line-height: 25px;*/
    transform: scale(.6666);
   -ms-transform: scale(.6666);
   -webkit-transform: scale(.6666);
    color: blue;
    /*font-size: 5px;*/
  }
}


.source-btn.clicked {
  color: #282C46;
}


#sources .chapter {
  padding-right: 0;
  padding-top: 22px;
  border: none;
  width: calc(100% - 45px);
  display: none;
}

#sources h1.title {
  color: #fff;
  font-size: 42px;
  margin-bottom: 40px;
  max-width: 500px;
}
#sources .title span {
  color: #B1A283;

}
#sources h4 {
  clear: both;
  color: #fff;
  font-family: "Akzi-500";
  font-weight: 500;
  font-size: 20px;
}

#sources .chapter .section {
  padding: 20px 90px 20px 45px;
  border-top: 1px solid #7F808F;
  color: #fff;
}

#sources .chapter p {
  /*font-size: 20px;
  line-height: 28px;*/
  max-width: 575px;
  float: left;
  clear: both;
}
#sources .chapter .section:first-of-type {
  padding: 0px 90px 20px 45px;
  border-top: none;
}

#sources .source-link, .source-title {
  transition: color .4s ease;
  font-family: "Caslon-540";
  font-weight: 500;
  font-size: 20px;
  color: #fff;
}

#sources .source-link {
  display: block;
  float: left;
  clear: both;
  max-width: 575px;
}

#sources .source-link span, .source-title span {
  font-weight: 500;
  font-size: 18px;
}

#sources .source-link:hover {
  color: #B1A283;
  cursor: pointer;
}

#sources .source-link:first-of-type {
  margin-top: 20px;
}
#sources .source-link {
  margin-top: 15px;
}


#sources .source-link.highlight {
  animation: glow 4.5s ease;
  animation-delay: .3s;
  /*color: #B1A283;*/
  /*background-color: #B1A283;;*/
  animation-fill-mode: forwards;
}

@keyframes glow {
  from{
    background-color: #B1A283;
    
  }
  to{
    background-color: transparent;
  }
}
.temp {
  position: absolute;
  z-index: 100;
  border-radius: 50%;
  height: 6px;
  width: 6px;
  background-color: #282C46;
  /*background-color: red*/
}
.source-page {
  padding: 45px;
  padding-top: 90px;
  display: none;
}
.source-page.view {
  display: block;
  opacity: 0;
  animation: intro .75s ease;
  animation-fill-mode: forwards;
  animation-delay: .4s;
}

@keyframes intro {
  from {
    transform: translateY(30px);
     -ms-transform: translateY(30px);
   -webkit-transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateX(0px);
   -ms-transform: translateX(0px);
   -webkit-transform: translateX(0px);
    opacity: 1;
  }
}


.source-page .source-title {
  color: #282C46;
  max-width: 650px;
}

.source-page .info {
  width: 80%;
  margin: 45px auto;
}
.source-page .info.text {
  margin: 20px 25px;
  width: 90%;
  max-width: 575px;
}

#okay {
  display: block;
}
.source-page .info.text p{
  color: #424243;
  font-size: 16px;
  line-height: 21px;
  margin-bottom: 20px;
}
.info .head {
  margin: 20px 0;
  float: left;
  width: 100%;
}
.info .caption {
  font-family: "BigCaslon";
  font-weight: 500;
  font-size: 16px;
  margin: 15px 0;
  margin-bottom: 0;
}
.info .caption span{
  font-family: "akzi-500";
  font-weight: 500;
}
.info .head img {
  width: 100%;
  max-width: 700px;
}
.info .row {
  float: left;
  width: 100%;
  margin-top: 20px;
}
.info .left, .info .right {
  float: left;
  padding-right: 10px;
  width: calc(50% - 10px);
}
.info h5, .info h6 {
  font-size: 11px;
  font-family: "Akzi-400";
  font-weight: 400;
  line-height: 16px;
}
.info .credit {
  text-decoration: underline;
}

img.pre {
  position: absolute;
  z-index: 1000;
  width: 250px;
  animation: imgScale .5s ease;
  transform-origin: top left;
}
@keyframes imgScale {
  0% {
    transform: scale(.01);
   -ms-transform: scale(.01);
   -webkit-transform: scale(.01);
  }

  100% {
    transform: scale(1);
   -ms-transform: scale(1);
   -webkit-transform: scale(1);
  }
  }

@media (min-width: 1250px) {
  .chapter .right {
    width: calc(100% - 640px);
  }
}


/* MOBILE HAMBURGER */

/* MOBILE */


.hamburger {
  position: fixed;
  z-index: 10000000;
  top: 23px;
  left:305px;
  width: 30px;
  height: 20px;
  display: none;
  transition: transform .4s ease;
  will-change: transform;
}

#sourcecontent.openNav .hamburger {
  transform: translateX(215px);
    -webkit-transform: translateX(215px);
    -ms-transform: translateX(215px);
}

li {
  list-style: none;
}
.rowz {
  height: 4px;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
  transition: top .2s ease;
  background: #333333;
}
#sourcecontent .rowz {
  background: #fff;
}
.hamburger.close {
}
.hamburger.close li {
  background-color: #fff !important;
}
.hamburger.close .rowz {
  top: 50%;
  animation-name: close2;
  animation-duration: .3s;
  animation-delay: .25s;
  animation-fill-mode: forwards;
}
.hamburger.close .rowz:nth-child(2) {
  top: 50%;
  animation-name: close3;
  animation-duration: .3s;
  animation-delay: .25s;
  animation-fill-mode: forwards;
}

.hamburger li {
  height: 5px;
  float: left;
  width: 5px;
  border-radius: 50%;
  margin: 2px 1px;
  background-color: red;
  display: none;
}
 .rowz:nth-child(1) {
  top: 0%;
}
.rowz:nth-child(2) {
  top:50%;
}
.rowz:nth-child(3) {
  top: 100%;
}


@keyframes close2 {
  from{
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
  }



  to {
    transform: translateY(-50%) rotate(45deg);
    -webkit-transform: translateY(-50%) rotate(45deg);
      -ms-transform: translateY(-50%) rotate(45deg);
  }
}
@-webkit-keyframes close2 {
  from{
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
  }



  to {
    transform: translateY(-50%) rotate(45deg);
    -webkit-transform: translateY(-50%) rotate(45deg);
      -ms-transform: translateY(-50%) rotate(45deg);
  }
}
@-webkit-keyframes close3 {
  0% {
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);

  }



  100% {
    transform: translateY(-50%) rotate(-45deg);
    -webkit-transform: translateY(-50%) rotate(-45deg);
      -ms-transform: translateY(-50%) rotate(-45deg);
  }
}

@keyframes close3 {
  0% {
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);

  }



  100% {
    transform: translateY(-50%) rotate(-45deg);
    -webkit-transform: translateY(-50%) rotate(-45deg);
      -ms-transform: translateY(-50%) rotate(-45deg);
  }
}


.hamburger.open .rowz{
  animation-name: open2;
  animation-duration: .3s;
  animation-delay: 0s;
  animation-fill-mode: forwards;

}

.hamburger.open .rowz:nth-child(2){
  animation-name: open3;
  animation-duration: .3s;
  animation-delay: 0s;
  animation-fill-mode: forwards;

}

@keyframes open2 {
  from{
    transform: translateY(-50%) rotate(45deg);
    -webkit-transform: translateY(-50%) rotate(45deg);
      -ms-transform: translateY(-50%) rotate(45deg);
  }


  to {
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
  }
}
@-webkit-keyframes open2 {
  from{
    transform: translateY(-50%) rotate(45deg);
    -webkit-transform: translateY(-50%) rotate(45deg);
      -ms-transform: translateY(-50%) rotate(45deg);

  }


  to {
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
  }
}
@keyframes open3 {
  0% {
    transform: translateY(-50%) rotate(-45deg);
    -webkit-transform: translateY(-50%) rotate(-45deg);
      -ms-transform: translateY(-50%) rotate(-45deg);

  }



  100% {
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);

  }
}
@-webkit-keyframes open3 {
  0% {
    transform: translateY(-50%) rotate(-45deg);
    -webkit-transform: translateY(-50%) rotate(-45deg);
      -ms-transform: translateY(-50%) rotate(-45deg);

  }



  100% {
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);

  }
}

.carousel-wrap {
  width: 100%;
  max-width: 370px;
  position: relative;
  float: left;
  white-space: nowrap;
  overflow:hidden;
}
.img-wrap {
  width: 100%;
  max-width: 370px;
  position: relative;
  float: left;
  white-space: nowrap;
  backface-visibility: hidden;
  transform: translateZ(0deg);
  will-change: transform;
  transition: transform 1s ease;
  font-size: 0;
}
.img-wrap img {
  display: inline-block;
}

@media (max-width: 1000px) {
  #chapters, #sources, #sourcedrawer, #aboutpage {
    width: calc(100% - 215px);
  }

  #preface #titleimg {
     margin-top: 0;
  }
  #sourcedrawer, #aboutpage{
    left: 215px;
  }
  .nav {
    width: calc(215px - 44px);
  }
  .nav .header .title {
    font-size: 42px;
    line-height: 44px;
  }

  .nav .about, .trailer {
      padding: 6px 8px;
      border: 1px solid #fff;
      cursor: pointer;
      transition: border .4s ease;
      float: left;
  }
}

@media (max-width: 850px) {
  .nav {
    position: absolute;
    transform: translateX(-100%);
    z-index: 100;
  }
  #maincontent, #sourcecontent {
    position: absolute;
  }

  #aboutpage, #sourcedrawer {
    left: 0;
  }
  .hamburger{
    display: block;
    position: fixed;
    top: 20px;
    left: 5px;
  }

  .forward h4 {
    font-size: 28px;
    line-height: 35px;
  }
  .forward p {
    font-size: 28px;
    line-height: 35px;
    /*display: none;*/
  }
  .hamburger.open:nth-child(2) {
    left: 220px
  }
  #chapters, #sources, #sourcedrawer, #aboutpage {
      width: 100%;
  }
  #maincontent, #sourcecontent, #sources, #sourcecontent .nav {
    transition: transform .4s ease;
  }
  #maincontent.openNav {
    transform: translateX(215px);
  }
  #sourcecontent.openNav .nav {
    transform: translate(0);
  }
  #sourcecontent.openNav #sources {
    transform: translateX(215px);
  }

  #instructions .left, #instructions .right {
    float: left;
    width: 100%;
    clear: both;
  }

  #instructions {
    height: 80%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;

  }
}

@media (max-width: 600px) {
  #preface #titleimg {
    width: 80%;
  }

  #preface .forward .enter {
    margin-top: 35px;
}
#preface .text {
  padding-bottom: 5px;
}
  #preface .text h3 {
    font-size: 24px;
}

  #instructions #okay {
    display: block;
  }

  #chapters .left, #chapters .right {
    clear: both;
  }
  #chapters .left {
    width: calc(100% - 40px);
  }
  #chapters .right {
    width: calc(100% - 25px);
    margin-top: 20px;
    padding-right: 25px;
  }

  #chapters .right img, .carousel-wrap, .img-wrap {
    max-width: none;
    width: 100%;
  }


  #sourcedrawer, #aboutpage {
      left: 0;
  }

  #sources .chapter .section, #sources .chapter .section:first-of-type {
    padding: 20px 45px 20px 45px;
    width: calc(100% - 45px);
}
  #sources .chapter {
    padding-left: 0;
  }
  #sources h1.title, #sources h4 {
    padding-left: 45px;
  }

  #aboutpage .left, #aboutpage .right {
    clear: both;
  }
  #aboutpage .chapter {
    padding-right: 45px;
    width: calc(100% - 90px);
  }
  .source-page .info.text{
    margin:0;
    width: 100%;
  }
  .main p {
    margin-left: 0;
  }
}

@media (min-width: 1400px) {
  .chapter-wrap {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
  }

  h1.title:not(.nav .title) {
    max-width: none;
    text-align: center;
  }
  .main p {
    max-width: none;
    font-size: 20px;
    line-height: 28px;
    max-width: 800px;
    margin: 30px auto;
  }
  .main .img-section img {
    width: 100%;

  }

  .main .img-section {
    margin: 40px 0;
  }
  .open.chapter .title {
      font-size: 48px;
      max-width: none;
      text-align: center;
  }


  #sources .chapter .section, #sources .chapter .section:first-of-type {
    padding: 20px 90px 20px 45px;
    border-top: 1px solid #7F808F;
    color: #fff;
    width: 70%;
    max-width: 1000px;
    padding: 20px 90px;
    margin: 20px auto;
  }
  #sources h1.title {
      font-size: 50px;
       max-width: none;
      text-align: center;
  }
  #sources .chapter p {
    font-size: 18px;
    line-height: 25px;
  }
  #sources .source-link {
     max-width: none;
  }
  #sources .chapter p {
     max-width: 575px;
  }
  #sources h4 {
    font-size: 22px;
    text-align: center;
  }

  .source-page {
    width: 70%;
    margin: 0 auto;
    max-width: 1000px;
  }
  .source-page .info.text {
     max-width: none;
  }
  .source-page .info.text p {
      font-size: 18px;
      line-height: 25px;
  }

  #sources .source-link span, .source-title span , #sources .source-link, .source-title {
    font-size: 22px;
  }

  #aboutpage .container {
    margin: 0 auto;
  }
}

.linkonly {
    font-family: "Caslon-540";
    font-weight: 500;
    font-size: 20px;
    color: #fff;
}

.linkonly a:hover {
  color: #B1A283;
}

#sourcedrawer .linkonly {
display: none;
}

.nogary {
font-family: "BigCaslon";
font-size: 16px;
color: #303030;
}

.nav-section .nogary {
  display: none;
}

#hoverimg {
  position: absolute;
  width: 300px;
}
#maincontent {
  transition: opacity 1s ease;
}

#maincontent.hide {
  opacity: 0;
  pointer-events: none;
}