/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* apply a natural box layout model to all elements */
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfix:after {
  content: " ";
  /* Older browser do not support empty content */
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

html, body {
  height: 100%;
}

body {
  background-color: black;
  text-align: center;
  color: white;
}

#main-wrapper {
  height: 100%;
  width: 100%;
  margin: 0px auto;
  overflow: hidden;
  display: none;
  top: 0px;
}

#header-wrapper {
  top: 0px;
  height: 100px;
  width: 100%;
  background-color: black;
  position: absolute;
}
#header-wrapper #creditslink {
  position: absolute;
  right: 150px;
  top: 42px;
  font-family: 'droid';
  font-smoothing: antialiased;
  color: white;
  text-decoration: none;
}

#content-wrapper {
  overflow: hidden;
  background-size: cover;
  background-image: url("../images/missions-bg.jpg");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  display: block;
  position: absolute;
  height: auto;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  margin-top: 100px;
  margin-bottom: 100px;
}

#content-inner-wrapper {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

#timeline-wrapper {
  height: 100px;
  width: 100%;
  visibility: hidden;
  position: absolute;
  bottom: 0px;
}

.logos {
  position: absolute;
  z-index: 1;
  right: 15px;
  top: 35px;
}

.warnings {
  position: absolute;
  left: 0;
  top: 25px;
  left: 10px;
  font-family: 'droid';
  font-size:25px;
  line-height:40px;
}
.warnings img {
  margin-left: 10px;
}

#screensize-message {
  color: white;
  position: absolute;
  font-family: 'droid';
  font-smoothing: antialiased;
  border: none;
  font-size: 16px;
  width: 100%;
  top: 20px;
  padding: 10px;
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  #screensize-message {
    display: none;
  }

  #main-wrapper {
    display: block;
  }
}
/* content */
.stack-item {
  position: absolute;
  top: 40px;
}

