body {
  --fc-event-bg-color: #a6bfff;
  --fc-event-border-color: #a6bfff;
}


@media screen and (min-width: 768px) {
  h2#fc-dom-1 {
    font-size: 2.625rem !important;
  }

  .fc .fc-toolbar {
    align-items: end !important;
  }

  .fc-toolbar-chunk:first-of-type {
    width: 30%;
    justify-content: left;
  }

  .fc-toolbar-chunk:nth-of-type(2) {
    width: 40%;
    display: flex;
    justify-content: center;
  }

  .fc-toolbar-chunk:nth-of-type(3) {
    width: 30%;
    justify-content: right;
  }
}

@media screen and (max-width: 767px) {
  .fc {
    font-size: 0.8125rem !important;
  }

  h2#fc-dom-1 {
    font-size: 2.25rem !important;
  }

  .fc-header-toolbar {
    flex-direction: column;
    align-items: center !important;
    gap: 1rem;
  }

  .fc-toolbar-chunk {
    width: 100%;
    justify-content: center;
  }

  .fc-toolbar-chunk:nth-of-type(2) {
    order: 1;
    margin-bottom: 1rem;
  }
  .fc-toolbar-chunk:nth-of-type(1) {
    order: 2;
  }
  .fc-toolbar-chunk:nth-of-type(3) {
    order: 3;
  }

  .fc-daygrid-event-dot {
    display: none;
  }

  .fc-daygrid-event.fc-event-end {
    padding-left: 4px;
  }
}

@media screen and (min-width: 481px) {
  .fc-scrollgrid thead th:first-child {
    border-top-left-radius: 16px;
  }
  .fc-scrollgrid thead th:last-child {
    border-top-right-radius: 16px;
  }
  .fc-scrollgrid tbody tr:last-child th:first-child {
    border-bottom-left-radius: 16px;
  }
  .fc-scrollgrid tbody tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
  }
  .fc-scrollgrid tbody tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
  }

  table.fc-scrollgrid,
  .fc-listMonth-view {
    border-radius: 16px;
  }

  .fc .fc-list-table tbody > tr:first-child th {
    border-radius: 16px 16px 0px 0px;
  }
  .fc .fc-list-table tbody > tr:first-child div {
    border-radius: 16px 16px 0px 0px;
  }

  .fc-event-start {
    margin-left: 8px !important;
  }
  .fc-event-end {
    margin-right: 8px !important;
  }
}

@media screen and (max-width: 480px) {
  .fc-scrollgrid thead th:first-child {
    border-top-left-radius: 8px;
  }
  .fc-scrollgrid thead th:last-child {
    border-top-right-radius: 8px;
  }
  .fc-scrollgrid tbody tr:last-child th:first-child {
    border-bottom-left-radius: 8px;
  }
  .fc-scrollgrid tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
  }
  .fc-scrollgrid tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
  }

  table.fc-scrollgrid,
  .fc-listMonth-view {
    border-radius: 8px;
  }

  .fc .fc-list-table tbody > tr:first-child th {
    border-radius: 8px 8px 0px 0px;
  }
  .fc .fc-list-table tbody > tr:first-child div {
    border-radius: 8px 8px 0px 0px;
  }

  .fc-event-start {
    margin-left: 4px !important;
  }
  .fc-event-end {
    margin-right: 4px !important;
  }
}

.fc-day-today {
  color: #0743f5;
  --fc-today-bg-color: none;
  background-image: linear-gradient(
    to top left,
    rgba(7, 67, 245, 0.13),
    rgba(7, 90, 245, 0.04)
  );
}

h2#fc-dom-1 {
  font-weight: 500 !important;
  text-align: center;
}

h2:first-letter {
  text-transform: uppercase;
}

