html, body {
	height: 100%;
	margin: 0px;
	padding: 0px;
	
	/*color: #fff;*/
	font-family: Verdana;
	font-size: 14px;
	background: #fff url(images/background.jpg) repeat-x;
}

/*
 * JSONP creates new script tag -> dom is refreshed -> plugin goes into resize state -> ge is not available -> crash
 */ 
head {
	position: absolute;
}

/*
 * hide object tag (especially Google Gear making a scroll bar to appear on HTML
 */
object {
	position: absolute;
}

a {
	color: #394A5E;
}

/* Web site */
.ges-centered-wrapper {
	margin: 0px auto;
	width: 975px;
}

.ges-header {
	position: relative;
	width: 100%;
	/*line-height: 50px;
	height: 50px;*/		
	overflow: hidden;		
	font-size: 20px;
	border-bottom: 1px solid #fff;
	background-color: #394A5E;
}

.ges-title {
	float: left;
	margin-left: 10px;
	margin-top: 10px;
	color: white;
}

.ges-link {
	display: block;
	font-size: 16px;
	padding: 5px;
	float: right;
	position: relative;
	color: #fff;
	margin-right: 10px;
	margin-top: 15px;			
}	

.ges-content {
	position: relative;	
	zoom: 1;
	margin-top: 10px;
	padding: 10px;		
	
	border: 1px solid #9aa6b5;
	background-color: #fff;
	color: #222;
	line-height: 22px;
	-moz-border-radius: 5px;
  	-webkit-border-radius: 5px;
  	border-radius: 5px;	
	
	-moz-box-shadow: 1px 1px 4px #667;
	-webkit-box-shadow: 1px 1px 4px #667;
	box-shadow: 1px 1px 4px #667;
}

.ges-content h1 {
	color: #394A5E;
	font-weight: bold;
	display: block;
	font-size: 22px;
	/*text-align: right;*/
	margin: 0px;
	padding: 5px;
	border-bottom: 1px solid #394A5E;
}

.ges-content h2 {
	color: #394A5E;
	font-weight: bold;
	font-size: 18px;	
	margin: 30px 0px 10px 0px;
}

.ges-content h3 {
	font-size: 16px;
	color: #394A5E;
	font-weight: bold;
	margin: 10px 20px;
}

.ges-splash {
	border: 1px solid #9AA6B5;
	-moz-border-radius: 4px;
  	-webkit-border-radius: 4px;
  	border-radius: 4px;
}

.ges-splash-overlay {
	position: absolute;
	right: 28px;
	bottom: 20px;
	
	padding: 10px;
	border: 1px solid #9aa6b5;
	background-color: #fff;
	color: #222;
	line-height: 22px;
	-moz-border-radius: 5px;
  	-webkit-border-radius: 5px;
  	border-radius: 5px;
  	
  	/*text-align: center;*/
  	width: 300px;
  	
  	opacity: 0.8;
  	filter: alpha(opacity=80);
}

.ges-splash-overlay a {
	margin-left: 30px;
}

.ges-aircraft-links {
	line-height: 10px;
	overflow: hidden;
}

.ges-aircraft-links a {
	width: 86px;
	height: 34px;
	float: left;
	margin-right: 9px;
}

.ges-aircraft-screenshot {
	
	-moz-transition-property: margin, width, height;
  	-moz-transition-duration: 0.2s;		
	-webkit-transition-property: margin, width, height;
  	-webkit-transition-duration: 0.2s;	
	transition-property: margin, width, height;
  	transition-duration: 0.2s;	
			
	border: 1px solid #9AA6B5;
	
	-moz-border-radius: 4px;
  	-webkit-border-radius: 4px;
  	border-radius: 4px;	
	
	width: 86px;
	height: 34px;
	z-index: 0;
}

.ges-aircraft-screenshot:hover {
	position: relative;
	width: 110px;
	height: 44px;
	margin: -5px -9px -10px -8px;
	z-index: 10;
	
	-moz-box-shadow: 1px 1px 4px #333;
	-webkit-box-shadow: 1px 1px 4px #333;
	box-shadow: 1px 1px 4px #333;	
}

.ges-subscribe,
.ges-unsubscribe {
	background-color: #394A5E;
	padding: 10px;
	color: #fff;
	margin: 10px 0px;
	-moz-border-radius: 4px;
  	-webkit-border-radius: 4px;
  	border-radius: 4px;
}

.ges-subscribe-input {
	width: 200px;
}

.ges-subscribe-submit {
	margin-left: 10px;
	width: 130px;
	display: inline-block;
	padding: 2px;
	border: 0px;
	background-color: #ddac00;
	color: #394A5E;
	font-weight: bold;
	cursor: pointer;
	
	-moz-border-radius: 4px;
  	-webkit-border-radius: 4px;
  	border-radius: 4px;
}

/*************/
/* GEFS.PHP */
/*************/

.ges-focus-target {

}

/* Reset and helpers */
.ges-padding-box {
	-moz-box-sizing: padding-box;
	-ms-box-sizing: padding-box;
	-webkit-box-sizing: padding-box;
	box-sizing: padding-box;
}

