@font-face {
    font-family: 'Open Sans Condensed';
    font-style: normal;
    font-weight: 300;
    src: local('Open Sans Cond Light'), local('OpenSans-CondensedLight'), url(https://fonts.gstatic.com/s/opensanscondensed/v10/gk5FxslNkTTHtojXrkp-xBEur64QvLD-0IbiAdTUNXE.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
    font-family: Typewriter;
    src: url('MonospaceTypewriter.ttf');
}

* {
    font-family: Typewriter;
}

*:focus {
    outline: none;
}

button {
    padding: 1px 6px;
}

button b, button span {
	pointer-events: none;
}

.tab {
	display: none
}

.small {
    margin: 1px;
    width: 120px;
    font-size: 0.6rem;
    padding: 3px;
}

.scrollablemenu {
	display: block !important;
	min-height: 250px;
	height: 250px;
	max-height: 250px;
	overflow-y: auto
}

#game {
    border: 2px solid black;
    border-radius: 4px;
    padding: 2px;
    width: 75%;
    overflow: hidden;
    margin: auto;
    text-align: left
}

#news {
    color: #000000;
    /*transition: transform 1s;*/
    position: relative;
    display: inline-block;
    font-size: 15px;
    white-space: nowrap;
    font-weight: bold
}

#container {
    --container-padding-bottom: 1em;
}

.challengesbtn {
    width:150px;
    height: 30px;
    color: black;
    background: #F2F2F2;
    font-weight: bold;
    border: 3px solid #127A20;
    cursor: pointer;
    border-radius: 10px;
    font-size: 140%;
    transition-duration: 0.2s;
    margin: auto;
}

.challengesbtn:hover {
    color: #FFF;
    background: #5AC467;
}

.lockedchallengesbtn {
    width:150px;
    height: 30px;
    color: black;
    background: rgb(92, 92, 92);
    font-weight: bold;
    border: 3px solid rgb(136, 29, 29);
    border-radius: 10px;
    font-size: 140%;
    transition-duration: 0.2s;
    margin: auto;
}

.outer {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 5px;
}

.challengediv {
    display:table;
    text-align:center;
    width:350px;
    height: 105px;
    color: black;
    background: #F2F2F2;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 10px;
    font-size: 80%;
    transition-duration: 0.2s;
    padding: 2px;
    margin: 3px 8px;
    position: relative;
    border-radius: 5px;
}

.infchallengediv {
    display:table;
    text-align:center;
    width:350px;
    height: 105px;
    color: white;
    background: #181818;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 10px;
    font-size: 80%;
    transition-duration: 0.2s;
    padding: 2px;
    margin: 3px 8px;
    position: relative;
    border-radius: 5px;
}

.eterchallengediv {
    display:table;
    text-align:center;
    width: 350px;
    height: 105px;
    color: #b341e0;
    background: black;
    font-weight: bold;
    border: 3px solid #b341e0;
    border-radius: 10px;
    font-size: 80%;
    transition-duration: 0.2s;
    padding: 2px;
    margin: 3px 8px;
    position: relative;
}

.quantumchallengediv {
	display:table;
	text-align:center;
	width: 350px;
	height: 140px;
	color: #32c832;
	background: #0a640a;
	font-weight: bold;
	border: 3px solid #32c832;
	border-radius: 10px;
	font-size: 80%;
	transition-duration: 0.2s;
	padding: 2px;
	margin: 3px 8px;
	position: relative;
}

#pairedchallenges .quantumchallengediv { height: 90px }

.completedchallengesbtn {
  width:150px;
  height: 30px;
  color: #FFF;
  background: #5AC467;
  font-weight: bold;
  border: 3px solid #127A20;
  cursor: pointer;
  border-radius: 10px;
  font-size: 140%;
  transition-duration: 0.2s;
}

.onchallengebtn {
  width:150px;
  height: 30px;
  color: #FFF;
  background: #1F1F1F;
  font-weight: bold;
  border: 3px solid #127A20;
  cursor: pointer;
  border-radius: 10px;
  font-size: 140%;
  transition-duration: 0.2s;
}

#quickReset {
    position: relative;
    z-index: 2;
}

.completedrow {
    background: #007308;
    border: 4px solid #127A20;
    border-radius: 10px;
	color: white
}

.storebtn, .newdim, .chosen {
    color: black;
    background: #F2F2F2;
    font-weight: bold;
    border: 1px solid #127A20;
    width: 120px;
    height: 25px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    vertical-align: top;
}

.storebtn:hover, .newdim:hover, .chosen {
    color: #FFF;
    background: #5AC467;
}

#tab_dim .locked {
    opacity: .42;
}

.longbtn {
	width: 180px
}

.infinimultbtn {
    color: #C93A3A;
    background: #1F1F1F;
    font-weight: bold;
    font-size:  10px;
    border: 1px solid #17B3B5;
    width: 190px;
    height: 90px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
}

.infinimultbtn:hover {
    color: #000;
    background: #E0D8E0;
}

.infinistorebtn1 {
    color: white;
    background: #1F1F1F;
    font-weight: bold;
    font-size:  10px;
    border: 1px solid #ED85DF;
    width: 190px;
    height: 90px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
}

.infinistorebtn1:hover {
    color: #000;
    background: #A53B98;
}

.infinistorebtn2 {
    color: white;
    background: #1F1F1F;
    font-weight: bold;
    font-size:  10px;
    border: 1px solid #ED85DF;
    width: 190px;
    height: 90px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
}

.infinistorebtn2:hover {
    color: #000;
    background: #ff3300;
}

.infinistorebtn3 {
    color: white;
    background: #1F1F1F;
    font-weight: bold;
    font-size:  10px;
    border: 1px solid #ED85DF;
    width: 190px;
    height: 90px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
}

.infinistorebtn3:hover {
    color: #000;
    background: #C6D50D;
}

.infinistorebtn4 {
    color: white;
    background: #1F1F1F;
    font-weight: bold;
    font-size:  10px;
    border: 1px solid #ED85DF;
    width: 190px;
    height: 90px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
}

.infinistorebtn4:hover {
    color: #000;
    background: #0CFEC5;
}

.infinistorebtnlocked {
    color: black;
    background: #F7F7F7;
    font-weight: bold;
    font-size:  10px;
    border: 1px solid #ED85DF;
    width: 190px;
    height: 90px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
}

.infinistorebtnlocked:hover {
    color: #000;
    background: white;
}

.infinistorebtnbought {
    color: black;
    background: #5AC467;
    font-weight: bold;
    font-size:  10px;
    border: 1px solid #ED85DF;
    width: 190px;
    height: 90px;
    transition-duration: 0.2s;
    border-radius: 4px;
}

.unavailablebtn, .newdimlocked {
    color: #000000;
    background: #A3A3A3;
    font-weight: bold;
    border: 1px solid #B84B5F;
    width: 120px;
    height: 25px;
    transition-duration: 0.2s;
    border-radius: 4px;
    font-size: 13px;
    vertical-align: top;
}

.unavailablebtn:hover, .newdimlocked:hover {
    color: #000000;
    background: #B84B5F;
}

.tabbtn {
    background: #E0E0E0;
    font-weight: bold;
    border: 2px solid #4980CC;
    border-radius: 4px;
    transition-duration: 0.2s;
    cursor: pointer;
}

.tabbtn:hover {
    color: #FFFFFF;
    background: #4980CC;
    font-weight: bold;
    border: 2px solid #4980CC;
    border-radius: 4px;
}

.secondarytabbtn {
    background: #E0E0E0;
    font-weight: bold;
    border: 2px solid #4980CC;
    border-radius: 4px;
    transition-duration: 0.2s;
    cursor: pointer;
    width: 175px;
    height: 25px;
    font-size: 0.8rem;
}

.secondarytabbtn:hover {
    color: #FFFFFF;
    background: #4980CC;
    font-weight: bold;
    border: 2px solid #4980CC;
    border-radius: 4px;
}

#IPmin {
    left: 81.5%;
    position: absolute;
    width: 150px
}

#galaxyPoints2 .GPAmount {
    font-weight: bold;
}

#pres_header {
	position: relative;
    margin-top: 20px;
}

#pres_header > div {
	position: absolute;
	width: 210px;
	transform: translate(-105px, 0);
}

#pres_header button {
	position: absolute;
	left: 0;
	top: 40px;
	width: 210px !important;
	height: 70px !important;

	font-size: 11px !important;
	text-align: center;

	margin: 0;
	cursor: pointer;
}

