
::-webkit-scrollbar {
	box-sizing: border-box;
	width: 15px;
}
::-webkit-scrollbar-track {
	background-color: #1b1b1b;
	border: 1px solid rgba(0,0,0, 0.3);
}
::-webkit-scrollbar-thumb {
	background-color: rgba(165, 165, 165, 0.5); 
}
::-webkit-scrollbar-button {
	background-color: #7c2929;
	background-color: rgba(165, 165, 165, 0.8); 
	height: 7.5px;
}
::-webkit-scrollbar-corner {
	background-color: black;
}

html, body{
	margin: 0;
	padding: 0;
	background: #000;
}

body{
	color: #a5a5a5;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 12px;
}

ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

a,
a:link,
a:visited{
	text-decoration: none;
	color: #a5a5a5;
	-webkit-transition:	color 100ms linear;
	   -moz-transition:	color 100ms linear;
		-ms-transition:	color 100ms linear;
		 -o-transition:	color 100ms linear;
			transition:	color 100ms linear;
}
a:hover {
	color: #438cbf;
}

/*
 * Container
 */

#background,
#book,
#header,
.menu,
.window {
	-webkit-touch-callout: none;
	  -webkit-user-select: none;
	   -khtml-user-select: none;
		 -moz-user-select: none;
		  -ms-user-select: none;
			  user-select: none;
	cursor: default;
}

.container {
    box-sizing: border-box;
	position: relative;
	margin: 0 auto;
	width: 1024px;
}
	.container a{
		outline:none;
	}
	.container h1,
	#about h2,
	#news h2{
		font-family: 'Merienda', cursive;
		font-variant: small-caps;
	}
	#about .post,
	#news .post,
	#news .post p, 
	#news .post div a,
	.container h1{
		color: #b69872;
	}
	#news .post div a{
		text-decoration: underline;
	}
	#news .post a:hover{
		color: #F9F1E8;
	}

#about,
#news{
	max-width: 600px;
	padding: 0 5px;
	font-size: 13px;
}
	#about{
		max-width: 800px;
	}

	#about .post,
	#news .post{
		position: relative;
		background: #0b0b0b;
		border: 1px solid #1b1b1b;
		margin-top: 10px;
		padding: 5px;
		font-family: Verdana, Arial, Helvetica, sans-serif;
		-webkit-box-shadow: 0 0 2px 2px rgba(27,27,27,0.5);
		   -moz-box-shadow:	0 0 2px 2px rgba(27,27,27,0.5);
			-ms-box-shadow:	0 0 2px 2px rgba(27,27,27,0.5);
			 -o-box-shadow:	0 0 2px 2px rgba(27,27,27,0.5);
				box-shadow: 0 0 2px 2px rgba(27,27,27,0.5);
	}
	#news h2{
		margin: 5px 0;
	}
	#news h2 a{
		color: rgb(219,208,193);
	}
	#news .date{
		position: absolute;
		top: 10px;
		right: 10px;
		color: #555;
	}

/*
 *	Window
 */
	
.window{
	color: #a5a5a5;
    background: rgba(38,38,38,0.9);
	overflow: auto;
    padding: 0;
    border: 1px solid #000;
	box-shadow: 0 3px 6px rgba(0,0,0,0.5);
}

