@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

@keyframes toBack {
    0%      { height: 100%; left: 0; top: 0; z-index: 10; }
    25%     { height: 95%; left: 35%; top: 2.5%; z-index: 10; }
    50%     { height: 85%; left: 45%; top: 7.5%; z-index: 10; }
    75%     { height: 75%; left: 55%; top: 12.5%; z-index: 5; }
    100%    { height: 55%; left: 60%; top: 25%; z-index: 5; }
}

@keyframes toFront {
    0%      { height: 55%; left: 60%; top: 25%; z-index: 5; }
    /*25%     { height: 60%; left: 15%; top: 20%; z-index: 5; }*/
    50%     { height: 60%; left: 15%; top: 20%; z-index: 10; }
    /*75%     { height: 90%; left: 2%; top: 5%; z-index: 10; }*/
    100%    { height: 100%; left: 0; top: 0; z-index: 10; }
}

html {
  height: -webkit-fill-available;
}

body {
    font-family: 'Outfit', sans-serif;
    color: #2b3e39;
    width: 100vw;
    height: 100vh;
    /*height: 100dvh;*/
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overflow: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #2b3e39;
}

h2 span,
h3 span {
    font-weight: 200;
}

.button {
    margin: 0;

}

.button.iconBtn {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.75rem;
  border-radius: 2rem;
  background-color: #2b3e39;
}

.button.iconBtn svg {
  fill: #f4fbf8;
}

.button.large {
    background: #e30000;
}

#main {
    height: 100vh;
    /*height: 100dvh;*/
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100vw;
    display: flex;
    align-items: stretch;
    flex-flow: row nowrap;
    position: relative;
    overflow: hidden;
}

#statusMsg {
  font-size: 1.5rem;
  line-height: 1;
  width: 100%;
  height: 5.5rem;
  padding: 2rem 2rem 2rem 6rem;
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 90;
  transform: translateY(-100%);
  transition: transform 0.2s ease-in;
}

#statusMsg.show {
  transform: translateY(0);
  transition: transform 0.2s ease-out;
}

#statusMsg.success {
  color: #2b3e39;
  background-color: #3adb76;
}

#menu {
    background: #fefefe;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

#menu.collapsed {
    left: -100%;
    transition: all 0.3s ease 0.1s;
}

.menu-btn {
    position: absolute;
    bottom: 2rem;
    left: 1.5rem;
    cursor: pointer;
}

#customer-avatar {
  position: absolute;
  top: 4.75rem;
  left: 1.75rem;
  z-index: 90;
  transition: transform 0.2s ease;
  transform: scale(1);
}

#customer-avatar.hidden {
  transform: scale(0);
}

#customer-avatar img {
  border: 2px solid #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 4px 10px rgb(0 0 0 / 25%);
  width: 2.5rem;
  height: 2.5rem;
}

.symbol-only-button{
    width: 3rem;
    height: 3rem;
    margin-top: 1rem;
}

.hamburger-inner {
    transition-duration: .3s;
    transition-timing-function: cubic-bezier(.55,.055,.675,.19);
}

.hamburger-inner, 
.hamburger-inner::after, 
.hamburger-inner::before {
    height: 0.25rem;
    border-radius: 0.125rem;
    background-color: #f4fbf8;
    position: absolute;
    transition-property: transform;
    transition-duration: .15s;
    transition-timing-function: ease;
}

.hamburger-inner {
    width: 1.75rem;
    display: block;
    top: 50%;
    transition: transform .15s ease, width .2s cubic-bezier(.55,.055,.675,.19);
}

.hamburger-inner::before {
    width: 2.75rem;
    top: -0.75rem;
    transition: top .1s .34s ease-in, opacity .1s ease-in, width .1s cubic-bezier(.55,.055,.675,.19);
}