.EPAmount2 {
    font-weight: bold;
}

#quickQuantum {
	height:120px;
	text-align:center;
}

.hideEmpty:empty {
   display: none;
}

.pxAmount, #GHPAmount, #quantumedBMAmount {
	font-weight: bold;
}

#paradoxbtn {
	background: radial-gradient(#7f007f, #ff00ff);
	border: 2px solid #ff00ff;
	color: #ff7fff;
	text-shadow: 0px 0px 3px #000000, 0px 0px 6px #ff00ff;
	font-weight: bold;
	border-radius: 4px;
	transition-duration: 0.2s
}

#paradoxbtn:hover {
	box-shadow: inset 0px 0px 12px 0px #ff00ff;
	text-shadow: 0px 0px 6px #000000, 0px 0px 6px #ff00ff;
	cursor: pointer
}

.pupg {
	background: #7f007f;
	border: 1px solid #ff00ff;
    width: 190px;
    height: 90px;
	color: #ff7fff;
	text-shadow: 0px 0px 3px #000000, 0px 0px 6px #ff00ff;
	font-weight: bold;
    font-size:  10px;
	border-radius: 4px;
	transition-duration: 0.2s
}

.pupg:hover {
	box-shadow: inset 0px 0px 12px 0px #ff00ff;
	text-shadow: 0px 0px 6px #000000, 0px 0px 6px #ff00ff;
	cursor: pointer
}

.pubought {
	background: #ff00ff;
	border: 1px solid #ff7fff;
    width: 190px;
    height: 90px;
	color: #ffffff;
	box-shadow: inset 0px 0px 12px 0px #ffffff;
	text-shadow: 0px 0px 6px #000000, 0px 0px 6px #ff00ff;
	font-weight: bold;
    font-size:  10px;
	border-radius: 4px;
	transition-duration: 0.2s
}

.galaxybtn, .galaxyupgbtn {
    color: #4169E1;
    background: #000000;
    font-weight: bold;
    border: 2px solid #1E90FF;
    border-radius: 4px;
    transition-duration: 0.2s;
    cursor: pointer;
}

.galaxybtn:hover, .galaxyupgbtn:hover {
    color: #FFFFFF;
    background: #1E90FF;
    font-weight: bold;
    border: 2px solid #1E90FF;
    border-radius: 4px;
}

#gsacani {
	display: none;
	position: fixed;
	z-index: 3;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	transition-duration: 0.5s
}

#gsacani1 {
	position: fixed;
	top: 100%;
	left: 50%;
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, transparent, #1E90FF, transparent);
	opacity: 0;
	transition-duration: 0.5s
}

@keyframes gsac {
	0% { transform: scale(1) }
	50% { transform: scale(2,1); opacity: 0 }
	100% { transform: scale(1) }
}

.galaxyupgbtn {
    font-weight: bold;
    font-size: 10px;
    border: 1px solid #1E90FF;
    width: 190px;
    height: 90px;
}

.infinitybtn {
    color: #FFFFFF;
    background: #1F1F1F;
    font-weight: bold;
    border: 2px solid #B67F33;
    border-radius: 4px;
    transition-duration: 0.2s;
    cursor: pointer;
}

.infinitybtn:hover {
    color: #000000;
    background: #B67F33;
    font-weight: bold;
    border: 2px solid #B67F33;
    border-radius: 4px;
}

.eternitybtn {
    color: #b341e0;
    background: black;
    border: 2px solid #b341e0;
    font-weight: bold;
    border-radius: 4px;
    transition-duration: 0.2s;
    cursor: pointer;
}

.eternitybtn:hover {
    color: #511568;
    background: white;
}

.quantumbtn {
    color: #32c832;
    background: #0a640a;
    border: 2px solid #32c832;
    font-weight: bold;
    border-radius: 4px;
    transition-duration: 0.2s;
	& > * {
		color: #32c832;
	}
}

button.quantumbtn:hover {
    border: 2px solid #32c832;
    background: #32c832;
    color: #0a640a;
    cursor: pointer
}

.ghostifybtn {
	background: linear-gradient(#00002f, #0f002f), linear-gradient(45deg, black, transparent 25%, transparent), linear-gradient(-45deg, black, transparent 25%, transparent);
	box-shadow: inset 0px 0px 24px 0px black;
	border: 2px solid;
	font-weight: bold;
	border-radius: 4px;
	transition-duration: 0.2s;
	animation: ghostifytext 4s linear infinite;
	& > * {
		animation: ghostifytext 4s linear infinite
	}
}

button.ghostifybtn:hover {
	box-shadow: inset 0px 0px 12px 0px #420072;
	cursor: pointer
}

.aarexmodsghostifybtn {
	cursor: pointer
}

#galaxyPoints { color: #4169E1 !important; }

.achievement {
	font-size: 10px !important;
	color: #ffffff !important;
	text-shadow: 0px 0px 1px #000000, 0px 0px 1px #000000, 0px 0px 1px #000000
}

.achievementhidden {
    background-image: url("../images/achhidden.png") !important;
    background-color: #555;
    border: 2px solid #000;
    width: 104px;
    height: 104px;
    border-radius: 8px;
    margin: 0px auto;
    text-align: center;
    font-family: TypeWriter;
    color: black;
    font-size: 70%;
    user-select: none;
}

.achievementlocked {
    background: #A3A3A3;
    border: 2px solid #B84B5F;
    width: 104px;
    height: 104px;
    border-radius: 8px;
    margin: 0px auto;
    text-align: center;
    font-family: TypeWriter;
    color: black;
    font-size: 70%;
    user-select: none;
}

.achievementunlocked {
    border: 2px solid #127A20;
    background: #5AC467;
    width: 104px;
    height: 104px;
    border-radius: 8px;
    margin: 0px auto;
    text-align: center;
    font-family: TypeWriter;
    color: black;
    font-size: 70%;
    user-select: none;
}

.achievement.cant {
	border-color: red;
	opacity: 0.3
}

.achievement.gold {
	border-color: #fb0;
	box-shadow: 0 0 12px #fb0;
}

.achievement.diamond {
	border-color: #0ff;
	box-shadow: 12px 12px 24px #0ff, -12px -12px 24px #0ff;
}

.achRowInfo {
    width: 104px;
    margin: 0px auto;
    text-align: center
}

.autoBuyerDiv {
    border: solid 1px grey;
    width:230px;
    height:155px;
    text-align:center;
    font-size:100%;
    padding:10px;
    display: none;
    border-radius: 4px;
}

.autoBuyerDiv.on {
	background: #0BD251
}

.autobuyerbtn {
    color: white;
    background: #1F1F1F;
    font-weight: bold;
    font-size: 70%;
    border: 1px solid #ED85DF;
    width: 180px;
    height: 35px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
}

.autobuyerbtn:hover {
    color: #000000;
    background: #B67F33;
    font-weight: bold;
    border: 2px solid #B67F33;
    border-radius: 4px;
}

.crunchbtn {
    position: relative;
    top: 50%;
    left: 40%;
}

.popup {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
    border: 3px solid black;
    width: 300px;
    height: 120px;
    background-color: #E0E0E0;
    border-radius: 6px;
    text-align:center;
    z-index: 2;
    color: black;
    padding: 10px;
    padding-bottom: 15px;
    display: none;
}

.optionmenu {
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 300px;
}
.optionmenu div {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 10px;
}

.loadmenu {
	height: 320px;
	width: 610px;
}
.loadmenu div { margin: 0px; }

.loadmenu .closebtn, .optionmenu .closebtn {
	width: 30px;
	height: 30px;
	font-size: 1.5rem;
	line-height: 1.5rem;
	position: fixed;
	top: 5px;
	right: 5px;
}
.loadmenu .storebtn, .optionmenu .storebtn {
	margin: 5px;
}

.loadmenu tr {
	position: relative;
	width: 590px;
	display: block
}

.metaOpts {
	position: absolute;
	top: 0;
	left: 0;
}

.metaOpts .storebtn {
	width: 25px
}

#saves { width: 100%; }

.notationOptions {
	position: absolute;
	min-height: calc(280px - 4rem);
	height: calc(280px - 4rem);
	max-height: calc(280px - 4rem);
	width: 200px;
	bottom: 0px;
	overflow-x: hidden;
	overflow-y: scroll
}

#welcomeMessage { font-size: 12px; }

#bugExport b, .warning {
	color: #ff0000
}

