#buy-worker-window{
	display:none;
}
#buy-worker-area, #sell-worker-area, #sell-building-area {
	vertical-align: middle;
	margin-top: 5px;
}
#buy-worker-area button, #sell-worker-area button, #sell-building-area button{
	padding-left:5px;
	padding-right:5px;
}
#sell-building-area {
	margin-bottom: 5px;
}
.absolute-window {
	position: absolute;
	top: 200px;
	left: 200px;
	background: white;
	border: 1px solid black;
}

.absolute-window, .window-header/*, .close-button*/ {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.window-container {
	position: relative;
	overflow: auto;
	text-align: center;
}
.window-name {
	margin-top: 0px;
	margin-bottom: 0px;
	font-size: 20px;
    text-shadow: 0px 0px 0px #D18E21, 1px 1px 0px #BC790C, 2px 2px 0px #A66300, 3px 3px 0px #904D00, 4px 4px 0px #7A3700, 5px 5px 4px rgba(0, 0, 0, 0.6), 5px 5px 1px rgba(0, 0, 0, 0.5), 0px 0px 4px rgba(0, 0, 0, 0.2);
    color: #F1AE41 !important;
}

.window-header {
	width: 100%;
	border-bottom: 3px solid #F1AE41;
}

.close-button {
	/*background: rgb(202, 60, 60) !important;
	border: 1px groove black;
	margin-right: 0px !important;
	width: 20px;
	height: 20px;
	color: red !important;
	background: black !important;
	text-shadow: none !important;
	box-shadow: none !important;*/
}
.button-sub, .button-add, .number-input, .worker-action-button/*, .close-button*/ {
	padding: 0px;
	margin-top: 0px;
	display: table-cell;
	vertical-align: middle;
	-moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
	box-shadow: inset 0px 1px 0px 0px #ffffff;
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) );
	background: -moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% );
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9');
	/*background: rgb(160,56,0);
	 background: -moz-linear-gradient(top,  rgba(160,56,0,1) 0%, rgba(254,161,0,1) 50%, rgba(160,56,0,1) 100%);
	 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(160,56,0,1)), color-stop(50%,rgba(254,161,0,1)), color-stop(100%,rgba(160,56,0,1)));
	 background: -webkit-linear-gradient(top,  rgba(160,56,0,1) 0%,rgba(254,161,0,1) 50%,rgba(160,56,0,1) 100%);
	 background: -o-linear-gradient(top,  rgba(160,56,0,1) 0%,rgba(254,161,0,1) 50%,rgba(160,56,0,1) 100%);
	 background: -ms-linear-gradient(top,  rgba(160,56,0,1) 0%,rgba(254,161,0,1) 50%,rgba(160,56,0,1) 100%);
	 background: linear-gradient(to bottom,  rgba(160,56,0,1) 0%,rgba(254,161,0,1) 50%,rgba(160,56,0,1) 100%);
	 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a03800', endColorstr='#a03800',GradientType=0 );
	 */
	border: 1px solid gray/*rgba(250,130,0,1)*/;
	display: inline-block;
    font-family: "Comic Sans MS";
    text-decoration: none;
	text-align: center;
	font-style: normal;
	text-shadow: 1px 1px 0px #ffffff;
	color: #333333;
}
.button-sub, .button-add, .number-input {
	float: left;
}

.button-sub {
	margin-right: 0px;
	-webkit-border-top-left-radius: 42px;
	-moz-border-radius-topleft: 42px;
	border-top-left-radius: 42px;
	-webkit-border-top-right-radius: 0px;
	-moz-border-radius-topright: 0px;
	border-top-right-radius: 0px;
	-webkit-border-bottom-right-radius: 0px;
	-moz-border-radius-bottomright: 0px;
	border-bottom-right-radius: 0px;
	-webkit-border-bottom-left-radius: 42px;
	-moz-border-radius-bottomleft: 42px;
	border-bottom-left-radius: 42px;
}
.button-add {
	margin-left: 0px;
	text-indent: -3px;
	-webkit-border-top-left-radius: 0px;
	-moz-border-radius-topleft: 0px;
	border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 42px;
	-moz-border-radius-topright: 42px;
	border-top-right-radius: 42px;
	-webkit-border-bottom-right-radius: 42px;
	-moz-border-radius-bottomright: 42px;
	border-bottom-right-radius: 42px;
	-webkit-border-bottom-left-radius: 0px;
	-moz-border-radius-bottomleft: 0px;
	border-bottom-left-radius: 0px;
}

.button-sub, .button-add {

	font-size: 20px;
	height: 30px;
	width: 34px;
}

.number-input {
	margin-left: 0px;
	margin-right: 0px;
	-webkit-border-top-left-radius: 0px;
	-moz-border-radius-topleft: 0px;
	border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
	-moz-border-radius-topright: 0px;
	border-top-right-radius: 0px;
	-webkit-border-bottom-right-radius: 0px;
	-moz-border-radius-bottomright: 0px;
	border-bottom-right-radius: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-moz-border-radius-bottomleft: 0px;
	border-bottom-left-radius: 0px;
	font-size: 20px;
	height: 28px;
	line-height: 30px;
	width: 60px;
}

.worker-action-button {
    width: 100%;
	-webkit-border-top-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	border-bottom-right-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-bottom-left-radius: 4px;
	font-size: 16px;
	height: 30px;
	line-height: 30px;
}

.number-input:hover, .worker-action-button:hover, .button-sub:hover, .button-add:hover {
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) );
	background: -moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% );
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9');
	background-color: #e9e9e9;
	/*	background: rgb(196,69,0);
	 background: -moz-linear-gradient(top,  rgba(196,69,0,1) 0%, rgba(255,171,25,1) 50%, rgba(196,69,0,1) 100%);
	 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(196,69,0,1)), color-stop(50%,rgba(255,171,25,1)), color-stop(100%,rgba(196,69,0,1)));
	 background: -webkit-linear-gradient(top,  rgba(196,69,0,1) 0%,rgba(255,171,25,1) 50%,rgba(196,69,0,1) 100%);
	 background: -o-linear-gradient(top,  rgba(196,69,0,1) 0%,rgba(255,171,25,1) 50%,rgba(196,69,0,1) 100%);
	 background: -ms-linear-gradient(top,  rgba(196,69,0,1) 0%,rgba(255,171,25,1) 50%,rgba(196,69,0,1) 100%);
	 background: linear-gradient(to bottom,  rgba(196,69,0,1) 0%,rgba(255,171,25,1) 50%,rgba(196,69,0,1) 100%);
	 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c44500', endColorstr='#c44500',GradientType=0 );
	 */
}

.button-sub:active, .button-add:active, .worker-action-button:active, .number-input:active {
	position: relative;
	top: 1px;
}
