
html, body {
    background: #666666;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#viewContainer {
    margin: 0;
    padding: 0px;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    display: none;
    justify-content: center;
    align-items: flex-start;
    background: #666666;
    font-family: Segoe UI, sans-serif;
}

    #viewContainer.isLoaded {
        opacity: 1;
        transition: opacity .525s ease-out;
    }

#viewContent.doRestart {
    opacity: 0;
    transition: opacity .525s ease-out;
}


#viewContainer.isOverlay {
    background: #000000;
    transition: background .525s ease-out;
}

#MainMenuContainer {
    grid-column: 1 / span 3;
    min-height: 0;
    justify-self: center;
    display: flex;
    flex-direction: row;
    padding: 14px;
    gap: 10px;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    background: #888888;
    border-radius: 22px;
    scrollbar-width: none;
    /* Snap after scrolling */
    scroll-snap-type: x mandatory;
    /* Makes the first/last items align correctly */
    scroll-padding: 14px;
   
}

    #MainMenuContainer::-webkit-scrollbar {
        display: none;
    }

#RestartContainer {
    height: 100%;
    width: 100%;
    min-height: 100%;
    min-width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    display: flex;
    align-content: stretch;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .525s ease-in;
}

    #RestartContainer img {
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

    #RestartContainer.showRestart {
        opacity: 1;
        transition: opacity .525s ease-in;
    }

    #RestartContainer.HideIt {
        display: none;
    }

/* =========================================================
   MENU OVERLAY
   ========================================================= */

.preLoadComplete {
    opacity: 1;
    transition: opacity .525s ease-out;
}

#menuViewOverlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0%;
    left: 0;
    inset: 0;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    background: #000000c9;
    /*opacity: 0;*/
    pointer-events: none;
    /*transition: opacity .525s ease-in;*/
}

    #menuViewOverlay.HideOverlay {
        display: none;
    }

    #menuViewOverlay.ShowOverlay {
        opacity: .875;
        pointer-events: auto;
        transition: opacity .425s ease-out;
    }

/* =========================================================
   LOADER
   ========================================================= */

@keyframes LoadSpinOuter {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes LoadSpinInner {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(-360deg)
    }
}

.LoadSpinnerInnerRing div {
    box-sizing: border-box !important
}

.LoadSpinnerInnerRing > div {
    position: absolute;
    width: 361.9px;
    height: 361.9px;
    top: 11.55px;
    left: 11.55px;
    border-radius: 50%;
    border: 38.5px solid #000;
    border-color: #a15757 transparent #a15757 transparent;
    animation: LoadSpinOuter 1.57s linear infinite;
}

    .LoadSpinnerInnerRing > div:nth-child(2), .LoadSpinnerInnerRing > div:nth-child(4) {
        width: 277.2px;
        height: 277.2px;
        top: 53.9px;
        left: 53.9px;
        animation: LoadSpinInner 1.07s linear infinite;
    }

    .LoadSpinnerInnerRing > div:nth-child(2) {
        border-color: transparent #666666 transparent #666666;
    }

    .LoadSpinnerInnerRing > div:nth-child(3) {
        border-color: transparent
    }

        .LoadSpinnerInnerRing > div:nth-child(3) div {
            position: absolute;
            width: 100%;
            height: 100%;
            transform: rotate(45deg);
        }

            .LoadSpinnerInnerRing > div:nth-child(3) div:before, .LoadSpinnerInnerRing > div:nth-child(3) div:after {
                content: "";
                display: block;
                position: absolute;
                width: 38.5px;
                height: 38.5px;
                top: -38.5px;
                left: 123.2px;
                background: #a15757;
                box-shadow: 0 323.4px 0 0 #a15757;
                border-radius: 50%;
            }

            .LoadSpinnerInnerRing > div:nth-child(3) div:after {
                left: -38.5px;
                top: 123.2px;
                box-shadow: 323.4px 0 0 0 #a15757;
            }

    .LoadSpinnerInnerRing > div:nth-child(4) {
        border-color: transparent;
    }

        .LoadSpinnerInnerRing > div:nth-child(4) div {
            position: absolute;
            width: 100%;
            height: 100%;
            transform: rotate(45deg);
        }

            .LoadSpinnerInnerRing > div:nth-child(4) div:before, .LoadSpinnerInnerRing > div:nth-child(4) div:after {
                content: "";
                display: block;
                position: absolute;
                width: 38.5px;
                height: 38.5px;
                top: -38.5px;
                left: 80.85px;
                background: #666666;
                box-shadow: 0 238.7px 0 0 #666666;
            }

            .LoadSpinnerInnerRing > div:nth-child(4) div:after {
                left: -38.5px;
                top: 80.85px;
                background: #666666;
                box-shadow: 238.7px 0 0 0 #666666;
            }

