/* body {
    background-color: white;
} */

.fc-sec {
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: white;
}

.mainLeft-con {
    width: 340px;
    height: 100%;
    padding: 20px;
    /* background-color: white; */
    /* position: fixed; */
    /* overflow: scroll; */
}

.mainLeft {
    /* width: 340px;
    height: 100vh; */
    width: 100%;
    height: 100%;
    padding: 5px;
    /* position: fixed;
    overflow: scroll; */
    border: 1px solid black;
    border-radius: 10px;
    background-color: var(--cs-gray);
}

.mainLeft > h2 {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgb(238, 238, 238);/*rgb(238, 238, 238);*/
    /* margin: 15px 0 0 0; */
    padding: 30px 0 15px 0;
}

#camera-select-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

#camera-select {
    margin: 30px 0 0 0;
    padding: 10px;
    border: 1px solid rgb(221, 221, 221);
    display: block;
    min-width: 90%;
    border-radius: 4px;
}

.uploadImgBtnWrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.uploadImgBtn {
    width: 85%;
    height: 43px;
    background-color: var(--cs-yellow);
    color: black;
    border-radius: 4px;
    border: none;
    margin: 20px 0 0 0;
    cursor: pointer;
}
.upload-label {
    width: 85%;
    height: 43px;
    background-color: var(--cs-yellow);
    color: black;
    border-radius: 4px;
    border: none;
    margin: 20px 0 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.filterTools-sec {
    overflow: scroll; /* want it to scroll if content makes .mainLeft height > 100vh */
    display: flex;
    flex-direction: column;
    padding: 15px;
    margin-top: 5px 15px 15px 15px;
}

.filterBarTitle {
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgb(238, 238, 238);
}

.rangeLabel {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.range {
    margin-bottom: 10px;
    width: 100%;
    height: 10px;
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,.15);
    background-color: #00000026;
    position: relative;
}

/* Locked sliders (for Retro effect) */
.range.locked,
.rangeLabel.locked {
    opacity: 0.4;
}
.range.locked {
    pointer-events: none; /* disable dragging */
}

.thumb {
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    
}

.mini-thumb {
    background-color: #d3d0ca;
    width: 12px;
    height: 12px;
    border-radius: 50%;

}

.filler {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0px;
    height: calc(100% + 2px);
    transform: translate(0, -50%);
    background-color: #fece11;
    border: 1px solid #d2b13e;
    border-radius: 30px;

}

/* .fillerAnchorPnt {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    background-color: white;
    height: 5px;
    width: 5px;
    border-radius: 50%;
} */



.cs-8-fps-btnsCon {
    width: 100%;
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 0 10px;
    margin: 10px 0 10px 0;
}

.cs-8-fps-btnsCon[data-vis="true"] {
    display: flex;
}


.cs-8-fps-btn {
    width: 75px;
    height: 75px;
    min-width: 75px;
    min-height: 75px;
    border: 1px solid black;
    border-radius: 15px;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.cs-8-fps-btn[data-selected="true"] {
    background-color: var(--cs-yellow);
}



.blueBtn-flexCon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 20px 0;
    gap: 0 10px;
}

.blueFilterBtn {
    min-width: 75px;
    max-width: 75px;
    min-height: 32px;
    border: none;
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
}

.loadFilterBtn,
.resetFilterParamsBtn {
    background-color: var(--cs-gray);
    border: 1px solid black;
}



.saveFilterBtn {
    background-color: var(--cs-yellow);
    /* border: 1px solid black; */

    min-width: 75px;
    max-width: 75px;
    min-height: 32px;
    border: none;
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.saveFilterBtn.active {
    border: 1px solid black;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.saveFilterBtn > p {
    user-select: none;
}

.saveFilterBtn-filter {
    display: none;
    background-color: white;
    color: rgba(0, 0, 0, 1); 
    border: 1px solid rgba(0, 0, 0, 1);
    /* cursor: not-allowed; */
    border-radius: 0;

    min-width: 75px;
    max-width: 75px;
    min-height: 32px;
    white-space: nowrap;
    cursor: pointer;
    font-size: 12px;

    position: absolute;
    bottom: -32px;
    left: -1px;
}
.saveFilterBtn-filter.active {
    display: block;
}
.saveFilterBtn-filter.active:hover {
    background-color: var(--cs-yellow);
}

.saveFilterBtn-picture {
    display: none;
    background-color: white;
    border: 1px solid black;
    color: rgba(0, 0, 0, 1); 
    border: 1px solid rgba(0, 0, 0, 1);
    /* cursor: not-allowed; */
    border-radius: 4px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;

    min-width: 75px;
    max-width: 75px;
    min-height: 32px;
    /* border: none; */
    white-space: nowrap;
    cursor: pointer;
    font-size: 12px;

    position: absolute;
    bottom: -63px;
    left: -1px;
}
.saveFilterBtn-picture.active {
    display: block;
}
.saveFilterBtn-picture.active:hover {
    background-color: var(--cs-yellow);
}



.radio-flexCon {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 10px 0;
}

.radio-flexCon[data-vis="true"] {
    display: flex;
}

.radio-label {
    padding: 5px 10px;
    background-color: var(--cs-gray);
    width: fit-content;
    border: 1px solid black;
    border-radius: 4px;
    min-width: 150px;
}

.mainRight {
    width: calc(100% - 340px);
    /* border: 1px solid black; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden; /* for canvas img */
}

.mainRight > h1 {
    width: 95%;
    text-align: center;
    border-bottom: 2px solid rgb(238, 238, 238);/*rgb(238, 238, 238);*/
    margin: 15px 0 0 0;
    padding: 30px 0;
}

.canvas {
    /* width: 1224px;
    height: 918px; */
    /* height: 667px; */
}




@media only screen and (max-width: 768px) {
    .fc-sec {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .mainLeft {
        width: 100%;
    }

    .mainRight {
        width: 100%;
        margin-bottom: 60px;
    }

    .mainLeft-con {
        /* width: 340px;
        height: 100%;
        padding: 20px;
        background-color: white; */
        /* position: fixed; */
        /* overflow: scroll; */
        width: 100%;
    }
}



/* This disables selection only when dragging */
.no-select {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    
    /* Bonus: also disable image dragging & text cursor */
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Optional: visual feedback (cursor grab) */
/* .no-select * {
    cursor: grabbing !important;
} */


#canvas {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid black;
}


/* HOW TO UPLOAD .FLT SECTION */

.htu-sec {
    margin: 40px 0 0 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px
}

.htu-sec > .mainCon {
    padding: 80px 60px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid black;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* .htu-sec > .mainCon > .prodTitle {
}

.htu-sec > .mainCon > .prodSubtitle {
} */

.htu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    /* border: 1px solid black; */
    margin: 80px 0 0 0;
}

.htu-grid-item {
    /* background: var(--cs-gray); */
    background-color: #f8f5ee;
    border-radius: 8px;
    border: 1px sold gray;
    padding: 50px 25px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 2;
    position: relative;
}

.htu-grid-item > .numberBox {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #e4e1da;
    border-radius: 8px;
    font-weight: bolder;
}

.htu-grid-item > p {
    text-align: center;
    /* Preserve newline characters (\n) from the text, but still collapse extra spaces like normal HTML. */
    /* pre-line allows use of \n in js text */
    white-space: pre-line;
}

@media only screen and (max-width: 1024px) {
    .htu-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 50px;
    }
}

@media only screen and (max-width: 764px) {
    .htu-grid {
        grid-template-columns: 100%;
        grid-gap: 20px;
    }
}