#CalendarControlIFrame {
  display: none;
  left: 0;
  position: absolute;
  top: 0;
  height: 250px;
  width: 250px;
  z-index: 99;
}

#CalendarControl {
  position: absolute;
  display: none;
  z-index: 99999 !important;
  overflow: hidden;
  width: 350px;
  box-shadow: 0px 0 6px #999;
}

@media only screen and (max-width: 768px) {
  #CalendarControl {
    background-color: #fff;
    position: fixed;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    display: none;
    z-index: 99999 !important;
    overflow: hidden;
    top: auto !important;
    width: 100%;
    height: auto;
  }
}

#CalendarControl table {
  font-family: arial, verdana, helvetica, sans-serif;
  font-size: 11px;
  width: 100%;
}
#CalendarControl th {
  background: #fff;
  font-weight: 400;
  padding: 16px 0;
}

#CalendarControl .header th {
  background: #444;
}

#CalendarControl th a {
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
}
.empty {
  padding: 16px 0;
  background: #fff;
}
#CalendarControl td {
  text-align: center;
}
#CalendarControl .header {
  background-color: #444;
  font-size: 12px;
}
#CalendarControl .weekday {
  background-color: #fbfbfb;
  color: #000;
}
#CalendarControl .weekend {
  background-color: #fff;
  color: #000;
}
#CalendarControl .current {
  background-color: #ff5f16;
  color: #fff;
}
#CalendarControl .current,
#CalendarControl .weekday,
#CalendarControl .weekend {
  display: block;
  text-decoration: none;
  padding: 16px 0;
  box-sizing: border-box;
}

#CalendarControl .current:hover,
#CalendarControl .weekday:hover,
#CalendarControl .weekend:hover {
  color: #fff;
  background-color: #8a4989;
  box-sizing: border-box;
}
#CalendarControl .previous {
  text-align: left;
}
#CalendarControl .next {
  text-align: right;
}
#CalendarControl .next,
#CalendarControl .previous {
  padding: 1px 3px;
  font-size: 1.4em;
}
#CalendarControl .next a,
#CalendarControl .previous a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: block;
}
#CalendarControl .title {
  padding: 18px 0;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
  width: 43%;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

input#date {
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
