body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-size: var(--normal);
    margin: 0;
    font-family: oxanium;
    background-size: cover;
}

.fondo {
    background-color: #fff;
    background-image: url('../totem/background.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.main_container {
    padding: 0 1rem 0 0;
}

.inner_container {
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

a {
    color: #000;
    text-decoration: none;
}

a:visited {
    color: #000;
    text-decoration: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(10vh - 1rem);
}

.log_container {
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end !important;
    width: fit-content;
}

.log_container .img_container {
    width: 25%;
}

.img_container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#logo_img {
    max-height: calc(10vh - 1rem);
}

img {
    width: 100%;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.col {
    flex-direction: column;
}

.logo_titulo {
    width: 75%;
    justify-content: flex-start;
    gap: 1rem;
}

.logo_titulo .img_container {
    width: 15rem;
}

.logo_titulo .texto {
    font-size: var(--titulo);
}

.logout_button {
    font-size: var(--peque);
    width: fit-content;
}

.mid_container {
    display: flex;
    gap: 0.3em;
    padding-top: 1rem;
    width: 100%;
}

.menu,
.submenu {
    /* width: 15%; */
    /* border: 1px solid black; */
    box-shadow: 5px 5px 5px 2px rgba(0, 0, 0, .2);
    border-radius: 15px;
    justify-content: space-between;
    padding: 4em 1em;
    gap: 2em;
    background-color: #fff;
}

.menu {
    height: 66vh;
    overflow: auto;
    transition: height 1s;
    flex: 0 0 auto;
}

.menu ul,
.submenu ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0.5em;
    padding-inline-start: 0.05em;
}

.menu li,
.submenu li {
    font-size: var(--titulo);
    width: fit-content;
}

.menu li.submenu_item {
    font-size: var(--normal);
    justify-content: flex-end;
    /* margin: 0; */
}

.margintop {
    margin-top: 1em !important;
}

.menu li,
.submenu li,
.logout_button,
.boton {
    cursor: pointer;
}

.menu li:hover,
.submenu li:hover {
    text-shadow: 1px 0 currentColor;
    text-decoration: underline;
}

.submenu {
    width: 0;
    opacity: 0;
    font-size: 0px;
    transition: width 1s, opacity 1s, font-size 1s;
}

.show-submenu {
    width: 7em;
    opacity: 1;
    font-size: inherit;
}

li.selected {
    text-decoration: underline;
}

.submenu_item.conf {
    width: 11.7rem;
}

.submenu_item.review_stats {
    width: 17.1rem;
}

.submenu_item.carteleria {
    width: 14.2rem;
}

.hide {
    display: none !important;
}

.content_container {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
    max-height: calc(90vh - 1rem);
}

.outer_content_container {
    overflow-y: auto;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(26, 20, 20, 0.5);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 20, 20, 0.75);
}

/* Handle */
::-webkit-scrollbar-thumb:horizontal {
    background: rgba(26, 20, 20, 0.3);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:horizontal:hover {
    background: rgba(26, 20, 20, 0.5);
}

/* .operador_container {
    width: 100%;
    font-size: 0.9rem;
}

.marginBottom {
    margin-bottom: 1rem;
} */

ul {
    margin: 0;
}

button {
    border: none;
}

#submit.top_button,
.top_button {
    padding: 0.5em;
    border-radius: 4px;
    color: inherit;
    background-color: #fff;
    /* border: 1px solid #000; */
    font-family: Roboto-Regular;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, .2), inset 0 0 0 0 rgba(0, 0, 0, .2);
    /* width: fit-content; */
    min-width: 8rem;
    font-size: var(--normal);
    overflow: hidden;
    transition: all ease 0.2s;
}

#submit.top_button:hover,
.top_button:active,
.top_button:hover {
    background-color: #019c50;
    /* border: 1px solid #019c50; */
    cursor: pointer;
    transform: scaleY(1.1);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, .2), inset 1px 1px 3px 2px rgba(0, 0, 0, .2);
}

.greyed {
    filter: grayscale(1);
}

.disabled {
    pointer-events: none;
    opacity: 0.3;
    background-color: gray;
    filter: brightness(0.5);
    border-radius: 15px;
    min-height: 100%;
}

.plus {
    pointer-events: none;
    background-color: white;
    border-radius: 15px;
    width: 25%;
    padding: 1em;
    z-index: 10;
    text-align: center;
    margin: 12.5% 25%;
    position: absolute;
    box-shadow: 3px 3px 7px 3px rgba(0, 0, 0, .2);
}

.noscroll {
    overflow: hidden;
}

.submenu_item {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    text-align: right;
}

.submenu_item.show {
    max-height: 50px;
    /* Ajusta según el tamaño del contenido */
    opacity: 1;
}

#overlay,
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    /* Ensure the overlay is on top */
}

.popup,
#popup,
#popup_warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    /* Ensure the popup is above the overlay */
    text-align: center;
    transition: all 0.5s;
    border-radius: 15px;
}