@font-face {
    font-family: MinecraftBig;
    src: url('../fonts/Minecrafter.Reg.ttf');
}

@font-face {
    font-family: Minecraft;
    src: url('../fonts/Minecraftia.ttf');
}

*{
	margin:0;
	padding: 0;
	font-size:100%;
	box-sizing: inherit;
}

html{
	height: 100%;
}

body{
	min-height: 100%;
	background-image: url('../images/bg.png');
	padding-top:100px;
	box-sizing: border-box;
	font-size:16px;
}

body.iframe{
	padding-top: 0px !important;
	background-image: none !important;
}

input, select, button{
	width: 100%;
	padding:.4em .3em;
	border-radius:4px;
	font-family: Minecraft;
	margin-bottom:5px;
}

img{
	max-width: 100%;
}

.button{
	background-color: #652C11;
	padding:.4 .6em;
	font-family: Minecraft;
	color:#FFF;
	outline: none;
	border: none;
	cursor: pointer;
}

.button:hover{
	background-color: #8E4222;
}

.l-arrow{
	height: 29px;
	width: 54px;
	background: url('../images/arrow.png') 0 0 no-repeat;
	transform: scaleX(-1);
	position: absolute;
	bottom: 50px;
	left: 65px;
	cursor: pointer;
}

.l-arrow:hover{
	background:url('../images/arrow_hover.png') 0 0 no-repeat;
}

.r-arrow{
	height: 29px;
	width: 54px;
	background: url('../images/arrow.png') 0 0 no-repeat;
	position: absolute;
	bottom: 0px;
	right: 48px;
	cursor: pointer;
}

.r-arrow:hover{
	background:url('../images/arrow_hover.png') 0 0 no-repeat;
}

.wrapper{

}

.book{
	background-image: url('../images/book.png');
	background-repeat: no-repeat;
	background-size: cover;
	margin:0 auto;
	/*width: 837px;
	height: 540px;*/
	width: 1050px; /*950 613*/
	height: 677px;
	display:block;
	border-radius:34px;
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.75);
	font-family: Minecraft;
	overflow: hidden;
}

.book .l-page{
	display:block;
	height: 100%;
	float:left;
	width:50%;
	padding:30px 28px 50px 45px;
	text-align: justify;
	word-wrap: break-word;
	position: relative;
}

.book .l-page .cat ul, .book .l-page .cat .title{
	text-align: right;
}

.book .r-page .cat ul{
	text-align: left;
}

.book .r-page{
	display:block;
	height: 100%;
	float:left;
	width:50%;
	padding:30px 45px 50px 28px;
	text-align: justify;
	word-wrap: break-word;
	position: relative;
}

.book .r-page-admin{
	display:block;
	height: calc(100% - 80px);
	float:left;
	width:calc(50% - 10px);
	margin-top:30px;
	margin-right: 10px;
	margin-bottom: 50px;
	padding:0 35px 0 25px;
	text-align: justify;
	position: relative;
	word-wrap: break-word;
	overflow: auto;
}

.book h2{
	font-family: MinecraftBig;
	font-weight: bold;
	margin-top:5px;
	font-size:18px;
}

.crafting{
	background-image: url('../images/crafting.png');
	background-repeat: no-repeat;
	background-size: cover;
	width: 405px;
	height: 186.5px;
	margin:10px auto 0 auto;
	position: relative;
}

.crafting .w{
	position: absolute;
	width: 32px;
	height: 32px;
}

.crafting .w1{top:41px;left:71px;}
.crafting .w2{top:41px;left:112px;}
.crafting .w3{top:41px;left:154px;}
.crafting .w4{top:82px;left:71px;}
.crafting .w5{top:82px;left:112px;}
.crafting .w6{top:82px;left:154px;}
.crafting .w7{top:123px;left:71px;}
.crafting .w8{top:123px;left:112px;}
.crafting .w9{top:123px;left:154px;}

.crafting .w10{top:81px;left:287px;}
.crafting .w10 .amount{position: absolute;bottom:-7px;right: -2px;font-family: Minecraft;color: #FFF;text-shadow: 0.125em 0.125em 0 #3F3F3F;}

.cat{
	margin-top:5px;
}

.cat .title{
	font-family: Minecraft;
}

.cat ul{
	font-size:0px;
}

.cat ul li{font-size:12px;cursor:pointer;height: 37px;width: 37px;list-style: none;display:inline-block;background-color: #888888;border-top: 2px solid #333;border-left:2px solid #333;border-right: 2px solid #FFF;border-bottom: 2px solid #FFF;margin: 0 2px 2px 0;}

.cat ul li:hover{background-color:#A3A3A3}

.cat ul li img{width: 32px;height: 32px;}

.icon{
	height: 37px;width: 37px;background-color: #888888;border-top: 2px solid #333;border-left:2px solid #333;border-right: 2px solid #FFF;border-bottom: 2px solid #FFF;
}

#item-list td:nth-child(1){
	width: 37px;
}

#item-list td:nth-child(2){
	width: calc(100% - 87px);
}

#item-list td:nth-child(3){
	width: 50px;
	text-align: right;
	font-size: 12px;
}

.align-center{
	text-align: center;
}

.hover-panel{
	position: absolute;
	background-color: rgba(16, 0, 16, 0.94);
    border-top: 0.125em solid rgba(80, 0, 255, 0.31);
    border-bottom: 0.125em solid rgba(40, 0, 127, 0.31);
    color: #FFF;
    padding: 0.125em 0.25em;
    font-family: Minecraft;
    font-size: 16px;
    max-width: 400px;
    pointer-events: none;
    line-height: 1.25em;
    text-shadow: 0.125em 0.125em 0 #3F3F3F;
    margin: -2em .9em;
    z-index: 100;
}

.hover-panel:before {
    content: "";
    position: absolute;
    top: -0.25em;
    right: -0.125em;
    bottom: -0.25em;
    left: -0.125em;
    border: 0.125em solid rgba(16, 0, 16, 0.94);
}

.hover-panel:after {
    content: "";
    position: absolute;
    top: -0.125em;
    right: -0.25em;
    bottom: -0.125em;
    left: -0.25em;
    background-image: -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)), -webkit-linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31));
    background-image: linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31)), linear-gradient(rgba(80, 0, 255, 0.31), rgba(40, 0, 127, 0.31));
    background-size: 0.125em 100%;
    background-repeat: no-repeat;
    background-position: left, right;
    border: solid rgba(16, 0, 16, 0.94);
    border-width: 0 0.125em;
}

::-webkit-scrollbar-corner {
    background-color: black;
}

::-webkit-scrollbar-button {
    display: none;
    background-color: #7c2929;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.6);
    margin-right: 5px;
}

@media only screen and (max-width : 1060px) {
	body{
		padding:0;
	}
}

.craft{
	cursor: pointer;
}

.custom-menu {
    display: none;
    z-index: 1000;
    position: absolute;
    overflow: hidden;
    background-color: #888888;
    border-top: 2px solid #333;
    border-left:2px solid #333;
    border-right: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    white-space: nowrap;
    font-family: Minecraft;
    font-size: 16px;
    color: #FFF;
    line-height: 1.25em;
	text-shadow: 0.125em 0.125em 0 #3F3F3F;
    border-radius: 5px;
}

.custom-menu li {
    padding: 4px 12px;
    cursor: pointer;
}

.custom-menu li:hover {
   background-color:#A3A3A3
}