#footer {
    position: fixed;
    margin: auto;
    left: 0;
    bottom: 0;
    width: 100%;

    text-align: center;
	display: var(--footer)
}

#info {
    position: fixed;
    bottom: 2px;
    left: 2px;

	width: 24px;
	height: 24px;
	border-radius: 12px
}

#progress {
    width: 98%;
    background-color: #A3A3A3;
    border-radius: 5px;
    bottom: 35px;
    position: fixed;
    z-index: 1;
}

#progressbar {
    width: 0%;
    height: 23px;
    background-color: #127A20;
    color: black;
    font-size: 16px;
    border-radius: 5px;
    text-align: center;
    transition-duration: 0.1s;
}

.quantumProgress { background: #0a640a !important }
.quantumProgress #progresspercent { color: #32c832 }

.ghostifyProgress { 
	background: linear-gradient(#0c0033, #2e0033) !important;
	box-shadow: inset 0px 0px 24px 0px black
}
.ghostifyProgress #progresspercent { animation: ghostifytext 4s linear infinite }
.ghostifyProgress #progresspercent::before { text-shadow: none }

#replauto1, #replauto2, #replauto3,
#replicantiresettoggle, #replicantibulkmodetoggle {
    margin-top: 3px;
    margin-right: 0px;
}

.eternitychallengestudy {
    color: #490066;
    background: white;
    border: 1px solid black;
    font-weight: bold;
    width: 170px;
    height: 90px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.65rem;
    vertical-align: top;
    margin:7px;
    animation: eternityChallengeGlowIn 7s infinite;
}

.timestudy {
    color: #b341e0;
    background: black;
    border: 1px solid #b341e0;
    font-weight: bold;
    width: 170px;
    height: 90px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.65rem;
    vertical-align: top;
    margin:7px;
    animation: studyGlowIn 7s infinite;
}

.timestudy.normaldimstudy {
    color: #22aa48 !important;
    border: 1px solid #198036 !important;
    animation: normalDimStudyGlowIn 7s infinite;
}

.timestudy.infdimstudy {
    color: #B67F33 !important;
    border: 1px solid #8b6227 !important;
    animation: infDimStudyGlowIn 7s infinite;
}

.timestudy.timedimstudy {
    color: #B241E3 !important;
    border: 1px solid #951ec8 !important;
    animation: timeDimStudyGlowIn 7s infinite;
}

.timestudy.activestudy {
    color: #FF0100 !important;
    border: 1px solid #cc0000 !important;
    animation: activeStudyGlowIn 7s infinite;
}

.timestudy.passivestudy {
    color: #5E33B6 !important;
    border: 1px solid #4b288f !important;
    animation: passiveStudyGlowIn 7s infinite;
}

.timestudy.idlestudy {
    color: #0080ff !important;
    border: 1px solid #0066cc !important;
    animation: idleStudyGlowIn 7s infinite;
}

.timestudy.darkstudy {
    color: white !important;
    background-color: black !important;
    border-color: white !important;
    animation: darkStudyGlowIn 7s infinite;
}

.timestudy.lightstudy {
    color: black !important;
    background-color: white !important;
    border-color: black !important;
    animation: lightStudyGlowIn 7s infinite;
}

.eternitychallengestudy:hover {
    color: white;
    background: #490066;
}

.timestudy:hover {
    color: #DADADA;
    background: #3A0A57;
}

.timestudy.normaldimstudy:hover {
    color: #EEEEEE !important;
    background: #22aa48 !important;
}

.timestudy.infdimstudy:hover {
    color: #EEEEEE !important;
    background: #B67F33 !important;
}

.timestudy.timedimstudy:hover {
    color: #EEEEEE !important;
    background: #B241E3 !important;
}

.timestudy.activestudy:hover {
    color: #EEEEEE !important;
    background: #FF0100 !important;
}

.timestudy.passivestudy:hover {
    color: #EEEEEE !important;
    background: #5E33B6 !important;
}

.timestudy.idlestudy:hover {
    color: #EEEEEE !important;
    background: #0080ff !important;
}

.timestudy.darkstudy:hover {
    color: black !important;
    background-color: white !important;
    border-color: black !important;
}

.timestudy.lightstudy:hover {
    color: white !important;
    background-color: black !important;
    border-color: white !important;
}

.timestudylocked, .eternitychallengestudylocked {
    color: #181818;
    background: #5F5F5F;
    font-weight: bold;
    border: 1px solid #691fa5;
    width: 170px;
    height: 90px;
    transition-duration: 0.2s;
    border-radius: 4px;
    font-size: 0.65rem;
    vertical-align: top;
    margin:7px;
}

.timestudylocked:hover, .eternitychallengestudylocked:hover {
    color: #1D1D1D;
    background: #660000;
}

.timestudybought {
    color: #1e0830;
    background: #0BD251;
    font-weight: bold;
    border: 1px solid #691fa5;
    width: 170px;
    height: 90px;
    transition-duration: 0.2s;
    border-radius: 4px;
    font-size: 0.65rem;
    vertical-align: top;
    margin:7px;
}

.eternitychallengestudybought {
    color: black;
    background: #490066;
    font-weight: bold;
    border: 1px solid black;
    width: 170px;
    height: 90px;
    transition-duration: 0.2s;
    border-radius: 4px;
    font-size: 0.65rem;
    vertical-align: top;
    margin:7px;
}

.timetheorembtn {
    color: #3AACD6;
    background: #232028;
    font-weight: bold;
    border: 1px solid #691fa5;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85rem;
}

#TTbuttons .timetheorembtn {
    position: fixed;
    left: 50%;
    bottom: 5px;
    width: 170px;
    height: 70px;
}

.timetheorembtn:hover {
    color: #232028;
    background: #3AACD6;
}


.timetheorembtnlocked {
    color: black;
    background: #4A4A4A;
    font-weight: bold;
    border: 1px solid #691fa5;
    width: 170px;
    height: 70px;
    transition-duration: 0.2s;
    border-radius: 4px;
    font-size: 0.85rem;
    position: fixed;
    left: 50%;
    bottom: 5px;
    z-index: 1;
}

.timetheorembtnlocked:hover {
    background: #652F2F;
}

.maxbuytheorembtn:hover {
    color: #232028;
    background: #3AACD6;
}

#timetheorems {
    color: black;
    position: fixed;
    bottom: 80px;
    left: 50%;
    font-size: 15px;
    transform: translateX(-50%);
}

#studytreeloadsavetext {
    color: black;
    position: fixed;
    bottom: 82px;
    left: 50%;
    margin-left: 145px;
    font-size: 10px;
}

#theorembuybackground {
    background: #E0E0E0;
    width: 570px;
    height: 110px;
    position: fixed;
    bottom: 0;
    left: 50%;
    margin-left: -287px;
    border: 2px solid black;
    border-bottom: none;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

#studyTreeCanvas, #studyTreeCanvas2, #dilationCanvas, #blackHoleCanvas, #quarkCanvas {
    top: 0;
    left: 0;
    position: absolute;
    z-index: -999;
}

#studytable {
    display: flex !important;
    justify-content: center;
}

#loading {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}

.eternityupbtn {
    color: #b341e0;
    background: black;
    font-weight: bold;
    font-size: 10px;
    border: 1px solid #b341e0;
    width: 190px;
    height: 90px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
}

.eternityupbtn:hover {
    color: #511568;
    background: white;
}

.eternityupbtnlocked {
    color: #181818;
    background: #5F5F5F;
    font-weight: bold;
    font-size: 10px;
    border: 1px solid #b341e0;
    width: 190px;
    height: 90px;
    transition-duration: 0.2s;
    border-radius: 4px;
    cursor: pointer;
}

.eternityupbtnlocked:hover {
    background: #737373;
}

.eternityupbtnbought {
    color: #511568;
    background: #5AC467;
    font-weight: bold;
    font-size: 10px;
    border: 1px solid #b341e0;
    width: 190px;
    height: 90px;
    transition-duration: 0.2s;
    border-radius: 4px;
}

.eternityttbtn {
    color: #b341e0;
    background: black;
    font-weight: bold;
    font-size: 10px;
    border: 1px solid #b341e0;
    width: 230px;
    height: 120px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
}

.eternityttbtn:hover {
    color: #511568;
    background: white;
}

