
:root {
  --glowny-kolor-ciemny: #0a4493;
}

/* Frontend style for custom block */
.bs-project {
  width: 100%;
  height: fit-content;
}

.bs-project__titlebar {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.site-content .bs-project__titlebar__title {
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  font-weight: 900;
}

.bs-project__titlebar__select-wrapper {
  position: relative;
  font-family: "Signika Negative", sans-serif;
  letter-spacing: 0px;
  color: #070707;
  opacity: 1;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
}

.bs-project__titlebar____select-wrapper__preview {
  display: flex;
  font-weight: 700;
  font-size: 1.2vw;
}
.bs-project__titlebar__select-wrapper__preview img {
  height: 18px;
  margin-left: 10px;
  margin-bottom: 3px;
}

.bs-project__titlebar____select-wrapper__preview__icon {
  width: 45px;
  height: 45px;
}

.bs-project__titlebar__select {
  position: absolute;
  right: 0;
  top: -15px;
  opacity: 0;
  cursor: pointer;
}

.bs-project__posts-container {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  flex-wrap: nowrap;
}

/* Section */

.bs-project__posts-container__section {
  display: flex;
  box-sizing: border-box !important;
  row-gap: 1%;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  justify-content: flex-start;
  flex-shrink: 0;
  transition: transform 5s ease 0s !important;
  padding-bottom: 3%;
  align-content: flex-start;
  align-items: center;
}

/* Post */
.bs_project_gallery__img {
  width: 17vw !important;
  margin-right: 10px;
}

.bs-project__posts-container__section__post--item {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: pre-line;
}

.bs-project__posts-container__section__post--5 {
  width: 19%;
}

.bs-project__posts-container__section__post {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  transition-duration: 0.4s;
  margin-right: 10px;
  background-color: #f1f7ff;
  color: #0c0c0c;
}

.bs-project__posts-container__section__post:hover {
  color: white;
  background-color: #004a9a;
}

p.bs-project__posts-container__section__post__date {
  font-family: Lato;
  text-align: left;
  padding: 5px 5px 5px 0;
  margin-bottom: 0;
  align-self: flex-start;
  margin-bottom: 0px !important;
}
.bs-project__posts-container__section__post__title {
  font-weight: 900;
}
.bs-project__posts-container__section__post__desc {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
  letter-spacing: 0px;
  opacity: 1;
  white-space: pre-wrap;
  margin-bottom: 0;
  text-align: left;
  align-self: flex-start;
}

/* Navigation */

.bs-project__nav {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 20px;
}

.bs-project__nav__read-more {
  color: black;
  padding: 5px 20px;
  text-decoration: none;
  border: 2px solid var(--glowny-kolor-ciemny);
  border-radius: 23px;
  opacity: 1;
  font-weight: 900;
}

.bs-project__nav__read-more:hover {
  color: white;
  background-color: var(--glowny-kolor-ciemny);
  transition-duration: 0.4s;
}

.bs-project__nav__pagination {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.bs-project__nav__pagination__button {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 16px;
  height: 16px;
  border: none;
}

.bs-project__nav__pagination__button-prev {
  background-image: url("https://uth.system-testowy.pl/wp-content/uploads/2021/11/Vector1.svg");
  width: 16px;
  height: 16px;
  background-color: transparent;
  background-position: left;
}
button.bs-project__nav__pagination__button.bs-project__nav__pagination__button-prev.wcag_set_contrast_background_1,
button.bs-project__nav__pagination__button.bs-project__nav__pagination__button-prev.wcag_set_contrast_background_2{
  background-image: url("https://uth.system-testowy.pl/wp-content/uploads/2022/04/Vector-white-prev-1.svg") !important;
  border: none !important;
}
button.bs-project__nav__pagination__button.bs-project__nav__pagination__button-next.wcag_set_contrast_background_1,
button.bs-project__nav__pagination__button.bs-project__nav__pagination__button-next.wcag_set_contrast_background_2{
  background-image: url("https://uth.system-testowy.pl/wp-content/uploads/2022/04/Vector-white-1.svg") !important;
  border: none !important;
}
.bs-project__nav__pagination__button-next {
  background-image: url("https://uth.system-testowy.pl/wp-content/uploads/2021/11/Vector-1.svg");
  width: 16px;
  height: 16px;
  background-color: transparent;
  background-position: right;
}

.bs-project__nav__pagination__button:hover,
.bs-project__nav__pagination__button-next:focus,
.bs-project__nav__pagination__button-prev:focus {
  background-color: transparent;
}

.bs-project__nav__pagination__radio-box {
  /* border-color: #6a4a42 !important; */
  display: flex;
  flex-direction: row;
  column-gap: 10px;
  align-items: center;
  height: 10px;
}

.bs-project__nav__pagination__radio-box__label {
  display: flex;
  flex-direction: row;
  margin: 0;
}

.bs-project__nav__pagination__radio-box__label:hover {
  cursor: pointer;
}

.bs-project__nav__pagination__radio-box__label__input {
  opacity: 0;
  width: 0;
  height: 0;
}

.bs-project__nav__pagination__radio-box__label__control {
  display: block;
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  border: 0.1em solid var(--glowny-kolor-ciemny);
}

.bs-project__nav__pagination__radio-box__label__control--checked {
  background-color: var(--glowny-kolor-ciemny);
}
/* LIGHT BOX */

.bs-light_box-container {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  z-index: 999;
}
.bs-light_box-container--hidden {
  display: none;
}

.bs-light_box-img_container {
  display: flex;
  width: 100%;
  height: fit-content;
  justify-content: center;
  align-self: center;
}
.bs-light_box-img {
  width: 20vw;
  height: 20vw;
}
.bs-project__lightbox_prev,
.bs-project__lightbox_next {
  align-self: center;
  filter: invert(1);
}

.bs-project-medium {
  display: none;
}
.bs-project-normal {
  display: block;
}
.bs-project-mini {
  display: none;
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
  .bs-project-medium {
    display: block;
  }
  .bs-project-normal {
    display: none;
  }
  .bs-project-mini {
    display: none;
  }
}
@media only screen and (max-width:  768px) and (min-width: 280px) {
  .bs-project-medium {
    display: none;
  }
  .bs-project-normal {
    display: none;
  }
  .bs-project-mini {
    display: block;
  }
  .bs_project_gallery__img {
    width: 46vw !important;
    height: 10vh;
}
.bs-project__posts-container__section{
  justify-content: center;
}
}
