[data-bs-theme="light"] {
    --bs-body-color: $3f3f3f;
    --bs-body-bg-blend-with-gradient: #ebeaf0;
    --bs-body-bg-gradient: linear-gradient(0deg,rgba(163,212,252,0),#a3d4fc);
    --navbar-color: #004677;
}

[data-bs-theme="dark"] {
    --navbar-color: inherit;
    /*
    --bs-primary-bg-subtle: #{$black};
    --bs-primary-bg-subtle-dark: #{$black};
    --bs-body-bg: #{$black};
    */
}
body {
    background-color: var(--bs-body-bg-blend-with-gradient);
    font-family: 'Rubik', sans-serif;
    font-kerning: normal;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    border-image: linear-gradient(90deg,#0f69b4 50%,#eb3c46 0) 1;
    border-width: 3px;
    display: block;
    width: 100%;
    position: fixed;
    border-style: solid;
    top: 0;
    z-index: 2;
}

.gradiente::before {
    content: "";
    height: 100%;
    position: absolute;
    z-index: -2;
    top: 0;
    width: 100%;
    background: #a3d4fc;
    background: -moz-linear-gradient(0deg,rgba(163,212,252,0) 0,#a3d4fc 100%);
    background: -webkit-linear-gradient(0deg,rgba(163,212,252,0),#a3d4fc);
    background: var(--bs-body-bg-gradient);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a3d4fc",endColorstr="#a3d4fc",GradientType=1);
}

@media print {
    section.payload {
        border-top: 0;
        border-radius: 0;
        padding: 0;
    }
    body {
        background-color: inherit;
    }
    .gradiente:before {
        visibility: none;
    }
    body:before {
        border: none;
    }
    p {
        text-align: justify;
    }
    h2 {
        margin: 1.5rem 0 1rem;
    }
}

.navbar {
    background-color: transparent;
    transition: background-color 0.2s ease-in-out;
    padding: 20px 25px;
    .nav-link {
        font-weight: 700;
        color: var(--navbar-color);
        font-size: 1.15rem;
        font-family: Raleway, sans-serif;
    }
}

.navbar-brand {
    width: 155px;
    display: block;
}

section.payload {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    padding: 32px;
    margin-top: 10px;
    border-radius: 6px;

    border-top: 4px solid #4290d0;
    border-radius: 10px 10px 0 0;

    > h1 {
        margin-top: 0;
    }

    h3 {
        margin: 1.5rem 0;
        font-size: 1.6rem;
    }

    a {
        text-decoration: none;
    }
}

article.nodo {
    header h1 {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }
    div.alert.al-margen {
        float: right;
        clear: right;
        position: relative;
        top: -.5rem;
        right: -5rem;
        z-index: 10;
        width: 30rem;
    }
}

section.hijos {
    h2 {
        font-size: 1.3rem;
        a {
            text-decoration: none;
        }
    }
}

.portada {
    padding: 60px 20px 500px 20px;
    margin: 30px auto 0;
    text-align: center;
    max-width: 900px;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-top: 4px solid #4290d0;
    border-radius: 10px 10px 0 0;

    .logo {
        max-width: 550px;
        margin-bottom: 50px;
    }

    > * {
        margin-left: auto;
        margin-right: auto;
        max-width: 700px;
    }

    p {
        font-size: 27px;
        font-weight: 400;
        margin: 0 auto 30px auto;
        font-family: Raleway, sans-serif;
    }

    a.btn {
        font-size: 1.3rem;
    }

    a.btn.claveunica {
        border: 0;
        font-family: Roboto, sans-serif;
        font-weight: bold;
        font-size: 1rem;
        background-color: #0f69c4;
        padding: 8px 14px;
        line-height: 2rem;
        transition: none;
        &:hover {
            background-color: #0b4e91;
        }
        &:active {
            background-color: #07305a;
        }
        &:focus, &:focus-visible {
            background-color: #0b4e91;
            outline: 4px solid rgba(255, 190, 92, 1) !important;
            box-shadow: none;
        }
    }

    svg {
        width: 24px;
        height: 24px;
        margin-right: 4px;
    }
}

img.bg {
    position: absolute;
    bottom: 0;
    object-fit: none;
    width: 100%;
    left: 0;
    right: 0;
    height: 505px;
}

.portada-contenido {
    text-align: left;
    margin-top: 32px;

    .encabezado {
        margin-bottom: 32px;
    }

    .encabezado p {
        font-size: 1.3rem;
        color: #004677;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .encabezado h1 {
        letter-spacing: -.3px;
        font-size: 1.6rem;
    }

    .pasos {
        margin-bottom: 70px;
        padding-bottom: 70px;
    }

    .numero {
        background-color: #004677;
        border-radius: 50px;
        color: #FFF;
        font-weight: 700;
        font-size: 1.5rem;
        display: block;
        width: 44px;
        height: 44px;
        padding: 7px;
        text-align: center;
        line-height: normal;
        margin-bottom: 23px;
    }

    h3 {
        font-weight: 800;
        font-size: 1.4rem;
        margin-bottom: 6px;
    }

    p {
        color: #7b7b7b;
        font-size: 1.1rem;
    }

    .caja-resumen {
        background-color: #004677;
        border-radius: 14px;
        color: #FFF;
        margin-bottom: 80px;
        display: none;
    }

    .caja-resumen h2 {
        font-weight: 700;
        font-size: 2.5rem;
        margin-bottom: 32px;
    }

      .caja-resumen .btn-borde
    , .caja-resumen .btn-sinborde {
        font-size: 1.3rem;
        font-weight: 800;
        margin-right: 20px;
    }

    .caja-resumen .btn-borde a {
        color: #FFF;
        display: flex;
        border: 2px solid #FFF;
        border-radius: 100px;
        padding: 10px 30px;
        width: fit-content;
        transition: ease-out .2s;
    }

    .caja-resumen .btn-borde a:hover {
        color: #004677;
        background-color: #FFF;
    }

    .caja-resumen .btn-sinborde a {
        color: #004677;
        background-color: #FFF;
        display: flex;
        border: 2px solid #FFF;
        border-radius: 100px;
        padding: 10px 30px;
        width: fit-content;
        transition: ease-out .2s;
    }

    .caja-resumen .btn-sinborde a:hover {
        background-color: #004677;
        color: #FFF;
    }
    
    .caja-resumen a:hover {
        text-decoration: none;
    }

    .caja-resumen span {
        float: left;
    }
    
    .resumen {
        align-items: center;
        padding: 0 60px;
    }

    .caja-resumen img {
        margin-bottom: -1px;
        height: 290px;
        margin-top: 40px;
    }
}

.pie {
    background-color: #003960;
    padding-top: 60px;
    padding-bottom: 60px;
}

.footer {
    max-width: 1140px;
    margin: auto;
    img {
        height: 60px;
    }
    .mh img {
        height: 85px;
        float: right;
    }
    ul {
        list-style: none;
        padding: 0;
        color: #fff;
    }
    a {
        color: #fff;
        text-decoration: none;
    }
     .titulo {
        font-weight: 800;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
}

h2 {
    margin-bottom: 1.5rem;
}

fieldset {
    margin-bottom: 1rem;
}

ul[data-prototype] li {
    margin-bottom: 1rem;
}

.badge {
    vertical-align: bottom;
}
