/*	Resets
	------	*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}

/* Selection colours (easy to forget) */

::selection 	 	{background: rgb(255,255,158);}
::-moz-selection 	{background: rgb(255,255,158);}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}
body {-webkit-tap-highlight-color: rgb(255,255,158); font-family: 'helvetica neue', helvetica, arial, sans-serif; }



/*		Default Layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */ 

#vframe {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
	position: relative;
	font-family: 'Helvetica Neue', helvetica, arial, sans-serif;
	cursor: move !important;
}

#viewer {
	width:1180px;
	height: 600px;
	margin: 0 auto;
	clear: both;
	position: relative;
	font-family: 'Helvetica Neue', helvetica, arial, sans-serif;    
} 

#viewer:hover {	cursor: move !important;}
#viewer .vr img {
	width: 100%;	
}

/* Logos */

img.threedeep {display: block; width: 80px; position: absolute; z-index: 100; top: 14px; right: 20px; border: 0; }
a img { cursor: pointer !important; }
a.wec img {display: block; width: 120px; position: absolute; z-index: 100; top: 16px; right: 110px; border: 0; }
div.logos { position: absolute; left: 20px; bottom: 18px; z-index: 200; }
div.logos img { float: left; width: 150px; margin-right: 10px; }

/* Prompts */ 

