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;
}

.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;
}

@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;
}

/* Help popup: content area tall enough for video + text */
#cboxLoadedContent {
    min-height: 650px !important;
}