@font-face { font-family: cubic11-font; src: url('PixelFont_Cubic.ttf'); } 
@font-face { font-family: chenyul-font; src: url('ChenYuluoyan-Thin.ttf'); } 
/*@font-face { font-family: silkscreen; font-weight: bold; src: url('static/slkscrb.ttf');}*/

body {
	background: #383232;
	color: #f1f1f1;
	font-family: 'cubic11-font';
	font-size: 30px;
	font-smooth: never;
	line-height:  40px;
	-webkit-font-smoothing : none;
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust:none; /* fix chrome browser font-size 12px limitation*/
	text-align: center;
}

input, textarea, select, button, .error {
	font-family: 'cubic11-font'
}

/* change placeholder color */
::-webkit-input-placeholder { /* WebKit browsers */
    color:    #aaa;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #777;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #777;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #777;
}

#container {
	width: 1200px;
	margin: 0;
	padding: 0;
	display: inline-block;
	text-align: center;
	background: #222;
	position: relative;
}

#html_footer {
	text-align: center;
	width: 100%;
	height: 70px;
	font-size: 20px;
	color: #aaa;
	z-index: -9999;
	display: inline-block;
	margin-top: 30px;
}

.left_panel {
	left: 5px;
}

.right_panel {
	right: 5px;
}

h1 {
	font-size: 40px;
	line-height: 50px;
	font-weight: bold;
	margin: 20px 0;
	color: #e8e8e8;
}

h1.headline {
	margin-top: 5px;
}

h1.title {
	vertical-align: middle;
}

.banner {
	vertical-align: middle;
}

.banner img {
	width: 1200px;
}

.toolbar {
	background: #444;
	color: #eee;
	margin-top: -5px;
	position: absolute;
	z-index: 100;
	padding: 5px;
	font-size: 40px;
}

.toolbar a {
	color: #eee;
	font-size: 30px;
	padding: 0 10px;
}

.loading_mask {
	background: black;
	opacity: 0.5;
	position: fixed;
	left: 0;
	top: 0;
	width: 2048px;
	height: 2048px;
	z-index:9998;
}

.loading_dlg {
	position: fixed;
	left: 50%;
	top: 50%;
	width: 72px;
	height: 72px;
	margin-left: -36px;
	margin-top: -36px;
	background: #fff;
	border: 5px solid #555;
	border-radius: 15px;
	z-index:9999;
}

.loading_anim {
	background: url(../img/loading.gif) no-repeat scroll 0 0 transparent;
	width: 64px;
	height: 64px;
	margin-top: 4px;
	margin-left: 4px;
	z-index:9999;
}

.important {
	font-size: 40px;
	font-weight: bold;
	color: #ee5500;
}

.comment {
	font-size: 20px;
	color: #999;
}

.error {
	color: #ff4444;
}

.warning {
	color: #ffcc00;
}

.button {
	cursor: pointer;
	padding: 3px 8px;
	font-size: 30px;
}

.my_button {
	cursor: pointer;
	padding: 3px 15px;
	border-radius: 5px;
	font-size: 24px;
	background: #333;
	border: 3px outset #777;
	color: #eee;
}

.link, a {
	text-decoration: none;
	color: #3caff8;
}

.link {
	text-decoration: underline;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.link:hover, a:hover {
	color: #70d8ff;
}

.center_panel {
	text-align: center;
	background: #383232;
}

.my_dialog {
	border: 5px solid #61e249;
	border-radius: 10px;
	font-family: 'cubic11-font';
	background: transparent;
	color: #f1f1f1;
}

.popup_dialog {
	font-family: 'cubic11-font';
	background: transparent;
	color: #f1f1f1;
}

.window_frame {
	background: #383232;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #555;
  color: #fff;
  padding: 5px 0;
  border-radius: 6px;
  text-align: center;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -50px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;

  /* customize by me */
  font-size: 14px;
  line-height: 18px;
  text-align: left;
  overflow: visible;
  z-index: 9999;
  padding: 5px;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}