/*
Theme Name: gom-suite
Author: escen GmbH
Author URI: https://www.escen.de
Description: Theme for GOM Suite Webviews
Requires at least: 5.7
Requires PHP: 7.2
Version: 0.36
Text Domain: gom-suite
*/

@font-face {
  font-family: "Hind";
  font-weight: 300;
  src: url("font/HindVadodara-Light.ttf");
}

@font-face {
  font-family: "Hind";
  font-weight: 400;
  src: url("font/HindVadodara-Regular.ttf");
}

@font-face {
  font-family: "Hind";
  font-weight: 500;
  src: url("font/HindVadodara-Medium.ttf");
}

@font-face {
  font-family: "Hind";
  font-weight: 600;
  src: url("font/HindVadodara-SemiBold.ttf");
}

@font-face {
  font-family: "Hind";
  font-weight: 700;
  src: url("font/HindVadodara-Bold.ttf");
}

html,
body {
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  font-family: "Hind", sans-serif;
  font-size: 12px;
  margin: 0;
  --gom-suite-readmore-link-height: 16px;
  --gom-suite-tile-text-padding: 16px;
  --gom-suite-tile-margin: 20px;
  --gom-suite-tile-padding: 10px;
  --gom-suite-tile-border-color: #e4ebf2;
  --gom-suite-tile-border-radius: 8px;
  --gom-suite-tile-box-shadow: 0 4px 16px rgba(25, 25, 25, 0.16);
  --gom-suite-tile-hover-box-shadow: 0 4px 16px rgba(25, 25, 25, 0.4);
  --gom-suite-tile-highlight-color: #0050f2;
  --gom-suite-tile-highlight-bg-color: #a6c9ff;
  --gom-suite-tile-highlight-link-color: #07090d;
  --gom-suite-blue: #0050f2;
  --gom-suite-bg-hover: #f5f7fa;
  --gom-suite-bg-popup: #f5f7fa;
  --gom-suite-light-blue: hsl(220, 60%, 85%);
  --gom-suite-white: #ffffff;
  --gom-suite-black: #07090d;
  --gom-suite-text: #616161;
  --gom-suite-headline: #32373e;
  color: var(--gom-suite-text);
  background-color: var(--gom-suite-bg-popup);
}

main#content {
  position: relative;
  min-height: calc(100vh - 12px);
  padding-top: 60px;
  padding-bottom: 12px;
  width: 100%;
  margin: 0 auto;
}

.pointer-events-none {
  pointer-events: none;
}

/* tiles general and narrow tiles */
.tiles {
  position: relative;
  margin: 0px auto;
  max-width: 314px;
  padding-top: 9px;
}

@media (min-width: 646px) {
  .tiles {
    max-width: 628px;
  }
}
@media (min-width: 960px) {
  .tiles {
    max-width: 942px;
  }
}
@media (min-width: 1274px) {
  .tiles {
    max-width: 1256px;
  }
}

.tile-wrap {
  padding: 9px;
  height: 332px;
  width: calc(100% - 18px);
}

.tile-inner {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--gom-suite-tile-border-radius);
  box-shadow: var(--gom-suite-tile-box-shadow);
  background-color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  transition-duration: 0.3s;
  transition-property: box-shadow, transform;
}
.tile-inner:hover {
  box-shadow: var(--gom-suite-tile-hover-box-shadow);
}

.tile.left-col {
  margin-left: 0;
}

.tile.right-col {
  margin-right: 0;
}

.tile-narrow__text {
  height: 100%;
  padding: var(--gom-suite-tile-text-padding);
  position: relative;
  display: flex;
  flex-direction: column;
}

.tile-narrow__headline {
  margin: 0 0 16px 0;
}

.tile-narrow__headline h2 {
  font-size: 14px;
  line-height: 20px;
  margin: 0;
  font-weight: 600;
  color: var(--gom-suite-headline);
}

.tile-narrow__cta,
.tile-narrow__cta-spacer {
  height: var(--gom-suite-readmore-link-height);
  text-wrap: nowrap;
  display: flex;
  justify-content: flex-end;
}

.tile__media {
  /* padding: 56.25% 0 0 0; */
  min-height: 167px;
  height: 167px;
  position: relative;
}

