﻿.content {
    background: #f5f5f5;
}

.fondo-texto {
    background-color: #07354f;
    padding: 1em 2em 1em 2em;
    color: #fff;
    font-weight: bold;
    font-size: 50px;
    text-align: center;
}

    .fondo-texto .fondo-texto2 {
        font-weight: normal !important;
    }

.importantePersonal {
    width: 65%;
    margin-left: auto;
    margin-right: auto;
}

.comboServicios {
    padding-top: 0.7em;
    padding-bottom: 0.7em;
}

.inscripcion-titulo {
    color: #07354f;
    font-size: 32px;
    font-weight: bold;
    margin-top: 2em;
}

.inscripcion-subtitulo {
    color: #07354f;
    font-size: 18px;
    font-weight: bold;
    margin-top: 1.5em;
}

.inscripcion-valor {
    font-size: 1em;
    margin-top: 2em;
    margin-bottom: 2em;
}

.botonBlanco {
    background: white;
    border-radius: 10px;
    font-size: 15px;
    color: #07354f;
    font-weight: bold;
    text-align: center;
    padding: 0.8em 1.5em 0.8em 1.5em;
    cursor: pointer;
}

.botonAzul {
    background: #07354f;
    border-radius: 10px;
    font-size: 15px;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 0.8em 1.5em 0.8em 1.5em;
    cursor: pointer;
}

.botonError {
    background: white;
    border-radius: 10px;
    border: 1px solid #dc3545;
    font-size: 15px;
    color: #07354f;
    font-weight: bold;
    text-align: center;
    padding: 0.8em 1.5em 0.8em 1.5em;
    cursor: pointer;
}

.botonBlanco:hover {
    background: #07354f;
    color: white;
}

.botonBlanco.disabled {
    pointer-events: none;
}

div.center {
    text-align: center;
}

.botonTipoRegistro {
    width: 120%;
}

.w-30-center {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}

.w-45-center {
    width: 45%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5em;
}

.w-50-center {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.w-60-center {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.w-80-center {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.mb-8 {
    margin-bottom: 4em;
}

.modal-titulo {
    color: #07354f;
    font-size: 32px;
    font-weight: bold;
    height: 10vh;
    text-align: center;
}

.modal-contenido {
    height: 65vh;
    overflow-y: auto;
    padding-right: 1em;
}

@media (max-width: 480px) {
    .modal-titulo {
        font-size: 24px;
        margin-bottom: 1em;
    }

    .fondo-texto {
        background-color: #07354f;
        padding: 1em 2em 1em 2em;
        color: #fff;
        font-weight: bold;
        font-size: 24px;
        text-align: center;
    }

        .fondo-texto .fondo-texto2 {
            font-weight: normal !important;
            width: 90%;
            margin-left: auto;
            margin-right: auto;
        }

    .importantePersonal {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .w-60-center {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .w-80-center {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Stepper */

ol.stepper {
    --default-b: #b4b4b4;
    --default-c: #b4b4b4;
    --active-b: #07354f;
    --active-c: white;
    --circle: 3.5em; /* size of circle */
    --b: 5px; /* line thickness */
    display: flex;
    list-style: none;
    justify-content: space-between;
    background: linear-gradient(var(--default-b) 0 0) no-repeat 50% calc((var(--circle) - var(--b)) / 2) / 100% var(--b);
    counter-reset: step;
    margin: 20px;
    padding: 0;
    font-size: 22px;
    font-weight: bold;
    counter-reset: step;
    overflow: hidden;
}

    ol.stepper li {
        display: grid;
        place-items: center;
        gap: 5px;
        font-family: sans-serif;
        position: relative;
    }

        ol.stepper li::before {
            content: counter(step) " ";
            counter-increment: step;
            display: grid;
            place-content: center;
            aspect-ratio: 1;
            height: var(--circle);
            /* border: 5px solid #fff; */
            box-sizing: border-box;
            background: var(--active-b);
            color: var(--active-c);
            border-radius: 50%;
            font-family: monospace;
            z-index: 1;
        }

        ol.stepper li.active ~ li::before {
            background: white;
            color: var(--default-c);
            border: 5px solid #b4b4b4;
        }

        ol.stepper li.active::after {
            content: "";
            position: absolute;
            height: var(--b);
            right: 100%;
            top: calc((var(--circle) - var(--b)) / 2);
            width: 100vw;
            background: var(--active-b);
        }

@media (max-width: 600px) {
    ol.stepper {
        display: grid;
        gap: 20px;
        background: linear-gradient(var(--default-b) 0 0) no-repeat calc((var(--circle) - var(--b)) / 2) 50% / var(--b) 100%;
    }

        ol.stepper li {
            display: flex;
        }

            ol.stepper li.active::after {
                content: "";
                position: absolute;
                width: var(--b);
                bottom: 100%;
                left: calc((var(--circle) - var(--b)) / 2);
                top: auto;
                right: auto;
                height: 100vw;
                background: var(--active-b);
            }
}