.window .tabs{
	position: absolute;
    top: 0;
    left: 0;
	right: 0;
    font-size: 0;
	height: 32px;
    background: rgba(38,38,38,1);
}
	.tabs ul{
	}

	#pageNavigation ul,
	#pageNavigation div,
	#collection ul{
		position: absolute;
		left: 584px;
		width: 480px;
		font-family: 'Merienda', cursive;
		text-align: center;
	}
		#pageNavigation div,
		#pageNavigation ul{
			bottom: 64px;
		}
		#pageNavigation ul li:first-child{
			position: absolute;
			left: 40px;
		}
		#pageNavigation div{
			left: 84px;
		}

	.menu ul li,
	#profile #logout,
	#collection ul li,
	#pageNavigation ul li,
	#pageNavigation div,
	.filter ul li,
	.tabs ul:first-child li{
		vertical-align: top;
		display: inline-block;
		padding: 0 7px;
		height: 32px;
		font-size: 14px;
		line-height: 32px;
		letter-spacing: 2px;
		font-variant: small-caps;
		-webkit-transition: color 100ms linear, background-color 100ms linear;
		   -moz-transition: color 100ms linear, background-color 100ms linear;
			-ms-transition: color 100ms linear, background-color 100ms linear;
			 -o-transition: color 100ms linear, background-color 100ms linear;
				transition: color 100ms linear, background-color 100ms linear;
	}
		.filter ul li,
		#pageNavigation ul li,
		#pageNavigation div,
		#collection ul li{
			padding: 0;
			color: #333;
			font-size: 22px;
		}
		#collection ul li:not(:first-child):before {
			font-weight: 400;
			content: " | ";
			color: #333;
		}
			#pageNavigation ul li,
			#pageNavigation span,
			#collection ul li span{
				display: inline-block;
				padding: 0 7px;
				-webkit-transition: color 100ms linear;
				   -moz-transition: color 100ms linear;
					-ms-transition: color 100ms linear;
					 -o-transition: color 100ms linear;
						transition: color 100ms linear;
			}
			#pageNavigation ul li:hover,
			#pageNavigation span:hover,
			#collection ul li span:hover{
				cursor: pointer;
				cursor: hand;
				color: #438cbf;
			}
	#pageNavigation ul,
	#pageNavigation div{
		display: none;
	}

	.tabs ul:first-child li:hover{
		cursor: pointer;
		cursor: hand;
		color: #fff;
		background-color: #438cbf;
	}
	.tabs ul:first-child li.selected{
		cursor: default;
		color: #fff;
		background: rgba(255,255,255,0.1);
	}

	#profile ul,
	.tabs ul:not(:first-child){
		position: absolute;
		top: 0;
		right: 0;
		font-size: 0;
	}
		#profile ul{
			top: 30px;
			right: 90px;
		}

	.d20,
	#profile ul li,
	.tabs ul:not(:first-child) li{
		display: inline-block;
		opacity: 0.6;
		-webkit-transition: background-color 100ms linear;
		   -moz-transition: background-color 100ms linear;
			-ms-transition: background-color 100ms linear;
			 -o-transition: background-color 100ms linear;
				transition: background-color 100ms linear;
	}

	#profile ul li img,
	.tabs ul:not(:first-child) li img{
		padding: 7px;
		max-height: 18px;
	}
	
	.window .close:hover{
		cursor: pointer;
		cursor: hand;
		opacity: 1.0;
		background: #cc0000;
	}

	.d20{
		opacity: 0.4;
		vertical-align: bottom;
		height: 32px;
	}

	.d20 img{
		padding: 4px;
		max-height: 24px;
		-webkit-filter: invert(1);
		   -moz-filter: invert(1);
			-ms-filter: invert(1);
			 -o-filter: invert(1);
				filter: invert(1);
	}
	.d20:hover{
		cursor: pointer;
		cursor: hand;
		background: #438cbf;
		opacity: 1.0;
	}
	
	.d20:hover img{
		-webkit-filter: invert(0);
		   -moz-filter: invert(0);
			-ms-filter: invert(0);
			 -o-filter: invert(0);
				filter: invert(0);
	}

	#profile ul li{
		color: #fff;
		opacity: 1.0;
		border: 1px solid #fff;
		background: rgba(38,38,38,0.1);
	}
		#profile ul li:not(:last-child){
			border-right: none;
		}
		#profile ul li:not(:first-child){
			border-left: none;
		}

	#profile ul li:hover{
		border-color: #fff;
		cursor: pointer;
		cursor: hand;
		opacity: 1.0;
		background: #438cbf;
	}
	#profile ul #logout:hover{
		background: #cc0000;
	}
	
.container h3,
.container p{
    color: #555;
}

#header{
	box-sizing: border-box;
	background: #000 url("../img/header_background.png") no-repeat center center;
	position: relative;
	height: 220px;
	min-width: 590px;
	padding: 0;
}

