/* BEGIN IE6 HACKY HACK HACK */

#top_bar * {
	zoom: 1;
}

/* END IE6 HACKY HACK HACK */

/* BEGIN TOP BAR GLOBALS */

#top_bar {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	line-height: 20px;
	background: #000 url(/common/img/background.png) center top repeat-y;
	z-index: 1000;
	border-bottom: 1px solid #555;
	font-size: 10px;
	color: #666;
}

#top_bar .top_bar_container {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 980px;
	height: 100%;
}

#top_bar_links {
	position: relative;
	text-align: right;
	text-transform: uppercase;
	z-index: 1000;
}

#top_bar img {
	vertical-align: middle;
}


#top_bar a {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	height: 100%;
}

#top_bar a:hover {
	color: #FFBB1B;
	text-decoration: underline;
}

#top_bar_links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#top_bar_links ul li {
	list-style-image: none;
}

#top_bar_links ul li.selected {
	background-color: transparent;
	border: 0px;
	float: none;
}

/* END TOP BAR GLOBALS */

/* BEGIN EXTERNAL ELEMENTS */

#top_bar_links .external {
	float: left;
	display: inline;
	padding: 0px 10px 0px 10px;
	color: #999;
	text-align: left;
}

#top_bar_links .external_separator {
	float: left;
	display: inline;
}

#top_bar_links .loading_img {
	height: 50px;
	line-height: 50px;
	text-align: center;
}

#top_bar_links .loading_img img {
	vertical-align: middle;
	background: url(/common/img/ajax_load.gif) 0 0 no-repeat;
	height: 16px;
	width: 16px;
}

#top_bar_links img.game_account {
	height: 15px;
	width: 15px;
}

#top_bar_links img.account_facebook {
	background: url(/common/img/facebook.gif) no-repeat 0 0;
}

#top_bar_links img.account_cg {
	background: url(/common/img/cg.gif) no-repeat 0 0;
}

#top_bar_links img.account_dd {
	background: url(/common/img/duelsdefense.gif) no-repeat 0 0;
}

#top_bar_links img.account_1 {
	background: url(/common/img/duels.gif) no-repeat 0 0;
}

#top_bar_links img.account_2 {
	background: url(/common/img/baseballboss.gif) no-repeat 0 0;
}

#top_bar_links img.account_3 {
	background: url(/common/img/warstorm.gif) no-repeat 0 0;
}

#top_bar_links img.account_6 {
	background: url(/common/img/mechduels.gif) no-repeat 0 0;
}

#top_bar_links img.account_7 {
	background: url(/common/img/planetstorm.gif) no-repeat 0 0;
}

/* END EXTERNAL ELEMENTS */

/* BEGIN DROPDOWN CONTENT */

#top_bar_links .sub_content {
	position: absolute;
	top: 20px;
	left: 0;
	padding: 5px;
	z-index: 1000;
	text-align: left;
	background: #000 url(/common/img/background.png) repeat-y -100px 0;
	border: 1px solid #555;
	border-top-width: 0px;
}

/* END DROPDOWN CONTENT */


/* BEGIN CG DROPDOWN */

#top_bar_links .challenge img {
	margin: 0 5px 0 5px;
}

#top_bar_links .challenge {
	font-weight: normal;
	position: relative;
	float: left;
}

#top_bar_links .challenge a:hover {
	text-decoration: none;
	color: white; 
}

#top_bar_links .challenge ul {
	width: 145px;
	display: none;
}

#top_bar_links .challenge:hover ul {
	display: block; 
}

#top_bar_links .challenge a:hover em {
	text-decoration: underline;
	color:#FFBB1B;
}

#top_bar_links .challenge em {
	font-style: normal; 
}

#top_bar_links .challenge ul li {
	top: auto;
	left: auto;
	padding: 0px 5px 0px 0px;
}

#top_bar_links .challenge ul li a {
	display: block;
}

/* END CG DROPDOWN */

/* BEGIN ADMIN LINK */

#top_bar #admin_link {
	font-weight: bold;
	color: #FFBB1B;
}

/* END ADMIN LINK */

/* BEGIN TOP BAR OVERLAY */

#top_bar_overlay {
	z-index: 995;
	position: absolute;
}

/* END TOP BAR OVERLAY */

/* BEGIN REMINDER MODAL */

.cg_message {
	width: 936px;
	background: #FFF;
	border: 2px solid #dd6a00;
	border-width: 0px 2px;
	color: #444;
	margin: 0px 0px 15px 0px;
	padding: 10px;
	font-size: 10px;
}

.cg_message .cg_message_title {
	font-size: 1.75em;
	text-transform: uppercase;
}

.cg_message .cg_message_content {
	font-size: 1.1em;
}

.cg_message .cg_message_bottom {
	position: absolute;
	top: 100%;
	left: -2px;
	height: 15px;
	width: 960px;
	background: url(/common/img/message_bottom.png) no-repeat 0 0;
}

.cg_message ul.cg_message_actioncontainer {
	position: absolute;
	right: -10px;
	bottom: -5px;
	padding: 5px 10px 0px 5px;
	list-style-type: none;
}

.cg_message ul.cg_message_actioncontainer li {
	display: inline;
	margin: 0px 10px 0px 0px;
}

.cg_message ul.cg_message_actioncontainer a {
	color: #666;
	text-transform: uppercase;
	padding: 2px 4px 4px 4px;
}

.cg_message ul.cg_message_actioncontainer a:hover {
	background: #999;
	color: #FFF;
}

.cg_message ul.cg_message_actioncontainer a:active {
	background: #444;
	color: #dd6a00;
}

.cg_message h1.cg_message_title {
	text-align: center;
	border-bottom: 1px solid #CCC;
	margin: 0px 0px 10px 0px;
	padding: 0px 0px 10px 0px;
	color: #111;
}

.cg_message div.cg_message_content {
	margin: 0px 20px 10px 20px;
}

/* END REMINDER MODAL */
