
/* main content*/
.top-bar,
.main-content {
  background-color: #eee;
  color: #444;
}

.top-bar {
  padding: 10px 0;
  color: #555;
  font-size: 12px;
}
.top-bar ul,
.top-bar form {
  margin: 0;
}

blockquote {
  padding: 10px 20px;
  margin: 0 0 20px;
  font-size: 17.5px;
  border-left: 5px solid #eee
}

blockquote ol:last-child,
blockquote p:last-child,
blockquote ul:last-child {
  margin-bottom: 0
}

blockquote .small,
blockquote footer,
blockquote small {
  display: block;
  font-size: 80%;
  line-height: 1.42857143;
  color: #777;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

blockquote:before {
  line-height: 30px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

blockquote .small:before,
blockquote footer:before,
blockquote small:before {
  content: '\2014 \00A0';
}

.blockquote-reverse,
blockquote.pull-right {
  padding-right: 15px;
  padding-left: 0;
  text-align: right;
  border-right: 5px solid #eee;
  border-left: 0
}

.blockquote-reverse .small:before,
.blockquote-reverse footer:before,
.blockquote-reverse small:before,
blockquote.pull-right .small:before,
blockquote.pull-right footer:before,
blockquote.pull-right small:before {
  content: ''
}

.blockquote-reverse .small:after,
.blockquote-reverse footer:after,
.blockquote-reverse small:after,
blockquote.pull-right .small:after,
blockquote.pull-right footer:after,
blockquote.pull-right small:after {
  content: '\00A0 \2014'
}

q:before,
blockquote:before {
  position: absolute;
  font-size: 200px;
  color: rgba(0, 0, 0, .1);
  content: "\201C";
  top: 56px;
  left: -60px;
}

.main-content {
  padding-bottom: 2rem;
}
@media (min-width: 1024px) {
  .main-content {
    padding-bottom: 100px;
  }
}

.main-content p {
  margin: 1em 0;
}
.main-content p > img {
  max-width: 100%;
  height: auto;
}

.main-content blockquote {
  position: relative;
  margin: 1em 0;
  padding: 5px 0 5px 25px;
  border-left: 0px solid #333;
  font-style: italic;
  color: #777;
}

.item-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style-type: none;
  border-top: 1px solid #333;
}
.item-list li {
  line-height: 20px;
  flex-grow: 1;
  flex-basis: 20%;
}
.item-list a {
  display: flex;
  align-items: center;
  padding: 15px;
  gap: 15px;
  border-bottom: 1px solid #333;
  background-color: #fff;
  color: #333;
  overflow: hidden;
}
.item-list a strong {
  display: block;
  margin-bottom: 10px;
  max-height: 40px;
  overflow: hidden;
}
.item-list a small {
  display: block;
  color: #777;
  font-size: 80%;
  line-height: 15px;
}
.item-list a:hover {
  background-color: #08c;
  color: #fff;
  text-decoration: none;
}
.item-list a:hover strong {
  color: #fc0;
}
.item-list a:hover img {
  opacity: 0.5;
  filter: opacity(50);
}
.item-list a:hover small {
  color: #fff;
}
.item-list .event-date {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  aspect-ratio: 1;
  color: #fff;
  font-size: 13px;
  line-height: 15px;
  border-radius: 100px;
  box-shadow: 0 0 0 3px #fff;
}
.item-list .event-date b {
  display: block;
  font-size: 40px;
  line-height: 35px;
}
.unit-item {
  border-style: solid;
  border-width: 0;
  border-bottom-width: 10px;
}

.banner-roll {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
}

.banner-roll .banner {
  text-align: center;
}
.banner-roll .banner .img-fluid {
  max-height: 250px;
  box-shadow: 0 8px 10px -2px rgba(0,0,0,.1);
  border-radius: 12px;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}
.home-grid .grid-item {
  display: inline-grid;
  gap: 30px;
  grid-template-rows: 2.5rem auto 3rem;
}
.home-grid .grid-item-1 {
}

.home-grid .grid-item-2 {
}

.home-grid .grid-item-3 {
  grid-template-rows: auto;
}

@media (min-width:767px){
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-item-3 {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}
@media (min-width:1200px) {
  .home-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-grid .grid-item-3 {
    grid-template-rows: 2.5rem auto 3rem;
    grid-column-start: 3;
    grid-column-end: 4;
  }
  .banner-roll {
    grid-row-start: 2;
    grid-row-end: 4;
  }
}

#consent-banner-settings,
.consent-banner-modal-wrapper {
  color: #333;
}
#consent-banner-main h2 {
  font-size: 28px !important;
}
#map-canvas {
  height:400px;
  line-height:20px;
}
#map-canvas img {
  max-width:none;
}
#ullist_a_all {
  display: none !important;
}

