div#stlFileFeedback {
    font-size: x-small;
}

section#fieldsetstap3 {
    margin-bottom: 0px;
}

#checkplotopen, #checkplotdicht {
    display: none;
}

section.calculator-section.step-2.section-simulate {
    margin-bottom: 1px;
}

.featherlight-calculator .view-and-simulate .colum-header .graph-3d-toggle {
    position: absolute;
    top: 4px;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.featherlight-calculator .view-and-simulate .colum-header .graph-3d-toggle .form-button {
    position: static;
    margin: 0;
}

.button-copy-moments {
    display: inline-block;
    margin: 0;
    padding: 2px 8px;
    font-size: 13px;
}

.ddTitleText img, ._msddli_ img {
    margin: 5px !important;
}


li.disabled._msddli_ {
    display: none !important;
}

#helpdiv h1 {
    font-size: 16px !important;
    margin-left: 5px;
}

#helpdiv {
    font-size: 13px;
    border: 1px solid #d5d5d5;
    padding: 5px;
}

#helpdiv {
    overflow-y: auto;
    overflow-x: hidden;
}

.step2-canvas-mini {
    position: fixed;
    top: 200px;
    overflow: hidden;
    border: 1px solid #d5d5d5;
    padding: 0;
    background: #fff;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.step2-canvas-mini.visible {
    opacity: 1;
}

.step2-canvas-mini-tabs {
    display: flex;
    gap: 2px;
    padding: 4px 4px 0;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.step2-mini-tab {
    flex: 1;
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid #d5d5d5;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background: #fff;
    cursor: pointer;
    color: #666;
}

.step2-mini-tab:hover {
    background: #f0f0f0;
    color: #333;
}

.step2-mini-tab.active {
    background: #fff;
    color: #0064b9;
    font-weight: 600;
    border-color: #d5d5d5;
    margin-bottom: -1px;
    padding-bottom: 5px;
}

.step2-canvas-mini-content {
    position: relative;
    padding: 5px;
    overflow: auto;
    max-height: calc(100vh - 260px);
}

.step2-canvas-mini-img img {
    max-width: 100%;
    height: auto;
    display: block;
}

.step2-mini-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.step2-mini-loader-overlay::after {
    content: "";
    width: 28px;
    height: 28px;
    border: 3px solid #e0e0e0;
    border-top-color: #0064b9;
    border-radius: 50%;
    animation: step2-mini-spin 0.8s linear infinite;
}

@keyframes step2-mini-spin {
    to { transform: rotate(360deg); }
}

/* Off-screen 3D capture: render for mini without visible flicker */
.step2-mini-3d-capture {
    position: absolute !important;
    left: -9999px !important;
    top: 0 !important;
    overflow: hidden !important;
}

.rekentool p.my_backorder_notification,
.rekentool p.my_instock_notification {
    height: auto !important;
    font-size: unset;
}

input:disabled,
select:disabled,
checkbox:disabled {
    background-color: lightgray;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 2px 10px;
    cursor: pointer;
    border-radius: 3px;
}

.custom-file-upload:hover {
    box-shadow: 0 0 3px darkslategray;
}

#alarmdiv {
    animation: colorchange 1s infinite;
    -webkit-animation: colorchange 1s infinite;
    border-radius: 3px;
}

.cheaper-tip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 10px 0;
    padding: 10px 14px;
    border: 1px solid #8bc34a;
    border-left-width: 5px;
    border-radius: 3px;
    background: #f1f8e9;
}

.cheaper-tip__button {
    cursor: pointer;
    padding: 5px 12px;
    border: 0;
    border-radius: 3px;
    background: #4caf50;
    color: #fff;
}

.cheaper-tip__button:hover {
    background: #388e3c;
}

@keyframes colorchange {
    0% {
        background: red;
    }
    50% {
        background: orange;
    }
}

@-webkit-keyframes colorchange /* Safari and Chrome - necessary duplicate */
{
    0% {
        background: red;
    }
    50% {
        background: orange;
    }
}

.picdropdownleft {
    padding-left: 10px !important;
}

.picdropdownright {
    padding-right: 10px !important;
}

.out-of-stock {
    color: orange;
}

.in-stock {
    /*color: green;*/
}

.rekentool legend {
    background-color: white !important;
}

div.dd {
    cursor: pointer;
}

.ddTitleText {
    height: 95px !important;
}

.divider {
    display: none !important;
}

.dd .ddTitle {
    font-size: 12px;
}

.dd .ddTitle .description {
    font-size: 12px;
}

.picdropdownleft {
    height: 60px;
    padding: 5px;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.picdropdownright {
    height: 60px;
    padding: 5px;
}

.pctext {
    font-size: 13pt;
}

.loading:after {
    content: '';
    height: 30px;
    width: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    background: url('/wp-content/themes/storefrontfeatherlight_bvh/logos/loading.gif') center center !important;
}

.rekentool {
    position: relative;
}

.loading {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(245, 245, 245, 1);
    z-index: 990;
}

#myCanvas, #cvs, #container3d {
    width: 48%;
    /*text-align:center;*/
}

