@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Oswald:wght@200..700&display=swap');

:root {
  --font-family-base: "Lora", serif; 
  --font-size-base: 16px;
  --line-height-base: 1.5;
  
  --font-family-heading: "Oswald", sans-serif;

  --background-color: #fff;

  --text-color: #1c1c1f;
  --link-color: #9D0F1B;

  --pal-0: #000;
  --pal-1: #000;

  --grad-1: linear-gradient(45deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);

  --col-1: #4158D0;
  --col-2: #C850C0;
  --col-3: #FFCC70;

  --border-radius: 10px;
  --border-radius-large: 0px;

  --device-base: 0.5em;

  --noise: url(data:image/png;base64,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);
  --img-crown: url(../images/km_crown.svg);

  --content-width: 840px;
  --wide-width: 960px;
  --wide-diff: calc(var(--content-width) - var(--wide-width));

}

@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: fade .5s ease-in-out forwards;
  }

  ::view-transition-new(root) {
    animation: fade .5s ease-in-out reverse;
  }
}

@keyframes fade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}


body {
  min-height: 100vh;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--font-color);
  background-color: #fff;
  overflow-x: hidden;
  position: relative;
  overscroll-behavior: auto;
}

body.path-frontpage{
  background-image: var(--grad-1);
}

body.path-frontpage:after{
  content: "";
  display: inline-block;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: var(--noise);
  mix-blend-mode: luminosity;
  z-index: -1;  
}

h1, h2, h3, h4, h5, h6{
  font-family: var(--font-family-heading);
  margin-top: 0.8em;
  margin-bottom: 0.8em;
  font-optical-sizing: auto;
}

h1{
  font-size: 66px;
  line-height: 1em;
}

h1.page-title{
  font-size: 36px;
  line-height: 1.1em;
}

h2{
  font-size: 42px;
  line-height: 1.1em;
}

h3{
  font-size: 36px;
  line-height: 1.2em; 
}

h4{
  font-size: 24px;
  line-height: 1.2em; 
}

h5{
  font-size: 16px;
  line-height: 1.2em; 
}

h6{
  font-size: 14px;
  line-height: 1.2em; 
}

strong{
  font-weight: bold;
}

a{
  color: var(--pal-0);
  text-decoration:none;
}

a:hover{
  color: var(--pal-1);
}

img{
  max-width: 100%;
  height: auto;
}

.layout-container {
  margin: 0;
  /*min-height: 100vh;*/
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}

.toolbar-horizontal .layout-container {
  /*margin-top: 52px;*/
}


.maintenance-page{
  position: relative;
  background-size: cover;
  background-position: bottom center;
  text-align: center;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.maintenance-page .layout-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.maintenance-page .layout-container:before{
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgb(255,255,255,0.4);
  backdrop-filter: blur(5px);
}

.maintenance-page .layout-container .layout-inner{
  position: relative;
  max-width: 90%;
  width: 600px;
  height: 600px;
  display: inline-block;
  z-index: 1;
  padding-top: 200px;
}

.maintenance-page .layout-container .layout-inner:before{
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/k_label_01.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.2));
}

.maintenance-page header{
  width: 100%;
  text-align: center;
  margin: 1em auto 0.5em auto;
  display: inline-block;  
}

.maintenance-page header img{
  width: 300px;
}

.maintenance-page main{
  margin: 1em auto;
  display: inline-block;
  width: 500px;
}

.maintenance-page h1{
  font-size: 40px;
  margin-top: 0;
  line-height: 1.1em;
}

ul.tabs{
  margin: 2em auto;
  list-style: none;
  text-align: center;
  padding: 0;
}

ul.tabs li{
  display: inline-block;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 95%;
}

ul.tabs li a{
  display: inline-block;
  padding: 10px 16px;
  letter-spacing: 1px;
  border: 1px solid #676767;
  color: var(--pal-0);
  margin: 5px;
}

ul.tabs li a:hover,
ul.tabs li.is-active a{
  display: inline-block;
  color: #fff;
  background-color: var(--pal-0);
  border: 1px solid var(--pal-0);
}

a.gb{
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 35px;
  /*background-color: rgba(255,255,255,1);*/
  color: rgba(0,0,0,1);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  box-shadow: unset;
  border: 0;  
  white-space: nowrap;
  border:1px solid var(--pal-0);
  overflow:hidden;
  position: relative;
}

a.gb:before{
  content: "";
  display: inline-block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--pal-0);
  z-index: -1;
  position: absolute;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);  
  opacity: 0;
  transform: scale(0);
}

a.gb:hover{
  /*background-color: var(--pal-0);*/
  color: rgba(255,255,255,1);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);  
}

a.gb:hover:before{
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);  
  opacity: 1;
  transform: scale(1);
}

.region-primary-menu{
  display: inline-block;
}

.wp-block-image.aligncenter {
  text-align: center;
  margin: 0 auto;
}

.wp-block-image.alignleft{

}

.wp-block-image.alignright{

}

.wp-block-columns{
  gap:25px;
}

.wp-block-buttons{
  display: flex;
}

.wp-block-button__link{

}