.LoadSpinnerOuterRing {
    width: 385px;
    height: 385px;
    display: inline-block;
    overflow: hidden;
    background: none;
}

.LoadSpinnerInnerRing {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0;
}

    .LoadSpinnerInnerRing div {
        box-sizing: content-box;
    }

#viewLoaderContent {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    gap: 8px;
    transform: scale(0.70);
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 999999;
}

.CenterStage {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999999;
}

#viewLoaderSpinner {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#viewLoaderCaption {
    align-self: center;
    font-family: Trebuchet MS;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */

#viewContent {
    width: 95%;
    height: 94%;
    box-sizing: border-box;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    background: #575757;
    border-radius: 22px;
}

.preLoad {
    opacity: 0;
}

.startLoad {
     opacity: 1;
    transition: opacity .725s ease-out;
}

#menuContent {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    gap: 8px;
}

/* =========================================================
   MENU TITLE
   ========================================================= */


.TitleMenuBtnContainer {
    position: relative;
    height: 54px;
    object-fit: contain;
}

    .TitleMenuBtnContainer #ToggleMenuBtn {
        height: 100%;
        object-fit: contain;
    }

.mnuStyle_TitleContainer {
    grid-column: 1 / span 3;
    width: 100%;
    height: 52px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    text-align: center;
    background: #575757;
    flex-direction: row;
    justify-content: space-between;
    flex: 1;
}

#mnuContent_Title {
    display: none;
    width: 100%;
    height: auto;
    background: transparent;
    font-family: Tahoma, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: 700;
/*    letter-spacing: 1.85px;
    word-spacing: 2px;*/
    text-decoration: none;
    font-style: normal;
    font-variant: small-caps;
    text-transform: none;
    color: #000000;
    white-space: nowrap;
    -webkit-text-stroke: 1.45px #ffffffa1;
    /*text-shadow: -2px -2px 6px #FFFFFF, -2px 2px 6px #FFFFFF, 2px -2px 6px #FFFFFF, 2px 2px 6px #FFFFFF;*/
}
.stretchText {
    display: block;
    width: 100%;
    height: 52px;
    overflow: visible;
}

    .stretchText text {
        font-family: Tahoma, sans-serif;
        font-size: 32px;
        font-weight: bold;
        fill: black;
        stroke: white;
        stroke-opacity: 0.7;
        stroke-linecap: round;
        stroke-width: 3px;
        font-variant: small-caps;
        paint-order: stroke fill;
    }
#mnuContent_Title.AlertTextVis .stretchText text {
    fill: #A10000;
    /*        text-shadow: -2px -2px 6px #000000, -2px 2px 6px #000000, 2px -2px 6px #000000, 2px 2px 6px #000000;
*/ font-family: Tahoma;
    font-weight: 900;
    font-size: 28px;
    /*line-height: 28px;*/
    stroke: #000000;
    /*-webkit-text-stroke: 1.75px #000000A1;*/
}

    #mnuContent_Title .letter {
        display: inline-block;
        transform-origin: center center;
    }

    #mnuContent_Title span {
        display: inline-block;
        transform: scaleX(1.25);
        transform-origin: center;
    }

