@font-face {
	font-family: Atomic;
	src: url(../resources/fonts/Atomic.ttf) format(truetype);
	font-weight: normal;
	font-style: normal;
}

body {
	align-items: center;
	display: flex;
	flex-direction: column;
	font-size: 15px;
	overflow-x: hidden;
}

table {
	margin: 0;
	padding: 0;
	width: 100%;
}

button {
	transition: all 0.5s;
}
button:hover {
	cursor: pointer;
}

.flex-col {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center
}

.flex-row {
	align-items: center;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.flex-col.horizontal-center, .flex-row.vertical-center {
	align-items: center;
}
.flex-col.vertical-center, .flex-row.horizontal-center {
	justify-content: center;
}
.flex-col.horizontal-left, .flex-row.vertical-top {
	align-items: flex-start;
}
.flex-col.vertical-top, .flex-row.horizontal-left {
	justify-content: flex-start;
}
.flex-col.horizontal-right, .flex-row.vertical-bottom {
	align-items: flex-end;
}
.flex-col.vertical-bottom, .flex-row.horizontal-right {
	justify-content: flex-end;
}

.flex-col > *, .flex-row > * {
	flex: 1 0;
}

.bold {
	font-weight: bold;
}
.italic {
	font-style: italic;
}

.popup {
	display: flex;
	left: 50%;
	position: fixed;
	text-align: center;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	z-index: 8;
}

.tooltip {
	border: 1px solid #000000;
	display: inline-block;
	position: relative;
}

.tooltip .tooltiptext {
	background-color: #000000;
	color: #FFFFFF;
	left: 50%;
	position: absolute;
	text-align: center;
	transform: translateX(-50%);
	visibility: hidden;
	z-index: 2;
}
.tooltip:hover .tooltiptext {
	visibility: visible;
}

.achcomplete > .tooltiptext {
	bottom: 105%;
	color: #88EE44;
	max-height: 5.6em;
	max-width: 12.5vw;
	min-height: 4.2em;
	min-width: 12.5vw;
}
.achlocked > .tooltiptext {
	bottom: 105%;
	color: #DE564D;
	max-height: 5.6em;
	max-width: 12.5vw;
	min-height: 4.2em;
	min-width: 12.5vw;
}
.tooltiptext.turbine {
	bottom: 105%;
	color: #FFFFFF;
	margin-left: -60px;
	padding: 5px;
	width: 120px;
}

.info {
	text-align: center;
}

.newsbar {
	height: 20px;
	margin: auto;
	overflow: hidden;
	padding: 2px;
	text-align: left;
	width: 80%;
}
.newsbar > div {
	display: inline-block;
	position: relative;
	white-space: nowrap;
}

.navigation {
	display: flex;
	height: 48px;
	left: 1rem;
	max-width: 48px;
	min-width: 48px;
	position: absolute;
	top: 1rem;
}
.navigation > div {
	height: 48px;
	max-width: 48px;
	min-width: 48px;
}
.navigation > div > .navigation-toggle {
	cursor: pointer;
	height: 40px;
	max-width: 40px;
	min-width: 40px;
	margin: 4px;
	transition: filter 300ms;
}
.navigation > div > .navigation-toggle:hover {
	filter: brightness(1.2);
}
.navigation > div > .navigation-toggle > svg {
	height: 40px;
	width: 40px;
}
.navigation > div > .navigation-toggle > svg > g {
	height: 40px;
	width: 40px;
}

.navigation > div > .dropdown {
	left: -1rem;
	overflow: hidden;
	position: absolute;
	top: calc(48px + 1rem);
	transition: height 500ms ease;
	width: 180px;
	z-index: 4;
}
.navigation > div > .dropdown > div {
	width: 100%;
}
.navigation > div > .dropdown > div > div  {
	align-items: center;
	cursor: pointer;
	display: flex;
	height: 52px;
	transition: background 500ms;
}
.navigation > div > .dropdown > div > div  > span {
	height: 40px;
	margin-bottom: 4px;
	margin-right: 4px;
	margin-top: 4px;
	width: 40px;
}
.navigation > div > .dropdown > div > div  > .icon-left {
	margin-left: 4px;
}
.navigation > div > .dropdown > div > div > .icon-right {
	margin-left: auto;
}
.navigation > div > .dropdown > div > div > span > svg {
	height: 40px;
	width: 40px;
}

/* CSSTransition classes	*/
.menu-primary-enter {
	position: absolute;
	transform: translateX(-110%);
}
.menu-primary-enter-active {
	transform: translateX(0%);
	transition: all 500ms ease;
}
.menu-primary-exit {
	position: absolute;
}
.menu-primary-exit-active {
	transform: translateX(-110%);
	transition: all 500ms ease;
}


.menu-secondary-enter {
	transform: translateX(110%);
}
.menu-secondary-enter-active {
	transform: translateX(0%);
	transition: all 500ms ease;
}
.menu-secondary-exit {

}
.menu-secondary-exit-active {
	transform: translateX(110%);
	transition: all 500ms ease;
}

.subtab > button {
	border: 2px solid #000000;
	border-radius: 4px;
	font-size: 16px;
	height: 30px;
	width: 150px;
}

#statistics_tab > .flex-row > div:nth-child(1) {
	padding-right: 2px;
	text-align: right;
}