.hamburger-inner::after {
    width: 2.25rem;
    bottom: -0.75rem;
    transition: bottom .1s .34s ease-in, transform .3s cubic-bezier(.55,.055,.675,.19), width .3s cubic-bezier(.55,.055,.675,.19);
}

.hamburger-inner::after, 
.hamburger-inner::before {
    content: "";
    display: block;
}

.menu-btn:hover .hamburger-inner,
.menu-btn:hover .hamburger-inner::before,
.menu-btn:hover .hamburger-inner::after,
#menu.open .hamburger-inner,
#menu.open .hamburger-inner::before,
#menu.open .hamburger-inner::after {
    width: 3rem;
}

#menu.open .hamburger-inner {
    transform: rotate(225deg);
    transition-delay: .14s;
    transition-timing-function: cubic-bezier(.215,.61,.355,1);
}

#menu.open .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top .1s ease-out, opacity .1s .14s ease-out;
}

#menu.open .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom .1s ease-out, transform .3s .14s cubic-bezier(.215,.61,.355,1);
}

#main .logo {
    display: block;
    width: 6rem;
    height: auto;
    padding: 1.5rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

#buttonnavbar .design_head {
  flex-direction: column;
}

#buttonnavbar h2 {
    color:#80948d;
    line-height: 1;
    margin-top: 1.5rem;
    margin-left: 5.5rem;
    display: inline-block;
    padding-right: 1rem;
    vertical-align: middle;
    transition: all 0.3s ease; 
}

#buttonnavbar h5 {
  margin-top: 0.875rem;
  margin-left: 5.5rem;
  font-weight: 400;
  line-height: 1;
  opacity: 50%;
}

#buttonnavbar .head {
  flex-direction: column;
}

#menu.collapsed h2 {
    top: 3rem;
}

#buttonnavbar {
    position:absolute;
    top:0;
    width: 100%;
    z-index: 10;
}

#buttonnavbar .buttongrp {
    padding-left: 1.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.15);
    margin: 1.5rem;
}

#buttonnavbar .buttongrp:first-child {
  margin: 1.5rem 0;
  border-left: none;
  padding-left: 0;
}

#buttonnavbar div{
    display: flex;
    align-items: flex-start;
}

nav#products {
    width: 100%;
    height: 100%;
    padding: 1.5rem 1.5rem 1.5rem 6rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
    overflow: auto;
}

nav#products .card {
    width: 25%;
    max-width: 580px;
    height: auto;
    display: block;
    position: relative;
    flex-grow: 0;
    box-shadow: 0 16px 24px 2px rgb(0 0 0 / 10%), 0 6px 30px 5px rgb(0 0 0 / 8%), 0 8px 10px -5px rgb(0 0 0 / 20%);
}

nav#products .card {
    width: calc(50% - 2rem);
    height: 20rem;
    position: relative;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 2rem;
    margin: 1rem;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 6rem 1fr 1fr;
    grid-template-rows: 3rem auto;
    grid-template-areas: 
      "header header header"
      "sketch preset2 preset1"
}

nav#products .card .card-section {
    padding: 0;
    grid-area: header;
}

nav#products .card .hPreset {
  height: 100%;
  max-height: 14rem;
  position: relative;
}

.hPreset.preset-1 {
  grid-area: preset1;
}

.hPreset.preset-2 {
  grid-area: preset2;
}

nav#products h2 {
    font-size: 3rem;
    margin-top: 3rem;
}

nav#products h2, nav#products p {
    width: 100%;
    height: auto;
    line-height: 1;
    margin-left: 1rem;
}

nav#products .card h3 {
    color: #2b3e39;
    line-height: 1;
    margin-bottom: 0;
    width: 100%;
}

nav#products .card h4 {
  color: #80948d;
  line-height: 1;
  margin-bottom: 0;
  width: 100%;
}

nav#products .button {
  color: #f4fbf8;
  background-color: #e30000;
  border: none;
  width: 4rem;
  height: 4rem;
  padding: 1rem;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgb(0 0 0 / 25%);
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
}

