@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed');

* {
	margin: 0;
	padding: 0;
	font-family: 'Roboto Condensed', sans-serif;
}

/* General Design */

h1 {
	margin: 10px 0;
	font-size: 1.5em;
}
h2 {
	font-size: 1.25em;
	margin: 10px 0;
}
h3, h4 {
	margin: 5px 0;
}
	h1 img, h2 img {
		margin: 4px 4px 0 0;
		vertical-align: top;
	}
	
ol, ul {
	margin-left: 20px;
}
ul {
	list-style-type: square;
}
ul > li, ol > li {
	margin: 4px 0;
}

code {
	display: inline-block;
	padding: 3px 6px;
	border: 1px solid Gray;
	background-color: #222;
	font-family: Monospace;
}
	
a:link, a:active, a:visited {
	color: #e5c541;
	text-decoration: none;
}
a:hover {
	color: Yellow;
	text-decoration: none;
}
	
.kv-table {
	border-spacing: 3px;
    border-collapse: separate;
}
	.kv-table td, .kv-table th {
		padding: 4px 6px;
		vertical-align: top;
	}
	.kv-table th {
		background-color: rgba(0,0,0,0.3);
	}
	.kv-table .kv-key {
		background-color: rgba(0,0,0,0.3);
		text-align: right;
	}
	.kv-table .kv-val {
		background-color: rgba(0,0,0,0.2);
	}
	
.status-bad {
	color: #ec7600;
}
.status-good {
	color: #93c763;
}
.square-button {
	min-width: 80px;
	padding: 10px;
}
.rect-button {
	display: inline-block;
	padding: 4px 12px;
}
.square-button, .rect-button {
	border: none;
	border-radius: 5px;
	background-color: rgba(0,0,0,0.3);
	color: #e5c541;
	font-size: 1em;
}
.square-button:hover, .rect-button:hover {
	background-color: rgba(0,0,0,0.6);
	cursor: pointer;
}
.site-intro {
	max-width: 800px;
	margin-bottom: 20px;
}
.ft-dialog {
	display: none;
}
.front-icon {
	vertical-align: top;
	margin-right: 8px;
}
.rear-icon {
	vertical-align: top;
	margin-left: 8px;
}
.help:hover {
	cursor: help;
}
.clickable:hover {
	cursor: pointer;
}
.warning {
	color: #ec7600;
}
.warning:before {
	content: url('../images/icon_warn.png');
	margin-right: 8px;
	vertical-align: middle;
}
.info {
	color: DodgerBlue;
}
.info:before {
	content: url('../images/icon_info.png');
	margin-right: 8px;
	vertical-align: middle;
}

.flex-layout {
	display: flex;
	width: 100%;
	margin: 0 -15px;
}
	.flex-layout > div {
		margin: 0 15px;
	}
	
/* Modal Image */

.modal-image:hover {
	cursor: zoom-in;
	opacity: 0.8;
}
.modal-overlay {
	position: fixed;
    z-index: 1;
    left: 0; top: 0;
    width: 100%; height: 100%;
	padding-top: 100px;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.6);
}
	.modal-overlay img {
		display: block;
		height: 80%;
		margin: auto;
		animation-name: zoom;
		animation-duration: 0.6s;
	}
	@keyframes zoom {
		from {transform:scale(0)} 
		to {transform:scale(1)}
	}
	.modal-overlay span {
		position: absolute;
		top: 15px; right: 35px;
		color: DeepSkyBlue;
		font-size: 2em;
		font-weight: bold;
	}
	.modal-overlay span:hover {
		cursor: pointer;
	}

/* Forms */

fieldset {
	margin-bottom: 10px;
	padding: 10px 20px;
	border: 1px solid Gray;
}
	legend {
		padding: 0 5px;
		color: DeepSkyBlue;
	}
	label, input[type=text], input[type=password], input[type=file], select {
		display: inline-block;
		margin-bottom: 10px;
	}
	label {
		min-width: 140px;
	}
	input[type=text], input[type=password], input[type=file], select {
		padding: 3px 6px;
		background-color: #222;
		border: 1px solid Gray;
		color: White;
		font-family: inherit;
	}
	input[type=text]:focus, input[type=password]:focus, input[type=file]:focus, select:focus {
		border: 1px solid DeepSkyBlue;
	}
	.field-comment {
		display: inline-block;
		margin-left: 20px;
		color: #999;
	}