/* debug window */
.ges-debugLog {
	height: 150px;
	overflow: auto;
}

.gefs {
	font-family: Arial;
	font-size: 12px;
}
	
.map3d {
	position: absolute;
	top: 0px;
	bottom: 34px;
	width: 100%;
	background-color: #aaa;
}

.map3d div {
	overflow: visible !important;
}

/* 
 * GES UI
 */
.ges-ui {
	border-left: 0px !important; /* override  JQuery UI */
	border-right: 0px !important; /* override  JQuery UI */
	border-top: 1px solid #fff;
	position: absolute;
	bottom: 0px;
	width: 100%;
	height: 34px;		
	color: #394A5E !important;
	background-color: #394A5E;
}	

.ges-ui-layout-table {
	border-spacing: 0px;
	width: 100%;
}

.ges-ui-layout-table td {
	padding: 0px;
	white-space: nowrap;
}

.hidden-section {
	display: none;
}

.open .hidden-section {
	display: block;
}

.setup-section {
	/*float: left;*/
	display: inline-block;
	zoom:1;
	*display: inline;
	margin: 2px 1px;
	padding: 4px;
	
	white-space: nowrap;
	
	background-color: #fff;
	
	-moz-border-radius: 5px;
  	-webkit-border-radius: 5px;
  	border-radius: 5px;		
}

.section-title {
	font-weight: bold;
	padding: 3px 0px 5px 0px;
	margin-right: 5px;
}
/*
.setup-section label {
	display: block;
}
*/
.setup-section .ges-switch-on {
	color: white !important;
	background: red !important;
}

.setup-section a {
	color: #394A5E;
	line-height: 20px;
}

.ges-locationForm {
	padding: 20px;
	background-color: #eee;
	width: 250px;
}

.ges-chat-input,
.address-input {
	width: 200px;
	border: 1px solid #AAA;
	float: left;
	margin: 0px;
	margin-right: 5px;
	clear: both;
	padding: 2px;
}

.setup-section select {		
	float: left;
	margin: 0px;
	width: 110px;
	border: 1px solid #aaa;
}

/* JQuery UI Customization */
.ges-ui .ui-button {
	font-size: 9px;
}

.ges-ui .ui-button .ui-button-text {
	*line-height: 6px;
}

.ui-icon {
	margin: -8px -3px !important;
}

.ges-button .ui-helper-hidden-accessible {
	display: none;
}

.ges-preferences .ui-accordion .ui-accordion-content {
	padding: 10px;
}

/* windows */
.ges-window {
	position: absolute;
	background-color: #394A5E;
	z-index: 100;
}

.ges-window-wrapper {
	padding: 4px;
	position: absolute;
	background-color: #CCCCCC;
	z-index: 10;
}

.ges-window-iframe {
	position: absolute;
	border: 0px;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: 1;		
}

.ges-window-title-bar {
	background: url("smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png") repeat-x scroll 50% 50% #CCCCCC;
	height: 20px;
}

.ges-window-title {
	/*width: 100%;*/
	height: 20px;
	float: left;
}

.ges-window-label {
	color: #fff;
	font-weight: bold;
	float: left;
	padding: 2px 5px;
}

.ges-window-body {
	float: left;
	/*
	height and width are set via javascript
	*/
	overflow: hidden;
	z-index: 200 !important;
	background-color: #fff;
}

.ges-minimized .ges-window-body {
	/*display: none;*/
	height: 0px !important;
	visibility: hidden;
	margin-top: -20px;
}

.ges-minimized .ges-window-iframe {
	height: 24px !important;
}

.ges-minimized {
	height: 20px !important;
}	

.ges-window-buttons {
	float: right;
	height: 20px;
	padding-top: 2px;
}

.ges-window-button {
	float: right;
	width: 16px;
	height: 16px;
	margin: 0px 3px;
	cursor: pointer;
	background: transparent url('images/ui/window_buttons.gif') no-repeat top left;
}

.ges-window-button:hover {
	background-color: #c6c6c6;
}

.ges-close {
	background-position: -32px 0px; 
}

.ges-restore {
	background-position: -16px 0px;
}

.ges-restart-button {
	padding: 10px;
	height: auto;
	margin: 0px auto;
	text-align: center;
	margin-top: 40px;
	font-weight: bold;
	border: 1px solid #AAAAAA;
	background: #eee;
	width: 200px;
	cursor: pointer;
}

/* dropups */
.ges-ui .ges-dropup-button {
	background: url("images/ui/ui-bg_glass_40_ffc73d_1x400.png") repeat-x scroll 50% 50% #E6E6E6 !important;
	position: relative;
}

.ges-dropup-wrapper {
	position: relative;
	width: 0px;
	height: 0px;
	display: inline;
}

.ges-dropup {
	position: absolute;
	bottom: 22px;
	left: 0px;
	display: none;
}

.ges-dropup-content {
	font-weight: normal;
	font-size: 14px;
	text-align: left;
	white-space: nowrap;
	position: relative;
	background-color: white;
	border: 1px solid;
	z-index: 1000;
}

.ges-dropup-element {
	cursor: pointer;
	display: block;
	padding: 4px;
}

