body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	font-family: 'Gloria Hallelujah', cursive;
}

body{
	background: #FAFAFA;
	cursor: url(/images/cursor/normal.cur), auto;
}

a{
	color: #086A87;
	text-decoration: none;
	cursor: url(/images/cursor/link.cur), auto;
}

a:hover{
	color: #01A9DB;
}

img{
	border: none;
}

h1, .h1 {
	font-size: 36px;
}

h2, .h2 {
	font-size: 30px;
}

h3, .h3 {
	font-size: 24px;
}

h4, .h4 {
	font-size: 18px;
}

h5, .h5 {
	font-size: 14px;
}

h6, .h6 {
	font-size: 12px;
}

/** HOME(Login page) **/

#home{
	position: relative;
	width: 100%;
	height: 100%;
	background: -webkit-radial-gradient(#FAFAFA 20%, #BDBDBD 80%);
	background: -o-radial-gradient(#FAFAFA 20%, #BDBDBD 80%);
	background: -moz-radial-gradient(#FAFAFA 20%, #BDBDBD 80%);
	background: radial-gradient(#FAFAFA 20%, #BDBDBD 80%);
}

.home{
	position: absolute;
	top: 50%;
	width: 100%;
	text-align: center;
	margin-top: -130px;
}

.home .home-logo span{
	font-family: 'Gloria Hallelujah', cursive;
	font-size: 63px;
	margin-left: -13px;
	margin-right: -25px;
}

.home .home-logo img{
	height: 170px;
	margin-bottom: -30px;
	-webkit-animation: rotateLogo 2s infinite;
	-moz-animation: rotateLogo 2s infinite;
	-o-animation: rotateLogo 2s infinite;
	-ms-animation: rotateLogo 2s infinite;
}

@-webkit-keyframes rotateLogo {
    0% {-webkit-transform: rotate(10deg);}
    50% { -webkit-transform: rotate(-5deg);}
    100% { -webkit-transform: rotate(10deg);}
    }
@-moz-keyframes rotateLogo {
    0% {-moz-transform: rotate(10deg);}
    50% { -moz-transform: rotate(-5deg);}
    100% { -moz-transform: rotate(10deg);}
}
@-o-keyframes rotateLogo {
    0% {-o-transform: rotate(10deg);}
    50% { -o-transform: rotate(-5deg);}
    100% { -o-transform: rotate(10deg);}
}@-ms-keyframes rotateLogo {
    0% {-ms-transform: rotate(10deg);}
    50% { -ms-transform: rotate(-5deg);}
    100% { -ms-transform: rotate(10deg);}
}

.home .fb-login{
	margin-top: 40px;
}

.home .fb-login img{
	width: 200px;
}

/** LAYOUT **/

#right-box{
	width: 250px;
	background: #F2F2F2;
	height: 100%;
	right: 0;
	top: 0;
	position: fixed;
	z-index: 999;
}

#chat{
	height: 100%;
	position: relative;

}

.chat{
	height: 100%;
	bottom: 70px;
	right: 0;
	width: 250px;
	position: absolute;
	overflow: hidden;
}

.chatSpace{
	height: 100%;
}

.chat-line{
	position: relative;
	background: #FFF;
	margin: 6px 7px;
	font-family: 'Calibri';
	font-size: 13px;
	min-height: 40px;
}

.chat-line img{
	height: 40px;
	width: 40px;
	position: absolute;
	top: 0;
	right: 0;
}

.chat-line p{
	padding: 4px 45px 4px 4px;
	font-family: 'Calibri';
	font-size: 14px;
}

.isme img{
	top: 0;
	left: 0;
}

.isme p{
	padding-right: 0;
	padding-left: 45px;
}

.message-box{
	position: absolute;
	bottom: 0;
	right: 0;
	width: 250px;
	background: #D8D8D8;
	padding: 7px 0;
}

.message-box textarea{
	width: 230px;
	margin: 0 8px;
	resize: none;
}

.message-box span{
	font-family: 'Calibri';
	font-size: 12px;
	padding-left: 8px;
}

#left-box{
	margin-right: 250px;
	min-height: 100%;
}

#notification{
	position: fixed;
	top: 10px;
	left: 50%;
	width: 400px;
	margin-left: -200px;
	background: rgba(0,0,0,0.5);
	border-radius: 20px;
	text-align: center;
	color: white;
	padding: 5px;
	z-index: 9999;
}

#header{
	width: 950px;
	height: 90px;
	margin: 0 auto;
	background: url("/images/line.png") no-repeat 0 bottom;
	position: relative;
}

