.main{
	background: #24292F;
}
#navigation{
	color: #ccc;
}
.topic__heading{
	justify-content: center;
}
.topic__heading #pagetitle{
	color: #fff;
}

.grid-list--fill-bg > .grid-list__item > div.gallery__item{
	background: none;
	min-height: 370px;
}
.gallery__item-image-wrapper{
	display: block;
	height: 300px;
	width: 100%;
}
.gallery__item-image-wrapper img{
	 width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 20px;
}
.gallery__item-text{
	display: block;
	text-align: center;
	color: #fff;
	font-weight: 500;
}
.gallery__item-text-cnt{
	display: block;
	text-align: center;
	color: #fff;
	opacity: 50%;
}

@media all and (min-width: 800px) {
  /*.fancybox-thumbs {
    top: auto;
    width: auto;
    bottom: 0;
    left: 0;
    right : 0;
    height: 95px;
    padding: 10px 10px 5px 10px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
  }
  
  .fancybox-show-thumbs .fancybox-inner {
    right: 0;
    bottom: 95px;
  }*/
}

div.fancybox-thumbs{
	height: 100px;
	top: auto;
	bottom: 0;
	width: 100%;
	
}
div.fancybox-show-thumbs .fancybox-inner{
	right: 0;
	padding-bottom: 100px;
}
div.fancybox-thumbs__list a::before{
	border: 6px solid #5820f6;
}
.sections-block__item-link {
  --item-pl: 20px;
  --item-pr: 20px;
  --item-pt: 32px;
  --item-pb: 27px;

  padding: var(--item-pt) var(--item-pr) var(--item-pb) var(--item-pl);
  text-align: center;
  display: block;
}
.items-6 .sections-block__item-link {
  --item-pt: 36px;
  --item-pb: 31px;
}
.items-5 .sections-block__item-link {
  --item-pt: 40px;
  --item-pb: 35px;
}
.items-4 .sections-block__item-link {
  --item-pt: 44px;
  --item-pb: 39px;
}

.sections-block__item-image-wrapper {
  --section-image-width: 80px;
  --section-image-height: 80px;
  width: var(--section-image-width);
  height: var(--section-image-height);
  margin: auto auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sections-block__item-image {
  max-width: 100%;
  max-height: 100%;
}
.sections-block__item-image-wrapper--ICONS {
  --section-image-width: 40px;
  --section-image-height: 40px;
}
.sections-block__item-image-wrapper--ICONS svg {
  width: var(--section-image-width);
  height: var(--section-image-height);
}
.sections-block__item-text {
  display: block;
}
@media (min-width: 1200px) {
  .items-6 .sections-block__item-image-wrapper--PICTURES {
    --section-image-width: 104px;
    --section-image-height: 104px;
  }
  .items-5 .sections-block__item-image-wrapper--PICTURES,
  .items-4 .sections-block__item-image-wrapper--PICTURES {
    --section-image-width: 120px;
    --section-image-height: 120px;
  }
}
@media (max-width: 600px) {
  .normal .sections-block__item-image-wrapper {
    --section-image-width: auto;
    --section-image-height: auto;
  }
  .sections-block--mobile-compact.grid-list{
    grid-gap: 12px;
  }
  .sections-block--mobile-compact.mobile-scrolled{
    grid-gap: 0;
  }
  .sections-block--mobile-compact .sections-block__item-image-wrapper {
    --section-image-width: 32px;
    --section-image-height: 32px;
    margin: 0 18px 0 0;
  }
  .sections-block--mobile-compact .sections-block__item-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .sections-block--mobile-compact .sections-block__item-link{
    --item-pt: 16px;
    --item-pb: 16px;
  }
  .sections-block--mobile-compact .sections-block__item-text{
    font-size: 1rem;
  }
}

