select:focus,
button:focus {
  outline: 2px solid black !important;
}
.event-link:focus-within {
  border: 2px solid black !important;
}
.ui-datepicker {
  /* border: 1px solid black; */
  width: 350px;
  height: auto;
  margin: 5px auto 0;
  font: 12pt Arial, sans-serif;
  font-weight: 700;
}

.ui-datepicker a {
  text-decoration: underline;
}

.ui-datepicker table {
  width: 100%;
}

/* Header */
.ui-datepicker-header {
  color: black;
  padding: 0.5rem 0rem;
  display: flex;
}

.ui-datepicker-header span {
  color: black;
}

.ui-datepicker-header select {
  background: transparent;
  border-top: none;
  border-bottom: 1.5px solid black;
  border-left: none;
  border-right: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 0rem 0.25rem;
  margin: 0rem 0.25rem;
  appearance: none;
  cursor: pointer;
}

.ui-datepicker-header select:focus {
  outline: none;
}

[data-handler="today"] {
  border: 1px solid black;
  background: white;
  font-weight: bold;
  height: 100%;
  margin: 0rem 0.25rem;
  padding: 0rem 0.25rem;
}

[data-handler="today"]:hover {
  cursor: pointer;
  /* text-decoration: underline; */
}

.ui-datepicker-title {
  display: flex;
  justify-content: center;
  vertical-align: middle;
  text-align: center;
  flex-grow: 1;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  /* vertical-align: top; */
  width: 20px;
  cursor: pointer;
  height: 100%;
  text-align: center;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
  display: block;
  height: 100%;
}

.ui-datepicker-prev {
  justify-self: flex-start;
}

.ui-datepicker-next {
  order: 3;
  margin-right: 25px;
}

.ui-datepicker th {
  text-transform: uppercase;
  font-size: 0.7rem;
  padding: 5px 0;
  font-weight: 300;
  color: #000000;
}

.ui-datepicker tbody td {
  position: relative;
}

.ui-datepicker td span,
.ui-datepicker td a {
  display: inline-block;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 30px;
  color: #000000;
}

.ui-datepicker-unselectable .ui-state-default {
  background: #f4f4f4;
  color: #b4b3b3;
}

/* Hover */
.ui-datepicker-calendar .ui-state-hover {
  border-radius: 50px;
  background: #000;
  color: #fff;
}

.ui-datepicker-calendar .ui-state-active::after {
  border-radius: 50px;
  background: #000;
  color: #fff;
  content: "";
  /* position: absolute;
  top: 0px;
  left: 0px;
  display: block;
  border-right: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-top: 10px solid green; */
}

.ui-datepicker-calendar .ui-datepicker-today::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  display: block;
  border-right: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-top: 10px solid rgb(212, 67, 25);
}

.ui-datepicker-calendar td:first-child .ui-state-active {
  /* width: 29px; */
  margin-left: 0;
}

.ui-datepicker-calendar td:last-child .ui-state-active {
  width: 29px;
  margin-right: 0;
}

.ui-datepicker-calendar tr:last-child .ui-state-active {
  height: 29px;
  margin-bottom: 0;
}

button.ui-datepicker-close {
  display: none;
}

/* custom-highlight */
.ui-state-custom-highlight a {
  border-radius: 50px;
  background: black;
  color: #fff !important;
  transition: 0.2s ease-out;
}

.ui-state-custom-highlight a:hover {
  border-radius: 50px;
  background: rgb(0, 0, 0, 0.7);
  color: #fff !important;
}

#eventList {
  max-height: 300px;
  overflow-y: scroll;
  /* overflow-x: hidden; */
}

#eventList::-webkit-scrollbar {
  width: 6px;
}

#eventList::-webkit-scrollbar-thumb {
  background: rgba(240, 240, 240, 0.3);
  border-radius: 10px;
}

#eventList::-webkit-scrollbar-thumb:hover {
  background: rgba(240, 240, 240, 0.5);
}

/* event-container */
.event-container {
  display: flex;
  border-left: 6px solid black;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  background: white;
  padding: 0.75rem;
  transition: 0.2s ease-out;
}

.event-container:hover {
  /* background: #fafafa; */
  color: rgb(212, 67, 25);
  border-left: 6px solid rgb(212, 67, 25);
}

.event-container:hover .divider {
  background: rgb(212, 67, 25);
}

.event-link {
  color: black;
}

.event-link:hover {
  color: black;
}

.event-container p {
  display: block;
  margin-bottom: 0;
}

.event-col {
  max-width: 135px;
  margin-right: 20px;
}

.event-date {
  text-align: center;
  white-space: nowrap;
  font-weight: bold;
}

.divider {
  height: 2px;
  background-color: black;
}

.event-time {
  white-space: nowrap;
  text-align: left;
  overflow: hidden;
  max-width: 100%;
}

.event-name {
  /* font-size: 0.85rem; */
  /* text-decoration: underline; */
  text-align: left;
}

.know-more {
  color: black;
}

.know-more:hover {
  color: black;
  text-decoration: underline;
}

.ui-datepicker-inline {
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  #eventList {
    margin-top: 40px;
  }

  .event-col {
    font-size: 0.85rem;
    margin-right: 10px;
  }

  .ui-datepicker-inline {
    max-width: 100%;
  }
}

@media screen and (min-width: 768px) {
  #eventList {
    max-height: 300px;
    overflow-y: scroll;
    -ms-overflow-style: none;
    /* overflow-x: hidden; */
  }

  .event-col {
    max-width: 135px;
    margin-right: 20px;
  }

  .ui-datepicker-inline {
    max-width: 50%;
  }
}

@media screen and (min-width: 1024px) {
  .ui-datepicker-inline {
    max-width: 100%;
  }
}
.event-time,
.event-date {
  letter-spacing: 0px;
}

.ui-datepicker-current {
  min-width: 50px;
}

@media print {
  #eventList {
    max-height: 100% !important;
  }
}
