
/* ********************** fancy ****************************** */

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('/imgs/fb/fancybox.png');
}

#fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1100;
	display: none;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	z-index: 1101;
	outline: none;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #fff;
}

#fancybox-content {
	width: 0;
	height: 0;
	padding: 0;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: 0px solid #fff;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 1101;
}

#fancybox-close {
	position: absolute;
	top: -23px;
	right: -23px;
	width: 30px;
	height: 30px;
	background: transparent url('/imgs/fb/fancybox.png') -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}

#fancybox-error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 14px;
	margin: 0;
}

#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
}

#fancybox-frame {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background: transparent url('data:image/gif;base64,AAAA');
	z-index: 1102;
	display: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}

#fancybox-left-ico {
	background-image: url('/imgs/fb/fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('/imgs/fb/fancybox.png');
	background-position: -40px -60px;
}

#fancybox-left:hover, #fancybox-right:hover {
	visibility: visible; /* IE6 */
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.fancybox-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}

#fancybox-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	/*background-image: url('/imgs/fb/fancybox-x.png');*/
}

#fancybox-bg-ne {
	top: -20px;
	right: -20px;
	/*background-image: url('/imgs/fb/fancybox.png');*/
	background-position: -40px -162px;
}

#fancybox-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	/*background-image: url('/imgs/fb/fancybox-y.png');*/
	background-position: -20px 0px;
}

#fancybox-bg-se {
	bottom: -20px;
	right: -20px;
	/*background-image: url('/imgs/fb/fancybox.png');*/
	background-position: -40px -182px; 
}

#fancybox-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	/*background-image: url('/imgs/fb/fancybox-x.png');*/
	background-position: 0px -20px;
}

#fancybox-bg-sw {
	bottom: -20px;
	left: -20px;
	/*background-image: url('/imgs/fb/fancybox.png');*/
	background-position: -40px -142px;
}

#fancybox-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	/*background-image: url('/imgs/fb/fancybox-y.png');*/
}

#fancybox-bg-nw {
	top: -20px;
	left: -20px;
	/*background-image: url('/imgs/fb/fancybox.png');*/
	background-position: -40px -122px;
}

#fancybox-title {
	font-family: Helvetica;
	font-size: 12px;
	z-index: 1102;
}

.fancybox-title-inside {
	padding-bottom: 10px;
	text-align: center;
	color: #333;
	background: #fff;
	position: relative;
}

.fancybox-title-outside {
	padding-top: 10px;
	color: #fff;
}

.fancybox-title-over {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #FFF;
	text-align: left;
}

#fancybox-title-over {
	padding: 10px;
	background-image: url('/imgs/fb/fancy_title_over.png');
	display: block;
}

.fancybox-title-float {
	position: absolute;
	left: 0;
	bottom: -20px;
	height: 32px;
}

#fancybox-title-float-wrap {
	border: none;
	border-collapse: collapse;
	width: auto;
}

#fancybox-title-float-wrap td {
	border: none;
	white-space: nowrap;
}

#fancybox-title-float-left {
	padding: 0 0 0 15px;
	background: url('/imgs/fb/fancybox.png') -40px -90px no-repeat;
}

#fancybox-title-float-main {
	color: #FFF;
	line-height: 29px;
	font-weight: bold;
	padding: 0 0 3px 0;
	background: url('/imgs/fb/fancybox-x.png') 0px -40px;
}

#fancybox-title-float-right {
	padding: 0 0 0 15px;
	background: url('/imgs/fb/fancybox.png') -55px -90px no-repeat;
}

#fancy_bg, #fancy_title {display: none !important;}
#fancybox-content, #fancybox-outer, #fancybox-wrap {border-radius: 6px;}

/* alert */

