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

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 10px;
  color: #435757;
  background: ;
  font: 500 1.2em/1.2 'Roboto', sans-serif;
}

.container {
  max-width: 718px;
  margin: 0 auto;
  padding-bottom: 20px;
  
  background-color: #eee;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

h1 {
  margin: 0;
  padding: 20px;
  background-color: rgba(255, 255, 255, .4);
  font-size: 1.8em;
  text-align: center;
}

.items {
  display: flex;
  flex-direction: column;
  padding: 15px;
  font-size: 0.9em;
  
}

h2 {
  position: relative;
  margin: 0;
  padding: 10px 0;
  font-size: 1.2em;
  color: #7a3434;
}

h2::before {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: -20px;
  width: 5px;
  background-color: #7a3434;
}

h2::after {
  display: block;
  float: right;
  font-weight: normal;
}

.done {
  order: 3;
}



.undone {
  order: 1;
}


span {
position: relative;
  margin: 0;
  padding: 10px 0;
  font-size: 1.2em;
  color: #7a3434;
}

input {
  display: block;
  height: 53px;
  margin: 0 0 -53px -9999px;
  order: 2;
  outline: none;
  counter-increment: undone-items;
}

input:checked {
  order: 4;
  counter-increment: done-items;  
}

label {
  display: block;
  position: relative;
  padding: 15px 0 15px 45px;
  border-top: 1px dashed #af4f4f;
  order: 2;
  cursor: pointer;
  -webkit-animation: undone .5s;
          animation: undone .5s;
		  background: #fff;
}

label::before {
  content: '\f10c'; 
  display: block;
  position: absolute;
  top: 11px;
  left: 10px;
  font: 1.5em 'FontAwesome';
  color: #934949;
}



input:checked + label {
  order: 4;
  -webkit-animation: done .5s;
          animation: done .5s;
		  background: #fff;
}

input:checked + label::before {
  content: '\f058'; 
}

@-webkit-keyframes done {
  0% {
    opacity: 0;
    background-color: rgba(255, 255, 255, .4);
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
  }
  50% {
    opacity: 1;
    background-color: rgba(255, 255, 255, .4);
  }
}

@keyframes done {
  0% {
    opacity: 0;
    background-color: rgba(255, 255, 255, .4);
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
  }
  50% {
    opacity: 1;
    background-color: rgba(255, 255, 255, .4);
  }
}

@-webkit-keyframes undone {
  0% {
    opacity: 0;
    background-color: rgba(255, 255, 255, .4);
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  50% {
    opacity: 1;
    background-color: rgba(255, 255, 255, .4);
  }
}

@keyframes undone {
  0% {
    opacity: 0;
    background-color: rgba(255, 255, 255, .4);
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  50% {
    opacity: 1;
    background-color: rgba(255, 255, 255, .4);
  }
}

.logo { 
float: left;

text-align: left;
  font-size: 1.5em;
  color: white;
  padding-bottom: 15px;
padding-top: 30px;
padding-left: 20px;
padding-right: 20px;
border-radius:10px 10px 0px 0px;
}
  
  

.logo:first-child {
	background: #af4f4f;
	
}

.header {
	width: 100%;
	color: #7a3434;
	background: white;
	text-align: left;
	font-size: 1.4em;
	padding-bottom: 20px;
	padding-top: 20px;
	padding-left: 20px;
	float: left;
}
button{
	 background-color: #6e0309;
  display: block;
  width: 90px;
  outline-color: #a42d2e;
  margin: 0px auto;
  margin-top: 30px;
  cursor: pointer;
  text-decoration: none; padding: 4px 12px;          background: linear-gradient(#7a3434, #e89296);      border: solid 1px #002833;       border-bottom: solid 1px #6e0309;       box-shadow: inset 0 0 0 1px #fcc7ca;     color: #fff;       text-shadow: 0 1px 0 #85050e;
}
button:hover {
  color: #fff;
  background-position: 0 20%;
}
button:active {
  background-image: linear-gradient(rgba(0, 0, 0, .6), transparent);
}

a { color: rgba(255, 255, 255, 0.8);
	text-decoration: none; 
}



.active, .passive{
display: inline-block;

text-decoration:none;
margin-left: 10px;
text-align: center;
margin-bottom: 15px;
border: 2px solid #a42d2e;
padding: 8px 10px;
font-weight: bold;
font-size: 18px;
color: #a42d2e;
 box-shadow: 0 5px 8px 0 rgba(0,0,0,0.11);
 border-radius: 10px;
}

.active {
	background: #a42d2e;
	color: #fff;
	
}