/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */

.pswp {
  --pswp-bg: #000;
  --pswp-placeholder-bg: #222;
  

  --pswp-root-z-index: 100000;
  
  --pswp-preloader-color: rgba(79, 79, 79, 0.4);
  --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
  
  /* defined via js:
  --pswp-transition-duration: 333ms; */
  
  --pswp-icon-color: #fff;
  --pswp-icon-color-secondary: #4f4f4f;
  --pswp-icon-stroke-color: #4f4f4f;
  --pswp-icon-stroke-width: 2px;

  --pswp-error-text-color: var(--pswp-icon-color);
}

/*
	Styles for basic PhotoSwipe (pswp) functionality (sliding area, open/close transitions)
*/

.pswp {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: var(--pswp-root-z-index);
	display: none;
	touch-action: none;
	outline: 0;
	opacity: 0.003;
	contain: layout style size;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Prevents focus outline on the root element,
  (it may be focused initially) */

.pswp:focus {
  outline: 0;
}

.pswp * {
  box-sizing: border-box;
}

.pswp img {
  max-width: none;
}

.pswp--open {
	display: block;
}

.pswp,
.pswp__bg {
	transform: translateZ(0);
	will-change: opacity;
}

.pswp__bg {
  opacity: 0.005;
	background: var(--pswp-bg);
}

.pswp,
.pswp__scroll-wrap {
	overflow: hidden;
}

.pswp__scroll-wrap,
.pswp__bg,
.pswp__container,
.pswp__item,
.pswp__content,
.pswp__img,
.pswp__zoom-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.pswp__img,
.pswp__zoom-wrap {
	width: auto;
	height: auto;
}

.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img {
	cursor: zoom-in;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
	cursor: move;
	cursor: grab;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active {
  cursor: grabbing;
}

/* :active to override grabbing cursor */

.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,
.pswp__img {
	cursor: zoom-out;
}

/* Prevent selection and tap highlights */

.pswp__container,
.pswp__img,
.pswp__button,
.pswp__counter {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.pswp__item {
	/* z-index for fade transition */
	z-index: 1;
	overflow: hidden;
}

.pswp__hidden {
	display: none !important;
}

/* Allow to click through pswp__content element, but not its children */

.pswp__content {
  pointer-events: none;
}

.pswp__content > * {
  pointer-events: auto;
}

/*

  PhotoSwipe UI

*/

/*
	Error message appears when image is not loaded
	(JS option errorMsg controls markup)
*/

.pswp__error-msg-container {
  display: grid;
}

.pswp__error-msg {
	margin: auto;
	font-size: 1em;
	line-height: 1;
	color: var(--pswp-error-text-color);
}

/*
class pswp__hide-on-close is applied to elements that
should hide (for example fade out) when PhotoSwipe is closed
and show (for example fade in) when PhotoSwipe is opened
 */

.pswp .pswp__hide-on-close {
	opacity: 0.005;
	will-change: opacity;
	transition: opacity var(--pswp-transition-duration) cubic-bezier(0.4, 0, 0.22, 1);
	z-index: 10; /* always overlap slide content */
	pointer-events: none; /* hidden elements should not be clickable */
}

/* class pswp--ui-visible is added when opening or closing transition starts */

.pswp--ui-visible .pswp__hide-on-close {
	opacity: 1;
	pointer-events: auto;
}

/* <button> styles, including css reset */

.pswp__button {
	position: relative;
	display: block;
	width: 50px;
	height: 60px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	cursor: pointer;
	background: none;
	border: 0;
	box-shadow: none;
	opacity: 0.85;
	-webkit-appearance: none;
	-webkit-touch-callout: none;
}

.pswp__button:hover,
.pswp__button:active,
.pswp__button:focus {
  transition: none;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  opacity: 1;
}

.pswp__button:disabled {
  opacity: 0.3;
  cursor: auto;
}

.pswp__icn {
  fill: var(--pswp-icon-color);
  color: var(--pswp-icon-color-secondary);
}

.pswp__icn {
  position: absolute;
  top: 14px;
  left: 9px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  pointer-events: none;
}

.pswp__icn-shadow {
  stroke: var(--pswp-icon-stroke-color);
  stroke-width: var(--pswp-icon-stroke-width);
  fill: none;
}

.pswp__icn:focus {
	outline: 0;
}

/*
	div element that matches size of large image,
	large image loads on top of it,
	used when msrc is not provided
*/

div.pswp__img--placeholder,
.pswp__img--with-bg {
	background: var(--pswp-placeholder-bg);
}

.pswp__top-bar {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 60px;
	display: flex;
  flex-direction: row;
  justify-content: flex-end;
	z-index: 10;

	/* allow events to pass through top bar itself */
	pointer-events: none !important;
}

.pswp__top-bar > * {
  pointer-events: auto;
  /* this makes transition significantly more smooth,
     even though inner elements are not animated */
  will-change: opacity;
}

/*

  Close button

*/

.pswp__button--close {
  margin-right: 6px;
}

/*

  Arrow buttons

*/

.pswp__button--arrow {
  position: absolute;
  top: 0;
  width: 75px;
  height: 100px;
  top: 50%;
  margin-top: -50px;
}

.pswp__button--arrow:disabled {
  display: none;
  cursor: default;
}

.pswp__button--arrow .pswp__icn {
  top: 50%;
  margin-top: -30px;
  width: 60px;
  height: 60px;
  background: none;
  border-radius: 0;
}

.pswp--one-slide .pswp__button--arrow {
  display: none;
}

/* hide arrows on touch screens */

.pswp--touch .pswp__button--arrow {
  visibility: hidden;
}

/* show arrows only after mouse was used */

.pswp--has_mouse .pswp__button--arrow {
  visibility: visible;
}

.pswp__button--arrow--prev {
  right: auto;
  left: 0px;
}

.pswp__button--arrow--next {
  right: 0px;
}

.pswp__button--arrow--next .pswp__icn {
  left: auto;
  right: 14px;
  /* flip horizontally */
  transform: scale(-1, 1);
}

/*

  Zoom button

*/

.pswp__button--zoom {
  display: none;
}

.pswp--zoom-allowed .pswp__button--zoom {
  display: block;
}

/* "+" => "-" */

.pswp--zoomed-in .pswp__zoom-icn-bar-v {
  display: none;
}

/*

  Loading indicator

*/

.pswp__preloader {
  position: relative;
  overflow: hidden;
  width: 50px;
  height: 60px;
  margin-right: auto;
}

.pswp__preloader .pswp__icn {
  opacity: 0;
  transition: opacity 0.2s linear;
  animation: pswp-clockwise 600ms linear infinite;
}

.pswp__preloader--active .pswp__icn {
  opacity: 0.85;
}

@keyframes pswp-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*

  "1 of 10" counter

*/

.pswp__counter {
  height: 30px;
  margin-top: 15px;
  margin-left: 20px;
  font-size: 14px;
  line-height: 30px;
  color: var(--pswp-icon-color);
  text-shadow: 1px 1px 3px var(--pswp-icon-color-secondary);
  opacity: 0.85;
}

.pswp--one-slide .pswp__counter {
  display: none;
}

*+.wp-block-klx-materials,.wp-block-klx-materials+*{margin-top:var(--spacing--elements, 2em)}

.wp-block-klx-materials__inner[data-columns="4"]{--cols: 4}

.wp-block-klx-materials__inner[data-columns="6"]{--cols: 6}

.wp-block-klx-materials__inner{--cols: 3;--gap-y: 1.25em;--gap-x: 1.25em;--width: calc(100% / var(--cols) - (var(--gap-x) / var(--cols) * (var(--cols) - 1)));display:flex;flex-wrap:wrap;gap:var(--gap-y) var(--gap-x)}

.wp-block-klx-materials__item{position:relative;flex:0 0 var(--width);min-width:var(--width);max-width:var(--width);cursor:pointer !important;display:flex;flex-direction:column;transition:transform .2s ease, opacity .2s ease}

.wp-block-klx-materials__item:hover{transform:translateY(-2px);opacity:.9}

.wp-block-klx-materials__item .wp-block-klx-materials__image{cursor:pointer !important}

.wp-block-klx-materials__item .wp-block-klx-materials__note{display:none;text-align:center}

.wp-block-klx-materials__item .wp-block-klx-materials__label{position:relative;width:100%;padding:.4em 0 .2em 0;z-index:10;font-size:.9em;order:10;display:flex;flex-direction:column}

.wp-block-klx-materials__item .wp-block-klx-materials__label .wp-block-klx-materials__name{font-family:var(--ff--headlines, "Arial", sans-serif);text-transform:uppercase;line-height:1.3}

.wp-block-klx-materials__item .wp-block-klx-materials__label .wp-block-klx-materials__article-id{font-family:var(--ff--headlines, "Arial", sans-serif);text-transform:uppercase;font-size:.8em;opacity:.8}

.wp-block-klx-materials__item .wp-block-klx-materials__label .wp-block-klx-materials__description{font-family:var(--ff--headlines, "Arial", sans-serif);text-transform:uppercase;font-size:.8em;opacity:.8}

.wp-block-klx-materials__item .wp-block-klx-materials__image{position:relative;-o-object-fit:cover;object-fit:cover}

.wp-block-klx-materials__item .wp-block-klx-materials__image:after{content:"";position:relative;display:block;padding-bottom:100%;z-index:-100;pointer-events:none}

.wp-block-klx-materials__item .wp-block-klx-materials__image *{width:100%;height:100%;position:absolute;-o-object-fit:cover;object-fit:cover}

.wp-block-klx-materials__item .wp-block-klx-materials__image a{display:block;width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0}

.wp-block-klx-materials__item .wp-block-klx-materials__image img,.wp-block-klx-materials__item .wp-block-klx-materials__image .wp-block-klx-materials__color{width:100%;height:100%;position:absolute;-o-object-fit:cover;object-fit:cover}

.wp-block-klx-materials__item .wp-block-klx-materials__image .wp-block-klx-materials__color{top:0;right:0;bottom:0;left:0}

.wp-block-klx-materials__inner>.wp-block-klx-materials__note{flex:1 1 100%}

.pswp__materials-container{display:flex;align-items:center;justify-content:center}

.pswp__materials-container .wp-block-klx-materials__item{position:relative;width:90vw;height:90vh;margin:auto;overflow:hidden;font-size:1.5em}

.pswp__materials-container .wp-block-klx-materials__item .wp-block-klx-materials__note{position:absolute;right:.5rem;bottom:.5rem;font-size:.6em;text-shadow:0 0 1em rgba(0,0,0,.3);z-index:9;line-height:1.3}

.pswp__materials-container .wp-block-klx-materials__item .wp-block-klx-materials__label{position:absolute;right:.5rem;bottom:calc(1.5rem + .7em);background:var(--wp--preset--color--white, #fff);width:60%;padding:.2em .5em;box-shadow:0 0 .5em rgba(0,0,0,.5);display:flex;justify-content:space-between;align-items:center;z-index:10;max-width:20em}

.pswp__materials-container .wp-block-klx-materials__item .wp-block-klx-materials__label .wp-block-klx-materials__name{font-family:var(--ff--headlines, "Arial", sans-serif);text-transform:uppercase;line-height:1.3}

.pswp__materials-container .wp-block-klx-materials__item .wp-block-klx-materials__label .wp-block-klx-materials__article-id{font-family:var(--ff--headlines, "Arial", sans-serif);text-transform:uppercase;font-size:.8em;opacity:.8}

.pswp__materials-container .wp-block-klx-materials__item .wp-block-klx-materials__image{position:relative;-o-object-fit:cover;object-fit:cover;height:100%}

.pswp__materials-container .wp-block-klx-materials__item .wp-block-klx-materials__image:after{content:"";position:relative;display:block;padding-bottom:100%;z-index:-100;pointer-events:none}

.pswp__materials-container .wp-block-klx-materials__item .wp-block-klx-materials__image *{width:100%;height:100%;position:absolute;-o-object-fit:cover;object-fit:cover}

.pswp__custom-caption{position:absolute;left:50%;top:15%;transform:translateX(-50%);font-size:14px}

@media only screen and (max-width: 1200px){.wp-block-klx-materials__inner{--cols: 3}.wp-block-klx-materials__inner[data-columns="4"]{--cols: 3}}

@media only screen and (max-width: 768px){.wp-block-klx-materials__inner{--cols: 2;--gap-y: 1.5em}.wp-block-klx-materials__inner[data-columns="4"]{--cols: 2}.wp-block-klx-materials__inner[data-columns="6"]{--cols: 3}.wp-block-klx-materials__item{display:flex;flex-direction:column}.wp-block-klx-materials__item .wp-block-klx-materials__note{position:relative;order:5;bottom:0;right:0;width:100%}.wp-block-klx-materials__item .wp-block-klx-materials__note>span{position:absolute;bottom:100%;right:0;padding:1em}.pswp__materials-container .wp-block-klx-materials__item{font-size:1.25em}.pswp__materials-container .wp-block-klx-materials__item .wp-block-klx-materials__label{left:0;right:0;width:100%;max-width:100%;bottom:0;box-shadow:none}.pswp__materials-container .wp-block-klx-materials__item .wp-block-klx-materials__note{left:.5em;bottom:4em}}

@media only screen and (max-width: 480px){.wp-block-klx-materials__inner[data-columns="6"]{--cols: 3}.wp-block-klx-materials__inner{--gap-x: 0.75em}.wp-block-klx-materials__item .wp-block-klx-materials__label{font-size:.8em}.wp-block-klx-materials__item .wp-block-klx-materials__label{font-size:.7em;width:calc(100% - 1rem)}}
