/*OgÃ³lne*/
.bs-single-event a {
  display: block;
}
.row.calendar-front.poziom {
  display: flex;
}
.row.calendar-front.poziom .bs-single-event {
  width: 50%;
  padding: 10px;
  transition-duration: 0.4s;
}
.row.calendar-front.poziom .bs-single-event:hover {
  box-shadow: 0px 5px 28px #68686829;
}
.row.calendar-front.poziom .bs-single-event .calendar-event-image-block {
  display: flex;
}
.row.calendar-front.poziom
  .bs-single-event
  .calendar-event-image-block
  .calendar-event-image {
  width: 48%;
  height: 130px;
  overflow: hidden;
  margin-right: 25px;
}
.row.calendar-front.poziom .bs-single-event .calendar-event-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row.calendar-front.pion .bs-single-event a {
  display: grid;
  grid-template-columns: 200px auto;
  grid-gap: 20px;
  margin-bottom: 30px;
}
.row.calendar-front.pion .bs-single-event a .calendar-event-image {
  width: 212px;
  height: 150px;
  overflow: hidden;
}
.row.calendar-front.pion .bs-single-event a .calendar-event-image img {
  object-fit: cover;
  width: 210px;
  height: 150px;
}
.row.calendar-front.pion .calendar-event-content .calendar-event-title h3 {
  font-size: 18px;
  font-family: "Roboto", Sans-serif;

}

.row.calendar-front.glowna .calendar-event-content {
  padding: 20px;
  border-top: 2px solid #b5b5b5;
  box-shadow: 0px 3px 10px #68686829;
  margin-bottom: 35px;
  margin-top: -30px;
}
.row.calendar-front.glowna .bs-single-event {
  padding-left: 50px;
}
.row.calendar-front.glowna .bs-single-event a .calendar-event-marker {
  margin-right: 15px;
  z-index: 99;
  display: flex;
  justify-content: flex-end;
}
.row.calendar-front.glowna .bs-single-event a .calendar-event-color {
  width: 30px;
  height: 45px;
  box-shadow: 2px 3px 8px #0000003d;
}
.row.calendar-front.glowna .bs-single-event a .calendar-event-color-shadow {
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  height: 16px;
  width: 15px;
}
.row.calendar-front.glowna
  .bs-single-event
  a
  .calendar-event-color-shadow:after {
  display: block;
  content: "";
  background-color: #00000029;
  position: relative;
  height: 16px;
}

.calendar-event-date p {
  margin-bottom: 0.6em;
  color: var(--wydzialowy-ciemny);
}
.calendar-event-content .calendar-event-title h3 {
  font-size: 20px;
  font-weight: 900;
  border: none;
  padding: 0;
}
.calendar-more-button {
  text-align: right;
  margin-top: 25px;
}
.calendar-more-button a {
  padding: 10px 20px;
  border: 2px solid var(--wydzialowy-ciemny);
  border-radius: 23px;
  font-weight: 900;
  transition-duration: 0.4s;
}
.calendar-more-button a:hover {
  color: #fff;
  background-color: var(--wydzialowy-ciemny);
}

/* Calendar */

#calendar-container {
  background-color: var(--glowny-kolor-kalendarz);
  padding: 0;
}

#calendar-container .fc-scroller {
  overflow: visible !important;
}

.fc-daygrid-day-top {
  align-items: center;
  justify-content: center;
}

.fc-theme-standard td,
.fc-theme-standard th {
  border: none;
}

/* .fc-scrollgrid thead {
  border-top: none;
  border-bottom: 1px solid var(--glowny-kolor-ciemny);
} */

.fc-day-today .fc-daygrid-day-frame {
  background-color: var(--glowny-kolor-ciemny) !important;
  color: white !important;
  cursor: pointer;
}

.fc-day-today a {
  color: white !important;
}

.fc-daygrid-day-events {
  display: none;
}

#calendar-container .fc-next-button,
#calendar-container .fc-prev-button {
  background-color: transparent !important;
  color: black;
  border: none;
}

.fc-toolbar-title {
  border-left: none;
  text-transform: uppercase;
}

.fc-col-header-cell {
  text-transform: uppercase;
  font-weight: 300;
}

/* .fc-scrollgrid-sync-table {
  margin-bottom: none !important;
} */

.bs_calendar_day_with_events {
  background-color: var(--glowny-kolor-ciemny) !important;
  color: white !important;
}

.fc-theme-standard .fc-scrollgrid {
  border: none;
}

.fc-scrollgrid table {
  border-bottom: 1px solid var(--wydzialowy-ciemny);
  margin: 0 0 0.5em;
}

.fc-daygrid-body .fc-scrollgrid table {
  border-bottom: none;
  margin: 0 0 0.5em;
}

