/* CSS Styles for Taskit */

body {
  margin: 0;
  min-width: 250px;
  max-width: 1440px;
  font-family: 'FontAwesome', sans-serif;
  background-color: #2E3C54;
}

/* Include the padding and border in an element's total width and height */
* {
  box-sizing: border-box;
}

h2 {
  margin:20px 20px 0 0;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 2.2rem;
}

p.title {
  margin-top: 20px;
  margin-bottom: 25px;
  text-align: left;
  font-size: 18px;
  max-width: 600px;
}

/* Remove margins and padding from the list */
ul {
  margin: 0;
  margin-top: 14rem;
  padding: 0 40px;
  background-color: #2E3C54;
}

/* Style the list items */
ul li {
  cursor: pointer;
  position: relative;
  padding: 12px 16px 12px 16px;
  list-style-type: none;
  background: #eee;
  font-size: 18px;
  transition: 0.2s;

  display: flex;
  justify-content: space-between;
  
  /* make the list items unselectable */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Set all odd list items to a different color (zebra-stripes) */
ul li:nth-child(odd) {
  background: #CCC;
}


/* Add a "checked" mark when clicked on */
ul li.checked::before {
  content: '';
  position: absolute;
  border-color: #fff;
  border-style: solid;
  border-width: 0 2px 2px 0;
  top: 10px;
  left: 16px;
  transform: rotate(45deg);
  height: 15px;
  width: 7px;
}

/* -------------------------------------------------- */
/* New styles */

/* Style buttons */
button {
  padding: 6px 10px;
  margin-left: 8px;
  border: none;
  font-size: 18px;
}

.delete-btn {
  background: #FC636B;
  color: #fff;
}

.start-btn {
  background-color: #00BE81;
  color: white;
}

.pause-btn {
  background-color: #FFB902;
  color: white;
}

.task-timer {
  background-color: #FFF;
  padding: 6px 10px;
  border-radius: 10px;
  margin-right: 16px;
}

ul li.completed {
  background-color: #242932;
}

ul li.completed .task-description {
  text-decoration: line-through;
  color: #FFF
}

ul li.completed .delete-btn {
  background: #69292c;
  color: #ffffff5d;
}

ul li.completed .start-btn {
  background-color: #005c3f;
  color: #ffffff5d;
}

ul li.completed .pause-btn {
  background-color: #5a4100;
  color: #ffffff5d;
}

/* -------------------------------------------------- */
/* Old styles */


/* Style the header */
.header {
  background-color: #2E3C54;
  padding: 10px 40px 30px 40px;
  color: white;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 177px;
}

/* Clear floats after the header */
.header:after {
  content: "";
  display: table;
  clear: both;
}

/* Style the input */
input {
  border: none;
  width: 45%;
  max-width: 600px;
  padding: 10px;
  float: left;
  font-size: 18px;
}

/* Style the "Add" button */
.addBtn {
  height: 42px;
  padding: 10px 14px;
  background: #FC636B;
  color: #fff;
  float: left;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

/* Style the "Add" button */
.clearBtn {
  padding: 10px;
  width: 11%;
  background: #FC636B;
  color: #fff;
  float: right;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

/* Style the "Add" button */
.saveBtn {
  padding: 10px;
  width: 11%;
  margin-right: 15px;
  background: #FC636B;
  color: #fff;
  float: right;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.addBtn:after {
  content:"Add New Task";
}

.saveBtn:after {
  content: "Save";
}

.clearBtn:after {
  content: "Export";
}

.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}


