@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyN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wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/*Empiezan los ajustes*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/ 


/* Estilos para el fondo oscurecido */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Estilos para el modal */
.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}


/*Empiezan los ajustes*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/ 
code {
    color: #c02d76;
}

[class*=underlay] {
    left: 0;
    min-height: 100%;
    min-width: 100%;
    position: fixed;
    top: 0;
}

.underlay-photo {
    background: url('../imagenes/Gep.jpg');
    background-size: 120%;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
    z-index: -1;
}

.underlay-black {
    background: linear-gradient(to bottom, rgba(214, 209, 196, .8), rgba(233, 231, 224, 1));
    z-index: -1;
}

.login-box {
    width: 500px;
    height: 600px;
    border-radius: 5px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, rgba(248, 247, 245, 1), rgba(250, 252, 251, 1));
    overflow: hidden;
}

.background-image-div {
    width: 100%;
    max-width: 500px;
    height: 250px; /* Ajusta la altura según sea necesario */
    background-image: url('../imagenes/armas_puebla.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Importante para la posición de la capa */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .05); /* Color y opacidad de la capa */
    pointer-events: none; /* Evita la interacción con la capa */
}

html {
    --ant-primary-color: #A8123E;
    --ant-primary-color-hover: #e41f22;
    --ant-primary-color-active: #6b0824;
    --ant-primary-color-outline: rgba(168, 18, 62, 0.2);
    --ant-primary-1: #fbe4e8;
    --ant-primary-2: #f6b2b7;
    --ant-primary-3: #f08185;
    --ant-primary-4: #ea5054;
    --ant-primary-5: #e41f22;
    --ant-primary-6: #A8123E;
    --ant-primary-7: #6b0824;
    --ant-primary-color-deprecated-pure: #fbe4e8;
    --ant-primary-color-deprecated-l-35: #f6b2b7;
    --ant-primary-color-deprecated-l-20: #f08185;
    --ant-primary-color-deprecated-t-20: #ea5054;
    --ant-primary-color-deprecated-t-50: #e41f22;
    --ant-primary-color-deprecated-f-12: rgba(168, 18, 62, 0.12);
    --ant-primary-color-active-deprecated-f-30: rgba(168, 18, 62, 0.5);
    --ant-primary-color-active-deprecated-d-02: #8C102F;
    --ant-success-color: #f6b2b7;
    --ant-success-color-hover: #fbe4e8;
    --ant-success-color-active: #f08185;
    --ant-success-color-outline: rgba(168, 18, 62, 0.2);
    --ant-success-color-deprecated-bg: #fbe4e8;
    --ant-success-color-deprecated-border: #ffb7c3;
    --ant-error-color: #ff4d4f;
    --ant-error-color-hover: #ff7875;
    --ant-error-color-active: #d9363e;
    --ant-error-color-outline: rgba(255, 77, 79, 0.2);
    --ant-error-color-deprecated-bg: #fff2f0;
    --ant-error-color-deprecated-border: #ffccc7;
    --ant-warning-color: #faad14;
    --ant-warning-color-hover: #ffc53d;
    --ant-warning-color-active: #d48806;
    --ant-warning-color-outline: rgba(250, 173, 20, 0.2);
    --ant-warning-color-deprecated-bg: #fffbe6;
    --ant-warning-color-deprecated-border: #ffe58f;
    --ant-info-color: #1890ff;
    --ant-info-color-deprecated-bg: #e6f7ff;
    --ant-info-color-deprecated-border: #91d5ff;
}

#components-layout-demo-side .logo {
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    margin: 16px;
}

.site-layout .site-layout-background {
    background: #fff;
    padding: 2px 2px 2px 18px;
}

.info-session {
    display: block !important;
    font-size: .95rem;
    color: #222; /* Color del texto */
}

.text-title-header {
    font-size: 2rem;
}

/* De MainLayout.razor::::::::::::::::::::::::::::::::::::::::*/

