html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video,
hr {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  position: relative;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}
audio,
canvas,
video {
  display: inline-block;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
ul,
ol,
dl {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  margin: 0;
}
[hidden],
template {
  display: none;
}
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
a {
  background: transparent;
}
a:hover,
a:active {
  outline: none;
}
a:focus {
  outline: thin dotted;
}
blockquote,
q {
  quotes: none;
}
q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
dfn {
  font-style: italic;
}
hr {
  display: block;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  border-top: 1px solid #ccc;
}
pre,
code,
kbd,
samp {
  font-family: monospace, sans-serif;
  font-size: 1em;
}
pre {
  white-space: pre-wrap;
}
small {
  font-size: 80%;
}
b,
strong,
th {
  font-weight: bold;
}
sup,
sub {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* ==========================================================================
   Forms
   ========================================================================== */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}
button,
input {
  line-height: normal;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
  vertical-align: top;
}
/* ==========================================================================
   Tables
   ========================================================================== */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td {
  vertical-align: top;
}
img {
  -ms-interpolation-mode: bicubic;
}
/* ==========================================================================
   Embedded content
   ========================================================================== */
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
/* ==========================================================================
   Figures
   ========================================================================== */
figure {
  margin: 0;
}
.hidden {
  display: none !important;
  visibility: hidden;
}
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
.invisible {
  visibility: hidden;
}
.cf:before,
.cf:after {
  content: " ";
  display: table;
}
.cf:after {
  clear: both;
}
.cf {
  *zoom: 1;
}
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  *behavior: url(/assets/templates/default/js/lib/boxsizing.htc);
}
@font-face {
  font-family: 'c4_headlineregular';
  src: url('../font/c4heareg-webfont.eot');
  src: url('../font/c4heareg-webfont.eot?#iefix') format('embedded-opentype'), url('../font/c4heareg-webfont.woff') format('woff'), url('../font/c4heareg-webfont.ttf') format('truetype'), url('../font/c4heareg-webfont.svg#c4_headlineregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'c4_textregular';
  src: url('../font/c4texreg-webfont.eot');
  src: url('../font/c4texreg-webfont.eot?#iefix') format('embedded-opentype'), url('../font/c4texreg-webfont.woff') format('woff'), url('../font/c4texreg-webfont.ttf') format('truetype'), url('../font/c4texreg-webfont.svg#c4_headlineregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
/*
input:focus,
select:focus,
textarea:focus,
button:focus {
	outline: none;
}
*/
* {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  display: block;
}
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  /*
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	*/
}
.no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
html {
  background-color: white;
}
body {
  color: #ffffff;
  font-family: 'c4_textregular', Arial, sans-serif;
}
h1,
h2,
h3 {
  font-family: 'c4_headlineregular', Arial, sans-serif;
}
a,
button,
input {
  cursor: hand;
  cursor: pointer;
}
a:focus,
button:focus,
input:focus {
  outline: 2px solid #fff;
}
a:active,
button:active,
input:active,
a:hover,
button:hover,
input:hover {
  outline: 0;
}
*:focus {
  outline: 0;
}
/*
input:focus,
select:focus,
textarea:focus {
	outline: none;
}
*/
#container {
  width: 100%;
  height: 100%;
}
#loader {
  width: 100%;
  height: 100%;
  background: black;
  z-index: 500;
  position: absolute;
}
#splash {
  background: url("../img/splash.jpg") #000000 no-repeat top center;
  width: 100%;
  height: 100%;
  z-index: 1000;
  font-size: 28px;
  display: none;
  position: absolute;
  padding-top: 170px;
  text-align: center;
}
#splash div {
  display: none;
}
#splash img {
  margin: 0 auto;
}
#splash p {
  background: transparent;
  width: 300px;
  margin: 0 auto 20px;
  padding-top: 0px;
  text-align: center;
  text-shadow: 0 0 10px white;
}
#splash button {
  font-family: 'c4_headlineregular', Arial, sans-serif;
  display: inline-block;
  border: 0;
  padding: 5px 20px;
  background: #ff7f00;
  color: black;
  text-decoration: none;
  margin-top: 30px;
  font-size: 24px;
}
#background {
  background: #000000;
  width: 100%;
  height: 100%;
}
.rotatebg {
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  display: initial;
}
.rotatebg.stars {
  position: absolute;
  left: 50%;
  top: -50%;
  margin-left: -100%;
  width: 200%;
  height: 200%;
  background: url(../img/m23-16e.png) repeat 50% 0;
  -webkit-opacity: 0.5;
  -khtml-opacity: 0.5;
  -moz-opacity: 0.5;
  opacity: 0.5;
}
.rotatebg.nebula {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -700px;
  margin-top: -700px;
  width: 1400px;
  height: 1400px;
  background: url(../img/nebula_4.jpg) no-repeat 50% 0;
  -webkit-opacity: 0.6;
  -khtml-opacity: 0.6;
  -moz-opacity: 0.6;
  opacity: 0.6;
}
#swipeInstruction {
  background: url("../img/instruction-arrow-down.png") rgba(255, 255, 255, 0.3) 10px 10px no-repeat;
  position: absolute;
  bottom: 45px;
  left: 0;
  right: 0;
  width: 230px;
  text-align: center;
  padding: 15px 10px 15px 50px;
  display: none;
  margin: 0 auto;
}
#view {
  width: 80%;
  margin: 0 auto;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  /*display: none;*/
}
#stack {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: -70px;
}
#stack > li {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  max-width: 750px;
  margin: 80px auto;
  -webkit-transform-origin: 50% -50px;
  -ms-transform-origin: 50% -50px;
  transform-origin: 50% -50px;
}
#stack > li#panel-5 img {
  margin: 0 auto;
  -webkit-opacity: 1;
  -khtml-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
