.sp-calendar-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.sp-calendar-form {
  margin-bottom: 2rem;
}

.sp-calendar-form [type="text"] {
  flex-grow: 1;
}

.sp-calendar-form [type="submit"] {
  background-color: var(--env-element-primary-background-color);
  border: 1px solid;
  border-color: var(--env-element-background-color);
  border-radius: calc(var(--env-button-border-radius) * 1);
  padding: 0.688rem 1.3125em;
  line-height: 1rem;
  color: #fff !important;
}

.sp-calendar-form [type="submit"]:hover {
  cursor: pointer;
  background-color: var(--env-element-secondary-background-color);
  text-decoration: underline;
}

.sp-calendar .sv-search-facets {
  float: initial !important;
}

.sp-calendar .sv-search-facet-name {
  display: block;
  text-align: center;
  font-weight: 600;
}

.sp-calendar .sv-search-facets ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.sp-calendar .sv-search-facets ul li {
  background-color: #ddd;
  border: 1px solid;
  border-color: #ddd;
  border-radius: calc(var(--env-button-border-radius) * 1);
  padding: 0.688rem 1.3125em;
  line-height: 1rem;
  position: relative;
}

.sp-calendar .sv-search-facets ul li:not([tabindex="0"]) {
  border: 1px solid;
  border-radius: calc(var(--env-button-border-radius) * 1);
  border-color: var(--env-element-background-color);
  background-color: var(--env-element-primary-background-color);
  color: #fff;
}

.sp-calendar .sv-search-facets ul li:hover:not([tabindex="0"]) {
  background-color: var(--env-element-secondary-background-color);
}

.sp-calendar .sv-search-facets ul li:not([tabindex="0"]) a {
  color: #fff !important;
  padding-left: 1rem;
}
.sp-calendar .sv-search-facets ul li a {
  text-decoration: none !important;
}

.sp-calendar .sv-search-facets ul li a:hover {
  text-decoration: underline !important;
}

.sp-calendar .sv-search-facets a:before {
  border: 0.063rem solid var(--sp-color-black);
  border-radius: 0.25rem;
  content: "";
  display: inline-block;
  height: 1.3rem;
  left: 0.5rem !important;
  position: absolute;
  top: 0.52rem !important;
  width: 1.3rem;
  background: #fff;
}
.sp-calendar .sv-search-facet-item-selected a:before {
  background: #fff;
  border-color: green;
  border-radius: 0.25rem;
  color: #fff;
  content: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 15 15' fill='none'%3E%3Cpath d='M13.7871 3.08813C14.1533 3.45435 14.1533 4.04907 13.7871 4.41528L6.28711 11.9153C5.9209 12.2815 5.32617 12.2815 4.95996 11.9153L1.20996 8.16528C0.84375 7.79907 0.84375 7.20435 1.20996 6.83814C1.57617 6.47192 2.1709 6.47192 2.53711 6.83814L5.625 9.9231L12.4629 3.08813C12.8291 2.72192 13.4238 2.72192 13.79 3.08813H13.7871Z' fill='%23004c38'/%3E%3C/svg%3E");
}

.sp-calendar .sv-search-facet {
  margin-bottom: 2rem !important;
}

.sp-calendar .sv-channel-item img {
  width: 100%;
}

.sp-calendar .sp-calendar-event-dates {
  display: block;
}

.sp-calendar .sp-calendar-text-box {
  overflow: visible;
  display: block;
  padding: 2rem;
}

.sp-calendar-week-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.sp-calendar-week-bar .active {
  background: var(--env-element-background-color);
  color: #000;
}

.sp-calendar-week-bar > div:not(.active) {
  border: solid 1px #ccc;
  background-color: #fff;
}

.sp-calendar-week-bar > div {
  padding: 0.5rem 0.8rem;
  text-decoration: none !important;
}

.sp-calendar-info h2 {
  display: block;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
}

.sp-calendar-info-period,
.sp-calendar-info-day {
  padding: 0.5rem 1rem;
}

.sp-calendar-info-period > span:first-child,
.sp-calendar-info-day > span:first-child {
  font-weight: bolder;
  min-width: 6rem;
  display: inline-block;
}

@media (max-width: 768px) {
  .sp-calendar-info-period > span:first-child,
  .sp-calendar-info-day > span:first-child {
    min-width: 5rem !important;
  }
}

.sp-calendar-info-period {
  border-bottom: solid 1px #000;
  margin-bottom: 1rem;
}

.sp-calendar-info-day {
  display: flex;
}

.sp-calendar .sv-channel a:hover {
  text-decoration: underline !important;
}

.sp-calendar .sv-channel-item .sp-full-click-area-link {
  background-color: #f7f7f7;
}

.sp-gislaved-50-menu-btn .env-button:hover {
  background-color: transparent !important;
}

.sp-gislaved-50-menu.sv-marketplace-sitevision-mobile-menu .env-icon {
  width: 18px !important;
  height: 18px !important;
}

.sp-gislaved-50-menu.sv-marketplace-sitevision-mobile-menu .env-button--large.env-button--icon .env-icon {
  width: 1.1em !important;
  height: 1.1em !important;
}

.sp-gislaved-50-menu .env-list__item .env-button--link {
  margin-top: 8px !important;
}

.sp-gislaved-50-menu .env-button--link {
  min-height: 2.5rem;
}

.sp-calendar-image-wrapper {
  position: relative;
}

.sp-calendar-week-bar {
  position: absolute;
  bottom: 2rem;
  left: 1rem;
  right: 1rem;
}

.sp-calendar-search {
  display: flex;
  gap: 1rem;
  max-width: 700px;
  width: 100%;
}

.project-patch {
  display: inline-block;
  background: var(--env-element-primary-background-color);
  color: #fff !important;
  padding: 0.5rem;
  line-height: 1;
  border-radius: 0.25rem;
  font-weight: bold;
  margin: 1rem 0;
}

.sv-facetedsearch-portlet .sv-channel {
  display: flex;
  padding-left: 0;
  margin-left: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.5rem;
}

.sv-facetedsearch-portlet .sv-channel-item {
  flex: 0 0 calc(100% * (1 / 3) - 1.2rem);
  background-color: #fff;
  margin-bottom: 0;
}

@media (max-width: 1150px) {
  .sv-facetedsearch-portlet .sv-channel-item {
    flex: 0 0 calc(100% * (1 / 2) - 1.2rem);
  }
}

@media (max-width: 600px) {
  .sv-facetedsearch-portlet .sv-channel-item {
    flex: 0 0 100%;
  }
}

.sp-full-click-area-link {
  position: relative;
}

.sp-full-click-area-link a:before {
  content: "";
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  position: absolute;
}
