.calendar {
  width: 100%;
  max-width: 350px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
}

.calendar-header {
  width: 100%;
  height: 50px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar .title {
  height: 100%;
  display: flex;
  align-items: center;
}

.calendar .title h2 {
  margin: auto;
}

.calendar .tools {
  height: 100%;
  display: flex;
  align-items: center;
}

.calendar tools button {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: none;
}

.calendar .tools button span:hover {
  color: #99cccc;
}

.calendar-body {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.table-header {
  margin-bottom: 5px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.weekday {
  width: 100px;
  text-align: center;
}

.table-content {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  box-sizing: border-box;
}

.calendar-day {
  width: 14%;
  min-height: 50px;
  position: relative;
}

.calendar-day div:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.calendar-day div {
  cursor: pointer;
  border-radius: 8px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  z-index: 1;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  margin: 2px 0px;
  text-align: center;
  flex-direction: column;

  right: 10px;
  color: #a6a6a6;
  border: 1px solid #a6a6a6;
}

.current div {
  color: #000000;
}

.holyday div {
  border: 2px solid rgb(240, 0, 0);

  font-weight: bold;
  border-width: 2px;
}
.selected div {
  border: 2px solid rgb(240, 200, 7);

  font-weight: bold;
  border-width: 2px;
}
