html, 
body {
	height: 100%;
}
html {
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	font-size: 93.75%;
	line-height: 1.5;
	font-family: sans-serif;
}
input {
	border-radius: 0;
}
button {
	outline: 0 none;
}
button::-moz-focus-inner, 
input::-moz-focus-inner {
    padding: 0;
    border: 0 none;
}

#login {
	position: relative;
	width: 100%;
	height: 100%;
	background: url(../img/login.png) 50% 35% / 232px 328px no-repeat #ffed66;
}
#login p {
	position: absolute;
	bottom: 0;
	width: calc(100% - 30px);
	padding: 0 15px 2.6em;
	margin: 0;
	font-size: 1em;
	overflow: hidden;
}
#login span {
	position: absolute;
	top: -5em;
}
#login input[type=text] {
	width: calc(100% - 6.9em);
	float: left;
	border: 1px solid #b3abab;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
	padding: 0.7em 1em 0.6em;
	font-size: 0.8em;
	box-shadow: inset 0 1px 1px #ccc;
}
#login input[type=submit] {
	float: right;
	border: 1px solid #000;
	box-shadow: inset 0 1px 1px #666;
	background: linear-gradient(#5c5c5c, #363636);
	font-size: 0.8em;
	padding: 0.58em 0.7em;
	color: #fff;
	line-height: 1.5;
}

#content .body, 
#content header {
	transition: transform 0.4s;
	-webkit-transition: -webkit-transform 0.4s;
}
body.load #content {
	height: 100%;
	overflow: hidden;
}
body.load #content header {
	transform: translateX(120%);
	-webkit-transform: translateX(120%);
}
body.load #content .body {
	transform: translateY(100%);
	-webkit-transform: translateY(100%);
}
body.load #footer {
	display: none;
}

#content {
	position: relative;
	z-index: 2;
	padding: 0 15px;
	width: calc(100% - 30px);
	overflow: hidden;
	min-height: 100%;
	background: #f8f8f8;
}
#content table {
	table-layout: fixed;
}
#content * {
	max-width: 100% !important;
}
.show-keep #content {
	top: -100%;
}
#content header {
	background: #fff;
	border-radius: 2px;
	box-shadow: 0 2px 1px #eee;
	padding: 7px 9px;
	margin: 30px 0 20px;
}
#content header h1 {
	margin: 0;
	padding: 0.5em 0 0.6em 65px;
	font-size: 1.4em;
	font-weight: normal;
	border-bottom: 1px solid #f2f2f2;
	line-height: 1.1;
}
#content header .info {
	font-size: 0.7em;
	color: #999;
	margin: 0.8em 0 0;
}
#content-function {
	position: fixed;
	top: 9px;
	left: 8px;
	width: 70px;
	height: 70px;
	z-index: 3;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}
.show-keep #content-load, 
.show-keep #content-keep, 
.show-keep #content-share {
	top: -300px;
}
#content-load, 
#content-keep, 
#content-share {
	width: 70px;
	height: 0;
	padding-top: 70px;
	overflow: hidden;
	border: 0 none;
	background: url(../img/can.png) 0 0 / 420px 70px no-repeat;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 4;
	outline: 0 none;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}
body.load #content-function {
	left: 50%;
	margin-left: -35px;
	animation: rotating 0.1s linear infinite;
	-webkit-animation: rotating 0.1s linear infinite;
}
@keyframes rotating {
	from{
		transform: rotate(0deg);
	}
	to{
		transform: rotate(360deg);
	}
}
@-webkit-keyframes rotating {
	from{
		-webkit-transform: rotate(0deg);
	}
	to{
		-webkit-transform: rotate(360deg);
	}
}
#content-keep, 
#content-share {
	width: 65px;
	padding-top: 65px;
	background: url(../img/bt_keep.png) 0 0 / 65px 65px no-repeat;
	top: 1px;
	left: 2px;
	z-index: 3;
}
#content-keep.active {
	background-image: url(../img/bt_keep_on.png);
}
#content-share {
	background-image: url(../img/bt_share.png);
}
#content-share.active {
	background-image: url(../img/bt_share_on.png);
}
.show-function #content-keep {
	left: 72px;
	transform: rotate(720deg);
	-webkit-transform: rotate(720deg);
}
.show-function #content-share {
	left: 142px;
	transform: rotate(720deg);
	-webkit-transform: rotate(720deg);
}

#content .text-indicator {
	content: ' ';
	display: block;
	width: calc(100% - 30px);
	height: 8em;
	background: rgba(255, 255, 0, 0.1);
	position: fixed;
	top: 35%;
	left: 15px;
	display: none;
	z-index: 1;
}
#content .body {
	position: relative;
	z-index: 2;
	padding-bottom: 30px;
}
#content .body img {
	width: auto !important;
	height: auto !important;
}