#stack > li.endSlide {
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  font-size: 28px;
}
#stack > li.endSlide .textBox {
  width: 450px;
}
#stack > li.endSlide .textBox a {
  background: #ff7f00;
  color: black;
  padding: 5px 20px;
  border: 0;
  font-size: 24px;
  margin-bottom: 50px;
  display: inline-block;
  text-decoration: none;
  text-shadow: none;
  font-family: 'c4_headlineregular', Arial, sans-serif;
}
#stack > li.endSlide .textBox a:visited {
  color: black;
}
#stack > li.endSlide p {
  margin-left: 0;
  font-size: 28px;
}
#stack > li.endSlide h2 {
  font-size: 28px;
}
#stack > li.endSlide div.share li {
  display: inline-block;
}
#stack > li.endSlide div.share li.fb a {
  display: block;
  text-indent: 9999px;
  white-space: nowrap;
  overflow: hidden;
  width: 40px;
  height: 40px;
  background-color: transparent;
  background-image: url("../img/share-fb-big.png");
  background-position: top left;
  background-repeat: no-repeat;
}
#stack > li.endSlide div.share li.tw a {
  display: block;
  text-indent: 9999px;
  white-space: nowrap;
  overflow: hidden;
  width: 40px;
  height: 40px;
  background-color: transparent;
  background-image: url("../img/share-tw-big.png");
  background-position: top left;
  background-repeat: no-repeat;
}
#stack > li img {
  margin: 0 0;
  -webkit-opacity: 1;
  -khtml-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
