/* December 14, 2023 */

/* #slider_toggle_sample {} */
/* #slider_box {} */
/* #slider_bar {} */
/* #slider_grab {} */



/* #gridline_editor_tools {display: none;} */
/* #image_editor_tools {display: none;} */
/* body {background-color: #333;} */


#slider_toggle_sample {
    z-index: 10;
    position: absolute;
    width: 100%;
    height: 8rem;
    background-color: beige;
    top: 44%;
    transform: translateY(-50%);
    border-top: 2px solid yellowgreen;
    border-bottom: 2px solid yellowgreen;

    display: flex;
}
#slider_main {
    /* z-index: 999; */
    /* position: relative; */
    background-color: grey;
    border: 1px solid black;
    height: 1.4rem;
    width: 16rem;
    margin: auto;

    display: flex;
    justify-content: center;
    align-items: center;

}
#slider_bar {
    background-color: #444;
    height: 2px;
    width: 90%;
    
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

    /* pointer-events: none; */
}
#slider_grab {
    width: 30px;
    height: 30px;
    background-color: #1269b1;
    /* margin: auto; */
    border-radius: 50%;
    cursor: grab;

    position: absolute;
    transform: translateX(-50%);
    /* left: 25%; */
    left: 0;

    /* opacity: 0.4; */
}
/* #slider_grab:active {cursor: grabbing;} */

#slider_toggle_sample {display: none;}





/*   Official CSS  */

/* .slider_box {
    border: 1px solid black;
    background-color: pink;
    width: 100%;
} */
/* .slider_main { */
.slider_box {
    z-index: 200;
    /* background-color: grey; */
    border: 1px solid black;
    height: 1.4rem;
    /* width: 16rem; */
    margin: auto;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;

    display: none;

    /* width: auto; */
    /* width: 100%; */
    /* width: max-content; */

    width: 100%;
}
.slider_bar {
    z-index: 201;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #444;
    height: 2px;
    width: 90%;
}
.slider_grab {
    z-index: 202;
    position: absolute;
    /* left: 0; */
    transform: translateX(-50%);
    background-color: #1269b1;
    border-radius: 50%;
    cursor: grab;

    width: 24px;
    height: 24px;

    padding: 50px;
    padding: 20px;
    padding: 10px 16px;

    background-color: transparent;

    pointer-events: all;
}

.slider_knob {
    /* z-index: 203; */
    background-color: #1269b1;
    /* background-color: grey; */
    border-radius: 50%;
    width: 24px;
    height: 24px;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    pointer-events: none;

    /* display: none; */
        /*  💥  💥 This still works when "display" is 'none'. Could use to trigger something. */
}

/* .slider_box:hover .slider_main {
    display: flex;
    display: inline-flex;
    width: 90%;
} */

/* .slider_box.flexDisplay {display: flex;} */
/* .slider_box.noDisplay {display: none;} */

/* .slider_box + .tool_label.flexDisplay {display: flex;} */
/* .slider_box + .tool_label.noDisplay {display: none;} */


.slider_box.flexDisplay {display: flex;}
.slider_box + .tool_label.noDisplay {display: none;}


/* #btn_black_and_white {width: 90%; display: inline-block;} */
/* #btn_black_and_white {
    margin: auto;
    width: 70%;
    height: 1.8rem;
    height: 100%;
} */





/* .slider_bar:active {background-color: pink;} */
/* .slider_grab:active {background-color: blue;} */



/* .sub_filter_tool .tool_label {display: none;} */








.slider_box.flexDisplay {display: flex;}
/* .slider_box + .tool_label.noDisplay {display: none;} */
.sub_filter_tool .tool_label.noDisplay {display: none;}


/* #slider_toggle_sample {} */
/* #slider_box {} */
/* #slider_bar {} */
/* #slider_grab {} */


/* #sample_slider_parent { */
#sample_slider_tool {
    /* padding-bottom: 4rem; */
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 4rem;
    
    height: auto;
    /* width: 90%; */
    /* width: 100%; */

    /* display: flex; */
    /* justify-content: center; */

}
#btn_sample_slider {
    padding: 1.2rem 2rem;
}


/* 💥 ❤ 💥 ❤ 💥 ❤ 💥 */
/* .sub_filter_tool:hover .filter_label {display: none;}
.sub_filter_tool:hover .slider_box {display: flex;}
.image_grid_editor:hover .slider_box {display: flex;} */


.filter_box {
    display: none;
    transition: display 2.8s;
}
.sub_filter_tool, .filter_label, .slider_box {
    transition: display 2.8s;
}



/* .sub_filter_tool {border: 1px solid black;} */


.sub_filter_tool {
    text-align: end;
    display: inline-block;
    /* align-self: flex-end; */
    /* justify-content: end; */
}



/* .filter_label {margin-right: 10px;} */
/* .filter_label {margin-left: 6px;} */ /* 💥 💥 💥 */




.slider_box {
    z-index: 40;
    /* opacity: 0.4; */
    /* background-color: transparent; */
}
.slider_bar {
    /* opacity: 0.4; */
    z-index: 41;
    background-color: rgb(143, 124, 124);
    position: relative;

}
.slider_grab {z-index: 43; opacity: 1;}
/* .filter_label {z-index: 42;} */


.slider_bar:active {background-color: pink;}
    /* .slider_bar:active {background-color: green;} */