/* Site Layout & Header */

body {
    background-repeat: no-repeat;
    background-attachment: fixed;
	background-position: top;
	background-color: #293134;
	color: #ddd;
}

header, main, footer {
	display: block; /* yeah we know it's a block, but IE doesn't. */
	margin: 10px auto;
	padding: 5px 10px;
	max-width: 1400px;
	min-width: 1100px;
}

header {
	border-bottom: 1px solid Gray;
}

footer {
	background: rgba(0,0,0,0.2);
	clear: both;
}

pre {
	font-family: Monospace;
	font-size: 1.25em;
}

nav {
	margin-top: 10px;
}

	nav a:link, nav a:visited, nav a:active {
		display: inline-block;
		margin: 5px 10px 5px 0;
		padding: 5px 10px;
		background: rgba(0,0,0,0.4);
		border-radius: 5px;
		font-size: 1.125em;
		color: DeepSkyBlue;
	}
	nav a:hover {
		color: White;
	}

#header-actions {
	float: right;
}
	#header-actions a:link, #header-actions a:visited, #header-actions a:active {
		display: inline-block;
		margin: 0px 5px;
		padding: 10px 20px;
		background-color: rgba(0,0,0,0.35);
		text-align: center;
		border-radius: 5px;
	}
	#header-actions a:hover {
		background-color: rgba(0,0,0,0.45);
	}

#login-steam:hover {
	cursor: pointer;
}

#ad-sidebar-float {
	float: right;
	margin-left: 20px;
}

#msgbox {
	padding: 10px;
	border-radius: 5px;
	background-color: rgba(0,0,0,0.4);
	animation: msgBlink 3s;
}
	.msg-error {
		color: #ec7600;
	}
	.msg-error p:before {
		content: url('../images/icon_error.png');
		margin-right: 8px;
		vertical-align: middle;
	}
	.msg-success {
		color: #93c763;
	}
	.msg-success p:before {
		content: url('../images/icon_check.png');
		margin-right: 8px;
		vertical-align: middle;
	}
	.msg-info {
		color: DeepSkyBlue;
	}
	.msg-info p:before {
		content: url('../images/icon_info.png');
		margin-right: 8px;
		vertical-align: middle;
	}
	@keyframes msgBlink {
		from { background-color: rgba(0,0,0,0.0) }
		25%  { background-color: rgba(0,0,0,1.0) }
		50%  { background-color: rgba(0,0,0,0.4) }
		75%  { background-color: rgba(0,0,0,1.0) }
		to   { background-color: rgba(0,0,0,0.4) }
	}

.dialog-window {
	display: none;
}

/* Home Page */

.news-item {
	margin: 10px 0;
	padding: 10px;
	background-color: rgba(0,0,0,0.3);
	border-radius: 5px;
}
.news-date {
	font-size: 0.75em;
}
	

/* Dashboard */

.job-front-icon {
	margin-right: 7px;
}
.job-action-icon {
	margin: 0 5px;
}
.job-action-icon:hover {
	cursor: pointer;
}

.server-container {
	display: inline-block;
	position: relative;
	min-width: 350px;
	margin: 0 15px 15px 0;
	background-color: rgba(0,0,0,0.3);
}
.server-header {
	padding: 8px;
	background-color: rgba(0,0,0,0.3);
}
.server-header:hover {
	cursor: pointer;
}
.server-content {
	margin: 10px;
}
.server-controls {
	position: absolute;
	bottom: 10px;
	right: 10px;
}
	.server-controls button {
		margin-left: 10px;
	}
.server-image {
	display: block;
	float: left;
	width: 100px;
	margin: 0 10px 10px 0;
}


/* Job Results */

#jobresults-left {
	max-width: 400px;
}
#jobresults-right {
	max-width: 800px;
}
	#jobresults-right code {
	margin: 8px 0;
	}