.wp-block-cover__inner-container .wp-block-columns:last-child{
  margin-bottom: 0;
}

.wp-block-gallery{
  gap: 15px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0;  
}

.wp-block-gallery figure{
  display: inline-block;
  vertical-align: top;
  width: calc(100% / 3 - 10px);
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.wp-block-gallery > a:nth-of-type(1){
  display: none;
}

.wp-block-gallery figure a{
  display: inline-block;
  vertical-align: top; 
}

.wp-block-gallery figure a img{
  display: inline-block;
  vertical-align: top;  

  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.wp-block-gallery figure a:hover img{
  transform: scale(1.05);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.text-justify{
  text-align: justify;
}

.alignfull{
  transform: translateX(calc(50% - 50vw));
  height: auto;
  position: relative;
  /*
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: calc(100vw);
  */
  
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  
}

.alignwide{
  height: auto;
  position: relative;
  max-width: 90vw;
  width: var(--wide-width);
  margin-left: calc(50% - ( var(--wide-width) / 2 ) );
  margin-right: calc(50% - ( var(--wide-width) / 2 ) );
}

.alignfull .alignwide{
  margin: 0 auto;
  transform: unset;
}

@media (max-width: 1450px) {
  .alignwide {
    margin-left: calc(50% - 45vw );
    margin-right: calc(50% - 45vw );
    max-width: 90vw;
    width: 90vw;
  }
}

.has-text-align-center{
  text-align: center;
  display: inline-block;
  width: 100%;  
}

.has-text-align-right{
  text-align: right;
  display: inline-block;
  width: 100%;
}

.has-text-align-left{
  text-align: left;
  display: inline-block;
  width: 100%;  
}

.wp-block-embed iframe{
  width: 100%;
  height: 100%;
}

.wp-embed-aspect-4-3,
.wp-embed-aspect-4-3 iframe{
  aspect-ratio: 4 / 3;  
}

.wp-embed-aspect-16-9,
.wp-embed-aspect-16-9 iframe{
  aspect-ratio: 16 / 9;
}

.wp-embed-aspect-9-16,
.wp-embed-aspect-9-16 iframe{
  aspect-ratio: 9 / 16;
}

.wp-block-embed.alignwide{
  max-width: 90vw;
  width: var(--wide-width);
  margin-left: calc(50% - ( var(--wide-width) / 2 ) );
  margin-right: calc(50% - ( var(--wide-width) / 2 ) )
}

@media (max-width: 1450px) {
  .wp-block-embed.alignwide {
    margin-left: calc(50% - 45vw );
    margin-right: calc(50% - 45vw );
    max-width: 90vw;
    width: 90vw;
  }
}

.wp-block-embed.alignleft{
  min-width: 300px;
  width: 400px;
  max-width: 100%;
   margin-left: 0;
  margin-right: auto;
}

.wp-block-embed.aligncenter{
  min-width: 300px;
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
}

.wp-block-embed.alignright{
  min-width: 300px;
  width: 400px;
  max-width: 100%;
  margin-left: auto;
  margin-right: 0;  
}

.node--type-referencia .node__content em{
  font-family: var(--font-family-base);
  margin: 0 0.4em;
  display: inline-block;
  margin-top: -0.4rem;
  vertical-align: middle;
  text-align: center;
  font-style: normal;
  font-weight: bold;
}

#main-menu{
  margin: 20px 0;
  /*background-color: rgba(255,255,255,1);*/

  width: 100%;
  /*height: 100px;*/
  display: inline-block;

  /*
  position: fixed;
  top: 0;
  left: 0;
  */
  /* z-index: 200;  */
}

#main-menu .container{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

#main-menu ul.menu{
  margin: 0;
  padding: 0;
  list-style: none;
}

#main-menu ul.menu li{
  display: inline-block;
}

#main-menu ul.menu li a{
  font-family: var(--font-family-heading);
  padding: 0px 15px;
  display: inline-block;
  height: 60px;
  line-height: 60px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 20px;
  font-weight: bold;
  position: relative;
  color: rgba(255,255,255,1);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  font-weight: 300;
}

#main-menu ul.menu li a:before{
  position: absolute;
  content: "";
  z-index: 1;
  display: inline-block;

  background: var(--pal-0);
  bottom: 15px;
  width: 0%;
  left: 50%;
  height: 2px;
  opacity: 0.0;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

#main-menu ul.menu li a.is-active,
#main-menu ul.menu li a:hover{
  color: var(--pal-0);
    transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

#main-menu ul.menu li a.is-active:before,
#main-menu ul.menu li a:hover:before{
  background-color: var(--pal-0);
  opacity: 1;
  height: 2px;
  width: 60%;
  left: 20%;  
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.social-icons{
  margin: 1em 0;
}

.social-icon{
  display: inline-block;
}

.social-icon svg{
  width: 32px;
  height: 32px;
  fill: var(--text-color);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.social-icon:hover svg{
  fill: var(--pal-0);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

#menu-social{

}

#menu-social .social-icons{
  margin: 0;
}