#achievements_tab {
	align-items: center;
	display: flex;
}
#achievements_tab > div {
	flex: 0 0;
}

.energy {
	font-size: 25px;
}
.energypersecond {
	font-size: 20px;
}

.storebtn {
	font-size: 12px;
}

.allocationbtn {
	max-width: 48px;
	min-height: 48px;
}
.allocationbar {
	height: 48px;
	width: 40vw;
}
.allocationbar.legend {
	height: 20px;
	width: 20vw;
}
.allocationbarcontents {
	height: 100%;
}
.allocationbarcontents.legend {
	height: 20px;
	width: 20vw;
}

.minesdiv {
	max-width: 40vw;
	min-width: 40vw;
}

.minesdiv > div > .info {
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 1em;
}
.minesdiv > div > .body {
	padding-left: 1em;
	padding-right: 1em;
}

.minesdiv > .actions {
	padding: 1em;
}

.minesdiv > .actions > button {
	margin-bottom: 0.5em;
	margin-top: 0.5em;
	max-height: 4.2em;
	max-width: 50%;
	min-height: 4.2em;
	min-width: 50%;
}

.trisodiv, .pebblebeddiv {
	margin-bottom: 1.2vw;
	margin-left: 0.6vw;
	margin-right: 0.6vw;
	max-width: 30vw;
	min-width: 30vw;
}

.trisodiv > .title, .pebblebeddiv > .title {
	max-height: 1.4em;
	min-height: 1.4em;
	text-align: center;
}

.trisodiv > .title > .type, .pebblebeddiv > .title > .type {
	max-width: 90%;
}
.trisodiv > .title > .info, .pebblebeddiv > .title > .info {
	max-width: 10%;
}

.trisodiv > .body, .pebblebeddiv > .body {
	margin: 1em;
}

.trisodiv > .body > .fuelinfo, .pebblebeddiv > .body > .info {
	align-items: flex-start;
	max-width: 50%;
	min-width: 50%;
	text-align: left;
}
.trisodiv > .body > .fuelinfo {
	max-height: 3.5em;
	min-height: 3.5em;
}
.pebblebeddiv > .body > .info {
	max-height: 10em;
	min-height: 10em;
}

.trisodiv > .body > .reprocess, .pebblebeddiv > .body > .fuelhandling {
	justify-content: flex-start;
	max-width: 50%;
	min-width: 50%;
}
.trisodiv > .body > .reprocess {
	max-height: 5.8em;
	min-height: 5.8em;
}
.pebblebeddiv > .body > .fuelhandling {
	max-height: 8.2em;
	min-height: 8.2em;
}

.trisodiv > .body > .reprocess > button {
	max-height: calc(5.4em + 8px);
	min-height: calc(5.4em + 8px);
	padding: 4px;
	position: relative;
}
.trisodiv > .body > .reprocess > button > div {
	border-radius: 1px;
	left: -2px;
	max-height: calc(5.4em + 8px);
	min-height: calc(5.4em + 8px);
	position: absolute;
	top: -2px;
	width: 0;
}

.pebblebeddiv > .body > .fuelhandling > button {
	max-height: 2.8em;
	min-height: 2.8em;
}

.trisodiv > .fuelbar {
	margin-bottom: 1em;
	margin-left: 1em;
	margin-right: 1em;
	max-height: calc(2.4em + 8px);
	min-height: calc(2.4em + 8px);
}
.pebblebeddiv > .fuelbar {
	margin-bottom: 1em;
	margin-left: 1em;
	margin-right: 1em;
	max-height: calc(2.4em + 8px);
	min-height: calc(2.4em + 8px);
}
.trisodiv > .fuelbar > div > div, .pebblebeddiv > .fuelbar > div > div {
	align-items: center;
	justify-content: center;
	max-height: calc(2.4em + 8px);
	max-width: 100%;
	min-height: calc(2.4em + 8px);
	min-width: 100%;
}
.trisodiv > .fuelbar > div > div > div, .pebblebeddiv > .fuelbar > div > div > div {
	margin: 4px;
	max-height: 2.4em;
	max-width: calc(100% - 8px);
	min-height: 2.4em;
	min-width: calc(100% - 8px);
}
.trisodiv > .fuelbar > div > div > div > div, .pebblebeddiv > .fuelbar > div > div > div > div {
	height: 2.4em;
	max-width: 0;
}
.trisodiv > .fuelbar > div > div > div > div > div, .pebblebeddiv > .fuelbar > div > div > div > div > div {
	height: 2.4em;
	max-width: 0;
}

.pebblebeddiv > .buying {
	margin-bottom: 1em;
	margin-left: 1em;
	margin-right: 1em
}

