body {
	background-color: #0F0F0F;
}
#uiContainer {
	position: absolute;
	left: 1150px;
	top: 50px;
	height: 800px;
	width: 400px;
	
	display: flex;
	flex-direction: column;
	background-color: magenta;
	border: 5px solid #3A3A3A;
	user-select: none;
}
#currencyContainer {
	display: flex;
	align-items: center;
	padding-left: 10px;
	background-color: black;
	background-image: url("../resources/backgroundD.png");
	height: 50px;
	font-size: 20px;
	font-family: Helvetica, sans-serif;
	color: white;
}
#navButtons {
	display: flex;
	flex-direction: column;
	height: 100px;
}
#navRow1 {
	display: flex;
	flex-basis: 50%;
}
#navRow2 {
	display: flex;
	flex-basis: 50%;
}
#buildButton {
}
#upgradesButton {
}
#statsButton {
}
#settingsButton {
}
.navButton {
	display: flex;
	height: 50px;
	flex-basis: 50%;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	font-family: Helvetica, sans-serif;
	font-weight: bold;
	color: rgba(200,200,220,.8);
	background-image: url("../resources/navButton.png");
	cursor: pointer;
}
.unselected:hover {
	filter: brightness(85%);
}
.selected {
	filter: brightness(70%) grayscale(95%);
}

#buildUi {
	display: flex;
	flex-direction: column;
	height: 650px;
}
#buildButtons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: align-items;
	height: 270px;
	background-color: black;
	background-image: url("../resources/backgroundD.png");
}
.buildButton {
	display: flex;
	width: 100px;
	height: 90px;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	font-family: Helvetica, sans-serif;
	cursor: pointer;
}
.buildIcon {
	width: 96px;
	height: 90px;
}
#buildArrows {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background-color: black;
	background-image: url("../resources/backgroundL.png");
	height: 60px;
	padding-top: 10px;
}
.buildArrow {
	width: 30px;
	height: 50px;
	cursor: pointer;
}
#buildLeft {
	background-image: url("../resources/leftArrow.png");
}
#buildRight {
	background-image: url("../resources/rightArrow.png");
}
.pageDot {
	width: 20px;
	height: 20px;
	margin: 10px;
	background-image: url("../resources/pageDot.png");
	cursor: pointer;
}
#buildMessages {
	display: flex;
	flex-direction: column;
	background-color: gray;
	background-image: url("../resources/backgroundL.png");
	height: 280px;
	white-space: pre-wrap;
	font-family: Verdana, sans-serif;
	padding: 10px;
	padding-top: 20px;
}
#upgradeUi {
	display: flex;
	flex-direction: column;
	height: 650px;
	overflow-y: auto;
}
#upgradeButtons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	height: 340px;
	background-color: black;
	background-image: url("../resources/backgroundD.png");
	overflow-y: scroll;
	overflow-x: hidden;
	align-content: flex-start;
}
#upgradeButtons::-webkit-scrollbar {
  width: 16px;
}
#upgradeButtons::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
#upgradeButtons::-webkit-scrollbar-thumb {
  background: #888; 
}
#upgradeButtons::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
#upgradeMessages {
	display: flex;
	flex-direction: column;
	height: 280px;
	background-color: gray;
	background-image: url("../resources/backgroundL.png");
	font-family: Verdana, sans-serif;
	white-space: pre-wrap;
	padding: 10px;
	padding-top: 20px;
}
.upgradeButton {
	display: flex;
	width: 96px;
	height: 90px;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	font-family: Helvetica, sans-serif;
	cursor: pointer;
}
.bought {
	filter: brightness(50%) grayscale(50%)
}
.upgradeIcon {
	width: 96px;
	height: 90px;
}
#statsUi {
	display: flex;
	flex-direction: column;
	height: 620px;
	background-image: url("../resources/backgroundD.png");
	font-family: Verdana, sans-serif;
	white-space: pre-wrap;
	color:white;
	padding: 10px;
	padding-top: 20px;
}
#settingsUi {
	display: flex;
	flex-direction: column;
	height: 610px;
	padding: 20px;
	background-image: url("../resources/backgroundD.png");
	color:white;
	font-family: Helvetica, sans-serif;
}
#selectionUi {
	display: flex;
	flex-direction: column;
	height: 610px;
	padding: 20px;
	background-image: url("../resources/backgroundD.png");
	color:white;
	font-family: Helvetica, sans-serif;
}
#selDescription {
	white-space: pre-wrap;
}
.selectorWidget {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}
.selLabel {
}
.selLeft {
	width: 30px;
	height: 50px;
	cursor: pointer;
	background-image: url("../resources/leftArrow.png");
}
.selCenter {
	width: 150px;
	text-align: center;
}
.selRight {
	width: 30px;
	height: 50px;
	cursor: pointer;
	background-image: url("../resources/rightArrow.png");
}
.spacer {
	flex-grow:1
}
#deleteRow {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
}
#selTitle {
	padding-bottom:20px;
	font-size: 32px;
}
#selDescription {
	padding-bottom:20px;
}
#deleteText {
	padding:20px;
	font-size: 20px;
}
#deleteButton {
	width: 96px;
	height: 90px;
	background-color:dark-red;
	background-image: url("../resources/deleteButton.png");
}
#deleteAllRow {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
}
#deleteAllText {
	padding:20px;
	font-size: 20px;
}
#deleteAllButton {
	width: 96px;
	height: 90px;
	background-color:dark-red;
	background-image: url("../resources/deleteButton.png");
}
#cursorCanvas {
	pointer-events: none;
}
#theEnd {
	position: absolute;
	left: 0px;
	top: 0px;
	height: 600px;
	width: 1600px;
	padding-top: 300px;
	background-color:0;
	z-index: 100;
	font-size: 20px;
	font-family: Helvetica, sans-serif;
	color: white;
	align-items: center;
	text-align: center;
	white-space: pre-wrap;
	background-color: #060606;
}