.ullist a {
  display: block;
}

.ullist a>span {
  color: inherit;
}

.ullist .active {
  background-color: #ccc;
}

.map-infowindow {
  padding-right: 2em;
  white-space: nowrap;
}

.map-infowindow ul {
  margin: 0 0 0 20px;
}


/* new masonry */
.masonry {
  display: grid;
  flex-wrap: wrap;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .masonry {
    grid-template-columns: 1fr 1fr;
  }
  .masonry-item:last-child {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}
@media (min-width: 1024px) {
  .masonry {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.masonry-item {
	position: relative;
	max-width: 100%;
	width: auto;
	filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, .3));
	transition: filter .25s ease-in-out;
  border-radius: 8px;
  overflow: clip;
}
.masonry-item.item-portrait {
  grid-row: span 2;
}
.masonry-item.item-large {
	grid-column-start: 1;
	grid-column-end: 4;
}
.masonry-item .masonry-content {
	display: block;
	width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease-in-out;
}
.masonry-item .unit-logo {
  max-height: 30%;
}
.masonry-item .curtain {
  position: absolute;
  inset: 0;

  color: #fff;
  opacity: 0;
  z-index: 1;
  pointer-events: none;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font: italic bold 28px/34px Georgia, serif;
  transition: opacity .25s ease-in-out;
}
.masonry-item .curtain span {
	word-break: break-word;
	text-wrap: balance;
	max-width: 56%;
	text-align: center;
}
.masonry-item:hover .masonry-content {
  transform: scale(1.05);
}
.masonry-item:hover .curtain {
  opacity: 0.9;
  pointer-events: auto;
}

.unit-slider {
  margin-top: -110px;
}

.unit-slider-caption {
  left: 23.0769%;
  right: 0;
  bottom: 0;
  padding: 1em;
  background-color: rgba(0, 0, 0, .75);
  text-align: right;
  font-size: 21px;
  color: #ddd;
}

.unit-slider-caption strong {
  padding: 0;
  font-size: 38px;
  color: #fff;
  font-family: 'Amaranth', sans-serif;
}

.unit-slider .unit-title {
  margin: 0;
  padding: 20px;
  color: #fff;
  color: rgba(255, 255, 255, .75);
  font-size: 350%;
  line-height: 1;
  z-index: 10;
}
/* .unit-slider .flex-control-paging {position:absolute; top:0; right:0; padding:20px; width:auto; line-height:72px; z-index:10;} */

.unit-slider-indicators {
  position: static;
  display: flex;
  gap: 1.5rem;
  padding: 10px 0;
  margin: 0;
  justify-content: center;
}
@media (min-width: 768px) {
  .unit-slider-indicators {
    position: absolute;
    top: -55px;
    bottom: auto;
    left: auto;
    right: 2rem;
  }
}
.unit-slider-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  display: inline-block;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  text-indent: -9999px;
  border-radius: 20px;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
  border: none;
  outline: 2px solid white;
}
.unit-slider-indicators [data-bs-target].active {
  background-color: rgba(0,0,0,0.5);
}
.staff-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-post {
  border-top-style: solid;
  border-top-width: 10px;
}

.blog-post .post-body > p:first-of-type {
  font-size: 25px;
  line-height: 35px;
  font-weight: bold;
}

.comment-avatar {
  display: block;
  margin: 20px auto;
  padding: 1px;
  width: 110px;
  aspect-ratio: 1;
  max-width: 100%;
  border-style: solid;
  border-width: 4px;
  background-color: #fff;
  border-radius: 100px;
}

.post-meta {
  margin-bottom: 50px;
  border-top: 3px solid #888;
  background-color: #ddd;
}

.post-meta .meta-content {
  padding: 20px 0 20px;
  line-height: 25px;
}

.post-meta .meta-content .author-name {
  margin: 0;
  font-size: 28px;
  line-height: 30px;
}
.post-navigation {
  padding: 20px;
}

.post-navigation a {
  display: block;
  font-weight: bold;
}

.post-navigation a small {
  display: block;
  color: #666;
  font-size: 80%;
  font-weight: normal;
  font-variant: small-caps;
  white-space: nowrap;
}

.post-navigation .previous {
  float: left;
}

