#controls {
	position:absolute;
	top:45%;
	z-index:99;
	font-size: 40px;
	cursor: pointer;
	/*-webkit-text-stroke: 1px black;*/
	color:#285192;
}
	
#contPanorama {
	overflow:hidden;
}

#displaySpeed {
	color: #000;
	border: 15px solid #363636;
	background:#CFCFCF;
	text-align:right;
	width: 140px;
	height: 70px;
	bottom: 90px;
	left:50%;
	margin-left: -70px;
	font-family: 'Orbitron', sans-serif;
	font-size:20px;
	position:absolute;
	border-radius: 5px;
	padding:5px;
}

@media (min-width: 980px) {
	#displaySpeed {
		width: 200px;
		height: 100px;
		bottom: 50px;
		margin-left: -100px;
	}
}

#displaySpeed small{
	font-size:12px;
}

#maskThr {
	background: #c1c1c1 none repeat scroll 0 0;
	border: thin solid #000;
	border-radius: 5px;
	bottom: 0;
	height: 160px;
	left: 90%;
	position: absolute;
	width: 40px;
	z-index: 10;
}

@media (min-width: 980px) {
	#maskThr {
		left: 70%;
	}
}

#maskThr #cursor {
	background:#000;
	position:absolute;
	width:20px;
	height:90%;
	top:5%;
	left:50%;
	margin-left: -10px;
}

#maskThr #thr {
	position:absolute;
	width:70px;
	height:100px;
	top:50%;
	right:0;
	margin-top: -50px;
	z-index:10;
}

#maskThr #thr #hor{
	position:absolute;
	width:60px;
	left:0;
	height:20px;
	top:50%;
	margin-top: -10px;
	border-radius: 5px;
	background: rgb(238,238,238);
	background: -moz-linear-gradient(top,  rgba(238,238,238,1) 0%, rgba(204,204,204,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
	background: linear-gradient(to bottom,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 );
}

#maskThr #thr #handle{
	position:absolute;
	width:30px;
	left:0;
	height:40px;
	top:50%;
	margin-top: -20px;
	background: rgb(174,188,191);
	background: -moz-linear-gradient(top,  rgba(174,188,191,1) 0%, rgba(110,119,116,1) 50%, rgba(10,14,10,1) 51%, rgba(10,8,9,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(174,188,191,1) 0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%);
	background: linear-gradient(to bottom,  rgba(174,188,191,1) 0%,rgba(110,119,116,1) 50%,rgba(10,14,10,1) 51%,rgba(10,8,9,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aebcbf', endColorstr='#0a0809',GradientType=0 );
}

#clickup, #clickdown {
	position: absolute;
	width: 100%;
	height:50%;
	top:0;
	left:0;	
	z-index: 20;
	cursor:pointer;
}

#clickdown {
	top:50%;
}

#compass {
	position:absolute;
	top:20px;
	left:30px;
}

#linea-fede {
	position:absolute;
	height: 60px;
	top: 0px;
	left:50%;
	margin-left:-1px;
	width:2px;
	background: #C00;
	z-index:10;
}

#boat-bow {
	position:absolute;
	bottom: 0;
	left:50%;
	margin-left:-350px;
	width:700px;
	height:192px;
}

#contTimone {
	width:100%;
	position:absolute;
	bottom: 200px;
	left:0;
}

@media (min-width:980px) {
	#contTimone {
		bottom: 250px;
	}
}

.rudder-command {
	position:absolute;
	left:50%;
	top:0;
}

@media (min-width: 320px) {
	.rudder-command {
		margin-left:-160px;
		width: 320px;
	}
}

@media (min-width: 480px) {
	.rudder-command {
		margin-left:-240px;
		width: 480px;
	}
}

@media (min-width: 640px) {
	.rudder-command {
		margin-left:-250px;
		width: 500px;
	}
}

#contPanorama {
	background:url(/img/gameBoat/panorama.jpg) repeat-x center center;
	background-size: auto 150%;
	min-height: 478px;
}
	
#barra-timone {
	display:none;
}

#contElica {
	position:absolute;
	width: 100%;
}

#contElica  img {
	max-height: 150px;
}

#contPalaTimone {
	position:absolute;
	width: 100%;
	top:100px;
}

#contPalaTimone  img {
	max-height: 200px;
}

@media (min-width:640px) {		
	#contPalaTimone  img {
		max-height: 350px;
	}
}

#canvas {
	height:300px;
	width: 100%;
	left: 0;
}

@media (min-width:640px) {
	#canvas {
		height:500px;
		width: 60%;
		left: 20%;
	}	
}