/*Modo obscuro*/
:root {
    color-scheme: light dark;
}

body {
    background-color: var(--background-color);
}

/*Formato en página*/
.card {
    margin: 7% 10% 7% 10%;
    background: none;
    border: none;
}

.tituloVertical {
    writing-mode: vertical-rl;
    position: fixed;
    text-transform: uppercase;
    text-shadow: 2px;
    margin-left: -8%;
    margin-bottom: 25px;
    margin-top: 25px;
}

.decreto {
    font-weight: 900;
    text-align: justify;
}

.articulo {
    scroll-margin-top: 10ex;
    text-indent: 2%;
}

.apartado {
    scroll-margin-top: 10ex;
    margin-left: 2.5%;
    margin-right: 2.5%;
}

.fraccion {
    scroll-margin-top: 10ex;
    margin-left: 4%;
    margin-right: 3%;
}

.inciso {
    scroll-margin-top: 10ex;
    margin-left: 6%;
    margin-right: 5%;
}

.subinciso {
    margin-left: 9%;
    margin-right: 5%;
}

.subsubinciso {
    margin-left: 14%;
    margin-right: 5%;
}

.nota {
    text-align: right;
    color: rgb(0, 119, 255);
    font-style: italic;
    margin-right: 2.5%;
}

.notaRMF {
    text-align: right;
    color: rgb(146, 75, 208);
    font-style: italic;
    margin-right: 2.5%;
}

.concepto {
    text-indent: -2.5%;
    margin-left: 10%;
    margin-right: 10%;
}

.lista {
    margin-left: 3%;
    margin-right: 3%;
    list-style-type: none;
}

/*Comentarios*/
.comentario {
    margin: 20px 0 30px;
    padding-left: 20px;
}

.comentarioConstitucion {
    border-left: 5px solid rgb(164, 164, 164);
    background-color: rgba(164, 164, 164, 0.1);
}

.comentarioCodigo {
    border-left: 5px solid rgb(255, 157, 0);
    background-color: rgba(255, 157, 0, 0.1);
}

.comentarioLey {
    border-left: 5px solid rgb(0, 179, 255);
    background-color: rgba(0, 179, 255, 0.1);
}

.comentarioReglamento {
    border-left: 5px solid rgb(80, 184, 80);
    background-color: rgba(80, 184, 80, 0.1);
}

.comentarioResolucion {
    border-left: 5px solid rgb(146, 75, 208);
    background-color: rgba(146, 75, 208, 0.1);
}

.comentarioAnexo {
    border-left: 5px solid rgb(208, 75, 177);
    background-color: rgba(208, 75, 177, 0.1);
}

/*Referencias*/

.enlaceConstitucion {
    color: rgb(164, 164, 164);
    text-decoration: none;
}

.enlaceCodigo {
    color: rgb(255, 157, 0);
    text-decoration: none;
}

.enlaceLey {
    color: rgb(0, 179, 255);
    text-decoration: none;
}

.enlaceReglamento {
    color: rgb(80, 184, 80);
    text-decoration: none;
}

.enlaceResolucion {
    color: rgb(146, 75, 208);
    text-decoration: none;
}

.enlaceAnexo {
    color: rgb(208, 75, 177);
    text-decoration: none;
}

/*Tabla*/
table {
    border: 3px solid;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    table-layout: auto;
    width: 75%;
}

td {
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding-right: 2%;
    text-align: right;
}

tr {
    text-align: center;
    text-shadow: 1px;
}

th {
    width: 100px;
    word-wrap: break-word;
}

.textoVertical {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    word-wrap: break-word;
    padding: 10px;
    border-collapse: collapse;
}

/*Menús con Scroll Bar*/
.dropdown-menu {
    overflow: auto;
    height: 500px;
}

/*Menú flotante*/

#btn-mas {
    display: none;
}

.container {
    position: fixed;
    bottom: 20%;
    margin-left: 93%;
}

.herramientas a,
.icon-mas2 {
    display: block;
    text-decoration: none;
    background: rgba(0, 0, 0, 0);
    width: 55px;
    height: 55px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    border-color: aqua;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
    transition: all 500ms ease;
    font-size: 25px;
}

.herramientas a {
    margin-bottom: -15px;
    opacity: 0;
    visibility: hidden;
}

#btn-mas:checked~.herramientas a {
    margin-bottom: 10px;
    opacity: 1;
    visibility: visible;
}

#btn-mas:checked~.herramientas a {
    margin-bottom: 10px;
    opacity: 1;
    visibility: visible;
}