.fixed-div {
    z-index: 15;
    position: fixed;
    top: 0px;
    right: 16px;
}

.background-div {
    background-color: white; /* Fondo blanco */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra desenfocada */
    backdrop-filter: blur(5px);
}

.custom-footer{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100px;
    background-color: #f8f8f8;
    padding: 5px;
    font-size: .85rem;
}

.logo-adm {
    width: 150px;
    height: 85px; /* Ajusta la altura según sea necesario */
    background-image: url('../imagenes/sadm.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Importante para la posición de la capa */
    margin-right: 40px;
    top: -9px;
}

.transparent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .0); /* Color y opacidad de la capa */
    pointer-events: none; /* Evita la interacción con la capa */
}

/* De Index.razor::::::::::::::::::::::::::::::::::::::::*/

.space-align-container {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.space-align-block {
    margin: 8px 4px;
    border: 1px solid #A8123E;
    padding: 4px;
    flex: none;
}

    .space-align-block .mock-block {
        display: inline-block;
        padding: 32px 8px 16px;
        background: rgba(150, 150, 150, 0.2);
    }

.activ {
    display: inline;
}

/* Quiz Autoevalucación::::::::::::::::::::::::::::::::::::::*/
.responsive-div-table {
    display: flex;
    flex-direction: column;
    gap: 0px; /* Espaciado entre filas */
}

    .responsive-div-table .row {
        display: flex;
        flex-wrap: wrap;
        border: 1px solid #ddd; /* Borde de la fila */
        padding: 5px; /* Espaciado interno de la fila */
        border-radius: 5px; /* Bordes redondeados */
        background-color: #fff; /* Fondo blanco */
        
        flex: 1 1 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

        .responsive-div-table .row > div {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

.ant-table-row-expand-icon-cell {
    display: none;
}

.responsive-ant-column {
    font-size: 1rem;
    width: 60% !important;
}

.pregunta {
    font-size: 1.3rem;
    white-space: pre-wrap;
}

.observacion {
    font-size: .9rem;
    white-space: pre-wrap;
}

@media (max-width: 600px) {
    .ant-alert {
        padding: 2px !important; /* Reducir paddings */
    }

    .text-title-header{
        font-size: 1rem;
    }

    .info-session {
        display: inline !important;
        font-size: .75rem;
        word-wrap: break-word;
    }

    .site-layout .site-layout-background {
        background: #fff;
        padding: 0px;
        font-size: 0.2rem;
    }

    .fixed-div {
        position: fixed;
        top: unset;
        right: 0px;
        bottom: 0px;
        left: 35px;
    }

    .activ {
        display: block;
        width: 100%; /* Ocupar todo el ancho del contenedor */
        box-sizing: border-box; /* Incluir padding y borde en el ancho */
        margin: 16px 0;
    }

    .responsive-div-table .row > div > div {
        flex: 1; /* En pantallas más grandes, distribuir columnas igualmente */
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .ant-table-row-expand-icon-cell {
        display: none !important; /* Asegúrate de mantener esto para dispositivos pequeños */
    }

    .responsive-ant-column {
        font-size: 1rem;
        width: unset !important;
        min-width: 60% !important;
    }

    .pregunta {
        font-size: 1rem;
        font-weight: 600;
        white-space: normal; /* Permitir el wrap del texto */
        word-wrap: break-word;
    }

    .observacion {
        font-size: .85rem;
        white-space: normal; /* Permitir el wrap del texto */
        word-wrap: break-word;
    }
}

@media (min-width: 601px) and (max-width: 992px){
    .ant-alert {
        padding: 5px !important; /* Reducir paddings */
    }

    .text-title-header {
        font-size: 2rem;
    }

    .info-session {
        font-size: .8rem;
        word-wrap: break-word;
    }

    .site-layout .site-layout-background {
        background: #fff;
        padding: 0px;
        font-size: 0.2rem;
    }

    .fixed-div {
        position: fixed;
        top: unset;
        right: 0px;
        bottom: 0px;
        left: 35px;
    }



}