.gamewindow {
    position: relative;
}
.versionNum {
    font-size: 1em;
    position: relative;
    display: inline;
    float: right;
    bottom: 25px;
}
.leftbar {
    margin-top: 5px;
    margin-left: 5px;
    margin-bottom: 5px;
    width: 25%;
    height: 100%;
    position: relative;
}
.leftmenu {
    overflow: hidden;
}
.leftmenu button {
    width: 30%;
    float: left;
    outline: none;
    padding: 5px;
    transition: 0.3s;
    cursor: pointer;
    margin: 5px;
    color: white;
    font-size: 1em;
    border: solid;
    background-image: url(images/buildingbackground.jpg);
    border-image: url(images/borderimg.png) 30 stretch;
    border-image-width: 50px;
    border-image-outset: 5px;
    height: 2.5em;
    filter: brightness(85%);
}
.leftmenu button:hover {
    text-shadow: 1px 1px 1px white,
        -1px 1px 1px white;
        /*1px -1px 0 white,
        -1px -1px 0 white;*/
}
.leftmenu button.active {
    background-color: #ddd;
}
.menucontent {
    display: none;
    animation: fadeEffect 1s;
}
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
.center {
    margin-top: 5px;
    margin-bottom: 5px;
    width: 45%;
    height: 100%;
    position: fixed;
    left: 26%;
    top: 0px;
}
.rightbar {
    margin-top: 5px;
    width: 27.5%;
    position: fixed;
    right: -1px;
    top: 6%;
    height: 94%;
}
.rightbar1 {
    z-index: 0;
    position: relative;
    overflow-y: scroll;
    height: 100%;    
}
.fa {
    padding: 5px;
    font-size: 22px;
    width: 20px;
    height: 20px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    float: right;
    bottom: 5px;
    position: relative;
    border-radius: 25%;
}
.fa:hover {
    opacity: 0.7;
}
.fa-twitter {
    background: #55ACEE;
    color: white;
}
.so-patreon {
    background: #FF424D;
    color: white;
}
.topline {
    position: fixed;
    background-image: url(images/woodbar.png);
    height: 25px;
    border: 0px;
    width: 100%;
    top: 3.5%;
    left: 0px;
    z-index: 5;
}
.beanimg:hover {
    width: 275px;
    height: 275px;
}
.beanimg {
    filter: drop-shadow(3px 3px 8px black);
    width: 250px;
    height: 250px;
    transition-duration: 1s;
}
.beanimg:active {
    width: 265px;
    height: 265px;
    transition-duration: .05s;
}
.bean {
    border: none;
    background-color: transparent;
    width: 250px;
    height: 250px;
    position: fixed;
    top: 60%;
    left: 42%;
    display: block;
    transition-duration: 1s;
}
#score {
    padding-top: 200px;
    text-align: center;
    font-family: 'Open sans';
    font-size: 3em;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 2px black,
        -2px 2px 2px black,
        2px -2px 0 black,
        -2px -2px 0 black;
}
#cps {
    text-align: center;
    font-family: 'Open sans';
    color: white;
    text-shadow: 1px 1px 2px black,
        -1px 1px 2px black,
        1px -1px 0 black,
        -1px -1px 0 black;
}
.helphand {
    display: block;
    width: 100%;
    height: 8em;
    background-image: url(images/buildingbackground.jpg);
    position: relative;
}
.buildingLocked img {
    filter: brightness(0%);
}
.buildingLocked h3 {
    filter: blur(5px);
}
.helphand:active{
    filter: brightness(50%);/*this makes a darkened effect when clicked*/
}
.helphand:hover {
    filter: brightness(115%);
}
.helphandimg {
    padding-top: 10px;
    width: 6em;
    height: 6em;
    float: left;
}
.buildingTitleH3 {
    margin-top: 15px;
    font-size: 2em;
}
.buildingTitleCost {
    display: inline;
    position: absolute;
    top: 50px;
    left: 100px;
}
.buildingTitleH1 {
    display: inline;
    position: relative;
    font-size: 3em;
    top: -50px;
    left: 290px;
}
.helphandtitle {
    display: inline;
    float: left;
    color: white;
    padding-left: 10px;
    font-family: 'Open sans';
}
.helphandtitle p {
    display: inline;
    position: relative;
}
.helphandtitle h1{
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 3em;
}
.farmerjoe {
    display: block;
    width: 100%;
    height: 8em;
    background-image: url(images/buildingbackground.jpg);
    position: relative;
}
.cantbuy {
    filter: brightness(25%);
}
.farmerjoe:active {
    filter: brightness(50%);
}
.farmerjoe:hover {
    filter: brightness(115%);
}
.farmerjoeimg {
    padding-top: 10px;
    width: 6em;
    height: 6em;
    float: left;
}
.farmerjoetitle {
    display: inline;
    float: left;
    color: white;
    padding-left: 10px;
    font-family: 'Open sans';
}
.farmerjoetitle p {
    display: inline;
    position: relative;
}
.farmerjoetitle h1{
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 3em;
}
.field {
    position: relative;
    display: block;
    width: 100%;
    height: 8em;
    background-image: url(images/buildingbackground.jpg);
}
.field:active {
    filter: brightness(50%);
}
.field:hover {
    filter: brightness(115%);
}
.fieldimg {
    padding-top: 10px;
    width: 6em;
    height: 6em;
    float: left;
}
.fieldtitle {
    display: inline;
    float: left;
    color: white;
    padding-left: 10px;
}
.fieldtitle p {
    display: inline;
    position: relative;
}
.fieldtitle h1{
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 3em;
}
.harvester {
    position: relative;
    display: block;
    width: 100%;
    height: 8em;
    background-image: url(images/buildingbackground.jpg);
}
.harvester:active {
    filter: brightness(50%);
}
.harvester:hover {
    filter: brightness(115%);
}
.harvesterimg {
    padding-top: 10px;
    width: 6em;
    height: 6em;
    float: left;
}
.harvestertitle {
    display: inline;
    float: left;
    color: white;
    padding-left: 10px;
}
.harvestertitle p {
    display: inline;
    position: relative;
}
.harvestertitle h1{
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 3em;
}
.greenhouse {
    position: relative;
    display: block;
    width: 100%;
    height: 8em;
    background-image: url(images/buildingbackground.jpg);
}
.greenhouse:active {
    filter: brightness(50%);
}
.greenhouse:hover {
    filter: brightness(115%);
}
.greenhouseimg {
    padding-top: 10px;
    width: 6em;
    height: 6em;
    float: left;
}
.greenhousetitle {
    display: inline;
    float: left;
    color: white;
    padding-left: 10px;
}
.greenhousetitle p {
    display: inline;
    position: relative;
}
.greenhousetitle h1{
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 3em;
}
.skyscraper {
    position: relative;
    display: block;
    width: 100%;
    height: 8em;
    background-image: url(images/buildingbackground.jpg);
}
.skyscraper:active {
    filter: brightness(50%);
}
.skyscraper:hover {
    filter: brightness(115%);
}
.skyscraperimg {
    padding-top: 10px;
    width: 6em;
    height: 6em;
    float: left;
}
.skyscrapertitle {
    display: inline;
    float: left;
    color: white;
    padding-left: 10px;
}
.skyscrapertitle p {
    display: inline;
    position: relative;
}
.skyscrapertitle h1{
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 3em;
}
.bunker {
    position: relative;
    display: block;
    width: 100%;
    height: 8em;
    background-image: url(images/buildingbackground.jpg);
}
.bunker:active {
    filter: brightness(50%);
}
.bunker:hover {
    filter: brightness(115%);
}
.bunkerimg {
    padding-top: 10px;
    width: 6em;
    height: 6em;
    float: left;
}
.bunkertitle {
    display: inline;
    float: left;
    color: white;
    padding-left: 10px;
}
.bunkertitle p {
    display: inline;
    position: relative;
}
.bunkertitle h1{
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 3em;
}
.replicator {
    position: relative;
    display: block;
    width: 100%;
    height: 8em;
    background-image: url(images/buildingbackground.jpg);
}
.replicator:active {
    filter: brightness(50%);
}
.replicator:hover {
    filter: brightness(115%);
}
.replicatorimg {
    padding-top: 10px;
    width: 6em;
    height: 6em;
    float: left;
}
.replicatortitle {
    display: inline;
    float: left;
    color: white;
    padding-left: 10px;
}
.replicatortitle p {
    display: inline;
    position: relative;
}
.replicatortitle h1{
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 3em;
}
.planet {
    position: relative;
    display: block;
    width: 100%;
    height: 8em;
    background-image: url(images/buildingbackground.jpg);
}
.planet:active {
    filter: brightness(50%);
}
.planet:hover {
    filter: brightness(115%);
}
.planetimg {
    padding-top: 10px;
    width: 6em;
    height: 6em;
    float: left;
}
.planettitle {
    display: inline;
    float: left;
    color: white;
    padding-left: 10px;
}
.planettitle p {
    display: inline;
    position: relative;
}
.planettitle h1{
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 3em;
}
.transmutator {
    position: relative;
    display: block;
    width: 100%;
    height: 8em;
    background-image: url(images/buildingbackground.jpg);
}
.transmutator:active {
    filter: brightness(50%);
}
.transmutator:hover {
    filter: brightness(115%);
}
.transmutatorimg {
    padding-top: 10px;
    width: 6em;
    height: 6em;
    float: left;
}
.transmutatortitle {
    display: inline;
    float: left;
    color: white;
    padding-left: 10px;
}
.transmutatortitle p {
    display: inline;
    position: relative;
}
.transmutatortitle h1{
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 3em;
}

