/* Sass Variables */
/* gantt styles */
.gantt {
  position: relative;
  overflow: hidden;
  //color: #93a1a1;
  // color: #514f4f;
  color: #797777;
  //background: #f0f0f0;
  background: #ffffff;
  //background: #cecece;
  font-size: 9px;
  font-family: Verdana;
  //border: solid 1px #514f4f;
  // border: solid 1px #cccccc;
  border-radius:3px;
  margin: 0px;
  box-shadow: 1px 1px 2px 0px rgba(119, 119, 119, 0.75);
  -moz-box-shadow: 1px 1px 2px 0px rgba(119, 119, 119, 0.75);
  -webkit-box-shadow: 1px 1px 2px 0px rgba(119, 119, 119, 0.75);

}

.gantt * {
  font-weight: normal;
  margin: 0;
  padding: 0; }

.gantt li {
  list-style: none; }

/* optional title */
.gantt figcaption {
  position: absolute;
  top: 25px;
  left: 20px;
  font-size: 16px;
  //color: white;
  color: #514f4f;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 4px; }

/* sidebar */
.gantt aside {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  width: 199px;
  //border-right: 1px solid #000b0d;
  //border-right: 1px solid #514f4f;
  border-right: 1px solid #cccccc;
  z-index: 2; }

.gantt aside:before {
  position: absolute;
  right: -7px;
  pointer-events: none;
  width: 7px;
  top: 0;
  bottom: 0;
  content: "";
  //border-left: 1px solid rgba(255, 255, 255, 0.03);
  //background: -webkit-linear-gradient(left, rgba(0, 43, 54, 0.7), rgba(0, 43, 54, 0));
  //background: -moz-linear-gradient(left, rgba(0, 43, 54, 0.7), rgba(0, 43, 54, 0));
  //background: linear-gradient(left, rgba(0, 43, 54, 0.7), rgba(0, 43, 54, 0));
  z-index: 3; }

.gantt aside .gantt-labels {
  //border-top: 1px solid #001f27; 
  border-top: 1px solid #cccccc;
}

.gantt aside .gantt-label strong {
  display: block;
  padding: 0 20px;
  //color: #93a1a1;
  color: #514f4f;
  //border-bottom: 1px solid #001f27;
  border-bottom: 1px solid #cccccc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

/* data section */
.gantt-data {
  position: relative;
  overflow-x: scroll;
  margin-left: 200px;
  white-space: nowrap; }

/* data section header */
.gantt header .gantt-months {
  overflow: hidden; }

.gantt header .gantt-month {
  float: left;
  text-align: center; }

.gantt header .gantt-month strong {
  display: block;
 // border-right: 1px solid #001f27;
 // border-bottom: 1px solid #001f27; 
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;

}

.gantt header .gantt-day span {
  text-indent: 0;
  text-align: center; }

.gantt header .gantt-day.today span {
  color: red; }

/* data items */
.gantt-item {
  position: relative; }

.gantt-days {
  overflow: hidden; }

.gantt-day {
  float: left; 
//  width: 15px;
}

.gantt-day span {
  display: block;
  //border-right: 1px solid #001f27;
  //border-bottom: 1px solid #001f27;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  text-indent: -12000px; }

.gantt-day.weekend span {
  //background: #073642; 
  background: #9fe8f5;
}

/* data blocks */
.gantt-block {
  position: absolute;
  top: 0;
  z-index: 1;
  margin: 4px;
  border-radius: 3px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.9) 0 2px 6px, rgba(255, 255, 255, 0.2) 0 1px 0 inset;
  -moz-box-shadow: rgba(0, 0, 0, 0.9) 0 2px 6px, rgba(255, 255, 255, 0.2) 0 1px 0 inset;
  box-shadow: rgba(0, 0, 0, 0.9) 0 2px 6px, rgba(255, 255, 255, 0.2) 0 1px 0 inset;
  opacity: .9; }

.gantt-block-label {
  display: block;
  color: white;
  padding: 2px 5px; 
}

/* block colors */
.gantt-block {
  background: #268bd2; }

.gantt-block.zaiavki_plateni {
  background: #b58900; }

.gantt-block.rezervacia {
  background: #644748; }


.gantt-block.neplateni {
  background: #d33682; }

.gantt-block.zaiavki_neplateni {
  background: magenta; 
}

.gantt-block.bolnichen {
  background: green;
}


/* today sign */
.gantt time {
  position: absolute;
  top: 0;
  width: 2px;
  background: red;
  bottom: 0;
  z-index: 1000;
  text-indent: -12000px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 0 10px;
  -moz-box-shadow: rgba(0, 0, 0, 0.3) 0 0 10px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 0 10px; }

.gantt time:before {
  position: absolute;
  content: "";
  top: 0;
  left: -4px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid red; }

/* scrollbar styles */
.gantt ::-webkit-scrollbar {
  //background: #002b36;
  background: #f0f0f0;
  height: 10px; }

.gantt ::-webkit-scrollbar-thumb {
  background: #93a1a1;
  -webkit-box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0 inset;
  -moz-box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0 inset;
  box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0 inset; }

/* selection styles */
.gantt ::-moz-selection {
  background: #fff;
  color: #000; }

.gantt ::selection {
  background: #fff;
  color: #000; }