@media (min-width: 768px) {
  .stack-item.photo {
    margin-top: 20px;
    margin: 0px auto;
    left: 0px;
    right: 0px;
    height: 70%;
  }
}
/* timeline - all */
#timeline-wrapper .timeline-inner-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}
#timeline-wrapper .year {
  width: 76px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
}
#timeline-wrapper .year-left {
  background-image: url("../images/year-end.png");
  float: left;
}
#timeline-wrapper .year-right {
  background-image: url("../images/year-start.png");
  float: left;
}
#timeline-wrapper .timeline {
  position: relative;
  float: left;
  width: 200px;
  height: 40px;
  background: black url("../images/timeline-bg.png") repeat-x top;
  margin-left: 20px;
  margin-right: 20px;
}
#timeline-wrapper .timeline .label {
  position: absolute;
  top: 11px;
  width: 15px;
  height: 15px;
  display: block;
  color: white;
  background: url("../images/label-marker.png") no-repeat;
  text-decoration: none;
  z-index: 40;
}
#timeline-wrapper .timeline .playhead {
  position: absolute;
  top: 11px;
  height: 15px;
  width: 15px;
  z-index: 50;
  background: url("../images/label-marker-active.png") no-repeat;
}
#timeline-wrapper .timeline .bubble {
  z-index: 200;
  color: black;
}
#timeline-wrapper .timeline .bubblewrap {
  left: 100%;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  #timeline-wrapper .timeline-inner-wrapper {
    width: 740px;
  }
  #timeline-wrapper .timeline {
    width: 528px;
  }
}
@media (min-width: 972px) {
  #timeline-wrapper .timeline-inner-wrapper {
    width: 870px;
  }
  #timeline-wrapper .timeline {
    width: 674px;
  }
}
@media (min-width: 1200px) {
  #timeline-wrapper .timeline-inner-wrapper {
    width: 970px;
  }
  #timeline-wrapper .timeline {
    width: 775px;
  }
}
@media (min-width: 1600px) {
  #timeline-wrapper .timeline-inner-wrapper {
    width: 1400px;
  }
  #timeline-wrapper .timeline {
    width: 1100px;
  }
}
#user-wrapper {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.75);
}
#user-wrapper .passport-wrapper {
  position: relative;
  margin: 0px auto;
  margin-top: 25px;
  width: 100%;
}
#user-wrapper .passport-wrapper .player {
  width: 180px;
  height: 256px;
}
#user-wrapper .passport-wrapper .player-male {
  background: url("../images/player-male.png") no-repeat;
}
#user-wrapper .passport-wrapper .player-female {
  background: url("../images/player-female.png") no-repeat;
}
#user-wrapper .passport-wrapper .passport {
  width: 645px;
  height: 499px;
  background: url("../images/passport-bg.png");
  background-repeat: no-repeat;
  position: relative;
}
#user-wrapper .passport-wrapper .passport label, #user-wrapper .passport-wrapper .passport input, #user-wrapper .passport-wrapper .passport button {
  color: #4c3c2c;
  position: absolute;
  font-family: 'droid';
  font-smoothing: antialiased;
  border: none;
  font-size: 14px;
  letter-spacing: 0.3px;
}
#user-wrapper .passport-wrapper .passport label, #user-wrapper .passport-wrapper .passport input {
  top: 0px;
  left: 55px;
}
#user-wrapper .passport-wrapper .passport input {
  background-color: transparent;
  background: url("../images/input-bg.png") repeat-x 0% 100%;
  padding-bottom: 6px;
  width: 220px;
}
#user-wrapper .passport-wrapper .passport label.username {
  top: 70px;
}
#user-wrapper .passport-wrapper .passport input.username {
  top: 100px;
}
#user-wrapper .passport-wrapper .passport label.age {
  top: 150px;
}
#user-wrapper .passport-wrapper .passport input.age {
  top: 170px;
}
#user-wrapper .passport-wrapper .passport label.ageParent {
  top: 240px;
}
#user-wrapper .passport-wrapper .passport input.ageParent {
  top: 260px;
}
#user-wrapper .passport-wrapper .passport label.ageGrantparent {
  top: auto;
  bottom: 166px;
}
#user-wrapper .passport-wrapper .passport input.ageGrantparent {
  top: 340px;
}
#user-wrapper .passport-wrapper .passport label.validationExplanation {
  top: auto;
  bottom: 54px;
  font-size: 14px;
}
#user-wrapper .passport-wrapper .passport button {
  right: 60px;
  bottom: 45px;
  font-size: 20px;
  background: none;
}
#user-wrapper .passport-wrapper .passport label.picture {
  width: 100px;
  height: 100px;
  left: auto;
  right: 130px;
  top: 130px;
  font-size: 20px;
}
#user-wrapper .passport-wrapper .passport .playerdrop {
  position: absolute;
  width: 180px;
  height: 256px;
  right: 88px;
  top: 60px;
}
#user-wrapper .passport-wrapper .passport .ring {
  width: 29px;
  height: 29px;
  position: absolute;
  top: 65px;
  right: 100px;
  background: url("../images/rings.png") no-repeat;
}
#user-wrapper .passport-wrapper .passport .stamp {
  width: 125px;
  height: 125px;
  background: url("../images/stamp.png") no-repeat;
  position: absolute;
  right: 190px;
  bottom: 150px;
}
#user-wrapper .passport-wrapper .passport .ring-left {
  right: 230px;
  top: 70px;
}
#user-wrapper .passport-wrapper .passport .ring-right {
  right: 100px;
  top: auto;
  bottom: 190px;
}
#user-wrapper .passport-wrapper .passport .error-ribbon {
  position: absolute;
  width: 800px;
  height: 70px;
  bottom: 64px;
  right: -150px;
  background: rgba(162, 53, 47, 0.9);
  transform: rotate(-30deg);
  -ms-transform: rotate(-30deg);
  -webkit-transform: rotate(-30deg);
  font-size:14px;
}
#user-wrapper .passport-wrapper .passport .error-ribbon p {
  width: 100%;
  position: absolute;
  font-family: 'droid';
  font-smoothing: antialiased;
  padding: 26px 0px 0px 100px;
}
#user-wrapper .passport-wrapper .avatars {
  position: relative;
}
#user-wrapper .passport-wrapper .avatars:after {
  content: ' ';
  background: url("../images/arrow.png") no-repeat;
  background-size: cover;
  width: 150px;
  height: 146px;
  position: absolute;
  z-index: 500;
  left: 50%;
  margin-left: -75px;
  top: -50%;
  margin-top: 25px;
  transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}
#user-wrapper .passport-wrapper .avatars .playerdrop {
  width: 180px;
  height: 256px;
  display: inline-block;
}
#user-wrapper .passport-wrapper .avatars .drop-male {
  background: url("../images/player-male-bg.png") no-repeat;
}
#user-wrapper .passport-wrapper .avatars .drop-female {
  background: url("../images/player-female-bg.png") no-repeat;
}