.clickscore {
    font-size: 3em;
    animation: scorefade;
    animation-duration: 1.5s;
    position: absolute;
}
@keyframes scorefade {
    from {opacity: 1;}
    to {opacity: 0; top: 250px;}
}

div #active {
    display: block;
}
div #inactive {
    display: none;
}
.relative {
    position: relative;
}
.notifbar {
    align-content: center;
    width: 100%;
    position: absolute;
    bottom: 0px;
}
@keyframes savefade {
    from {bottom: 0px; opacity: 1;}
    to {bottom: 100px; opacity: 0;}
}
.topbar {
    z-index: 4;
    width: 100%;
    display: block;
    color: white;
    font-family: 'Open sans';
}
.topbar p {
    margin-left: 40%;
    display: inline;
}
.topbar button {
    display: inline;
}
.topbarBG {
    z-index: -3;
    position: absolute;
    background-image: url(images/descBg.jpg);
    width: 100%;
    height: 6%;
    top: 0px;
    left: 0px;
}
.available {
    position: relative;
    z-index: 1;
    background-image: url(images/buildingbackground.jpg);
    margin-top: 35px;
    width: 100%;
    height: 10.6em;
}
.availableborder {
    position: absolute;
    top: -5px;
    border: solid;
    border-image: url(images/borderimg.png) 25 round;
    border-image-width: 50px;
    border-image-outset: 10px;
    height: 10.5em;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(1px 1px 5px black);
}
.achievementstab {
    position: relative;
    background-image: url(images/buildingbackground.jpg);
    margin-top: 35px;
    width: 100%;
    height: 32em;
    overflow-y: scroll;
}
.achievementsborder {
    position: absolute;
    margin-top: -5px;
    border: solid;
    border-image: url(images/borderimg.png) 25 round;
    border-image-width: 50px;
    border-image-outset: 10px;
    height: 32em;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(1px 1px 5px black);
}
#achievementHold {
    padding-top: 20px;
    padding-left: 12px;
}
.purchasedborder {
    pointer-events: none;
    position: absolute;
    margin-top: 35px;
    border: solid;
    border-image: url(images/borderimg.png) 25 round;
    border-image-width: 50px;
    border-image-outset: 10px;
    height: 15.8em;
    width: 100%;
    z-index: 2;
    filter: drop-shadow(1px 1px 5px black);
}
.statsborder {
    pointer-events: none;
    position: absolute;
    border: solid;
    border-image: url(images/borderimg.png) 25 round;
    border-image-width: 50px;
    border-image-outset: 10px;
    height: 15.8em;
    width: 100%;
    z-index: 2;
    filter: drop-shadow(1px 1px 5px black);
}
.newsborder {
    pointer-events: none;
    position: absolute;
    border: solid;
    border-image: url(images/borderimg.png) 25 round;
    border-image-width: 50px;
    border-image-outset: 10px;
    height: 32em;
    width: 100%;
    z-index: 2;
    filter: drop-shadow(1px 1px 5px black);
}
.buildingborder {
    pointer-events: none;
    position: fixed;
    border: solid;
    border-image: url(images/borderimg.png) 25 round;
    border-image-width: 0px 0px 0px 50px;
    border-image-outset: 10px;
    top: 7%;
    height: 100%;
    width: 100%;
    z-index: 1;
    filter: drop-shadow(1px 1px 5px black);
}
#availablehold {
    padding-top: 20px;
    padding-left: 12px;
    height: 9.5em;
    position: relative;
    overflow-y: auto;
}
.availTitle {
    position: absolute;
    background-color: black;
    color: white;
    width: 100%;
    height: 1.4em;
    z-index: 1;
}
.availTitle p {
    margin-left: 20px;
    position: relative;
    font-family: 'Open sans';
    display: inline;
}
.purchased { /*references the entire div unit*/
    margin-top: 40px;
    background-image: url(images/buildingbackground.jpg);
    width: 100%;
    height: 16em;
    overflow-y: scroll;
}
#purchased {/*references the table the images lay in*/
    padding-top: 20px;
    padding-left: 12px;
}
.purchTitle {
    position: absolute;
    background-color: black;
    color: white;
    width: 100%;
    height: 1.4em;
}
.purchTitle p {
    margin-left: 20px;
    position: relative;
    font-family: 'Open sans';
    display: inline;
}
.small {
    font-size: .8em;
}
.availableUp {
    padding: 5px;
    width: 64px;
    height: 64px;
}
.purchased img {
    padding: 5px;
    width: 64px;
    height: 64px;
}
.availableUp:hover {
    width: 67px;
    height: 67px;
}
.available .unavailable {
    display: none;
}

