html, body {
    margin: 0;
    padding: 0;
    font-size: 12px; 
    width: 100%;
    height: 100%;
	font: system;
}

body {
    background-image: url(images/background.png);
    background-position: 100px 340px 80px 481px;
    background-repeat: expand stretch-top stretch-left stretch-middle stretch-right stretch-bottom;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: 0px;
    border-radius: 5px;
    min-height: 600px;
    min-width: 850px;
}

popup{
	font: system;
	padding: 0px 5px;
}

ol, ul {
    list-style: none;
}

#titleBar {
    position: relative;
    height: 20px;
    border: 1px solid #4684b4;
    border-color: #4683b3 #2d77af #0585c0 #2d77af;
    border-radius: 4px 4px 0 0;
    behavior: windowCommand;
	border-bottom:0px;

}

/*标题栏*/
#titleBar h5 {
    clear: both;
    height: 20px;
    margin: 0;
    margin: 0;
}

/*标题*/
#titleBar h5 strong {
    display: block;
    float: left;
    font-size:12px;
	width:200px;
	height:21px;
	overflow:hidden;
	line-height:18px;
	color:#ECF7FD;
	margin-left:8px;
	margin-top:3px;

}

#titleBar h5 strong img {
	margin:0px;
	padding:0px;
	width:15px;
	height:13px;
}

#sub-xz {
	background:none;
	border:none;
	margin:0px;
	padding:0px;
	cursor:pointer;
}


@set button-nav-toolbar{
	:root.dropdown {
		behavior:~popup-menu;
		background:none;
		background-position: 3px 4px 3px 3px;
		background-repeat: expand stretch-top stretch-left stretch-middle stretch-right stretch-bottom; 
		color:windowtext;  
	}
	
	:root.normalbutton { 
		background:none;
		background-position: 3px 4px 3px 3px;
		background-repeat: expand stretch-top stretch-left stretch-middle stretch-right stretch-bottom;  
		display:inline-block;
		color:windowtext;  
	}

	:root.dropdown:active{
		padding:0px;
		margin:0px;
	}
	
	:root.dropdown #menu_user{
		background-color: #FEFEFE;
		border:1px solid #629FD2;
		width:56px;
		height:auto;
		overflow:hidden;
		transition:window-slide-ttb; 
		display:none; 
		padding:0 2px;
		margin:0;
		border:0; 
		flow: vertical;
		font: system-menu;
		behavior:menu main_menu; 
	}
	
	:root.dropdown #menu_user li {
		width:100%%;
		height:20px; 
		margin:0px;
		padding:0px;
		line-height:20px;
		overflow:hidden;
		background:#F8FBFE;
		color:#15232F;
		text-decoration:none;
		margin-top:2px;
		margin-bottom:3px;
	}
	
	:root.dropdown #menu_user li:hover {
		width:100%%;
		height:20px; 
		margin:0px;
		padding:0px;
		line-height:20px;
		overflow:hidden;
		background:#599CD3; 
		text-decoration:none;
		margin-top:2px;
		margin-bottom:3px;
	}
	 
	
	img {
		display: block; 
		
		vertical-align: middle;
	}
}

.nav-toolbar button{
	style-set:button-nav-toolbar;
}



/*控制按钮*/
#titleBar h5 .ctrl {
    float: right;
    width: 150px;
    height: 22px;
	overflow:hidden;
    margin-right: 20px;
	margin-top:0px;
	position: relative;
    top: 3px;
    cursor: pointer;
	padding:0px;
}

#titleBar h5 .ctrl a  {
    display: block;
    height: 22px;
    width: 33px;
	overflow:hidden;
    text-indent: -9999px;
	margin:0px;
	padding:0px;
}

#titleBar h5 .ctrl  .menu {
	float:left;
	height: 22px;
    width: 33px;
	margin:0px;
	padding:0px;
    background: url(images/menu.png) no-repeat; 
	behavior:popup-menu; 
	/*
	active-on!:self.start-timer(1); 
        timer!: self:hover ? self.show-popup($1(popup#menu_set),4,7),
                return cancel;
	*/
}

#titleBar h5 .ctrl a.min {
    background: url(images/min.png) no-repeat;
    behavior: windowCommand;
}

#titleBar h5 .ctrl a.max {
    background: url(images/max1.png) no-repeat;
    behavior: windowCommand;
}

#titleBar h5 .ctrl a.close {
    width: 47px;
    background: url(images/close.png) no-repeat;
}

#titleBar h5 .ctrl a:hover {
    background-position: -33px 0;
}

