header[role="banner"] h1 a {
float: left;
margin: 0.15em 0.5em 0 0;
border-right: 1px solid #fff;
padding: 0 0.5em 0 0;
}


#homepage{ 
background: #ea1d2c url(../images/bg.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#homepage header[role="banner"] {
top: -5em;
	-webkit-transition: top 0.4s ease;
	-moz-transition: top 0.4s ease;
	-ms-transition: top 0.4s ease;}

#homepage.reveal header[role="banner"] {
top: 0;
}

#homepage .content[role="main"] .wrap {
	position:inherit;
}
#togglemenu { display:none;}

#homepage nav {
display: none;
}
nav {
display: block;
background-color: #dadada;
padding:0;
}
nav #mainnav {
display: none;
}
nav #subnav {
float:right;
}
nav #subnav li {
float:left;
}
nav a {
display:inline-block;
text-transform:none;
background:none;
font-weight:normal;
border:none;
padding:1em;
}
nav #subnav {
border-left:1px solid #e5e5e5;
border-right:1px solid #adadad;
}
nav #subnav a {
border-left:1px solid #adadad;
border-right:1px solid #e5e5e5;
text-transform: uppercase;
font-weight: bold;
}
nav #subnav a:hover, nav #subnav a.selected {
background:#ea1d2c;
color:#fff;
border-left:1px solid #b82933;
border-right:1px solid #f0616c;
}
#subnav li:last-child a {
border-radius: 0;
}
#map-link {
	display:block;
	}
.ie8 #map-link {
	display:none;
	}
#discovery-link {
	display:block;
	position:absolute;
	font-weight:bold;
	text-transform:uppercase;
	left:-40em;
	color:#C71925;
	-webkit-transition: left 0.4s 0.4s ease;
	-moz-transition: left 0.4s 0.4s ease;
	-ms-transition: left 0.4s 0.4s ease;
	}
#discovery-link:hover {
	text-decoration:underline;
	}
.reveal #discovery-link {
	left:0;
	}

.breakout {
width: 400px;
background: rgb(199,25,37);
background: rgba(199,25,37,0.9);
position: absolute;
top: 130px;
right: 0;
color: #fff;
min-height: 270px;
	}

.breakout h1 {
display: block;
text-transform: uppercase;
position: absolute;
top: 0.75em;
left: 0.5em;
height: 90%;
padding-top: 4em;
width: 90%;
font-size: 2.25em;
	-webkit-transition: opacity 0.4s ease;
	-moz-transition: opacity 0.4s ease;
	-ms-transition: opacity 0.4s ease;
	}
.breakout h1 strong {
color:#000;
	}	
.breakout h1 span {
display: block;
	background: url(../images/sprite-mobile.png) no-repeat 0 0;text-indent: -999em;
	height:24px;
	width: 142px;
	position:absolute;
	top:0;
	left:0;
	}	

.reveal .breakout h1, .reveal .breakout h1 span {
opacity:0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	}	
		
.breakout p {
font-size: 1.65em;
opacity:0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	-webkit-transition: opacity 0.4s ease;
	-moz-transition: opacity 0.4s ease;
	-ms-transition: opacity 0.4s ease;
	}	
.reveal .breakout p {
opacity:1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	}
a.start {
display: block;
width: 400px;
background: #444;
position: absolute;
top: 420px;
right: 0;
color: #fff;
padding: 0.66em;
box-sizing: border-box;
-moz-box-sizing: border-box;
font-size: 1.5em;
text-transform: uppercase;
	-webkit-transition: opacity 0.4s ease;
	-moz-transition: opacity 0.4s ease;
	-ms-transition: opacity 0.4s ease;
}
.reveal a.start {
opacity:0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
img.mobile { display:none;}


.standalone #homenav {
	position: absolute;
}

#homepage #homenav {
	bottom:-100%;
	position: fixed;
	-webkit-transition: bottom 0.6s ease;
	-moz-transition: bottom 0.6s ease;
	-ms-transition: bottom 0.6s ease;
	}
	
#homepage #homenav a {
	padding-bottom:7em;
	background: url(../images/homenav1.png) no-repeat 0 80%;
	background-size:100% auto;
	}
#homepage #homenav #nav2 a {
	background-image: url(../images/homenav2.png);}
#homepage #homenav #nav3 a {
	background-image: url(../images/homenav3.png);}
#homepage #homenav #nav4 a {
	background-image: url(../images/homenav4.png);}
	
#homepage #homenav a:hover {
	background-color:#ea1d2c}
	
#homepage.reveal #homenav {
	bottom:0;}
#homenav {
	display:block;
	position: fixed;
bottom: 0;
width: 100%;
left: 0;
}
#homenav li {width: 25%;
float: left;
border-right: 1px solid #fff;
border-top: 0;
box-sizing: border-box;
-moz-box-sizing: border-box;
text-align:center;}
#homenav li a {
padding: 0.888em;
font-size: 1.15em;}
#homenav li.selected a {
background: #ea1d2c;
	}
#homenav li:last-child {border:none}
#homenav li a span { display: block;
position: absolute;
width: 100%;
background: #c71925;
height: 10px;
right: 0;
top:0;
	-webkit-transition: top 0.2s ease;
	-moz-transition: top 0.2s ease;
	-ms-transition: top 0.2s ease;
}
#homenav li a:hover span, #homenav li.selected a span {
top: -10px;
background: #ea1d2c;}



