* {
    font-family: danoneOne !important;
}

body {
    width: 100svw;
    height: 100svh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #E1F5FE;
    background: linear-gradient(160deg, rgba(225, 245, 254, 1) 75%, rgba(0, 172, 237, 1) 90%, rgba(0, 94, 184, 1) 100%);
}

.flex {
    display: flex;
}

.col {
    flex-direction: column;
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
}

.contenedor {
    width: fit-content;
    gap: 0.5em;
    margin: 1em;
}

.titlebox {
    align-items: center;
}

.main_container {
    justify-content: center;
}

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

header,
footer {
    width: 100%;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.header_right,
.logout {
    gap: 0.5em;
}

.logo_titulo {
    gap: 1rem;
}

.logo_titulo>.center {
    align-items: center;
}

.logo_titulo>.img_container {
    width: 12rem;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.username {
    max-width: 7.5rem;
}

.rojo {
    color: red;
}

input.borde_rojo::placeholder {
    color: red;
}

.borde_rojo {
    border: 1px solid red;
}

.hide {
    display: none !important;
}

.logo_container {
    width: 4rem;
}

.ade_logo {
    /* position: absolute;
    bottom: 0; */
    width: 12rem;
    margin-left: calc(50% - 6rem);
}

.inner_container {
    width: 100%;
    padding: 1%;
    box-sizing: border-box;
}

button,
input[type="submit"] {
    border: none;
    border-radius: 15px;
    box-sizing: border-box;
    box-shadow: 5px 5px 5px 2px rgba(0, 94, 184, .2), inset 0 0 0 0 rgba(0, 0, 0, .2);
    cursor: pointer;
    padding: 0.5em 1em;
    width: fit-content;
    transition: box-shadow ease 0.5s, transform ease 0.1s;
    background-color: rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="submit"]:hover {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, .2), inset 5px 5px 5px 2px rgba(0, 94, 184, .2);
}

button:active,
input[type="submit"]:active {
    transform: scale(0.95);
}

.filtrar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

#logo_img {
    width: 2rem;
}

.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, 94, 184, .2);
    border-radius: 15px;
    justify-content: space-between;
    padding: 1em;
    height: fit-content;
    gap: 2em;
    background-color: rgba(255, 255, 255, 0.8);
}

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

.menu li,
.submenu li {
    width: fit-content;
}

.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;
}

.menu li.submenu_item {
    justify-content: flex-end;
    /* margin: 0; */
}

.submenu_item {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    text-align: right;
    margin-left: auto;
    font-size: 0.9rem;
}

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

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

.content_container {
    display: flex;
    gap: 0.3em;
    padding-left: 1rem;
    /* padding-top: 1rem; */
    width: 100%;
    height: 80vh;
    overflow: auto;
}

.icon {
    width: 2rem;
    cursor: pointer;
    border-radius: 50px;
    transition: box-shadow 0.5s;
}

.icon:hover {
    box-shadow: 1px 1px 5px 4px #0000004f;
}

.container {
    width: 100%;
    display: flex;
    margin: 0 auto;
}

.agregar {
    margin-bottom: 1em;
}

.botones {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}


#disponibilidad {
    width: 500px;
    height: auto;
}

.popUp {
    width: fit-content;
    height: fit-content;
    border-radius: 15px;
    box-sizing: border-box;
    box-shadow: 1px 1px 5px 4px #0000004f;
    padding: 3rem;
    gap: 1em;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
}

.popUp div label {
    display: flex;
    /* width: 15%; */
}

.popUp#turnos,
.popUp#editar {
    width: 75%;
    height: 90vh;
}

h1 {
    margin: 0
}

.pad3 {
    padding: 0.3em;
}

.popup_inner_container {
    width: 50%;
    margin: auto;
    gap: 1em;
}

select,
input {
    border-radius: 4px;
    padding: 0.5em;
}

#dp,
#nav,
select,
option,
input {
    font-family: danoneOne !important;
    /* reemplaza defaults */
}

.buscador {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.buscador img {
    width: 1rem;
    cursor: pointer;
}

.filtros {
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
}

.filtro_container {
    gap: 0.5em;
    align-items: center;
}

video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1 {
    margin: 0;
}

footer {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
}

.subcontainer {
    margin-top: 1rem;
}

.center {
    justify-content: center;
}

.gap {
    gap: 1rem;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    transition: background-color 0.5s ease-in-out;
    z-index: 100;
}

.overlay_inner_container {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 3rem;
    width: calc(100% - 6rem);
    height: calc(100% - 6rem);
}

.overlay .botones {
    /* padding: 2rem; */
    gap: 4rem;
    /* position: absolute;
    bottom: 0; */
}

input[type="checkbox"],
input[type="radio"] {
    transform: scale(2);
    /* aumenta 1.5x el tamaño */
    margin: 10px;
}

.checkboxes {
    gap: 1rem;
    align-items: flex-start;
}

.checkbox_container {
    align-items: center;
}

.margintop {
    margin-top: 3rem;
}

.letrachica {
    font-size: 1rem !important;
}

#div_disponibilidad>.subdiv {
    flex-direction: column;
}

/* 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);
}

.info {
    font-size: 0.8rem;
    color: #666;
    margin: 0.5rem 0;
}

input[readonly] {
    cursor: auto;
}