@font-face {
    font-family: "ks-configurator-icons";
    src: url("fonts/ks-configurator-icons.woff") format("woff"),
         url("fonts/ks-configurator-icons.ttf") format("truetype"),
         url("fonts/ks-configurator-icons.svg#ks-configurator-icons") format("svg");
    font-weight: normal;
    font-style: normal;
}

.ksfont-arrow-left::before { content: "\e001"; }
.ksfont-arrow-right::before { content: "\e002"; }
.ksfont-arrow-up::before { content: "\e00f"; }
.ksfont-arrow-down::before { content: "\e000"; }
.ksfont-angle-dbl-left::before { content: "\e0fa"; }
.ksfont-angle-dbl-right::before { content: "\e0f9"; }
.ksfont-reset::before { content: "\e008"; }
.ksfont-save-configuration::before { content: "\e0ff"; }
.ksfont-zoom-in::before { content: "\e0fe"; }
.ksfont-zoom-out::before { content: "\e0fd"; }
.ksfont-zoom-to-fit::before { content: "\e0fb"; }
.ksfont-zoom-to-100::before { content: "\e0fc"; }
.ksfont-hide-menu-bar::before { content: "\E00C"; }
.ksfont-show-menu-bar::before { content: "\E003"; }

:root {
    --color-panel-background: rgba(50,50,50,0.25);
    --color-panel-border: rgba(85,85,85,1);
    --color-title-text: rgba(255,255,255,1);
    --color-title-background: rgba(80,80,80,0.3);
    --color-title-text-selected: rgba(255,255,255,1);
    --color-title-background-selected: rgba(0,153,255,1);
    --color-title-text-hover: rgba(255,255,255,1);
    --color-title-background-hover: rgba(0,102,255,1);
    --color-thumbnail-text: rgba(90,90,90,1);
    --color-thumbnail-background: rgba(255,255,255,0);
    --color-thumbnail-border: rgba(255,255,255,0);
    --color-thumbnail-text-selected: rgba(90,90,90,1);
    --color-thumbnail-background-selected: rgba(255,255,255,0.1);
    --color-thumbnail-border-selected: rgba(255,255,255,0);
    --color-thumbnail-text-hover: rgba(90,90,90,1);
    --color-thumbnail-background-hover: rgba(255,255,255,0.1);
    --color-thumbnail-border-hover: rgba(0,153,255,1);
    --color-window-background: rgba(97,97,97,1);
    --size-titles-font: 14;
    --size-thumbnail-font: 12;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    background: var(--color-window-background);
    position: relative;
}

#main {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    --image-top: 0;
    --image-left: 0;
    --image-zoom-factor: 0.85;
}

.mainimg {
    flex: 0 0 auto;
    position: relative;
    top: calc(var(--image-top) * 1px);
    left: calc(var(--image-left) * 1px);
    transform: scale(var(--image-zoom-factor));
}

#logo {
    display: flex;
    padding-top: 10px;
    /* position: fixed; */
    top: 0;
}

  .column {
    /* flex: 1; */
    padding-left: 15px;

  }

  .text-column {
    color: white; /* Set text color to white */
  }

  .logoimg {
    /* width: 20%;
    max-width: 20%; */
    height: auto;
  }

.movablecursor {
    cursor: move;
}

.toolbar {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: transparent;
}

.toolbarbutton {
    font-family: "ks-configurator-icons";
    font-size: 20pt;
    user-select: none;
    -webkit-user-select: none;
    padding-bottom: 10px;
    color: #8A8A8A;
}
.toolbarbutton:hover {
    color: #73B0F0;
    cursor: pointer;
}
.toolbarbutton.selected {
    color: #0092FF;
}

.panelarea {
    position: fixed;
    top: 25%;
    display: flex;
    background: #000;
    padding-left: 25px;
    --flowwidget-first-size: 50;
    /* This is set to "100 - flowwidget-first-size". It looks like Firefox doesn't like calc() in flex: values (observed in version 56) */
    --flowwidget-second-size: 50;
}

.panelarea.layouthorizontal {
    left: 0;
    bottom: 0;
    height: calc(var(--touch-ui-height) * 1%);
    width: auto;
    flex-direction: row;
    opacity: 1;
}

.panelarea.layouthorizontal.hidden{
    opacity: 0;
}

.panelarea.layoutvertical {
    top: 0;
    right: 40px;
    height: 100%;
    width: calc(var(--touch-ui-height) * 1%);
    flex-direction: column;
}

