.expression-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#expression-wrapper {
    display: flex;
    height: calc(100vh - 40px);
    width: 100vw;
}

#visual-novel-wrapper {
    display: flex;
    height: calc(100vh - 40px);
    width: 100vw;
    position: relative;
    overflow: hidden;
}

#visual-novel-wrapper .expression-holder {
    width: max-content;
    display: flex;
    left: unset;
    right: unset;
}

#visual-novel-wrapper .hidden {
    display: none !important;
    visibility: hidden !important;
}

/*#visual-novel-wrapper img.expression {
    object-fit: cover;
}*/

.expression-holder {
    min-width: 100px;
    min-height: 100px;
    max-height: 90vh;
    max-width: 90vh;
    width: calc((100vw - var(--sheldWidth)) /2);
    position: absolute;
    bottom: 0;
    padding: 0;
    left: 0;
    filter: drop-shadow(2px 2px 2px #51515199);
    z-index: 2;
    overflow: hidden;
    resize: both;

}

img.expression {
    min-width: 100px;
    min-height: 100px;
    max-height: 90vh;
    max-width: 90vh;
    width: 100%;
    top: 0;
    bottom: 0;
    padding: 0;
    vertical-align: bottom;
    object-fit: contain;
}

img.expression[src=""] {
    visibility: hidden;
}

img.expression.default {
    vertical-align: middle;
    max-height: 120px;
    object-fit: contain !important;
    margin-top: 50px;
}

.expression-clone {
    position: absolute;
}

.debug-image {
    display: none;
    visibility: collapse;
    opacity: 0;
    width: 0px;
    height: 0px;
}

.expression_list_item {
    position: relative;
    max-width: 20%;
    min-width: 100px;
    max-height: 200px;
    background-color: #515151b0;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.expression_list_title {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    font-weight: 600;
    background-color: #000000a8;
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.expression_list_buttons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* height: 20%; */
    padding: 0.25rem;
}

.menu_button.expression_list_delete,
.menu_button.expression_list_upload {
    margin-top: 0;
    margin-bottom: 0;
}

.expression_list_image {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

#image_list {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
    margin: 1rem;
    flex-wrap: wrap;
    justify-content: space-evenly;
    row-gap: 1rem;
}

#image_list .success {
    color: green;
}

#image_list .failure {
    color: red;
}

.expression_settings label {
    display: flex;
    align-items: center;
    flex-direction: row;
    margin-left: 0px;
}

.expression_settings label input {
    margin-left: 0px !important;
}

.expression_buttons .menu_button {
    width: fit-content;
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-direction: row;
}

@media screen and (max-width:1200px) {
    div.expression {
        display: none;
    }
}