/* CSS */

html, body {
	background: #000; 
	width: 100%;
}




.css_hide {
	display: none !important;
}





a {
	color: #0091ff;
	text-decoration: none;
}





textarea {
	resize: none;
}





#hud-top {
	background: rgba( 11, 11, 11, 0.8 );
	border-bottom: 1px solid #111; 
	display: block; 
	position: absolute; 
	top: 0;
	right: 0;
	left: 0;
	z-index: 300; 

	text-align: center; 
	font-family: Tahoma, sans-serif;
}

#hud-top-left,
#hud-top-right {
	text-transform: uppercase;
}

#hud-top-left {
	float: left; 
	position: relative; 
	padding-right: 50px; 
}

#hud-top-middle {
	width: 64px;
	display: inline-block; 
	position: absolute; 
	left: 50%;
	margin-left: -32px;
	font-family: 'Orbitron', sans-serif;
}

#hud-top-right {
	float: right; 
	padding-left: 50px; 
}

#hud-top > div > div {
	padding: 10px; 
	position: relative; 
	float: left; 

	color: #999; 
}

#hud-top-middle label {
	padding: 8px; 
	display: block; 
	color: #DDD; 
}

#hud-top-middle label:hover {
	color: #EEE;
	text-decoration: underline;
	cursor: pointer;
}

#hud-top .value {
	color: #DDD;
	font-weight: bold;
}




#nav-top {
	height: 62px;
	display: block; 
	position: absolute; 
	right: 0;
	left: 3px;
	z-index: 500; 
}

#nav-top ul {
	list-style: none; 
	margin: 0;
	border: 0;
	position: absolute;  
}

#nav-top > ul > li {
	margin: 0 1px;
	display: inline-block;
	float: left; 
	text-align: center;
	vertical-align: middle;
}

#nav-top > ul > li > a,
#nav-turn,
#nav-research {
	background: rgba( 8,11,13,0.4 );
	height: 17px;
	border-bottom: 1px solid #333; 
	display: block;
	position: relative;
	color: #666;
	font-family: 'Orbitron', sans-serif;

	/* CSS3 */
	box-shadow: inset 0 0 5px #111;
}

#nav-top > ul > li > a[href] {
	color: #eee !important;

	/* CSS3 */
	text-shadow: 0 0 5px #309bbf; 
}

#nav-turn,
#nav-research {
	background: rgba( 9, 18, 9, 0.4 );
	color: #eee !important;
	position: absolute;
	top: 3px;
	right: 3px;
	text-align: center;
	border-bottom: 1px solid #334033;

	/* CSS3 */
	text-shadow: 0 0 5px #30bf30; 
	box-shadow: inset 0 0 5px #0b120b;
}

#nav-research {
	background: rgba( 9, 14, 18, 0.4 );
	box-shadow: inset 0 0 5px #222;
	border-bottom: 1px solid #333b40;
	text-shadow: 0 0 5px #3086bf; 
}

#nav-top > ul > li > a[href]:hover,
#nav-top > ul > li > a.active {
	background: rgba( 12, 17, 20, 0.6 ); 
	box-shadow: inset 0 0 5px #222;
	border-bottom: 1px solid #2985cc;
}

#nav-turn:hover {
	background: rgba( 12, 17, 20, 0.6 ); 
	box-shadow: inset 0 0 5px #222;
	border-bottom: 1px solid #29cc29;
}

#nav-research:hover {
	background: rgba( 12, 17, 20, 0.6 ); 
	box-shadow: inset 0 0 5px #222;
	border-bottom: 1px solid #2985cc;
}




#game-menu-modal {
	background: rgba( 0, 0, 0, 0.6 ); 
	width: 100%; 
	height: 100%;
	position: absolute;
	display: none;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1000;
}

#show-game-menu:checked ~ #game-menu-modal,
#show-game-menu:checked ~ #game-menu-modal #nav-game, 

#show-game-save:checked ~ #game-menu-modal,
#show-game-save:checked ~ #game-menu-modal #game-save, 

#show-game-load:checked ~ #game-menu-modal,
#show-game-load:checked ~ #game-menu-modal #game-load {
	display: block;
}

#hide-game-menu:checked ~ #game-menu-modal, 
#hide-game-menu:checked ~ #game-menu-modal #nav-game,
#hide-game-save:checked ~ #game-menu-modal #game-save,
#hide-game-load:checked ~ #game-menu-modal #game-load {
	display: none;
}

input[name='game-menu'] {
	visibility: hidden;
}




#nav-game {
	width: 200px;
	margin: -124px 0 0 -100px;
	position: absolute;
	display: none;
	top: 50%;
	left: 50%;
	/*	box-shadow: 0 0 100px #000; */
}

#nav-game > ul {
	height: 248px;
	margin: 0;
	padding: 0;
}

#nav-game > ul > li {
	text-align: center;
}



