/* INDICE
! -------------- OPCIONES: CHOISE E IMAGEN -------------- !
*   #pregunta-btn__opciones
*       .contenedor__opciones
*           .progress
*           #ba-logo-contenedor__header
*           #enunciado__opciones
*           #lista__opciones CHOISE
*           #lista-imagenes__opciones IMAGENES
*               .item__opciones CHOISE
*               #lista-imagenes__opciones li IMAGENES
*               .item-imagen__opciones IMAGENES
*                   .label__opciones
*                   .label__opciones input
*                   .checkmark
*                   input
! -------------- TEXTO LATERAL -------------- !

*/

/* ! PREGUNTA OPCIONES =========================================== */

#pregunta-btn__opciones{
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .contenedor__opciones {
        display: grid;
        grid-template-rows: auto auto;
        height: auto;
        max-width: 900px;
        margin: 0 auto;
        padding: 2rem;
        border-radius: 0.25rem;
        background-color: #fff;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    }

        .progress {
            width: 70%;
            margin: 1rem auto;

            box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
        }

        #enunciado__opciones {
            padding: 1.5rem 0;
        }

            #enunciado__opciones p {
              font-weight: 700;
            }

            #enunciado__opciones img {
                display: block;
                width: 100%;
                max-width: max-content;
                margin: 1rem auto;
                border-radius: 5px;
                cursor: pointer;
                transition: 0.3s;
            }

            #enunciado__opciones img:hover {
                opacity: 0.7;
            }

        #lista__opciones, .lista__opciones {
            padding: 0;
            -webkit-box-shadow: 0px 0px 5px 0.5px rgba(87,87,87,0.3);
            box-shadow: 0px 0px 5px 0.5px rgba(87,87,87,0.3);
        } /* CHOISE */

        #lista-imagenes__opciones {
            display: flex;
            flex-flow: wrap;
            text-align: center;
            padding: 0;
        } /* IMAGENES */

            .item__opciones {
                position: relative;
                display: block;
                padding: 0.5rem 1rem;
                color: #212529;
                text-decoration: none;
                background-color: #fff;
                border: 1px solid rgba(0,0,0,.125);
            } /* CHOISE */

            .item__opciones:first-child {
                border-top-left-radius: inherit;
                border-top-right-radius: inherit;
            } /* CHOISE */

            .item__opciones+.item__opciones {
                border-top-width: 0;
            } /* CHOISE */

            .item__opciones:active {
                background-color: #fff3b5;
            } /* CHOISE */

            #lista-imagenes__opciones li {
                width: 50%;
            } /* IMAGENES */

            .item-imagen__opciones {
                position: relative;
                display: block;
                padding: 0.5rem 1rem;
                color: #212529;
                text-decoration: none;
                background-color: #fff;
                border: 1px solid rgba(0,0,0,.125);
            } /* IMAGENES */

            .item-imagen__opciones:first-child {
                border-top-left-radius: inherit;
                border-top-right-radius: inherit;
            } /* IMAGENES */

            .item-imagen__opciones+.item-imagen__opciones+.item-imagen__opciones {
                border-top-width: 0;
            } /* IMAGENES */
            .item-imagen__opciones:nth-child(2),.item-imagen__opciones:nth-child(4) {
                border-left-width: 0;
            } /* IMAGENES */

            .item-imagen__opciones:active {
                background-color: #fff3b5;
            } /* IMAGENES */

                .label__opciones {
                    display: block;
                    position: relative;
                    padding-left: 35px;
                    margin-bottom: 0px;
                    cursor: pointer;
                    -webkit-user-select: none;
                    -moz-user-select: none;
                    -ms-user-select: none;
                    user-select: none;
                }

                    /* Esconde el radio button del navegador*/
                    .label__opciones input {
                        position: absolute;
                        opacity: 0;
                        cursor: pointer;
                    }

                    /* Crea un radio button customizado */
                    .checkmark {
                        position: absolute;
                        top: 0;
                        left: 0;
                        height: 25px;
                        width: 25px;
                        background-color: #FFF;
                        border-radius: 50%;
                        border:1px solid black;
                    }

                    /* Pinta Checkmark de gris cuando pasa el mouse por encima del input */
                    .label__opciones:hover input ~ .checkmark {
                        background-color: #ccc;
                    }

                    /* Pinta el checkmark de amarillo cuando se selecciona el input */
                    .label__opciones input:checked ~ .checkmark {
                    background-color: #F5DA55;
                    }

                    /* Crea un circulo dentro del checkmark cuando el input fue selecionado */
                    .checkmark:after {
                        content: "";
                        position: absolute;
                        display: none;
                        border:0px;
                    }

                    /* Muestra el ciculo previamente creado */
                    .label__opciones input:checked ~ .checkmark:after {
                        display: block;
                        border:0px;
                    }

                    /* Estilo y ublicacion del circulo */
                    .label__opciones .checkmark:after {
                        top: 8px;
                        left: 8px;
                        width: 8px;
                        height: 8px;
                        border-radius: 50%;
                        background: white;
                        border:0px;
                    }

                    /* Estilo del input */
                    input {
                        padding: 10px;
                        font-size: 17px;
                        /*font-family: Raleway;*/
                        border: 1px solid #aaaaaa;
                    }

