@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500);

::-moz-selection { background-color: #d6d6e4; }
::selection { background-color: #d6d6e4; }

* {
	position: relative;
	padding: 0;
	margin: 0;
	cursor: default;
	font-family: 'Roboto', sans-serif;
	line-height: 1;
	font-weight: 400;
	text-decoration: none;
	list-style: none;
	outline: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	// user-select: none;
	// -webkit-user-select: none;
	// -moz-user-select: none;
	// -ms-user-select: none;
	user-drag: none;
	-webkit-user-drag: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-font-smoothing: antialiased;
}

header button, header button:after,
section article button, section article:before,
label span:before, label span:after, footer a,
.task-transition, .task-enter, .task-leave,
.button-transition, .button-enter, .button-leave, .done {
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	transition: all 200ms linear;
}

body {
	padding: 40px 20px;
	background: #5e62eb;
	background: -webkit-linear-gradient(to bottom, #5e62eb , #5255e3);
	background: -moz-linear-gradient(to bottom, #5e62eb , #5255e3);
	background: -o-linear-gradient(to bottom, #5e62eb , #5255e3);
	background: linear-gradient(to bottom, #5e62eb , #5255e3);
}

html, body {
	min-height: 100%;
}

div {
	display: block;
	margin: auto;
	width: 100%;
	min-width: 280px;
	max-width: 480px;
	background-color: #fefeff;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	overflow: hidden;
	-webkit-box-shadow: 0 15px 150px rgba(0,0,0,0.15);
	-moz-box-shadow: 0 15px 150px rgba(0,0,0,0.15);
	box-shadow: 0 15px 150px rgba(0,0,0,0.15);
}

header {
	height: 130px;
	width: 100%;
	padding: 30px 120px 30px 30px;
	background: #fff;
	background: -webkit-linear-gradient(to bottom, #fff , #fafaff);
	background: -moz-linear-gradient(to bottom, #fff , #fafaff);
	background: -o-linear-gradient(to bottom, #fff , #fafaff);
	background: linear-gradient(to bottom, #fff , #fafaff);
	border-bottom: 1px solid #e0e9f1;
}
header b { font-weight: 500; }

header time {
	font-size: 30px;
	color: #666afb;
	letter-spacing: 0.8;
}
header time span {
	display: block;
	margin-top: 15px;
	font-size: 20px;
	color: #a8a9ca;
	letter-spacing: 0.4;
}

header p {
	position: absolute;
	top: 42px;
	right: 30px;
	font-size: 16px;
	color: #a8a9ca;
	letter-spacing: 0.4;
}

button::-moz-focus-inner { border: 0; }
header button {
	position: absolute;
	bottom: 28px;
	right: 30px;
	width: 84px;
	height: 28px;
	text-align: center;
	color: #fff;
	padding: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4;
    text-transform: uppercase;
	border: none;
	outline: none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: #fb6f70;
	overflow: hidden;
	cursor: pointer;
}

header button:after {
	display: block;
	position: absolute;
	content: '';
	top: -1px;
	left: 27px;
	width: 30px;
	height: 30px;
	background-color: #fff;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
}

header button:hover:after {
	top: -28px;
	left: 0px;
	width: 84px;
	height: 84px;
	filter: alpha(opacity=15);
	-moz-opacity: 0.15;
	opacity: 0.15;
}

section { background-color: #fff; }

section article { overflow: hidden; }

section article:after {
	display: block;
	position: absolute;
	content: '';
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 30px;
	background: transparent;
	background: -webkit-linear-gradient(to bottom, rgba(255,255,255,0) , rgba(255,255,255,1));
	background: -moz-linear-gradient(to bottom, rgba(255,255,255,0) , rgba(255,255,255,1));
	background: -o-linear-gradient(to bottom, rgba(255,255,255,0) , rgba(255,255,255,1));
	background: linear-gradient(to bottom, rgba(255,255,255,0) , rgba(255,255,255,1));
	z-index: 3;
	pointer-events: none;
}

section article:before {
	display: block;
	position: absolute;
	content: '';
	top: 0px;
	left: 0px;
	width: 0px;
	height: 100%;
	background-color: transparent;
	z-index: 4;
}

section article:hover:before {
	width: 6px;
	background-color: #fb6f70;
}

section:before {
	content: '+';
	position: absolute;
	top: 30px;
	left: 30px;
	width: 24px;
	height: 24px;
	font-size: 40px;
	font-weight: 300;
	line-height: 0.6;
	text-align: center;
	color: rgba(168,169,202,0.8);
	z-index: 1;
}

section input:nth-child(1) { padding: 0px 30px 0px 80px; }
section input::-ms-clear { display: none; }
section input, section input:disabled {
	position: relative;
	width: 100%;
	height: 85px;
	padding: 0px 130px 0px 80px;
	font-size: 20px;
	color: #82829c;
	letter-spacing: 0.4;
	border: none;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	word-wrap: normal;
	word-break: break-all;
	background-color: #fff;
	border-bottom: 1px solid #eef3f8;
	cursor: text;
}
section input:disabled {
	-webkit-text-fill-color: #82829c;
	-webkit-opacity: 1;
}

::-webkit-input-placeholder { color: #a8a9ca; }
::-moz-placeholder { color: #a8a9ca; }
:-moz-placeholder { color: #a8a9ca; }
:-ms-input-placeholder { color: #a8a9ca; }

.done { text-decoration: line-through; }
.done::-webkit-input-placeholder { text-decoration: line-through; }
.done::-moz-placeholder { text-decoration: line-through; }
.done:-moz-placeholder { text-decoration: line-through; }
.done:-ms-input-placeholder { text-decoration: line-through; }

section article button, section article button:active, section article button:focus {
	position: absolute;
	display: block;
	border: none;
	outline: none;
	top: 30px;
	left: 30px;
	width: 24px;
	height: 24px;
	font-size: 40px;
	font-weight: 300;
	line-height: 0.6;
	text-align: center;
	color: rgba(168,169,202,0.8);
	background-color: transparent;
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	z-index: 1;
	cursor: pointer;
}

section article button:hover {
	color: rgba(130,130,156,1);
}

section article time {
	position: absolute;
	top: 36px;
	right: 30px;
	font-size: 16px;
	color: #d6d6e4;
	letter-spacing: 0.4;
	text-transform: uppercase;
}

section article label {
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 80px;
	z-index: 2;
}

article label span {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

article label input {
	display: none;
}

article label input + span:before {
	content: '';
	display: block;
	position: absolute;
	top: 30px;
	left: 30px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	width: 20px;
	height: 20px;
	border: 2px solid #d6d6e4;
	background-color: #fff;
}

article label input:checked + span:before {
	border: 2px solid #fb6f70;
	background-color: #fb6f70;
}

article label input + span:after {
	content: '';
	display: block;
	top: 33px;
	left: 38px;
	width: 6px;
	height: 12px;
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	position: absolute;
	pointer-events: none;
	-moz-transform: scale(0.6, 0.6) rotate(45deg);
	-ms-transform: scale(0.6, 0.6) rotate(45deg);
	-webkit-transform: scale(0.6, 0.6) rotate(45deg);
	transform: scale(0.6, 0.6) rotate(45deg);
}

article label input:checked + span:after {
	-moz-transform: scale(1, 1) rotate(45deg);
	-ms-transform: scale(1, 1) rotate(45deg);
	-webkit-transform: scale(1, 1) rotate(45deg);
	transform: scale(1, 1) rotate(45deg);
}

footer {
	padding: 30px;
	text-align: center;
	font-size: 16px;
	color: #a8a9ca;
	letter-spacing: 0.4;
	background-color: #fefeff;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

footer a {
	cursor: pointer;
	color: #fb6f70;
	border-bottom: 1px solid transparent;
}

footer a:hover {
	border-bottom: 1px solid #fb6f70;
}


.task-transition {
	height: 85px;
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}

.task-enter, .task-leave {
	height: 0;
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
}

.button-transition {
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}

.button-enter, .button-leave {
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
}

@media (max-width: 430px) {
	header { padding-top: 35px; }
	header time { font-size: 24px; }
	header time span { margin-top: 5px; }
}

[v-cloak] {
	display: none;
}
