.mecip {
    padding-bottom: 20px;
}

.administrar {
    text-align: right;
    padding-bottom: 5px;
}

.titulo-mecip {
    font-size: 24pt;
    padding: 25px;
    color: var(--primer-color);
    font-weight: bolder;
    text-align: center;
}

.marco {
    display: grid;
    grid-template-columns: 800px;
    justify-content: center;
}

.cuerpo {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.cuerpo div {
    padding: 20px;
}

.level_1 {
    padding: 8px;
    font-size: 14pt;
    font-weight: 700;
    cursor: pointer;
    background-color: #333333;
    color: #eee;
    margin-top: 5px;
    text-align: left;
}

.level_1:after {
    content: '\02795\fe0e';
    font-size: 14pt;
    color: white;
    float: right;
    margin-left: 5px;
}

.level_1:hover {
    background-color: #494949;
}

.active:after {
    content: '\2796\fe0e';
}

.cuerpo .level_2 {
    padding: 12px;
    font-size: 24px;
    text-align: center;
    color: var(--primer-color);
    font-weight: 700;
}

.cuerpo .level_3 {
    padding: 12px;
    font-size: 18px;
    text-align: center;
    font-weight: 700;
}

.cuerpo .level_x {
    padding: 12px;
    font-size: 18px;
    text-align: center;
}

.cuerpo .lista_docs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: justify;
}


.cuerpo .level_doc {
    padding-left: 12px;
}

.cuerpo .level_doc i {
    padding-right: 8px;
}

.cuadro {
    border: none;
    background-color: lightgray;
    border-radius: 5px;
    border: 2px, solid, lightgray;
    overflow: hidden;
}

.icono {
    padding: 8px;
    cursor: pointer;
}

.administracion {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    border: 1px solid #494949;
    height: 500px;
}

.lateral {
    background-color: #f2f0f0;
    width: 250px;
    border-right: #848484 1px solid;
    display: flex;
    flex-direction: column;
}

.lateral .titulo {
    text-align: center;
    background-color: #848484;
    color: #fff;
}

.principal {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    gap: 5px;
    padding: 5px;
}

.principal .secciones {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 4px;
}

.principal .secciones .sec_botonera {
    border: #848484 1px solid;
    font-size: 12pt;
    display: inline-flex;
    gap: 8px;
    padding: 5px;
}

.principal .secciones .sec_botonera button {
    cursor: pointer;
}

.principal .secciones .sec_tabla {
    flex-grow: 1;
    flex-basis: 0;
    overflow: auto;
    display: block;
    border: #848484 1px solid;
    padding: 5px;
}

.principal .secciones .sec_tabla i {
    padding-right: 8px;
}

.principal .secciones .sec_tabla table {
    cursor: pointer;
}

.principal .secciones .sec_tabla table td,
.principal .secciones .sec_tabla table th {
    padding: 7px;
    border: 1px solid #848484;
}

.principal .secciones .sec_tabla table tr:nth-child(even) {
    background-color: #dddddd;
}

.items {
    overflow: auto;
    flex-grow: 1;
}

.items div {
    width: fit-content;
    padding-right: 40px;
}

.items ol {
    list-style-type: none;
    border-left: 1px #848484 solid;
    padding-left: 20px;
}

.items li {
    text-wrap: nowrap;
}

.items li button {
    text-align: left;
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: inherit;
    font-family: inherit;
    font-size: inherit;
}

.items li button::before {
    font-weight: 500;
}

.item::before {
    content: '\02795\fe0e';
    padding-right: 3px;
}

.items li .cuerpo {
    background-color: #f2f0f0;
}

.activo::before {
    content: '\2796\fe0e';
}

.selected {
    font-weight: 700;
}

.desplegado {
    max-height: fit-content;
}

.seleccionado_mecip {
    background-color: #0078D7 !important;
    color: #eee;
}

.modal_mecip {
    width: 455px;
}

@media (max-width: 858px) {
    .marco {
        grid-template-columns: 1fr;
        margin: 20px;
    }
}