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;
  display: flex;
  align-items: center;
  justify-content: center;
  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 {
  position: absolute;
  bottom: 0;
  right: 5px;
  left: 5px;
  opacity: 0.5;
  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;
}

.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;
}

.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: 150px;
    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;
  }
}

*[data-background="Brązowy"] {
  background: #c59e64;
}

*[data-background="Brązowy"] {
  background: #2196F3;
}

*[data-background="Czerwony"] {
  background: red;
}

*[data-background="Fioletowy"] {
  background: #7a53b9;
}

*[data-background="Różowy"] {
  background: pink;
}

*[data-background="Szary"] {
  background: #9E9E9E;
}

*[data-background="Zielony"] {
  background: #4CAF50;
}

*[data-background="Żółty"] {
  background: yellow;
  color: #000000;
}

.counter {
  background-color: #141C7C;
  background-image: url('time.svg');
  background-position: 10px center;
  background-repeat: no-repeat;
  background-size: 20px;
  color: #fff;
  font-size: 16px;
  line-height: 23px;
  margin: 15px 0;
  padding: 10px 10px 10px 45px;
}


@media only screen and (min-width: 700px) {
  .counter {
    background-position: 25px center;
    background-size: 40px;
    font-size: 21px;
    line-height: 30px;
    padding: 20px 20px 20px 90px;
  }
}

.browser__form {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media only screen and (min-width: 700px) {
  .browser__form {
    padding: 30px;
  }
}

.browser__form input,
.browser__form select {
  font-size: 15px;
  border: 0;
  border-bottom: 1px solid #000;
  padding: 10px 0;
  color: #000;
  width: calc(100% - 200px);
  outline: 0;
}

.browser__form input {
  background-image: url('magnifying-glass.svg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 20px;
}

.browser__form select {
  width: 150px;
}

.browser__list {
  padding: 0;
  list-style: none;
}

@media only screen and (min-width: 700px) {
  .browser__list {
    padding: 0 30px;
  }
}

.browser__list li {
  display: block;
  margin: 8px 0;
}

.browser__list li a {
  display: block;
  background: #E8EFFF;
  color: #000000;
  padding: 10px;
  text-decoration: none;
}

.browser h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 15px;
  position: relative;
}

.browser h2:after {
  background: #202dd6;
  bottom: 0;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  width: 50%;
}

