/**
 * rome - Customizable date (and time) picker. Opt-in UI, no jQuery!
 * @version v2.1.22
 * @link https://github.com/bevacqua/rome
 * @license MIT
 */
 /* :root {
  --primary: #a514d2;
  --primary-hover: #8200aa;
} */
.rd-container {
  display: none;
  /*border: 1px solid #333;*/
  background-color: #fff;
  padding: 10px;
  text-align: center;
}

.rd-container-attachment {
  position: absolute;
}

.rd-month {
  display: inline-block;
  margin-right: 25px;
}

.rd-month:last-child {
  margin-right: 0;
}

.rd-back,
.rd-next {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  padding: 0;
  margin: 0;
}

.rd-back[disabled],
.rd-next[disabled] {
  cursor: default;
}

.rd-back {
  float: left;
  margin-left: 10px;
}

.rd-next {
  float: right;
  margin-right: 10px;
}

.rd-back:before {
  display: block;
  content: '\2190';
}

.rd-next:before {
  display: block;
  content: '\2192';
}

.rd-day-body {
  cursor: pointer;
  text-align: center;
  /* new */
  line-height: 0;
  width: 70px !important;
  height: 70px !important;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.5s;
}
.rd-day-body:hover{
  border: 1px solid var(--primary);
  transition: all 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #efefef;
}

.rd-day-selected,
.rd-time-selected,
.rd-time-option:hover {
  cursor: pointer;
  background-color: var(--primary);
  color: #fff;
}
.rd-day-selected:hover,
.rd-time-selected:hover,
.rd-time-option:hover {
  cursor: pointer;
  background-color: var(--primary);
  color: #fff;
}

.rd-day-prev-month,
.rd-day-next-month {
  color: #ccc;
}

.rd-day-disabled {
  cursor: default;
  color: #fcc;
}

.rd-time {
  position: relative;
  display: inline-block;
  margin-top: 5px;
  min-width: 80px;
}

.rd-time-list {
  display: none;
  position: absolute;
  overflow-y: scroll;
  max-height: 160px;
  left: 0;
  right: 0;
  background-color: #fff;
  color: #333;
}

.rd-time-selected {
  padding: 5px;
}

.rd-time-option {
  padding: 5px;
}

.rd-day-concealed {
  visibility: hidden;
}

.rd-days {
  margin-top: 20px;
}
/* .rd-days-row{
  color: #fff;
  background-color: var(--primary);
  border-color: #fff;
} */
.rd-days-row .rd-day-head{
  height: 40px;
  color: #fff;
  background-color: var(--primary);
  border-color: #fff;
}
.rd-date .rd-month .rd-back,
.rd-date .rd-month .rd-next{
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background-color: var(--primary);
  color: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rd-month-label{
  font-weight: 600;
}
.rd-day-body.highlight{
  border-color: var(--primary-hover)!important;
}