/* ! TEXTO LATERAL =========================================== */

#contenedor__lateral{
    display: flex;
    gap:1.5rem;
}

    #contenedor__texto{
        background-color: white;
        width: 75%;
        float: left;
        height: 500px;
        background: #fff;
        overflow-y: scroll;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    }

        #contenedor__texto::-webkit-scrollbar {
            width: 12px;
            background-color: #F5F5F5;
        }

        #contenedor__texto::-webkit-scrollbar-thumb {
            border-radius: 10px;
            -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
            background-color: #33b5e5;
        }

        #contenedor__texto::-webkit-scrollbar-track {
            margin-top: 0px;
            margin-bottom: 400px;
        }

        #contenedor__texto {
            scrollbar-color: #33b5e5 #F5F5F5;
        }

        .maximo-scrollbar {
            min-height: auto;
        }

            #texto__lateral {
                padding: 1rem;
            }

            #texto__lateral h4 {
                text-align: center;
            }

        #pregunta-btn__lateral {
            display: flex;
            flex-direction: column;
            width: 40%;
        }

            #pregunta__lateral{
                display: grid;
                grid-template-rows: auto 1fr auto;
                max-width: 900px;
                margin: 0 auto;
                padding: 1.5rem;
                border-radius: 0.25rem;
                background-color: #fff;
                box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
            }



@media (max-width: 900px) {

    #contenedor__texto {
        width: 50%;
    }

    #pregunta-btn__lateral {
        width: 50%;
    }

}

@media (max-width: 650px) {

    #contenedor__lateral {
        flex-direction: column;
    }

    #contenedor__texto {
        width: 100%;
    }

    #pregunta-btn__lateral {
        width: 100%;
    }

}





.numerador {
    border-radius: 5px;
	padding: 6px 7px 6px 10px;
	background-color: #6f6f6f;
	color: white;
	margin-bottom: 5px;
	margin-right: 5px;
}

.label__opciones img{
    max-width: max-content;
    width:100%;
}

.progreso__opciones{
    width: 70%;
}

/* The Modal (background) */
.estilo-agrandar-imagen__modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }

  /* Imagen del modal */
  .estilo-imagen__modal {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    /* Animación */
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.8s;
  }

  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
  }

  @keyframes zoom {
    from {transform:scale(0.4)}
    to {transform:scale(1)}
  }

  /* Botón Cerrar modal */
  .cerrar__modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }

  .cerrar__modal:hover,
  .cerrar__modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .estilo-imagen__modal {
      width: 100%;
    }
  }

#presentacion__opciones {
    display: flex;
}

#presentacion__opciones p{
    border-bottom: 1px dotted grey;
    margin: 0 0.5rem;
}

#presentacion__opciones img {
    display: block;
    width: 100%;
    max-width: max-content;
}
.tablaMultiple p{
    display: inline;
}

div#enunciado__opciones.con-codigo-item{
    margin-top:0px;
    padding-top:0px;
}
.codigo-item{
    text-align: right;
    margin: 0px;
    padding: 0px;
    font-size: 0.7rem;
}
.page-link-pregunta{
        color:#000;
}
.page-link-pregunta-current{
    background-color: #333;
    color:white;
}
.page-link-pregunta-contestada{
    background-color: #ffc107;
    color:#000;
}