body{
	max-width:none;
}
.main{
	max-width: 80rem;
	margin:0 auto;
	box-sizing: border-box;
	padding:0;
}
.panes{
	display: flex;
	justify-content: center;
	flex-wrap:wrap;
}

.left{
	width:30rem;
	margin:1rem;
}

.right{
	width:30rem;
	margin:1rem;
}

.map{
	margin:0 auto;
	width:30rem;
	height:30rem;
	border:solid 1px white;
	position: relative;
}

.calendar{
	position: absolute;
	transform: translate(0.2rem, 0rem);
}

.gdp{
	position:absolute;
	width:10rem;
	top:0;
	right:0;
	text-align: right;
}

.lastgdp{
	position:absolute;
	width:10rem;
	top:1.1rem;
	right:0;
	text-align: right;
	color:rgb(97, 97, 97);
	cursor: pointer;
	min-height:1.6rem;
}

.sprite{
	width:2rem;
	height:2rem;
	border:solid 1px gray;
	position: absolute;
	transform: translate(20rem, 20rem);
	transition:transform 1s;
}

.house{
	width:2rem;
	height:2rem;
	/* border:solid 1px gray; */
	position: absolute;
	transform: translate(20rem, 20rem);
	transition:transform 1s;
	background-image: url("/img/house.gif");
	background-size: cover;
	cursor: pointer;
}

.plot{
	width:2rem;
	height:2rem;
	/* border:solid 1px gray; */
	position: absolute;
	transform: translate(20rem, 20rem);
	transition:transform 1s;
	background-image: url("/img/grass.gif");
	background-size: cover;
	cursor: pointer;
}

.plot.Cultivating{
	background-image: url("/img/growtree.gif");
}

.plot.Harvesting{
	background-image: url("/img/appletree.gif");
}

.plot.Bankrupt{
	background-image: url("/img/closed.png");
}

.plot.Planning{
	background-image: url("/img/opening.png");
}

.bank{
	width:4rem;
	height:4rem;
	/* border:solid 1px gray; */
	position: absolute;
	transform: translate(13rem, 0rem);
	transition:transform 1s;
	background-image: url("/img/bank.png");
	background-size: cover;
	cursor: pointer;
}

.market{
	width:4rem;
	height:4rem;
	/* border:solid 1px gray; */
	position: absolute;
	transform: translate(13rem, 26rem);
	background-image: url("/img/marketempty.png");
	background-size: 4rem;
	cursor: pointer;
}

.marketover{
	width:1rem;
	height:4rem;
	position: absolute;
	transform: translate(13rem, 26rem);
	background-image: url("/img/market.png");
	background-size: 4rem;
	cursor: pointer;
}

.popup{
	width:20rem;
	height:16rem;
	position: absolute;
	transition:transform 0.5s;
	transform: translate(5rem, 7rem) rotate3d(1, 1, 1, 1.5turn) scale(0.01,0.01);
	background-color: #141414;
	border: 1px rgb(196, 193, 193) solid;
	box-shadow: 0.8rem 0.8rem rgb(0, 0, 0);
}

.popup.vis{
	transform: translate(5rem, 7rem);
	transition:transform 0s;
}

.pophead{
	height:2rem;
	background-color: rgb(46, 46, 46);
	padding: 0 0.5rem;
}

.popbod{
	white-space: pre;
	padding: 0.5rem;
}

.closex{
	width:2rem;
	height:2rem;
	float:right;
	text-align: center;
	cursor: pointer;
	line-height: 2rem;
}


.messages{
	width: 30rem;
    margin: 0.5rem auto;
    border-left: solid white 3px;
    border-right: solid white 3px;
    padding: 4px;
    box-sizing: border-box;
    line-height: 1.5rem;
}

.controls{
	width:30rem;
	margin: 1rem auto;
	line-height: 3rem;
	display: flex;
	justify-content:space-between;
}

.metric{
	width:30rem;
	margin: 0.2rem auto;
	line-height: 3rem;
	display: flex;
	justify-content:space-between;
}

.but{
	display: inline-block;
	cursor: pointer;
	padding:0 1rem;
	background-color: white;
    color: black;
}

.graphCanvas{
	display:block;
	width:30rem;
	height:30rem;
	margin:0 auto;
}

.smlgraph{
	cursor: pointer;
}

.log{
	width:30rem;
	height:8rem;
	border:solid 1px white;
	margin:0 auto;
	overflow: hidden;
}

.logbox{
	width:30rem;
	margin:0 auto;
}

.logMsg{
	position: relative;
	min-height: 1rem;
}

.restart {
    text-align: center;
    background-color: white;
    width: 10rem;
    margin: 1rem auto;
    color: black;
    line-height: 2rem;
    cursor: pointer;
}

#tweet-container{
	width:6rem;
	display: inline-block;
	height: 28px;
}

.share {
    width: 8rem;
    border-radius: 14px;
    background-color: white;
    color: black;
    text-align: center;
    display: inline-block;
	margin: 0;
	cursor: pointer;
	height: 28px;
	font-size: 14px;
	padding: 0 3px;
	line-height:28px;
}

.shares{
	display: flex;
    justify-content: space-evenly;
	width:30rem;
	margin:0 auto;
	padding: 0.5rem;
}


table.highscores {
    max-width: 32rem;
    margin: 0 auto;
}

table.highscores td {
    padding: 2px 1rem;
}