#stack > li img.right {
  float: right;
}
#stack > li .textBox {
  padding: 40px;
  width: 470px;
  position: absolute;
  top: 0;
}
#stack > li .textBox.center {
  left: 0;
  right: 0;
  margin: 0 auto;
}
#stack > li .textBox.right {
  float: right;
  right: 0;
}
#stack > li .textBox a {
  color: inherit;
}
#stack > li .textBox a:visited {
  color: #cccccc;
}
#stack > li h2 {
  font-size: 35px;
  margin-bottom: 5px;
}
#stack > li p {
  font-size: 16px;
  margin-bottom: 15px;
  margin-left: 45px;
  line-height: 120%;
}
#stack > li p.imageCaption {
  /*font-size: 14px;*/
}
#made {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 10px;
}
#controls {
  position: absolute;
  right: 10px;
  top: 120px;
  font-size: 16px;
  z-index: 200;
  display: none;
  color: #ff7f00;
}
#controls button {
  color: #ff7f00;
  background: none;
  border: 10px;
  font-size: 20px;
  margin: 5px 0;
  text-align: center;
  padding: 0;
  display: block;
  width: 100px;
  font-family: 'c4_headlineregular', Arial, sans-serif;
}
#controls button#next {
  background: url("../img/up-arrow.png") transparent top left no-repeat;
  text-indent: 9999px;
  overflow: hidden;
  height: 16px;
  width: 25px;
  margin: 0 auto;
}
#controls button#prev {
  background: url("../img/down-arrow.png") transparent top left no-repeat;
  text-indent: 9999px;
  overflow: hidden;
  height: 16px;
  width: 25px;
  margin: 0 auto;
}
#controls button.active {
  margin: 0 0;
  font-size: 30px;
  color: #fff;
}
#controls button.near {
  margin: 1px 0;
  font-size: 25px;
  color: inherit;
}
#controls button[disabled="disabled"] {
  -webkit-opacity: 0.5;
  -khtml-opacity: 0.5;
  -moz-opacity: 0.5;
  opacity: 0.5;
}
#quickjump {
  z-index: 201;
  position: absolute;
  right: 10px;
  top: 20px;
  text-align: right;
}
#quickjump button {
  padding: 10px;
  cursor: pointer	;
}
#quickjump a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dotted white;
}
#share {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ff7f00;
  color: black;
  text-transform: lowercase;
  /*margin-bottom: -16px;*/
  /*margin-right: -60px;*/
  text-align: center;
  z-index: 300;
  width: 60px;
  height: 34px;
  cursor: default;
}
#share h2 {
  float: left;
  background: #ff7f00;
  padding: 8px;
  width: 60px;
  z-index: 302;
}
#share ul {
  /*visibility: hidden;*/
  position: relative;
  left: 0px;
  top: -34px;
  background: black;
  float: left;
  padding: 5px;
  border: 4px solid #ff7f00;
  z-index: 301;
  -webkit-transition: left 0.25s ease-out;
  -moz-transition: left 0.25s ease-out;
  -ms-transition: left 0.25s ease-out;
  -o-transition: left 0.5s ease-out;
  transition: left 0.25s ease-out;
}
#share ul li {
  width: 16px;
  float: left;
  margin-right: 5px;
}
#share ul li.fb a {
  display: block;
  text-indent: 9999px;
  white-space: nowrap;
  overflow: hidden;
  width: 16px;
  height: 16px;
  background-color: transparent;
  background-image: url("../img/share-fb.png");
  background-position: top left;
  background-repeat: no-repeat;
}
#share ul li.tw a {
  display: block;
  text-indent: 9999px;
  white-space: nowrap;
  overflow: hidden;
  width: 16px;
  height: 16px;
  background-color: transparent;
  background-image: url("../img/share-tw.png");
  background-position: top left;
  background-repeat: no-repeat;
}
#share.open ul {
  left: -56px;
}
#share:after {
  right: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  z-index: 301;
}
#share:after {
  border-color: rgba(136, 183, 213, 0);
  border-right-color: #ff7f00;
  border-width: 10px;
  top: 50%;
  margin-top: -10px;
}
.onoffswitch {
  position: absolute;
  bottom: 5px;
  /*width: 75px;*/
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  font-size: 14px;
  z-index: 400;
}
.onoffswitch-checkbox {
  /*display: none;*/
}
.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  /*width: 75px*/
}
.onoffswitch-inner {
  width: 100%;
  -moz-transition: margin 0.3s ease-in 0s;
  -webkit-transition: margin 0.3s ease-in 0s;
  -o-transition: margin 0.3s ease-in 0s;
  transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before,
.onoffswitch-inner:after {
  float: left;
  /*width: 50%;*/
  height: 28px;
  padding: 0 5px;
  line-height: 28px;
  color: red;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
}
.onoffswitch-inner:before {
  content: "3D";
  padding-left: 8px;
  background-color: black;
  color: #ff7f00;
  border-right: 1px solid grey;
  font-size: 16px;
}
.onoffswitch-inner:after {
  content: "2D";
  padding-right: 8px;
  background-color: black;
  text-align: right;
  font-size: 20px;
  color: white;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner:before {
  font-size: 20px;
  color: white;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner:after {
  font-size: 16px;
  color: #ff7f00;
}
#info {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 300;
  background: rgba(0, 0, 0, 0.6);
}
/**********************************************
			2D MODE
**********************************************/
html.twod {
  position: absolute;
  overflow: visible;
  /*overflow: hidden;*/
}
html.twod body {
  width: 100%;
  height: 100%;
  overflow: visible;
  background: black;
}
html.twod #container {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  background: black;
}
html.twod #background {
  display: none;
}
html.twod #splash {
  position: fixed;
}
html.twod .rotatebg {
  display: none;
}
html.twod #view {
  position: relative;
  height: auto;
  /*display: block;*/
}
html.twod #stack {
  margin-top: 0px;
  height: auto;
}
html.twod #stack > li {
  position: relative;
  width: 750px;
  height: 520px;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
  transition: none;
}
html.twod #stack > li .textBox {
  top: 0;
  /*position: relative;*/
}
html.twod #stack > li img {
  position: relative;
  left: 0;
  top: 0;
}
html.twod #accessibleControls {
  position: fixed;
  color: #ff7f00;
  right: 20px;
  top: 120px;
}
html.twod #accessibleControls li {
  color: #ff7f00;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
}
html.twod #accessibleControls li a {
  color: inherit;
  text-decoration: none;
  font-family: 'c4_headlineregular', Arial, sans-serif;
}
html.twod #accessibleControls li.near {
  font-size: 25px;
  color: inherit;
}
html.twod #accessibleControls li.active {
  font-size: 30px;
  color: #fff;
}
html.twod #accessibleControls li:hover {
  color: #ffffff;
}
html.twod #share {
  position: fixed;
  right: 17px;
  bottom: 0;
}
html.twod .onoffswitch {
  position: fixed;
}
html.twod #loader .spinner {
  margin-top: 200px;
}
html.twod .rotatebg {
  /*display: none;*/
}
html.twod .rotatebg.stars {
  width: 100%;
  height: 100%;
  margin-left: 0;
  top: 0;
  left: 0;
}
html.twod .rotatebg.nebula {
  display: none;
}
/**********************************************
		CSS TRANSITIONS
**********************************************/
html.csstransitions #stack > li {
  -webkit-transition: -webkit-transform 0.25s linear 0s, opacity 0.25s linear 0s, visibility 0s linear 0s;
  -moz-transition: -moz-transform 0.25s linear 0s, opacity 0.25s linear 0s, visibility 0s linear 0s;
  -ms-transition: -ms-transform 0.25s linear 0s, opacity 0.25s linear 0s, visibility 0s linear 0s;
  -o-transition: -o-transform 0.25s linear 0s, opacity 0.25s linear 0s, visibility 0s linear 0s;
  transition: transform .25s linear 0s, opacity .25s linear 0s, visibility 0s linear 0s;
}
html.csstransitions #stack > li.infront {
  -webkit-transition: -webkit-transform 0.25s linear 0s, opacity 0.25s linear 0s, visibility 0s linear 0.5s;
  -moz-transition: -moz-transform 0.25s linear 0s, opacity 0.25s linear 0s, visibility 0s linear 0.5s;
  -ms-transition: -ms-transform 0.25s linear 0s, opacity 0.25s linear 0s, visibility 0s linear 0.5s;
  -o-transition: -o-transform 0.25s linear 0s, opacity 0.25s linear 0s, visibility 0s linear 0.5s;
  transition: transform .25s linear 0s, opacity .25s linear 0s, visibility 0s linear 0.5s;
}
html.csstransitions #stack > li.wayback {
  -webkit-transition: -webkit-transform 0.25s linear 0s, opacity 0.25s linear 0s, visibility 0s linear 0.5s;
  -moz-transition: -moz-transform 0.25s linear 0s, opacity 0.25s linear 0s, visibility 0s linear 0.5s;
  -ms-transition: -ms-transform 0.25s linear 0s, opacity 0.25s linear 0s, visibility 0s linear 0.5s;
  -o-transition: -o-transform 0.25s linear 0s, opacity 0.25s linear 0s, visibility 0s linear 0.5s;
  transition: transform .25s linear 0s, opacity .25s linear 0s, visibility 0s linear 0.5s;
}
html.csstransitions #controls button {
  -webkit-transition: all .25s linear;
  -moz-transition: all .25s linear;
  -ms-transition: all .25s linear;
  -o-transition: all .25s linear;
  transition: all .25s linear;
}
/**********************************************
		3D TRANSITIONS
**********************************************/
html.csstransforms3d .rotatebg {
  -webkit-transform: scale3d(1, 1, 1);
}
html.csstransforms3d .rotatebg.fast {
  -webkit-animation: rotateStars 240s linear infinite;
  -moz-animation: rotateStars 240s linear infinite;
  animation: rotateStars 240s linear infinite;
}
html.csstransforms3d .rotatebg.slow {
  -webkit-animation: rotateStars 480s linear infinite;
  -moz-animation: rotateStars 480s linear infinite;
  animation: rotateStars 480s linear infinite;
}
/**********************************************
		MS HACK FOR TRANSPARENCY
**********************************************/
html.no-opacity #stack li img {
  background: transparent;
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)";
  /* IE8 */
  filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)";
  /* IE6 & 7 */
  zoom: 1;
}
/**********************************************
		NO TOUCH ROLLOVER STATES
**********************************************/
html.no-touch #controls button:hover {
  color: #ffffff;
}
html.no-touch #controls button#next:hover {
  background: url("../img/up-arrow-over.png") transparent top left no-repeat;
}
html.no-touch #controls button#next[disabled="disabled"] {
  -webkit-opacity: 0.5;
  -khtml-opacity: 0.5;
  -moz-opacity: 0.5;
  opacity: 0.5;
}
html.no-touch #controls button#next[disabled="disabled"]:hover {
  background: url("../img/up-arrow.png") transparent top left no-repeat;
}
html.no-touch #controls button#prev:hover {
  background: url("../img/down-arrow-over.png") transparent top left no-repeat;
}
html.no-touch #controls button#prev[disabled="disabled"] {
  -webkit-opacity: 0.5;
  -khtml-opacity: 0.5;
  -moz-opacity: 0.5;
  opacity: 0.5;
}
html.no-touch #controls button#prev[disabled="disabled"]:hover {
  background: url("../img/down-arrow.png") transparent top left no-repeat;
}
/*
html.touch {

	#controls {

		button {

			margin-bottom: 10px;
			margin-top: 10px;

			&#next {
				&:focus {
					background: url("../img/up-arrow.png") transparent top center no-repeat;
				}
			}

			&#prev {
				&:focus {
					background: url("../img/down-arrow.png") transparent top center no-repeat;
				}
			}

			&.active {
				margin: 5px 0;
			}

			&.near {
				margin: 2px 0;
			}

		}
	}

}
*/
/**********************************************
			MOBILE / SMALL SCREEN
**********************************************/
@media only screen and (max-width: 939px) {
  #splash {
    background: url("../img/endscreenbg_m.png") #000000 no-repeat top center;
    background-size: 100%;
    padding-top: 130px;
  }
  #swipeInstruction {
    display: block;
    z-index: 250;
  }
  #view {
    margin: 0 auto;
    top: 60px;
    width: 96%;
  }
  #stack {
    margin-top: 0;
  }
  #stack > li {
    max-width: 940px;
    margin-top: -60px;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 50px 50px rgba(0, 0, 0, 0.5);
  }
  #stack > li img {
    opacity: 1;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 20px;
  }
  #stack > li img.right {
    float: none;
  }
  #stack > li img.optional {
    display: none;
  }
  #stack > li img.mobile-share + .textBox {
    margin-top: 0 !important;
  }
  #stack > li img.mobile-share.half + .textBox {
    top: 50%;
  }
  #stack > li img.mobile-share.third + .textBox {
    top: 66%;
  }
  #stack > li img.mobile-share.quarter + .textBox {
    top: 75%;
  }
  #stack > li#panel-5 div {
    overflow: hidden;
    text-align: center;
  }
  #stack > li#panel-5 img {
    width: 160%;
    /*min-width: 300px;*/
    opacity: 1;
    max-width: none;
    margin-left: -25%;
    margin-right: -25%;
    margin-top: 20px;
  }
  #stack > li.endSlide p {
    font-size: 20px;
  }
  #stack > li.endSlide > a {
    font-size: 20px;
    margin-top: 20px;
  }
  #stack > li.endSlide h2 {
    font-size: 20px;
  }
  #stack > li.endSlide img.mobile-share + .textBox {
    margin-top: 140px !important;
    width: 80%;
  }
  #stack > li .textBox {
    /*background: rgba(0,0,0,0.5);*/
    width: 100%;
    padding: 20px;
  }
  #stack > li .textBox.right {
    float: none;
  }
  #stack > li p {
    font-size: 14px;
    margin-left: 15px;
  }
  #stack > li h2 {
    font-size: 25px;
  }
  #controls {
    /*
		-webkit-transform: scale(0.7);
		-moz-transform: scale(0.7);
		-ms-transform: scale(0.7);
		-o-transform: scale(0.7);
		transform: scale(0.7);
		*/
    right: 0;
    left: 7%;
    top: 31px;
    padding: 0 20px;
    /*background: red;*/
  }
  #controls button {
    float: left;
    -webkit-transform: rotateZ(-55deg);
    -ms-transform: rotateZ(-55deg);
    transform: rotateZ(-55deg);
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    width: 12.5%;
    /*height: 50px;*/
    margin: 0 -13% 0 0%;
    /*min-width: 100px;*/
    overflow: visible;
    font-size: 14px;
    text-align: left;
    padding: 5px 23% 5px 5px;
  }
  #controls button#next {
    display: none;
  }
  #controls button#prev {
    display: none;
  }
  #controls button.active {
    margin: 0 -13% 0 0%;
    font-size: 14px;
    background-color: white;
    color: black;
  }
  #controls button.active:hover {
    color: black !important;
  }
  #controls button.near {
    margin: 0 -13% 0 0%;
    font-size: 14px;
  }
  #dimensionSwitch {
    display: none;
  }
  #share {
    margin-right: 0px;
  }
  #share ul {
    width: 90px;
  }
  #share ul li {
    margin-left: 10px;
    margin-right: 10px;
  }
  #share.open ul {
    left: -86px;
    /*width: 90px;*/
  }
  html.twod #view {
    margin: 0 auto;
    top: 60px;
    width: 94%;
  }
  html.twod #stack li {
    width: 100%;
    height: auto;
    background-color: none;
    box-shadow: none;
  }
  html.twod #stack li .textBox {
    position: relative;
    margin-top: 20px !important;
  }
  html.twod #accessibleControls {
    right: 0;
    left: 7%;
    top: 31px;
    z-index: 400;
    position: fixed;
    padding: 0 20px;
  }
  html.twod #accessibleControls li {
    float: left;
    -webkit-transform: rotateZ(-55deg);
    -ms-transform: rotateZ(-55deg);
    transform: rotateZ(-55deg);
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    width: 12.5%;
    /*height: 50px;*/
    margin: 0 -13% 0 0%;
    /*min-width: 100px;*/
    overflow: visible;
    font-size: 14px;
    text-align: left;
    padding: 5px 23% 5px 5px;
  }
  html.twod #accessibleControls li.active {
    margin: 0 -13% 0 0%;
    font-size: 14px;
    background-color: white;
    color: black;
  }
  html.twod #accessibleControls li.active:hover {
    color: black !important;
  }
  html.twod #accessibleControls li.near {
    margin: 0 -13% 0 0%;
    font-size: 14px;
  }
}
/**********************************************
		ADJUSTMENT FOR IPAD LANDSCAPE
**********************************************/
@media only screen and (min-height: 600px) {
  #stack {
    margin-top: 0%;
  }
  #controls {
    margin-top: 0%;
  }
}
/**********************************************
			FOR SMALL IPHONES
**********************************************/
@media only screen and (max-height: 420px) {
  #splash {
    padding-top: 40px;
  }
  #stack > li p {
    margin-left: 0;
    font-size: 13px;
    margin-bottom: 10px;
  }
  #stack > li.endSlide img.mobile-share + .textBox {
    margin-top: 80px !important;
    width: 85%;
  }
  #stack > li.endSlide .textBox a {
    margin-bottom: 40px;
  }
  #stack > li#panel-160 .textBox {
    margin-top: 40px !important;
  }
  #stack > li#panel-250 .textBox {
    margin-top: 100px !important;
  }
  #stack > li#panel-285 .textBox {
    margin-top: 100px !important;
  }
}
/**********************************************
			RETINA IMAGES
**********************************************/
@media only screen and (-webkit-min-device-pixel-ratio: 1.25), only screen and (min-resolution: 120dpi) {
  #stack > li.endSlide div.share li.fb a {
    display: block;
    text-indent: 9999px;
    white-space: nowrap;
    overflow: hidden;
    width: 40px;
    height: 40px;
    background-color: transparent;
    background-image: url("../img/share-fb-big@2x.png");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
  }
  #stack > li.endSlide div.share li.tw a {
    display: block;
    text-indent: 9999px;
    white-space: nowrap;
    overflow: hidden;
    width: 40px;
    height: 40px;
    background-color: transparent;
    background-image: url("../img/share-tw-big@2x.png");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
  }
  #share ul li.fb a {
    display: block;
    text-indent: 9999px;
    white-space: nowrap;
    overflow: hidden;
    width: 16px;
    height: 16px;
    background-color: transparent;
    background-image: url("../img/share-fb@2x.png");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
  }
  #share ul li.tw a {
    display: block;
    text-indent: 9999px;
    white-space: nowrap;
    overflow: hidden;
    width: 16px;
    height: 16px;
    background-color: transparent;
    background-image: url("../img/share-tw@2x.png");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
  }
  #controls button#next {
    background: url("../img/up-arrow@2x.png") transparent top left no-repeat;
    background-size: cover;
  }
  #controls button#prev {
    background: url("../img/down-arrow@2x.png") transparent top left no-repeat;
    background-size: cover;
  }
  html.no-touch #controls button#next:hover {
    background: url("../img/up-arrow-over@2x.png") transparent top left no-repeat;
    background-size: cover;
  }
  html.no-touch #controls button#prev:hover {
    background: url("../img/down-arrow-over@2x.png") transparent top left no-repeat;
    background-size: cover;
  }
}
/**********************************************
		FIX PROBLEM WITH IOS7 IPAD
**********************************************/
@media (orientation: landscape) {
  html.ipad.ios7 > body {
    position: fixed;
    bottom: 0;
    width: 100%;
    /*height: 672px !important;*/
  }
}
/**********************************************
		BACKGROUND ANIMS
**********************************************/
@-webkit-keyframes rotateStars {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-moz-keyframes rotateStars {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(360deg);
  }
}
@-ms-keyframes rotateStars {
  from {
    -ms-transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
  }
}
@-o-keyframes rotateStars {
  from {
    -o-transform: rotate(0deg);
  }
  to {
    -o-transform: rotate(360deg);
  }
}
@keyframes rotateStars {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