.post-navigation .next {
  float: right;
  text-align: right;
}
ol.comments {
  list-style: none;
  padding: 0;
}
.event-detail {
  border-top-width: 10px;
  border-top-style: solid;
  padding: 40px;
  min-width: 550px;
  color: #333;
}

.gallery-grid-layout {
  display: grid;
  grid-gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: minmax(100px, 200px);
  grid-auto-flow: dense;
}
/* album index: masonry with CSS columns, each album keeps its own height
   (order runs top to bottom, column by column) */
.gallery-grid-layout.gallery-index {
  display: block;
  columns: 250px;
  column-gap: 16px;
}
.gallery-index .gallery-grid-item {
  break-inside: avoid;
  margin-bottom: 16px;
}

.gallery-grid-item {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  box-shadow: 0 3px 6px -1px rgba(0,0,0,.5);
  border-radius: 4px;
  overflow: clip;
}
@media screen and (max-width: 1024px) {
  .gallery-grid-item:nth-child(2n+1):last-child {
    grid-column-end: span 2;
  }
}

.gallery-grid-item figure {
  flex-grow: 1;
  max-height: 100%;
  position: relative;
  margin: 0;
  /* padding: 1rem; */
  font-size: 14px;
  font-weight: bold;
  /* text-transform: uppercase; */
  color: #000;
  background-color: #ccc;
}
.gallery-grid-item a {
  display: block;
  height: 100%;
}
.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform .5s ease-in-out;
}
.gallery-index .gallery-grid-item a,
.gallery-index .gallery-grid-item img {
  height: auto;
}
.gallery-grid-item figure {
  display: block;
  margin: 0;
}
.gallery-grid-item figcaption {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .3);
  color: #fff;
  font-size: 50px;
  line-height: 50px;
  text-align: center;
  opacity: 0;
  z-index: 1;
  border-radius: 4px;
  transition: opacity .25s ease-in-out;
}
.gallery-grid-item figcaption > i[class^="icon-"] {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -30px;
  text-shadow: 2px 2px 1px #000;
}
.gallery-grid-item a:hover figcaption {
  opacity: 1;
}
/* .gallery-grid-item a:hover img {
  transform: scale(1.15);
} */

.gallery-item-portrait {
  grid-row-end: span 2;
}

@media only screen and (min-width: 1024px) {
  .gallery-item-landscape {
    grid-column-end: span 2;
  }
}

.hiddencontainer {
  position: absolute;
  left: -5000px;
}
.disclaimer {
  padding: 20px 20px 0;
  width: 450px;
  background-color: #fff;
  color: #333;
  font-size: 14px;
}

.pagination ul {
  display: flex;
  padding: 0;
  overflow: clip;
  max-width: 100%;
}

.pagination ul>li {
  display: inline;
}

.pagination ul>li>a,
.pagination ul>li>span {
  float: left;
  margin-left: 1px;
  padding: 2px 15px;
  text-decoration: none;
  border: 0;
  line-height: 40px;
}

.pagination ul>li>a:hover,
.pagination ul>li>a:focus {
  background-color: #08c;
  color: #fff;
}

.pagination ul>.active>a,
.pagination ul>.active>span {
  background: #ddd;
  color: #333;
  cursor: default;
}

.pagination ul>.disabled>span,
.pagination ul>.disabled>a,
.pagination ul>.disabled>a:hover,
.pagination ul>.disabled>a:focus {
  color: #999999;
  background-color: transparent;
  cursor: default;
}

.pagination-large ul>li>a,
.pagination-large ul>li>span {
  padding: 11px 19px;
  font-size: 17.5px;
}

.pagination-small ul>li>a,
.pagination-small ul>li>span {
  padding: 2px 10px;
  font-size: 11.9px;
}

.pagination-mini ul>li>a,
.pagination-mini ul>li>span {
  padding: 0 6px;
  font-size: 10.5px;
}


.item-desc {
  position: relative;
  padding: 30px;
  border-top-style: solid;
  border-top-width: 3px;
  /* border-top: 3px solid #555; */
  background: #ddd;
  text-align: center;
}

.item-desc h3 {
  margin: 0 0 10px;
  padding: 0 0 7px;
  border-bottom: 3px solid #444;
  font-size: 18px;
  line-height: 1;
}

.item-desc em {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: #666;
}