.panelarea > .flowwidget:first-child {
    flex: var(--flowwidget-first-size) var(--flowwidget-first-size) 0;
}
.panelarea > .flowwidget:not(:first-child) {
    flex: var(--flowwidget-second-size) var(--flowwidget-second-size) 0;
}
span.closes {
position: absolute;
    top: -9px;
    right: -12px;
    background: #fff;
    padding: 5px 8px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    z-index: 99999;
    cursor: pointer;
    color: #000;
    width: 28px;
    text-align: center;
}
.flowselectionbody {
    width: 300px;
    overflow: inherit;
    border: 1px solid #6d6969;
    border-radius: 6px;
    padding: 10px;
    top: 0;
    position: absolute;
    left: -355px;
    opacity: 0;
    background: #000;
    transition: 0.8s;
}
.flowselectionbody.hidden {
    display: none;
}
.flowselectionbody.wide {
    width: 350px;
    top: -80%;
}
.flowselectionbody.listlayout {
    left: 150px;
    opacity: 1;
}

.flowwidgetbody {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    height: 100%;
    overflow: auto;
    border: none;
    background: transparent;
    color: white;
    box-sizing: border-box;
    padding: 3px;
    font-size: calc(var(--size-thumbnail-font) * 1pt);
    --thumbnail-size-percentage: 50%;
    --current-thumbnail-width: 128px;
    --current-thumbnail-height: 128px;
}

.flexaligncontentworkaround .flowselectionbody::before {
    content: "";
    flex: 0 0 100%;
    width: 0;
}

.flowselectionbody > * {
    flex: 0 0 var(--thumbnail-size-percentage);
    min-height: 0;
}
.flowaccordiongroup.selected > .flowaccordiongroupbody > * {
    width: var(--thumbnail-size-percentage);
    flex: 0 0 auto;
    min-height: 0;
}

.flowthumbnailitem {
    box-sizing: border-box;
    padding: 3px;
    width: 50%;
    display: inline-block;
    text-align: center;
}
.flowselectionbody.wide .flowthumbnailitem {
    width: 33.333333%;
}
.flowthumbnailitem > div {
    height: 100%;
    display: inline-block;
    width: 100%;
    min-width: 0;
}
.flowselectionbody.listlayout .flowthumbnailitem > div {
/*    flex-direction: row;*/
}
.flowthumbnailitem > div > * {
    min-height: 0;
}
.flowselectionbody > .flowthumbnailitem > div > :first-child {
    flex: 1 1 0;
    width: var(--current-thumbnail-width);
}
.flowselectionbody > .flowthumbnailitem > div > img {
    object-fit: contain;
    max-width: 100%;
}
.flowselectionbody.listlayout > .flowthumbnailitem > div > :first-child {
    flex: 0 0 auto;
    height: 100%;
    width: auto;
}
.flowselectionbody.listlayout > .flowthumbnailitem > div > svg {
    max-width: none;
    max-height: 50px;
}
.flowselectionbody > .flowthumbnailitem > div > span {
    max-width: var(--current-thumbnail-width);
}
.flowselectionbody.listlayout > .flowthumbnailitem > div > span {
    width: 12em;
    max-width: none;
    padding-left: 5px;
}
.flowaccordiongroupbody > .flowthumbnailitem > div > :first-child {
    width: 100%;
}
.flowaccordiongroupbody > .flowthumbnailitem > div > img {
    flex: 0 0 auto;
}
.flowaccordiongroupbody > .flowthumbnailitem > div > span {
    max-width: 100%;
}
.flowthumbnailitem > div > span {
    flex: 0 0 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 2px;
    width: 100% !important;
    display: block;
    text-align: center;
    color: #fff;
    margin: 0 auto;
    font-size: 14px;
}
.flowthumbnailitem > div > svg {
    max-width: 50px;
}
.flowaccordiongroupbody > .flowthumbnailitem > div > svg {
    height: var(--current-thumbnail-height);
}
.flowthumbnailitem > div > svg path {
    fill: var(--color-thumbnail-text);
}

.hidethumbnailtext .flowthumbnailitem > div > span {
    display: none;
}

.flowthumbnailitem > div:hover {
    background: var(--color-thumbnail-background-hover);
    border-color: var(--color-thumbnail-border-hover);
    color: var(--color-thumbnail-text-hover);
}
.flowthumbnailitem > div.selected, .flowthumbnailitem > div.selected:hover {
    background: var(--color-thumbnail-background-selected);
    border-color: var(--color-thumbnail-border-selected);
    color: var(--color-thumbnail-text-selected);
}

.hidden {
    visibility: hidden;
}

.nodisplay {
    display: none;
}

.flowselection {
    width: 100%;
    height: 100%;
    position: relative;
}

.flowselectionheaderbox {
    /*position: absolute;
    bottom: 100%;*/
    font-size: calc(var(--size-titles-font) * 1pt);
}

.flowselectionheaderbox > div {
    display: inline-block;
    vertical-align: bottom;
}

.flowheadertextbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.5em;
    white-space: nowrap;
    color: var(--color-title-text);
    background-color: transparent;
    --headertext-title: "Title";
    --headertext-value: "Current Value";
}
.flowheadertextbox:hover {
    color: var(--color-title-text-hover);
    background: #414141;
    border-radius: 25px;
}
.flowselectionheaderscrollbox {
    border-left: 1px solid var(--color-panel-border);
}
.flowselectionheaderscrollbox > div {
    padding: 0.5em;
    display: inline-block;
    vertical-align: bottom;
}

.flowheadertextbox.selected, .flowaccordiongroup.selected > .flowheadertextbox, .flowselectionheaderscrollbox > div {
    color: var(--color-title-text-selected);
    background: transparent;
}
.flowheadertextbox {
    padding-left: 15px;
    margin-bottom: 5px;
}
.flowheadertextbox.selected:hover, .flowaccordiongroup.selected > .flowheadertextbox:hover, .flowselectionheaderscrollbox > div:hover {
    color: var(--color-title-text-hover);
    background: #414141;
    border-radius: 25px;
}
.flowheadertextbox.selected {
    color: var(--color-title-text-hover);
    background: #414141;
    border-radius: 25px;
}
.flowheadertext {
    flex: 1 1 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}
.flowheadertext::before {
    content: var(--headertext-title);
}
.flowheadertext::after {
    content: var(--headertext-value);
    font-weight: normal;
    display: none;
}

.flowheadermarker {
    flex: 0 0 auto;
    font-family: "ks-configurator-icons";
    padding-left: 0.3em;
}

.flowselectionheaderscroller {
    user-select: none;
    -webkit-user-select: none;
}
.flowselectionheaderscroller > span {
    font-family: "ks-configurator-icons";
    vertical-align: middle;
    line-height: 1px;
}

.flowselection .flowselectionheadermenu.hidden + .flowheadertextbox .flowheadermarker.ksfont-arrow-up {
    display: none;
}
.flowselection .flowselectionheadermenu:not(.hidden) + .flowheadertextbox .flowheadermarker.ksfont-arrow-left {
    display: none;
}
.flowselection .flowselectionheadermenu:not(.multioptions) + .flowheadertextbox .flowheadermarker {
    display: none;
}

.flowaccordion {
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.flowaccordiongroup {
    flex: 0 0 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.flowaccordiongroup.selected {
    flex: 1 1 auto;
}
.flowaccordiongroup > .flowaccordionheader {
    flex: 0 0 auto;
    font-size: calc(var(--size-titles-font) * 1pt);
}
.flowaccordiongroup > .flowaccordiongroupbody {
    flex: 0 1 auto;
}

.flowaccordiongroup > .flowaccordiongroupbody {
    display: none;
}

.flowaccordiongroup.selected > .flowaccordiongroupbody {
    display: flex;
}

.flowaccordiongroup.selected .flowheadermarker.ksfont-arrow-left {
    display: none;
}
.flowaccordiongroup:not(.selected) .flowheadermarker.ksfont-arrow-down {
    display: none;
}
.flowaccordiongroup:only-child .flowaccordionheader .flowheadermarker {
    display: none;
}

.flowwidgetdraghandle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: none;
}

.layouthorizontal .flowwidgetdraghandle {
    flex-direction: column;
    cursor: col-resize;
}
.layoutvertical .flowwidgetdraghandle {
    flex-direction: row;
    cursor: row-resize;
}

.flowwidgetdraghandledot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #8A8A8A;
}
.layouthorizontal .flowwidgetdraghandledot {
    margin: 2px 1px;
}
.layoutvertical .flowwidgetdraghandledot {
    margin: 1px 2px;
}

.flowwidgetdraghandle:hover > .flowwidgetdraghandledot {
    background-color: #73B0F0;
}

#splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    display: none; 
  }
  #splash-container.show {
    display: block; 
  }
  #splash {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    /* background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 50px 30px rgba(255, 255, 255, 0.5); */
    background-color: rgba(255, 215, 0, 0.5); 
    box-shadow: 0 0 50px 30px rgba(218, 165, 32, 0.5); 
    animation: splash 1s ease-out;
  }
  .hidden {
    display: none !important; 
  }

.mainimg_loading_spinner_container {
    position: absolute; 
    display: block;
    z-index: 1000;
    top: 50%;
    left: calc(50% - 100px);
    transform: scale(var(--image-zoom-factor));
}