@media (min-width: 768px) {
  #user-wrapper .passport-wrapper .passport {
    margin: 0px auto;
  }
  #user-wrapper .passport-wrapper .avatars .playerdrop {
    margin: 0px auto;
  }
}
@media (min-width: 972px) {
  #user-wrapper .passport-wrapper .passport {
    display: inline-block;
    margin: auto;
    vertical-align: top;
  }
  #user-wrapper .passport-wrapper .avatars {
    display: inline-block;
    margin: auto;
    margin-left: 20px;
    vertical-align: top;
    width: 180px;
  }
  #user-wrapper .passport-wrapper .avatars:after {
    content: ' ';
    background: url("../images/arrow.png") no-repeat;
    background-size: cover;
    width: 150px;
    height: 146px;
    position: absolute;
    left: -100px;
    top: 180px;
    z-index: 500;
    margin-left: auto;
    margin-top: auto;
    transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }
}
.speechbubblewrapper {
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  overflow: hidden;
  position: absolute;
  pointer-events: none;
}

.bubble {
  position: absolute;
  font-family: 'droid';
  border: 2px #000 solid;
  font-smoothing: antialiased;
  text-align: center;
  background: white;
  white-space: nowrap;
}

.bubble {
  padding: 15px;
}

.bubble.rounded {
  border-top-left-radius: 30px 15px;
  border-bottom-right-radius: 30px 15px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.bubblewrap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: visible;
}

.bubble.right {
  right: 6px;
  bottom: -30px;
}

.bubble.left {
  left: 46px;
  bottom: -30px;
}

.bubble.top {
  left: -80px;
  top: 10px;
}

.bubble.bottom {
  left: -80px;
  bottom: -30px;
}

.bubble.bottomright {
  right: -55px;
  bottom: 20px;
}

.bubble.bottomleft {
  left: -15px;
  bottom: 20px;
}

.yellowish {
  background: #f1eaae;
}

.bubble.top.square.speech:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  margin-left: -9px;
  bottom: 100%;
  border-bottom: 17px solid;
  border-top: 17px solid;
  border-left: 10px solid;
  border-right: 10px solid;
  border-color: transparent #000 #000 transparent;
}

.bubble.top.square.speech:after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  margin-left: -7px;
  bottom: 100%;
  border-bottom: 14px solid;
  border-top: 14px solid;
  border-left: 8px solid;
  border-right: 8px solid;
  border-color: transparent #fff #fff transparent;
}

.bubble.bottom.square.speech:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  bottom: 100%;
  border-bottom: 17px solid;
  border-top: 17px solid;
  border-left: 10px solid;
  border-right: 10px solid;
  border-color: #000 #000 transparent transparent;
}

.bubble.bottom.square.speech:after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  bottom: 100%;
  border-bottom: 14px solid;
  border-top: 14px solid;
  border-left: 8px solid;
  border-right: 8px solid;
  border-color: #fff #fff transparent transparent;
}

.bubble.bottomleft.square.speech:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 30px;
  top: 100%;
  border-bottom: 17px solid;
  border-top: 17px solid;
  border-left: 10px solid;
  border-right: 10px solid;
  border-color: #000 transparent transparent #000;
}

.bubble.bottomleft.square.speech:after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 32px;
  top: 100%;
  border-bottom: 14px solid;
  border-top: 14px solid;
  border-left: 8px solid;
  border-right: 8px solid;
  border-color: #fff transparent transparent #fff;
}

.bubble.bottomright.square.speech:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  right: 30px;
  top: 100%;
  border-bottom: 17px solid;
  border-top: 17px solid;
  border-left: 10px solid;
  border-right: 10px solid;
  border-color: #000 #000 transparent transparent;
}

.bubble.bottomright.square.speech:after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  right: 32px;
  top: 100%;
  border-bottom: 14px solid;
  border-top: 14px solid;
  border-left: 8px solid;
  border-right: 8px solid;
  border-color: #fff #fff transparent transparent;
}

.bubble.left.square.speech:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  right: 100%;
  top: 50%;
  margin-top: -4px;
  border-bottom: 10px solid;
  border-top: 10px solid;
  border-left: 17px solid;
  border-right: 17px solid;
  border-color: transparent #000 #000 transparent;
}

