.sub {
    flex-direction: column;
}

body {
    display: flex;
}

#CargPlano {
    height: 80vh;
}

#totales {
    flex-wrap: wrap;
}

#bases {
    flex-wrap: wrap;
}

tbody {
    display: block;
    max-height: 30vh;
    overflow-y: auto;
}

thead,
tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

tbody td {
    height: 15px;
}

thead {
    width: calc( 100%)
}

.modificadorCelda {
    height: 100%;
    width: 100%;
}

#registroMa {
    margin-left: 30%;
    margin-top: 2%;
    align-self: flex-end;
    height: 90%;
    width: 40%;
    background: white;
}

#registroMa input {
    height: 10%;
}

#registroHist {
    margin-left: 20%;
    margin-top: 2%;
    align-self: flex-end;
    height: 100%;
    width: 60%;
    background: white;
}

#comentarioMa {
    background: wheat;
    height: 10vh;
}

#VErregistroMa {
    margin-left: 30%;
    margin-top: 2%;
    align-self: flex-end;
    height: 90%;
    width: 40%;
    background: white;
}

#vertroHist {
    margin-left: 20%;
    margin-top: 2%;
    align-self: flex-end;
    height: 90%;
    width: 60%;
    background: white;
}

.botonregresar {
    padding-right: 0px;
    padding-left: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    border-left-width: 0px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    background-image: url(../img/regresar.png);
    height: 31px;
    width: 89px;
    float: inherit;
    top: 12px;
    margin-left: 20px;
    margin-top: 15px;
}

.botonregresar:hover {
    background-image: url(../img/regresarov.png);
}

.boton1 {
    background-image: url(../img/ver.png);
    width: 118px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px 10px 10px 10px;
}

.boton2 {
    background-image: url(../img/crear.png);
    width: 118px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px 10px 10px 10px;
}

.boton3 {
    background-image: url(../img/historia.png);
    width: 118px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px 10px 10px 10px;
}

.boton4 {
    background-image: url(../img/nuevahistoria.png);
    width: 120px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px 10px 10px 10px;
}

#registro {
    height: 90%;
    width: 50%;
    margin-left: 25%;
    margin-top: 2%;
    background: white;
}

#provedorm {
    height: 70%;
    width: 80%;
    margin-left: 10%;
    margin-top: 2%;
    background: white;
}

#modal {
    margin-top: 2%;
}

#busprovedor {
    margin-top: 1.8%;
    background: orange;
    height: 35px;
    width: 38px;
    font-size: 20px;
    align-items: center;
    text-align: center;
    border: 0px;
    border-radius: 8px;
}