/* .slider_grab:active {background-color: blue;} */
.slider_knob:active {background-color: blue;}

/* .slider_bar:active {background-color: pink;}
.slider_grab:active {background-color: blue;} */
/* .slider_box:active {background-color: purple;}
.slider_box:active {transition: display 1.3s;} */



















/* #contrast_tool {transition: display 2.8s;} */

.sub_filter_tool:active .filter_label,
.sub_filter_tool:active .slider_box {
    transition: display 2.8s;
}

#image_grid_editor:hover .sub_filter_tool, .filter_label, .slider_box {
    transition: display 2.8s;
}





















.image_grid_editor:hover .slider_grab:focus {display: flex; background-color: green;}

/* .image_grid_editor:hover #btn_black_and_white .slider_grab:active {display: flex; background-color: red;}
.image_grid_editor:hover #btn_black_and_white .slider_grab:focus {display: flex; background-color: green;} */


/* .image_grid_editor:hover #bw_slider_box:active {background-color: red;} */

/* .image_grid_editor:hover .slider_box:active .slider_grab {background-color: red;} */
/* .sub_filter_tool:hover .slider_box:active .slider_grab {background-color: red;} */
/* .sub_filter_tool:hover .slider_box:active {background-color: purple;} */
/* .slider_box:active {background-color: purple;}
.slider_box:active {transition: display 1.3s;} */




/* #image_grid_editor:hover .sub_filter_tool:active .slider_grab {background-color: red;} */
/* #image_grid_editor:hover .sub_filter_tool:active .slider_box {background-color: red;} */
#image_grid_editor:active {background-color: red;}








/* #brightness_slider_grab, #contrast_slider_grab {left: 50px;} */


/* #b_and_w_tool {} */
/* #sepia_tool {} */
/* #hue_rotate_tool {} */
/* #invert_tool {} */
/* #blur_tool {} */


/* # {} */

/* Slider Handles' Starting Position */
#brightness_slider_grab, #contrast_slider_grab, #saturate_slider_grab, #hue_rotate_slider_grab {left: calc(100% / 2);}
#bw_slider_grab, #sepia_slider_grab, #invert_slider_grab, #blur_slider_grab {left: 0;}

/* #opacity_slider_grab {right: 0; transform: translate(50%);} */
/* #opacity_slider_grab {right: 0;} */
/* #opacity_slider_grab {right: 0; transform: translateX(50%);} */
/* #opacity_slider_grab {left: 100%; transform: translateX(50%);} */
#opacity_slider_grab {left: 100%;}


.value_unit {
    width: 10px;
    height: 100%;
    background-color: antiquewhite;
    background-color: aqua;

    
}

.sub_filter_value {
    /* width: 2rem; */
    height: 1.2rem;
    border: 1px solid black;
    background-color: aliceblue;
    color: black;
    text-align: center;

    /* min-width: fit-content; */
    min-width: 2.3rem;
    /* width: 2.3rem; */
    padding: 1px 5px;
    padding: 1px 4px;
    padding-top: 2px;

    width: 2rem;
    /* width: 1.2rem; */

    display: flex;
    justify-content: center;
    align-items: center;
}

/* .sub_filter_value {} */


.slider_box {
    position: absolute;
    width: calc(100% - 2.5rem);
    left: 2.5rem;
    left: 2.6rem;
}




.sub_filter_value:focus {
    background-color: pink;
}








/* .display_form {z-index: 700;} */


/* 🧡 Default Values */
/* .selected_images {filter: grayscale(0%);} */
/* .selected_images {filter: contrast(100%);} */
/* .selected_images {filter: brightness(100%);} */
/* .selected_images {filter: brightness(1);} */

/* .selected_images {filter: blur(0px);} */
/* .selected_images {filter: blur(20px);} */
/* .selected_images {filter: blur(2px);} */
/* .selected_images {filter: blur(4.4px);} */
/* .selected_images {filter: blur(5.4px);} */

/* .selected_images {filter: invert(0%);} */
/* .selected_images {filter: invert(100%);} */
/* .selected_images {filter: invert(60%);} */


/* .selected_images {filter: saturate(0%);} */
/* .selected_images {filter: saturate(100%);} */
/* .selected_images {filter: saturate(200%);} */
/* .selected_images {filter: saturate(300%);} */


/* .selected_images {filter: hue-rotate(90deg);} */
/* .selected_images {filter: hue-rotate(450deg);} */
/* .selected_images {filter: hue-rotate(180deg);} */



/* .selected_images {filter: drop-shadow(16px 16px 20px blue);} */
/* .selected_images {filter: drop-shadow(0 0 0 transparent);} */
/* .selected_images {filter: drop-shadow(0 0);} */
/* .selected_images {filter: drop-shadow(0, 0, 0, #000);} */
/* .selected_images {filter: drop-shadow(10px, 10px, 10px, #000);} */


/* .selected_images {filter: opacity(100%);} */


/* .selected_images {filter: (%);} */
/* .selected_images {filter: (%);} */

/* 
filter: blur(5px);
filter: brightness(0.4);
filter: contrast(200%);
filter: drop-shadow(16px 16px 20px blue);
filter: grayscale(50%);
filter: hue-rotate(90deg);
filter: invert(75%);
filter: opacity(25%);
filter: saturate(30%);
filter: sepia(60%);
 */




.sub_filter_value {
    cursor: pointer;
}