.post-date {
  position: absolute;
  right: 0;
  top: -50px;
  display: flex;
  gap: 5px;
  padding: 0 10px;
  color: #fff;
  z-index: 1;
}
.post-date .date {
  font-size: 36px;
  letter-spacing: -1.5px;
  line-height: 50px;
}
.post-date .date-text {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  line-height: 15px;
  font-weight: 200;
  text-transform: uppercase;
}

.blog-post {
  border-top-style: solid;
  border-top-width: 10px;
}

.blog-post .post-body {
  margin-bottom: 50px;
  /*padding-bottom:7px; border-bottom:3px solid #888;*/
}

.blog-post .post-body>p:first-of-type {
  font-size: 25px;
  line-height: 35px;
  font-weight: bold;
}


.blog-post dl {
  margin: 1em 0;
  line-height: 30px;
}

.blog-post dl>dt {
  margin: 0;
  font-weight: bold;
  line-height: 30px;
}

.blog-post dl>dd {
  margin: 0 0 .5em;
  line-height: 30px;
}


.post-meta {
  margin-bottom: 50px;
  border-top: 3px solid #888;
  background-color: #ddd;
}

/*.post-meta .comment-avatar {display:block; margin:20px auto;}*/
.post-meta .meta-content {
  padding: 20px 0 20px;
  line-height: 25px;
}

.post-meta .meta-content .author-name {
  margin: 0;
  font-size: 28px;
  line-height: 30px;
}

.news-wrap {
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  padding-bottom: 39px;
  border-bottom: 1px solid #ccc;
  background-color: #eee;
  gap: 20px;
}
@media (min-width: 768px) {
  .news-wrap {
    flex-direction: row;
    gap: 50px;
  }
}
.news-wrap .news-image {
  flex-grow: 1;
  max-height: 100%;
  position: relative;
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: #000;
  background-color: #ccc;
  flex-basis: 40%;
  border-right-style: solid;
  border-right-width: 10px;
}
.news-wrap .news-image a {
  display: block;
  height: 100%;
}
.news-wrap .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px 0 0 4px;
  transition: transform .5s ease-in-out;
}
.news-wrap .news-content-wrap {
  flex-basis: 60%;
}
.news-content a {
  display: inline-block;
  text-transform: uppercase;
  font-weight: bold;
}
.news-wrap .post-date {
  right: 0;
  top: 0;
  gap: 0;
  padding: 10px;
  width: 70px;
  flex-direction: column;
  align-items: center;
}
.news-date {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 0.5rem;
  padding: 0 10px 10px;
}
.news-date .news-day {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 3.6em;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 3px rgba(0, 0, 0, .3);
  flex-basis: 100%;
}
.news-date .news-month {
  color: #fff;
  text-transform: uppercase;
}
.comment-section {
  margin: 90px 0 30px;
  padding: 10px 0 7px;
  border-bottom: 3px solid #333;
}

.comment-section .standout {
  padding: 9px 20px;
  background-color: #333;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.4);
}
.zoomable {
  position: relative;
  overflow: clip;
}
.zoomable img {
  transition: transform .5s ease-in-out;
}
.zoomable .curtain {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .3);
  color: #fff;
  font-size: 50px;
  line-height: 50px;
  text-align: center;
  opacity: 0;
  z-index: 1;
  border-radius: 4px;
  transition: opacity .25s ease-in-out;
}
.zoomable .curtain > i[class^="icon-"] {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -30px;
  text-shadow: 2px 2px 1px #000;
}
.zoomable:hover .curtain {
  opacity: 1;
}
.zoomable:hover img {
  transform: scale(1.15);
}
.tags {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}
@media (max-width: 768px) {
  .fc-header, .fc-header tbody {
    display: block;
  }
  .fc-header tbody tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .fc-header-center {
    height: 0;
  }
  .fc-header-left,
  .fc-header-right {
    width: auto;
    height: auto;
    flex-grow: 1;
    flex-shrink: 1;
    text-align: start;
  }
}

/* external content waiting for consent (public/lib/consent.functions.php) */
.consent-embed:not(.consent-granted) > :not(.consent-placeholder) {
  display: none;
}
.consent-embed.consent-granted > .consent-placeholder {
  display: none;
}
.consent-placeholder {
  max-width: 600px;
  margin: 1em 0;
  padding: 1em 1.25em;
  border: 1px dashed #bbb;
  border-radius: 4px;
  background: #f7f7f7;
  font-size: 0.9em;
  color: #555;
  text-align: center;
}
.consent-placeholder p:last-child {
  margin-bottom: 0;
}
.consent-placeholder .btn.btn-primary {
  background-color: #08c;
  color: #fff;
}
