.TodoPortlet {
	font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
	line-height: 1.4em;
	background-color: #eaeaea;
	color: #4d4d4d;
	margin: 0;
	position: relative;
	padding-bottom: 50px;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-ms-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	font-smoothing: antialiased;
}

.TodoPortlet h1 {
	padding-top: 40px;
	margin: 0px;
	width: 100%;
	font-size: 60px;
	font-weight: bold;
	text-align: center;
	color: #b3b3b3;
	color: rgba(255, 255, 255, 0.3);
	text-shadow: -1px -1px rgba(0, 0, 0, 0.2);
	-webkit-text-rendering: optimizeLegibility;
	-moz-text-rendering: optimizeLegibility;
	-ms-text-rendering: optimizeLegibility;
	-o-text-rendering: optimizeLegibility;
	text-rendering: optimizeLegibility;
}

.TodoPortlet .TodoGrid {
	background: #fff;
	background: rgba(255, 255, 255, 0.9);
	width: 550px;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #ccc;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2),
				0 25px 50px 0 rgba(0, 0, 0, 0.15);
	margin-top: 46px;
	position: relative;
}

.TodoPortlet .Header {
	height: 15px;
	border-bottom: 1px solid #6c615c;
	background: #8d7d77;
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(132, 110, 100, 0.8)),to(rgba(101, 84, 76, 0.8)));
	background: -webkit-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
	background: -moz-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
	background: -o-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
	background: -ms-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
	background: linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#9d8b83', EndColorStr='#847670');
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}

.TodoPortlet .TodoGrid input::-webkit-input-placeholder {
	font-style: italic;
}

.TodoPortlet .TodoGrid input:-moz-placeholder {
	font-style: italic;
	color: #a9a9a9;
}

.TodoPortlet .NewTodo, .Edit {
	position: relative;
	margin: 0;
	width: 100%;
	font-size: 24px;
	line-height: 1.4em;
	border: 0;
	outline: none;
	padding: 6px;
	border: 1px solid #999;
	box-shadow: inset 0 -1px 5px 0 rgba(0, 0, 0, 0.2);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-ms-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	font-smoothing: antialiased;
}

.TodoPortlet .NewTodo {
	padding: 16px 16px 16px 65px;
	border: none;
	background: rgba(0, 0, 0, 0.02);
	z-index: 2;
	box-shadow: none;
}

.TodoPortlet .Main:before {
	content: '';
	border-left: 1px solid #f5d6d6;
	border-right: 1px solid #f5d6d6;
	width: 2px;
	position: absolute;
	top: 0;
	left: 52px;
	height: 100%;
}

.TodoPortlet .Main {
	position: relative;
}

.TodoPortlet .ToggleAll {
	position: absolute;
	top: 19px;
	left: 15px;
	border: none; /* Mobile Safari */
	z-index: 3;
}

.TodoPortlet .TodoList {
	margin: 0;
	padding: 0;
	list-style: none;
}

.TodoPortlet .TodoList li{
	position: relative;
	font-size: 20px;
	border-bottom: 1px dotted #ccc;
	z-index: 2;
}

.TodoPortlet .TodoList li label {
	font-size: 18px;
}

.TodoPortlet .TodoList li:last-child {
	border-bottom: none;
}

.TodoPortlet .TodoList .editing .Edit {
	display: block;
	width: 506px;
	padding: 13px 17px 12px 17px;
	margin: 0 0 0 43px;
}

.TodoPortlet .TodoList .editing .toggle {
	display: none;
}

.TodoPortlet .TodoList .editing label {
	display: none;
}

.TodoPortlet .TodoList li .toggle {
	text-align: center;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto 18px;
	border: none;
	padding: 0;
}

.TodoPortlet .TodoList li label {
	word-break: break-word;
	padding: 15px;
	margin-left: 55px;
	display: block;
	line-height: 1.2;
	transition: color 0.4s;
}

.TodoPortlet .TodoList .completed label {
	color: #a9a9a9;
	text-decoration: line-through;
}

.TodoPortlet .TodoList li .destroy {
	display: none;
	border: 0;
	background: none;
	position: absolute;
	top: 0;
	right: 10px;
	bottom: 0;
	width: 40px;
	height: 40px;
	margin: auto 0;
	font-size: 22px;
	color: #a88a8a;
	transition: all 0.2s;
}

.TodoPortlet .TodoList li .destroy:hover {
	text-shadow: 0 0 1px #000,
				 0 0 10px rgba(199, 107, 107, 0.8);
	transform: scale(1.3);
}

.TodoPortlet .TodoList li .destroy:after {
	content: 'x';
}

.TodoPortlet .TodoList li:hover .destroy {
	display: block;
}

.TodoPortlet .TodoList li .Edit {
	display: none;
}

.TodoPortlet .TodoList .editing:last-child {
	margin-bottom: -1px;
}

.TodoPortlet .Footer {
	color: #777;
	padding: 0 15px;
	position: absolute;
	right: 0;
	bottom: -31px;
	left: 0;
	height: 20px;
	z-index: 1;
	text-align: center;
	font-size: 14px;
}

.TodoPortlet .Footer:before {
	content: '';
	position: absolute;
	right: 0;
	bottom: 31px;
	left: 0;
	height: 50px;
	z-index: -1;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3),
				0 6px 0 -3px rgba(255, 255, 255, 0.8),
				0 7px 1px -3px rgba(0, 0, 0, 0.3),
				0 43px 0 -6px rgba(255, 255, 255, 0.8),
				0 44px 2px -6px rgba(0, 0, 0, 0.2);
}

.TodoPortlet .TodoCount {
	float: left;
	text-align: left;
}

.TodoPortlet .Filters {
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	right: 0;
	left: 0;
}

.TodoPortlet .Filters li {
	display: inline;
}

.TodoPortlet .Filters li a {
	color: #83756f;
	margin: 2px;
	text-decoration: none;
}

.TodoPortlet .Filters li a.selected {
	font-weight: bold;
}

.TodoPortlet .ClearCompleted {
	float: right;
	position: relative;
	line-height: 20px;
	text-decoration: none;
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0.1);
	font-size: 11px;
	padding: 0 10px;
	margin: 0;
	border-radius: 3px;
	border: 0;
	box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.2);	
	vertical-align: baseline;
	appearance: none;
	color: inherit;
}

.TodoPortlet .ClearCompleted:hover {
	background: rgba(0, 0, 0, 0.15);
	box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.3);
}

.TodoPortlet .hidden {
	display:none;
}