#nav-game > ul > li > a,
#nav-game > ul > li > label {
	background: rgba( 8,11,13,1 );
	border-bottom: 1px solid #333; 
	padding: 20px 30px; 
	display: block;
	position: relative;
	color: #666;
	font-family: 'Orbitron', sans-serif;

	/* CSS3 */
	box-shadow: inset 0 0 5px #111;
}

#nav-game > ul > li > a[href],
#nav-game > ul > li > label {
	color: #eee !important;

	/* CSS3 */
	text-shadow: 0 0 5px #309bbf; 
}

#nav-game > ul > li > a[href]:hover,
#nav-game > ul > li > label:hover {
	background: rgba( 12, 17, 20, 1 ); 
	box-shadow: inset 0 0 5px #222;
	border-bottom: 1px solid #2985cc;
	cursor: pointer;
}





#game-save,
#game-load {
	background: rgba( 12, 17, 20, 0.6 );
	border: 1px solid #2985cc;
	padding: 20px 0 20px 20px; 
	box-sizing: border-box;
	overflow: hidden;
	position: absolute;
	z-index: 1000;

	/* CSS3 */
	box-shadow: inset 0 0 5px #222;
	display: none;
}

#game-save textarea,
#game-load textarea,
#game-save .title,
#game-load .title {
	background: none;
	width: 100%;
	height: 32px;
	border: 0;
	padding: 0 9px;
	display: block;

	font-family: 'Orbitron', sans-serif; 
	font-weight: normal;
	color: #2985cc;
	line-height: 15px;
	font-size: 0.88em;

	/* CSS3 */
	box-sizing: border-box;
}





#game-menu-modal h1 {
	margin: 0 20px 0 0;
	padding: 0 5px 10px 5px; 
	
	font-family: 'Orbitron', sans-serif; 
	font-weight: normal; 
	border-bottom: 1px solid #333;
	color: #eee; 
	font-size: 1.25em;
}

#game-menu-modal h2 {
	margin: 10px 29px 10px 9px;
	color: #ccc;
	font-size: 1em;
	font-family: 'Orbitron', sans-serif; 
	font-weight: normal; 
}




#new-save-wrap,
.game-instances {
	position: relative; 
}






input[name='game-save'],
input[name='game-load'] {
	display: none;
}

.game-instance {
	background: #060606;
	width: 100%;
	margin: 0 0 4px 0;
	border: 1px solid #060606;
	padding: 9px 0;
	display: block;
	position: relative;

	/* CSS3 */
	box-sizing: border-box;
	border-radius: 2px;
}

#new-save {
	margin: 0 20px 0 0;
}

.game-instance:hover {
	background: #070707;
	border-color: #070707;
	cursor: pointer;
}

input[type="radio"]:checked ~ .game-instance {
	background: #13161a !important;
	border-color: #1c2026;
}

/*
#main .header, #system .header {
	background: #000;
	padding: 10px; 
	height: 36px;
} */





.saved-games {
	overflow-y: scroll;
}




.game-meta {
	width: 100%; 
	height: 25px; 
	box-sizing: border-box;
	display: block;
	position: absolute;
	bottom: 0;

	color: #999;
	font-family: Tahoma, sans-serif;
	font-size: 0.75em;
	text-transform: uppercase;
}





.game-meta > div > div {
	padding: 0 10px 10px 10px;
	position: relative;
	float: left;
}

.player-data > span, 
.game-data > span {
	display: inline-block;

	color: #999;
	font-family: Tahoma, sans-serif;
	font-size: 0.75em;
	text-transform: uppercase;
}

.player-data {
	float: left;
}

.game-data {
	float: right;
}






.player-data .race,
.game-data .value {
	color: #DDD;
	font-weight: bold;
}





#game-save input[type='submit'],
#game-load input[type='submit'], 
#game-save .game-menu,
#game-load .game-menu {
	background: none;
	height: 26px;
	margin: 10px 10px 0 10px; 
	border: 0;
	float: right; 

	color: #ccc;
	font-size: 1em;
	font-family: 'Orbitron', sans-serif; 
	font-weight: normal; 
	vertical-align: baseline;
	cursor: pointer;

	/* CSS3 */
	box-sizing: border-box;
}

#game-save input[type='submit']:hover,
#game-load input[type='submit']:hover, 
#game-save .game-menu:hover,
#game-load .game-menu:hover {
	color: #999;
	border-bottom: 1px solid #2985cc;
}

#game-save input[type='submit'],
#game-load input[type='submit'] {
	padding: 1px 4px 2px 4px; 
}

#game-save .game-menu,
#game-load .game-menu {
	padding: 5px 5px 2px 5px; 
}





#research-current {
	width: 220px;
	padding: 5px;
	position: absolute; 
	top: 102px;
	left: 15px;

	color: #666; 
	font-size: 0.75em;
	font-family: Verdana, Geneva, sans-serif; 
	text-transform: uppercase; 
}