#titleBar h5 .ctrl a.close:hover {
    background-position: -47px 0;
}

#titleBar h5 .ctrl a[command="window-restore"] {
    background: url(images/max2.png) no-repeat;
    behavior: windowCommand;
}

.menu,.min,.max,.close {
	line-height:20px;
	color:#666;
	font-weight:normal;
	font-size:12px;
	
}

#menu_set {
	height:144px;
	background:url(images/menu_set_bg.png) no-repeat;
	overflow:hidden;
	padding:0px;
	margin:0px;
	border:0px; 
	/*active-off!:self.stop-timer(),$1(popup#menu_set):popup = false ;*/
	behavior:menu main_menu; 
	transition:window-slide-ttb; 
    flow: vertical;
    display:none;  
    width:max-intrinsic;  
    color:windowtext;   
    font: system-menu;
    cursor:default;
}
 

.menu_set_list {
	width:112px;
	height:24px;
	overflow:hidden;
	line-height:24px;
	font-size:12px;
	font-weight:normal; 
}

.menu_set_list:hover {
	background:url(images/menu_set_list_hover.jpg) no-repeat;
}

.menu_set_list img {
	width:14px;
	height:24px;
	overflow:hidden; 
	border:0px;
	margin:0px 0px 0px 5px;
	padding:0px;
	vertical-align:middle;
}

.menu_set_list span {
	vertical-align:middle;
	color:#15232F; 
	text-decoration:none;
	width:80px;
	height:16px;
	line-height:16px; 
	margin-left:12px;
	overflow:hidden; 
}
 
.menu_set_list span:hover {
	color:#15232F;  
}

.menu_set_list span:visited {
	color:#15232F;  
} 

#left-nav-bar {
    width: 62px;
	
}

#left-nav-bar ul {
    
    width: 62px;
    height: 100%;
    padding: 0;
	margin-top:8px;
}


#left-nav-bar .logoPic { 
	margin:0px 2px 5px 3px;	
}

.userpic_div {
	width:65px;
	height:63px;
	overflow:hidden;
	margin:0px 2px 5px 3px;	
	background:url(images/logo_bg.png) no-repeat;
}

.userpic_div img {
	width:50px;
	height:50px;
	overflow:hidden;
	border:0px;
	margin:7px 7px 6px 8px;
}

.login_register {
	width:58px;
	height:25px;
	overflow:hidden;
	background:#1E6DC1;
	line-height:25px;
	border-radius: 3px 3px 3px 3px;
	color:#FFFFFF;
	margin-left:7px;
	text-align:center;
}

.login_register a:link {
	color:#D8D8D8;
	text-decoration:none;
	margin-right:2px;
	margin-left:2px;
}
.login_register a:hover {
	color:#D8D8D8;
	text-decoration:underline;
}
.login_register a:visited {
	color:#D8D8D8;
	text-decoration:none;
}

#left-nav-bar ul li {
    float: left;
    width: 62px;
    height: 80px;
    margin-left: 7px;
    line-height: 0;
    overflow: hidden;
    border: none;
    behavior: main_navigator;
    cursor: pointer;
    background-color: none;
    text-align: center;
		margin-bottom:5px;
		color:#FFFFFF;
}

#left-nav-bar ul li .zh{position:absolute;width:18px;height:18px;top:10px;left:10px;background:url(images/yuan.png) no-repeat;}

#left-nav-bar ul li:hover {
    background: url(images/gamebox_hover.png) center;
}

#left-nav-bar ul li[selected] {
    background: url(images/gamebox_hover.png) center;
}

#left-nav-bar ul li img {
    display: block;
    margin: 0 auto;
    margin-top: 5px;
}

span {
    margin: 2px 2px 2px 2px; 
    font-size: 12px/16px Tahoma;
}

#left-nav-bar ul li span {color:#FFFFFF;}

#form {
    height: 100%%;
    flow: horizontal; 
	margin:0;
	padding:0;
	border:0;
} 

iframe#main,iframe#main-remote{
  width:100%%;
  height:100%%;
  margin:0px 5px 2px 1px;
  padding:0;
  border:0;
  background:none;
}

iframe#main:busy,iframe#main-remote:busy
{
  foreground-image: url(loading.png); 
  foreground-repeat:no-repeat;
  foreground-position:280px 25px;
}
iframe#main-remote:empty{ 
	//assigned!:self.load("frame/preload-box.html");
}

/*
img:incomplete
{
  background-image:url(res:activity.gif);
  background-repeat: no-repeat;
  background-position: 2px 2px;
}
*/