#footer {
	position: relative;
	z-index: 5;
	width: 100%;
	overflow: hidden;
}
#footer:before {
	position: absolute;
	top: 0.8em;
	left: 50%;
	content: ' ';
	display: block;
	border-right: 1px solid #929292;
	width: 0;
	height: 1.2em;
}
#footer button {
	margin: 0;
	padding: 0.8em 0;
	float: left;
	width: 50%;
	background: #fff;
	color: #3d3d3d;
	text-align: center;
	text-transform: uppercase;
	border: 0 none;
	border-top: 1px solid #929292;
	border-bottom: 1px solid #929292;
	font-size: 0.9em;
}
#footer button.on {
	color: #ee0606;
}

#keep-list {
	position: absolute;
	width: 100%;
	height: calc(100% - 2.6em - 2px);
	overflow: hidden;
	z-index: 5;
	background: #f9f9f9;
}
body.keep-list #content-function {
	top: -100%;
}
body.keep-list #content {
	position: absolute;
	bottom: calc(2.6em + 2px);
	transition: bottom 0.3s ease-in-out;
	-webkit-transition: bottom 0.3s ease-in-out;
}
body.show-keep-list #content {
	bottom: 100%;
}
body.keep-list #footer {
	position: absolute;
	top: auto;
	bottom: 0;
	transition: bottom 0.3s ease-in-out;
	-webkit-transition: bottom 0.3s ease-in-out;
}
body.show-keep-list #footer {
	bottom: calc(100% - 2.6em - 2px);
}
body.keep-list #keep-list {
	bottom: calc(-100% + 2.6em + 2px);
	transition: bottom 0.3s ease-in-out;
	-webkit-transition: bottom 0.3s ease-in-out;
}
body.show-keep-list #keep-list {
	bottom: 0;
}
#keep-list .list {
	position: relative;
	margin: 0;
	padding: 4px 0 0 0;
	list-style: none;
}
#keep-list .list li {
	padding: 0 18px;
	width: calc(100% - 36px);
}
#keep-list .list .today h2 {
	position: relative;
	bottom: -0.3em;
	font-size: 0.7em;
	font-weight: normal;
	font-style: italic;
	text-transform: uppercase;
	color: #ed5a5a;
	margin: 0;
	padding: 0.8em 0 0em;
}
#keep-list .list button {
	position: relative;
	text-align: left;
	background: transparent;
	border: 0 none;
	width: 100%;
	font-size: 1em;
	padding: 0.6em 0 0.6em 2em;
	border-bottom: 1px solid #e0e0e0;
	border-radius: 0;
}
#keep-list .number {
	position: absolute;;
	top: 0.6em;
	left: 0;
	width: 2em;
	text-align: center;
	font-style: italic;
	color: #999;
}
#keep-list .today .number {
	color: #ed5a5a;
}
#keep-list .list .today-last button {
	border-bottom-color: #929292;
}
#keep-list .list .item-first {
	padding-top: 1.3em;
}
#keep-footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 3.8em;
	background: #f9f9f9;
}
#keep-footer .pagination {
	position: absolute;
	left: 15px;
	bottom: 15px;
	font-size: 0.9em;
}
#keep-footer .pagination button {
	border: 0 none;
	vertical-align: middle;
}
#keep-footer .pagination .prev {
	background: url(../img/keep_list_button.png) 100% 0 / 25px auto no-repeat;
	width: 25px;
	height: 0;
	padding-top: 25px;
	overflow: hidden;
}
#keep-footer .pagination .text {
	display: inline-block;
	line-height: 15px;
	padding: 0.4em 1em 0;
	vertical-align: middle;
}
#keep-footer .pagination .page {
	color: #ee0606;
}
#keep-footer .pagination .total {
}
#keep-footer .pagination .next {
	background: url(../img/keep_list_button.png) 100% -35px / 25px auto no-repeat;
	width: 25px;
	height: 0;
	padding-top: 25px;
	overflow: hidden;
}
#keep-footer .close {
	position: absolute;
	right: 15px;
	bottom: 15px;
	border: 0 none;
	background: url(../img/keep_list_button.png) 100% -70px / 25px auto no-repeat;
	height: 25px;
	padding: 0 31px 0 0;
	font-size: 0.9em;
	color: #666;
}

#the-end {
	width: 100%;
	height: calc(100% - 2.6em);
	text-indent: -50em;
	overflow: hidden;
	background: url(../img/theend.png) 50% 100% / auto 100% no-repeat;
}