.eternityttbtnlocked {
    color: #181818;
    background: #5F5F5F;
    font-weight: bold;
    font-size: 10px;
    border: 1px solid #b341e0;
    width: 230px;
    height: 120px;
    transition-duration: 0.2s;
    border-radius: 4px;
}

.eternityttbtnlocked:hover {
    background: #737373;
}

.milestonereward {
    width: 250px;
    height: 60px;
    color: black;
    background: #8D48C3;
    font-weight: bold;
    border: 1px solid #691fa5;
    transition-duration: 0.2s;
    border-radius: 4px;
    vertical-align: top;
    font-size: 12px;
}

.milestonerewardlocked {
    width: 250px;
    height: 60px;
    color: black;
    background: #696969;
    font-weight: bold;
    border: 1px solid #691fa5;
    transition-duration: 0.2s;
    border-radius: 4px;
    vertical-align: top;
    font-size: 12px;
}

.milestoneText {
    font-size: 20px;
}

.milestoneTextSmall {
    font-size: 15px;
}

#production {
    font-size: 12px;
}

.wideRow .timestudy, .wideRow .timestudylocked, .wideRow .timestudybought {
	margin: 1px;
	width: 120px;
	font-size: 0.55rem;
	padding: 3px;
}

.dilationbtn {
    color: #64DD17;
    background: black;
    font-weight: bold;
    font-size: 0.7rem;
    border: 2px solid #64DD17;
    width: 200px;
    height: 100px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
    animation: dilationBtnGlow 10s infinite;
}

.dilationbtn:hover {
    color: #64DD17;
    background: white;
}

.dilationupg {
    color: #64DD17;
    background: black;
    font-weight: bold;
    font-size: 0.65rem;
    border: 1px solid #64DD17;
    width: 200px;
    height: 100px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
    animation: dilationBtnGlow 10s infinite;
    vertical-align: top;
    margin:7px;
}

.dilationupgrebuyable {
    color: #64ddad;
    background: black;
    font-weight: bold;
    font-size: 0.65rem;
    border: 1px solid #64ddad;
    width: 200px;
    height: 100px;
    transition-duration: 0.2s;
    cursor: pointer;
    border-radius: 4px;
    animation: dilationBtnGlow2 10s infinite;
    vertical-align: top;
    margin:7px;
}

.dilationupgbought {
    color: black;
    background: #64DD17;
    font-weight: bold;
    border: 1px solid black;
    width: 200px;
    height: 100px;
    transition-duration: 0.2s;
    border-radius: 4px;
    font-size: 0.65rem;
    vertical-align: top;
    margin:7px;
}

.dilationupgrebuyablelocked {
    color: #181818;
    background: #5F5F5F;
    font-weight: bold;
    border: 1px solid #64ddad;
    width: 200px;
    height: 100px;
    transition-duration: 0.2s;
    border-radius: 4px;
    font-size: 0.65rem;
    vertical-align: top;
    margin:7px;
}

.dilationupglocked {
    color: #181818;
    background: #5F5F5F;
    font-weight: bold;
    border: 1px solid #3e8a0f;
    width: 200px;
    height: 100px;
    transition-duration: 0.2s;
    border-radius: 4px;
    font-size: 0.65rem;
    vertical-align: top;
    margin:7px;
}

.dilationupglocked:hover {
    color: #1D1D1D;
    background: #660000;
}

.dilationupg:hover {
    color: #64DD17;
    background: white;
}

.dilationupgrebuyable:hover {
    color: #64ddad;
    background: white;
}

@keyframes glow {
    20% { text-shadow: 0 0 10px green; }
    100% { text-shadow: 0 0 10px white; }
}

[ach-tooltip] {
    position: relative;
    z-index: 1;
}

[ach-tooltip]:before,
[ach-tooltip]:after {
    visibility: hidden;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    pointer-events: none;
}

[ach-tooltip]:before {
    font-weight: normal;
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-bottom: 5px;
    margin-left: -150px;
    padding: 7px;
    width: 300px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #000;
    background-color: hsla(0, 0%, 5%, 0.9);
    color: #fff;
    content: attr(ach-tooltip);
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    transition-duration: .5s;
}

[ach-tooltip]:after {
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    border-top: 5px solid #000;
    border-top: 5px solid hsla(0, 0%, 5%, 0.9);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
    transition-duration: .5s;
}

[ach-tooltip]:hover:before,
[ach-tooltip]:hover:after {
    visibility: visible;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

[ach-tooltip][ach-tooltip-align^='bottom']:before {
    bottom: inherit;
    top: 100%;
    margin-top: 5px;
}
[ach-tooltip][ach-tooltip-align^='bottom']:after {
    top: 100%;
    border-top: 0px solid;
    border-bottom: 5px solid #000;
    border-bottom: 5px solid hsla(0, 0%, 5%, 0.9);
}

body {
    background-color: #fff;
    padding: 1px 7px;
    margin: 0;
    font: 14px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #727272;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #646464;
    margin: 0 0 20px;
}

p,
ul,
ol,
table,
pre,
dl {
    margin: 0 0 3px;
}

h1,
h2,
h3 {
    line-height: 1.1;
}

h1 {
    font-size: 28px;
}
h2 {
    color: #393939;
}
h3,
h4,
h5,
h6 {
    color: #494949;
}

a {
    color: #39c;
    text-decoration: none;
}
a:hover {
    color: #069;
}
a small {
    font-size: 11px;
    color: #777;
    margin-top: -0.3em;
    display: block;
}
a:hover small {
    color: #777;
}

.wrapper {
    width: 860px;
    margin: 0 auto;
}

blockquote {
    border-left: 1px solid #e5e5e5;
    margin: 0;
    padding: 0 0 0 20px;
    font-style: italic;
}

code,
pre {
    font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
    color: #333;
    font-size: 12px;
}

pre {
    padding: 8px 15px;
    background: #f8f8f8;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
    overflow-x: auto;
}

table {
    border-spacing: 0
}

th,
td {
    text-align: left;
    padding: 5px 8px;
}
.wideRow td {
    padding: 5px 2px;
}

.table_fix {
	margin: auto
}
.table_fix td {
	text-align: center
}
.table_top_text td {
	vertical-align: 0
}


dt {
    color: #444;
    font-weight: 700;
}

th {
    color: #444;
}

img {
    max-width: 100%;
}

header {
    width: 270px;
    float: left;
    position: fixed;
    -webkit-font-smoothing: subpixel-antialiased;
}

header ul {
    list-style: none;
    height: 40px;
    padding: 0;
    background: #f4f4f4;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    width: 270px;
}

header li {
    width: 89px;
    float: left;
    border-right: 1px solid #e0e0e0;
    height: 40px;
}

header li:first-child a {
    border-radius: 5px 0 0 5px;
}

header li:last-child a {
    border-radius: 0 5px 5px 0;
}

header ul a {
    line-height: 1;
    font-size: 11px;
    color: #999;
    display: block;
    text-align: center;
    padding-top: 6px;
    height: 34px;
}

header ul a:hover {
    color: #999;
}

header ul a:active {
    background-color: #f0f0f0;
}

strong {
    color: #222;
    font-weight: 700;
}

header ul li+li+li {
    border-right: none;
    width: 89px;
}

header ul a strong {
    font-size: 14px;
    display: block;
    color: #222;
}

section {
    width: 500px;
    float: right;
    padding-bottom: 50px;
}

small {
    font-size: 11px;
}

hr {
    border: 0;
    background: #e5e5e5;
    height: 1px;
    margin: 0 0 20px;
}

br {
    margin: 0;
    pointer-events:none;
}

.rel {
    position: relative;
}

#tab_ts span {
    display:block;
    pointer-events:none;
}
#tab_ts br {
    content: " ";
    display: block;
    margin: 0;
    margin-top: 20px;
    pointer-events:none;
}

#TTbuttons {
	display: none;
}

#TTbuttons * {
	z-index: 1;
}

#TTbuttons br {
    content: " ";
    display: block;
    margin: 0;
    margin-top: 20px;
    pointer-events:none;
}

.floatingText {
    position: absolute;
    bottom: 20px;
    left: 150px;
    animation: float 1s 1;
    color: green;
    font-size: 1.2em;
    opacity: 0;
}

/* NG+3 */
#rediscover_stats {
	position: fixed;
	right: 0;
	bottom: 0;
	font-size: 10px;
	text-align: right
}

#ts_preset_menu td {
	padding: 2px
}

