﻿
/* MAIN VIEW */

.ItemsView {
    position: absolute;
    top:10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: calc(100% - 20px);
    padding: 25px;
    background-color: var(--GlassColor);
    backdrop-filter: var(--GlassBlur);
    -webkit-backdrop-filter: var(--GlassBlur);
    border-radius: 10px;
    overflow: hidden;
}

.ItemsView .Header
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    column-gap:10px;
    width: 100%;
    height: auto;
    margin-top:20px;
    margin-bottom:30px;
}


    .ItemsView .Header div {
        display: flex;
        flex-direction: column;
        align-items:end;
        row-gap:10px;

    }


    .ItemsView .Header span:first-child {
        font-size: 1.0em;
        color: var(--FontColor);
    }

    .ItemsView .Header span {
        font-size: 1.2em;
        color: var(--FontOppositeColor);
    }









/* *********************************************** */
/* GALLERY */


.ItemViewPlaceholder {
    flex-grow: 1;
    width: 100%;
    height: 130px;
    border: dashed 4px var(--ThemeColor);
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom: 20px;
    cursor:pointer;
}


.ItemViewGallery {
    flex-shrink: 0;
    flex-grow: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    margin-bottom: 30px;
}



        .ItemViewGalleryAdd {
            flex-grow:0;
            min-width: 90px;
            height: 100%;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            background-color: var(--GlassColor);
            backdrop-filter: var(--GlassBlur);
            -webkit-backdrop-filter: var(--GlassBlur);
            border-radius: 7px;
            padding: 30px;
        }


.ItemViewGalleryList {
    width: 100%;
    height: auto;
    overflow: hidden;
    overflow-x: scroll;
    padding-bottom: 10px;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}

        .ItemViewGalleryItem {
            flex-shrink: 0;
            width: 200px;
            height: 120px;
        }

            .ItemViewGalleryItemContent {
                position: relative;
                width: 100%;
                height: 100%;
                overflow: hidden;
            }


                .ItemViewGalleryItemContentPhoto {
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    border-radius: 6px;
                }

                .ItemViewGalleryItemContentConsole {
                    position: absolute;
                    display: flex;
                    width: 100%;
                    height: 100%;
                    flex-direction: row;
                    justify-content: end;
                    align-items: end;
                    padding: 15px;
                    background-color: transparent;
                    backdrop-filter: none;
                }


                    .ItemViewGalleryItemContentConsole .Command {
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        align-items: center;
                        border-radius: 50%;
                        background-color: var(--GlassColor);
                        backdrop-filter: var(--GlassBlur);
                        -webkit-backdrop-filter: var(--GlassBlur);
                        padding: 13px;
                        cursor: pointer;
                    }




























.ItemsView .box {}
.ItemsView .Console {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap:10px;    
}

    .ItemsView .Console input {
        flex-grow: 2;
        border-radius: 3px;
    }

    .ItemsView .Console button {
        max-width: 60px;
        flex-grow: 1;
        border-radius: 3px;
        background-color:var(--ThemeColorSecondary);
    }
        .ItemsView .Console button:last-child {
            background-color:var(--ThemeColor);
        }





.ItemsList {
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: start;
    align-items: start;
    flex-wrap: wrap;
    row-gap:15px;
    column-gap:15px;
    margin-top:20px;
    overflow-y: scroll;
    padding-right:15px;
    height: 100%;
    padding-bottom:10px;
}

.ItemsList .Item {
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    width: calc(50% - 8px);
    min-height: 170px;
    padding: 25px;
    background-color: var(--GlassColor);
    border-radius: 6px;
    cursor: pointer;
}



    .ItemsList .Item .Header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

        .ItemsList .Item .Header .HeaderQuantity {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            row-gap: 10px;
        }

            .ItemsList .Item .Header .HeaderQuantity div {
                display: flex;
                flex-direction: row;
                justify-content: end;
                column-gap: 10px;
                font-size: 0.9em;
            }


    .ItemsList .Item .Console {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        row-gap:10px;
    }


        .ItemsList .Item .Console span:first-child {
            color: var(--FontColor);
            font-size: 0.9em;
        }

        .ItemsList .Item .Console span:last-child {
            color: var(--FontOppositeColor);
            font-size: 0.9em;
        }