nav#products .button svg {
  fill: #f4fbf8;
  width: 100%;
  height: 100%;
}

.dot {
  width: 3rem;
  height: 3rem;
  border: 4px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 7px rgb(0 0 0 / 25%), inset 0 1px 4px rgb(0 0 0 / 25%);
  z-index: 50;
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
}

nav#products .card p {
    color: #d4eae1;
    padding: 1rem 2rem 0;
}

nav#products .card img {
  width: auto;
  height: 100%;
  max-height: 14rem;
  object-fit: contain;
  object-position: bottom right;
  z-index: 10;
}

nav#products .card img.skizze {
  height: calc(100% - 6rem);
  max-height: 8rem;
  width: 100%;
  margin: 0 0 auto;
  object-position: bottom left;
  grid-area: sketch;
}

nav#products .card img:nth-of-type(2) {
  z-index: 20;
}
/*
#menu.collapsed nav#products {
    align-content: flex-start;
    display: none;
}
*/
#menu.collapsed nav#products a {
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
}

#configurator {
    background: #f4fbf8;
    width:100%;
    height: 100vh;
    padding: 2rem 2rem 3.5em 4rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#configurator::after {
    content: '';
    background: linear-gradient(rgba(43, 62, 57, 0.5), rgba(43, 62, 57, 0.2) 50%);
    width: 100%;
    height: 40vh;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.2s ease;
}

#configurator::before {
    content: '';
    background: linear-gradient(rgba(43, 62, 57, 0) 50%, rgba(43, 62, 57, 0.2));
    width: 100%;
    height: 60vh;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.2s ease;
}


.is-overview #configurator {
    /*width: 35vw;
    padding: 2.5rem 3rem 2.5rem 3rem;*/
    width: 0;
    padding: 0;
}

.is-preview #configurator {
    padding: 2.5rem 3rem 2.5rem 3rem;
}

.is-overview #configurator::before {
    top: 20vh;
}

.is-overview #configurator::after {
    bottom: -20vh;
}

#container {
    position: relative;
    height: 100%;
    object-fit: contain;

}

#container button {
    width: 3.5rem;
    height: 3.5rem;
    position: absolute;
    display: block;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.25,-0.125,0,1.25);
}

#swap {
    top: 2rem;
    right: 2rem;
}

#swap:hover {
    transform: rotate(-180deg);
}

#container .jacke,
#container .hose {
    width: 27%;
    max-height: 100%;
    position: absolute;
    left: 68%;
    top: 57%;
    z-index: 10;
    transform: translateY(-50%);
    transition: height 0.5s cubic-bezier(.25,-0.125,0,1.25),
     width 0.5s cubic-bezier(.25,-0.125,0,1.25),
     left 0.4s ease 0.1s,
     top 0.5s cubic-bezier(.25,-0.125,0,1.25),
     z-index 0.1s linear;
}
/*
#main.rotate #container .jacke,
#main.rotate #container .hose {
    width: 27%;
    max-height: 100%;
    position: absolute;
    left: 77%;
    top: 55%;
    transition: height 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53),
     width 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53),
     left 0.45s ease 0.05s,
     top 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53),
     z-index 0.1s linear;
}
*/
#container .jacke.focus,
#container .hose.focus {
    width: 60%;
    height: auto;
    max-height: 80vh;
    position: absolute;
    left: 5%;
    top: 55%;
    z-index: 15;
}

#main.is-preview #container .jacke,
#main.is-preview #container .hose {
    width: 48%;
    max-height: 100%;
    height: auto;
    top: 50%;
    left: 52%;
}

#main.is-preview #container .jacke.focus,
#main.is-preview #container .hose.focus {
    width: 48%;
    max-height: 100%;
    left: 0;
    top: 50%;
    z-index: 10;
}

