body {
  padding: 50px 120px;
}
#menu {
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 80px;
  background: #3b3b3b;
  border-right: 1px solid #232323;
  -webkit-box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.5);
}
#menu li {
  margin: 0;
  list-style: none;
}
#menu li {
  position: relative;
  text-align: center;
}
#menu li .count {
  position: absolute;
  top: 15px;
  left: 0;
  text-shadow: 1px 1px 1px #333;
  width: 100%;
  color: #808080;
}
#menu li a {
  display: block;
  padding: 40px 0 10px 0;
  color: #777;
  border-top: 1px solid #545454;
  border-bottom: 1px solid #333;
  font-size: 12px;
  background: #393939;
}
#menu li a:hover {
  background: #434343;
}
#menu li a:active,
#menu li a.active {
  background: #343434;
  -webkit-box-shadow: inset 0 0 3px 2px #282828, inset 0 -5px 10px 2px #303030;
  box-shadow: inset 0 0 3px 2px #282828, inset 0 -5px 10px 2px #303030;
  border-bottom: 1px solid #222;
}
.context-menu {
  display: none;
  margin: 0;
  padding: 0;
  border: 1px solid #eee;
  border-bottom-color: rgba(0,0,0,0.25);
  border-left-color: rgba(0,0,0,0.2);
  border-right-color: rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.1);
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.1);
  border-radius: 4px;
}
.context-menu li {
  margin: 0;
  list-style: none;
}
.context-menu li:last-child a {
  border-bottom: none;
}
.context-menu li a {
  display: block;
  background: #fff;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-bottom: 1px solid #eee;
  font-size: 12px;
}
.context-menu li a:hover {
  background: -webkit-linear-gradient(bottom, #00b3e9, #74dfff);
  background: -moz-linear-gradient(bottom, #00b3e9, #74dfff);
  background: -o-linear-gradient(bottom, #00b3e9, #74dfff);
  background: -ms-linear-gradient(bottom, #00b3e9, #74dfff);
  background: linear-gradient(to top, #00b3e9, #74dfff);
  color: #fff;
  border: 1px solid #fff;
}
.context-menu li a:active {
  background: -webkit-linear-gradient(bottom, #06c5ff, #83e2ff);
  background: -moz-linear-gradient(bottom, #06c5ff, #83e2ff);
  background: -o-linear-gradient(bottom, #06c5ff, #83e2ff);
  background: -ms-linear-gradient(bottom, #06c5ff, #83e2ff);
  background: linear-gradient(to top, #06c5ff, #83e2ff);
}
#job-template {
  display: none;
}
.block {
  border: 1px solid #eee;
  border-bottom-color: rgba(0,0,0,0.25);
  border-left-color: rgba(0,0,0,0.2);
  border-right-color: rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.1);
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.1);
  border-radius: 4px;
  width: 90%;
  margin: 10px 25px;
  padding: 20px 25px;
}
.block h2 {
  margin: 0;
  position: absolute;
  top: 5px;
  left: -15px;
  padding: 5px;
  font-size: 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  background: -webkit-linear-gradient(left, #6b6b6b, #7e7e7e 50%);
  background: -moz-linear-gradient(left, #6b6b6b, #7e7e7e 50%);
  background: -o-linear-gradient(left, #6b6b6b, #7e7e7e 50%);
  background: -ms-linear-gradient(left, #6b6b6b, #7e7e7e 50%);
  background: linear-gradient(to right, #6b6b6b, #7e7e7e 50%);
  -webkit-box-shadow: -1px 0 1px 1px rgba(0,0,0,0.1);
  box-shadow: -1px 0 1px 1px rgba(0,0,0,0.1);
  color: #fff;
  text-shadow: 1px 1px 1px #444;
}
.block .type {
  color: #929292;
}
.job td.title em {
  color: #929292;
}
.job .block {
  position: relative;
  background: #fff;
  cursor: pointer;
}
.job .block table td:first-child {
  display: none;
}
.job .block .progress {
  position: absolute;
  top: 15px;
  right: 20px;
}
.job .block .attempts {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 8px;
  border-radius: 2px;
  font-size: 10px;
}
.job .block .remove {
  position: absolute;
  top: 30px;
  right: -6px;
/*background: white*/
  background: #f05151;
  color: #fff;
  display: block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  outline: none;
  border: 1px solid #eee;
  border-radius: 20px;
  -webkit-transition: opacity 200ms, top 300ms;
  -moz-transition: opacity 200ms, top 300ms;
  -o-transition: opacity 200ms, top 300ms;
  -ms-transition: opacity 200ms, top 300ms;
  transition: opacity 200ms, top 300ms;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
}
.job .block .remove:hover {
  border: 1px solid #d6d6d6;
}
.job .block .remove:active {
  border: 1px solid #bebebe;
}
.job .block .restart {
  position: absolute;
  top: 30px;
  right: -6px;
/*background: white*/
  background: #00e600;
  color: #fff;
  display: block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  outline: none;
  border: 1px solid #eee;
  border-radius: 20px;
  -webkit-transition: opacity 200ms, top 300ms;
  -moz-transition: opacity 200ms, top 300ms;
  -o-transition: opacity 200ms, top 300ms;
  -ms-transition: opacity 200ms, top 300ms;
  transition: opacity 200ms, top 300ms;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
}
.job .block .restart:hover {
  border: 1px solid #d6d6d6;
}
.job .block .restart:active {
  border: 1px solid #bebebe;
}
.job .block:hover .remove {
  opacity: 1;
  -ms-filter: none;
  filter: none;
  top: -6px;
}
.job .block:hover .restart {
  opacity: 1;
  -ms-filter: none;
  filter: none;
  top: 16px;
}
.job .details {
  background: #3b3b3b;
  width: 89%;
  margin-top: -10px;
  margin-left: 35px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  -webkit-box-shadow: inset 0 1px 10px 0 rgba(0,0,0,0.8);
  box-shadow: inset 0 1px 10px 0 rgba(0,0,0,0.8);
  -webkit-transition: padding 200ms, height 200ms;
  -moz-transition: padding 200ms, height 200ms;
  -o-transition: padding 200ms, height 200ms;
  -ms-transition: padding 200ms, height 200ms;
  transition: padding 200ms, height 200ms;
  height: 0;
  overflow: hidden;
}
.job .details table {
  width: 100%;
}
.job .details table td:first-child {
  width: 60px;
  color: #949494;
}
.job .details.show {
  padding: 15px 20px;
  height: auto;
}
.job ul.log {
  margin: 0;
  padding: 0;
  margin: 5px;
  padding: 10px;
  max-height: 100px;
  overflow-y: auto;
  border-radius: 5px;
  width: 95%;
}
.job ul.log li {
  margin: 0;
  list-style: none;
}
.job ul.log li {
  padding: 5px 0;
  border-bottom: 1px dotted #424242;
  color: #666;
}
.job ul.log li:last-child {
  border-bottom: none;
}
.job .details ::-webkit-scrollbar {
  width: 2px;
}
.job .details ::-webkit-scrollbar-thumb:vertical {
  background: #858585;
}
.job .details ::-webkit-scrollbar-track {
  border: 1px solid rgba(255,255,255,0.1);
}
.job .details > div {
  padding: 10px 0;
  border-bottom: 1px solid #424242;
}
.job .details > div:last-child {
  border-bottom: none;
}
#actions {
  position: fixed;
  top: -2px;
  right: -2px;
  z-index: 20;
}
#sort,
#filter,
#search {
  float: left;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid #eee;
  border-radius: 0 0 0 5px;
  -webkit-appearance: none;
  color: #3b3b3b;
  outline: none;
}
#sort:hover,
#filter:hover,
#search:hover {
  border-color: #d6d6d6;
}
#sort,
#filter {
  cursor: pointer;
}
#sort,
#filter {
  border-radius: 0;
  border-left: none;
}
#error {
  position: fixed;
  top: -50px;
  right: 15px;
  padding: 20px;
  -webkit-transition: top 500ms, opacity 500ms;
  -moz-transition: top 500ms, opacity 500ms;
  -o-transition: top 500ms, opacity 500ms;
  -ms-transition: top 500ms, opacity 500ms;
  transition: top 500ms, opacity 500ms;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  background: rgba(59,59,59,0.2);
  border: 1px solid rgba(59,59,59,0.3);
  border-radius: 5px;
  color: #3b3b3b;
}
#error.show {
  top: 15px;
  opacity: 1;
  -ms-filter: none;
  filter: none;
}
body {
  font: 13px "helvetica neue", helvetica, arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #fff;
  color: #666;
}
h1,
h2,
h3 {
  margin: 0 0 25px 0;
  padding: 0;
  font-weight: normal;
  text-transform: capitalize;
  color: #666;
}
h2 {
  font-size: 16px;
  margin-top: 20px;
}
pre {
  margin-top: 20px;
}
a {
  text-decoration: none;
  cursor: pointer;
}
table {
  border-collapse: separate;
  border-spacing: 0;
  vertical-align: middle;
}
table tr td {
  padding: 2px 5px;
}
#loading {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  margin-left: 20px;
}
#loading canvas {
  margin: 0 auto;
}
