/* ===[ HUD Boxes ]========================================================== */

div.hud-box {
	background: #5b5b5b;
	border: solid 1px #111;
	font-family: arial;
	font-size: 13px;
	padding: 1px;
	position: relative;
	color: #eee;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-box-shadow: 0 0 10px #000;
	-webkit-box-shadow: 0 0 10px #000;
	-khtml-box-shadow: 0 0 10px #000;
	text-shadow: 0 0 3px #000;
}

div.hud-box div.hud-box-wrapper {
	background: #1a1a1a url(box.png) repeat-x 0 50%;
	margin: 0;
	padding: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	height: 100%;
}

div.hud-box div.hud-box-wrapper div.hud-box-inner {
	position: relative;
	top: 1px;
	height: 100%;
	background: url(button-shadow.png) 50% 100% no-repeat;
	_background: none;
	/* filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/style/portal/hud/button-shadow.png", sizingMethod="scale"); */
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

/*
div.hud-box {
	background: #848484;
	border: solid 1px #000;
	padding: 1px;
	position: relative;
	width: auto;
	color: #eee;
	font-family: arial;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
}

div.hud-box div.hud-box-inner-wrapper {
	background: #393939 url(box-gradient.png) 0 100% repeat-x;
	height: 50%;
	position: relative;
	-moz-border-radius: 6px 6px 0 0;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
}

div.hud-box div.hud-box-inner-wrapper div.hud-box-inner {
	background: #000;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 100%;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
}

div.hud-box div.hud-box-inner-wrapper div.hud-box-inner div.hud-box-content-wrapper {
	position: absolute;
	height: 200%;
	width: 100%;
	top: -100%;
	left: 0;
}

div.hud-box div.hud-box-inner-wrapper div.hud-box-inner div.hud-box-content-wrapper div.hud-box-content {
	height: 100%;
}
*/

/* ===[ HUD Buttons ]======================================================== */

button.hud-button {
	display: inline-block;
	background: #111;
	margin: 0;
	padding: 0px 1px;
	border: solid 1px #111;
	overflow: visible;
	font: 0.9em/1.4 Arial,Sans-serif;
	text-decoration: none;
	color: #ccc;
	cursor: pointer;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	outline: none;
	text-shadow: 0 0 3px #000;
}

button.hud-button::-moz-focus-inner{
	padding: 0;
	margin: 0;
	border: 0;
}

button.hud-button span {
	display: inline-block;
	background: #1a1a1a url(button.png) repeat-x 0 50%;
	margin: 0 0 0 -1px;
	padding: 0;
	border: solid 1px #5b5b5b;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	width: 100%;
}

button.hud-button span span {
	position: relative;
	top: 1px;
	margin: 0;
	padding: 3px 0;
	background: url(button-shadow.png) 50% 100% no-repeat;
	_background: none;
	/* _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/style/portal/hud/button-shadow.png", sizingMethod="scale"); */
	border-width: 0;
}

button.hud-button.disabled {
	color: #666 !important;
	cursor: default;
}

button.hud-button:hover,
button.hud-button:focus {
	color: #fff;
}

button.hud-button.disabled span {
	border-color: #333 !important;
	background: #1a1a1a url(button.png) repeat-x 0 50% !important;
}

button.hud-button:hover span,
button.hud-button:focus span {
	border-color: #23a4ca;
}

button.hud-button.disabled span span {
	background: url(button-shadow.png) 50% 100% no-repeat !important;
	_background: none !important;
	opacity: 0.5;
}

button.hud-button:hover span span,
button.hud-button:focus span span {
	margin: 0;
	padding: 3px 0;
	background: none;
}

button.hud-button:active span {
	background: #005179;
}

button.hud-button:active span span {
	background: none;
}

/* === */

#portal_overlay .hud-box {
	width: 400px;
	margin: 0 auto;
}

.hud-box .hud-message {
	padding: 10px;
	font-size: 1.1em;
}

.hud-box .hud-message hr {
	margin: 20px 0;
	_margin: 10px 0 0 10px;
	border: none;
	background: #5b5b5b;
	height: 1px;
}

.hud-box .hud-message .hud-buttons {
	margin: 20px 0 0;
}

.hud-box .hud-message .hud-buttons .hud-button {
	min-width: 100px;
	_width: 100px;
	margin: 0 0 0 10px;
}

.hud-box .hud-message .hud-buttons .hud-button span {
	#min-width: 100px;
}

.hud-box .hud-message .hud-options {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	text-align: left;
	font-size: 0.8em;
}

.hud-box .hud-message .hud-options li {
	margin: 10px 0 0;
}

.hud-box .hud-message .hud-options .hud-button {
	display: block;
	width: 100%;
}

/* === */

#hud-clock {
	float: left;
	font-size: 14pt;
	line-height: 1em;
	text-align: right;
}

#hud-clock .hud-box-content {
	padding: 10px 5px 10px 35px;
	background: url(clock-icon.png) 5px 50% no-repeat;
}

/* === */

#hud-score .hud-box-inner {
	padding: 0 10px;
}

#hud-score .hud-box-content {
	background: url(broken-heart-icon.png) 0 50% no-repeat;
	padding-left: 30px;
}

#hud-score .hud-box-content div {
	background: url(heart-icon.png) 100% 50% no-repeat;
	padding-right: 30px;
}

#hud-score span {
	background: url(score-background.png) 0 8px no-repeat;
	display: block;
	height: 19px;
	padding: 10px 10px 11px 10px;
	width: 278px;
}

#hud-score span span {
	background: none;
	height: auto;
	overflow: hidden;
	padding: 0 10px;
	width: auto;
}

#hud-score span span span {
	-moz-border-radius: 9px;
	-webkit-border-radius: 9px;
	background: #23a4ca;
	height: 19px;
	margin-left: -9px;
	padding: 0;
	position: relative;
	width: 19px;
}

/* === */

#hud-speech-options {
	width: 200px;
}

#hud-speech-options p {
	margin: 0;
	padding: 10px;
}

#hud-speech-options ul {
	list-style: none;
	margin: 0;
	padding: 0 10px 5px;
}

#hud-speech-options ul li {
	padding: 0 0 5px;
}

#hud-speech-options ul li button {
	display: block;
	width: 100%;
}

/* player response option box */

#hud-player-choices {
	position: absolute;
	right: 20px;
	bottom: 100px;
	width: 300px;
	z-index: 10;
}

#hud-player-choices .hud-button span span {
	line-height: 1.5;
	/* padding: 5px; */
}

#hud-bookmarks {
	position: absolute;
	left: 20px;
	bottom: 100px;
	width: 200px;
	z-index: 10;
}

#hud-bookmarks hr {
	margin: 10px 0;
}

#hud-bookmarks .hud-buttons {
	margin-top: 10px;
}

#hud-player-choices .hud-button,
#hud-bookmarks .hud-button {
	display: block;
	left: -10px;
	position: relative;
	width: 100%;
}

#hud-player-choices .hud-button.ans-pos span span,
#hud-player-choices .hud-button.ans-neg span span {
	display: block;
	width: auto;
	padding-right: 30px;
	background: url(heart-icon.png) 98% 40% no-repeat;
}

#hud-player-choices .hud-button.ans-neg span span {
	background-image: url(broken-heart-icon.png);
}

/* incoming/outgoing call box */

#hud-incoming-call,
#hud-outgoing-call {
	font-size: 200%;
	left: 50%;
	margin-left: -200px;
	position: absolute;
	top: 200px;
	width: 400px;
}

#hud-incoming-call .hud-button,
#hud-outgoing-call .hud-button {
	display: block;
	width: 100%;
}