.fc-toolbar-chunk .fc-toolbar-title {
  border-left: none;
}

.bs__day-with-events .fc-daygrid-day-frame {
  background-color: var(--glowny-kolor-ciemny) !important;
  margin: 2px;
}
.fc .fc-daygrid-day.fc-day-today {
  background-color: transparent;
}
.bs__day-with-events:hover a {
  cursor: pointer;
  color: white;
}

.bs__day-with-events a {
  color: white;
}

.fc-day-today .fc-daygrid-day-frame {
  outline: 1px solid white !important;
  outline-offset: -5px;
  margin: 5%;
}

/* Modal Event Display */

.bs__modal-events-display {
  width: 100vw;
  height: 100vh;
  background-color: rgba(42, 42, 42, 0.89);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow-y: auto;
}

.bs__modal-events-display--hidden {
  display: none;
}

.bs__modal-events-display__content {
  width: 46vw;
  height: 71vh;
  background-color: white;
  overflow: hidden;
  max-width: 700px;
  border-radius: 15px;
}
@media (max-width: 768px) {
  .bs__modal-events-display__content {
    width: 85%;
  }
  .bs__modal__post__bottom .bs__modal__post__bottom__button {
    font-size: 17px;
  }
  .row.calendar-front.pion .calendar-more-button a {
    font-size: 1.5rem;
  }
}

.bs__modal-events-display__content__header {
  height: 110px;
  -webkit-box-shadow: 0px 5px 18px rgba(104, 104, 104, 0.19);
  box-shadow: 0px 5px 18px rgba(104, 104, 104, 0.19);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 2%;
}

.bs__modal-events-display__content__header__text-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.bs__modal-events-display__content__header__text-wrapper__title {
  font-size: 0.8vw;
  font-weight: 500;
  margin-left: 1vw;
}

.bs__modal-events-display__content__header__text-wrapper__date {
  font-size: 1.2vw;
  font-weight: bold;
  margin-top: 0.5vw;
  margin-left: 1vw;
}

.bs__modal-events-display__content__header__button {
  font-size: 16px;
  background-color: transparent !important;
  color: black;
}

.bs__modal-events-display__content__header__button:hover {
  color: black;
  text-decoration: underline;
}

.bs__modal-events-display__content__header__button__close {
  pointer-events: none;
  padding: 5px;
  margin-left: 12px;
  background-image: url("../img/close.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.bs__modal-events-display__content__main {
  height: 100%;
  overflow-y: scroll;
  padding-bottom: 200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--wydzialowy-jasny);
}

/* Event post */

.bs__modal__post {
  width: 90%;
  padding: 2% 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.bs__modal__post_header {
  align-self: flex-start;
  padding: 5px 15px;
}

ul.bs__modal__post {
  list-style: circle;
}

ul.bs__modal__post .bs__modal__post__timeItem {
  font-weight: bold;
}

.bs__modal__post__top {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

.bs__modal__post__top__img {
  width: 15%;
  max-width: 30%;
  height: auto;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 2%;
}

.bs__modal__post__top__img--default {
  background-size: contain !important;
}

.bs__modal__post__top__time-details {
  width: 70%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-left: 35px;
}

.bs__modal__post__top__time-details__container {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.bs__modal__post__span--header {
  font-weight: 700;
}
.bs__modal__post__span--value {
  font-weight: 500;
  padding-left: 5px;
}

.bs__modal__post__span--branch {
  text-transform: capitalize;
}

.bs__modal__post__middle {
  width: 100%;
}

.bs__modal__post__middle__title {
  font-weight: 700;
  font-size: 1vw;
  padding: 2% 0;
  margin-bottom: 0;
}

.bs__modal__post__middle__desc {
  font-weight: 500;
  font-size: 0.7vw;
  margin-bottom: 0;
  padding: 0;
  color: #000;
}

.bs__modal__post__bottom {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 1vw;
}

.bs__modal__post__bottom__link {
  font-weight: 700;
  font-size: 16px;
  /* padding-left: 0; */
  /* padding-bottom: 4px; */
  /* border-bottom: 2px solid transparent; */
  /* background-color: #0274be; */
  border: 2px solid var(--wydzialowy-ciemny);
  border-radius: 30px;
  padding: 5px 16px;
}
a.bs__modal__post__bottom__link {
  color: var(--wydzialowy-ciemny);
}

.bs__modal__post__bottom__link:hover {
  background-color: var(--wydzialowy-ciemny);
  color: #fff;
}

.bs__modal__post__bottom__button {
  font-weight: 700;
  font-size: 20px;
  padding: 4px 30px;
  border: 2px solid var(--glowny-kolor-ciemny);
  border-radius: 9999px;
}

.bs__modal__post__bottom__button:hover {
  background-color: var(--glowny-kolor-ciemny);
  color: white;
}

#bst_metabox_bona-calendar-mb-booking-schedule label.col-3.col-form-label {
  width: auto;
}
input#timeschedule {
  width: auto;
}
input#checkbox-schedule- {
  margin-top: 10px;
}
.bs-box-booking-scheulde-start {
  display: flex;
}

