.container {
  margin: 50px auto;
  width: 100%;
}

.container .cal {
  margin: 0 auto;
}

.cal {
//  display: block;
  width: 100%;

  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.cal a:not(.color) {
  text-decoration: none;
  color: inherit;
}

.cal caption {
  display: block;
  line-height: 32px;
  font-weight: bold;
  color: #e2e2e2;
  text-align: center;
  text-shadow: 0 -1px black;
  background: #333;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid #333;
  border-bottom: 1px solid #313131;

  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.cal caption a {
  display: block;
  line-height: 32px;
  padding: 0 10px;
  font-size: 15px;
  color: #e2e2e2;
}

.cal caption a:hover {
  color: white;
}

.cal caption .prev {
  float: left;
}

.cal caption .next {
  float: right;
}

.cal th, .cal td {
  width: 30px;
  text-align: center;
  text-shadow: 0 1px rgba(255, 255, 255, 0.8);
}

.cal th:first-child, .cal td:first-child {
  border-left: 0;
}

.cal th {
  line-height: 25px;
  width: 14%;
  font-size: 12px;
  color: #696969;
  text-transform: uppercase;
  background: #f3f3f3;
  border-left: 1px solid #f3f3f3;
}

.cal td {
  font-size: 11px;
  height: 60px;
  font-weight: bold;
  border-top: 1px solid #c2c2c2;
  border-left: 1px solid #c2c2c2;
}

.cal td a:not(.green):not(.red):not(.plain) {
  clear: both;
  display: block;
  /* position: relative; */
  width: 55px;
  line-height: 25px;
  color: #666;
  margin-left: 3%;
  margin-top: 50%;
  margin-bottom: 5%;

  float: left;
  background-image: linear-gradient(to bottom, #eaeaea 0%, #e5e5e5 30%, #d9d9d9 100%);

  box-shadow: inset 1px 1px rgba(255, 255, 255, 0.5);
}

.red {
background-image: none;
  color: #ef833b;
  margin-left: 3%;
  float: left;
  display: block;
}


.mats_done th {
  width: 150px;
}


.green {
background-image: none;
  color: green;
  margin-left: 3%;
  float: left;
  display: block;

}

.works_ul {
    list-style: none;
}

.index_ul {
    text-align: left;
    font-weight: bold;
    list-style: none;
    margin-top: 5%
}

#calendar {
width: 100%;
text-align: center;
}

#calendar a {
    text-decoration: none;
    color: #666;
    margin: 3%

}
/* .cal td a:hover, .cal td.off a { */
/*   background: #f3f3f3; */
/* } */

.cal td.off a:not(.green):not(.red):not(.plain) {
  color: #b3b3b3;
background-image: linear-gradient(to bottom, #eaeaea 0%, #e5e5e5 90%, #d9d9d9 100%);
}

/* .cal td.active a, .cal td a:active { */
/*   margin: -1px; */
/*   color: #f3f3f3; */
/*   text-shadow: 0 1px rgba(0, 0, 0, 0.3); */
/*   background: #6dafbf; */
/*   border: 1px solid #598b94; */

/*   box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05); */
/* } */

/* .cal td.active:first-child a, .cal td:first-child a:active { */
/*   border-left: 0; */
/*   margin-left: 0; */
/* } */

/* .cal td.active:last-child a, .cal td:last-child a:active { */
/*   border-right: 0; */
/*   margin-right: 0; */
/* } */

table.employees, table.zebra { border-collapse: collapse;}
div.work_employees {float: left; width: 50%}
div.itogo {float: right; width: 50%}
table.employees th {border-bottom: 2px solid #cccccc; font-size: 12px; font-family: Geneva, Arial, Helvetica, sans-serif; text-align: center;}
table.employees th.left { text-align: left; }
table.employees th.right { text-align: right; }
table.employees td { background-color: #f5f5f5; padding: 6px; border-bottom: 1px solid #cccccc; border-top: 1px solid #cccccc; font-size: 13px; font-family: Geneva, Arial, Helvetica, sans-serif; }
table.employees td textarea { width: 200px; }
table.employees td.title { background-color: #ccc; width: 30%; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 13px; }
table.employees td.left { text-align: left; }
table.employees td.right { text-align: right; }
table.employees td.borderTop { border-top: 1px solid #cccccc; }
table.employees td.noBorder { border: 0px; border: hidden; }
table.employees td input.button-inc { border-color:#A31616; border-width:1px; cursor:pointer; width:25px; }


#works {
border-top: 1px dashed #CCCCCC;
}


ul li label {font-size: 16px; font-family: Geneva, Arial, Helvetica, sans-serif; font-weight: bold;  }

.work {border: 1px solid; margin: 2%; }
.work table.data td {border: none}
#submit, #add_work {text-align: center}
