body {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  padding: 0 5px;
  margin: 0;
}
[v-cloak] {
  display: none
}
.month {
  width: 100%;
  flex-wrap: wrap;
  align-items: flex-start;
  display: flex;
}

.day {
  width: calc(14.285% - 2px - 10px);
  padding: 5px;
  border-bottom: 1px solid transparent;
  border-right: 1px solid transparent;
  color: #d2d2d2;
  position: relative;
}

.day:nth-child(7n+1) {
  border-left: 1px solid transparent;
}

@media only screen and (min-width: 700px) {
  .day:nth-child(7n+1) {
    border-left: 1px solid #d2d2d2;
  }
}

.day--week {
  align-items: center;
  justify-content: center;
  height: auto !important;
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  color: #000;
}

.current-month {
  color: #000;
  font-weight: bold;
}

.day-no {
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
}

.today .day-no {
  color: #202dd6;
}

.events {
  opacity: 0.5;
  height: calc(100% - 25px);
  position: relative;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.events::-webkit-scrollbar {
  display: none;
}

.event {
  background: #888fed;
  border: none;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 12px;
  font-weight: normal;
  margin-bottom: 5px;
  max-width: 100%;
  overflow: hidden;
  padding: 3px 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scroll-down{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: .8rem;
  background: #fff;
  display: block;
  width: 100%;
  padding: 3px;
  text-align: center;
  display: none;
  cursor: pointer;
}

.event--sportowe {
  background-color: #73c0b8;
}

.event--kulturalne {
  background-color: #878fed;
}

.event--inne {
  background-color: #dc7575;
}

.event-modal {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: #e8efff;
  z-index: 2;
  width: 220px;
  font-weight: normal;
  font-size: 13px;
  padding: 10px 15px;
  color: #555;
}

.event-modal a {
  color: #555;
}

.event-modal__category {
  color: #3441e0;
  font-size: 12px;
  margin-bottom: 10px;
}

.event-modal__list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.event-modal__list li {
  margin-bottom: 10px;
}

.event-modal__close {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 5px;
  color: #555;
}

.more-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.more-modal__header span {
  color: #000;
}

.more-modal__close {
  position: initial;
}

.current-month .events {
  opacity: 1;
}

.categories {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  display: none;
}

.categories li {
  display: inline-block;
  margin-right: 15px;
  font-size: 15px;
}

.categories button::before {
  content: '';
  width: 13px;
  height: 13px;
  border: 1px solid #555;
  display: inline-block;
  margin-right: 10px;
  position: relative;
  top: 3px;
}

.categories li:nth-child(1) button {
  color: #555;
}

.categories li:nth-child(1) button::before {
  border-color: #555;
}

.categories li:nth-child(1) button.active::before {
  background: #555;
}

.categories li:nth-child(2) button {
  color: #202dd6;
}

.categories li:nth-child(2) button::before {
  border-color: #202dd6;
}

.categories li:nth-child(2) button.active::before {
  background: #202dd6;
}

.categories li:nth-child(3) button {
  color: #119486;
}

.categories li:nth-child(3) button::before {
  border-color: #119486;
}

.categories li:nth-child(3) button.active::before {
  background: #119486;
}

.categories li:nth-child(4) button {
  color: #c41616;
}

.categories li:nth-child(4) button::before {
  border-color: #c41616;
}

.categories li:nth-child(4) button.active::before {
  background: #c41616;
}

.categories button {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.navigation {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}
.navigation__buttons {
  display: flex;
  justify-content: space-around;
  padding: 0;
  order: 1;
}

.navigation--year .navigation__views {
  display: none;
}

.navigation--day .navigation__buttons {
  justify-content: center;
}

.navigation__views {
  text-align: left;
  padding: 15px 0;
  margin: 0;
}

.navigation__views .active {
  display: none;
}

.navigation h2 {
  font-size: 24px;
  font-weight: 900;
  display: inline-block;
  margin: 0;
  color: #3b3b3b;
}

.navigation button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 24px;
  font-weight: 400;
  outline: none;
  padding: 0 10px;
  color: #3b3b3b;
}

.navigation button:focus,
.categories button:focus,
.event:focus,
a:focus,
.event-modal__close:focus {
  outline-offset: 3px;
  outline: 2px solid #000;
}

.navigation .view {
  background: #fff;
  font-size: 15px;
  font-weight: bold;
  border: 1px solid #3441e0;
  color: #000;
  line-height: 25px;
  padding: 0 10px;
  position: relative;
  top: -3px;
  margin-right: 15px;
  min-width: 80px;
}

.navigation .view span {
  margin-right: 10px;
  position: relative;
  top: 1px;
}

.navigation .view.active {
  background: #3441e0;
  color: #fff;
}

.year {
  display: flex;
  flex-wrap: wrap;
}

.year h2 {
  font-size: 16px;
  font-weight: 400;
  text-transform: capitalize;
  padding: 15px 0;
  margin: 0;
  text-align: center;
}

.year .column {
  padding: 5px;
  flex: 1 1 30%;
}

.year .column:hover {
  background: #e8efff;
  cursor: pointer;
}

.year .month {
  width: 100%;
  display: none;
}

.year .day {
  height: auto;
  font-size: 11px;
  border-color: transparent;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: 0;
  width: calc(14.285% - 2px);
  line-height: 25px;
  font-weight: bold;
  color: #000;
}
.year .day--week {
  font-weight: bold;
}

.year .day-no {
  width: inherit;
  height: inherit;
  line-height: inherit;
  text-align: left;
}

.day:nth-child(7n) .event-modal {
  left: unset;
  right: 15px;
}

.has-events::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d2d2d2;
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.day-view {
  position: relative;
  padding: 0;
  min-height: 500px;
}
.day-view .events {
  position: unset;
  display: block;
  opacity: 1;
  padding: 0;
}

.day-view .events .event {
  position: relative;
  padding: 10px;
}

.day-view .event-modal {
  bottom: initial;
  left: 0;
  padding: 15px;
  right: 0;
  top: 0;
  width: auto;
}

.day {
  border-bottom: 1px solid #d2d2d2;
  color: #fff;
  padding-bottom: 15px;
}
.day.current-month {
  color: #000;
}
.day.day--week {
  color: #555;
}
.day:nth-child(-n+7),
.day:nth-last-child(-n+7) {
  border-bottom-color: transparent;
}

@media only screen and (min-width: 700px) {
  .day {
    padding: 5px;
    color: #d2d2d2;
  }
  .day.current-month {
    color: #000;
  }
  .day.day--week {
    color: #555;
  }
  .day:nth-child(-n+7),
  .day:nth-last-child(-n+7) {
    border-bottom-color: #d2d2d2;
  }
  .year .day:nth-child(-n+7),
  .year .day:nth-last-child(-n+7) {
    border-bottom-color: transparent;
  }
  .year .column {
    flex: 1 0 21%;
  }
  .year .month {
    display: flex;
  }
  .year h2 {
    text-align: left;
    padding: 0;
  }
  .navigation {
    display: block;
    text-align: right;
    margin-bottom: 0;
  }
  .navigation__buttons {
    display: inline-block;
    padding: 0;
    order: 0;
  }
  .navigation .view {
    color: #3441e0;
    margin: 0 0 0 15px;
  }
  .navigation__views {
    text-align: right;
    display: inline-block;
  }
  .navigation__views .active {
    display: inline-block;
  }
  .navigation--year .navigation__views {
    display: inline-block;
  }
  .day {
    height: 100px;
    border-color: #d2d2d2;
    align-items: flex-start;
    justify-content: flex-end;
  }
  .categories {
    display: block;
  }
  .events {
    display: block;
  }
  .today .day-no {
    color: #fff;
    background: #202dd6;
    border-radius: 50%;
  }
  .day--week {
    align-items: flex-end;
    justify-content: flex-end;
  }
  .has-events::after {
    display: none;
  }
  .navigation .view {
    font-weight: normal;
  }
}