#menu-social a{
  padding: 0 10px;
  display: inline-block;
  line-height: 60px;
  vertical-align: top;
  position: relative;
}

#menu-social a svg{
  margin-top: -2px;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  fill: #fff;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

#menu-social a:hover svg{
  fill: #000;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

#menu-social a:before{
  content: "";
  position: absolute;
  top: calc(50% - 16px);
  left: calc(50% - 17px);
  width: 30px;
  height: 30px;
  border: 2px solid #000;
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

#menu-social a:hover:before{
  opacity: 1;
  transform: scale(1);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.container{
  width: 1260px;
  max-width: 90%;
  margin: 0 auto;
}

.container-w{
  width: 90%;
  padding: 0 5%;
}

.container-n{
  width: 940px;
  max-width: 90%;
  margin: 0 auto;
}

header{

}

main{
  flex: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

footer{
  /*text-transform: uppercase;*/
  color: #fff;
}

.content-drawer-container footer{
  color: #000;
  margin: 1em auto;
}

.content-drawer-container footer p{
  margin: 0;
  padding: 0;
}

#footer-mobile-wrapper{
  display: none;
  color: #fff;
}

#footer-logo{
  width: 60px;
  margin: 1em auto;
}

#highlighted{
  width: 100%;
}

#help{
  width: 100%; 
}

#main-logo{
  width: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  /*filter: invert(1) drop-shadow(0px 0px 40px rgba(0,0,0,0.8));*/
  filter: invert(1) drop-shadow(0px 0px 2px rgba(0,0,0,0.6)) drop-shadow(0px 0px 40px rgba(255,255,255,0.6));
  
  position: relative;
  z-index: 10;
  aspect-ratio: 16 / 9;
}

#main-logo img{

  width: 500px;
  max-width: 90%;
}

#main-ref{
  position: relative;
  max-width: 70%;
  z-index: 20;
}

.region-highlighted .messages{
  margin: 2em auto;
  padding: 1em 2em;
}

.region-highlighted .messages a{
  color: #fff;
}

.region-highlighted .messages ul{
  list-style: none;
  padding-left: 0;
}

.messages--webform .button--dismiss {
  display: none;
}

.messages.messages--info {
  color: #589ac5;
  background-color: #122b3c;
  border-color: #122b3c;
}

.messages.messages--info .messages__header {
  background: none;
}

.messages.messages--info .messages__header:before {
  background-color: #589ac5;
  -webkit-mask-image: url("../images/sprite.svg#info-view");
          mask-image: url("../images/sprite.svg#info-view");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center left;
          mask-position: center left;
}

.messages.messages--info .button--dismiss .icon-close:link {
  background-color: #589ac5;
}

.messages.messages--status {
  color: #32cea4;
  background-color: #145242;
}

.messages.messages--status .messages__header:before {
  background-color: #32cea4;
  -webkit-mask-image: url("../images/sprite.svg#status-view");
          mask-image: url("../images/sprite.svg#status-view");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center left;
          mask-position: center left;
}

.messages.messages--status .button--dismiss .icon-close:link {
  background-color: #32cea4;
}

.messages.messages--warning {
  color: #efcf64;
  background-color: #605328;
}

.messages.messages--warning .messages__header:before {
  background-color: #efcf64;
  -webkit-mask-image: url("../images/sprite.svg#warning-view");
          mask-image: url("../images/sprite.svg#warning-view");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center left;
          mask-position: center left;
}

.messages.messages--warning .button--dismiss .icon-close:link {
  background-color: #efcf64;
}

.messages--error {
  color: #f39b9d;
  background-color: #583333;
}

.messages--error .messages__header:before {
  background-color: #f39b9d;
  -webkit-mask-image: url("../images/sprite.svg#error-view");
          mask-image: url("../images/sprite.svg#error-view");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center left;
          mask-position: center left;
}

.messages--error .button--dismiss .icon-close:link {
  background-color: #f39b9d;
}

#logo{
  display: inline-block;
  vertical-align: top;
  position: absolute;
  z-index: 100;
  top: 20px;
  left: 20px;
  filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.4));
}

#logo a{
  position: relative;
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  padding: 10px;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

#logo a svg{
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 40px;
  filter: invert(1);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

#logo a:hover{
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

#logo a:hover svg{  
  filter: invert(0) drop-shadow(0px 0px 0px rgba(0,0,0,0));
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

nav.breadcrumb ol{
  list-style: none;
}

nav.breadcrumb ol li{
  display: inline-block;
}


.scrolltop svg{
  width: 30px;
  height: 30px;
}

#sliding-popup{
  background-color: var(--text-color);
  color: var(--background-color);
  width: 100%;
}

.eu-cookie-compliance-message {
  float: unset;
  max-width: 80%;
  flex: 1;
}

.eu-cookie-compliance-content {
  margin: 2em auto;
  max-width: 70%;
  display: inline-block;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: stretch;
  flex: 1;
  justify-content: space-between;
}

.eu-cookie-compliance-buttons {
  float: unset;
  max-width: 30%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  align-content: center;
}

#popup-text h2{
  font-size: 30px;
  margin: 0;
  margin-bottom: 0.4em;
}

