/*  Events display */
.calendar-row {
  margin-top: 50px;
}

.events-container {
  height: 100%;
  margin: 0px auto;
  font: 13px Helvetica, Arial, sans-serif;
  display: inline-block;
  padding: 0 10px;
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
  float: right;
}

.events-container:after {
  clear: both;
}

.event-card {
  display: block;
}

.event-count, .event-name, .event-cancelled {
  display: inline;
  padding: 0 10px;
  font-size: 1rem;
}

.event-count {
  color: #b49761;
  text-align: right;
}

.event-name {
  padding-right: 0;
  text-align: left;
}

.event-cancelled {
  color: #202020;
  text-align: right;
}

/*  Calendar wrapper */
.calendar-container {
  position: relative;
  margin: 0px auto;
  background: #272829;
  font: 13px Helvetica, Arial, san-serif;
  display: inline-block;
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}

.calendar-container:after {
  clear: both;
}

/*.calendar {
display: table;
}*/

/* Calendar Header */
.year-header {
  background: #b49761;;
  background: -moz-linear-gradient(left, #b49761 0%, #b49761 80%, #b49761 100%);
  background: -webkit-linear-gradient(left, #b49761 0%, #b49761 80%, #b49761 100%);
  background: linear-gradient(to right, #b49761 0%, #b49761 80%, #b49761 100%);
  font-family: Helvetica;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  height: 50px;
  text-align: center;
  position: relative;
  color: #fff;
  border-top-left-radius: 3px;
}

.year-header span {
  display: inline-block;
  font-size: 20px;
  line-height: 50px;
}

.left-button, .right-button {
  cursor: pointer;
  width: 28px;
  text-align: center;
  position: absolute;
}

.left-button {
  left: 0;
  -webkit-border-top-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
  border-top-left-radius: 5px;
}

.right-button {
  right: 0;
  top: 0;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topright: 5px;
  border-top-right-radius: 5px;
}

.left-button:hover {
  background: #b49761;
}

.right-button:hover {
  background: #b49761;
}



/* Days/months tables */
.days-table, .dates-table, .months-table {
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  border-collapse: separate;
  text-align: center;
  width: 100% !important;
}

.day {
  height: 26px;
  width: 26px;
  padding: 0 10px;
  line-height: 26px;
  border: 2px solid transparent;
  text-transform: uppercase;
  font-size: 90%;
  color: #9e9e9e;
}

.month {
  cursor: default;
  height: 26px;
  width: 26px;
  padding: 0 2px;
  padding-top: 10px;
  line-height: 26px;
  text-transform: uppercase;
  font-size: 8px;
  color: #9e9e9e;
  transition: all 250ms;
}
table {
    border-spacing: 8px;
}

.active-month {
  font-weight: bold;
  font-size: 14px;
  color: #ffffff;
  text-shadow: 0 1px 4px #3f3d3d;
}

.month:hover {
  color: #202020;
  text-shadow: 0 1px 4px #3f3d3d;
}

/*  Dates table */
.table-date {
    cursor: default;
    color: #9e9e9e;
    height: 13px;
    width: 10px;
    font-size: 15px;
    padding: 6px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 250ms;
}

.table-date:not(.nil):hover {
  border-color: #202020;
  box-shadow: 0 2px 6px #3f3d3d;;
}

.event-date {
  border-color: #b49761;
  box-shadow: 0 2px 8px #3f3d3d;;
}

.active-date {
  background: #202020;
  box-shadow: 0 2px 8px #3f3d3d;;
  color: #fff;
}

.event-date.active-date {
  background: #b49761;
  box-shadow: 0 2px 8px #3f3d3d;

}

/* input dialog */
.dialog {
  z-index: 5;
  background: #fff;
  position: absolute;
  width: 415px;
  height: 500px;
  left: 387px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  display: none;
  border-left: 1px #aaa solid;
}

.dialog-header {
  margin: 20px;
  color: #333;
  text-align: center;
}

.form-container {
  margin-top: 25%;
}

.form-label {
  color: #333;
}

.input {
  border: none;
  background: none;
  border-bottom: 1px #aaa solid;
  display: block;
  margin-bottom: 50px;
  width: 200px;
  height: 20px;
  text-align: center;
  transition: border-color 250ms;
}

.input:focus {
  outline: none;
  border-color: #00C9FB;
}

.error-input {
  border-color: #202020;
}

/* Tablets and smaller */
@media only screen and (max-width: 991px) {
  .calendar-row {
    margin-top: 0;
  }

.day{
    font-size: 53%;
}
  .content {
    overflow: visible;
    position: relative;
    max-width: 100%;
    width: 370px;
    height: 100%;
    background: #b49761;
    background: -moz-linear-gradient(left, #b49761 0%, #00C9FB 80%, #00C9FB 100%);
    background: -webkit-linear-gradient(left, #b49761 0%, #00C9FB 80%, #00C9FB 100%);
    background: linear-gradient(to right, #b49761 0%, #00C9FB 80%, #00C9FB 100%);
  }

  .dialog {
    width: 370px;
    height: 450px;
    border-radius: 3px;
    top: 0;
    left: 0;
  }

  .events-container {
    float: none;
    overflow: visible;
    margin: 0 auto;
    margin-top: 35px;
    padding: 0;
    display: block;
    left: 0;
    border-radius: 3px;
  }

  .calendar-container {
    float: none;
    padding: 0;
    margin: 0 auto;
    margin-right: 0;
    display: block;
    left: 0;
    border-radius: 3px;
    box-shadow: 3px 8px 16px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: 3px 8px 16px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    -webkit-box-shadow: 3px 8px 16px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  }
}

/* Small phone screens */
@media only screen and (max-width: 460px) {
  /*  .content, .events-container, .year-header, .calendar-container {
  width: 100%;
  }
  .dialog {
  width: 320px;
  }
  .months-table {
  display: block;
  margin: 0 auto;
  width: 320px;
  }
  .event-card {
  width: 300px;
  }
  .day {
  padding: 0 7px;
  }*/
  .month {
    display: inline-block;
    padding: 10px 10px;
    font-size: .8rem !important;
  }

  .table-date {
    width: 20px;
    height: 20px;
    line-height: 27px;
    font-size: 14px;
  }

  /* .dates-table{
  width: 100% !important;
  }
  .table-date {
  width: 20px;
  height: 20px;
  line-height: 20px;
  }
  .event-name, .event-count, .event-cancelled {
  font-size: .8rem;
  }
  .add-button{
  bottom: 10px;
  right: 10px;
  padding: 0.5rem 1.5rem;
  }*/
}
