#footer{
	display: none;
}

#content{
	height: 95%;
}

#info {
	font-size: 1.5em;
}

.ui-spinner {
	width: 10%;
	height: 2em;
	cursor: pointer;
}

.ui-button-disabled {
	opacity: 0.5;
	cursor: auto;
}


input[type="text"] {
	border: none;
	font-size: 1.5em;
	font-family: 'Cutive Mono', Courier, sans-serif;
	color: #1D4E89;
	width: 2em;

}


/*CONTENT
*/

#content{
	background-image: url('../images/artwork-01.png');
}


.row {
	width: 100%;
	margin-left:0; 
	float: left;
}

.section {
	width: 39%;
	float: left;
	margin: 1% 5% 0 5%;
}

.min {
	float: left;
	position: relative;
	margin-left: 25%;
	margin-top: 4%;
}

.max {
	float: right;
	margin-right: 25%;
	position: relative;
	margin-top: 4%;
}


#activity1 {
	height: 100%}

/*GAMEINFO
*/

#gameInfo {
	background-color: #B5E2FF;
	height: 11%;
	padding: 1%;
	float: left;
	
}

#gameInfo p{
	display: inline-block;
	float: left;
}

#gameChoices{
	height: 60%;
	padding: 1% 0;
}

/*TOP INFO*/
#gameScores{
	background-color: #B5E2FF;
	color: #FFF;
	font-family:  'Roboto Condensed', sans-serif;
	font-size: 1em;
	width: 98%;
	height: 18%;
	margin: 0 auto;
	padding: 1%;
}

#timeHolder {
	width: 60%;
	float: left;

}

#gameScores h4{
	font-size: 1em;
	height: 1.5em;
	padding: 0;
	
}


#calendar, #happinessInfo{
	color: #000;
	position: relative;
	background-image: url('../images/artwork_year.png');
	background-repeat: no-repeat;
	height: 75%;
	width: 20%;
	float: left;
	

}

#calendar label{
	float: left;
	width: 100%;
	margin-left: 12px;
	margin-top: 33px;
	text-align:left;
	font-size:0.8em;
}
#welshcalendar label{
	float: left;
	width: 100%;
	margin-left: 27px;
	margin-top: 33px;
}
#year, #happiness{
	font-size: 1.5em;
	line-height: 1em;
	border:0;
	color:#3366CC;
	font-weight:bold;
	width: 80px;
	height: 1em;
	float: left;
	margin-left: 9px;
	text-align: center;
	
}
#welshyear,{
	font-size: 0.5em;
	line-height: 1em;
	border:0;
	color:#3366CC;
	font-weight:bold;
	width: 80px;
	height: 1em;
	float: left;
	margin-left: 9px;
	text-align: center;
	
}
#happinessInfo {
	background-image: url('../images/happy_speech.png');
}

#happinessInfo label{
	background-color: #fff;
	margin-left: 93px;
	padding: 0 3px;
}

#happiness{
	width: 2.85em;
	margin-left: 100px;
}

#timerInfo{
	width: 100%;
	/*margin: 0 20%;*/
	position: relative;
	text-align: center;
	background-color: #fff;
	padding: 1%;
}

#timer {
	background-color: transparent;
	color: #3366CC;
	font-family:  'Cutive Mono', Courier, sans-serif;	
	font-size: 1.5em;
	font-weight: bold;

	
}

#timerBar {
	background-color: #2357B3;
	
	width: 100%;
	height: 10px;
}

.gameButtonHolder {
	width: 100%;
	text-align: center;
}

#nextBtn, #startBtn {
	width: 20%;
}
#nextBtn {
	display: none;
}


#productionInfo p{
	margin: 0 2%;
}


.gameInfoSection{
	float: left;
	width: 33%;
}

.gameInfoSection p{
	width: 100%;
	margin-bottom: 2%;
}

.gameInfoSection input {
	background-color: #B5E2FF;
}



#chartHolder {
	display: none;
	width: 90%;
	height: 70%;
	margin: auto;
	background-color: #fff;
}

#graph1{
	padding: 0;
	height: 75%;
	width: 90%;
}