.mnuTitlePlacehold {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
    #mnuContent_Title.DisplayTitle,
    #mnuContent_Title.HideTitle {
        transition: opacity .735s cubic-bezier(0.5, 0, 0.75, 0);
    }

    #mnuContent_Title.DisplayTitle {
        opacity: 1;
    }

    #mnuContent_Title.HideTitle {
        opacity: 0;
    }

/* =========================================================
   MENU ITEM CONTENT
   ========================================================= */

#menuItemContainer {
    grid-column: 1 / span 3;
    width: 100%;
    min-height: 0;
    justify-self: center;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    overflow: hidden;
    background: #888888;
    border-radius: 16px;
}

#menuItemContent {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    opacity: 0;
    transition: transform .575s cubic-bezier(0.5, 0, 0.75, 0), opacity .575s cubic-bezier(0.5, 0, 0.75, 0);
}

    #menuItemContent.ShowMenuContent {
        transform: translateY(0);
        opacity: 1;
    }

/* =========================================================
   ICON CONTAINER
   ========================================================= */

.style_IconContainer {
    position: relative;
    z-index: 1;
    width: auto;
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: max-content;
    column-gap: 6px;
    row-gap: 20px;
    padding: 0 4px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 18px;
    opacity: 1;
    transition: opacity .525s ease;
}

    .style_IconContainer.HideIconContainer {
        opacity: 0;
        transition: opacity .735s ease;
    }

    .style_IconContainer.ItemSelected {
        display: block;
        overflow: hidden;
    }

    .style_IconContainer.AnimateItems .menuStyle_Item {
        opacity: 0;
        transform: translateY(-685px);
        transition: opacity .675s ease-in-out, transform .675s ease-in-out;
        transition-delay: var(--item-delay, 0ms);
    }

        .style_IconContainer.AnimateItems .menuStyle_Item.ShowItem,
        .style_IconContainer .menuStyle_Item.ShowItem {
            opacity: 1;
            transform: translateY(0);
        }


/* =========================================================
   NORMAL MENU ITEMS
   ========================================================= */

.menuStyle_Item {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 24px;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: transform .675s cubic-bezier(0.22, 1, 0.36, 1), opacity .675s ease;
}

    .menuStyle_Item img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        border-radius: 22px;
    }

/* =========================================================
   SELECTED MENU ITEM / HERO ITEM
   ========================================================= */

#iconContainer.HasSelectedMenu {
    position: relative;
    overflow: hidden;
}

    #iconContainer.HasSelectedMenu .menuStyle_Item {
        transition: opacity .675s ease-out, transform .675s cubic-bezier(0.4, 0, 0.2, 1);
    }

        #iconContainer.HasSelectedMenu
        .menuStyle_Item.SelectedMenuItem {
            position: absolute;
            left: 50%;
            top: 0;
            width: 50%;
            max-width: 650px;
            box-sizing: border-box;
            margin: 0;
            padding: 8px;
            z-index: 10;
            opacity: 1;
            transform: translateX(-50%);
            transition: transform .675s cubic-bezier(0.4, 0, 0.2, 1), opacity .525s ease-out;
            grid-area: 1 / 1 / auto / auto !important;
        }

        #iconContainer.HasSelectedMenu
        .menuStyle_Item:not(.SelectedMenuItem) {
            opacity: 0;
            transform: scale(.125);
            pointer-events: none;
            transition: opacity .675s ease-out, transform .675s cubic-bezier(0.4, 0, 0.2, 1);
        }

#iconContainer .SelectedMenuItem img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

/* =========================================================
   SELECTION CONTENT
   ========================================================= */

#selectionContent {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white;
    opacity: 0;
    pointer-events: none;
    z-index: 30;
    transition: opacity .525s ease;
}

    #selectionContent.DisplaySelContent {
        opacity: 1;
        pointer-events: auto;
    }

/* =========================================================
   SELECTED ITEM CONTENT
   ========================================================= */

.menuStyle_SelItem {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-shrink: 0;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 24px;
    overflow: hidden;
}

    .menuStyle_SelItem img {
        width: min(70%, 520px);
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        border-radius: 32px;
    }

/* =========================================================
   SUBMENU
   ========================================================= */