.tile__media iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tile__media img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-narrow__media {
  position: relative;
  width: 100%;
}
.tile-narrow__media svg {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  margin: -32px;
  width: 64px;
  height: 64px;
}

.tile-wide__media svg {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  margin: -32px;
  width: 64px;
  height: 64px;
}

.tile__media-overlay {
  background-color: #07090d;
  opacity: 0.5;
  position: absolute;
  inset: 0;
  z-index: 5;
}

.tile-narrow__preheader {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.tile-narrow__preheader-text {
  flex-grow: 1;
}

.tile-narrow__preheader-image {
  width: 40px;
  height: 40px;
}

.tile-narrow__preheader-image img {
  width: 100%;
  height: 100%;
  display: block;
  margin-top: -12px;
}

.tile__post-content-inner {
  line-height: 1rem;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.tile__post-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
}

.tile-narrow__post-content li {
  line-height: 1rem;
}

.tile-narrow__cta {
  left: var(--gom-suite-tile-text-padding);
  bottom: var(--gom-suite-tile-text-padding);
}

.tile-narrow__cta a {
  display: flex;
  align-items: center;
}

.tile-narrow__cta a svg {
  margin-left: 8px;
  position: relative;
  top: 1px;
}

.tile-narrow__cta a,
.tile-narrow__cta a:hover,
.tile-narrow__cta a:visited,
.tile-narrow__cta a:-webkit-any-link {
  text-decoration: none;
  color: var(--gom-suite-blue);
}

.tile-narrow__cta a:active,
.tile-narrow__cta a:focus {
  text-decoration: underline;
}

.tile .tile-wide__cta .readmore-link,
.tile .tile-narrow__cta .readmore-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--gom-suite-blue);
}

.tile .tile-wide__cta .readmore-link svg,
.tile .tile-narrow__cta .readmore-link svg {
  margin-left: 8px;
  position: relative;
  top: 1px;
}

.tile.tile-text-default .readmore-link {
  justify-content: flex-end;
}