.content[role="main"] .wrap {
}

aside.sidebar {
float: left;
width: 25%;
}

#advantage aside {
    margin: 1em 0 0;
}

aside.sidebar h2 {
background: none;
color: #000;
text-transform: none;
font-weight: 200;
font-size: 1.625em;
padding: 0.5em 0.625em;
line-height: 1.2;
height:17em;
border:none;
}

.pagenav {
	display: block;
position: absolute;
top: 5em;
left: 1.25em;
text-transform: uppercase;
font-weight: bold;
font-size: 0.888em;
width:25%;
	}
.pagenav li {
	padding-bottom: 0.5em;
	}
.sidebar a {
	color:#7F7F7F;
	text-decoration:none;
	}
.pagenav a:hover, .pagenav a.selected {
	color:#ea1d2c;
	}
.sidebar h2 span {
top: auto;
bottom: 10px;
right: 100%;
height: 170px;
width: 256px;
opacity:0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
background: url(../images/sprite@2x.png) no-repeat -350px -200px;
	-webkit-transition: all 0.8s ease;
	-moz-transition: all 0.8s ease;
	-ms-transition: all 0.8s ease;
}
.reveal .sidebar h2 span {
opacity:1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
right: 0;
}

#build .sidebar h2 span {
background-position:-248px -398px;
}
#operate .sidebar h2 span {
background-position:-150px -598px;
}
#operate.operate2 .sidebar h2 span {
background-position:-226px -798px;
}
#operate.operate3 .sidebar h2 span {
background-position:-265px -998px;
}
#ship .sidebar h2 span {
background-position:-265px -1198px;
}
#discovery .sidebar h2 span {
background-position:-214px 0;
display:block;
}

#main-content {float: left;
width: 75%;
box-sizing: border-box;
-moz-box-sizing: border-box;
padding: 0 2em 5em;}
#main-content h2 {
font-weight:200;
}

#map #main-content {
width: 100%;
padding: 0;
}

.standalone .tab-panel {
	max-height:350px;
	overflow:auto;
	}
	
#advantage.standalone .tab-panel {
	max-height:130px;
	}
	


.panzoom-wrap	{ position:relative; min-height:200px;}
.standalone .panzoom  {height:580px; background:#fff;}
.panzoom-controls	{ background:rgb(255,255,255); background:rgba(255,255,255,0.9); padding:0.5em 1em; top:1em; left:1em; border:1px solid #e5e5e5; position:absolute; z-index:2}
.panzoom-controls:before { content:'- '}
.panzoom-controls:after { content:' +'}
input[type="range"] { margin:0 1em}
#circleG{
width:70px;
position:absolute;
top:50%;
left:50%;
margin:0 -35px 0 0;
z-index:1
}

.circleG{
background-color:#FFFFFF;
float:left;
height:15px;
margin-left:8px;
width:15px;
-moz-animation-name:bounce_circleG;
-moz-animation-duration:1.35s;
-moz-animation-iteration-count:infinite;
-moz-animation-direction:linear;
-moz-border-radius:10px;
-webkit-animation-name:bounce_circleG;
-webkit-animation-duration:1.35s;
-webkit-animation-iteration-count:infinite;
-webkit-animation-direction:linear;
-webkit-border-radius:10px;
-ms-animation-name:bounce_circleG;
-ms-animation-duration:1.35s;
-ms-animation-iteration-count:infinite;
-ms-animation-direction:linear;
-ms-border-radius:10px;
-o-animation-name:bounce_circleG;
-o-animation-duration:1.35s;
-o-animation-iteration-count:infinite;
-o-animation-direction:linear;
-o-border-radius:10px;
animation-name:bounce_circleG;
animation-duration:1.35s;
animation-iteration-count:infinite;
animation-direction:linear;
border-radius:10px;
}

#circleG_1{
-moz-animation-delay:0.27s;
-webkit-animation-delay:0.27s;
-ms-animation-delay:0.27s;
-o-animation-delay:0.27s;
animation-delay:0.27s;
}

#circleG_2{
-moz-animation-delay:0.63s;
-webkit-animation-delay:0.63s;
-ms-animation-delay:0.63s;
-o-animation-delay:0.63s;
animation-delay:0.63s;
}

#circleG_3{
-moz-animation-delay:0.8099999999999999s;
-webkit-animation-delay:0.8099999999999999s;
-ms-animation-delay:0.8099999999999999s;
-o-animation-delay:0.8099999999999999s;
animation-delay:0.8099999999999999s;
}

@-moz-keyframes bounce_circleG{
0%{}
50%{background-color:#ea1d2c}
100%{}
}

@-webkit-keyframes bounce_circleG{
0%{}
50%{background-color:#ea1d2c}
100%{}
}

@-ms-keyframes bounce_circleG{
0%{}
50%{background-color:#ea1d2c}
100%{}
}
@-o-keyframes bounce_circleG{
0%{}
50%{background-color:#ea1d2c}
100%{}
}

@keyframes bounce_circleG{
0%{}
50%{background-color:#ea1d2c}
100%{}
}