#main.is-overview #container .jacke,
#main.is-overview.rotate #container .jacke {
    width: 100%;
    max-height: 50%;
    top: 75%;
    left: 0;
    transition: height 0.3s cubic-bezier(.25,-0.125,0,1.25),
     width 0.3s cubic-bezier(.25,-0.125,0,1.25),
     left 0.3s ease,
     top 0.3s cubic-bezier(.25,-0.125,0,1.25),
     z-index 0.1s 0.4s;
}

#container .jacke svg,
#container .hose svg {
    height: 100%;
    max-height: 80vh;
    width: auto;
    margin: 0 auto;
    display: block;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(.25,-0.125,0,1.25) 0.2s;
}

#container .hose[data-pos="3"] svg {
  transition: transform 0.5s cubic-bezier(.25,-0.125,0,1.25) 0.3s;
}

#container .jacke.focus svg,
#container .hose.focus svg {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(.25,-0.125,0,1.25);
}

#container.hidden .jacke svg,
#container.hidden .hose svg {
    transform: translateY(-250%);
    transition: transform 0.5s cubic-bezier(.25,-0.125,0,1.25);
}

#container.loading .jacke,
#container.loading .hose {
    transition: all 0.1 linear;
}

#container.loading .jacke svg,
#container.loading .hose svg {
  transform: translateY(-250%);
  transition: transform 0.1 linear;
}

#container.hidden .jacke.focus svg,
#container.hidden .hose.focus svg,
#container.loading .jacke.focus svg,
#container.loading .hose.focus svg {
    transform: translateY(-150%);
    transition: transform 0.1 linear;
}

#container .jacke::before,
#container .hose::before {
    content: '';
    background: radial-gradient(rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 50%);
    position: absolute;
    z-index: -1;
    bottom: -10%;
    left: -15%;
    height: 20%;
    width: 130%;
    border-radius: 50%;
    opacity: 0.5;
    transform: scale(1);
    transition: all 0.5s cubic-bezier(.25,-0.125,0,1.25) 0.2s;
} 

#container .jacke.focus::before,
#main.is-preview #container .jacke::before,
#container .hose.focus::before,
#main.is-preview #container .hose::before {
    bottom: -12.5%;
    left: -20%;
    height: 25%;
    width: 140%;
    opacity: 0.75;
   transition: all 0.5s cubic-bezier(.25,-0.125,0,1.25);
}


#main.is-overview #container .jacke.focus::before,
#main.is-overview #container .hose.focus::before,
#container.hidden .jacke::before,
#container.hidden .hose::before,
#container.loading .jacke::before,
#container.loading .hose::before {
    opacity: 0;
    transform: scale(0);
   transition: all 0.5s cubic-bezier(.25,-0.125,0,1.25);
}

#main.is-overview #container .jacke.focus,
#main.is-overview #container .hose.focus {
    width: 100%;
    top: 25%;
    left: 0;
}

#main.rotate #container .jacke.focus,
#main.rotate #container .hose.focus {
    width: 67%;
    max-height: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    animation: toFront 0.5s linear;
    transition: height 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53),
     width 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53),
     top 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53),
     left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
     z-index 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
}

.jacke svg,
.hose svg {
    height: 100%;
    width: auto;
}

.hose {
  width: 15% !important;
}

.hose[data-pos="2"] {
  left: 55% !important;
}

.hose[data-pos="3"] {
  left: 75% !important;
}

#container .hose.focus {
  width: 50% !important;
  left: 5% !important;
}

#sidebar {
    background: #d4eae1;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    width: 15rem;
    height: 100vh;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 35;
    transition: all 0.3s ease;
}

.overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 0;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
  z-index: 30;
}

#measurements-sidebar {
  background: #f4fbf8;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  width: 65%;
  height: 100vh;
  padding: 1.5rem;
  position: absolute;
  top: 0;
  right: -67%;
  z-index: 35;
  transition: all 0.3s ease;
}

#measurements-sidebar.open {
  right: 0;
}

