/* July 26, 2024 */

/* =================================== */

#image_to_open { display: none; }

.spacer {display: none;}
.-- {width: 10px; height: 10px; background-color: aqua;}
.-- {display: none;}

#default_images_onload {display: none;}

/* =================================== */

html, body { touch-action: none; }

.grid_moveable { touch-action: none; }

/* =================================== */

html * { box-sizing: border-box; }
header * { box-sizing: border-box; }

/* =================================== */

/* * { box-sizing: border-box; } */
/* *:not(.img_list_item) { box-sizing: border-box; } */

/* main *:not(#img_grid_display) { box-sizing: border-box; } */

/* .img_list_item { box-sizing: content-box; } */


li {
   list-style: circle;
   list-style: disc; 
}
li {
    list-style: decimal-leading-zero;
    list-style: decimal;
}
a {
    text-decoration: none;
}

/* =================================== */

.bold {
    font-weight: 600;
}
.italics {
    font-style: italic;
}
.underlined {
    text-decoration: underline;
}

/* =================================== */

.list_title {
    margin-top: 5px;
}
.list_title + ul,
.list_title + ol {
    margin-left: 55px;
}

/* =================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* =================================== */

body {
    overflow-x: hidden;

    background: #eee;
    color: #010101;
    font-family: 'Roboto', sans-serif;
    /* font-size: 17.49px;
    letter-spacing: 0.6px; */
    line-height: 1.3;
    font-size: 14px;
    letter-spacing: 0.8px;
    
    width: 100vw;
    max-width: 100%;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* justify-content: center; */

    height: 100%;
    height: 100vh;
    max-height: 100%;


    /* height: 100vw; */
    /* max-height: 100%; */
    background-color: pink;

    body {position: relative;}
}
/* =================================== */

/* =================================== */

/* =================================== */

/* html * { overflow: hidden; } */

/* =================================== */

/* =================================== */

button:active {
    transform: scale(0.9);
}

/* body { height: 100vh; } */

/* For "grid_tools_crop.js" */
/* body { position: relative; } */


main {
    margin: 0 auto;
    /* min-height: 100%; */

    box-sizing: border-box;

    overflow: hidden;
}
main { position: relative; }
main {display: inline-block;}


/* li { border: 1px dotted black; } */ /* needed?❤? */



/* from "img_grid_display_v1-1.css" */
header {
    position: relative;

    box-sizing: border-box;
}



/* =================================== */


/* =================================== */



/* =================================== */



/* =================================== */




/* =================================== */



main, 
#img_grid_display, #fileList, #image_area {
    height: 100%;
    /* min-height: 100vw; */

    width: 100%;

    box-sizing: border-box;
}
ul {
    height: 100%;
}

/* #img_grid_display {
    min-height: 100vh;
    min-height: calc(100vh - 2.1rem);
} */


/* 🧡 Needed to prevent "overflow-Y". */
/* main {height: calc(100vh - 3.2vh);} */



/* =================================== */


/* =================================== */

#image_area_ul { background-color: violet; }
.img_list_item { background-color: aquamarine; }

/* =================================== */

.img_list_item {overflow-y: hidden;}
.img_list_item, .img_canvas { top: 0; }

.img_canvas.selected_images {
    background-color: #333;
    /* margin: auto; */
}

/* =================================== */

canvas,
canvas img, 
li {
    background-color: black;
}

/* =================================== */



/* =================================== */



/* =================================== */



/* =================================== */



/* =================================== */



.img_canvas img {
    margin: auto;
    text-align: center;
}


.grid_moveable {
    cursor: text;
    cursor: crosshair;

    box-sizing: content-box;
}


.vertical_group_container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    z-index: 1;
}

.vertical_line {position: relative;}
.horizontal_line {position: relative;}

.vertical_line { z-index: 1; }


/* .vertical_group_container { box-sizing: content-box; } */ /* ❌ ❌ ❌ ❌ */
.vertical_group_container { box-sizing: border-box; }
.vertical_group_container * { box-sizing: border-box; }

/* .vertical_line { box-sizing: border-box; } */
/* .vertical_line { box-sizing: content-box; } */





#cropping_background {
    /* width: 100%;
    height: 100%; */
    /* background: transparent;
    background-color: rgba(50,50,50,0.6); */
    /* opacity: 0.8; */
    /* z-index: 100; */

    /* width: 100vw; */
    /* height: 100vh; */

    display: none;
    
    /* border: 7px solid red; */

    /* position: relative; */
}

#cropping_background.active {
    display: inline-block;
    /* display: block; */
    /* display: flex; */

    /* background: transparent; */
    background-color: rgba(50,50,50,0.8);

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


    z-index: 120;

}
#cropping_main {
    width: 100%;
    height: 100%;
    position: relative;
}
#cropping_square {
    position: absolute;
    /* transform: translate(-50%, -50%); */
    border: 1px solid red;
    z-index: 999;
}


/* #cropping_background {display: none;} */

#new_canvas {
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    width: 100%;
    height: auto;
    margin: auto;
    z-index: 200;
    display: inline-block;
}





main {
    background-image: url('../../images/other/logo.png');
    background-repeat: no-repeat;
    background-position: 50%;
}








#btn_reload {
    width: 100%;
    padding: 10px;
    /* color: #fbfb00; */
}
#btn_reload {display: none;}





.selected_images, .img_canvas, .img_canvas.selected_images {
    display: flex;
    justify-content: center;
    align-items: center;
}






#data_info_display {
    width: 100%;
    min-height: 4rem;
    border: 1px solid black;
    margin-top: 5px;
}

body { background-color: rgb(82, 238, 77); }
body { background-color: rgb(99, 77, 238); }
body { background-color: rgb(213, 213, 95); }


/* body, main, #img_grid_display, #gridline_editor_tools, #gridline_editor_tools .container_main {
    overflow-y: scroll;
    background-color: antiquewhite;
} */




/* #gridline_editor_header {overflow-x: hidden;} */







/* @media only screen and (max-width: 900px) and (max-height: 400px) { */
/* @media only screen and (max-width: 900px) and (orientation: landscape) { */
/* @media screen and (max-width: 900px) and (orientation: landscape) { */
/* @media screen and (max-width: 900px) { */
/* @media (max-width: 900px) { */
/* @media (min-width: 200px) { */
/* @media (min-width: 200px) and (hover: hover) { */
/* @media (not (hover: hover)) and (min-width: 200px) { */
@media (not (hover: hover)) and (max-width: 1100px) and (orientation: landscape) {

    /* main {overflow-y: scroll;} */


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


    /* #image_grid_editor {
        width: 200px;
        max-width: 200px;
    } */

    /* #gridline_editor_tools .container_main { */
    #gridline_editor_tools {
        overflow-y: scroll;
        /* width: 90%; */
        /* min-height: 100vh; */
    /* height: 100vh; */
        /* padding-bottom: 4rem; */

        width: 200px;
        max-width: 200px;
    }

    #data_info_display {
        height: 100px;
        margin-bottom: 3rem;
        /* margin: 2rem 0 4rem 0; */
        padding: 5px;
        width: 100%;
    }
    #img_display_viewing_tools {
        margin-bottom: 1.4rem;
    }

    /* body, main {
        overflow-y: scroll;
        background-color: antiquewhite;
    } */


}

@media (not (hover: hover)) and (max-width: 500px) and (orientation: portrait) {

    main {overflow-y: scroll;} /* for some reason this works/helps on landscape-orientation  */


    #gridline_editor_tools {
        width: 200px;
        max-width: 200px;
    }

    #data_info_display {
        height: 100px;
    }
}