#hint { background: url(../images/ui/drag-hint.png) no-repeat; display: none; position:absolute; margin-left: 400px; margin-top: -280px; z-index: 101; width:100px; height:100px; pointer-events: none; }
.prompt { width: 120px; height: 120px; top: 50%; left: 50%; margin: -80px 0 0 -60px; position: absolute; display: none; background: url(../images/ui/drag-hint.png) no-repeat; } 
.prompt p {color: #FFF; font-size: 0.9em; width: 250px; text-align: center; top: 43%; left: 38%; padding: 15px; border-radius: 12px; -webkit-border-radius: 12px; position: absolute; background: url(../images/ui/trans-black-40.png); } 
#ipadSave { width: 200px; height: 89px; background: url(../images/ui/ipad-save.png) no-repeat top left; display: none; position: absolute; margin: 0 0 0 180px; z-index: 200; }
#stats { display:none; width: 200px; position: absolute; z-index: 220; margin: -60px 0 0 710px;}
#stats p {color: #CCC; font-size: 10px; text-align: right; }

/* Toggles Light */

#toggleWrap { position: absolute; z-index: 500; top: 20px; left: 20px; font-family: 'helvetica neue', helvetica, arial, sans-serif;}

#toggle {  float: left; padding: 5px; border-radius: 3px; -webkit-border-radius: 12px; border: 1px solid #999; }
#toggle a { text-transform: uppercase; background: url(../images/ui/toggle2.png) no-repeat 0px -15px; float: left; overflow: hidden; display: block; padding: 1px 5px 0 25px; font-size: 0.8em; color: #999; text-align: left; text-decoration: none; cursor: pointer;}
#toggle a.active { background: url(../images/ui/toggle2.png) no-repeat 0px 0px; cursor: pointer; color: #666; }

#toggle2 { float: left; border: 1px solid #999; border-radius: 3px; -webkit-border-radius: 3px; margin-right: 15px; }
#toggle2 a { text-transform: uppercase; background: none; text-align: center; float: left; height: 12px; overflow: hidden; display: block; padding: 6px 10px 6px 10px; font-size: 0.8em; color: #666; text-decoration: none; cursor: pointer; }
#toggle2 a:nth-child(2) { border-left: 1px solid #999; border-right: 1px solid #999; }
#toggle2 a:nth-child(3) { border-right: 1px solid #999; }    
#toggle2 a.active { background: #999; color: #FFF; cursor: pointer; }

#toggle3 { float: left; border: 1px solid #999; border-radius: 3px; -webkit-border-radius: 3px; margin-left: 15px; }
#toggle3 a { text-transform: uppercase; background: none; text-align: center; float: left; height: 12px; overflow: hidden; display: block; padding: 6px 10px 6px 10px; font-size: 0.8em; color: #666; text-decoration: none; cursor: pointer; }
#toggle3 a:nth-child(2) { border-left: 1px solid #999; border-right: 1px solid #999; } 
#toggle3 a.active { background: #999; color: #FFF; cursor: pointer; } 

/* Toggles Dark */

html.toggle-dark #toggle {  border: 1px solid #999; }
html.toggle-dark #toggle a { color: #CCC; }
html.toggle-dark #toggle a.active { color: #EEE; }

html.toggle-dark #toggle2 { border: 1px solid #999; }
html.toggle-dark #toggle2 a { color: #CCC; }
html.toggle-dark #toggle2 a:nth-child(2) { border-left: 1px solid #999; border-right: 1px solid #999; }
html.toggle-dark #toggle2 a:nth-child(3) { border-right: 1px solid #999; }
html.toggle-dark #toggle2 a.active { background: #999; color: #FFF; }

html.toggle-dark #toggle3 { border: 1px solid #999; }
html.toggle-dark #toggle3 a { color: #CCC; }
html.toggle-dark #toggle3 a:nth-child(2) { border-left: 1px solid #999; border-right: 1px solid #999; }
html.toggle-dark #toggle3 a.active { background: #999; color: #FFF; }

/* Language Switch */ 

#toggleWrapLang { position: absolute; z-index: 200; top: 40px; right: 40px;} 

#toggleLang {  float: left; padding: 12px; border-radius: 12px; -webkit-border-radius: 12px; background: url(../images/ui/trans-black-30.png); }
#toggleLang a { float: left; height: 27px; overflow: hidden; display: block; padding: 12px 20px 0px 50px; font-size: 1em; color: #999; text-align: left; text-decoration: none; cursor: pointer;}
#toggleLang a.down { cursor: pointer; }
#toggleLang a.en { background: url(../images/ui/flag-en.png) no-repeat 0px 0px; }
#toggleLang a.fn { background: url(../images/ui/flag-fn.png) no-repeat 0px 0px; } 
#toggleLang a.ru { background: url(../images/ui/flag-ru.png) no-repeat 0px 0px; }
#toggleLang a.active { color: #FFF; }

/* No Javascript Fallback */

#noscript {width: 50%; left: 25%; top: 45%; background: #CCC; font-size: 80%; line-height: 120%; text-transform: uppercase; text-align: center; color: #666; padding: 10px 15px; border-radius: 6px; -webkit-border-radius: 6px; position: absolute; z-index: 200; }

#ie-upgrade { display: none; width: 50%; left: 25%; top: 40%; background: #FFF; font-size: 1.1em; line-height: 120%;  text-align: center; padding: 20px 30px; border-radius: 6px; -webkit-border-radius: 6px; position: absolute; z-index: 500; }
#ie-upgrade h3 { color: #cc0000; text-transform: uppercase; margin-bottom: 15px; }
#ie-upgrade p { color: #333; font-size: 14px; }
#ie-upgrade p a { color: #336699; font-size: 14px; } 

/* Wreck Info */

#wreck-info { position: absolute; top: 0; left: 0; z-index: 400; display: none; overflow: hidden; width: 100%; height: 100%; background: url(../images/ui/trans-black-80.png); }
#wreck-info:hover { cursor: default; }
#wreck-info .wreck-left { float: left; width: 30%; padding: 9% 2.5% 2.5% 2.5%; }
#wreck-info .wreck-right { float: left; width: 58%; padding: 9% 2.5% 2.5% 2.5%; } 
#wreck-info h3 { color: #FFF; font-size: 1.5em; font-weight: bold; margin: 0 0 15px 0; text-transform: uppercase;}
#wreck-info p { color: #CCC; font-size: 0.8em; font-weight: normal; margin: 0 0 15px 0; line-height: 1.5em; }
#wreck-info ul { margin: 0; padding: 0; text-transform: uppercase; }
#wreck-info ul li { display: block; margin: 0 0 8px 0; font-size: 12px; color: #FFF; padding: 7px; border-radius: 3px; -webkit-border-radius: 3px; background: url(../images/ui/trans-white-30.png); }  


/* Markers and Labels */

.mpos { width: 0px; height: 0px; position: absolute; }
.marker { position: absolute; cursor: move; margin-bottom: -100%; bottom: 0; }
.inactive { display: none !important; }

.photo { width: 60px; height: 60px; background: url(../images/ui/photo-marker-small.png) 0 0 no-repeat; cursor: pointer; margin: 0px 0 30px 0; }
.photo:hover { margin-top: 2px; cursor: pointer !important; } 

.info { width: 60px; height: 60px; background: url(../images/ui/info-marker-small.png) 0 0 no-repeat; margin: 0px 0 30px 0; }
.info:hover { margin-top: 2px; cursor: pointer !important; }

.video { width: 60px; height: 60px; background: url(../images/ui/video-marker-small.png) 0 0 no-repeat; cursor: pointer; margin: 0px 0 30px 0; }
.video:hover { margin-top: 2px; cursor: pointer !important; }

.label1, .label2, .label3, .label4 { width: 60px; height: 60px; pointer-events: none; }
.label1 { background: url(../images/ui/label-top-left-med.png) 0 0 no-repeat; }
.label2 { background: url(../images/ui/label-top-right-med.png) 0 0 no-repeat; }
.label3 { background: url(../images/ui/label-bottom-left-med.png) 0 0 no-repeat; }
.label4 { background: url(../images/ui/label-bottom-right-med.png) 0 0 no-repeat; }
.labeltext { width: 300px; margin: 0px; font-size: 1.5em; font-weight: normal; letter-spacing: 0.02em; padding: 0px !important; text-align: left; color: #EEE; pointer-events: none; }

/* Popup Inline Content */

div.popup {width: 600px; min-height: 100px; padding: 0px; overflow: hidden; float: left; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; }
div.iframe {width: 600px; min-height: 100px; overflow: hidden; float: left; font-family: 'Helvetica Neue', helvetica, arial, sans-serif; } 
div.popup img {width: 100%; padding: 0; float: left; margin-right: 20px;}
div.popup h6 {width: 100%; float: left; font-weight: bold; font-size: 1.5em; line-height: 1.5em; color: #FFF; margin: 0px 0 8px 0 !important; }
div.popup p {width: 100%; float: left; font-size: 0.9em; color: #999; margin: 0px !important; line-height: 1.5em;}
div.information { width: 600px; }
div.information h6 { width: 100% }
div.information p { width: 100% } 
div.fancybox-title a { color: #FFF; text-decoration: none; }

div.portrait { width: 300px; min-height: 100px; }
div.flowplayer { max-width: 600px; }

.fancybox-title { display: none !important; }
.flowplayer { overflow: hidden !important; }
.fp-ui { overflow: hidden !important; }
.fancybox-inner { overflow: hidden !important; }
.flowplayer .fp-speed { display: none !important; }
.flowplayer	.fp-embed { display: none !important; }
.flowplayer	.fp-fullscreen { display: none !important; }
.prompt {  }
.fp-help { display: none !important; }


/* Mobile Screen Styles */
@media screen and (min-width: 1px) and (max-width: 600px) {
	.marker {-webkit-transform: scale(0.5); transform: scale(0.5); }
	#vframe {  }
	#toggleWrap { top: auto; left: auto; bottom: 20px; right: 20px; }	
	#toggle { display: none; }
	#toggle2 { margin-right: 0; }
	div.logos img { width: 80px; }
	#hint { display: none !important; }
	.prompt  { display: none !important; }
	#toggle3 { display: none !important; }
	#wreck-info { display: none !important; }   
	
}

/* Bigger than mobile Screen Styles */
@media screen and (min-width: 601px) and (max-width: 800px) {
	#wreck-info .wreck-right { height: 70%; padding: 0 2.5% 2.5% 2.5%; margin-top: 9%; overflow-y: scroll; }
	#wreck-info h3 { font-size: 1.4em; margin: 0 0 10px 0; }
	#wreck-info p { font-size: 0.8em; margin: 0 0 10px 0; line-height: 1.2em; }
	#wreck-info ul { margin: 0; padding: 0; }
	#wreck-info ul li { margin: 0 0 8px 0; font-size: 0.8em; color: #FFF; padding: 6px;  }   	
}

/* Big Screen Styles */ 
@media screen and (min-width: 1500px) { 

	#vframe { width: 100%; height: 100%; max-width: 1920px;}
	#viewer { width: 100%; height: 100%; }
	
	.marker { margin-bottom: 50px; margin-left: 5px; }	
	
	.photo { width: 90px; height: 90px; background: url(../images/ui/photo-marker-med.png) 0 0 no-repeat; cursor: pointer; }
	.info { width: 90px; height: 90px; background: url(../images/ui/info-marker-med.png) 0 0 no-repeat; }
	.video { width: 90px; height: 90px; background: url(../images/ui/video-marker-med.png) 0 0 no-repeat; cursor: pointer; }

	#toggleWrap { top: 40px; left: 40px;}

	#toggleWrap #toggle { padding: 6px; border-radius: 6px; -webkit-border-radius: 6px; }
	#toggleWrap #toggle a { background: url(../images/ui/toggle2-big.png) no-repeat 0px -40px; padding: 10px 15px 0px 50px; font-size: 1.1em; height: 30px; overflow: hidden; }
	#toggleWrap #toggle a.active { background: url(../images/ui/toggle2-big.png) no-repeat 0px 0px; }

	#toggleWrap #toggle2 { -webkit-border-radius: 6px; border-radius: 6px; margin-right: 20px; }
	#toggleWrap #toggle2 a { height: 12px; overflow: hidden; display: block; padding: 18px 20px 22px 20px; font-size: 1.1em; }
	
	#toggleWrap #toggle3 { -webkit-border-radius: 6px; border-radius: 6px; margin-right: 20px; }
	#toggleWrap #toggle3 a { height: 12px; overflow: hidden; display: block; padding: 18px 20px 22px 20px; font-size: 1.1em; }

	html.toggle-dark #toggleWrap { top: 40px; left: 40px;}

	html.toggle-dark #toggle { }
	html.toggle-dark #toggle a { background: url(../images/ui/toggle-big.png) no-repeat 0px -40px !important; }
	html.toggle-dark #toggle a.active { background: url(../images/ui/toggle-big.png) no-repeat 0px 0px !important; }

	html.toggle-dark #toggle2 {  }
	html.toggle-dark #toggle2 a {  }
	html.toggle-dark #toggle2 a:nth-child(2) {  }
	html.toggle-dark #toggle2 a.selected {  } 

	img.threedeep {display: block; width: 150px;  position: absolute; z-index: 100; top: 24px; right: 40px; border: 0; }
	div.logos { position: absolute; left: 20px; bottom: 18px; z-index: 200; }
	div.logos img { float: left; width: 150px; margin-right: 10px; }
	div.logos { position: absolute; left: 40px; bottom: 38px; z-index: 200; }
	div.logos img { float: left; width: 200px; margin-right: 20px; }
	
	/* Wreck Info */
 
	#wreck-info h3 { font-size: 2.5em; margin: 0 0 25px 0; }
	#wreck-info p { font-size: 1.1em; margin: 0 0 25px 0; line-height: 1.6em; }
	#wreck-info ul { margin: 0; padding: 0; }
	#wreck-info ul li { margin: 0 0 10px 0; font-size: 1.1em; color: #FFF; padding: 12px;  }	
	      
}

/* Toggle Functionailty */

/* control show/hide marker by css *//* hide by default */ 
#threesixty .photo, #threesixty .video, #threesixty .info { display: none; }

/* if we have any enable -> show it up */ 
.en-photo #threesixty .photo, .en-video #threesixty .video, .en-info  #threesixty .info { display: block; }

/* control switch between sequences *//* hide by default */
#threesixty .seq1, #threesixty .seq2, #threesixty .seq3 { display: none; }

.en-seq1 #threesixty .seq1, .en-seq2 #threesixty .seq2, .en-seq3 #threesixty .seq3 { display: block; }