#ts_preset_menu button {
	width: 150px;
	height: 40px;
	font-size: 10px;
	margin: auto
}

#preset_buttons {
	background: #E0E0E0;
	border: 2px solid black;
	border-radius: 6px;

	position: fixed;
	right: 0;
	bottom: 0;
    z-index: 1;

	width: 240px;
	height: 75px;

	font-size: 10px;
	text-align: center
}
#preset_buttons button {
	width: 80px;
	height: 30px;
}
#preset_bulk_str {
	width: 450px;
	max-width: 600px;
	height: 200px;
	max-height: 250px;
}

.timestudybought.mastery {
    background: #b7d;
    border-color: #307;
}
.timestudy.quantum {
    color: #bf7;
    border: 1px solid #0f0;
    background: #130;
    box-shadow: inset 0 0 6px #0f0;
	animation: none;
}
.timestudy.quantum:hover {
    background: #070
}
.timestudybought.quantum {
    background: #7f0;
    border-color: #370;
}

/* QUANTUM ANIMATION BY: AAREX + MRREDSHARK77 */
#quani {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a640a;
    background-image: url('../images/quantum_bg.png');
    z-index: 3;
    animation: qu_bg_animation 5s linear infinite;
    pointer-events: none;
    transition: opacity 0.5s linear;
    opacity: 0;
}
@keyframes qu {
    0% {transform: scale(1); opacity: 1}
    25% {transform: scale(2, 0); opacity: 0}
    50% {transform: scale(2, 0); opacity: 1}
    75% {transform:scale(1); opacity: 0.5}
    100% {transform:scale(1); opacity: 1}
}
@keyframes qu_bg_animation {
    0% {
        background-position: 0px 0px;
    }
    100% {
        background-position: 200px 200px;
    }
}

.qtable, .qtable_4col {
	width:100%
}
.qtable td {
	min-width: 33%;
	width: 33%;
	max-width: 33%;
	text-align: center;
	vertical-align: 0
}
.qtable_4col td {
	min-width: 25%;
	width: 25%;
	max-width: 25%;
	text-align: center;
	vertical-align: 0
}