#research-current > * {
	display: inline-block !important;
	position: relative;
	float: left;
	clear: left;
}

#research-current strong {
	margin: 1px 0 0 0;
	display: block;
	font-size: 0.88em;
}

#research-current .research-icon > .border {
	margin: 0 3px 0 0 !important;
}




.research-icon > * {
	float: left; 
}

.research-icon > .border {
	background: #222; 
	width: 42px; 
	height: 42px; 
	border: 1px solid #444; 
	display: inline-block; 
	position: relative; 
	
	/* CSS3 */
	border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px; 
}

.research-sprite {
	background: url(../images/research-sprite-all.jpg); 
	width: 40px; 
	height: 40px; 
	margin: 1px; 
	display: block; 
	position: relative; 
	
	/* CSS3 */
	border-radius: 3px; 
	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px;
}

#research-current .research-sprite {
	opacity: 1 !important;
}

#research-progress {
	background: #000;
	width: 160px;
	height: 11px;
	margin: 3px 0 0;
	border: 1px solid #222;
	padding: 2px;
	display: block;
	position: relative;
	float: left;
}

#research-bar {
	background: url(../images/gradient-bar_blue-1x11.jpg) repeat-x;
	height: 11px;
	position: absolute;
	display: block;
	z-index: 400;
}





#close-content {
	position: absolute; 
	display: block;
	top: 120px;
	right: 25px;
	font-family: 'Orbitron', sans-serif;
	z-index: 500;
}





footer {
	/*
	height: 15px; 
	width: 100%;
	padding: 10px; 
	text-align: center;
	display: block;
	position: relative; */


	height: 15px;
	position: absolute;
	right: 20px;
	bottom: 10px;
	left: 20px;
	color: #333;
	font-size: 0.75em;
	font-family: Tahoma, sans-serif;
	text-align: center;
	text-transform: uppercase;
	display: inline-block;


	/* CSS3 */
	text-shadow: 0 0 5px #000; 
}





@media all and (min-width: 1280px) { /* DESKTOP */

	#nav-top > ul > li {
		width: 180px; 
	}





	#nav-turn,
	#nav-research {
		width: 120px;
	}





	#nav-top > ul > li > a,
	#nav-turn,
	#nav-research {
		padding: 22px 30px; 
	}





	#nav-bg {
		right: 185px;
		left: 911px;
	}

}





@media all and (min-width: 980px) and (max-width: 1279px) { /* PORTRAIT, TABLET */

	#nav-top a {
		font-size: 0.88em;
	}





	#nav-top > ul > li {
		width: 150px; 
	}





	#nav-turn,
	#nav-research {
		width: 90px;
	}





	#nav-bg {
		right: 155px;
		left: 761px;
	}


}





@media all and (min-width: 980px) { /* DESKTOP */

	#nav-top > ul > li > a,
	#nav-turn,
	#nav-research {
		padding: 22px 30px; 
	}





	#game-save,
	#game-load {
		width: 800px; 
		height: 600px; 
		margin: -300px 0 0 -400px;
		position: absolute; 
		top: 50%;
		left: 50%;
	}





	.game-instance {
		height: 75px;
	}





	#game-save .saved-games {
		height: 330px;
	}

	#game-load .saved-games {
		height: 443px;
	}





	.player-data > span, 
	.game-data > span {
		padding: 10px;
	}

}





@media all and (min-width: 768px) and (max-width: 979px) { /* PORTRAIT, TABLET */

	#nav-top a {
		font-size: 0.88em;
	}





	#nav-top > ul > li {
		width: 120px; 
	}





	#nav-turn,
	#nav-research {
		width: 90px;
	}





	#nav-top > ul > li > a,
	#nav-turn,
	#nav-research {
		padding: 22px 15px; 
	}





	#nav-bg {
		right: 125px;
		left: 611px;
	}





	#game-save,
	#game-load {
		width: 640px; 
		height: 480px; 
		margin: -240px 0 0 -320px;
		position: absolute; 
		top: 50%;
		left: 50%;
	}





	.game-instance {
		height: 65px;
	}





	.player-data > span, 
	.game-data > span {
		padding: 0 10px 10px 10px;
	}





	#game-save .saved-games {
		height: 220px;
	}

	#game-load .saved-games {
		height: 333px;
	}

}





@media screen and (min-width: 768px) { /* DESKTOP, PORTRAIT OR TABLET */

	#hud-top {
		height: 36px; 
	}

	#hud-top > div > div {
		font-size: 0.75em;
		line-height: 16px; 
	}





	#nav-top {
		padding-top: 3px !important;
		top: 37px;
	}





	#nav-bg {
		background: rgba( 8,11,13,0.4 );
		height: 62px;
		border-bottom: 1px solid #222; 
		position: absolute;

		box-sizing: border-box;
	}

}