#footer {
    position: relative;
    height: 16px;
    border: 1px solid #4684b4;
    border-color: #0c4275 #2d77af #276da6 #27659f;
	border-top:0px;
    border-radius: 0 0 4px 4px;
	font:system-status; 
	padding-top:3px; 
}

#footer span {
    color: #d0edff;
    margin-top: 0px;
    margin-right: 16px; 
}

#footer .left {
    display: block;
    margin-left: 6px;
    line-height: 14px;
    height:14px;
    width:100%%;
}

#footer .right a:hover {color:#FFFFFF;text-decoration:none;}

#footer div.right {
    display: block;
    position: absolute;
    right: 25px;
    bottom: 5px;
    line-height:14px;
    height:14px;
    width:max-intrisic;
}

#footer img {
    vertical-align: middle;
}

#footer div.right img { 
    margin-right: 5px;
} 

#footer div.right a:link {color:#FFFFFF;text-decoration:none;}
#footer div.right a:hover {color:#FFFFFF;text-decoration:none;}
#footer div.right a:visited {color:#FFFFFF;text-decoration:none;}

@set std-popup-menu
  {
    :root, menu
    {
      behavior:menu; /*is a menu*/
      flow: vertical;
      display:none; 
      margin:0;  
      padding:0;
      border:0px;
      width:112px;
      height:98px;
      overflow:hidden;
      color:windowtext;
      font: system-menu;
      background:url(images/menu_set_bg_tp.png) no-repeat;
    }
 
    /* menu item in popup menus */
    li 
    {  
      width:112px;
      height:24px;
      overflow:hidden;
      line-height:24px;
      padding:0px;
      margin:0px;
      foreground-repeat: no-repeat;
      color:windowtext;
      flow:horizontal;
    }
    
    li img {
    	width:14px;
    	height:24px;
    	overflow:hidden;
    	vertical-align:middle;
    	margin-left:5px;
    	margin-right:5px;
    }
 		
 		/*
    li:has-children
    {
      background-image:url(stock:arrow-right);
      background-repeat: no-repeat;
      background-position: 100% 50%;
    }
    */
 
    li:disabled 
	{ 
	   color:threedshadow; 
	   font-weight: normal; 
	   foreground-image-transformation: contrast-brightness-gamma( 0.15,0.75,1.0);
	}
 
    /* accesskey label (span) */
    li span.accesskey
    {
      display:inline-block;
      margin-left:*; /* spring to attach it to the right */
      padding-left:1em;
      color:threeddarkshadow;
    }
 
    li:current span.accesskey
    {
      color:brown;
    }
 
    /* current menu item */
    li:current
    { 
    	/*
      background-color:highlight; 
      */
      background:url(images/menu_set_list_hover.jpg) no-repeat;
      color:windowtext;  
    }
 
    /* menu separator */
    hr 
    {
      margin:2px; 
    }
	caption
	{
	  margin:2px; 
	  color:graytext;
	}
	img.hr
	{
	  display:inline-block;
	  vertical-align:bottom;
	  width:*;
	  height:0;
	  margin-bottom:0.4em;
	  border-top:1px solid threedshadow;	
	  border-bottom:1px solid threedlight;
	}
  }
  

#tray-menu {
	style-set:std-popup-menu;
} 

#updatebox {
	position:absolute;
	z-index:99;
	bottom:250px;
	left:350px;
	min-width:200px;
	width:calc( max-intrinsic-width()  ); 
	min-height:20px; 
	opacity:0.87; 
	/*margin-left:85%%; */
	background:#fff;
	border:1px #000 solid;
	border-color: #3390CF;
	padding:0 0 5px 0;  
	display:none;
	font:normal 12px "system-status";  
} 

#updatebox .title{
	color:#fff;
	background:#579bcf;
	width:100%;
	height:12px;
	display:block;
	padding:5px;
	margin-bottom:5px;
	font:12px "新宋体"; 
}

#updatebox .message{
    color:#000; 
    margin-left:0;
    padding:0px 20px;
	width:230px;
	font:normal 12px/1.3 "system-status";  
	line-height:1.3;
}
#updatebox progress{
	width:230px;
	height:8px;
}
#updatebox .toolbar{ 
	width:max-intrinsic;
	margin-left:100%%;
}
#updatebox input{
	behavior:~updateboxButton;
	color:white;background:#3390CF;
	margin-right:10px; 
}
#updatebox input:hover { 
	outline: 1px glow #166ba9 1px;
	cursor:pointer;
} 
#updatebox input:active { 
	color:white;
	outline:none;
} 
#updatebox input.quiet{
	behavior:~updateboxQuiteButton;
}