.bubble.left.square.speech:after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  right: 100%;
  top: 50%;
  margin-top: 0px;
  border-bottom: 7px solid;
  border-top: 7px solid;
  border-left: 14px solid;
  border-right: 14px solid;
  border-color: transparent #fff #fff transparent;
}

.bubble.right.square.speech:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 100%;
  top: 50%;
  margin-top: -4px;
  border-bottom: 10px solid;
  border-top: 10px solid;
  border-left: 17px solid;
  border-right: 17px solid;
  border-color: transparent transparent #000 #000;
}

.bubble.right.square.speech:after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 100%;
  top: 50%;
  margin-top: 0px;
  border-bottom: 7px solid;
  border-top: 7px solid;
  border-left: 14px solid;
  border-right: 14px solid;
  border-color: transparent transparent #fff #fff;
}

/*
@media (min-width: 1601px){
	.bubble{padding:15px; font-size:18px}

	.bubble.bigfont{font-size:25px;}

	.bubble.small{max-width:150px}
	.bubble.medium{max-width:250px}
	.bubble.large{max-width:500px}
	.bubble.xlarge{max-width:1000px}

	.bubble.fixedwidth.small{width:150px !important}
	.bubble.fixedwidth.medium{width:250px !important}
	.bubble.fixedwidth.large{width:500px !important}
	.bubble.fixedwidth.xlarge{width:1000px !important}
}
@media (min-width: 1101px) and (max-width: 1600px){
	.bubble{padding:11px; font-size:14px}

	.bubble.bigfont{font-size:18px;}

	.bubble.small{max-width:105px}
	.bubble.medium{max-width:175px}
	.bubble.large{max-width:350px}
	.bubble.xlarge{max-width:700px}

	.bubble.fixedwidth.small{width:105px !important}
	.bubble.fixedwidth.medium{width:175px !important}
	.bubble.fixedwidth.large{width:350px !important}
	.bubble.fixedwidth.xlarge{width:700px !important}
}
@media (max-width: 1100px){
	.bubble{padding:10px; font-size:12px}

	.bubble.bigfont{font-size:14px;}

	.bubble.small{max-width:83px}
	.bubble.medium{max-width:138px}
	.bubble.large{max-width:275px}
	.bubble.xlarge{max-width:550px}

	.bubble.fixedwidth.small{width:83px !important}
	.bubble.fixedwidth.medium{width:138px !important}
	.bubble.fixedwidth.large{width:275px !important}
	.bubble.fixedwidth.xlarge{width:550px !important}
}*/
#credits-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  z-index: 300;
  background: rgba(0, 0, 0, 0.75);
  font-family: Verdana;
  font-size: 12px;
  display: none;
}
#credits-wrapper .credits {
  text-align: left;
  width: 800px;
  background-color: white;
  margin-left: auto;
  margin-right: auto;
  left: 0px;
  right: 0px;
  margin-top: 20px;
  color: black;
  padding: 20px;
}
#credits-wrapper .credits h1.nomargin {
  margin-top: 0px;
}
#credits-wrapper .credits h1 {
  font-weight: bold;
  display: block;
  margin-top: 30px;
  margin-bottom: 10px;
}
#credits-wrapper .credits td {
  padding: 3px 3px 10px 0px;
}
#credits-wrapper .credits img {
  margin-top: 10px;
}

#missions-wrapper {
  width: 100%;
  height: 100%;
  background: white url("../images/missions-bg.jpg") 50% 50%;
  background-size: cover;
}
#missions-wrapper .missions {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0px auto;
  top: 50%;
  margin-top: -150px;
}
#missions-wrapper .missions .mission {
  display: inline-block;
  position: relative;
  margin: 0px auto;
  width: 25%;
}
#missions-wrapper .missions .mission img {
  max-width: 100%;
}
#missions-wrapper .missions .mission img {
  max-width: 100%;
}
#missions-wrapper .missions .mission:nth-child(1) {
  z-index: 10;
}
#missions-wrapper .missions .mission:nth-child(2) {
  z-index: 20;
  margin-left: -6%;
}
#missions-wrapper .missions .mission:nth-child(3) {
  z-index: 30;
  margin-left: -6%;
}
#missions-wrapper .missions .mission:nth-child(4) {
  z-index: 40;
  margin-left: -6%;
}
#missions-wrapper .missions .mission.active:hover {
  z-index: 100;
  transition: all 0.3s;
  transform: rotate(-7deg);
  -ms-transform: rotate(-7deg);
  -webkit-transform: rotate(-7deg);
}
