.container {
	position: relative;
	z-index: 10;
	background: #d5d4d4;
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}

.drag-active .container {
	-webkit-transform: translate3d(-100%,0,0);
	transform: translate3d(-100%,0,0);
}

.grid {
	margin: 0 auto;
	max-width: 50em;
	padding: 0 1em;
}

.grid__item {
	display: inline-block;
	margin: 0.2em 0.1em;
	padding-top: 2.25em;
	width: 5.5em;
	height: 5.5em;
	border-radius: 4px;
	background: #eae9e9;
	color: #999;
	text-align: center;
	font-size: 2em;
}

.grid__item:hover {
	cursor: move;
	cursor: -webkit-grab;
	cursor: grab;
}

.grid__item:active {
	cursor: -webkit-grabbing;
	cursor: grabbing;
}

.is-dragging {
	background: #ff7474;
	color: #fff;
}

.is-active {
	z-index: 100;
}

.is-dropped {
	opacity: 0;
	-webkit-transform: scale3d(0.7,0.7,1) !important;
	transform: scale3d(0.7,0.7,1) !important;
}

.is-complete {
	opacity: 1;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s !important;
	transition: opacity 0.3s, transform 0.3s !important;
	-webkit-transform: scale3d(1,1,1) !important;
	transform: scale3d(1,1,1) !important;
}

.animate {
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}

.drop-area {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 8;
	width: 100%;
	height: 100%;
	background: #666;
	text-align: center;
}

.drop-area > div {
	position: absolute;
	top: 20px;
	right: 20px;
	bottom: 20px;
	left: 20px;
}

.drop-area__item {
	position: relative;
	float: left;
	width: 25%;
	height: 100%;
	border: 10px solid transparent;
}

.drop-area__item > div {
	width: 100%;
	height: 100%;
	border-radius: 4px;
	background: #f1f1f1;
	-webkit-transition: -webkit-transform 0.3s, background 0.3s;
	transition: transform 0.3s, background 0.3s;
	-webkit-transform: scale3d(1,1,1); /* special treatment for Safari */
	transform: scale3d(1,1,1);
}

.drop-area__item.highlight > div {
	background: #dbdada;
	-webkit-transform: scale3d(0.95,0.95,1);
	transform: scale3d(0.95,0.95,1);
}

.drop-area__item > div::before,
.drop-area__item > div::after {
	position: absolute;
	top: 50%;
	left: 0;
	margin-top: -0.35em;
	width: 100%;
	color: #ff7474;
	font-size: 1.5em;
	font-family: FontAwesome;
	pointer-events: none;
}

.drop-area__item > div::before {
	content: '\f067';
}

.drop-feedback.drop-area__item > div::before {
	opacity: 0;
	-webkit-transform: scale3d(0,0,1);
	transform: scale3d(0,0,1);
}

.drop-area__item > div::after {
	margin-top: -0.5em;
	color: #ff7474;
	content: '\f00c';
	font-size: 3em;
	opacity: 0;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
	-webkit-transform: scale3d(2,2,1);
	transform: scale3d(2,2,1);
}

.drop-feedback.drop-area__item > div::after {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.drop-feedback.drop-area__item > div {
	background: #fff;
}

.dummy,
.dummy::after {
	position: absolute;
	top: 1em;
	left: 1em;
	height: 1em;
	border-radius: 2px;
	background: #999;

	-webkit-backface-visibility: hidden;
}

.dummy {
	width: 50%;
}

.dummy::after {
	top: 1.5em;
	left: 0;
	width: 60%;
	content: '';
}

.drop-overlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 8;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	opacity: 1;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
	pointer-events: none;
}

.drop-area.show + .drop-overlay {
	opacity: 0;
}

.helper {
	position: absolute !important;
	margin: 0;
}

@media screen and (max-width: 50em) {
	.grid__item {
		font-size: 1.5em;
	}
	.drop-area {
		font-size: 0.6em;
	}
}

@media screen and (max-width: 38em) {
	.drop-area__item {
		float: none;
		width: 100%;
		height: 25%;
	}
}

@media screen and (max-width: 25.5em) {
	.grid {
		padding: 0 2em;
	}
	.grid__item {
		font-size: 1em;
	}
}