#load-container {
  background: #fefefe;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  width: 100vw;
  height: 100%;
  padding: 1.5rem 0 1.5rem 6rem;
  position: absolute;
  bottom: -100%;
  left: 0;
  z-index: 60;
  transition: all 0.3s ease;
}

#load-container.open {
  bottom: 0;
}

#save,
#createNewUser-btn {
    display: block;
    height: 3.5rem;
    width: auto;
    line-height: 1;
    text-transform: uppercase;
    border-radius: 1.75rem;
    padding: 0.875rem 1.5rem 0.875rem 4rem;
    box-shadow: 0 4px 10px rgb(0 0 0 / 25%);
    margin-left: 1rem;
    position: relative;
}

#save .accordion-btn-text{
    text-align: center;
}

#print {
  box-shadow: 0 4px 10px rgb(0 0 0 / 25%);
  position: relative;
  z-index: 50;
}

#print-with-details,
#print-basics {
  font-weight: 600;
  height: 3.5rem;
  width: 3.5rem;
  padding: 0.75rem;
  border-radius: 2rem;
  background-color: #2b3e39;
  box-shadow: 0;
  opacity: 0;
  overflow: hidden;
  z-index: 20;
  position: absolute;
  top: 0;
  left: 0;
  transition: width 0.2s ease, transform 0.2s ease, opacity 0.2s;
}

#print-with-details.show{
  box-shadow: 0 4px 10px rgb(0 0 0 / 25%);
  width: 12rem;
  opacity: 1;
  transform: translateX(-25rem);
  transition: width 0.2s ease, transform 0.3s ease, opacity 0.2s ease;
}

#print-basics.show {
  box-shadow: 0 4px 10px rgb(0 0 0 / 25%);
  width: 12rem;
  opacity: 1;
  transform: translateX(-12.5rem);
  transition: width 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

#createNewUser-btn {
  background-color: #2b3e39;
  color: #f4fbf8;
  display: flex;
  padding: 0.875rem 1.5rem 0.875rem 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

#createNewUser-btn svg {
  fill: #f4fbf8;
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
}

#buttonnavbar{
    display: flex;
    justify-content: space-between;
}
/*
.buttongrp .button {
    color:#2b3e39;
    font-weight: 400;
    text-align: center;
    width: 6rem;
    height: 5rem;
    height: 100%;
    background: #d4eae1;
    border-right:1px solid rgba(0, 0, 0, 0.25);
    border-left:1px solid rgba(0, 0, 0, 0.25) ;
    float:left;
    cursor: pointer;
}
*/

.buttongrp .button {
  color:#2b3e39;
  background-color: transparent;
  font-weight: 400;
  text-align: center;
  width: 4rem;
  height: auto;
  padding: 0;
  cursor: pointer;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
}

.buttongrp .button .micon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.5rem;
  background: #d4eae1;
  box-shadow: 0 4px 10px rgb(0 0 0 / 25%);
  border-radius: 50%;
  display: flex;
  transition: all 0.2s ease-out 0.2s;
}

.buttongrp .button:active {
  border-style: outset;
  background: transparent;
}

.buttongrp .button:active .micon,
.buttongrp .button.active .micon {
  box-shadow: none;
  background:#2b3e39;
  transform: scale(0.99) translateY(2px);
  transition: all 0.2s ease-out;
}

.buttongrp .button:active svg,
.buttongrp .button.active svg {
  fill: #ffffff;
}

.buttongrp .button .micon svg {
  width: 1.5rem;
  height: 1.5rem;
}

#main.is-preview #sidebar,
#main.is-overview #sidebar {
    right: -40vw;
}

#sidebar h4 {
    padding-left: 1.5rem;
}

.accordion {
    background: transparent;
}

.accordion-content.aside {
    height: calc(100vh - 14rem);
    max-height: calc(100vh - 14rem);
    overflow-y: scroll !important;
    overflow-anchor: none;
}