.content{
	width: 850px;
	margin: 0 auto;
}

@media all and (max-width: 1240px) {
    #right-box{
		display: none;
	}
	
	#left-box{
		margin-right: 0;
	}
}

.logo{
	margin: 0;
	margin: 10px 0 0 20px;
	width: 142px;
	height: 60px;
	background: url("/images/logo-small.png") no-repeat;
	float: left;
}

.nav{
	float: left;
	margin: 20px 0 0 60px;
}

.nav li{
	float: left;
	width: 150px;
	list-style-type: none;
}

.nav li a{
	font-size: 15px;
}

.nav li a img{
	height: 40px;
	margin-bottom: -12px;
	transition: width 2s, height 2s, transform 1s;
}

.nav li a:hover img{
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
}

.account{
	position: absolute;
	left: 670px;
	top: 40px;
}

.account .avatar{
	border-radius: 50%;
	border: 2px solid #000;
	width: 60px;
	height: 60px;
	margin-bottom: -40px;
}

.account .name{
	padding-left: 10px;
}

.account .id{
	padding-left: 80px;
}

.goto{
	width: 500px;
	margin: 60px auto 0 auto;
	text-align: center;
}

.goto img{
	padding: 20px 0;
}

#game{
	margin-top: 20px;
	overflow: auto;
	margin-bottom: 80px;
}

#game li{
	width: 400px;
	float: left;
	height: 240px;
	background: #F2F2F2;
	cursor: pointer;
	border: 3px solid transparent;
	list-style-type: none;
	margin-bottom: 20px
}

#game li:hover{
	border: 3px solid #555;
	cursor: url(/images/cursor/link.cur), auto;
}

#game li:first-child{
	margin-right: 20px;
}

#game li .background{
	width: 400px;
	height: 150px;
}

#game li h4{
	padding-left: 10px;
}

#game li p{
	padding: 0 10px 10px 10px;
	font-size: 12px;
}

#game li h3{
	text-align: center;
	line-height: 240px;
}

li.kingdom .background{
	background: url("../game/kingdom/preview.jpg");
}

li.bigtwo .background{
	background: url("../game/bigtwo/preview.jpg");
}

#online{
	position: fixed;
	bottom: 0px;
	height: 62px;
	width: 100%;
	background: #F2F2F2;
	z-index: 99;
}

#online img {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	border: 7px solid #F2F2F2;
	margin-top: -13px;
	margin-left: 10px;
	-webkit-animation: rotateLogo 6s infinite;
	-moz-animation: rotateLogo 6s infinite;
	-o-animation: rotateLogo 6s infinite;
	-ms-animation: rotateLogo 6s infinite;
}

@-webkit-keyframes rotateLogo {
    0% {-webkit-transform: rotate(20deg);}
    50% { -webkit-transform: rotate(-20deg);}
    100% { -webkit-transform: rotate(20deg);}
    }
@-moz-keyframes rotateLogo {
    0% {-moz-transform: rotate(20deg);}
    50% { -moz-transform: rotate(-20deg);}
    100% { -moz-transform: rotate(20deg);}
}
@-o-keyframes rotateLogo {
    0% {-o-transform: rotate(20deg);}
    50% { -o-transform: rotate(-20deg);}
    100% { -o-transform: rotate(20deg);}
}@-ms-keyframes rotateLogo {
    0% {-ms-transform: rotate(20deg);}
    50% { -ms-transform: rotate(-20deg);}
    100% { -ms-transform: rotate(20deg);}
}

#profile{
	margin: 30px;
}

.identity{
	width: 350px;
	height: 150px;
	box-shadow: 5px -4px 35px #888888;
	position: relative;
	border-radius: 12px;
	
  background: -webkit-linear-gradient(#DF3A01, #FFFF00); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#DF3A01, #FFFF00); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#DF3A01, #FFFF00); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#DF3A01, #FFFF00); /* Standard syntax */
}

.identity .avatar{
	position: absolute;
	top: 10px;
	left: 10px;
	width: 80px;
	height: 80px;
	background: rgba(255,255,255,0.7);
	padding: 3px;
}

.identity .name{
	position: absolute;
	top: 12px;
	left: 115px;
	font-family: 'Calibri';
	padding: 4px 10px;
	background: rgba(255,255,255,0.7);
}

.identity .position{
	position: absolute;
	top: 55px;
	left: 125px;
	font-family: 'Calibri';
}

.identity .crown{
	position: absolute;
	top: -32px;
	left: 23px;
}