#subMenuContainer {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
    flex-grow: 1;
    flex-shrink: 0;
    overflow: hidden;
    opacity: 1;
    pointer-events: none;
    transform: translateY(0);
    z-index: 20;
    transition: opacity .585s ease-out, transform .585s cubic-bezier(0.22, 1, 0.36, 1);
}

    #subMenuContainer.ShowSubMenu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity .585s ease-out, transform .585s cubic-bezier(0.22, 1, 0.36, 1);
    }

#selectionContent.DisplaySelContent
#subMenuContainer.ShowSubMenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .585s ease-out, transform .585s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   SUBMENU ITEMS
   ========================================================= */

.SubIconContainer {
    display: inline-flex;
    flex: 1;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 8px;
    padding-bottom: 4px;
    opacity: 1;
    transform: translateY(-520px);
    transition: transform .675s ease-in-out, opacity .675s ease;
}

    .SubIconContainer img {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        border-radius: 32px;
    }

#subMenuContainer.ShowSubMenu
.SubIconContainer:nth-child(1),
#subMenuContainer.ShowSubMenu
.SubIconContainer:nth-child(2),
#subMenuContainer.ShowSubMenu
.SubIconContainer:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
}

#subMenuContainer.ShowSubMenu
.SubIconContainer:nth-child(1) {
    transition-delay: .05s;
}

#subMenuContainer.ShowSubMenu
.SubIconContainer:nth-child(2) {
    transition-delay: .105s;
}

#subMenuContainer.ShowSubMenu
.SubIconContainer:nth-child(3) {
    transition-delay: .205s;
}

#subMenuContainer:not(.ShowSubMenu)
.SubIconContainer:nth-child(1) {
    transition-delay: .312s;
}

#subMenuContainer:not(.ShowSubMenu)
.SubIconContainer:nth-child(2) {
    transition-delay: .175s;
}

#subMenuContainer:not(.ShowSubMenu)
.SubIconContainer:nth-child(3) {
    transition-delay: .025s;
}

/* =========================================================
   SUBMENU ROW
   ========================================================= */

#selectionMenuRow {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.menuStyle_MenuItem {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    background: transparent;
}

    .menuStyle_MenuItem img {
        width: 140px;
        height: 140px;
        object-fit: contain;
        border-radius: 24px;
    }

.subMenuItemIconRow {
    align-self: center;
}

/* =========================================================
   SUBMENU TEXT
   ========================================================= */

.subIconTitle {
    padding-top: 10px;
    font-family: 'Trebuchet MS' !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .65px;
    word-spacing: -.575px;
    line-height: .875;
    text-align: center;
    text-transform: none;
    text-decoration: none;
    color: #FFFFFF;
    -webkit-text-stroke: 0.45px #000000A1;
    /*text-shadow: -2px -2px 6px #000000, -2px 2px 6px #000000, 2px -2px 6px #000000, 2px 2px 6px #000000;*/
}

/* =========================================================
   LABELS
   ========================================================= */

.menuStyle_SelLabel {
    height: 72px;
    margin-top: 4px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .95px;
    color: #FFFFFF;
    text-shadow: -2px -2px 6px #000000, -2px 2px 6px #000000, 2px -2px 6px #000000, 2px 2px 6px #000000;
}

.menuStyle_Label {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .85px;
    color: #FFFFFF;
    text-shadow: -2px -2px 6px #000000, -2px 2px 6px #000000, 2px -2px 6px #000000, 2px 2px 6px #000000;
}

    .menuStyle_Label.IsSelected {
        color: #000000;
        letter-spacing: .85px;
        font-weight: 700;
        text-shadow: -2px -2px 6px #FFFFFF, -2px 2px 6px #FFFFFF, 2px -2px 6px #FFFFFF, 2px 2px 6px #FFFFFF;
    }

/* =========================================================
   OTHER
   ========================================================= */