#popup-text p{
  margin: 0;
  display: inline-block;
}

#popup-buttons button{
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 35px;
  background-color: rgba(255,255,255,1);
  color: rgba(0,0,0,1);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  box-shadow: unset;
  border: 0;  
  white-space: nowrap;
}

#popup-buttons button.agree-button{
  margin-right: 0.5em;
}

#popup-buttons button.decline-button{
  background-color: rgba(211,211,211,1);
}

#popup-buttons button:hover{
  background-color: var(--pal-0);
  color: rgba(255,255,255,1);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

#sliding-popup button.find-more-button{
  background-color: var(--text-color);
  color: var(--background-color);
  font-weight: bold;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  border: 0;
}

#sliding-popup button.find-more-button:hover{
  color: var(--pal-0);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.pswp__img--placeholder{
  display: none!important;
}

.pswp_img {
  max-height: 100vh !important;
  width: auto !important;
  position: static !important;
}

.pswp__zoom-wrap {
  /*
  display: flex !important;
  justify-content: center;
  align-items: center;
  transform: none !important;
  */
}

#mobile-menu{
  max-width: 90%;
  width: 400px;
}

#mobile-menu-open{
  display: none;
  line-height: 64px;
  width: 64px;
  height: 64px;
  vertical-align: top;
  border-radius: 50%;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.87, 0, 0.13, 1);
  cursor: pointer;
}

#mobile-menu-open:hover{

}

#mobile-menu-open svg{
  margin-top: -2px;
  vertical-align: middle;
  width: 32px;
  height: 32px;
  fill: #fff;
  transition: all 0.3s cubic-bezier(0.87, 0, 0.13, 1);
}

#mobile-menu-open:hover svg{
  transition: all 0.3s cubic-bezier(0.87, 0, 0.13, 1);
}

#mobile-overlay{
  background-color: rgba(0,0,0,0.8);
  position: fixed;
  z-index: 500;
  top: 0;
  transform: scale(1.2);
  left: 0;
  width: 100%;
  height: 100vh;
  visibility: hidden;
  opacity: 0;
  transition: all .3s ease-in-out;
  transform-origin: center center;
  backdrop-filter: blur(0px);
}

#mobile-overlay.active{
  visibility: visible!important;
  transform: scale(1.0);
  opacity: 1!important;
  top: 0;
  transition: all .3s ease-in-out;
  transform-origin: center center;
  backdrop-filter: grayscale(0.4) blur(15px);
}

#mobile-menu-wrapper{
  display: flex;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: center; 
  position: relative;
}

#mobile-menu-wrapper ul.main-menu{
  width: 400px;
  max-width: 100%;
}

#mobile-menu-wrapper ul.main-menu li{
  display: inline-block;
  width: 100%;
  text-align: center;
  margin: 5px 0;
}

#mobile-menu-close{
  cursor: pointer;
  display: inline-block;
  position: absolute;
  top: 0;
  right: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  border-bottom-left-radius: var(--border-radius-large);
  border-bottom-right-radius: var(--border-radius-large);
  background: rgba(2552,255,255,0.8);
}

#mobile-menu-close svg{
  width: 40px;
  height: 40px;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

#mobile-menu-close:hover{
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  background: #000;
}

#mobile-menu-close:hover svg{
  fill: #fff;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}


#mobile-menu-wrapper ul.social-icons {
  margin: 0;
  padding: 0;
}

#mobile-overlay-branding{
  max-width: 100%;
  width: 250px;
  filter: invert(1);
}

#mobile-overlay-branding-wrapper{
  text-align: center;
  max-width: 90%;
}

#mobile-menu{
  margin: 2em 0;
}

#mobile-menu ul.menu{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;  
}

#mobile-menu ul.menu li{

}

#mobile-menu ul.menu li a{
  color: #fff;
  display: inline-block;
  position: relative;
  font-size: 22px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 0;

}

#mobile-menu-wrapper ul.menu li a:hover{

}

#mobile-menu-wrapper .social-icons{
  display: flex;
  gap: 1em;
}

#mobile-menu-wrapper a.social-icon{
  display: flex;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  width: 40px;
  height: 40px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;  
}

.layout-inner{
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  gap: 4em;
  position: relative;
  /*z-index: 50;*/
}

.layout-left{
  width: 50%;
  display: flex;
  align-content: flex-start;
  justify-content: center;
  align-items: stretch;
  position: relative;
  gap: 15px;
}

.layout-right{
  width: 50%;
  display: flex;
  align-content: flex-start;
  justify-content: center;
  align-items: stretch;
  flex-direction: column;
  flex-wrap: nowrap;
}

.side-banner{
  width: 200px;
  height: 100vh;
  /*background-color: rgba(255,255,255,0.3);*/
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;  
  gap: 15px;
}

.side-banner .splide__track{
  overflow: visible;
}

.side-banner-item{
  flex-shrink: 0;
  overflow: visible;
}

.side-banner-item a{
  background: #fff;
  display: inline-block;
  vertical-align: top;
  border-radius: var(--border-radius);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.4));
}

