 /*
 
  *css reset
  *css normalize
  
 */
 *{
     box-sizing: border-box;
     transition:background 100ms;
     outline: 0;
     /*background-color:rgba(0,0,0,.1);*/
}
 
 
 body {
    
    background-color:#00334b;
    color:#fff;
    
 }
 .container
 {
    position: relative;
    max-width: 700px;
	min-height: 300px;
    margin: 0 auto;
    padding: 0 10px; 
 }
h1{
	text-align: center;
}
.task-list{
	margin: 10px 0;
}
input,.task-item,button,.task-detail-mask,textarea{
	border-radius:3px;
	padding:10px;
}
textarea,button,input[type=text],input[type=date]{
		border: 0;
		
}

textarea,
input[type=text],input[type=date]
{
	display: block;
	width: 100%;
	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);		
}
textarea{
	min-height: 100px;
	margin-bottom: 10px;
}

textarea:hover,
textarea:focus,
input[type=text]:hover,
input[type=date]:hover,
input[type=text]:focus,
input[type=date]:focus
{
	background:#eee;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.2);	
}

button{
	display: inline-block;
	cursor: pointer;
	color:#333;

}
.add-task input[type=text]{
	float: left;
	width: 84%;
	margin-right: 1%;
}

button.primary,
[type=submit]
	{
	background-color: #46b1e4;
	}
.add-task [type=submit]{

	width: 15%;

}

.add-task [type=submit],.task-item{
	-webkit-box-shadow:0 2px 3px rgba(0,0,0,.4);
	box-shadow:0 2px 3px rgba(0,0,0,.4);
}
.add-task [type=submit]:hover{
	background-color: #5fb9e4;
	
}
.task-item{
	
	background: #fff;
	color: #333;
	margin-bottom: 2px;
	cursor:pointer;
	
}
.task-item:hover
{
	background-color:#ddd;
	
}
.task-item.completed
{
	color:#aaa;
	/*background-color:rgba(255,255,255,0.7);*/
	opacity:0.3;
}

.task-item.completed:after
{
	content:" ";
	height:1px;
	background:#aaa;
	width:96%;
	position:relative;
	top:-8px;
	float:right;
	display:block;
}


.task-detail-mask,
.task-detail{
	display: none;
}
.task-detail{
	position: absolute;
	max-height:500px;
	background: #fff;
	overflow: auto;
	color: #333;
	width: 50%;
	height: 100%;
	padding: 10px;
	bottom:0;
	right:0;
	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);
}
.task-detail .content{
	padding: 10px;
	font-weight: 900;
	cursor: pointer;
}
.task-detail .input-item {
    margin-bottom: 10px;
}

.task-detail-mask{
 	position: fixed;
	display: none;
	top:0;bottom: 0;right: 0;left: 0;
}

.fr{
	float:right;
	
}
.action{
	color:#888;
	font-size:90%;
		
}
.action:hover{
	color:#333;

}
.msg {
  	display: none;
    text-align: center;
    background: #ffe264;
    padding: 10px;
    color: #333;
}

.anchor{
	cursor:pointer;
	
}

.alerter{
	width:0;
	height:0;
}