.buttongrp span{
  font-size: 0.75rem;
    opacity: 75%;
}
.buttongrp svg{
    opacity: 75%;
    display: block;
    margin:auto;
}

.aside::-webkit-scrollbar,
nav#products::-webkit-scrollbar,
.grid-container-form .grid-container::-webkit-scrollbar {
    position: absolute;
    width: 0.5rem !important;
    height: 0.5rem !important;
}

.aside::-webkit-scrollbar-thumb,
nav#products::-webkit-scrollbar-thumb,
.grid-container-form .grid-container::-webkit-scrollbar-thumb {
	background-color: rgba(43, 62, 57, 0.5);
}

.aside::-webkit-scrollbar-track,
nav#products::-webkit-scrollbar-track,
.grid-container-form .grid-container::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.25);
}

.accordion-title,
.accordion-title:focus {
    font-size: 1rem;
    color: #2b3e39;
    background: transparent;
    border: none;
    padding: 1rem 3rem 1rem 1.5rem;
    transition: all 0.6s ease;
    position: relative;
    text-overflow: ellipsis;
    overflow: hidden !important;
    white-space: nowrap;
}

.accordion-title .choice {
    display: block;
    width: 1.75rem;
    height: 1.75rem;
    background:rgba(43, 62, 57, 0.5);
    border-radius: 50%;
    position: absolute;
    right: 0.625rem;
    top: 50%;
    transform: translateY(-50%) scale(0);
    transition: all 0.3s cubic-bezier(.25,-0.125,0,1.25);
    z-index: 5;
}

.accordion-title.light .choice {
    box-shadow: 0px 0px 10px rgba(212, 234, 225, 0.35);
}

.accordion-title.dark .choice {
    box-shadow: 0px 0px 10px rgba(43, 62, 57, 0.25);
}

.accordion-title .choice.is-active {
    transform: translateY(-50%) scale(1);
}

.accordion-title:hover,
.accordion-title.hovered {
    color: #2b3e39;
    background: rgba(43, 62, 57, 0.25);
    transition: all 0.2s ease;
}

.accordion-title::before {
    position: absolute;
    top: 50%;
    right: 1.25rem;
    margin-top: -0.5rem;
    content: "+";
    z-index: 10;
}

.accordion-title.light::before {
    color: #f4fbf8;
}

.accordion-title.dark::before {
    color: #2b3e39;
}

.config > .accordion-item {
    border-bottom: 1px solid rgba(43, 62, 57, 0.25);
}

.sides {
    height: calc(100vh - 14rem + 7rem);
    margin-bottom: 0;
}

.sides > .accordion-item > .accordion-title {
    color: #f4fbf8;
    font-weight: 600;
    height: 3.5rem;
    background: rgba(43, 62, 57, 0.5);
    padding: 1.25rem 1.5rem;
}

.sides > .accordion-item > .accordion-title::before {
    right: 1.75rem;
}

.sides > .accordion-item > .accordion-title:hover {
    background: rgba(43, 62, 57, 0.75);
}

.sides >.is-active > .accordion-title,
.sides >.is-active > .accordion-title:hover {
    background: #2b3e39;
}

.config .is-active > .accordion-title {
    color: #f4fbf8;
    background: rgba(43, 62, 57, 0.75);
}

.config .accordion-content {
    background: repeating-linear-gradient( -45deg, transparent, transparent 0.5rem, #bfd4ca 0.5rem, #bfd4ca 1rem);
}

.accordion-title .counter {
    color: rgba(212, 234, 225, 0.5);
    font-weight: 400;
    display: inline-block;
    margin-left: 0.5rem;
}

.accordion-title .countbar {
    background: rgba(212, 234, 225, 0.5);
    width: 0%;
    height: 0.25rem;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.3s ease;
}

.accordion-content {
    padding: 0;
    background: transparent;
    border: none;
}

:last-child > .accordion-content:last-child {
    border-bottom: none;
}

:last-child:not(.is-active) > .accordion-title {
    border-bottom: none;
}

.color-cfg {
    text-align: center;
    width: 20%;
    height: 2.5rem;
    padding: 0.5rem 1rem;
    display: inline-block;
    vertical-align: top;
    position: relative;
    transition: all 0.2s ease;
    overflow: hidden;
}

.color-cfg::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    transition: all 0.2s ease;
}