.side-banner-item a img{
  border-radius: var(--border-radius);
  display: inline-block;
  vertical-align: top;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.side-banner-item a .side-banner-item-title{
  position: absolute;
  bottom: 0.5em; 
  right: 0;

  display: flex;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0px;
  text-align: center;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  color: #fff;
  padding: 0.2em 0.5em;
  line-height: 1.2em;
  font-family: var(--font-family-heading);
  text-transform: uppercase;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  opacity: 1;
  pointer-events: none;
  /*display: none;*/
  will-change: transform, opacity, filter;
}

.side-banner-item a:hover .side-banner-item-title{
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0); 
  will-change: transform, opacity, filter;
}

.side-banner-item a .side-banner-item-desc{
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 2em);
  height: calc(100% - 2em);
  display: flex;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  opacity: 0;
  z-index: 20;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
  text-shadow: 0px 0px 2px #000,
               0px 0px 10px #000;
  font-family: var(--font-family-heading);
  padding: 1em;
  line-height: 1.2em;
  text-transform: uppercase;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  pointer-events: none;
  will-change: transform, opacity, filter;  
}

.side-banner-item a:hover .side-banner-item-desc {
  opacity: 1;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  will-change: transform, opacity, filter;
}

.side-banner-item a .side-banner-item-desc:before{
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  border-radius: var(--border-radius);
  background: rgba(0,0,0,0.0);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  will-change: transform, opacity, filter;
}

.side-banner-item a:hover .side-banner-item-desc:before {
  background: rgba(0,0,0,0.6);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  will-change: transform, opacity, filter;
}


.splide__list {
  display: flex;
  flex-direction: column;
  gap: 0 !important;
}

.splide__track,
.splide__list,
.splide__slide {
  margin: 0;
  padding: 0;
}

.splide__slide {
  line-height: 0;
  display: block;
}

.content-drawer-wrapper{
  z-index: 200;
  position: relative;
  background: rgba(255,255,255,1);
  width: 100%;
  height: 100%;
  min-height: 100vh;
}

.content-drawer-container{
  margin: 0 auto;
  max-width: calc(100% - 40px);
  width: calc(1920px / 2);  
}

.content-drawer-wrapper h1.page-title{
  margin: 0;
  line-height: 60px;
  text-align: center;
}

.content-drawer-header{
  height: 60px;
  display: inline-block;
  position: fixed;
  z-index: 100;  
  right: 0;
  top: 0;

}

.toolbar-horizontal .content-drawer-header{
  top: 52px;
}

.toolbar-vertical .content-drawer-header{
  top: 39px;
}

.toolbar-vertical .gin-secondary-toolbar{
  /*display: none;*/
}

.content-drawer-header-actions{
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;

  /*border-top-right-radius: 20px;*/
  border-bottom-left-radius: var(--border-radius-large);
  border-bottom-right-radius: var(--border-radius-large);
  margin-right: 30px;

}

.content-drawer-close{
  cursor: pointer;
  display: inline-block;
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  border-bottom-left-radius: var(--border-radius-large);
  border-bottom-right-radius: var(--border-radius-large);
  background: rgba(2552,255,255,0.8);
}