.instruction-set, .fancy-list {
	margin-left: 30px;
	list-style-type: none;
}
	.instruction-set > li, .fancy-list > li {
		margin: 8px 0;
		counter-increment: step-counter;
	}
	.instruction-set > li::before {
		content: counter(step-counter);
		padding: 2px 8px;
	}
	.fancy-list > li::before {
		content: "*";
		padding: 5px 8px 0 8px;
	}
	.instruction-set > li::before, .fancy-list > li::before {
		margin-right: 10px;
		margin-left: -30px;
		background-color: rgba(0,0,0,0.3);
		color: DeepSkyBlue;
		font-weight: bold;
		border-radius: 3px;
	}
	.instruction-set .modal-image {
		margin: 5px 0;
	}

.job-file {
	position: relative;
	margin: 0 10px 10px 0;
	padding: 10px;
	overflow: auto;
	background: rgba(0,0,0,0.2);
}
	.job-file-name {
		font-size: 1.25em;
	}
	.job-file-thumb {
		display: block;
		float: left;
		width: 80px;
		margin-right: 15px;
	}
	.job-file .rect-button {
		position: absolute;
		right: 10px; bottom: 10px;
	}
	


/* Server Manager Details & Statistics */

#sm-container {
	flex-wrap: wrap;
}
	#map-image {
		overflow: auto;
	}
	#map-image img {
		display: block;
		float: left;
		margin-right: 10px;
	}
.sm-chart-container {
	min-height: 400px;
}
.highlight-button {
	background-color: rgba(255,255,255,0.1) !important;
	cursor: default !important;
}


/* Account */

#account-left {
	max-width: 500px;
}
#account-right {
	max-width: 800px;
}


/* Custom Maps */

@keyframes slideIn {
    from { transform : translateX(110%) }
    to   { transform : translateX(0) }
}
@keyframes fadeOut {
    from { opacity: 1 }
    to   { opacity: 0 }
}

#map-category-wrapper {
	width: 750px;
	overflow: auto;
}
	.map-category {
		margin: 0 0 10px 0;
		padding: 10px;
		background-color: rgba(0,0,0,0.3);
		overflow: auto;
	}
	.map-category:hover {
		cursor: pointer;
		background-color: rgba(0,0,0,0.6);
	}
		.map-category-title {
			font-size: 1.375em;
		}
		.map-category p {
			margin-top: 10px;
		}
	#map-showroom {
		float: right;
		width: 200px;
		margin-left: 10px;
		padding: 10px;
		background-color: rgba(0,0,0,0.3);
		overflow: hidden;
		white-space: nowrap;
	}
	#map-showroom:hover {
		background-color: rgba(0,0,0,0.6);
	}
		.map-element {
			display: inline-block;
			position: relative;
			width: 200px; height: 228px;
			margin-right: 10px;
			text-align: center;
			animation: slideIn 2s;
			background-repeat: no-repeat;
		}
			.map-name {
				margin: 205px auto 0 auto;
				color: DeepSkyBlue;
			}
			.map-tag {
				position: absolute;
				right: 10px; top: 10px;
				padding: 2px 5px;
				background-color: rgba(0,0,0,0.5);
				color: #e5c541;
				font-size: 0.875em;
			}
		.map-element {
			cursor: pointer;
		}

.cm-box {
	display: inline-block;
	position: relative;
	margin: 0 10px 10px 0;
	padding: 15px;
	background-color: rgba(0,0,0,0.3);
}
	.cm-thumbnail {
		display: block;
		width: 200px;
		height: 200px;
	}
	.cm-name, .cm-details {
		margin-top: 10px;
	}
		.cm-details .rect-button {
			width: 120px;
			margin: 8px 0 0 0;
		}
	.deploy-button {
		position: absolute; 
		bottom: 15px; right: 15px;
	}
	.cm-author {
		display: inline-block;
		margin-bottom: 8px;
		font-size: 0.875em;
	}
	
#cm-preview {
	display: block;
	float: left;
	margin: 3px 10px 10px 0;
}


/* Tools */

.list-box {
	display: inline-block;
	position: relative;
	width: 500px;
	margin: 0 10px 10px 0;
	padding: 10px;
	background-color: rgba(0,0,0,0.3);
	border-radius: 5px;

	overflow: hidden;
}
.list-box:hover {
	background-color: rgba(0,0,0,0.6);
	cursor: pointer;
}
	.list-box-icons {
		position: absolute;
		right: 10px; top: 10px;
	}
	.list-box-thumb {
		float: left;
		width: 120px;
		margin-right: 10px;
	}
	.list-box-title {
		color: #e5c541;
		font-weight: Bold;
	}
	
