/* Reset */
.ui-datepicker,
.ui-datepicker table,
.ui-datepicker tr,
.ui-datepicker td,
.ui-datepicker th {
  margin: 0;
  padding: 0;
  border-spacing: 0;
}
/* Calendar Wrapper */
.ui-datepicker {
  margin: 0 auto;
  display: none;
  width: 300px;
  padding: 10px;
  font-family: "Segoe UI", "Arial", "Sylfaen";
  cursor: default;
  background: #5759d5;
}
/* Calendar Header */
.ui-datepicker-header {
  position: relative;
  padding-bottom: 8px;
  /* Month */

  /* Prev Next Month */

}
.ui-datepicker-header .ui-datepicker-title {
  font-family: "BPG Extra Square Web";
  font-size: 1.3em;
  text-align: center;
  color: #ffffff;
}
.ui-datepicker-header .ui-datepicker-month {
  position: relative;
}
.ui-datepicker-header .ui-datepicker-month:after {
  content: ',';
}
.ui-datepicker-header .ui-datepicker-prev,
.ui-datepicker-header .ui-datepicker-next {
  position: absolute;
  top: -5px;
  padding: 5px;
  cursor: pointer;
}
.ui-datepicker-header .ui-datepicker-prev {
  left: 0;
  padding-left: 0;
}
.ui-datepicker-header .ui-datepicker-next {
  right: 0;
  padding-right: 0;
}
.ui-datepicker-header .ui-datepicker-prev span,
.ui-datepicker-header .ui-datepicker-next span {
  display: block;
  width: 25px;
  height: 25px;
  text-indent: -9999px;
  background-image: url(img/arrows.png);
}
.ui-datepicker-header .ui-datepicker-prev span {
  background-position: 0px 0px;
}
.ui-datepicker-header .ui-datepicker-next span {
  background-position: -25px 0px;
}
.ui-datepicker-header .ui-datepicker-prev-hover span {
  background-position: 0px -25px;
}
.ui-datepicker-header .ui-datepicker-next-hover span {
  background-position: -25px -25px;
}
/* Calendar "Days" */
.ui-datepicker-calendar {
  width: 300px;
  background-color: #ffffff;
  border: 1px solid #ffffff;
}
.ui-datepicker-calendar th,
.ui-datepicker-calendar td {
  width: 14.28571428571429%;
}
.ui-datepicker-calendar th {
  padding: 5px 0;
  font-size: .75em;
  text-align: center;
  font-weight: normal;
  color: #000000;
  border-right: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  background-color: #eeeeee;
}
.ui-datepicker-calendar th:last-child {
  color: #2871ff;
  border-right: 0;
}
.ui-datepicker-calendar th:first-child {
  color: #ff2c1e;
}
.ui-datepicker-calendar tbody tr:last-child td {
  border-bottom: 0;
}
.ui-datepicker-calendar tbody td {
  padding: 0;
  text-align: center;
  border-bottom: 1px solid #eeeeee;
  border-right: 1px solid #eeeeee;
  cursor: pointer;
  /* Day Active State*/

  /* Other Months Days*/

}
.ui-datepicker-calendar tbody td:first-child .ui-state-default {
  color: #ff2c1e;
}
.ui-datepicker-calendar tbody td:first-child .ui-state-default:hover {
  background-color: #febcb7;
}
.ui-datepicker-calendar tbody td:first-child .ui-state-active {
  color: #ffffff;
  background-color: #ff3333;
}
.ui-datepicker-calendar tbody td:first-child .ui-state-active:hover {
  background-color: #ff3333;
}
.ui-datepicker-calendar tbody td:last-child {
  border-right: 0;
}
.ui-datepicker-calendar tbody td:last-child .ui-state-default {
  color: #2871ff;
  border-right: 0;
}
.ui-datepicker-calendar tbody td:last-child .ui-state-default:hover {
  background-color: #d6e0ff;
}
.ui-datepicker-calendar tbody td:last-child .ui-state-active {
  color: #ffffff;
  background-color: #2871ff;
}
.ui-datepicker-calendar tbody td:last-child .ui-state-active:hover {
  background-color: #2871ff;
}
.ui-datepicker-calendar tbody td .ui-state-default {
  display: block;
  padding: 5px 0;
  outline: none;
  text-decoration: none;
  color: #000000;
  border: 1px solid transparent;
}
.ui-datepicker-calendar tbody td .ui-state-default:hover {
  background-color: #ccccff;
}
.ui-datepicker-calendar tbody td .ui-state-active {
  color: #ffffff;
  font-weight: bold;
  background-color: #000000;
  opacity: 1 !important;
}
.ui-datepicker-calendar tbody td .ui-state-active:hover {
  background-color: #000000;
}
.ui-datepicker-calendar tbody td.ui-datepicker-other-month .ui-state-default {
  opacity: .4;
}
.ui-datepicker-calendar tbody td.ui-datepicker-today .ui-state-default {
  padding: 4px 0;
  color: #ff5d00;
  font-weight: bold;
  border: 2px solid #ff5d00;
}
.ui-datepicker-calendar tbody td.ui-datepicker-today .ui-state-active {
  color: white;
  background-color: #ff5d00 !important;
}