.mainimg_loading_spinner {
/*    animation: spin 3s linear infinite;*/
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#form-submit {
    display: none;
    width: 300px;
    position: fixed;
    top: 0;
    left: -300px;
    background: #000;
    z-index: 999;
    height: 100%;
    opacity: 1;
    border-right: 1px solid #ccc;
}
.header-form {
    padding-top: 15px;
}
.header-form img {
    max-width: 110px;
    padding-left: 10%;
}
a.close-form {
    color: #fff;
    position: absolute;
    top: 16px;
    right: 12px;
    font-size: 13px;
    border: 1px solid #ccc;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
}
.main-form {
    padding: 10%;
}
.main-form h3 {
    color: #fff;
    font-size: 35px;
    text-transform: uppercase;
    font-weight: 100;
    line-height: unset;
    margin: 25% 0 25px;
}
.main-form label {
    color: #fff;
    display: block;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 100;
    margin: 20px 0 5px;
}
.main-form input {
    width: 100%;
    display: block;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #ccc;
    outline: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    margin-top: 5px;
}
input[type=number] {
  -moz-appearance: textfield !important;
}
input:hover, input:focus, input:visited, input:active, input:-internal-autofill-selected {
    background: transparent;
    box-shadow: none;
    outline: none;
}
input.btn-submit {
    border: 1px solid #ccc;
    margin: 30px auto 0;
    display: inline-block;
    width: fit-content;
    background: #3200E8;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: .3s;
}
input.btn-submit:hover {
    box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2);
    background: transparent;
    box-shadow: none;
    outline: none;
}

#add-to-card-custom {
    position: absolute;
    z-index: 99;
    top: 5%;
    right: 50px;
    display: inline-block;
    background: #000;
    height: 2.2em;
    width: 8em;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: space-between;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2em;
    text-align: center;
    line-height: 3em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s;
    border-radius: 4px;
    border: 1px solid #fff;
}
#add-to-card-custom:hover {
    background: #3200E8;
}
div:where(.swal2-container) div:where(.swal2-popup) {
    background: #000000de !important;
    color: #fff !important;
    box-shadow: 0px 0px 10px #ffffff87;
    width: 48em !important;
    padding-bottom: 35px !important;
}
div:where(.swal2-container) h2:where(.swal2-title) {
    text-transform: uppercase !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.swal2-icon {
    padding-top: 0px !important;
    margin-top: 15px !important;
}
a.btn-explore {
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    background: #ffffff33;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 16px;
}
.text-column h2 {
    font-size: 25px;
}
@media screen and (max-width: 768px){
    .panelarea {
        position: absolute;
        top: unset;
    }
    .flowselectionbody {
        width: 95%;
        top: unset;
        position: relative;
        left: 0;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: flex-start;
        height: 150px;
        overflow: auto;
        border: none;
        background: transparent;
        color: white;
        box-sizing: border-box;
        padding: 3px;
        font-size: calc(var(--size-thumbnail-font)* 1pt);
        border: 1px solid #5f5a5a;
        padding: 15px;
        --current-thumbnail-width: 95% !important;
    }
    .flowthumbnailitem {
        width: 25%;
    }
    .flowthumbnailitem > div > span {
        font-size: 13px;
    }
    .flowselectionbody > .flowthumbnailitem > div > img {
        max-height: 80px !important;
    }
    .flowselectionbody.wide {
        width: 95%;
        top: 0;
    }
    #logo {
        position: relative;
    }
}
@media screen and (max-width: 480px){
    div#main {
        --image-zoom-factor: 0.3046875 !important;
    }
    .mainimg {
        top: -70px;
    }
    div:where(.swal2-container) div:where(.swal2-popup) {
        width: 40em !important;
    }
    #add-to-card-custom {
        top: 3%;
        right: 20px;
    }
    #logo {
        position: relative;
        width: 100%;
        text-align: center;
        display: block;
        top: calc(100% - 170px);
    }
    .flowheadertext::before {
        font-size: 14px;
    }
    .flowselectionheadermenu {
        width: 120px !important;
    }
    .flowselectionbody {
        left: 125px !important;
        width: 250px;
        top: -270px;
        height: auto;
        display: block;
        --current-thumbnail-width: 0% !important;
    }
    .panelarea {
        padding-left: 5px;
    }
    .toolbar {
        height: 70%;
        display: none;
    }
    .flowselectionbody.wide {
        width: 252px;
        top: -270px;
    }
    .flowthumbnailitem {
        width: 50% !important;
        max-height: 110px;
    }
    #form-submit {
        width: 100%;
    }
    .main-form h3 {
        color: #fff;
        font-size: 35px;
        text-transform: uppercase;
        font-weight: 100;
        line-height: unset;
        margin: 0 0 25px;
    }
    .main-form h3 {
        font-size: 45px;
        font-weight: 600;
        margin: 0 0 25px;
        letter-spacing: 0.6rem;
    }
    .flowselectionbody > .flowthumbnailitem > div > img {
        max-height: 80px;
    }
}