/* shortcut */
.shortcut {
  position: absolute;
  right: 0;
  bottom: 25px;
  z-index: 100;
  height: auto !important;
  display: flex;
  gap: var(--g-gap-s);
  justify-content: center;
}

.shortcut > a {
  height: 50px;
  width: 50px;
  display: flex;
  background: rgb(var(--c-neutral-lightest));
  border-radius: 25px;
  padding: 5px;
}

.shortcut > a.-active .shortcut__icon,
.shortcut__icon.-hover,
.shortcut > a.-active .shortcut__icon.-hover,
.shortcut__icon.-close {
  display: none;
}

.shortcut > a.-active {
  background: rgb(var(--c-primary));
}

.shortcut > a.-active .shortcut__icon.-close {
  display: block;
}

.shortcut__icon img {
  width: 49px;
  max-width: 100%;
}

@media (hover: hover) {
  .shortcut > a:hover .shortcut__icon {
    display: none;
  }

  .shortcut > a:hover {
    background: rgb(var(--c-primary));
  }

  .shortcut > a.-active:hover .shortcut__icon.-hover {
    display: none;
  }

  .shortcut > a:hover .shortcut__icon.-hover {
    display: block;
  }
}

.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -7px;
  border-width: 7px 5px 7px 0;
  border-right-color: #303432;
}

.tooltip.right {
  padding: 0 5px;
  margin-left: 3px;
}

.tooltip.right,
.tooltip.left {
  white-space: nowrap;
}

.tooltip {
  position: absolute;
  z-index: 1030;
  display: none;
  visibility: visible;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0;
  filter: alpha(opacity=0);
}

.tooltip.in {
  opacity: 0.9;
  filter: alpha(opacity=90);
}

.tooltip.top {
  margin-top: -5px;
  padding: 5px 0;
}

.tooltip.left {
  margin-left: -5px;
  padding: 0 5px;
}

.tooltip-inner {
  max-width: 400px;
  padding: 4px 8px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background-color: #ffffff;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0;
  border-top-color: #ffffff;
}

.tooltip-inner {
  max-width: 400px;
  padding: 4px 8px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background-color: #303432;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0;
  border-top-color: #303432;
}

.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-width: 5px 0 5px 5px;
  border-left-color: #303432;
}

.tooltip.in {
  opacity: 1;
  filter: alpha(opacity=100);
}

.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 4px;
  margin-top: -7px;
  border-width: 7px 0 7px 5px;
  border-left-color: #303432;
}

.tooltip.left {
  padding: 0 8px;
  margin-right: 3px;
}

.shortcutarea .tooltip {
  margin-right: 45px;
  font-size: 12px;
  white-space: nowrap;
}

.shortcutarea .tooltip-inner {
  padding: 6px 12px;
}

/* image box */
.imagebox-imagewrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.imagebox {
  position: relative;
  height: 30vw;
  max-height: 440px;
}

.imagebox-text {
  position: absolute;
  z-index: 20;
  bottom: 0;
  left: 0;
  padding: 30px;
  width: 100%;
  max-width: 400px;
  text-shadow: 0 0 5px rgba(var(--c-neutral-darkest), 0.4);
  color: rgb(var(--c-neutral-lightest));
}

.imagebox-title {
  font-size: var(--f-size-l-3);
  font-weight: var(--f-weight-sb);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.imagebox-imagewrap::before {
  content: "";
  opacity: 0;
  transition: all 0.3s ease 0s;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  background: rgb(var(--c-neutral-darker));
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

@media (hover: hover) {
  .imagebox:hover .imagebox-imagewrap::before {
    opacity: 0.2;
  }
}

/* textimage box */
.textimagebox {
  width: 100%;
  transition: background 0.3s ease;
}
.textimagebox a {
  color: rgb(var(--c-neutral-darker));
}

.textimagebox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

div.image__gallery {
  width: 100%;
  max-height: 360vw8vw;
}

div.image__gallery > .swiper-wrapper {
  flex-direction: row;
  align-items: flex-end;

  & a {
    width: 100%;
    height: 100%;
    display: block;
  }
}

.textimagebox-iconimage {
  width: 75px;
}

.textimagebox-text {
  padding: 1.5rem;
}

@media (hover: hover) {
  .textimagebox:hover {
    background: rgb(var(--c-neutral-lighter));

    & a {
      color: rgb(var(--c-primary));
    }
  }
}

/* swiper image slider */
.swiper-pagination-bullet-active {
  background: rgb(var(--c-primary));
}

.swiper-pagination {
  z-index: 100;
}

/* content slider */
.content__slider {
  width: 100%;
  position: relative;

  & .swiper {
    width: calc(100% - 80px);
    max-width: 1194px;
  }

  & .slider__item {
    text-align: center;
  }

  & .slider__image {
    margin-bottom: 1.8rem;
  }

  & .font__button {
    margin-top: 1.2rem;
  }

  & .swiper-button-prev {
    left: 0;
  }

  & .swiper-button-next {
    right: 0;
  }
}

@media (hover: hover) {
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    color: rgb(var(--c-primary));
  }
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 640px) {
  /* text image box */
  .textimagebox {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: var(--g-gap);
    align-items: center;
    direction: rtl;
    text-align: left;

    &.-right {
      direction: ltr;

      & .textimagebox-text {
        padding: 3rem 1.5rem 3rem 0;
      }
    }
  }

  .textimagebox-text {
    padding: 3rem 0 3rem 1.5rem;
    direction: ltr;
  }

  div.image__gallery {
    height: 100%;
    max-height: 100%;
  }
}

@media (min-width: 1024px) {
  .shortcut {
    bottom: auto;
    right: 26px;
    flex-direction: column;
    width: 66px !important;
  }

  .shortcut > a {
    height: 66px;
    width: 66px;
    border-radius: 33px;
    padding: 8px;
  }

  /* text image box */
  .textimagebox.-right .textimagebox-text {
    padding: 5rem 4rem 5rem 2rem;
  }

  .textimagebox-text {
    padding: 5rem 2rem 5rem 4rem;
  }
}

@media (min-width: 1280px) {
  div.image__gallery {
    min-height: 580px;
    max-height: inherit;
  }
}