.fc-toolbar-chunk {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.fc-col-header-cell {
  color: #595959;
}

.fc-scrollgrid td {
  border-style: solid;
  border-width: 1px;
  border-color: grey;
}

.fc-event-start {
  border-top-left-radius: 16px !important;
  border-bottom-left-radius: 16px !important;
}
.fc-event-end {
  border-top-right-radius: 16px !important;
  border-bottom-right-radius: 16px !important;
}

.fc-event-title-container {
  padding: 0px 6px 0px 6px;
}

.fc .fc-button {
  border-radius: 5rem;
  padding: 0;
}

.fc .fc-toolbar.fc-header-toolbar {
  margin-bottom: 2.5rem !important;
}

.fc .fc-button {
  border-radius: 1rem !important;
  background-color: transparent !important;
  font-size: 0.75rem !important;
  padding: 0.4rem 1rem !important;
  margin: 0 !important;
}

.fc-icon {
  display: none !important;
}

.fc-prev-button {
  background-image: url("https://uploads-ssl.webflow.com/642b0c96df2b3c805a9b5891/642b0c96df2b3c00639b58c1_arrow-left.svg");
}
.fc-next-button {
  background-image: url("https://uploads-ssl.webflow.com/642b0c96df2b3c805a9b5891/642b0c96df2b3cef639b58d3_arrow-right.svg");
}

.fc-prev-button,
.fc-next-button {
  background-repeat: no-repeat;
  background-position: center center;
  width: 4.5rem !important;
  height: 2rem !important;
  border: 2px solid #052fa9 !important;
  background-color: transparent !important;
  transition: box-shadow 0.3s;
}

.fc .fc-button-primary:focus {
  box-shadow: none !important;
}

.fc-dayGridMonth-button,
.fc-listMonth-button,
.fc-today-button {
  transition: box-shadow 0.3s;
}

.fc-prev-button:hover {
  box-shadow: inset 0 0 0 1000px rgba(5, 47, 169, 0.2);
}
.fc-next-button:hover {
  box-shadow: inset 0 0 0 1000px rgba(5, 47, 169, 0.2);
}

.fc .fc-button-primary:focus:hover {
  box-shadow: inset 0 0 0 1000px rgba(5, 47, 169, 0.2) !important;
}
.fc .fc-button-primary:focus:hover {
  box-shadow: inset 0 0 0 1000px rgba(5, 47, 169, 0.2) !important;
}

.fc-dayGridMonth-button:hover {
  box-shadow: inset 0 0 0 1000px rgba(5, 47, 169, 0.2);
}
.fc-listMonth-button:hover {
  box-shadow: inset 0 0 0 1000px rgba(5, 47, 169, 0.2);
}
.fc-today-button:not(:disabled):hover {
  box-shadow: inset 0 0 0 1000px rgba(5, 47, 169, 0.2);
}

.fc-today-button {
  color: rgba(41, 41, 41, 1) !important;
  border: 1px solid #292929 !important;
}

.fc-today-button:disabled {
  opacity: 1 !important;
  background: #e0e0e0 !important;
  color: #757575 !important;
  border-color: #e0e0e0 !important;
}

.fc-dayGridMonth-button,
.fc-list-button,
.fc-listMonth-button {
  color: #292929 !important;
}

.fc .fc-button-primary:not(:disabled).fc-button-active {
  background: #eff0fa !important;
}

button:focus {
  box-shadow: 0 0 0 0.2rem #d3d6f4;
}

.fc-listMonth-button .fc-button .fc-button-primary .fc-button-active {
  background: #eff0fa !important;
}

.fc-col-header-cell-cushion {
  font-weight: 400;
  padding: 6px 6px !important;
}

.fc-daygrid-day-top {
  margin-top: 2px;
  margin-right: 6px;
}

.fc-daygrid-event-harness {
  border-width: 2px 0px;
  border-style: solid;
  border-color: transparent;
}

.fc-day-today {
  border-radius: 0px !important;
}

.fc-event-title {
  color: #292929 !important;
  font-weight: 600;
}

/* .fc-event, .fc-h-event {
  background: #a6bfff!important;
  border-color: #a6bfff!important;
} */

.fc-event.treningi,
.treningi-, .neurofeedback-z-weroniką, .neurofeedback, 
.neurofeedback-z-weroniką .fc-list-event-dot, .neurofeedback .fc-list-event-dot, .treningi- .fc-list-event-dot {
  background: #cf89e8 !important;
  border-color: #cea3ff !important;
}

.fc-event.warsztaty,
.warsztaty-, .warsztat-dla-kobiet, .ustawienia, .restarting, 
.warsztaty- .fc-list-event-dot, .warsztat-dla-kobiet .fc-list-event-dot, .ustawienia .fc-list-event-dot, .restarting .fc-list-event-dot {
  background: #84ec83 !important;
  background-color: none;
  border-color: #96ea66 !important;
}

.fc-event.sesje-on-line,
.sesje-on-line-, .sesja-terapii-zoom, .sesja-dla-par, .sesja-z-enneagramu,
.sesje-on-line- .fc-list-event-dot, .sesja-terapii-zoom .fc-list-event-dot, .sesja-dla-par .fc-list-event-dot, .sesja-z-enneagramu .fc-list-event-dot {
  background: #ffdd33 !important;
  border-color: #ffea80 !important;
}

.fc-event.pobyty-stacjonarne,
.pobyty-stacjonarne-, .ceremonie, .combo-intensive, .dektoks-myl,
.pobyty-stacjonarne- .fc-list-event-dot, .ceremonie .fc-list-event-dot, .combo-intensive .fc-list-event-dot, .dektoks-myl .fc-list-event-dot {
  background: #75e8ea !important;
  border-color: #75e8ea !important;
}

.fc-event.otwarte,
.wydarzenia-otwarte- {
  background: #a6bfff !important;
  border-color: #a6bfff !important;
}


.fc-list-event.pobyty-stacjonarne,
.fc-list-event.sesje-on-line,
.fc-list-event.warsztaty,
.fc-list-event.treningi,
.wydarzenia-otwarte-,
.pobyty-stacjonarne-,
.sesje-on-line-,
.warsztaty-,
.treningi- {
  background-image: none !important;
}

.fc-list-event.my-event-past {
  background-color: transparent !important;
}

.fc-list-event.pobyty-stacjonarne .fc-list-event-dot,
.fc-list-event.pobyty-stacjonarne- .fc-list-event-dot {
  border-color: #75e8ea !important;
}
.fc-list-event.sesje-on-line .fc-list-event-dot,
.fc-list-event.sesje-on-line- .fc-list-event-dot {
  border-color: #ffea80 !important;
}
.fc-list-event.warsztaty .fc-list-event-dot,
.fc-list-event.warsztaty- .fc-list-event-dot {
  border-color: #96ea66 !important;
}
.fc-list-event.treningi .fc-list-event-dot,
.fc-list-event.treningi- .fc-list-event-dot {
  border-color: #cea3ff !important;
}

.fc-list-event.wydarzenia-otwarte- .fc-list-event-dot {
  border-color: #a6bfff !important;
}

.fc-event-time {
  color: #292929;
}

.fc-daygrid-event-dot {
  border-color: #0743f5 !important;
}

.fc-event:not(.fc-daygrid-dot-event) .fc-event-time {
  display: none;
}

.fc-event {
  transition:
    background 0.5s,
    border-color 0.25s;
}

.fc-event-time,
.fc-event-title {
  transition: color 0.5s;
}

.fc-daygrid-body .fc-event:hover {
  background: #0743f5 !important;
  border-color: #0743f5 !important;
}

.fc-event:hover .fc-event-time {
  color: white !important;
}
.fc-event:hover .fc-event-title {
  color: white !important;
}

.fc-event:focus:after {
  border-radius: 16px;
  outline: 1px solid #0743f5;
  background: transparent !important;
}

.fc-daygrid-event.my-event-past {
  background-image: none !important;
  background-color: rgba(224, 224, 224, 0.5) !important;
  border-color: rgba(224, 224, 224, 0.25) !important;
  pointer-events: none;
}

.fc-daygrid-event.my-event-past .fc-event-title {
  color: rgba(41, 41, 41, 0.5) !important;
}
.fc-daygrid-event.my-event-past .fc-event-time {
  color: rgba(41, 41, 41, 0.5) !important;
}
.fc-daygrid-event.my-event-past .fc-daygrid-event-dot {
  border-color: rgba(41, 41, 41, 0.5) !important;
}

.fc-list-event.my-event-past {
  color: rgba(154, 154, 154, 1) !important;
  background-color: rgba(224, 224, 224, 0.15) !important;
  pointer-events: none;
}

.fc-list-event.my-event-past .fc-list-event-dot {
  border-color: rgba(41, 41, 41, 0.25) !important;
}

.fc-list-table .fc-event {background: transparent !important;}