/*BUTTONS*/
#nextBtn, #startBtn, #chartBtn {
	-moz-box-shadow:inset 0px 1px 0px 0px #92c460;
	-webkit-box-shadow:inset 0px 1px 0px 0px #92c460;
	box-shadow:inset 0px 1px 0px 0px #92c460;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #669933), color-stop(1, #4e6e38) );
	background:-moz-linear-gradient( center top, #669933 5%, #4e6e38 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#669933', endColorstr='#4e6e38');
	background-color:#669933;
	-webkit-border-top-left-radius:6px;
	-moz-border-radius-topleft:6px;
	border-top-left-radius:6px;
	-webkit-border-top-right-radius:6px;
	-moz-border-radius-topright:6px;
	border-top-right-radius:6px;
	-webkit-border-bottom-right-radius:6px;
	-moz-border-radius-bottomright:6px;
	border-bottom-right-radius:6px;
	-webkit-border-bottom-left-radius:6px;
	-moz-border-radius-bottomleft:6px;
	border-bottom-left-radius:6px;
	text-indent:0;
	border:1px solid #669933;
	/*display:inline-block;*/
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	height:50px;
	line-height:50px;
	width:150px;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #689324;
}
#nextBtn:hover, #startBtn:hover, #chartBtn:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #4e6e38), color-stop(1, #669933) );
	background:-moz-linear-gradient( center top, #4e6e38 5%, #669933 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#4e6e38', endColorstr='#669933');
	background-color:#4e6e38;
}
#nextBtn:active, #startBtn:active, #chartBtn:active{
	position:relative;
	top:1px;
}



#chartBtn {
	margin: 0 1%;
}


/*SECTIONS
*/

#capital input{
	margin-left: 5%;
}


.section h4 {
	width: 96%;
	color: #fff;
	font-size: 1em;
	padding: 2%;

}

.section input{
	margin-top: 30px;
	border: 0;
	font-size: 1.5em;
	font-family: 'Cutive Mono', Courier, sans-serif;
	color: #000;
	width: 2em;
	/*background-color: #B5E2FF;*/
	background-color: #FFCC00;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;


}

input:disabled{
	background-color: #dddddd;
	color: #666;

}

.section img{
	width: 100%;
}

.section .imageholder{
	width: 100%;
}

.section .row {
	margin-top: 2%;
}

.key {
	float: left;
	margin-right: 1%;
}


/*TOOLTIPS*/
.gameTooltip {
	position: relative;
	display: inline;
}
.gameTooltip span {
	position: absolute;
	width:140px;
	color: #171717;
	background: #F3E975;
	line-height: 1em;
	text-align: center;
	visibility: hidden;
	border-radius: 6px;
}
.gameTooltip span:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 100%;
	margin-top: -8px;
	width: 0; height: 0;
	border-right: 8px solid #F3E975;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
}
.gameTooltip:hover span {
	visibility: visible;
	bottom: 0;
	left: 50%;
	margin-left: 212px;
	z-index: 999;
}
/*CONSUMER GOODS
*/

#consumer {
	background-color: #FFF;
	border: 1px solid #1D4E89;
}

#consumer h4 {
	background-color: #1D4E89;
}
#consumer img{
	float: left;
	background-color: #FFF;

}

/*CAPITAL GOODS
*/

#capital {
	background-color: #FFF;
	border: 1px solid #4E6E38;
}
#capital h4 {
	background-color: #4E6E38;
}



#gameAlert{
	z-index: 999;
	font-size: 1.5em;
	width: 100%;
	background-color: #F3E975;
	color: #000;
	text-align: center;
	height: 9%;
	top: 85%;
	padding-top: 1%;
	display: none;
	position: absolute;

}


/*MEDIA QUERIES*/

/*small screens
*/
@media all and (max-width: 1024px){

	#gameScores{
		height: 20%;
	}

	#gameChoices {
		height: 55%;
	}
	.section .imageholder{
		width: 50%;
		margin: auto;

	}
	#gameInfo {
		font-size: 0.8em;
	}

	.gameInfoSection{
		width: 33%
	}
	
	.gameInfoSection input[type="text"] {
		width: 1.5em;
	}

}

@media screen and (max-height: 850px){

	.section .row {
		margin-top: 0; 
	}
	.section img{
		width: 80%;
	}

	.gameInfoSection input[type="text"] {
		height: 1em;
	}


}

@media screen and (max-height: 700px){
	
	.section .imageholder{
		width: 50%;
		margin: auto;

	}

	.section img {
		width: 75%;
	}

	#gameScores{
		height: 25%;
		padding: 0.2em 1% 0 1%;
	}

	#gameChoices {
		height: 56%;
	}
	
}
@media screen and (max-height: 580px){

	#gameScores h4 {
		font-size: 0.8em;
	}

	.section img {
		width: 67%;
	}

	.gameInfoSection p {		
		font-size: 0.8em;
	}

	#nextBtn, #startBtn {
		height: 30px;
		line-height: 30px;
	}

	.row {
		width: 100%;
		margin-left: 0;
	}

/*phone
*/
@media all and (max-width: 420px) and (max-height: : 320px){
	.section img{
		width: 100%;
	}

}

@media print {
    #header, #footer, #calendar, .gameButtonHolder{
    	display: none;
    }

    #gameScores {
    	background-color: #fff;
    }
}