body{
    background:#00334b;
    color: #fff;
    font-size: 18px;
}
/*=====显示居中=======*/
.container{
    max-width:700px;
    margin:0 auto;
    padding: 0 10px;
    position: relative;
}
h1{
     text-align: center;
 }
/*====公共样式====*/
input[type=text],
input[type=date],
button,
.task-item,
textarea {
    border-radius: 3px;
    padding: 10px;
    -webkit-transition: background .2s;
    -moz-transition: background .2s;
    -ms-transition: background .2s;
    -o-transition: background .2s;
    transition: background .2s;
}
input[type=text],textarea,input[type=date]{
    width: 100%;
    display: block;
    background: #ddd;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
    box-sizing: border-box;
}
input[type=text]:hover,
textarea:hover,
input[type=date]:hover
{
    background: #efecec;
}
[type=submit]{
    padding: 10px;
    border:0;
    background: #46b1e4;
    cursor: pointer;
    color: #333;
}
[type=submit]:hover{
    background: #57c8fd;
}
/*======添加清单项======*/
.add-list input[type=text]{
    outline:0;
    border:0;
    width:84%;
    margin-right: 1%;
    float: left;
}

.add-list button[type=submit]{
    display: inline-block;
    width: 15%;
}
/*======清单项======*/
.task-list{
    margin:10px 0;
}
.task-item{
    box-sizing: border-box;
    margin-bottom:3px;
    background: #ffffff;
    cursor: pointer;
    -webkit-box-shadow:  0 2px 3px rgba(0,0,0,.4);
    -moz-box-shadow:  0 2px 3px rgba(0,0,0,.4);
    box-shadow:  0 2px 3px rgba(0,0,0,.4);
}
.task-item:hover{
    background:#e4dbe2;
}
.task-item .content{
    margin-left: 10px;
    color: #333;
}
.fr{
    float: right;
}
.action{
    color: #888;
    margin-left: 5px;
}
.action:hover{
    color: #333;
}
.task-list .completed{
    background:rgba(255,255,255,.8);
}
.task-list .completed:after{
    content: "";
    display: block;
    height:1px;
    width: 97%;
    background: #aaaaaa;
    position: relative;
    top: -8px;
    float:right;
}


/*======列表详情======*/
.list-detail{
    position: absolute;
    right: 0;
    bottom: 0;
    background: #fff;
    color:#333;
    width:50%;
    height:100%;
    overflow: hidden;
    border-radius: 3px 0 0 3px;
    -webkit-box-shadow: 0 1px 2px 1px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 1px 2px 1px rgba(0, 0, 0, .1);
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, .1);
    padding:10px;
    box-sizing: border-box;
    display: none;
}
.list-detail .content{
    font-weight: 900;
    padding: 10px;
    cursor: pointer;
}
.list-detail textarea{
    min-height: 100px;
}
.list-detail .input-item{
     margin-bottom: 10px;
 }

.task-detail-mask{
    position:fixed;
    top:0;
    bottom: 0;
    left:0;
    right: 0;
    /*background: rgba(100,100,100,.6);*/
    border-radius: 3px;
    padding: 10px;
    display: none;
}
.msg{
    display: none;
    text-align: center;
    background: #ffe264;
    padding: 10px;
}