.menuIconContainer {
    flex: 0 0 calc((100% - 20px) / 3);
    min-width: calc((100% - 20px) / 3);
    min-height: 110px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    padding: 0;
    background: transparent;
    border-radius: 22px;
    opacity: 1;
    box-shadow: 0 0 0 0 transparent;
    transition: box-shadow .335s ease-in-out, opacity .875s ease-out .5s
}

    .menuIconContainer img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }


.preLoading {
    opacity: 0;
    transition: opacity .8750s ease-out;
}

.menuStyleSelected {
    box-shadow: 0 3px 18px 0 #FFFFFF;
    transition: box-shadow .335s ease-in-out, padding .335s ease-in-out;
    padding: 0px;
}

.Sel {
    opacity: .35;
}

.imagePopup {
    display: none;
    flex-direction: column;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    height: 420px;
    background: #222;
    border-radius: 10px;
    z-index: 999999;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: -2px -2px 10px 2px #ffffff22, 2px -2px 10px 2px #ffffff22, 2px 2px 10px 2px #ffffff22, -2px 2px 10px 2px #ffffff22;
}
/* Full-width title bar */

.imagePopupTitle {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    background: #333;
    color: white;
    box-sizing: border-box;
    font-size: 20px;
    font-family: Trebuchet MS;
    backdrop-filter: blur(4px) saturate(300%);
    -webkit-backdrop-filter: blur(4px) saturate(300%);
    background: rgba(87, 87, 87, 0.75);
}
    /* X button */

    .imagePopupTitle button {
        width: 32px;
        height: 32px;
        padding: 0;
        border: none;
        background: transparent;
        color: white;
        font-size: 26px;
        line-height: 32px;
        cursor: pointer;
    }
/* Scrollable area */

.imagePopupContent {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow-y: hidden;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(51, 51, 51, 0.75);
    position: absolute;
}


    /* Scrollbar width */
   
/* Two images per row */


/*.imagePopup {
    display: none;
    flex-direction: column;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    height: 380px;
    background: #222;
    border-radius: 10px;
    z-index: 999999;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: -2px -2px 10px 2px #ffffff22, 2px -2px 10px 2px #ffffff22, 2px 2px 10px 2px #ffffff22, -2px 2px 10px 2px #ffffff22;
}*/
/* Full-width title bar */

/*.imagePopupTitle {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    background: #333;
    color: white;
    box-sizing: border-box;
    font-size: 20px;
    font-family: Trebuchet MS;
    backdrop-filter: blur(4px) saturate(300%);
    -webkit-backdrop-filter: blur(4px) saturate(300%);
    background: rgba(87, 87, 87, 0.75);
}*/
    /* X button */

    /*.imagePopupTitle button {
        width: 32px;
        height: 32px;
        padding: 0;
        border: none;
        background: transparent;
        color: white;
        font-size: 26px;
        line-height: 32px;
        cursor: pointer;
    }*/
/* Scrollable area */

/*.imagePopupContent {
    width: 100%;
    height: calc(100% - 40px);
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(51, 51, 51, 0.75);
    position: relative;
}*/

/* Scrollbar width */
    /*.imagePopupContent::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }*/

/* Scrollbar track */
    /*.imagePopupContent::-webkit-scrollbar-track {
        background: #222;
    }*/

/* Scrollbar thumb */
    /*.imagePopupContent::-webkit-scrollbar-thumb {
        background: #666;
        border-radius: 4px;
    }*/

    /* Thumb when hovering */
        /*.imagePopupContent::-webkit-scrollbar-thumb:hover {
            background: #888;
        }*/
/* Two images per row */

.imgGalleryContainer {
    height: 332px;
    position: relative;
}

.imageGallery {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 20px;
    grid-column-gap: 15px;
    padding: 10px;
    height: 100%;
    overflow-y: scroll;
}

    .imageGallery::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

/* Scrollbar track */
    .imageGallery::-webkit-scrollbar-track {
        background: #222;
    }

/* Scrollbar thumb */
    .imageGallery::-webkit-scrollbar-thumb {
        background: #666;
        border-radius: 4px;
    }

    /* Thumb when hovering */
        .imageGallery::-webkit-scrollbar-thumb:hover {
            background: #888;
        }

    .imageGallery img {
        width: 100%;
        display: block;
        border-radius: 6px;
    }