div#messages{position:fixed;top:0px;right:0px;width:250px;margin:0px;padding:7px;background:transparent;z-index:1200}
div#messages div{cursor: pointer;color:#fff;padding:7px 14px;margin-bottom:7px;border-radius:5px;opacity:0.65;background:#888;font: normal 16px 'Trebuchet MS';border-radius: 5px;}
div#messages div.error{background:#98001b}	div#messages div.message{background:#0d8529}div#messages div.warning{background:#dd6; color:#333}

/*------- Keyboard ------- */

.keybinds {width: 300px;}
.keybinds .tl {float: left;}
.keybinds .tr {float: right;}

.keybinds div.tl,
.keybinds div.tr {
	height: 42px; 
	line-height: 42px;
	font-size: 14px;
	font-family: 'Trebuchet MS', verdana;
	color: #666666;
}

kbd {display: block;}

kbd {
	-webkit-user-select: none; /* Chrome/Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+ */

	width: 42px;
	height: 42px;
	border-radius: 4px;
	border: 1px solid #d4d4d4;
	background: #ededed;
	color: #999999;
	font-size: 18px;
	font-family: 'Trebuchet MS', verdana;
	text-align: center;
	line-height: 42px;
	overflow: hidden;
	float: left;
	margin: 0 6px 10px 0;
	cursor: pointer;
}

	kbd:active {
		border-color: #666;
	}


kbd .side {
	display: none;
}

/*
kbd, .key, .f_key {
	width: 40px;
	height: 45px;
	margin: 2px;
	border-width: 3px 7px 10px;
	border-style: solid;
	border-radius: 4px;
	float: left;
}

kbd.pressed, .key.pressed, .f_key.pressed,
kbd:active, .key:active, .f_key:active  {
	-webkit-transform: scale(0.95, 0.95);
	-moz-transform: scale(0.95, 0.95);
	-ms-transform: scale(0.95, 0.95);
	-o-transform: scale(0.95, 0.95);
	transform: scale(0.95, 0.95);
}

kbd, .key {
	background: #d3cfcc;
	border-color: #ece8e4 #dedad6 #c9c4c4;
}

.f_key {
	background: #a8aeb8;
	border-color: #c4c7cc #adb9cc #96a6bd;
}

kbd .keycap,
.key .keycap {
	width: 33px;
	height: 40px;
	padding: 5px 0 0 7px;
	font-size: 18px;
	line-height: 1;
	background: #f5f3f1;
	background: linear-gradient(left, #e5e2e1, #f5f3f1, #e5e2e1);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	position: relative;
}

.f_key .keycap {
	width: inherit;
	height: inherit;
	font-size: 15px;
	line-height: 45px;
	text-indent: 7px;
	background: #cdd3de;
	background: linear-gradient(left, #bbc3d2, #cdd3de, #bbc3d2);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	position: relative;
}

kbd .top,
.key .top,
.f_key .top  {
	padding: 3px 5px 0 0;
	font-size: 12px;
	font-style: italic;
	text-align: right;
	line-height: 1;
	display: block;
}

kbd .bottom,
.key .bottom,
.f_key .bottom  {
	width: inherit;
	line-height: 20px;
	display: block;
}

kbd .side,
.key .side,
.f_key .side  {
	font-size: 10px;
	line-height: 1;
	display: block;
	position: absolute;
	left: 4px;
	bottom: -10px;
	transform: rotateX(50deg);
}

.f_key .side {
	left: -3px;
}

.k13 .side {
	right: 7px;
	text-align: right;
}

/*------- key width ------- * /

.k13 { /* enter * /
	width: 103px;
	border-left-width: 10px;
}

.k32 { /* space * /
	width: 328px;
	border-width: 3px 8px 10px;
}
.k32 .keycap {
	width: 321px;
}

.k32.pressed {
	-webkit-transform: scale(0.98, 0.95);
	-moz-transform: scale(0.98, 0.95);
	-ms-transform: scale(0.98, 0.95);
	-o-transform: scale(0.98, 0.95);
	transform: scale(0.98, 0.95);
}
*/ 