.ges-dropup-element:hover {
	background-color: #eee;
}

/* Simulator UI */

.ges-modal {
	padding: 10px;
	z-index: 1000;
}

.ges-modal-buttons {
	position: absolute;
	right: 20px;
	bottom: 10px;
}

/* Ajax Frame */
.ges-ajax-frame {
	position: relative;
}

/* the loading message container and opaque overlay */
.ges-loading .ges-loadingMessage-overlay {
	display: block !important;
}

.ges-loadingMessage-overlay {
	display: none;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: #f8f8f8;
	overflow: hidden;
	
	opacity: 0.9;
}

.ges-loadingMessage-outter {
	position: relative;
	display: table;
	left: 50%;
	height: 100%;
	
	*position: absolute;
	*display: block;
	*top: 50%;
	*height: auto;	
}

/* a dummy box used to center the message */
.ges-loadingMessage-centered {
	vertical-align: middle;
	display: table-cell;
	*display: block;
}			


/* the message itself */
.ges-loadingMessage-message {	
	position: relative;
		
	/* offset position of half the message size from the centered box */
	top: -50%;
	left: -50%;
	
	text-align: center;
	padding: 5px 5px 5px 35px;
	background: #fff url(images/ui/loading.gif) no-repeat 10px center;
	border: 1px solid #ddd;
	font-size: 12px;
	color: #555;
}

/* a hidden container for preference window content */
.ges-preference-content {
	display: none;
}

/* Preference panel */
.ges-preferences a:active {
  outline: none !important;
}

.ges-preferences {
	font-size: 10px;
	background-color: #000;
	position: relative;
}

.ges-preferences .ges-preferences-comment {
	color: #888;
}

.ges-preferences .ges-preferences-accordion-comment {
	color: #888;
	margin-top: -10px;
}

/* GEFS customization */	
.ges-preferences .ges-ui-tabs {
	height: 100%;
}

.ges-preferences .ges-tab-content {
	position: absolute;
	top: 40px;
	bottom: 40px;
	left: 0px;
	right: 0px;
	*width: expression(parentNode.offsetWidth - 30);
	*height:expression(parentNode.offsetHeight - 110);
}

.ges-preferences .ges-ui-accordion {
	/*height: 100%;*/
}

.ges-preferences .ges-ui-slider {
	margin-top: 2px;
	/**width: 200px;*/
}

.ges-preferences .ui-slider-handle {
	text-align: center;
	text-decoration: none;
	width: 20px;
}

.ges-preferences-slider-label,
.ges-preferences label {
	/* jQuery UI dependency */
	/*background: url("images/ui-bg_glass_20_555555_1x400.png") repeat-x scroll 50% 50% #555555;*/
	background-color: #eee;
	
	line-height: 18px;
	
	float: left;
	clear: left;
	width: 220px;
	margin: 2px;
	padding: 2px;
	
	position: relative;
}

.ges-preferences-slider-label {
	line-height: 14px;
	padding-bottom: 4px;
}

.ges-preferences input,
.ges-preferences select {
	position: absolute;
	right: 0px;
	top: 2px;
}

/* in-accordion bar checkbox*/
.ges-preferences .ges-accordion-checkbox {
	float: left;
	right: auto;
	top: auto;
	position: relative;
	margin-top: 1px;
}

.ges-preferences fieldset {
	border: 1px solid #777;
	float: left;
	margin: 2px;
	padding: 6px;
}

.ges-preferences-joystick-status {
	float: left;
}

.ges-preferences-joystick-test-button {
	float: right;
}

.ges-preferences-buttons-container {
	position: absolute;
	bottom: 10px;
	left: 0px;
	width: 100%;
}

.ges-preferences-buttons {
	float: right;
	margin-right: 10px !important;
}

/* JQuery UI Override */
.ges-preferences .ui-accordion .ui-state-active {
	/*background: url("style/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;*/
	background: url("images/ui/ui-bg_glass_40_ffc73d_1x400.png") repeat-x scroll 50% 50% #E6E6E6;		
}

.ges-preferences .ui-accordion-content {
	padding: 10px;
	clear: left;
	*overflow-y: auto !important;
	*overflow-x: hidden !important;
}

.ges-preferences .ui-tabs-panel {
	
}

.ges-preferences .ui-progressbar {
	float: left;
	*float: none;
	width: 50px;
}

.ges-ui-progressbar .ui-progressbar-value {
	background-image: none;
	background-color: #FFAF0F;	
}

.ges-preferences .ges-ui-led {
	width: 17px;
	height: 17px;
	margin-top: 4px;
	float: left;
	*float: none;
	border: 1px solid #888;
	-moz-border-radius: 5px;
  	-webkit-border-radius: 5px;
  	border-radius: 5px;				
}

.ges-preferences .ges-ui-on {
	background-color: #FFAF0F;
}

.ges-preferences-key-detect input {
	width: 80px;
}

.ges-preferences .ges-preference-key-detecting {
	background-color: #FFAF0F;
}

.ges-preference-scrollarea {
	border: 0px;
	width: 100%;
	height: 100%;
	overflow-y: auto;
}