.color-cfg.is-active {
    text-align: left;
}

.color-cfg::before {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    left: calc(50% - 0.75rem);
    bottom: -1.75rem;
    transition: all 0.2s cubic-bezier(.25,-0.125,0,1.25);
}

.color-cfg.light::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="%23f4fbf8"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
}

.color-cfg.dark::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="%232b3e39"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
}

.color-cfg.is-active::before {
    bottom: 0.5rem;
}

.color-cfg.light {
    color: #f4fbf8;
}

.color-cfg.light:hover::after {
    border: 5px solid #f4fbf8;
}

.color-cfg.dark {
    color: #2b3e39;
}

.color-cfg.dark:hover::after {
    border: 5px solid #2b3e39;
}

#input {
    opacity: 1;
    z-index: 25;
    display: block;
    margin: 0;
    position: relative;
    top: 55%;
    left: 5%;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
}

#main.is-overview #input,
#main.is-preview #input,
#main.rotate #input,
#main #input.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: 15;
}

.colorwheel {
    position: absolute;
}

.point, .color {
    background: transparent;
    width: 1.5rem;
    height: 1.5rem;
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.25), inset 0 1px 4px rgba(0, 0, 0, 0.25);
    display: block;
    position: absolute;
    transform: translate(-50%, -50%) scale(1);
    z-index: 10;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(.25,-0.125,0,1.25);
    -webkit-tap-highlight-color: transparent;
}

#main.rotate .point,
#main.is-preview .point,
#main #input.hidden .point {
    transform: translate(-50%, -50%) scale(0); 
}

.color {
    width: 1.75rem;
    height: 1.75rem;
    opacity: 0;
    border: 3px solid #ffffff;
    box-shadow: none;
    top: 0;
    left: 0;
    z-index: 5;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(.25,-0.125,0,1.25);
}

.color.open {
    opacity: 1;
    pointer-events: auto;
    z-index: 25;
    transition: all 0.2s cubic-bezier(.25,-0.125,0,1.25);
}

.color.open::before {
    content: '';
    width: 2rem;
    height: 2rem;
    border-radius: 1rem;
    position: absolute;
    top: -0.325rem;
    left: -0.325rem;
}

.point:not(.open):hover,
.point.hovered {
    width: 2.5rem;
    height: 2.5rem;
    background: #ffffff !important;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.25);
}

.point.open {
    width: 7rem;
    height: 7rem;
    border: 5px solid #ffffff;
    background: #80948d;
    box-shadow: 0 0 56px 40px rgba(0, 0, 0, 0.5), inset 0 2px 10px rgba(0, 0, 0, 0.25);
    z-index: 20;
}

.point.open::before {
    content: '';
    width: 15rem;
    height: 15rem;
    border-radius: 7.5rem;
    position: absolute;
    top: -4.25rem;
    left: -4.25rem;
}

#btnSidebarExpand{
    position: absolute;
    display:block;
    top: 0;
    right: 15rem;
    width: 3rem;
    height: 3.5rem;
    background-color: #80948d;
    transition: all 0.3s ease;
}
#btnSidebarExpand svg{
    transform: rotate(180deg);
}
#sidebar.collapse #btnSidebarExpand{
    right: 5rem;
}

#sidebar.collapse #btnSidebarExpand svg{
    transform: rotate(0deg);
}

#footer{
    position: fixed;
    width: 100%;
    bottom: 0;
    right: 0;
}
#rightcornermenu{
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    z-index: 30;
}

