/* ----------------------------------------------------------------
	ES!net Live Demo CSS
-----------------------------------------------------------------*/

/* IMAGE COMPARE */
/* .twentytwenty-horizontal */
.twentytwenty-horizontal .twentytwenty-handle::before,
.twentytwenty-horizontal .twentytwenty-handle::after {
  content: ' ';
  display: block;
  background: white;
  position: absolute;
  z-index: 30;
  -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
}

.twentytwenty-horizontal .twentytwenty-handle::before,
.twentytwenty-horizontal .twentytwenty-handle::after {
  width: 3px;
  height: 9999px;
  left: 50%;
  margin-left: -1.5px;
}

.twentytwenty-before-label,
.twentytwenty-after-label,
.twentytwenty-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.twentytwenty-before-label,
.twentytwenty-after-label,
.twentytwenty-overlay {
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.twentytwenty-before-label,
.twentytwenty-after-label {
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  transition-property: opacity;
}

.twentytwenty-before-label::before,
.twentytwenty-after-label::before {
  color: white;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.twentytwenty-before-label::before,
.twentytwenty-after-label::before {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  line-height: 38px;
  padding: 0 20px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.twentytwenty-horizontal .twentytwenty-before-label::before,
.twentytwenty-horizontal .twentytwenty-after-label::before {
  top: 50%;
  margin-top: -19px;
}

.twentytwenty-left-arrow,
.twentytwenty-right-arrow {
  width: 0;
  height: 0;
  border: 6px inset transparent;
  position: absolute;
}

.twentytwenty-left-arrow,
.twentytwenty-right-arrow {
  top: 50%;
  margin-top: -6px;
}

.twentytwenty-container {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  z-index: 0;
  overflow: hidden;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
}
.twentytwenty-container img {
  width: 100%;
  position: absolute;
  top: 0;
  display: block;
}
.twentytwenty-container.active .twentytwenty-overlay,
.twentytwenty-container.active:hover.twentytwenty-overlay {
  background: rgba(0, 0, 0, 0);
}

.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-before-label,
.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-after-label,
.twentytwenty-container.active:hover.twentytwenty-overlay .twentytwenty-before-label,
.twentytwenty-container.active:hover.twentytwenty-overlay .twentytwenty-after-label {
  opacity: 0;
}

.twentytwenty-container * {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.twentytwenty-before-label {
  opacity: 0;
}
.twentytwenty-before-label::before {
  content: 'Before';
}

.twentytwenty-after-label {
  opacity: 0;
}
.twentytwenty-after-label::before {
  content: 'After';
}

.twentytwenty-horizontal .twentytwenty-before-label::before {
  left: 10px;
}
.twentytwenty-horizontal .twentytwenty-after-label::before {
  right: 10px;
}

.twentytwenty-overlay {
  -webkit-transition-property: background;
  -moz-transition-property: background;
  transition-property: background;
  background: rgba(0, 0, 0, 0);
  z-index: 25;
}

.twentytwenty-overlay:hover .twentytwenty-after-label {
  opacity: 1;
}
.twentytwenty-overlay:hover .twentytwenty-before-label {
  opacity: 1;
}

.twentytwenty-before {
  z-index: 20;
}
.twentytwenty-after {
  z-index: 10;
}

.twentytwenty-handle {
  height: 38px;
  width: 38px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -22px;
  margin-top: -22px;
  border: 3px solid white;
  -webkit-border-radius: 1000px;
  -moz-border-radius: 1000px;
  border-radius: 1000px;
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  z-index: 40;
  cursor: pointer;
}

.twentytwenty-horizontal .twentytwenty-handle::before {
  bottom: 50%;
  margin-bottom: 22px;
  -webkit-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
}

.twentytwenty-horizontal .twentytwenty-handle::after {
  top: 50%;
  margin-top: 22px;
  -webkit-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
}

.twentytwenty-left-arrow {
  border-right: 6px solid #999;
  left: 50%;
  margin-left: -17px;
}

.twentytwenty-right-arrow {
  border-left: 6px solid #999;
  right: 50%;
  margin-right: -17px;
}
/* twentytwenty-horizontal End */

/*   Buttons, Texte   */

.text-white-70 {
  color: rgba(255, 255, 255, 0.7) !important;
}
#header-wrap {
  background-color: rgba(255, 255, 255, 0.92) !important;
}

body {
  font-family: 'Lato', sans-serif;
  color: #333;
}

/*   Projekt Scout   */
.nav-link {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #111;
  margin: 0 4px;
  padding: 0;
  z-index: 1;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #ddd;
}

.nav-link.active {
  box-shadow: 0 0 0 1px var(--bs-danger);
}

.item-price {
  font-weight: 400;
  font-size: 90%;
  vertical-align: middle;
  opacity: 0.7;
}

/* MODEL VIEWER */

model-viewer {
  /* border-radius: 15px; */

  position: absolute;
  top: 0px;
  left: 0px;

  height: 100vh;
  width: 100%;
  --progress-bar-color: orange;
}

/* This keeps child nodes hidden while the element loads */
:not(:defined) > * {
  display: none;
}

model-viewer {
  background-color: #eee;
  overflow-x: hidden;
  --poster-color: #eee;
}

model-viewer.yellow {
  background-color: rgb(238, 233, 185);
}

model-viewer.green {
  background-color: rgb(224, 240, 199);
  --poster-color: rgb(224, 240, 199);
  --progress-bar-color: rgb(95, 155, 0);
}

#ar-button {
  background-image: url('../assets/ic_view_in_ar_new_googblue_48dp.png');
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 12px 50%;
  background-color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  bottom: 132px;
  padding: 0px 16px 0px 40px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 14px;
  color: #4285f4;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  border: 1px solid #dadce0;
}

#ar-button:active {
  background-color: #e8eaed;
}

#ar-button:focus {
  outline: none;
}