#header a .banner{
	box-sizing: border-box;
	margin: 0 auto;
	width: 1024px;
	height: 100%;
	overflow: hidden;
	cursor: pointer;
	cursor: hand;
	padding: 80px 3.5% 0;
	font-family: 'Merienda', cursive;
	font-variant: small-caps;
	font-size: 18px;
	background: transparent url("../img/battlemageroyal_logo.png") no-repeat center center;
}
	#header a .banner .play{
		position: relative;
		display: inline-block;
		padding: 8px 32px;
		-webkit-transition:	all 300ms ease-out;
		   -moz-transition:	all 300ms ease-out;
			-ms-transition:	all 300ms ease-out;
			 -o-transition:	all 300ms ease-out;
				transition:	all 300ms ease-out;
		background: rgba(0,0,0,0.0);
	}
	#header a:hover .banner .play{
		background: rgba(0,0,0,0.5);
		-webkit-box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.2);
		   -moz-box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.2);
				box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.2);
	}

	#header a .banner .play:before,
	#header a .banner .play:after,
	#header a .banner .play .border:before,
	#header a .banner .play .border:after{
		position: absolute;
		content: ' ';
		border: 1px solid #ccc;
		-webkit-transition:	all 300ms ease-out;
		   -moz-transition:	all 300ms ease-out;
			-ms-transition:	all 300ms ease-out;
			 -o-transition:	all 300ms ease-out;
				transition:	all 300ms ease-out;
	}
	#header a .banner .play:before{
		top: 0;
		bottom: 0;
		left: -5px;
		right: -5px;
		border-top: 0;
		border-bottom: 0;
	}
	#header a .banner .play:after{
		left: 0;
		right: 0;
		top: -5px;
		bottom: -5px;
		border-left: 0;
		border-right: 0;
	}
	#header a:hover .banner .play:before{
		top: 50%;
		bottom: 50%;
	}
	#header a:hover .banner .play:after{
		left: 50%;
		right: 50%;
	}
		#header a .banner .play .border:before{
			top: -5px;
			bottom: -5px;
			left: 0;
			right: 0;
			border-top: 0;
			border-bottom: 0;
		}
		#header a .banner .play .border:after{
			left: -5px;
			right: -5px;
			top: 0;
			bottom: 0;
			border-left: 0;
			border-right: 0;
		}
		#header a:hover .banner .play .border:before,
		#header a:hover .banner .play .border:after{
			border-color: #fff;
			top: 0;
			bottom: 0;
			left: 0;
			right: 0;
		}

	#header a .banner .play .glow{
			position: absolute;
			top: 10px;
			left: 10px;
			right: 10px;
			bottom: 10px;
			background: rgba(255,255,255,0.0);
			-webkit-transition:	all 300ms ease-out;
			   -moz-transition:	all 300ms ease-out;
				-ms-transition:	all 300ms ease-out;
				 -o-transition:	all 300ms ease-out;
					transition:	all 300ms ease-out;
		}
		#header a:hover .banner .play .glow{
			top: 5px;
			left: 5px;
			right: 5px;
			bottom: 5px;
			background: rgba(255,255,255,0.9);
		}

	#header a .banner .play span{
		position: relative;
		overflow: hidden;
	}

	#header a .banner .play span{
	}

	#header a:hover .banner .play{
		color: #000;
	}
	

#header a{
	-webkit-transition:	color 100ms linear;
	   -moz-transition:	color 100ms linear;
		-ms-transition:	color 100ms linear;
		 -o-transition:	color 100ms linear;
			transition:	color 100ms linear;
}

#header a:hover{
	color: #000;
}