#tree-selector {
	max-width: 600px;
	margin-bottom: 10px;
}
	#tree-selector li {
		display: inline-block;
		width: 120px;
		margin: 0 10px 10px 0;
		padding: 4px 10px;
		list-style-type: none;
		background-color: rgba(0,0,0,0.3);
	}
	#tree-selector input, #tree-selector img {
		margin-right: 5px;
	}
	
#bb-mapimage-build {
	margin-top: 10px;
}

#restricted-areas {
	display: none;
	margin: 10px 20px;
}
	#area-wrapper {
		margin: 10px 0;
	}
	
#fm-map {
	float: left;
	width: 450px;
	height: 450px;
	margin: 0 20px 10px 0;
	padding: 2px 2px 0 0;
}
	.TerrainBlock {
		position: relative;
		float: right;
		width: 136px;
		height: 140px;
		margin: 0 0 2px 2px;
		padding: 4px 6px;
		background-color: rgba(0,0,0,0.62);
	}
	.TerrainBlock:hover {
		background-color: rgba(0,0,0,0.38);
		cursor: pointer;
	}
	.TerrainBlockActive {
		background-color: rgba(0,0,0,0.1) !important;
		cursor: auto !important;
	}
		.density-total {
			position: absolute;
			bottom: 6px;
			right: 6px;
		}
.tree-setting {
	padding-top: 8px;
	min-width: 140px;
}

#region-fs, #editor-fs {
	display: none;
}
#region-editor {
	width: 600px;
	height: 600px;
	padding: 2px;
	background-repeat: no-repeat;
	background-size: cover;
}
	#region-editor > div {
		float: right;
		width: 196px; height: 56px;
		margin: 2px;
		padding: 70px 0;
		text-align: center;
	}
	#region-editor > div:hover {
		cursor: pointer;
	}
	#region-editor > div > span {
		padding: 3px 8px;
		background: rgba(0,0,0,0.4);
		border-radius: 10px;
	}
	
#terrain-editor {
	cursor: Crosshair;
}
#te-sidebar {
	display: none;
	float: right;
	max-width: 280px;
}
#te-sidebar > div {
	margin-bottom: 10px;
	padding: 1px 10px 10px 10px;
	background-color: rgba(0,0,0,0.3);
	border-radius: 5px;
	overflow: auto;
}
.te-toolbar, #terrain-editor-edits {
	display: none;
}
	#te-toolbar-edit, #te-toolbar-select {
		margin-bottom: 8px;
	}


/* Downloads, FAQ */

.download, .faq {
	margin: 10px 0;
	padding: 1px 10px 10px 10px;
	background-color: rgba(0,0,0,0.3);
	border-radius: 5px;
	overflow: auto;
}

.faq > ul > li {
	margin-bottom: 10px;
}


/* Statistics */

.map-popularity-chart {
	width: 500px;
	height: 500px;
	float: left;
	margin: 10px 20px 20px 0;
}


/* Premium */

.comp-table {
	border-spacing: 3px;
    border-collapse: separate;
}
	.comp-table td, .comp-table th {
		padding: 8px 6px;
		vertical-align: top;
	}
	.comp-table th {
		background-color: rgba(0,0,0,0.3);
	}
	.comp-table .comp-key {
		background-color: rgba(0,0,0,0.3);
		text-align: right;
	}
	.comp-table .comp-val {
		background-color: rgba(0,0,0,0.2);
		text-align: center;
	}
	
.purchase-row {
	display: none;
}

#purchase-buttons {
	background-color: rgba(255,255,255,0.8);
	border: 2px solid Black;
}
	.buy-button {
		margin-bottom: 5px;
	}

.comp-price {
	text-decoration: line-through;
}

.real-price {
	font-size: 1.125em;
	line-height: 1.25em;
	color: #93c763;
	font-weight: bold;
}

.hint {
	color: #999;
	font-size: 0.875em;
}