@import url(taskbar/items.css);

#taskbarWrapper {
	position: absolute;
	left: 0;
	width: 100%;
	height: 0;
	bottom: 0;
	/* IE6 doesn't respect the height set above */
	_bottom: -30px;
	padding-top: 10px;
	z-index: 999;
	display: none;
}

body.taskbar #taskbarWrapper {
	display: block;
}

#taskbar,
#tb_achievement_anchor {
	width: 850px;
	height: 103px;
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-left: -445px;
	padding: 0 20px;
	overflow: hidden;
}

#tb_achievement_anchor {
	overflow: visible;
	height: 0;
	padding: 0 10px;
	margin-left: -440px;
}

#tb_achievement_anchor .popup {
	margin: 0;
	position: absolute;
	bottom: 0;
	right: 100%;
	text-align: center;
	width: 0;
	padding-right: 24px;
	font-family: verdana;
	font-size: 11px;
	overflow: visible;
	float: left;
}

#tb_achievement_anchor .popup {
	margin-right: -76px\9
}

#tb_achievement_anchor .popup {
	padding-left: 100px\9
}

#tb_achievement_anchor .popup {
	padding-right: 100px\9
}

#tb_achievement_anchor .popup div {
	width: 200px;
	margin: 0 0 0 -100px;
	padding: 0 0 9px 0;
	background: url(achievement_arrow.png) 50% 100% no-repeat;
}

#tb_achievement_anchor .popup div span {
	color: #fff;
	background: url(hud/button.png) 50% 50% repeat-x;
	padding: 3px 7px;
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0 0 10px #111;
	-moz-border-radius: 5px;
	-moz-box-shadow: 0 0 10px #111;
	cursor: default;
	text-shadow: 0 0 5px #fff;
	white-space: nowrap;
}

#tb_achievement_anchor .popup img {
	width: 48px;
	height: 48px;
	margin: 5px 0 0 -24px;
	display: block;
	cursor: pointer;
	-webkit-border-radius: 8px;
	-webkit-box-shadow: 0 0 5px #000;
	-moz-border-radius: 8px;
	-moz-box-shadow: 0 0 5px #000;
}

#taskbar .pin {
	width: 0;
	text-align: left;
	position: absolute;
	left: 20px;
	height: 0;
	top: 0;
	padding: 0;
	margin: 35px 0 0;
}

#taskbar .pin span {
	display: block;
	width: 23px;
	height: 35px;
	background: url(hud/pin-up.png) 0 0 no-repeat;
	position: absolute;
	left: 0;
	bottom: 0;
	cursor: pointer;
}

#taskbar.pinned .pin span {
	background-image: url(hud/pin.png);
}

#taskbar .hud-box {
	width: 100%;
	height: 80px;
	position: relative;
	top: 24px;
	left: -2px;
}

#taskbar #tb_title {
	margin: 0;
	padding: 5px 0;
	font-size: 11pt;
	color: #eee;
	text-shadow: 0 0 30px #eee;
}

#taskbar #tb_progress {
	margin: 0;
}

#taskbar #tb_progress span {
	position: relative;
	display: block;
	overflow: hidden;
	margin: 0 auto;
	width: 280px;
	height: 20px;
	border: solid 1px #6c6c6c;
	padding: 1px 21px;
	background: #000;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
}

#taskbar #tb_progress span span {
	position: relative;
	float: left;
	margin-left: -20px;
	padding: 0 30px 0 0;
	border: none;
	width: 0%;
	height: 20px;
	left: 0;
	top: 0;
	background: url(progress.png) 100% 50% no-repeat;
	-webkit-border-radius: 10px;
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius: 10px 0 0 10px;
}

#taskbar #tb_progress.finished span span {
	padding-left: 10px;
	width: 100%;
	background: #23a4ca;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

#taskbar .audio {
	width: 95px;
	height: 70px;
	background: #000;
	position: absolute;
	top: 8px;
	right: 0;
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
}

body.no-audio #taskbar .audio {
	display: none !important;
}

#taskbar .audio .hud-button {
	position: absolute;
	left: 4px;
	top: 4px;
}

#taskbar .audio .mute {
	top: 32px;
}

#taskbar .audio .hud-button span span {
	padding: 0;
}

#taskbar .audio .hud-button u {
	text-indent: -500em;
	display: inline-block;
	#display: block;
	width: 30px;
	height: 16px;
	margin-bottom: 2px;
	overflow: hidden;
	background: 50% 50% no-repeat;
}

#taskbar .audio .subtitles u {
	background-image: url(subtitles.png);
}

body.no-subtitles #taskbar .audio .subtitles u {
	background-image: url(subtitles_disabled.png);
}

#taskbar .audio .mute u {
	background-image: url(mute.png);
}

body.volume_muted #taskbar .audio .mute u {
	background-image: url(mute_active.png);
}

#taskbar .audio .volume {
	background: url(volume_background.png);
	position: absolute;
	top: 4px;
	right: 4px;
	width: 48px;
	height: 50px;
}

#taskbar .audio .volume div {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: url(volume.png) 50% 100% no-repeat;
}

body.volume_muted #taskbar .audio .volume div {
	background-image: url(volume_disabled.png);
}

#taskbar .audio .volume span {
	display: block;
	width: 13px;
	height: 13px;
	position: absolute !important;
	top: 0;
	right: 6px;
	background: url(volume_handle.png);
	cursor: move;
}

body.volume_muted #taskbar .audio .volume span {
	background: url(volume_handle_disabled.png);
	cursor: default;
}

#taskbar .buttons .hud-button {
	position: absolute;
}

#taskbar .buttons .hud-button u {
	display: inline-block;
	width: 80px;
	text-decoration: none;
	text-align: center;
}

#taskbar #tb_achievements {
	top: 8px;
	left: 10px;
}

#taskbar #tb_objective {
	top: 8px;
	left: 110px;
}

#taskbar #tb_hint {
	top: 8px;
	right: 110px;
}

body.no-audio #taskbar #tb_hint {
	right: 10px;
}

#taskbar #tb_quit {
	top: 40px;
	left: 10px;
}

#taskbar #tb_achievements u {
	width: 50px;
	padding: 0 5px 0 25px;
	background: url(achievements.png) 10px 50% no-repeat;
}