.menu{
	box-sizing: border-box;
	z-index: 9999;
	position: relative;
    left: 0;
    right: 0;
	height: 42px;
	min-width: 590px;
	border-bottom: 1px solid rgba(255,255,255,0.3);
	background: rgba(38,38,38,0.8);
}

	#header .menu{
		position: absolute;
		bottom: 0;
	}

	.menu ul{
		width: 1024px;
		margin: 0 auto;
	}
		.menu ul a{
			font-size: 0;
		}
		.menu ul li{
			box-sizing: border-box;
			height: 42px;
			display: inline-block;
			padding: 5px 8px;
			color: rgba(165,165,165,0.5);
			cursor: default;
		}
		.menu ul a li{
			margin: 0;
			color: rgb(165,165,165);
			-webkit-transition: color 100ms linear, background-color 100ms linear;
			   -moz-transition: color 100ms linear, background-color 100ms linear;
				-ms-transition: color 100ms linear, background-color 100ms linear;
				 -o-transition: color 100ms linear, background-color 100ms linear;
					transition: color 100ms linear, background-color 100ms linear;
		}
		.menu ul a li:hover{
			color: #fff;
			background-color: #438cbf;
			cursor: pointer;
			cursor: hand;
			border-bottom: 1px solid #fff;
		}
		.menu ul a.active li{
			color: #fff;
		}

#login{
	position: relative;
    display: inline-block;
    top: 50%;
    width: 390px;
	opacity: 0;
	padding: 32px 0 0;
	margin: 20px auto 0;
    width: 390px;
	min-width: auto;
	height: 690px;
	font-size: 14px;
	overflow: hidden;
	text-align: left;
	-webkit-transition: opacity 200ms linear;
	   -moz-transition: opacity 200ms linear;
		-ms-transition: opacity 200ms linear;
		 -o-transition: opacity 200ms linear;
			transition: opacity 200ms linear;
    -webkit-transform: translateY(-50%);
	   -moz-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		 -o-transform: translateY(-50%);
			transform: translateY(-50%);
}