.pebblebeddiv > .buying > .buysingle {
	max-height: 2.8em;
	max-width: 60%;
	min-height: 2.8em;
	min-width: 60%;
}
.pebblebeddiv > .buying > .buymax {
	max-height: 2.8em;
	max-width: 30%;
	min-height: 2.8em;
	min-width: 30%;
}

.trisobtn, .pebblebedbtn {
	max-width: 90%;
	min-width: 90%;
}

.fuelhandlingautomationdiv {
	max-width: 30vw;
	min-width: 30vw;
	padding: 1em;
}
.fuelhandlingautomationdiv > div {
	margin: 1.5vw;
}

.fuelhandlingautomationdiv > div > div > .cooldown {
	max-height: calc(2.2em - 4px);
	max-width: 90%;
	min-height: calc(2.2em - 4px);
	min-width: 90%;
}
.fuelhandlingautomationdiv > div > div > .cooldown > div {
	max-height: calc(2.2em - 4px);
	min-height: calc(2.2em - 4px);
}

.fuelhandlingautomationdiv > div > div > div > button {
		max-width: 80%;
		min-width: 80%;
}

.turbinebox {
	border: 2px solid #050505;
	justify-content: center;
	max-height: 20px;
	max-width: 20px;
	min-height: 20px;
	min-width: 20px;
}
.turbinebox.selected {
	border: 2px solid #3347EF;
}
.turbinebox.rotorbox {
	border: none;
	max-height: 24px;
	max-width: 24px;
	min-height: 24px;
	min-width: 24px;
}

.turbinecasing {
	background-color: #184236;
}
.turbinecasing.coil {
	max-height: 20px;
	max-width: 20px;
	min-height: 20px;
	min-width: 20px;
}

.turbineshaft {
	background-color: #A8B1DD;
}
.turbineshaft:hover {
	border-color: #FFBB77;
	box-shadow: 0 0 5px 1px #FFBB77;
}

.turbinerotor {
	height: 20px;
	max-width: 6px;
	z-index: 1;
}
.turbinerotor.horizontal {
	height: 24px;
	max-width: 9px;
}
.turbinerotor.top {
	height: 18px;
	margin-top: 6px;
}
.turbinerotor.bottom {
	height: 18px;
	margin-bottom: 6px;
}
.turbinerotor.selection {
	height: 16px;
	margin-left: 7px;
	margin-top: 2px;
}

.turbinerotor.steel {
	background-color: #7A7F80;
}
.turbinerotor.titanium {
	background-color: #775D88;
}
.turbinerotor.osmiridium {
	background-color: #3942B3;
}
.turbinerotor.extreme {
	background-color: #993344;
}
.turbinerotor.sicsiccmc {
	background-color: #946241;
}

.turbinecoil {
	border: 2px solid #A8A8A8;
	max-height: 20px;
	max-width: 20px;
	min-height: 20px;
	min-width: 20px;
}
.turbinecoil.active {
	border: 2px solid #51B863;
}
.turbinecoil.inactive {
	border: 2px solid #B86351;
}
.turbinecoil.selected {
	border: 2px solid #3347EF;
}
.turbinecoil.none {
	background-color: #184236;
}
.turbinecoil.bearing {
	background-color: #A8B1DD;
}
.turbinecoil.connector {
	background-color: #555753;
}
.turbinecoil.magnesium {
	background-color: #B893D5;
}
.turbinecoil.beryllium {
	background-color: #8B8187;
}
.turbinecoil.lithium {
	background-color: #AAAAAA;
}
.turbinecoil.aluminium {
	background-color: #333333;
}
.turbinecoil.gold {
	background-color: #DDC066;
}
.turbinecoil.copper {
	background-color: #B87333;
}
.turbinecoil.silver {
	background-color: #C0C0C0;
}
.turbinecoil:hover {
	border-color: #FFBB77;
	box-shadow: 0 0 5px 1px #FFBB77;
}

.achcomplete, .achlocked {
	align-items: center;
	height: min(12vw - 40px, 100px);
	justify-content: center;
	width: 12vw;
}
.achcomplete > img, .achlocked > img {
	height: min(12vw - 40px, 100px);
	margin-left: 20px;
	opacity: 0.7;
	width: min(12vw - 40px, 100px);
}

.options > div > button {
	font-size: 20px;
	height: 55px;
	width: 200px;
}

.prestigebtn {
	min-height: 80px;
	width: 150px;
}

.naniteup {
	font-size: 15px;
	height: 150px;
	width: 300px;
}

#meltdown {
	font-size: 10px;
	height: 70px;
	width: 210px;
}
.meltdownup {
	height: 150px;
	min-width: 120px;
	width: 25%;
}

.isotopedecay {
	align-items: center;
	display: flex;
	height: 100px;
	justify-content: center;
	position: absolute;
	transform: translateX(-50%);
	width: 240px;
}

.discord {
	bottom: 0;
	position: fixed;
}
.discordlink {
	position: relative;
}

#cheats_tab > .flex-row {
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}
#cheats_tab > .flex-row > button {
	flex: 0 0 200px;
	height: 40px;
	margin: 2px;
}