.infrared { color: #7f0000 }
div.infrared:not(.blank) {
	background: rgba(127, 0, 0, 0.25)
}

.red { color: #bf0000 }
div.red:not(.blank) {
	background: rgba(191, 0, 0, 0.25)
}

.orange {
	color: #bf5f00
}
div.orange:not(.blank) {
	background: rgba(191, 95, 0, 0.25)
}

.yellow {
	color: #bfbf00
}
div.yellow:not(.blank) {
	background: rgba(191, 191, 0, 0.25)
}

.green { color: #00bf00 }
.l_green {
	color: #007f00
}
div.green:not(.blank) {
	background: rgba(0, 191, 0, 0.25)
}

.cyan { color: #00bfbf }

.blue { color: #0000bf }
div.blue:not(.blank) {
	background: rgba(0, 0, 191, 0.25)
}

.violet {
	color: #5f00bf
}
div.violet:not(.blank) {
	background: rgba(95, 0, 191, 0.25)
}

.ultraviolet {
	color: #8f00bf
}
div.ultraviolet:not(.blank) {
	background: rgba(143, 0, 191, 0.25)
}

.grey {
	color: #9f9f9f
}
td.grey {
	background: rgba(159, 159, 159, 0.25)
}

.lEp {
	color: #bb5
}
div.lEp {
	background: #bb53
}

.lDe {
	color: #435
}
div.lDe {
	background: #4353
}

#assign_options input {
	width: 50px
}

#rg { animation: rg 5s infinite }
#gb { animation: gb 5s infinite }
#br { animation: br 5s infinite }

#gl_upgs, #gl_upgs * {
	margin: 0 auto;
	text-align: center
}

.qu_upg, .qu_upg_bought {
    width: 190px;
    height: 90px;
    border-radius: 4px;

    font-weight: bold;
	font-size: 10.5px;

    transition-duration: 0.2s;
}

.condensed {
    width: 170px;
    height: 60px;
	font-size: 9px;
}

.qu_upg.rg { animation: rgupg 5s infinite }
.qu_upg.gb { animation: gbupg 5s infinite }
.qu_upg.br { animation: brupg 5s infinite }

.qu_upg.rg:hover {
	animation: rgupghover 5s infinite;
	cursor: pointer
}
.qu_upg.gb:hover {
	animation: gbupghover 5s infinite;
	cursor: pointer
}
.qu_upg.br:hover {
	animation: brupghover 5s infinite;
	cursor: pointer
}

.qu_upg_bought.rg { animation: rgupgbought 5s infinite }
.qu_upg_bought.gb { animation: gbupgbought 5s infinite }
.qu_upg_bought.br { animation: brupgbought 5s infinite }

@keyframes rg {
	0% {color: #bf0000}
	25% {color: #bfbf00}
	50% {color: #00bf00}
	75% {color: #bfbf00}
	100% {color: #bf0000}
}
@keyframes gb {
	0% {color: #00bf00}
	25% {color: #00bfbf}
	50% {color: #0000bf}
	75% {color: #00bfbf}
	100% {color: #00bf00}
}
@keyframes br {
	0% {color: #0000bf}
	25% {color: #bf00bf}
	50% {color: #bf0000}
	75% {color: #bf00bf}
	100% {color: #0000bf}
}

@keyframes rgupg {
	0% {background-color: #1f0000; border: 1px solid #3f0000; box-shadow: inset 0px 0px 5px 0px #7f0000; color: #bf0000}
	25% {background-color: #1f1f00; border: 1px solid #3f3f00; box-shadow: inset 0px 0px 10px 0px #7f7f00; color: #7f7f00}
	50% {background-color: #001f00; border: 1px solid #003f00; box-shadow: inset 0px 0px 20px 0px #007f00; color: #007f00}
	75% {background-color: #1f1f00; border: 1px solid #3f3f00; box-shadow: inset 0px 0px 10px 0px #7f7f00; color: #7f7f00}
	100% {background-color: #1f0000; border: 1px solid #3f0000; box-shadow: inset 0px 0px 5px 0px #7f0000; color: #bf0000}
}
@keyframes gbupg {
	0% {background-color: #001f00; border: 1px solid #003f00; box-shadow: inset 0px 0px 5px 0px #007f00; color: #007f00}
	25% {background-color: #001f1f; border: 1px solid #003f3f; box-shadow: inset 0px 0px 5px 0px #007f7f; color: #007f7f}
	50% {background-color: #00001f; border: 1px solid #00003f; box-shadow: inset 0px 0px 5px 0px #00007f; color: #0000df}
	75% {background-color: #001f1f; border: 1px solid #003f3f; box-shadow: inset 0px 0px 5px 0px #007f7f; color: #007f7f}
	100% {background-color: #001f00; border: 1px solid #003f00; box-shadow: inset 0px 0px 5px 0px #007f00; color: #007f00}
}
@keyframes brupg {
	0% {background-color: #00001f; border: 1px solid #00003f; box-shadow: inset 0px 0px 5px 0px #00007f; color: #0000df}
	25% {background-color: #1f001f; border: 1px solid #3f003f; box-shadow: inset 0px 0px 5px 0px #7f007f; color: #7f007f}
	50% {background-color: #1f0000; border: 1px solid #3f0000; box-shadow: inset 0px 0px 5px 0px #7f0000; color: #bf0000}
	75% {background-color: #1f001f; border: 1px solid #3f003f; box-shadow: inset 0px 0px 5px 0px #7f007f; color: #7f007f}
	100% {background-color: #00001f; border: 1px solid #00003f; box-shadow: inset 0px 0px 5px 0px #00007f; color: #0000df}
}

@keyframes rgupghover {
	0% {background-color: #7f0000; border: 1px solid #3f0000; box-shadow: inset 0px 0px 5px 0px #bf0000; color: #1f0000}
	25% {background-color: #7f7f00; border: 1px solid #3f3f00; box-shadow: inset 0px 0px 10px 0px #bfbf00; color: #1f1f00}
	50% {background-color: #007f00; border: 1px solid #003f00; box-shadow: inset 0px 0px 20px 0px #00bf00; color: #001f00}
	75% {background-color: #7f7f00; border: 1px solid #3f3f00; box-shadow: inset 0px 0px 10px 0px #bfbf00; color: #1f1f00}
	100% {background-color: #7f0000; border: 1px solid #3f0000; box-shadow: inset 0px 0px 5px 0px #bf0000; color: #1f0000}
}
@keyframes gbupghover {
	0% {background-color: #007f00; border: 1px solid #003f00; box-shadow: inset 0px 0px 5px 0px #00bf00; color: #001f00}
	25% {background-color: #007f7f; border: 1px solid #003f3f; box-shadow: inset 0px 0px 5px 0px #00bfbf; color: #001f1f}
	50% {background-color: #00007f; border: 1px solid #00003f; box-shadow: inset 0px 0px 5px 0px #0000bf; color: #00001f}
	75% {background-color: #007f7f; border: 1px solid #003f3f; box-shadow: inset 0px 0px 5px 0px #00bfbf; color: #001f1f}
	100% {background-color: #007f00; border: 1px solid #003f00; box-shadow: inset 0px 0px 5px 0px #00bf00; color: #001f00}
}
@keyframes brupghover {
	0% {background-color: #00007f; border: 1px solid #00003f; box-shadow: inset 0px 0px 5px 0px #0000bf; color: #00001f}
	25% {background-color: #7f007f; border: 1px solid #3f003f; box-shadow: inset 0px 0px 5px 0px #bf00bf; color: #1f001f}
	50% {background-color: #7f0000; border: 1px solid #3f0000; box-shadow: inset 0px 0px 5px 0px #bf0000; color: #1f0000}
	75% {background-color: #7f007f; border: 1px solid #3f003f; box-shadow: inset 0px 0px 5px 0px #bf00bf; color: #1f001f}
	100% {background-color: #00007f; border: 1px solid #00003f; box-shadow: inset 0px 0px 5px 0px #0000bf; color: #00001f}
}

@keyframes rgupgbought {
	0% {background-color: #bf0000; border: 1px solid #7f0000; color: #1f0000}
	25% {background-color: #bfbf00; border: 1px solid #7f7f00; color: #1f1f00}
	50% {background-color: #00bf00; border: 1px solid #007f00; color: #001f00}
	75% {background-color: #bfbf00; border: 1px solid #7f7f00; color: #1f1f00}
	100% {background-color: #bf0000; border: 1px solid #7f0000; color: #1f0000}
}
@keyframes gbupgbought {
	0% {background-color: #00bf00; border: 1px solid #007f00; color: #001f00}
	25% {background-color: #00bfbf; border: 1px solid #007f7f; color: #001f1f}
	50% {background-color: #0000bf; border: 1px solid #00007f; color: #00001f}
	75% {background-color: #00bfbf; border: 1px solid #007f7f; color: #001f1f}
	100% {background-color: #00bf00; border: 1px solid #007f00; color: #001f00}
}
@keyframes brupgbought {
	0% {background-color: #0000bf; border: 1px solid #00007f; color: #00001f}
	25% {background-color: #bf00bf; border: 1px solid #7f007f; color: #1f001f}
	50% {background-color: #bf0000; border: 1px solid #7f0000; color: #1f0000}
	75% {background-color: #bf00bf; border: 1px solid #7f007f; color: #1f001f}
	100% {background-color: #0000bf; border: 1px solid #00007f; color: #00001f}
}

#tab_pos button {
	width: 180px;
	height: 90px;
	font-size: 12px
}
.positron {
	background-color: black;
	border-color: gold;
	box-shadow: inset 0px 0px 20px 0px gold;
	color: gold;
}
.positron:hover {
	background-color: gold;
	color: white;
	cursor: pointer
}

#pccompletionstable td {
	min-height: 24px;
	height: 24px;
	max-height: 24px;
	min-width: 24px;
	width: 24px;
	max-width: 24px;
	text-align: center;
	vertical-align: 50%
}
.pc1completed {
    color: #32c832;
    background: #0a640a;
    border: 2px solid #32c832;
	border-radius: 10px;
    font-weight: bold;
}
.pc2completed {
    color: #b341e0;
    background: black;
    border: 2px solid #b341e0;
	border-radius: 10px;
}
.pc3completed {
	color: #FFF;
	background: #1F1F1F;
	border: 2px solid #B67F33;
	border-radius: 10px;
}
.pc4completed {
	color: #FFF;
	background: #5AC467;
	border: 2px solid #127A20;
	border-radius: 10px;
}

.antbtn {
	background: black;
	border-style: solid;
	border-color: #555;
	border-radius: 4px;
	color: #779;
	text-shadow: 0px 0px 1px #4c4c4c, 0px 0px 2px #4c4c4c, 0px 0px 3px #4c4c4c;
	font-weight: bold;
	transition-duration: 0.2s
}
.antbtn:hover, .antbtn.hover {
	box-shadow: inset 0 0 24px #779;
	cursor: pointer
}
#replicants .qtable td { vertical-align:0 }
#produceQuarkCharge {
	width: 210px;
	height: 90px
}
.nfReward {
	background: black !important;
	border: 1px solid #4c4c4c;
	border-radius: 4px;
    width: 250px;
    height: 60px;
	color: #779;
	text-shadow: 0px 0px 1px #4c4c4c, 0px 0px 2px #4c4c4c, 0px 0px 3px #4c4c4c;
	font-size: 12px;
    font-weight: bold;
	transition-duration: 0.2s
}
.nfRewardlocked {
    background: #A3A3A3;
    border: 1px solid #B84B5F;
	border-radius: 4px;
    width: 250px;
    height: 60px;
    color: #000000;
	font-size: 12px;
    font-weight: bold;
	transition-duration: 0.2s
}
#decay_btn, #decay_radio {
	width: 210px;
	height: 80px;
	font-size: 12px
}
.qu_upg.r {
	background-color: #1f0000 !important;
	border: 1px solid #3f0000;
	box-shadow: inset 0px 0px 5px 0px #7f0000;
	text-shadow: 0px 0px 2px #1f0000, 0px 0px 2px #ff0000;
	color: #bf0000
}
.qu_upg.g {
	background-color: #001f00 !important;
	border: 1px solid #003f00;
	box-shadow: inset 0px 0px 5px 0px #007f00;
	text-shadow: 0px 0px 2px #001f00, 0px 0px 2px #00ff00;
	color: #007f00
}
.qu_upg.b {
	background-color: #00001f !important;
	border: 1px solid #00003f;
	box-shadow: inset 0px 0px 5px 0px #00007f;
	text-shadow: 0px 0px 2px #00001f, 0px 0px 2px #0000ff;
	color: #0000ff
}
.qu_upg.r:hover {
	background-color: #bf0000 !important;
	border: 1px solid #3f0000;
	box-shadow: inset 0px 0px 5px 0px #bf0000;
	color: #1f0000;
	cursor: pointer
}
.qu_upg.g:hover {
	background-color: #007f00 !important;
	border: 1px solid #003f00;
	box-shadow: inset 0px 0px 5px 0px #00bf00;
	color: #001f00;
	cursor: pointer
}
.qu_upg.b:hover {
	background-color: #0000ff !important;
	border: 1px solid #00003f;
	box-shadow: inset 0px 0px 5px 0px #0000bf;
	color: #00001f;
	cursor: pointer
}

.bigrip {
	background: #373;
	box-shadow: inset 0px 0px 15px 0px #bfb;
	border: 2px solid #bfb;
	color: #7f7;
	transition-duration: 0.2s;
	font-weight: bold;
}
.bigrip:hover {
	background: white;
	color: #030;
	cursor: pointer
}
#pres_header .bigrip {
	border-radius: 4px
}
.qu_upg_bought.bigrip {
	background: #a0e5a6;
	border-color: #6b996e;
	color: #1f1f1f;
	box-shadow: inset 0px 0px 10px 0px #6b996e, inset 0px 0px 20px 0px #6b996e, inset 0px 0px 30px 0px #6b996e
}
.qu_upg_bought.bigripoff {
	background: #999999;
	border-color: #727272;
	color: #bf0000;
	box-shadow: inset 0px 0px 10px 0px #727272, inset 0px 0px 20px 0px #727272, inset 0px 0px 30px 0px #727272
}

#ghostifyani {
	position: fixed;
	width: 0%;
	height: 0%;
	left: 50%;
	top: 50%;
	overflow: hidden;
	transform: rotateZ(-120deg);
	z-index: 3;
	transition-duration: 1s;
	box-shadow: 0px 0px 240px white
}
#ghostifyanibg {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(#0c001e, #3a003f)
}
#ghostifyanitext {
	position: absolute;
	left: -100%;
	top: calc(50% - 54px);
	width: 100%;
	text-align: center;
	opacity: 0;
	animation: ghostifytext 4s linear infinite;
	transition-duration: 0.5s
}

.brCompleted {
	background: linear-gradient(#0c0033, #2e0033);
	box-shadow: inset 0px 0px 24px 0px black;
	border: 2px solid transparent;
	font-weight: bold;
	border-radius: 10px;
	transition-duration: 0.2s;
	animation: ghostifytext 4s linear infinite
}
.brCompleted[ach-tooltip]:before, .bRune[ach-tooltip]:before {
	text-shadow: none !important
}

#ghostlyNewsTicker {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0px;
	animation: ghostifytext 4s linear infinite;
	background: linear-gradient(#0c0033, #2e0033);
	overflow: hidden;
	transition-duration: 1s
}
#ghostlyNewsTickerText {
	position: absolute;
	font-size: 16px;
    white-space: nowrap
}
#ghostlyNewsTickerBlock {
	height: 0px;
	transition-duration: 1s
}

#automaticghosts button {
    width: 100px
}
#automaticghosts input {
	width: 100px
}
#automaticghosts .autoBuyerDiv {
	text-align: center;
	position: relative;
    transition-duration: 0.2s
}
#automaticghosts .top {
	position: absolute;
	width: 200px;
	left: calc(50% - 100px);
	top: 10px;
}
#automaticghosts .bottom {
	position: absolute;
	width: 200px;
	left: calc(50% - 100px);
	bottom: 10px;
	font-size: 10px
}
#automaticghosts .bottom input {
	height: 15px;
	font-size: 11px
}
#autoAntTable .autoBuyerDiv {
    width: 120px;
    height: 60px;
    padding: 5px;
}
#autoAntCustomTable .autoBuyerDiv {
	width: 200px;
    height: 150px;
}

.neutrinos {
	font-size: 25px
}
.qu_upg.neutrinoupg {
	background: #111;
	border: 1px solid #bbb;
	box-shadow: inset 0px 0px 20px 0px #bbb;
	color: #bbb;
	text-shadow: 0px 0px 3px #bfbfbf
}
.qu_upg.neutrinoupg:hover {
	background: #777;
	cursor: pointer
}
.qu_upg_bought.neutrinoupg {
	background: #bfcfbf !important;
	border: 1px solid #7f9f7f;
	color: #2f5f2f;
	text-shadow: 0px 0px 3px #2f5f2f
}

.photon {
	background: #ff7;
	border: 1px solid #bb3;
	box-shadow: inset 0px 0px 20px 0px #ffb;
	transition-duration: 0.5s
}
.photon.slot {
	width: 90px;
	height: 90px;
}
.photon:hover {
	background: white;
	color: #330;
	cursor: pointer
}
.photon.choosed {
	background: #7f7;
	border: 1px solid #3b3;
	box-shadow: inset 0px 0px 20px 0px #bfb
}
.table_flex {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
}
.light {
	width: 300px;
	height: 120px;
	border: 0 solid;
	border-radius: 3px;
	transition-duration: 0.5s
}

.bosonic_btn {
	background: linear-gradient(#307, transparent), linear-gradient(#50b, transparent), linear-gradient(#307, #310, #307);
	background-size: 25% 25%, 50% 50%, 100% 100%;
	box-shadow: inset 0 0 6px 0 #b50;
	text-shadow: 0 0 6px #f50;
	color: #db7;
	border: 2px solid #b50;
	font-weight: bold;
	border-radius: 4px;
	transition-duration: 0.2s;
	animation: bl 4s linear infinite
}
.bosonic_btn:hover {
	box-shadow: inset 0 0 24px 0 #b50;
	color: #f50;
	text-shadow: 0 0 6px #f50;
	cursor: pointer
}

.hypo {
	display: inline-block;
	border-radius: 0.5em 0 0.5em 0;
	height: 1em;
	width: 1em;
	color: #0007;
	font-weight: bold
}
.hypo.hypo2 {
	background: #b67f33;
	box-shadow: 0px 0px 12px #b67f33;
}
.hypo.hypo3 {
	background: #b341e0;
	box-shadow: 0px 0px 12px #b341e0
}
.hypo.hypo4 {
	background: #32c832;
	box-shadow: 0px 0px 12px #32c832
}
.hypo.hypo5 {
	background: #e900ff;
	box-shadow: 0px 0px 12px #6a00ff
}
.hypo.hypo6 {
	background: #3f6fff;
	box-shadow: 0px 0px 12px #002fbf
}
.hypo.hypo7 {
	background: #26f4c1;
	box-shadow: 0px 0px 12px #26f4c1
}
.hypo.hypo8 {
	background: #6a6ca3;
	box-shadow: 0px 0px 12px #6a6ca3
}

.hypo_btn {
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 6px;
	background: #0001;

	cursor: pointer;
	transition-duration: 0.2s;
}
.hypo_btn:hover {
	background: #0003
}
.hypo_btn.chosen {
	background: #0f03
}
.hypo_btn .hypo {
	padding: auto;
	font-size: 20px
}

#hypotheses {
	font-size: 14px;
	margin: auto
}
#hypo_field td {
	margin: auto;
	padding: 0
}

.qu_upg.hb {
	background: radial-gradient(transparent, transparent, #0fb3, #0007), linear-gradient(#053, #035, #053);
	background-position: center;
	border: 2px solid #bbf;
	color: #dfd;
	animation: hb 5s ease infinite
}

.qu_upg.hb:hover {
	border: 2px solid #77f;
	box-shadow: inset 0px 0px 24px #00b;
	cursor: pointer
}

@keyframes hb { 
	0%{
		background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%
	}
	50%{
		background-size: 120% 120%, 110% 110%, 120% 120%, 80% 80%
	}
	100%{
		background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%
	}
}

.hb_boost {
	position: relative;
	width: 480px;
	height: 72px
}
.hb_boost .id {
	bottom: 0;
	left: 0;
	width: 60px;
	height: 36px;
	border-radius: 72px 0 0 72px;
	font-size: 24px;
	font-weight: bold;
	color: #0007;
}
.hb_boost .eff {
	bottom: 36px;
	background: transparent;
}
.hb_boost .boost {
	bottom: 0;
	right: 0;
	width: 420px;
	height: 72px;
	line-height: 0;
	border-radius: 72px 72px 72px 0;
}
.hb_boost .btn {
	height: 72px;
	width: 72px;

	background: radial-gradient(black, #0fb);
	background-position: center;
	border: 3px solid #0fb;
	border-radius: 72px;

	font-size: 36px;
	color: #7fb;

	transition-duration: 0.3s
}
.hb_boost .btn:hover, .hb_boost .btn.chosen {
	box-shadow: inset 0 0 36px white, 0 0 36px #0fb;
	border-color: white;
	cursor: pointer
}
.hb_boost .charger {
	background: radial-gradient(black, #fb0);
	background-position: center;
	border: 3px solid #fb0;
	color: #fb7;
}
.hb_boost .locked {
    color: #000000;
    background: #A3A3A3;
    font-weight: bold;
    border: 1px solid #B84B5F;
}
.hb_boost div {
	position: absolute;
	background: #7fb7;
}

/*.gv {
	color: #7fdfff;
	animation: gv 5s ease infinite
}
.qu_upg.gw {
	background: linear-gradient(90deg, #3f5f7f, transparent, #3f5f7f), linear-gradient(black, transparent, black), linear-gradient(#003fbf, black, #003fbf);
    box-shadow: inset 0px 0px 20px 0px #003fbf;
	background-position: center;
	border: 1px solid rgba(0, 127, 191, 0.75);
	color: #bfcfff;
	text-shadow: 0px 0px 3px #005f7f, 0px 0px 6px #005f7f;
	animation: hb 5s ease infinite
}
.qu_upg.gw:hover {
    box-shadow: inset 0px 0px 60px 0px #003fbf;
	color: #003fbf;
	text-shadow: 0px 0px 3px #003fbf, 0px 0px 6px #003fbf;
	cursor: pointer
}

.timestudy.forbidden {
	background: linear-gradient(90deg, black, transparent, black), linear-gradient(#b0f, black, #f0f) !important;
	box-shadow: 0 0 0 #b0f !important;
	color: #b7f
}
.timestudy.forbidden:hover {
	box-shadow: 0 0 60px #b0f !important;
	color: white
}*/

@media print,
screen and (max-width: 960px) {
    div.wrapper {
        width: auto;
        margin: 0;
    }
    header,
    section,
    footer {
        float: none;
        position: static;
        width: auto;
    }
    header {
        padding-right: 320px;
    }
    section {
        border: 1px solid #e5e5e5;
        border-width: 1px 0;
        padding: 20px 0;
        margin: 0 0 20px;
    }
    header a small {
        display: inline;
    }
    header ul {
        position: absolute;
        right: 50px;
        top: 52px;
    }
}

@media print,
screen and (max-width: 720px) {
    body {
        word-wrap: break-word;
    }
    header {
        padding: 0;
    }
    header ul,
    header p.view {
        position: static;
    }
    pre,
    code {
        word-wrap: normal;
    }
}

@media print,
screen and (max-width: 480px) {
    body {
        padding: 15px;
    }
    header ul {
        width: 99%;
    }
    header li,
    header ul li+li+li {
        width: 33%;
    }
}

@media print {
    body {
        padding: 0.4in;
        font-size: 12pt;
        color: #444;
    }
}

@keyframes studyGlowIn {
    0%  {box-shadow: inset 0px 0px 3px 0px #b341e0;}
    50% {box-shadow: inset 0px 0px 15px 0px #b341e0;}
    100%  {box-shadow: inset 0px 0px 3px 0px #b341e0;}
}

@keyframes normalDimStudyGlowIn {
    0%  {box-shadow: inset 0px 0px 3px 0px #22aa48;}
    50% {box-shadow: inset 0px 0px 20px 0px #22aa48;}
    100%  {box-shadow: inset 0px 0px 3px 0px #22aa48;}
}

@keyframes infDimStudyGlowIn {
    0%  {box-shadow: inset 0px 0px 3px 0px #B67F33;}
    50% {box-shadow: inset 0px 0px 20px 0px #B67F33;}
    100%  {box-shadow: inset 0px 0px 3px 0px #B67F33;}
}

@keyframes timeDimStudyGlowIn {
    0%  {box-shadow: inset 0px 0px 3px 0px #B241E3;}
    50% {box-shadow: inset 0px 0px 20px 0px #B241E3;}
    100%  {box-shadow: inset 0px 0px 3px 0px #B241E3;}
}

@keyframes activeStudyGlowIn {
    0%  {box-shadow: inset 0px 0px 3px 0px #FF0100;}
    50% {box-shadow: inset 0px 0px 20px 0px #FF0100;}
    100% {box-shadow: inset 0px 0px 3px 0px #FF0100;}
}

@keyframes passiveStudyGlowIn {
    0%  {box-shadow: inset 0px 0px 3px 0px #5E33B6;}
    50% {box-shadow: inset 0px 0px 20px 0px #5E33B6;}
    100% {box-shadow: inset 0px 0px 3px 0px #5E33B6;}
}

@keyframes idleStudyGlowIn {
    0%  {box-shadow: inset 0px 0px 3px 0px #0080ff;}
    50% {box-shadow: inset 0px 0px 20px 0px #0080ff;}
    100% {box-shadow: inset 0px 0px 3px 0px #0080ff;}
}

@keyframes eternityChallengeGlowIn {
    0%  {box-shadow: inset 0px 0px 3px 0px #490066;}
    50% {box-shadow: inset 0px 0px 20px 0px #490066;}
    100% {box-shadow: inset 0px 0px 3px 0px #490066;}
}

@keyframes darkStudyGlowIn {
    0%  {box-shadow: inset 0px 0px 3px 0px white;}
    50% {box-shadow: inset 0px 0px 20px 0px white;}
    100% {box-shadow: inset 0px 0px 3px 0px white;}
}

@keyframes lightStudyGlowIn {
    0%  {box-shadow: inset 0px 0px 3px 0px black;}
    50% {box-shadow: inset 0px 0px 20px 0px black;}
    100% {box-shadow: inset 0px 0px 3px 0px black;}
}

@keyframes dilationBtnGlow {
    0%  {box-shadow: inset 5px 0px 20px #64DD17;}
    25% {box-shadow: inset 0px 5px 20px #64DD17;}
    50% {box-shadow: inset -5px 0px 20px #64DD17;}
    75% {box-shadow: inset 0px -5px 20px #64DD17;}
    100% {box-shadow: inset 5px 0px 20px #64DD17;}
}

@keyframes dilationBtnGlow2 {
    0%  {box-shadow: inset -5px 0px 20px #64ddad;}
    25% {box-shadow: inset 0px -5px 20px #64ddad;}
    50% {box-shadow: inset 5px 0px 20px #64ddad;}
    75% {box-shadow: inset 0px 5px 20px #64ddad;}
    100% {box-shadow: inset -5px 0px 20px #64ddad;}
}

@keyframes barrelRoll {
    0%  {transform: rotateZ(0deg);}
    50% {transform: rotateZ(360deg);}
    100% {transform: rotateZ(360deg);}
}

@keyframes spin3d {
    0%  {transform: rotate3d(5.2, -2.8, 1.4, 0deg);}
    100% {transform: rotate3d(5.2, -2.8, 1.4, 360deg);}
}

@keyframes float {
    0% { bottom: 0px; opacity: 0;}
    50% {opacity: 1; }
    100% { bottom: 50px; opacity: 0;}
}

@keyframes implode {
    0% {transform:scale(1); filter:blur(0px)}
    50% {transform:scale(0); filter:blur(5px)}
    100% {transform:scale(1); filter:blur(0px)}
}

@keyframes ghostifytext { 
	0%{
		border-color: #3f007f;
		color: #bfbfdf;
		text-shadow: 0px 0px 5px white, 0px 0px 6px #1f00ff;
	}
	50% {
		border-color: #1f007f;
		color: #efbfdf;
		text-shadow: 0px 0px 6px white, 0px 0px 6px #3f00ff;
	}
	100%{
		border-color: #3f007f;
		color: #bfbfdf;
		text-shadow: 0px 0px 5px white, 0px 0px 6px #1f00ff;
	}
}

/* NG+3 REDISCOVERY */
#rediscover_sections td {
	height: 36px;
	padding: 0
}
#rediscover_sections button {
	width: 100%;
	height: 36px;
	margin: 0
}

/* NG+3 FEATURES */
#ngp3_feature_ani {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 3;
	transition-duration: 0.5s
}
#ngp3_feature_ani_1 {
	position: absolute;
	background: white;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	transition-duration: 1s
}
#ngp3_feature_ani_2a {
	position: absolute;
	background: #7fff00;
	width: 0%;
	height: 0%;
	left: 50%;
	top: 50%;
	transition-duration: 1s
}
#ngp3_feature_ani_2b {
	position: absolute;
	background: #00ffff;
	width: 0%;
	height: 0%;
	left: 50%;
	top: 50%;
	transition-duration: 2s
}
#ngp3_feature_ani_3 {
	position: absolute;
	background: #070;
	width: 100%;
	height: 60px;
	top: calc(50% - 30px);
	animation: blink 2s linear;
}
#ngp3_feature_ani_4 {
	position: absolute;
	width: 100%;
	height: 30px;
	top: 5px;
    font-family: var(--font);
	text-align: center;
	font-size: 30px;
	animation: rainbow 4s linear infinite;
}
#ngp3_feature_ani_5 {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: linear-gradient(#9fff00, transparent)
}
@keyframes blink { 
	0%{
		box-shadow: 0px 0px 6px rgba(63, 255, 0, 0.75), 0px 0px 0px #7fff00, 0px 0px 0px #00ffff;
	}
	50%{
		box-shadow: 0px 0px 6px rgba(63, 255, 0, 0.75), 0px 0px 60px #7fff00, 0px 0px 120px #00ffff;
	}
	100%{
		box-shadow: 0px 0px 6px rgba(63, 255, 0, 0.75), 0px 0px 120px transparent, 0px 0px 240px transparent;
	}
}
@keyframes rainbow { 
	0%{
		color: rgba(255, 127, 127, 0.75)
	}
	16%{
		color: rgba(255, 255, 127, 0.75)
	}
	33%{
		color: rgba(127, 255, 127, 0.75)
	}
	50%{
		color: rgba(127, 255, 255, 0.75)
	}
	67%{
		color: rgba(127, 127, 255, 0.75)
	}
	83%{
		color: rgba(255, 127, 255, 0.75)
	}
	100%{
		color: rgba(255, 127, 127, 0.75)
	}
}