#settings{
    color: #a5a5a5;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
	padding: 12px 0 0;
}

	#login form{
		width: 260px;
		margin: 0 auto;
		text-align: center;
	}
	#login form div{
		text-align: center;
		margin: 20px auto;
	}

	form .enable input[type=checkbox],
	#login form .enable input[type=checkbox] {
		visibility: hidden;
		vertical-align: top;
		margin: 0;
		width: 0;
		height: 19px;
	}

	#login form input[type=text],
	#login form input[type=password] {
		vertical-align: top;
		height: 24px;
		width: 210px;
		color: #111;
		border: 1px solid #111;
		padding: 2px 4px;
	}

	#settings button,
	#login form input[type=submit] {
		padding: 7px 15px;
		width: auto;
		border-style: none;
		color: #999;
		background-color: #1b1b1b;
		border: 1px solid #999;
		-webkit-transition: all 100ms linear;
		   -moz-transition: all 100ms linear;
			-ms-transition: all 100ms linear;
			 -o-transition: all 100ms linear;
				transition: all 100ms linear;
	}
		#settings button{
			width: 260px;
		}

	#settings .inputGroup {
		margin: 0 0 40px;
	}
	#settings .inputGroup h4{
		text-align: left;
	}
		#settings .inputGroup div{
			margin-left: 20px;
		}

	#settings button:hover,
	#login form input[type=submit]:hover {
		background-color: rgb(0,167,255);
		background-image: none;
		border-color: rgb(0,167,255);
		color: #fff;
	}

	form .enable,
	#login form .enable{
		font-size: 0;
		text-align: left;
		position: relative;
		min-height: 19px;
		max-width: 260px;
	}
		form .enable label,
		#login form .enable label{
			font-size: 14px;
			display:inline-block;
			line-height: 19px;
		}
		form#settings .enable label,
		#login form#settings .enable label {
			font-size: 12px;
		}	
			form .enable label span,
			#login form .enable label span{
				display:inline-block;
				margin-left: 25px;
			}

		form .enable label:before,
		#login form .enable label:before {
			position: absolute;
			top: 0;
			left: 0;
			width: 17px;
			height: 17px;
			content: ' ';
			border-radius: 4px;
			border: 1px solid #000;
			-webkit-box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.3);
			   -moz-box-shadow:	inset 0 0 2px 2px rgba(0,0,0,0.3);
				-ms-box-shadow:	inset 0 0 2px 2px rgba(0,0,0,0.3);
				 -o-box-shadow:	inset 0 0 2px 2px rgba(0,0,0,0.3);
					box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.3);
			background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.02), rgba(255,255,255,0.1));
			background-image:    -moz-linear-gradient(top, rgba(255,255,255,0.02), rgba(255,255,255,0.1));
			background-image:     -ms-linear-gradient(top, rgba(255,255,255,0.02), rgba(255,255,255,0.1));
			background-image:      -o-linear-gradient(top, rgba(255,255,255,0.02), rgba(255,255,255,0.1));
			background-image:         linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(255,255,255,0.1));
		}
		form .enable label:after,
		#login form .enable label:after {
			position: absolute;
			top: 3px;
			left: 4px;
			width: 12px;
			height: 5px;
			content: ' ';
			opacity: 0;
			border: 3px solid #43BF77;
			border-top: none;
			border-right: none;
			-webkit-transform: rotate(-45deg);
			   -moz-transform: rotate(-45deg);
				-ms-transform: rotate(-45deg);
				 -o-transform: rotate(-45deg);
					transform: rotate(-45deg);
			-webkit-box-shadow: -1px 1px 1px 0 rgba(0,0,0,0.3), inset 1px -1px 1px 0 rgba(0,0,0,0.3);
			   -moz-box-shadow:	-1px 1px 1px 0 rgba(0,0,0,0.3), inset 1px -1px 1px 0 rgba(0,0,0,0.3);
				-ms-box-shadow:	-1px 1px 1px 0 rgba(0,0,0,0.3), inset 1px -1px 1px 0 rgba(0,0,0,0.3);
				 -o-box-shadow:	-1px 1px 1px 0 rgba(0,0,0,0.3), inset 1px -1px 1px 0 rgba(0,0,0,0.3);
					box-shadow: -1px 1px 1px 0 rgba(0,0,0,0.3), inset 1px -1px 1px 0 rgba(0,0,0,0.3);
			-webkit-transition:	all 100ms linear;
			   -moz-transition: all 100ms linear;
				-ms-transition: all 100ms linear;
				 -o-transition: all 100ms linear;
					transition: all 100ms linear;
		}

		form .enable label:hover::after,
		#login form .enable label:hover::after {
			opacity: 0.3;
		}
		form .enable input[type=checkbox]:checked + label:after,
		#login form .enable input[type=checkbox]:checked + label:after{
			opacity: 1;
		}
		form .enable input[type=checkbox]:checked:hover + label:after,
		#login form .enable input[type=checkbox]:checked:hover + label:after {
			border-color: #fff;
		}
	
	#login form div.forgotPassword{
		text-align: left;
		width: 220px;
		margin: 5px auto;
	}

	#login form div.forgotPassword span{
		-webkit-transition: color 100ms linear;
		   -moz-transition: color 100ms linear;
			-ms-transition: color 100ms linear;
			 -o-transition: color 100ms linear;
				transition: color 100ms linear;
	}
	
	#login form div.forgotPassword span:hover{
		color: #438cbf;
	}

	#login form div.newPassword,
	#login .disclaimer{
		font-size: 18px;
	}

	#login div.recover,
	#login div.newPassword,
	#login .disclaimer{
		height: 126px;
		padding: 30px 30px 0px;
	}

	#login .disclaimer,
	#login .result{
		color: rgb(255,84,84);
	}
	
	#settings .result{
		height: 22px;
	}

	#login .success{
		color: #438cbf;
	}

	#login .newPassword,
	#login .keyFeedback{
		font-size: 16px;
		color: #a5a5a5;
	}
	
#footer p{
	margin: 0;
	padding: 1em 0;
	font-size: 1em;
}

#copyright {
	width: 100%;
	text-align: center;
	font-size: 12px;
	font-variant: small-caps;
	letter-spacing: 1.7px;
	background: #000;
}
	#copyright,
	#copyright p{
		color: #b69872;
	}

.window #copyright {
	position:absolute;
	bottom:0;
	font-size: 11px;
    background: rgba(38,38,38,0.7);
}
	.window #copyright p{
		color: #a5a5a5;
	}


/**
 * Responsive
 */
@media (max-width: 1024px) {
	#header a .banner,
	.menu ul,
	.container {
		margin: 0 auto;
		width: 100%;
		min-width: 590px;
	}
}

@media (max-width: 767px) {
	.menu .date{
		display: none;
	}
}

@media (max-width: 480px) {
}

@media (max-width: 435px) {
}
