

/* Overlay modal */
.overlay {
    /*
    display: none;
    */
    position: fixed;
    width: 100px;
    /* height: 50%; */ 
    background: var(--background-color);
    justify-content: right;
    align-items: right;
    align-self: right;
    z-index: 999;
}
.is_collapsed {
    display: none;
}

/* Hamburger menu overlay */
#buttonHamburger {
    cursor: pointer;
    position: fixed;
    right: 1vh;
    min-height: 3.5vh;
    max-height: 3.5vh;
    min-width: 4vh;
    max-width: 4vh;
    z-index: 10;
    padding: 0;
}
#buttonHamburger.expanded {
    min-width: 100px;
    max-width: 100px;
    min-height: 5vh;
    max-height: 5vh;
    padding-left: calc(100 * 1px - 5 * 1vh);
    padding-bottom: 1vh;
}
#buttonHamburger .icon.hamburger {
    min-height: 2.5vh;
    max-height: 2.5vh;
    min-width: 2.5vh;
    max-width: 2.5vh;
    padding: 0.5vh 0.75vh;
}
/*
#buttonHamburger:hover {
    text-decoration: none;
    cursor: pointer;
}
*/
#overlayHamburger {
    top: 7vh;
    right: 1vh;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 60vh;
    background-color: var(--colour-accent);
    border: 2px solid var(--border-colour);
    border-radius: 0.75vh;
    width: 100px;
    z-index: 2;
    padding-top: 3.5vh;
}
#overlayHamburger:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
#overlayHamburger:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
#overlayHamburger > :hover {
    color: var(--background-color);
    background-color: var(--primary-color);
}
#overlayHamburger .container {
    background-color: var(--tcg-accent-purple);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    /* color: var(--colour-text); */
    font-weight: bold;
    font-size: 15px;
    /* height: 18px; */
    cursor: pointer;
    padding: 0;
    height: fit-content;
}
#overlayHamburger .container:hover {
    color: var(--background-color);
    background-color: var(--primary-color);
}
#overlayHamburger > .container {
    /*
    padding-top: 4.5px;
    padding-bottom: 4.5px;
    */
}
#overlayHamburger .container a {
    width: 100%;
    padding: 4.5px 0;
    color: var(--tcg-text-primary);
    text-decoration: none;
    line-height: initial;
}
#overlayHamburger .container a:hover {
    color: var(--background-color);
    background-color: var(--primary-color);
}

@media screen and (max-width: 400px) {
    #buttonHamburger {
        min-height: 5vh;
        max-height: 5vh;
        min-width: 5.5vh;
        max-width: 5.5vh;
    }
    #buttonHamburger .icon.hamburger {
        min-height: 4vh;
        max-height: 4vh;
        min-width: 4vh;
        max-width: 4vh;
    }
    #overlayHamburger {
        padding-top: 5vh;
    }
}

/* Confirm overlay */
#overlayConfirm {
    position: absolute;
    left: 25vw;
    width: 50vw;
    height: 50vh;
}

#overlayConfirm .row > * {
    margin-left: auto;
    margin-right: auto;
}

#overlayConfirm .row .button.button-cancel {
    margin-right: 0.5vh;
}
#overlayConfirm .row .button.submit {
    margin-left: 0.5vh;
}