.rekentool p {
    margin-left: 5px;
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: left;
}

.rekentool fieldset {
    width: 100%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0px;
    margin-bottom: 3px !important;
    margin-top: 0px !important;
    border-radius: 4px;
    border-bottom: 1px solid rgba(0, 100, 185, 0.1) !important;
}

.rekform {
    margin-bottom: 3px;
}

.rekentool hr {
    color: #09C;
}

.rekentool legend {
    background: white;
}


input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    display: inline;
}

.boxrek {
    border: 0px dashed #444;
    width: 212px;
    vertical-align: top;
    display: inline-block;
    zoom: 1
}

#container3d {
    background: #FFF;
    width: 425px;
    height: 425px;
    padding-right: 5px;
}

div.toppictures {
    display: table;
    width: 100%;
    table-layout: fixed; /* For cells of equal size */
}

div.toppictures span {
    display: table-cell;
    text-align: center;
}

@media only screen and (min-width: 768px) {

    #WebGL-output canvas {
        width: 30vw !important;
        height: 30vw !important;
        background-color: rgba(255, 255, 255, 1);
        border-radius: 1.66667em !important;
        border: 1px solid lightgray;
    }

    .logo2d {
        float: left;
    }

    .logo3d {
        float: right;
    }


}



@media only screen and (max-width: 768px) {
    .slbCloseBtn {
        right: 5px !important;
        border-radius: 0.66667em;
        line-height: 0.66667em !important;
        width: 50px !important;
        height: 50px !important;
    }

    .slbContentOuter {
        padding: 0px !important;
    }

    #WebGL-output canvas {
        width: 90vw !important;
        height: 90vw !important;
        background-color: rgba(255, 255, 255, 1);
        border-radius: 1.66667em !important;
        border: 1px solid lightgray;
    }

   .inrowmobile {
        margin: 0px !important;
        width: 45% !important;
        display: inline-block !important;
    }

    .logo2d, .logo3d {
        margin: 0px !important;
    }

    .toppictures span input {
        width: 90% !important;
    }

    #myCanvas, #cvs, #container3d {
        width: 96%;
        text-align: center;
    }

    .rektr {
        display: table-row !important;
    }

    .rektr {
        border: 0px solid #ccc;
    }

    div.toppictures {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    #cameratools {
        display: none;
    }

    div.toppictures span {
        display: table-cell;
        text-align: center;
    }

    .wideonmobile {
        display: block !important;
        margin: 0px;
        width: 100% !important;
    }

    .dd.ddcommon.borderRadius {
        width: 100%;
    }

    #myCanvas, #container3D canvas, #cvs {
        /* width: 49% !important; */
    }

}

/* Gas spring tabs styling */
#gasveerTabs {
    margin-left: 0;
    padding-left: 0;
    border-bottom: 1px solid #dee2e6;
}

#gasveerTabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

#gasveerTabs .nav-link.active {
    background-color: #fff;
    color: #0066cc;
    border: 1px solid #dee2e6;
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
}

.powerise-mode-notice {
    margin: 2px 0 8px;
    font-size: 11px;
    line-height: 1.3;
    color: #8a9096;
}

.powerise-slider-compact {
    margin: 0 0 4px;
}

.powerise-slider-compact .powerise-slider {
    margin: 0 0 1px;
}

.powerise-slider-compact .powerise-slider-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    line-height: 1.1;
}

.powerise-slider-compact .specs-label {
    margin: 0;
    font-weight: 400;
}

.powerise-slider-compact input[type="range"] {
    display: block;
    width: 100%;
    height: 14px;
    margin: 0;
    padding: 0;
    accent-color: #b7bcc1;
}

/* Time increases to the right. The stored value stays a speed percent, so the track is mirrored.
   scaleX keeps the thumb on the track ends; direction:rtl leaves a gap in Chrome. */
.powerise-slider-compact input.powerise-time-slider {
    transform: scaleX(-1);
}

.powerise-mode-notice {
    margin: 2px 0 8px;
    font-size: 11px;
    line-height: 1.3;
    color: #8a9096;
}

.powerise-mode-notice[hidden] {
    display: none;
}

/* Open and Close sit in the top-right of the 2D canvas, only while the cover moves. */
.canvas-drawing {
    position: relative;
}

.canvas-stage {
    position: relative;
    line-height: 0;
}

.canvas-stage canvas {
    display: block;
}

.powerise-button-row {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    pointer-events: none;
    opacity: 0.5;
}

.powerise-button-row[hidden] {
    display: none;
}

.powerise-button-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 70px;
}

.powerise-button-clip {
    position: relative;
    width: 70px;
    height: 70px;
    overflow: hidden;
    background: transparent;
}

.powerise-button-clip video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
}

.powerise-button-canvas {
    display: block;
    width: 70px;
    height: 70px;
}

.powerise-button-clip video.is-hidden {
    visibility: hidden;
}

.powerise-button-label {
    margin-top: -7px;
    padding: 1px 4px 2px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.67rem;
    font-weight: 600;
    line-height: 1;
    color: #004584;
}