#ar-button:focus-visible {
  outline: 1px solid #4285f4;
}

@keyframes circle {
  from {
    transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg);
  }

  to {
    transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg);
  }
}

@keyframes elongate {
  from {
    transform: translateX(100px);
  }

  to {
    transform: translateX(-100px);
  }
}

model-viewer > #ar-prompt {
  position: absolute;
  left: 50%;
  bottom: 175px;
  animation: elongate 2s infinite ease-in-out alternate;
  display: none;
}

model-viewer[ar-status='session-started'] > #ar-prompt {
  display: block;
}

model-viewer > #ar-prompt > img {
  animation: circle 4s linear infinite;
}

model-viewer > #ar-failure {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 175px;
  display: none;
}

model-viewer[ar-tracking='not-tracking'] > #ar-failure {
  display: block;
}

.slider {
  width: 100%;

  text-align: center;
  overflow: hidden;
  position: absolute;
  bottom: 16px;
}

.slides {
  display: flex;
  overflow-x: auto;

  width: fit-content;
  margin: 0 auto;

  -webkit-overflow-scrolling: touch;
}

.slideModel {
  /*  scroll-snap-align: start; */
  flex-shrink: 01;
  width: auto;
  min-width: 80px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: none;
  margin-right: 10px;
  border-radius: 5px;
  border: 1px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8em;
}

.slideModel.selected {
  border: 2px solid orange;
}

.slideModel:focus {
  outline: none;
}

.slideModel:focus-visible {
  outline: 1px solid orange;
}

/*   FLOATING CONTACT   */

.floating-contact-wrap {
  position: fixed;
  right: 50px;
  bottom: 60px;
  z-index: 299;
  -webkit-transition: right 0.2s ease;
  -o-transition: right 0.2s ease;
  transition: right 0.2s ease;
}

.stretched .floating-contact-wrap + #gotoTop {
  bottom: 100px;
}

.floating-contact-wrap .floating-contact-btn {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  border-radius: 60px;
  background-color: var(--cnvs-themecolor);
  color: #fff;
  cursor: pointer;
  z-index: 3;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.floating-contact-wrap .floating-contact-btn:hover,
.floating-contact-wrap.active .floating-contact-btn {
  -webkit-transform: translate(-50%, -50%) scale(1.1);
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #222;
}

.floating-contact-wrap .floating-contact-btn .floating-contact-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 22px;
  -webkit-transition: 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  -webkit-transition-property: opacity, -webkit-transform;
  transition-property: opacity, transform;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-backface-visibility: hidden;
}

.floating-contact-wrap .floating-contact-btn .floating-contact-icon.btn-active,
.floating-contact-wrap.active .floating-contact-btn .floating-contact-icon {
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.floating-contact-wrap.active .floating-contact-btn .floating-contact-icon.btn-active {
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.floating-contact-wrap .floating-contact-box {
  opacity: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 380px;
  background-color: #fff;
  border-radius: 6px;
  z-index: 1;
  -webkit-transform-origin: right bottom;
  transform-origin: right bottom;
  box-shadow: 0px 0px 13px 3px rgba(0, 0, 0, 0.07);
  -webkit-transform: scale(0.01);
  transform: scale(0.01);
  -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  -webkit-backface-visibility: hidden;
}

.floating-contact-wrap.active .floating-contact-box {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

@media (max-width: 767.98px) {
  .floating-contact-wrap .floating-contact-box {
    width: 340px;
  }
}

.css3-spinner {
  background-color: rgba(255, 255, 255, 0.8);
}

#floating-contact-submitted,
.floating-contact-success #floating-contact,
.floating-contact-success .floating-contact-heading,
body:not(.floating-contact-processing) .floating-contact-loader {
  display: none;
}

.floating-contact-success #floating-contact-submitted {
  display: block;
}

/*  HEADER MENU  */

@media (min-width: 992px) {
  .primary-menu.primary-menu-inline:not(.on-click) .menu-item:not(.mega-menu) .sub-menu-container,
  .primary-menu.primary-menu-inline:not(.on-click) .mega-menu-content {
    margin-top: -15px;
  }

  .primary-menu.primary-menu-inline:not(.on-click) .menu-item:hover > .sub-menu-container,
  .primary-menu.primary-menu-inline:not(.on-click) .menu-item:hover > .mega-menu-content {
    margin-top: 0px;
  }

  .primary-menu-inline .mega-menu-column > .menu-item > .menu-link {
    padding: 18px 20px;
    letter-spacing: 1px;
    font-size: 0.75rem;
  }

  .primary-menu-inline .sub-menu-container.mega-menu-column {
    border-left: 0;
  }

  .primary-menu-inline .sub-menu-container:not(.mega-menu-column) .menu-item > .menu-link {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500 !important;
    font-size: 0.875rem;
  }

  .primary-menu-inline .sub-menu-container .menu-item:hover > .menu-link {
    padding-left: 20px;
  }

  .primary-menu-inline .mega-menu-content .sub-menu-container.mega-menu-dropdown {
    top: 100% !important;
    left: 0;
    padding: 0;
  }

  .sub-menu-container .menu-link div > i.icon-angle-down {
    position: relative;
    display: inline-block;
    margin-left: 1px;
    margin-top: -1px;
    transform: rotate(0deg);
  }
}