.imageGallerySaveBtn {
    display: flex;
    width: 100%;
    height: 48px;
    background: #A1A1A1;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    font-family: Tahoma;
    position: fixed;
    bottom: 0;
}

.imgGallery_Item {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    row-gap: 4px;
}

.imgItem_Thumbnail {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

    .imgItem_Thumbnail.addImgPlus {
            min-height: 160px;
    }

.btnPlusImgContainer {
        opacity: 0.4;
        background-color: rgb(161 161 161 / 22%);
        border-radius: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
 .btnPlusImgContainer svg {
           width: 60px;
           height: 60px;
       }
         .btnPlusImgContainer svg line {
            display: block;
            fill: none;
            stroke: currentColor;
            stroke-width: 12px;
            stroke-linecap: butt;
        }


.imageCheck {
    width: 25px;
    height: 25px;
    border: 2px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
}

    .imageCheck.selected {
        background: #2196f3;
        border-color: #2196f3;
    }

        .imageCheck.selected::after {
            content: "✓";
            display: block;
            color: white;
            font-size: 18px;
            line-height: 21px;
            text-align: center;
        }

.imageLoadOverlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    z-index: 999999;
}

#uploadProgressContainer {
    width: 90%;
    height: 35px;
    background: #666;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

#uploadProgress {
    display: block;
    width: 0%;
    height: 100%;
    background: #7e3f3f;
    transition: width 0.075s;
}

#uploadPercent2 {
    text-align: center;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#uploadPercent {
    font-size: 22px;
    font-family: Tahoma;
    letter-spacing: 0.85px;
    font-weight: 700;
    text-shadow: -1px -1px 4px #ffffffa8, -1px 1px 4px #ffffffa8, 1px -1px 4px #ffffffa8, 1px 1px 4px #ffffffa8;
}

.btnDownloadTypeContainer {
    width: 90%;
    display: none;
    flex-direction: row;
    position: relative;
    column-gap: 8px;
}

.btnDownloadType {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    padding: 20px 5px;
    background: rgba(139, 139, 139, 0.62);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgb(0 0 0 / 10%);
    backdrop-filter: blur(6.1px);
    -webkit-backdrop-filter: blur(6.1px);
    border: 1px solid rgba(0, 0, 0, 0.62);
}

.dropdown {
    position: relative;
    display: inline-block;
}

#btnMenu {
    padding: 10px 18px;
    font-size: 16px;
    cursor: pointer;
}

.DropMenuContainer {
    display: none;
    position: absolute;
    top: 55px;
    left: -155px;
    min-width: 200px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
    z-index: 999999;
    padding: 2px 4px;
    box-shadow: 0px 0px 8px 1px #000000a1;
    flex-direction: column;
    align-items: stretch;
    row-gap: 4px;
}

.DropMenuItem {
    display: flex;
    align-items: center;
    padding: 0 8px 0 0;
    cursor: pointer;
    justify-content: space-between;
}

    .DropMenuItem:hover {
        background: #f0f0f0;
    }

.DropMenuIconContainer {
    height: 46px;
}

.DropMenuItemIcon {
    height: 100%;
    object-fit: contain;
}

.DropMenuItemTitle {
    font-size: 20px;
    font-family: Trebuchet MS;
}

@keyframes animate {
    0.00% {
        animation-timing-function: cubic-bezier(0.33, 0.00, 0.67, 0.00);
        transform: translate(0.00px, 0.00px) rotate(0.00deg) scale(1.00, 1.00) skew(0deg, 0.00deg);
        opacity: 1.00;
    }

    50.00% {
        animation-timing-function: cubic-bezier(0.33, 0.00, 0.67, 0.00);
        transform: translate(0.00px, 0.00px) rotate(0.00deg);
    }

    100.00% {
        animation-timing-function: cubic-bezier(0.33, 0.00, 0.67, 0.00);
        transform: translate(0.00px, 0.00px) rotate(0.00deg);
    }
}