.hide {
    display: none;
}
.showBuild {
    background-image: url(images/descBg.jpg);
    border-image: url(images/frame1.png) 30% round;
    border-style: solid;
    border-width: 15px;
    display: block;
    position: fixed;
    top: 0px;
    right: 0px;
    width: 25%;
    color: white;
    z-index: 100;
    font-family: 'Open sans';
}
div.showBuild h5 {
    margin: 0px;
    font-size: 1.5em;
}
div.showBuild p {
    font-size: .80em;
    letter-spacing: 1px;
}
div.showBuild li {
    font-size: .75em;
    letter-spacing: 1px;
    color: #b6b6b6;
}
div.showBuild li span {
    color: white;
}
.showUpgrade {
    background-image: url(images/descBg.jpg);
    border-image: url(images/frame1.png) 30% round;
    border-style: solid;
    border-width: 15px;
    padding: 1px;
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    color: white;
    z-index: 10;
    font-family: 'Open sans';

}
div.showUpgrade h5 {
    margin: 0px;
    font-size: 1.5em;
}
div.showUpgrade p {
    font-size: .85em;
    letter-spacing: 1px;
    color: #b6b6b6;
    display: inline;
}
div.showUpgrade p span {
    color: white;
    font-weight: 600;
}
.showUpgrade img {
    position: relative;
    top: 3px;
    left: 5px;
    display: inline;
}
.daymode {
    background-image: url(images/bg2.jpg);
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}
.nightmode {
    background-image: url(images/bgnm.jpg);
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}
#leftmenuarrow {
    position: fixed;
    top: 90%;
    left: 27%;
    width: 64px;
    height: 64px;
    transition-duration: 1s;
}
#leftmenuarrow:hover {
    width: 80px;
    height: 80px;
}
#rightmenuarrow {
    position: fixed;
    top: 90%;
    left: 67.5%;
    width: 64px;
    height: 64px;
    transition-duration: 1s;
}
#rightmenuarrow:hover {
    width: 80px;
    height: 80px;
}
.achievements {
    width: 64px;
    height: 64px;
}
.achievements:hover {
    width: 70px;
    height: 70px;
}
.achiveimgstyle  {
    display: inline;
    position: absolute;
    top: 10px;
    left: 5px;
    width: 64px;
    height: 64px;
}
.achivenotif {
    width: 35%;
    height: 80px;
    margin: 0 auto;
    background-image: url(images/descBg.jpg);
    border-image: url(images/frame1.png) 30% round;
    border-style: solid;
    border-width: 15px;
    color: white;
}
.achivebtn {
    position: relative;
    bottom: 100px;
    left: 150px;
    background: none;
    border: none;
    color: white;
}
.achivetext p {
    position: absolute;
}
.achivetext h3 {
    position: absolute;
}
.showAchive {
    background-image: url(images/descBg.jpg);
    border-image: url(images/frame1.png) 30% round;
    border-style: solid;
    border-width: 15px;
    padding: 1px;
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    color: white;
    z-index: 3;
    font-family: 'Open sans';
}
.showAchive h5 {
    margin: 0px;
    font-size: 1.5em;
}
div.showAchive p {
    font-size: .85em;
    letter-spacing: 1px;
    display: inline;
    color: #b6b6b6;
}
.stats {
    border: 1px solid black;
    background-image: url(images/buildingbackground.jpg);
    margin-top: 35px;
    width: 100%;
    height: 16em;
    overflow-y: scroll;
}
.stats p {
    padding-left: 15px;
    color: white;
    margin: 10px;
    text-shadow: 1px 1px 1px black,
        -1px 1px 1px black,
        1px -1px 0 black,
        -1px -1px 0 black;
}
.statsHold {
    padding-left: 12px;
    padding-top: 20px;
}
.settings {
    position: relative;
    background-image: url(images/buildingbackground.jpg);
    margin-top: 35px;
    width: 100%;
    height: 10.6em;
}
.settings button {
    margin-top: 20px;
    margin-left: 20px;
}
.news {
    border: 1px solid black;
    background-image: url(images/buildingbackground.jpg);
    margin-top: 35px;
    width: 100%;
    height: 32em;
    overflow-y: scroll;
}
.news div.version {
    font-family: 'Open sans';
    padding-left: 15px;
    color: white;
    margin: 10px;
    line-height: 150%;
    text-shadow: 1px 1px 1px black,
        -1px 1px 1px black,
        1px -1px 0 black,
        -1px -1px 0 black;
}
.version span {
    font-size: .75em;
}
.grey {
    color: #898989;
} /*before cleanup 973*/