@media (max-width: 639.98px) {
  main#content {
    display: block;
  }
  .tile-narrow {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (min-width: 640px) {
  .tile-narrow {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .tile-narrow {
    width: 33.3333%;
  }
}

@media (min-width: 1400px) {
  .tile-narrow {
    width: 25%;
  }
}

.tile-narrow {
  width: 314px;
}

/* Wide Tiles */
.tile-wide {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.tile-wide__media-wrapper {
  width: 66.66666%;
  flex-shrink: 0;
}

.tile-wide__text {
  padding: var(--gom-suite-tile-text-padding);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tile-wide__headline {
  margin-bottom: 16px;
}

.tile-wide__headline h2 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  color: var(--gom-suite-headline);
}

.tile-wide .tile__post-content-inner {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 639.98px) {
  .tile-wide__media-wrapper {
    display: block;
    width: 100%;
  }

  .tile-wide__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .tile-wide__media iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.tile-wide {
  max-width: 314px;
}

@media (min-width: 656px) {
  .tile-wide {
    max-width: 628px;
  }
}

@media (min-width: 640px) {
  .tile-wide {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .tile-wide {
    width: 66.6666%;
  }
}

@media (min-width: 1400px) {
  .tile-wide {
    width: 50%;
  }
}

/* Highlight Tiles */
.tile-highlight .tile-inner {
  background-color: var(--primary-bg-color, #a6c9ff);
  color: var(--primary-color, #0050f2);
  display: flex;
  flex-direction: column;
}
.tile-highlight .tile__media {
  margin-top: auto;
}
.tile-highlight.tile-text-center .tile__post-content,
.tile-highlight.tile-text-center .tile-wide__text,
.tile-highlight.tile-text-center .tile-narrow__text {
  text-align: center;
}

.tile-highlight .tile__post-content {
  margin-top: 8px;
}

.tile-highlight .tile-narrow__headline {
  margin-bottom: 0;
}
.tile-highlight .tile-narrow__headline h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 300;
  color: var(--primary-color, #0050f2);
}
.tile-highlight .tile__post-content-inner {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.tile-highlight .tile-narrow__cta a,
.tile-highlight .readmore-link {
  color: var(--primary-link-color, #0050f2) !important;
}
.tile-highlight .tile__post-content-footer {
  margin-top: 12px;
}
.tile-highlight.tile-text-center .tile__post-content-footer {
  justify-content: center;
  text-align: center;
}
.tile-highlight.tile-text-center .tile-narrow__cta {
  display: flex;
  justify-content: center;
  text-align: center;
}
.tile-highlight .icon img {
  width: 24px;
  height: auto;
  margin: 0 auto 12px;
}
.tile-highlight.tile-border .tile__media {
  margin: 0px 24px 24px;
  max-width: calc(100% - 48px);
  border-radius: var(--gom-suite-tile-border-radius);
  overflow: hidden;
}

.tile-highlight .subheadline {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.tile.secondary .readmore-link {
  color: var(--secondary-link-color, #0050f2) !important;
}

/* buttons */
.btn,
.btn:visited {
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  background: var(--gom-suite-blue);
  color: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 5px 24px 6px;
}

.btn:hover,
.btn:focus,
.btn:active {
  color: rgba(255, 255, 255, 1);
}

.btn-link {
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  color: var(--gom-suite-black);
  font-weight: 600;
}

.btn__content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: inherit;
}

.btn__content img {
  margin-right: 8px;
}

.btn__content svg {
  margin-top: 1px;
  margin-left: 8px;
}

.btn__text {
  color: inherit;
  font-size: 1em;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 18px;
}

.btn .btn__loader-light-blue,
.btn .btn__loader-white {
  display: none;
}

.btn.loading .btn__loader-light-blue {
  display: block;
}

.btn.loading .btn__loader-white {
  display: none;
}

.btn.loading:hover .btn__loader-white {
  display: block;
}

.btn.loading:hover .btn__loader-light-blue {
  display: none;
}

.load-more-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  margin-top: 32px;
}

/* videos using WP video shortcode */
.wp-video {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}

.wp-video .wp-video-shortcode {
  width: 100% !important;
  height: 100% !important;
}

/* single post view */
.single-post-view__media {
  width: 100%;
}

.single-post-view__text {
  padding-top: 32px;
  width: 100%;
}

.fancybox-is-type-image .single-post-view .single-post-view__inner {
  display: flex;
  flex-wrap: nowrap;
}

.fancybox-container.fancybox-is-type-video .single-post-view > h2 {
  color: var(--gom-suite-headline);
  font-size: 14px;
  font-weight: 700;
  background-color: var(--gom-suite-bg-popup);
  position: fixed;
  z-index: 10;
  left: 24px;
  top: -12px;
  right: 24px;
  height: 72px;
  line-height: 74px;
  padding-left: 24px;
  border-radius: var(--gom-suite-tile-border-radius);
}

.fancybox-container.fancybox-is-type-image .single-post-view > h2 {
  display: none;
}

.fancybox-is-type-image .single-post-view__media {
  width: 50%;
  padding-right: 48px;
}

.fancybox-is-type-image .single-post-view__text {
  padding-top: 0px;
  width: 50%;
}

.single-post-view__media-inner:has(img, video) {
  padding: 56.25% 0 0 0;
  position: relative;
}

.single-post-view__media-element {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.single-post-view__media-element .wp-video {
  width: 100% !important;
  height: 100%;
}

.single-post-view__media-element img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-view__preheader {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 24px;
}

.single-post-view__preheader-image {
  width: 32px;
  height: auto;
  margin-right: 16px;
}

.single-post-view__preheader-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.single-post-view__preheader-text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.single-post-view__content h2 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 0;
  color: var(--gom-suite-headline);
}

.fancybox-is-type-image .single-post-view__content h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 300;
}

.single-post-view__copy {
  font-size: 14px;
  line-height: 20px;
  font-weight: normal;
}

.single-post-view__content .tile-wide__cta {
  margin: 32px 0;
}

.single-post-view__close {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
}

.single-post-view__close-link {
  display: none;
  width: auto;
  height: auto;
}

.single-post-view__close img {
  display: block;
  width: 16px;
  height: 16px;
}

/* detail popup */
.fancybox-active {
  height: 100% !important;
}
.detail-popup {
  display: none;
  background: var(--gom-suite-white);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 64px 0 0;
  z-index: 1000;
}
.detail-popup__close {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.detail-popup__content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
#filters {
  background-color: var(--gom-suite-bg-popup);
  display: flex;
  position: fixed;
  top: 0px;
  justify-content: center;
  width: 100%;
  font-size: 16px;
  padding: 12px 24px;
  color: var(--gom-suite-black);
  z-index: 99999;
}

#filters .filters-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
}
#filters .filters-inner {
  display: flex;
  justify-content: center;
}

#filters button {
  outline: none;
  cursor: pointer;
  padding: 6px 24px;
  font-size: 12px;
  line-height: 20px;
  background-color: transparent;
  border: 0px;
  border-bottom: 4px solid transparent;
}
#filters button.is-checked {
  border-bottom: 4px solid var(--gom-suite-black);
}
.tile.hidden {
  display: none;
}
.tile-narrow__media-info {
  width: 100%;
}
.tile-wide__media-info {
  flex-grow: 1;
}

.tile-narrow__media-info-video {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.tile-wide__media-info-video {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.tile-narrow__media-info-video > div {
  display: flex;
  align-items: center;
}
.tile-wide__media-info-video > div {
  display: flex;
  align-items: center;
}

.tile-narrow__media-info-video > div > * + * {
  margin-left: 6px;
}
.tile-wide__media-info-video > div > * + * {
  margin-left: 6px;
}

.load-more-wrapper {
  text-align: center;
}
.load-more-wrapper button {
  margin-top: 32px;
  margin-bottom: 32px;
  font-size: 12px;
  color: #ffffff;
  padding: 6px 24px 6px;
  display: inline-block;
  font-weight: 400;
  line-height: 18px;
  border: 1px solid #0029af;
  border-radius: 2px;
  overflow: hidden;
}
.tile-narrow__video-link {
  display: flex;
  align-items: center;
}
.tile-narrow__video-link svg {
  margin-left: 8px;
  position: relative;
  top: 1px;
}
/* popup fancybox */
.fancybox-iframe,
.fancybox-video {
  margin-top: 32px;
}
.fancybox-slide--html {
  padding: 0px;
}
.fancybox-is-type-video .fancybox-inner {
  height: calc(100% - 176px);
  width: calc(100% - 96px);
  max-width: 1080px;
  max-height: 720px;
  margin: auto;
}
.fancybox-is-type-image .fancybox-inner {
  height: calc(100% - 90px);
  width: 100%;
  margin: auto auto 0px;
}
.fancybox-is-type-image.fancybox-is-open .fancybox-stage {
  overflow: unset;
}
#detail-popup {
  display: none;
  height: 100%;
  width: 100%;
  padding: 0px;
  overflow-x: hidden;
  background-color: var(--gom-suite-bg-popup);
}
#detail-popup .fancybox-close-small {
  position: fixed;
  top: 18px;
  right: 40px;
  color: var(--gom-suite-headline);
  opacity: 1;
  transition: 0.5s ease-out;
  padding: 2px;
  border: 0px;
  outline: none;
  width: 32px;
  height: 32px;
  border-radius: 32px;
  background-color: var(--gom-suite-bg-popup);
}
#detail-popup .fancybox-close-small:hover {
  background-color: var(--gom-suite-bg-popup);
}
.fancybox-is-type-image #detail-popup .fancybox-close-small {
  top: -48px;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  right: 12px;
}
.fancybox-is-type-video #detail-popup {
  border-radius: var(--gom-suite-tile-border-radius);
}
.fancybox-is-open .fancybox-bg {
  opacity: 0.5;
}
.fancybox-is-type-image .detail-popup__content-footer {
  display: none;
}
.detail-popup__content-wrapper {
  padding: 48px;
}
.fancybox-is-type-video .detail-popup__content-wrapper {
  padding-top: 72px;
  padding-bottom: 80px;
}
.detail-popup__content-footer {
  padding: 24px 48px;
  text-align: center;
  border-top: 1px solid #dde3ed;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-color: var(--gom-suite-bg-popup);
}
#detail-popup-close {
  cursor: pointer;
  border: 0px;
  background-color: transparent;
  outline: none;
  text-transform: uppercase;
  color: var(--gom-suite-blue);
  font-weight: 700;
}
/* media player */
.vjs-theme-fantasy {
  --vjs-theme-fantasy--primary: var(--gom-suite-blue);
}
.video-js {
  width: 100%;
  height: 100%;
}
.vjs-theme-fantasy .vjs-play-control .vjs-icon-placeholder:before {
  padding: 3px;
  height: 36px;
  width: 36px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.vjs-theme-fantasy .vjs-play-control:hover .vjs-icon-placeholder:before {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.vjs-theme-fantasy .vjs-play-progress:before {
  background-color: var(--vjs-theme-fantasy--secondary);
  border: 6px solid var(--vjs-theme-fantasy--secondary);
  box-shadow: 0px 3px 8px 0px #00000066;
  height: 18px;
  width: 18px;
  top: -6px;
}
.video-js .vjs-slider,
.vjs-theme-fantasy .vjs-play-progress,
.video-js .vjs-load-progress {
  border-radius: 8px;
}
.video-js .vjs-slider {
  background-color: rgba(255, 255, 255, 0.5);
}
.video-js .vjs-load-progress {
  background-color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
.video-js .vjs-load-progress div {
  background-color: rgba(255, 255, 255, 0.5);
}
.video-js .vjs-control-bar {
  padding: 0px 12px;
  background-color: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}
.vjs-picture-in-picture-control.vjs-button.vjs-disabled {
  display: none;
}
.video-js .vjs-control:focus,
.video-js .vjs-control:focus:before,
.video-js .vjs-control:hover:before {
  text-shadow: none;
}
.video-js .vjs-current-time {
  padding: 0px;
  font-size: 12px;
  display: inline;
}
.video-js .vjs-volume-vertical {
  background-color: transparent;
}
.vjs-slider-vertical .vjs-volume-level:before {
  box-shadow: 0px 3px 8px 0px #00000066;
  height: 16px;
  width: 16px;
  background: #fff;
  color: #fff;
  border-radius: 16px;
  left: -5px;
}
.video-js .vjs-volume-panel.vjs-volume-panel-vertical {
  align-items: center;
}
.video-js .vjs-mute-control,
.video-js .vjs-fullscreen-control {
  width: 32px;
  height: 32px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0);
  margin-left: 12px;
  margin-right: 6px;
}
.video-js .vjs-fullscreen-control {
  margin-top: auto;
  margin-bottom: auto;
}
.vjs-volume-panel:hover .vjs-mute-control,
.video-js .vjs-mute-control:hover,
.video-js .vjs-fullscreen-control:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.video-js .vjs-mute-control > .vjs-icon-placeholder:before,
.video-js .vjs-fullscreen-control .vjs-icon-placeholder:before {
  line-height: 32px;
}
.video-js .vjs-volume-control .vjs-slider {
  background-color: #dddfe1;
  border-radius: 6px;
  width: 6px;
}
.video-js .vjs-volume-control .vjs-mouse-display {
  border-radius: 6px;
}
.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level {
  background-color: #aaaeb5;
  width: 6px;
  border-radius: 6px;
}
.vjs-volume-bar.vjs-slider-vertical {
  height: 6em;
}
.vjs-theme-fantasy .vjs-play-control .vjs-icon-placeholder:before {
  top: 4px;
}
/* scroll top */
#scrollTop {
  position: absolute;
  top: 50%;
  margin-top: -12px;
  right: 36px;
  width: 24px;
  height: 24px;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #555e6b1a;
  border: 1px solid #555e6b33;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
body.show #scrollTop {
  opacity: 1;
}

/* responsive filter menu */
.--hidden {
  display: none;
}

#filters {
  box-sizing: border-box;
  justify-content: flex-start;
}

#filters .filters-wrap {
  width: 100%;
  justify-content: flex-start;
}

#filters .filters-wrap.--show-secondary .-secondary {
  display: block;
}

#filters .filters-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  justify-content: flex-start;
  position: relative;
}

#filters .filters-inner .-more button {
  display: flex;
  align-items: center;
}
#filters .filters-inner .-more button svg {
  margin-left: 8px;
}

#filters .filters-inner .-more button > span {
  margin-left: 5px;
}

#filters .filters-wrap:not(.--jsfied) .filters-inner {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#filters .-secondary {
  background: var(--gom-suite-bg-popup);
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
}

.-secondary .filter-button:has(.is-checked) {
  border-bottom: 4px solid var(--gom-suite-black);
}

#filters .-secondary .filter-button > button {
  border-bottom: none;
}

.filters-wrap.--show-secondary .secondary {
  display: block;
}

.filters-inner > .filter-button {
  flex-shrink: 0;
}