.content-drawer-close svg{
  width: 40px;
  height: 40px;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.content-drawer-close:hover{
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  background: #000;
}

.content-drawer-close:hover svg{
  fill: #fff;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.content-drawer-header-logo a{   
  display: inline-block;
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  border-top-left-radius: var(--border-radius-large);
  border-bottom-right-radius:  var(--border-radius-large);
}

.content-drawer-header-logo a svg{
  width: 40px;
  height: 40px;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.content-drawer-header-logo a svg .st0{
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.content-drawer-header-logo a:hover{
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  background: #000;
}

.content-drawer-header-logo a:hover svg .st0{
  fill: #fff;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.content-drawer-main{
  margin-top: 0px;
  margin-bottom: 5vh;
}

.view-cover{

}

.view-cover .views-field-title{
  height: 100%;
  position: relative;
  top: 0px;
  left: 0px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  text-transform: uppercase;
  z-index: 10;
}

.view-cover .views-field-title h1{ 
  max-width: 80%;
  margin: 0 10%;  
  width: 100%;
  color: #000;
  margin: 0.6em auto;
  font-size: 60px;
  line-height: 1.2em;
}

.cover-thumb{

}

.view-cover .views-field-nothing{
  position: relative;
  text-align: center;
}

.view-cover .views-field-nothing img{
  object-fit: cover;
  object-position: center;
}

.view-cover .views-field-field-cover{
  position: relative;
  text-align: center;
}

.view-cover .views-field-field-cover img{
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

.view-cover .views-field-field-belyegkep{
  position: relative;
  text-align: center;
}

.view-cover .views-field-field-belyegkep img{
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}

.page-node-type-page .view-cover .views-field-nothing img,
.page-node-type-page .view-cover .views-field-field-cover img,
.page-node-type-page .view-cover .views-field-field-belyegkep img{
  aspect-ratio: unset;
}

.page-node-type-page .field--name-body{
  width: 640px;
  max-width: 100%;
  margin: 0 auto;
}

.view-cover .views-field-field-cover .field-content{
  overflow: hidden;
}

#block-km4-content{
  /*padding: 40px 20px;*/
}

.page-node-type-system #block-km4-content{
  padding: 40px;
}

.hover-title-tooltip:before {
  content: "";

  backdrop-filter: blur(4px);
  filter: url(#lensFilter) saturate(120%) brightness(1.15);

  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  position: absolute;
  border-radius: var(--border-radius);
}

.hover-title-tooltip {
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  position: fixed;
  color: #000;
  font-size: 42px;
  max-width: 20vw;
  pointer-events: none;

  font-family: var(--font-family-heading);
  z-index: 9999;
  padding: 0.1em 0.3em;
  opacity: 0;
  visibility: hidden;
  text-wrap: pretty;
  margin-top: -5px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  line-height: 1.2em;
}

.hover-title-tooltip.active {
  opacity: 1;
  display: inline-block;
  visibility: visible;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.hover-title-tooltip:after {
  content: "";
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.75),
              inset 0 0 5px rgba(255, 255, 255, 0.75);  
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
  border-radius: var(--border-radius);
}

.bg-n1{
  position: relative;
}

.bg-n1:before{
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: var(--noise);
  background-blend-mode: luminosity;
}

.node__content{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.node__content a{
  display: inline-block;
}

/*
 F-1
*/

.f-1{
  position: relative;
  overflow: hidden;
}

.f-1 img{
  margin: 2% 10%;
  padding-top: 20px;
  background:           url(../images/bf_01.svg),   #e9e9e9;
  background-position:  left 2px,                   center center;
  background-size:      50px,                       100%;
  background-repeat:    no-repeat,                  no-repeat;
  max-width: calc(100% - 20%);
  border-radius: 10px;
  border: 1px solid #bbb;
  position: relative;
}

/*
 F-2
*/

.f-2{
  margin: 2% 5%;
  box-shadow: 0px 0px 0px 2px white;
  background-color: #fff;
  border-radius: calc( 3 * var(--device-base) );
  padding: calc( 3 * var(--device-base) );
  width: calc( 100% - 10% - ( 4 * var(--device-base) ) ); 
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22), 0 0 5px rgba(0,0,0,0.22),
              inset 0 0 2px 2px #c8cacb, inset 0 0 0 7px #e2e3e4;      
  aspect-ratio: 16 / 9;
  position: relative;
  padding-bottom: calc( 3 * var(--device-base) );
}

.f-2 .figure-inner,
.f-2 > div{
  position: relative;
  aspect-ratio: 16 / 9;
  overflow-x: hidden;
  overflow-y: scroll;
  border-radius: var(--device-base);
  scrollbar-width: none;
  scrollbar-gutter: stable both-edges;
  border: 2px solid #222;
  border-radius: 4px;
  box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.8); 
  background: #222; 
}

.f-2 .components-drop-zone{
  display: none;
}

/*
.f-2:before {
  content: "";
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: conic-gradient(from 45deg at 50% 50%, #000000, #000000, #000000, #000000, #000000, #000000, #0d0d0d, #1d1d1d, #2d2d2d, #3d3d3d, #4e4e4e, #5f5f5f);
  mix-blend-mode: plus-lighter;
  opacity: 0.2;
  border-radius: 0.5em;
}
*/

.f-2:before {
  content: "";
  z-index: 20;
  left: 40%;
  bottom: calc( 0.7 * var(--device-base) );
  width: 20%;
  height: 100%;
  display: inline-block;
  position: absolute;
  pointer-events: none;
  background: #e7e7e7;
  height: 10px;
  border-bottom-left-radius: calc( 3 * var(--device-base) );
  border-bottom-right-radius: calc( 3 * var(--device-base) );
  border-top-left-radius: calc( var(--device-base) / 2 );
  border-top-right-radius: calc( var(--device-base) / 2 );
  box-shadow: inset 0px 6px 6px 2px #dbdbdb, inset 0 -4px 4px 1px #7f7f7f;
  background: linear-gradient(to bottom, #eee, #c8c8c8);
}

.f-2:after {
  content: "";
  z-index: 10;
  left: -3%;
  bottom: -5%;
  width: 106%;
  height: 100%;
  display: inline-block;
  position: absolute;
  pointer-events: none;
  background: #e7e7e7;
  height: calc( 5 * var(--device-base) );
  border-bottom-left-radius: calc( 3 * var(--device-base) );
  border-bottom-right-radius: calc( 3 * var(--device-base) );
  border-top-left-radius: calc( var(--device-base) / 2 );
  border-top-right-radius: calc( var(--device-base) / 2 );
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25), 0 8px 10px rgba(0, 0, 0, 0.22), 0 0 5px rgba(0, 0, 0, 0.22), inset 0px 6px 6px 2px #f3f3f3, inset 0 -4px 4px 1px #7f7f7f;
  background: linear-gradient(to bottom, #eee, #c8c8c8);
}

.f-2 .figure-inner:before{
  content: "";
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  position: absolute;
  background: url(../images/ch_01.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 100%;
  height: 45px;
  position: sticky;
  box-shadow: inset 0px 3px 6px rgba(0, 0, 0, 0.2);
  pointer-events: none;  
}

/*
.f-2 .figure-inner:after{
  content: "";
  z-index: 10;
  left: 0;
  bottom: 6px;
  transform: translateY(6px);
  width: 100%;
  height: 100%;
  display: inline-block;
  position: absolute;
  background: url(../images/cf_01.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 100%;
  height: 20px;
  position: sticky;
  box-shadow: inset 0px -3px 6px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
*/

.f-2 img{
  display: inline-block;
  vertical-align: top;
  /*padding-top: 47px;*/
  position: relative;
  margin-top: -7px;
}


/*
 F-3
*/

.f-3{
  max-width: 58%;
  margin: 2% 2%;
  box-shadow: 0px 0px 0px 2px white;
  background-color: #fff;
  border-radius: calc( 3 * var(--device-base) );
  padding: calc( 3 * var(--device-base) ) calc( 6 * var(--device-base) );
  width: calc( 100% - 10% - ( 4 * var(--device-base) ) ); 
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22), 0 0 5px rgba(0,0,0,0.22),
              inset 0 0 2px 2px #c8cacb, inset 0 0 0 7px #e2e3e4;      
  aspect-ratio: 16 / 9;
  position: relative;
}

/*
.f-3:before {
  content: "";
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: conic-gradient(from 45deg at 50% 50%, #000000, #000000, #000000, #000000, #000000, #000000, #0d0d0d, #1d1d1d, #2d2d2d, #3d3d3d, #4e4e4e, #5f5f5f);
  mix-blend-mode: plus-lighter;
  opacity: 0.2;
  border-radius: 0.5em;
}
*/

.f-3:before {
  content: "";
  z-index: 20;
  left: calc(2% + var(--device-base) + 1px);
  top: calc(50% - ( var(--device-base) / 2 ) );
  width: var(--device-base);
  height: var(--device-base);
  border-radius: calc( 3 * var(--device-base) );
  display: inline-block;
  position: absolute;
  pointer-events: none;
  background: radial-gradient(circle, rgb(61 61 61) 30%, rgba(179, 179, 179, 1) 91%, rgba(135, 135, 135, 1) 100%);
  border: 1px solid #333333;
  background-size: 100%;
}

.f-3:after {
  content: "";
  z-index: 20;
  left: calc(98% - ( 3 * var(--device-base) ) - 1px);
  top: calc(50% - ( ( 3 * var(--device-base) ) / 2 ) );
  width: calc( 3 * var(--device-base) );
  height: calc( 3 * var(--device-base) );
  border-radius: calc( 3 * var(--device-base) );
  display: inline-block;
  position: absolute;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 30%, rgba(179, 179, 179, 1) 91%, rgba(135, 135, 135, 1) 100%);
  border: 1px solid #ababab;
  background-size: 100%;
}

.f-3 .figure-inner,
.f-3 > div{
  aspect-ratio: 16 / 9;
  overflow-x: hidden;
  overflow-y: scroll;
  border-radius: var(--device-base);
  scrollbar-width: none;
  scrollbar-gutter: stable both-edges;
  border: 2px solid #222;
  border-radius: 4px;
  background: #222;
}

.f-3 img{
  display: inline-block;
  vertical-align: top;
}


/*
 F-4
*/

.f-4{
  max-width: 25%;
  min-width: 300px;
  margin: 5% auto;
  box-shadow: 0px 0px 0px 2px white;
  background-color: #fff;
  border-radius: calc( 6 * var(--device-base) );
  padding: calc( 1 * var(--device-base) );
  width: calc( 100% - 10% - ( 2 * var(--device-base) ) ); 
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22), 0 0 5px rgba(0,0,0,0.22),
              inset 0 0 2px 1px #c8cacb, inset 0 0 0 3px #e2e3e4;      
  aspect-ratio: 16 / 9;  
  position: relative;      
}

.f-4 a{
  vertical-align: middle;
}

/*
.f-4:before {
  content: "";
  z-index: 20;
  left: calc(50% - ( 7 * var(--device-base) ) );
  top: var(--device-base);
  width: calc( 14 * var(--device-base) );
  height: calc( 2 * var(--device-base) );
  border-top-left-radius:      calc( 0 * var(--device-base) );
  border-top-right-radius:     calc( 0 * var(--device-base) );
  border-bottom-left-radius:   calc( 3 * var(--device-base) );
  border-bottom-right-radius:  calc( 3 * var(--device-base) );
  display: inline-block;
  position: absolute;
  pointer-events: none;
  background: #000;
  background-size: 100%;
}
*/

.f-4 .figure-inner,
.f-4 > div{
  aspect-ratio: 9 / 16;
  overflow-x: hidden;
  overflow-y: scroll;
  border-radius: calc( 5 * var(--device-base) );
  scrollbar-width: none;
  scrollbar-gutter: stable both-edges;
  border: 2px solid #222;
  background-color: #222;
}


.f-4 img{
  display: inline-block;
  vertical-align: top;

}

.a-11{
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}


.a-169{
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.a-43{
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.a-32{
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.ip-1 img{ padding: 10%; }
.ip-2 img{ padding: 20%; }
.ip-3 img{ padding: 30%; }
.ip-4 img{ padding: 40%; }
.ip-5 img{ padding: 50%; }

.p-1{
  padding: 5% 10%;
  /*
  background-color: #f4f3f2;
  background-image: var(--noise);
  background-blend-mode: luminosity;  
  */
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.p-1 img{
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 1) 0px 20px 30px -10px;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.p-1:hover img{
  box-shadow: rgba(0, 0, 0, 0.5) 0px 30px 50px -10px;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.node__content{
  /*perspective: 1000px;*/
}

.p-stack{
  transform: rotate3d(1, 1, 1, 310deg);
  transform-style: preserve-3d;
}

.p-stack:hover{
  transform: translateY(-20px) rotate3d(1, 1, 1, 310deg);
}

.p-stack:nth-of-type(even) {
  margin-bottom: 10%;
}

.p-stack:nth-of-type(odd) {
  margin-bottom: -30%;
}

.p-stack-multi{
  transform: rotate3d(1, 1, 1, 310deg);
  transform-style: preserve-3d;
  margin-bottom: -30%;
}

.p-stack-multi:hover{
  transform: translateY(-20px) rotate3d(1, 1, 1, 310deg);
}

.p-stack:last-of-type {
  margin-bottom: 10%;
}

.view-referenciak{

}

.view-referenciak .view-content{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.view-referenciak .views-row{
  background: #fff;
  display: block;
  vertical-align: top;
  border-radius: var(--border-radius);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0) allow-discrete;
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.4));
  width: calc(100% / 3 - 10px);
  opacity: 1;
  scale: 1;
  transition-behavior: allow-discrete;
}

.view-referenciak .views-row.hidden{
  transition-behavior: allow-discrete;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0) allow-discrete;
  transform: scale(0.8);
  display: none;
  opacity: 0;
  scale: 0;
  width: 0;
}

.view-referenciak .views-row .views-field-field-belyegkep{
  width: 100%;
}

.view-referenciak .views-row img{
  border-radius: var(--border-radius);
  display: inline-block;
  vertical-align: top;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  object-fit: contain;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  width: 100%;

}

.view-referenciak .views-row .views-field-field-kartya-cim{
  position: absolute;
  bottom: 0.5em; 
  right: 0;
  display: flex;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  color: #fff;
  padding: 0.2em 0.7em;
  line-height: 1.2em;
  font-family: var(--font-family-heading);
  text-transform: uppercase;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  opacity: 1;
  pointer-events: none;
}

.view-referenciak .views-row:hover .views-field-field-kartya-cim{
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0); 
}

.view-referenciak .views-row .views-field-field-kartya-leiras{
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 2em);
  height: calc(100% - 2em);
  display: flex;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  opacity: 0;
  z-index: 20;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
  text-shadow: 0px 0px 2px #000,
               0px 0px 10px #000;
  font-family: var(--font-family-heading);
  padding: 1em;
  line-height: 1.2em;
  text-transform: uppercase;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  pointer-events: none;
}

.view-referenciak .views-row:hover .views-field-field-kartya-leiras{
  opacity: 1;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.view-referenciak .views-field-view-node a{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  z-index: 30;
}


.view-referenciak .views-row .views-field-field-kartya-leiras:before{
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  border-radius: var(--border-radius);
  background: rgba(0,0,0,0.0);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.view-referenciak .views-row:hover .views-field-field-kartya-leiras:before {
  background: rgba(0,0,0,0.6);
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
}

.view-referencia-kategoriak{
  margin: 2em auto;
}

.view-referencia-kategoriak .view-content{
  display: flex;
  gap: 15px;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;

}

.view-referencia-kategoriak .views-row{
  padding: 0.2em 0.5em;
  /*border: 1px solid #000;*/
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  /*
  text-transform: uppercase;
  font-family: var(--font-family-heading);
  */
  background: rgba(255,255,255,0);
  color: rgba(0,0,0,1);
  cursor: pointer;
  text-align: center;
}

.view-referencia-kategoriak .views-row:hover{ 
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  background: rgba(0,0,0,1);
  color: rgba(255,255,255,1);
}

.view-referencia-kategoriak .views-row.active{
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  background: rgba(0,0,0,1);
  color: rgba(255,255,255,1);
}


.view-referencia-kategoriak-for-front{
  margin: 0em auto;
}

.view-referencia-kategoriak-for-front .view-content{
  display: flex;
  gap: 10px;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;

}

.view-referencia-kategoriak-for-front .views-row{

}

.view-referencia-kategoriak-for-front .views-row a{
  padding: 0.2em 0.5em;
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  background: rgba(255,255,255,0);
  color: rgba(255,255,255,1);
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.view-referencia-kategoriak-for-front .views-row a:hover{ 
  transition: all 0.2s cubic-bezier(0.2, 0.0, 0, 1.0);
  background: rgba(0,0,0,1);
  color: rgba(255,255,255,1);
}

.contact-data{
  text-align: center;
}