.wcag_set_contrast_background_1 h3.fc-toolbar-title,
.wcag_set_contrast_background_2 h3.fc-toolbar-title,
.wcag_set_contrast_background_1 a.fc-col-header-cell-cushion,
.wcag_set_contrast_background_2 a.fc-col-header-cell-cushion,
.wcag_set_contrast_background_1 a.fc-daygrid-day-number,
.wcag_set_contrast_background_2 a.fc-daygrid-day-number {
  color: white !important;
}

#bst_metabox_bona-calendar-mb-booking-schedule h5 {
  margin-bottom: 0;
}

.bs-box-booking-scheulde {
  margin-bottom: 2rem;
}

@media only screen and (max-width: 1700px) {
  .fc-view-harness.fc-view-harness-active {
    height: 20vw !important;
 	}
  .bs__modal__post__middle__desc {
  font-size: 1.2vw;
	}
	.bs__modal__post__middle__title {
  	font-size:2vw;
  }
}

@media only screen and (max-width: 1400px) {
  .fc-view-harness.fc-view-harness-active {
    height: 25vw !important;
  }
}

@media only screen and (max-width: 1500px) {
  .row.calendar-front.pion .bs-single-event a {
    grid-template-columns: 150px auto;
  }

  .row.calendar-front.pion .bs-single-event a .calendar-event-image {
    width: 150px;
    height: 100px;
  }

  .row.calendar-front.pion .bs-single-event a .calendar-event-image img {
    width: 150px;
    height: 100px;
  }
}

@media only screen and (max-width: 768px) {
  .fc .fc-daygrid-day-number {
    position: relative;
    z-index: 4;
    padding: 4px 6px;
    cursor: pointer;
  }

  .fc-scrollgrid-sync-table {
    width: 85vw !important;
  }

  .fc td,
  .fc th {
    width: 12vw;
    height: 6vw;
  }

  .fc .fc-scrollgrid-section,
  .fc .fc-scrollgrid-section table,
  .fc .fc-scrollgrid-section > td {
    width: 85vw;
    height: fit-content;
  }

  .fc-view-harness.fc-view-harness-active {
    height: 50vw !important;
  }

  #calendar-container .fc-col-header-cell-cushion {
    font-size: 2vw;
  }
  .bs__modal__post__middle__title {
  	font-size:4vw;
  }
  .bs__modal__post__middle__desc {
  font-size: 3vw;
	}
}

@media only screen and (min-width: 550px) and (max-width: 768px) {
  .fc-daygrid-day-number {
    font-size: 2.2vw !important;
  }
}

@media only screen and (max-width: 500px) {
  .fc-view-harness.fc-view-harness-active {
    height: 60vw !important;
  }
}

.fc-scrollgrid-sync-table {
  height: 270px;
}

.fc-view-harness.fc-view-harness-active {
  min-height: 320px;
}

@media only screen and (min-width: 1200px) {
  .fc-view-harness.fc-view-harness-active {
    height: 23vw !important;
  }

  .fc-scrollgrid-sync-table {
    height: 20vw !important;
  }
}

.fc-day-today.bs__day-with-events .fc-daygrid-day-frame {
  background-color: var(--wydzialowy-ciemny) !important;
}

.fc-day-today.bs__day-with-events .fc-daygrid-day-frame a {
  border-bottom: solid 3px white !important;
}

/* Tablet */
@media only screen and (max-width: 1024px) {
  .row.calendar-front.pion .bs-single-event a {
    display: block !important;
    background-color: var(--wydzialowy-jasny);
    padding: 16px;
  }

  .fc-daygrid-day-number {
    font-size: 1.7vw !important;
  }

  .row.calendar-front.pion .bs-single-event a .calendar-event-image {
    display: none;
  }

  .row.calendar-front.pion a .calendar-event-content .calendar-event-exerpt {
    display: none;
  }

  .calendar-event-exerpt p {
  	color: #000!important;
  }

  .row.calendar-front.pion .calendar-event-date p {
    color: var(--wydzialowy-ciemny);
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 19px;
    font-family: "Open sans", Sans-serif;
  }

  .row.calendar-front.pion .calendar-event-title h3 {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #2b2a29;
    font-family: "Roboto", Sans-serif;
  }

  #calendar-container .fc-toolbar-title {
    font-style: normal;
    font-weight: 700;
    font-size: 3vw;
    line-height: 19px;
  }

  .calendar-more-button a {
    font-size: 2vw;
  }
}
