div#dressup {
}

.dressupContainer {
    display: flex;
    flex: 1;
    position: relative;
    touch-action: none;
}

.dressupCharacterChoice {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dressupCharacterChoiceHeader {
    text-align: center;
    font-size: 3em;
    font-weight: bold;
}

.dressupCharacterList {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    overflow-y: auto;
}

.dressupCharacterContainer {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.dressupControlsContainer {
    display: flex;
    flex-direction: column;
    z-index: 200;
    background-color: var(--tile2-background-color);
    border-left: 8px solid var(--tile2-border-color);
    width: 440px;
    height: 100%;
}

.dressupButtonsContainer {
    margin: 4px;
    display: flex;
    flex-direction: row;
    background-color: var(--tile-background-color);
    border-bottom: 4px solid var(--tile2-border-color);
}

.dressupButton {
    background-color: var(--button-background-color);
    border-color: var(--button-border-color);
    color: var(--button-color);
}

.dressupItemContainer {
    flex: 1;
    background-color: var(--tile-background-color);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.dressupCategoryContainer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
}

.dressupCategoryHeader {
    margin: 8px;
    width: 100%;
    padding: 8px;
    font-size: 2em;
    background-color: var(--tile2-background-color);
    border: 2px solid var(--tile2-border-color);
    color: var(--tile2-color);
}

.dressupLayer {
    position: absolute;
    top: 0;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
}

.dressupItemPopup {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: var(--tile2-background-color);
    color: var(--tile2-color);
    z-index: 300;
    text-align: center;
}

.dressupBase {
    z-index: 15;
}

.dressupThumbnail {
    width: 128px;
    height: 128px;
    min-width: 128px;
    min-height: 128px;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    margin: 4px;
    border: 2px solid var(--tile2-border-color);
    background-color: var(--button-background-color);
}


.dressupThumbnail.selected {
    background-color: var(--button-active-color);
}

@media (hover: hover) {
    .dressupThumbnail:hover {
        background-color: var(--button-hover-background-color);
    }
}

@media all and (max-width: 1024px)
{
    .dressupControlsContainer {
        width: 148px;
    }

    .dressupButtonsContainer button {
        font-size: 0.8em;
        padding: 0;
    }

    .dressupButtonsContainer {
        flex-direction: column;
    }

    .dressupCategoryHeader {
        font-size: 0.8em;
    }
}