#rightcornermenu h3 {
    padding-left: 1rem;
    padding-right: 1rem;
    color:#80948d;
    font-weight: 400;
    font-size: 1rem;
}

#leftcornermenu {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    justify-content: left;
    flex-direction: column-reverse;
    z-index: 100;
}

#leftcornermenu .button{
    margin: 1rem;
}

#container-preset-wrapper {
  background: #d4eae1;
  border-radius: 1.75rem;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  position: absolute;
  top: 8rem;
  right: 1.5rem;
  z-index: 10;
}

#container-preset-wrapper h5 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 0;
}

#container-presets {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.preset {
    height: 8rem;
    width: 8rem;
    text-align: center;
    position: relative;
}

.preset img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1);
  transition: all 0.2s ease;
  display: none;
}

#container-preset-wrapper.collapsed .preset {
  width: 2.5rem;
  height: 2rem;
}

#container-preset-wrapper.collapsed .preset img {
  transform: scale(0);
}

#container-preset-wrapper.collapsed .dot {
  height: 2rem;
  width: 2rem;
  margin-left: 0.5rem;
  display: block;
  position: relative;
  right: 0;
  bottom: 0;
}

.padding1rem{
    padding: 1rem;
}

.sticktoBottomleft{
    position:absolute;
    left: 0;
    bottom: 0;
}

.accordion-btn-text{
    vertical-align: middle;
}

.dot {
    background-color: rgb(108, 56, 172);
  }

  .micon{
    display: block;
  }

  .sicon {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    top: 50%;
    left: 1.5rem;
    margin-right: 1rem;
    transform: translateY(-50%);
  }

 .button.disabled, .button[disabled], .button.disabled:hover, .button[disabled]:hover, .button.disabled:focus, .button[disabled]:focus, .button.disabled:active, .button[disabled]:active {
    cursor: not-allowed !important;
    background-color: transparent;
    opacity: 0.5;
  }

  .button.disabled .micon {
    box-shadow: none;
    transform: scale(0.99) translateY(2px);
  }

  .measurements-container{
    display: flex;
    max-height: 80vh;
  }

  .measurements-container > div{
    width: 50%;
  }

  #measurements-sidebar .measurementVisualization {
    width: 100%;
  }

  .measurements-containter > form{
    width: 50%
  }

  #measurements-sidebar #measurementsForm {
    width: 100%;
    padding: 0 0 0 1.5rem;
  }

  .measurements-input{
    max-width: 4rem;
  }

  #measurementInputs > div {
    padding:0.5rem;
    
  }

  #measurementsForm {
    overflow-x: visible;
    overflow-y: auto;
  }

  .grid-container-form .grid-container {
    padding-bottom: 1rem;
    max-height: 80vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 3rem;
    padding-left: 0;
  }

  #filter_volltext, #filter_volltext2 {
    font-size: 1.5rem;
    height: 3.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0;
  }

  #volltext_result, #volltext_result2{
    width: 100%;
    padding: 0;
    position: relative;
    margin-top: -2px;
    border: none;
  }

  #volltext_result ul, #volltext_result2 ul {
    margin: 0;
  }

  #volltext_result li, #volltext_result2 li {
    pointer-events: auto;
    padding: 0.875rem 1rem;
    border-right: 1px solid #cacaca;
    border-bottom: 1px solid #cacaca;
    border-left: 1px solid #cacaca;
    border-radius: 0;
    list-style-type: none;
    display: grid;
    grid-template-columns: 3rem 30% auto 20%;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  #volltext_result li.active,
  #volltext_result2 li.active {
    background-color: #bfd4ca;
  }

  #results {
    margin-top: 1rem;
  }

  #results tr{
    cursor: pointer;
  }

  .printbutton-container{
    display:flex;
    justify-content: space-evenly;
  }

  .printbutton-container .button{
    flex: 1 1 0px;
    margin-right: 1.5rem;
    margin-left: 1.5rem;
    border-radius: 1.75rem;
  }