body {
	padding: 0;
	margin: 0;

	color: #222;
	font-family: 'Open Sans', sans-serif;

	background-image: url(img/minecraft-bkgnd.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

body,
.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.row {
	display: table;
	width: 100%;
}

.pull-right {
	float: right;
}

.pull-left {
	float: left;
}

img,
.inner-item {
	image-rendering: optimizeSpeed;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: pixelated;
	image-rendering: optimize-contrast;
	-ms-interpolation-mode: nearest-neighbor;
}

.container {
	max-width: 542px;
	margin: 0 auto;
	padding: 10px 15px;

	background-color: #434856;
/*	background-color: #515365;	*/
	box-shadow: 0px 0px 5px 2px #272727;
}

h1.minecraft-header {
	margin: 0;

	text-align: center;
	font-weight: 800;
	font-size: 80px;
	line-height: 70px;
}

h2.recipes-header {
	margin: 0;
	margin-bottom: 10px;
	text-align: center;
	font-weight: 600;
	font-size: 20px;
	letter-spacing: 3px;

	color: #aaa;
}

button {
	outline: none;
	cursor: pointer;

	margin: 0 10px;

	background: #ccc;
	border: 2px solid #dddddd;
	border-radius: 7px;
	padding: 5px 10px;

	font-size: 15px;
}

button:hover {
	background: #efefef;
}

.red {
	color: red;
}

.control-menu {
	float: right;
	text-align: right;
	width: 200px;
}

.control-menu button {
	margin-right: 0;
	margin-left: 0;
}

.control-menu i {
	color: #efefef;
}

.item {
	width: 32px;
	height: 32px;

	display: inline-block;

	margin: 5px;
	padding: 7px;

	vertical-align: middle;
	background-color: #dddddd;
	border: 4px solid #7e7e7e;
	border-radius: 17px;
/*	border-top-left-radius: 17px;
	border-top-right-radius: 17px;
	border-bottom-left-radius: 17px;
	border-bottom-right-radius: 17px;*/

 /* Prevent background color leak outs */
	-webkit-background-clip: padding-box;
	-moz-background-clip:    padding;
	background-clip:         padding-box;

	-webkit-box-shadow: 5px 7px 31px -13.0px ;
	box-shadow        : 5px 7px 31px -13.0px ;
/*
	transition:
		all .4s ease-out,
		width .4s cubic-bezier(.52, .01, 0, 1),
		height .4s cubic-bezier(.52, .01, 0, 1),
		transform .7s cubic-bezier(.39, .97, .57, .98) ;
*/
}

.item:hover {
/*
	transition:
		all .1s ease-out,
		width .4s cubic-bezier(.52, .01, 0, 1),
		height .4s cubic-bezier(.52, .01, 0, 1),
		transform .1s ease-out;
*/
	transform: translate(-3px, -3px) translateZ(0);
	box-shadow: 5px 7px 34px -9.1px;
}


.inner-item {
	background-image: url(img/InvSprite.png);
	width: 32px;
	height: 32px;
	position: relative;
/*	background-position: -704px -1184px;*/
}

.item--opened {
	padding: 2px;
	box-shadow        : 5px 7px 34px -9.1px;
	-webkit-box-shadow: 5px 7px 34px -9.1px;
	width: 246px;
	/*height: 120px;*/
	height: auto;
}

.item--opened:hover {
	transform: none;
}

.item-recipe {
	padding: 10px;
}

.components {
	font-size: 0;
	display: table-cell;
	width: 124px;
	margin: 5px;
}

.component {
	width: 32px;
	height: 32px;
	display: inline-block;
	// margin: -3px -2px;
	padding: 2px;


	border: 1px solid #B3B3B3;
/*    border-radius: 3px;*/
}

.component:nth-child(1) {
	border-left-style: none;
	border-top-style: none;
}

.component:nth-child(2) {
	border-top-style: none;
}

.component:nth-child(3) {
	border-top-style: none;
	border-right-style: none;
}

.component:nth-child(4) {
	border-left-style: none;
}

.component:nth-child(5) {
}

.component:nth-child(6) {
	border-right-style: none;
}

.component:nth-child(7) {
	border-left-style: none;
	border-bottom-style: none;
}

.component:nth-child(8) {
	border-bottom-style: none;
}

.component:nth-child(9) {
	border-bottom-style: none;
	border-right-style: none;
}

.recipe-body {
	display: table;
}

.recipe-arrow {
	display: table-cell;
	vertical-align: middle;
	color: #b3b3b3;
}

.recipe-result {
	display: table-cell;
	padding: 0 15px;
	vertical-align: middle;
	font-size: 12px;
	transform: scale(1.7);
}

.recipe-control {
	padding: 7px;
}

.recipe-counter {
	text-align: right;
}

.search-input {
	outline: none;

	display: block;
	width: 365px;
	margin: 0 auto;
	margin-bottom: 10px;
	padding: 10px;
	border-radius: 10px;
	background-color: #efefef;
	border: 4px solid #7e7e7e;
	border-radius: 17px;

	text-align: center;
	font-size: 20px;
	font-weight: 800;
	color: #565656;
}

#toggle-recipes-view {
	margin-top: 5px;
	margin-bottom: 10px;
}

.recipe-title {
	height: 50px;
	margin-bottom: 10px;
	color: #555;
	text-align: center;
	font-weight: 600;
	font-size: 20px;
}

.item-stack {
	position: absolute;
	right: 0;
	bottom: 0;
	color: #fff;
	text-shadow: 1px 1px 0 #000, 0px 1px 0 #000;
	line-height: 7px;
}

#control-menu i.control-label {
	color: #ddd;
	margin-right: 5px;
}

.control-menu__row {
	margin-bottom: 5px;

	text-align: center;
}

select {
	padding: 3px;
	border-radius: 5px;
}

.container.container-width-3 {
	max-width: 814px;
}

.container.container-width-4 {
	max-width: 1090px;
}


i.control-button {
	padding: 7px;
	background: #ccc;
	border-radius: 7px;

	cursor: pointer;
}

i.control-button:active {
	background: #eee;
}

.notification {
	width: 100%;
	height: 30px;
	top: 0;
	position: absolute;
	background-color: #f7f7f7;
	text-align: center;
	line-height: 24px;
	font-size: 17px;
}

.notification ~ div {
	margin-top: 30px;
}