@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
@import url(http://fonts.googleapis.com/css?family=Titillium+Web:700);

html, body, #root, #matching-activities {
	width:100%;
	height:100%;
	margin:0px;
	padding:0px;
	background:#c0df6d;
  	font-family: 'Titillium Web', sans-serif;
	font-weight:700;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#root,
#matching-activities {
	float: left;
}

#matching-activities {
	position: fixed;
	left: 0;
	top: 0;
	background-position: left top;
	background-repeat: no-repeat;
}

#matching-activities a {
	background: rgba(255, 255, 255, 0.7);
	position: absolute;
	outline: solid 1px #c1c1c1;
	box-sizing: border-box;
	font-size: 40px;
	color: #999;
	text-align: center;
	vertical-align:middle;
	text-transform: uppercase;
	opacity: 0.01;
	cursor: grabbing;
	
}

#matching-activities a.drag {
	z-index: 1;
	cursor:move;
}

#matching-activities a.no {
	cursor: pointer;
}

#alphabet-keyboard,
#alphabet-keyboard .bg-area {
	width: 100%;
	height: 100%;
	float: left;
	position: fixed;
}

#alphabet-keyboard .bg-area {
	background: rgba(0, 0, 0, 0.6);
	top: 0;
	left: 0;
}

#alphabet-keyboard .work-area {
	position: fixed;
	left: 0;
	top: 0;
	width: 300px;
	height: 300px;
	border: solid 1px #000;
	left: 50%;
	top: 50%;
	margin: -150px -150px;
}

#alphabet-keyboard button {
	width: 50px;
	float: left;
	border: 0;
	outline: 0;
	height: 50px;
	line-height: 50px;
	text-transform: uppercase;
	font-size: 24px;
	box-shadow: 0 0 1px #000 inset;
	font-weight: bold;
	cursor: pointer;
}

#matching-area {
	position: fixed;
    left: 50%;
    top: 50%;
	transform: translate(-50%, -50%);
	background-size: contain;
}

.action {
	position: fixed;
	width: 150px;
	bottom: 0;
	left: 50%;
	margin-left: -75px;
}

@media (orientation: landscape) {
	.action {
		position: fixed;
		width: 50px;
		bottom: 0;
		left:auto;
		right: 0;
		top: 50%;
		margin-top: -75px;
		margin-left: 0;
	}
}
  


.action button,
button.back {
    width: 44px;
    height: 44px;
    float: left;
    margin: 3px;
    border: 0;
    background: darkcyan;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 2px 0 #333;
	text-shadow: 0 1px 0 #333;
	outline: 0;
	cursor: pointer;
}

button.back {
	position: fixed;
	left: 0;
	top: 0;
}

.action button.none {
	opacity: 0.3;
	cursor: default;
}

.items-list {
	margin: auto;
	max-width: 1000px;
	width: 100%;
}

.items-list h1 {
	margin: 0px;
	text-align: center;
	float: left;
	width: 100%;
	padding: 0;
}

.items-list h1 a {
	float: left;
	position: relative;
	left: 50%;
	transform: translate(-50%, 0)
}

.items-list h1 img {
	max-width: 100%;
	border: 0;
	float: left;
}

.items-list p {
	float: left;
	width: 100%;
	text-align: center;
	font-size: 20px;
	padding: 5px 22px;
	border-left: red solid 8px;
	border-right: red solid 8px;
	line-height: 1.4em;
	margin: 10px 0;	
	box-sizing: border-box;
	
}
.items-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	width: 100%;
}

.items-list li {
	width: 20%;
	float: left;
	margin: 0;
	padding: 15px 0;
	list-style: none;	
}

.items-list div {
	width: 140px;
	height: 140px;
	float: left;
	margin: 0;
	background: #fff;
	border-radius: 60px;
	margin: 0;
	padding: 0;
	position: relative;
	left: 50%;
	margin-left: -70px;
	cursor: pointer;
}

.items-list div i {
	position: absolute;
	right: 10px;
	top: 10px;
	color: red;
	text-shadow: 0px 2px 0px #999;
	font-size: 30px;
	background: #f1f1f1;
	border-radius: 8px;
}

.items-list li div::after {
	content: "";
	width: calc(100% + 20px);
	height: 100%;
	border-bottom: solid 4px red;
	position: absolute;
	bottom: -10px;
	left: -10px;
	border-radius: 70px;
}

.items-list li img {
	float: left;
	width: 120px;
	background-size:480px;
	margin: 10px;
	background-size: cover;
}

.items-list li span {
	width: 100%;
	text-align: center;
	font-size: 1em;
	float: left;
}

.cloud-message {
	position:fixed;
	left:0px;
	top:0px;
	float:left;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.5)
}

.cloud {
	position: absolute;
	left: 50%;
	top: 50%;
	background: #07d9b7;
	font-size: 20px;
	font-family: cursive;
	width:280px;
	padding:10px;
	position:fixed;
	z-index:10;
	margin:-100px 0 0 -150px;
	border-radius: 40px;
	text-align:center;
	border: solid 15px #207cb7;
	border-top: 0;
	color: #fff;
}

.cloud h1 {
	margin: 0px;
	line-height: 40px;
    background: #207cb7;
    padding: 0;
    margin: 0;
    position: absolute;
    left: 50%;
    top: -30px;
    padding: 5px 15px;
    text-transform: uppercase;
    font-size: 30px;
    transform: translateX(-50%);
    border-radius: 10px;
    text-shadow: 1px 1px 1px #000;
    box-shadow: 0 8px 10px inset #fff;
}

.cloud p {
	margin:15px 0;
	text-shadow: 1px 1px 1px #000;
}
.cloud p:first-child {
   	border-bottom: solid 1px #ccc;
    margin: 0;
    padding: 10px 0;
}
 

.cloud button {
	width:auto;
	padding:10px 15px;
	margin:0 5px;
	font-size:16px;
	float:none;
	display:inline-block;
	background: #01aef3;
	border: solid 1px #207cb7;
	outline: 0;
	color: #fff;
	border-radius:10px;
	cursor: pointer;
}

@media only screen and (max-width: 950px) {
	.items-list li {
		width: 25%;
	}
}

@media only screen and (max-width: 700px) {
	.items-list li {
		width: 33.33%;
	}
}

@media only screen and (max-width: 520px) {
	.items-list li {
		width: 50%;
	}
}
