*{box-sizing: border-box}

/* roboto-regular - latin_cyrillic-ext_cyrillic */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/roboto-v19-latin_cyrillic-ext_cyrillic-regular.eot'); /* IE9 Compat Modes */
	src: local('Roboto'), local('Roboto-Regular'),
		url('fonts/roboto-v19-latin_cyrillic-ext_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		url('fonts/roboto-v19-latin_cyrillic-ext_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
		url('fonts/roboto-v19-latin_cyrillic-ext_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
		url('fonts/roboto-v19-latin_cyrillic-ext_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
		url('fonts/roboto-v19-latin_cyrillic-ext_cyrillic-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

a { outline: none; text-decoration: none; color: #e6d0a4; transition: 0.1s linear; }
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:active { text-decoration: none; }
a:hover { text-decoration: none; cursor: pointer; filter: brightness(1.3); }

html, body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    position: relative;
	background-color: rgb(23, 33, 43);
}

body{
	font-family: 'Roboto', sans-serif;
	background-color: rgb(23, 33, 43);
	font-size: 16px;
	cursor: url("images/cursor.png"), auto;
}

.wrapper{
	height: 100%;
	overflow: hidden;
}

.content{
    display: block;
    width: 1280px;
	height: 100%;
    margin: 0 auto;
    padding: 70px 0px;
    text-align: center;
    color: #ccc;
    font-size: 16px;
}

.centeredText {
	text-align: center;
}

.button {
	-moz-box-shadow: 0px 1px 0px 0px #1c1b18;
	-webkit-box-shadow: 0px 1px 0px 0px #1c1b18;
	box-shadow: 0px 1px 0px 0px #1c1b18;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #eae0c2), color-stop(1, #ccc2a6));
	background:-moz-linear-gradient(top, #eae0c2 5%, #ccc2a6 100%);
	background:-webkit-linear-gradient(top, #eae0c2 5%, #ccc2a6 100%);
	background:-o-linear-gradient(top, #eae0c2 5%, #ccc2a6 100%);
	background:-ms-linear-gradient(top, #eae0c2 5%, #ccc2a6 100%);
	background:linear-gradient(to bottom, #eae0c2 5%, #ccc2a6 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eae0c2', endColorstr='#ccc2a6',GradientType=0);
	background-color:#eae0c2;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	border:1px solid #888;
	display:inline-block;
	cursor:pointer;
	color:#0d0c0f;
	font-size:21px;
	padding:0px 32px;
	text-decoration:none;
    text-shadow:0px 1px 0px #ffffff;
	line-height: 98px;
	vertical-align: middle;
}
.button:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ccc2a6), color-stop(1, #eae0c2));
	background:-moz-linear-gradient(top, #ccc2a6 5%, #eae0c2 100%);
	background:-webkit-linear-gradient(top, #ccc2a6 5%, #eae0c2 100%);
	background:-o-linear-gradient(top, #ccc2a6 5%, #eae0c2 100%);
	background:-ms-linear-gradient(top, #ccc2a6 5%, #eae0c2 100%);
	background:linear-gradient(to bottom, #ccc2a6 5%, #eae0c2 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ccc2a6', endColorstr='#eae0c2',GradientType=0);
	background-color:#ccc2a6;
}

.upgradeButton, .doUpgradeButton, .okButton, .mainMenuButton {
	background-color: #3c8e23;
	width: 240px;
	line-height: 40px;
	text-align: center;
	border: 0;
	cursor: pointer;
	color: #f0f0f0;
	font-weight: bold;
}
.upgradeButton {
	position: absolute;
	bottom: 10px;
	margin: auto;
	right: 0;
	left: 0;
}
.upgradeButton:hover, .doUpgradeButton:hover, .okButton:hover {
	filter: brightness(1.2);
}
.upgradeButton:disabled {
	background-color: #464646;
	pointer-events: none;
}
.doUpgradeButton:disabled, .okButton:disabled {
	background-color: #464646;
	pointer-events: none;
}
.mainMenuButton {
	display: block;
	position: absolute;
	right: 10px;
	top: 10px;
	width: auto;
	padding: 5px 7px;
	margin: 0;
	background-color: #85b7b0;
}

.homeImg {
	display: block;
	width: 50px;
	padding: 0;
	margin: 0;
	border: 0;
}

.tools {
	height: 0;
}

.fullscreen{
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	z-index: 9999;
	display: none;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.window{
	display: none;
	width: 400px;
	padding: 20px;
	background-color: #282828;
	color: white;
	border: 1px solid white;
	border-radius: 8px;
}

.wnd_title {
	text-align: center;
	font-size: 23px;
	margin-bottom: 15px;
}

.rows {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.upgradeRow {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 5px 0px;
}

.mainMenuRow {
	text-align: center;
	width: 100%;
	margin: 10px 0px;
}

.upgradeTitle {
	width: 160px;
}

.doUpgradeButton {
	width: 100px;
	line-height: 32px;
}

.moneyShow {
	text-align: center;
	font-size: 23px;
	margin: 16px 0px;
	font-weight: bold;
}

.mainMenuItem {
	display: block;
	border: 1px solid;
	background-color: transparent;
	width: 100%;
	line-height: 36px;
	font-size: 19px;
	cursor: pointer;
	color: black;
}

.helpDiv {
	line-height: 40px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
	width: 100%;
	margin: 20px 0;
}

.helpImg {
	width: 40px;
	display: inline;
	vertical-align: middle;
	outline: none;
	border: 0;
	margin: 0;
}

.helpSpan {
	display: inline;
	vertical-align: middle;
	margin-left: 16px;
}

.pausebtn{
	position: absolute;
	top: 20px;
	right: 20px;
	width: 160px;
	line-height: 36px;
	text-align: center;
}
