* {
	margin: 0;
	padding: 0;
}
ul, form, div:first-of-type, div:last-child {
	list-style-type: none;
	margin: 2%;
	border: 1px solid #ccc;
	padding: 5px;
	width: 44%;
	float: left;
}
ul li {
	margin-bottom: 5px;
	padding: 2px;
}
ul:first-of-type li:nth-child(odd) {
	background-color: #d2fffe;
	border: 1px solid #000;
}
body > ul:first-of-type li:nth-child(5) {
	background: #ffd2d2;
}

form {
	clear: both;
	width: 95%;
}
form p {
	margin-bottom: 15px;
	clear: both;
	overflow: hidden;
}
form label {
	float: left;
}
form input, form textarea {
	width: 70%;
	float: right;
	border: 1px solid #000;
}
input:disabled {
	background: #e7e7e7;
}
form p *:not(textarea):not(label) {
	height: 20px;
}
form textarea {
	height: 50px;
}

div:first-of-type {
	width: 200px;
	height: 200px;
	background: blue;
	color: #FFF;
	clear: both;
	-webkit-transition-property: background, border;
	-webkit-transition-duration: 2s, 1s;
	-webkit-transition-timing-function: linear, ease-in-out;
}
div:first-of-type:hover {
	background: #ccc;
	border: 20px solid blue;
}
h1 {
	color: #FFF;
	font: 30px/1.5 Helvetica, Arial, sans-serif;
	width: 150px;
	margin: 25px auto;
}

div:last-child {
	width: 95%;
	height: 100px;
	-webkit-transition: -webkit-transform 3s ease-in;
	background: rgba(0,0,0,.5);
	cursor: pointer;
}

@media screen and (max-width:800px) {
	ul {
		float: none;
		max-width: auto;
		width: auto;
	}
	div:first-of-type {
		display: none;
	}
}

@media screen and (max-width:600px) {
	ul:last-of-type {
		display: none;
	}
}

@media screen and (max-width: 400px) {
	div:last-child, form {
		display: none;
	}
	ul:first-of-type {
		height: auto;
		padding: 50px;
	}
	ul:first-of-type li {
		margin-bottom: 50px;
	}
}

/* Demo Page styles */

body {
	width:800px;
	margin:0 auto;
	font:normal 14px/20px Arial, Helvetica, sans-serif;
	color:#333;
}
.title {
	width:100%;
	font-size:28px;
	font-weight:bold;
	letter-spacing:-1px;
	padding:0;
	margin:0;
	color:#000000;
}
.demo-description {
  font-size:16px;
	font-style:italic;
	font-weight:bold;
	letter-spacing:-1px;
	color:#999;
	padding:-5px 0 20px 0;
	display:block;
	clear:both;
}
.section-description {
	padding:5px;
	margin:5px;
}
.heading {
	display:block;
	font-size:18px;
	font-weight:bold;
	letter-spacing:-1px;
	border-bottom:1px solid #ccc;
	
	padding:5px;
	margin:5px;
	clear:both;
}