/*
    Theme Name: BAIDATA Catálogo
    Author: CBT Comunicación y multimedia
    Author URI: https://cbt.es
    Description: Theme Diseñado para la plataforma de Catálogo BAIDATA
    Version: 1.5
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: idsa
*/

:root {
    --bs-primary: #711CA5 !important;
    --bs-primary-hover: rgb(113, 28, 165, 0.5) !important;
    --bs-secondary: #6c757d;
    --bs-success: #28a745;
    --bs-info: #17a2b8;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #2B2A2C !important;
    --azulOscuro: #1E285D;
    --azulSuave: #515587;
    --grisFondos: #F3F3F3;
    --primary-bg: #711CA5;
    --primary-text: #2B2A2C;
    --secondary-bg: #343a40;
    --secondary-text: #f8f9fa;
    --bs-primary-rgb: 81, 85, 135 !important;
}

* {
    font-family: "Roboto", sans-serif;
}

h1, h2, h3, h4, h5, h6, th, .contadorGeneral {
    font-family: "Bai Jamjuree", sans-serif;
}

.fondoGris {
    background-color: var(--grisFondos);
}

.fondoBlanco {
    background-color: white;
}

nav a {
    font-family: "Bai Jamjuree", sans-serif;
    font-weight: 500;
    color: var(--primary-text);
    text-decoration: none;
    font-size: calc(12px + (18 - 12) * ((100vw - 375px) / (1920 - 375)));
}

nav i {
    font-size: 22px;
}

a:focus {
    text-decoration: none;
}

.btn-primary {
    font-family: "Bai Jamjuree", sans-serif !important;
    font-weight: 500 !important;
    padding: 1em 6em !important;
    --bs-btn-color: white !important;
    --bs-btn-bg: var(--bs-primary) !important;
    --bs-btn-border-color: var(--bs-primary) !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: var(--bs-primary) !important;
    --bs-btn-hover-border-color: var(--bs-primary) !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253 !important;
    --bs-btn-active-color: #fff !important;
    --bs-btn-active-bg: var(--bs-primary) !important;
    --bs-btn-active-border-color: var(--bs-primary) !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
    --bs-btn-disabled-color: #fff !important;
    --bs-btn-disabled-bg: var(--bs-primary) !important;
    --bs-btn-disabled-border-color: var(--bs-primary) !important;
}

.btn-primary:hover {
    background-color: white !important;
    color: var(--bs-primary) !important;
}

.btn-secondary {
    font-family: "Bai Jamjuree", sans-serif !important;
    font-weight: 500 !important;
    padding: 1em 6em !important;
    --bs-btn-color: var(--bs-primary) !important;
    --bs-btn-bg: transparent !important;
    --bs-btn-border-color: var(--bs-primary) !important;
    --bs-btn-hover-color: var(--bs-primary) !important;
    --bs-btn-hover-bg: transparent !important;
    --bs-btn-hover-border-color: var(--bs-primary) !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253 !important;
    --bs-btn-active-color: var(--bs-primary) !important;
    --bs-btn-active-bg: transparent !important;
    --bs-btn-active-border-color: var(--bs-primary) !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
    --bs-btn-disabled-color: var(--bs-primary) !important;
    --bs-btn-disabled-bg: transparent !important;
    --bs-btn-disabled-border-color: var(--bs-primary) !important;
}

.btn-secondary:hover {
    background-color: var(--bs-primary) !important;
    color: white !important;
}

.btn-info {
    font-family: "Bai Jamjuree", sans-serif !important;
    font-weight: 500 !important;
    padding: 1em 6em !important;
    --bs-btn-color: white !important;
    --bs-btn-bg: var(--azulSuave) !important;
    --bs-btn-border-color: var(--azulSuave) !important;
    --bs-btn-hover-color: white !important;
    --bs-btn-hover-bg: var(--azulSuave) !important;
    --bs-btn-hover-border-color: #25cff2 !important;
    --bs-btn-focus-shadow-rgb: 11, 172, 204;
    --bs-btn-active-color: white !important;
    --bs-btn-active-bg: var(--azulSuave) !important;
    --bs-btn-active-border-color: var(--azulSuave) !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: white !important;
    --bs-btn-disabled-bg: var(--azulSuave) !important;
    --bs-btn-disabled-border-color: var(--azulSuave) !important;
    border-radius: 50px !important;
}

.btn-cancel {
    font-family: "Bai Jamjuree", sans-serif !important;
    font-weight: 500 !important;
    padding: 1em 6em !important;
    --bs-btn-color: var(--azulSuave) !important;
    --bs-btn-bg: transparent !important;
    --bs-btn-border-color: var(--azulSuave) !important;
    --bs-btn-hover-color: var(--azulSuave) !important;
    --bs-btn-hover-bg: white !important;
    --bs-btn-hover-border-color: var(--azulSuave) !important;
    --bs-btn-focus-shadow-rgb: var(--azulSuave);
    --bs-btn-active-color: var(--azulSuave) !important;
    --bs-btn-active-bg: white !important;
    --bs-btn-active-border-color: var(--azulSuave) !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    border-radius: 50px !important;
}


.hero {
    position: relative;
    width: 100%;
    padding: 5% 30%;
    padding-bottom: 0 !important;
}


#FigurasFondo {
    margin-top: -30px;
    margin-left: 8vw;
}

#figuraFondo1 {
    margin-left: -10px;
    position: absolute;
    -webkit-animation: pulsate2 15s linear infinite;
    animation: pulsate2 15s linear infinite;
    transition: all 0.5s;
    z-index: 1;
}

#figuraFondo2 {
    margin-left: -50px;
    margin-top: 2%;
    position: absolute;
    -webkit-animation: pulsate 15s linear infinite;
    animation: pulsate 15s linear infinite;
    transition: all 0.5s;
    z-index: 1;
}

.morado {
    color: #711CA5 !important;
}


@keyframes pulsate {
    0% {
        margin-left: -50.00px;-
    }
    50% {
        margin-left: -10.00px;
    }

    100% {
        margin-left: -50.00px;
    }
}

@keyframes pulsate2 {
    0% {
        margin-left: -20.00px;
    }
    50% {
        margin-left: -50.00px;
    }
    100% {
        margin-left: -10.00px;
    }
}


#infoPasos {
    position: absolute;
    right: 0;
    bottom: -50px;
    display: flex;
    align-items: end;
}

#infoPasos img {
    position: absolute;
    z-index: 2;
}


#infoPasos * {
    opacity: 0.1;
    animation: fadeIn 1s forwards; /* La animación dura 1 segundo */

}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

#infoPasos :nth-child(1) {
    right: 40vw;
    max-width: 16vw;
    animation-delay: 0s;
}

#infoPasos :nth-child(2) {
    right: 28vw;
    bottom: 50px;
    max-width: 17vw;
    animation-delay: 0.1s;
}

#infoPasos :nth-child(3) {
    right: 14vw;
    bottom: 100px;
    max-width: 18vw;
    animation-delay: 0.2s;
}

.contenedorGeneral {
    width: 100%;
    padding: 10vh 6vw 10vh 6vw;
}

.tarjetasCar {
    margin: 4em 0 6em 0;
    display: flex;
    gap: 3em;
    z-index: 2;
}

.tarjetaCar {
    border: solid 1px #707070;
    padding: 2em 3em;
    border-radius: 5px;
    width: 33%;
    background-color: white;
    z-index: 2;
}

.fondo {
    z-index: 1;
    position: absolute;
    width: 100%;
    bottom: -28vh;
}

.filtros {
    margin: 2em 0;
    display: flex;
    gap: 3em;
}

.filtros a {
    font-family: "Bai Jamjuree", sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 1px;
    padding: 10px 0.5em;
    text-decoration: none !important;
    border-bottom: solid 3px #DBDBDB;
    color: #201F21;
    cursor: pointer;
    font-size: calc(12px + (18 - 12) * ((100vw - 375px) / (1920 - 375))) !important;
}

.filtros .activo,
.filtros .activo:hover {
    border-bottom: solid 3px var(--bs-primary);
}

.filtros a:hover {
    border-bottom: solid 3px var(--bs-primary-hover);
}


.tarjetasCert {
    margin: 2em 0 6em 0;
    display: flex;
    gap: 3em;
    z-index: 2;
    overflow: scroll;
    scrollbar-width: none;
}

.tarjetaCert {
    position: relative;
    border: solid 1px #707070;
    padding: 1em 3em 3em 3em;
    border-radius: 5px;
    min-width: 45%;
    max-width: 45%;
    width: 45%;
    background-color: white;
    z-index: 2;
}


.tarjetasCert h3 {
    font-size: clamp(26px, 1vw, 28px) !important;
    font-weight: 700 !important;
}

.tarjetasCert li::marker {
    color: var(--bs-primary) !important;
    font-size: 22px;
}

.nivel {
    position: absolute;
    top: calc(1em + 1.5rem + 10px);
    right: 25px;
}

.tarjeta-cursos h5 {
    text-transform: none !important;
    font-size: clamp(24px, 3vw, 28px) !important;
}

.tarjeta-cursos p {
    font-size: clamp(12px, 1vw, 16px) !important;
    margin-bottom: 3em;
}

.tarjeta-cursos a {
    font-size: clamp(12px, 1vw, 16px) !important;
    text-decoration: none !important;
}

.location {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white !important;
    z-index: 3;
}

#menuFooter {
    z-index: 3;
}

.imagenCursosContainer {
    background-color: var(--azulOscuro);
}

.imagenCursosContainer img {
    opacity: 0.5;
}

.trainingProvider {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 60px;
    max-height: 60px;
    min-width: 60px;
    min-height: 60px;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 12vw;
    right: 20px;
    z-index: 2;
    filter: grayscale(1);
}

.trainingProvider img {
    max-width: 60px;
    max-height: 60px;
}

.tarjeta-cursos .nivel {
    position: relative;
    height: min-content;
    top: 0;
    right: 0;
}

.more-info {
    transition: all 0.5s;
}

.more-info a,
.more-info img {
    transition: all 0.5s;
}

.more-info:hover a {
    margin-left: 0.5em;
}

.more-info:hover img {
    transform: scale(1.1);
}

.fondoPrimary {
    background-color: var(--azulSuave);
}

#elipses {
    display: flex;
    justify-content: end;
    position: relative;
    margin-top: -500px;
    margin-right: -400px;
    margin-bottom: -600px;
    z-index: -1;
    pointer-events: none;
}

#elipses img {
    animation: rotacionelipses 50s linear infinite;
}

@keyframes rotacionelipses {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(350deg)
    }
}

#Formulario {
    overflow: hidden !important;
}

.card-claim {
    font-weight: 300 !important;
}

.provider-logo {
    border-radius: 6px;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-logo img {
    object-fit: cover;
    width: 100%;
}

.provider-logo-big {
    border-radius: 6px;
    max-width: 100px;
    min-width: 100px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-logo-big img {
    max-width: 80px;
}

.provider-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
    max-width: 500px;
}

.product-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 500px;
}

.card {
    text-decoration: none !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px !important;
    transition: 0.5s all;
}

.card:hover {

}

.z999 {
    position: relative;
    z-index: 999 !important;
}

.accordion-button::after {
    display: none !important;
}

.accordion-button:not(.collapsed) {
    color: #711CA5 !important;
}

#subfooter p {
    font-size: 16px !important;
}

#subfooter a {
    color: white;
    text-decoration: underline !important;
    font-size: 16px !important;
}

.filter-buttons a, .filter-buttons span {
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--primary-text) !important;
    padding-bottom: 0.5em;
    font-size: var(--bs-body-font-size) !important;
    font-family: "Roboto", sans-serif;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 1px !important;
}

.filter-buttons a:hover, .filter-buttons span:hover {
    color: var(--bs-primary);
}

.filter-buttons a.active, .filter-buttons span.active {
    color: var(--bs-primary);
    border-bottom: solid 2px var(--bs-primary);
}

.specific-services .accordion {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.specific-services .accordion.active {
    display: block;
    opacity: 1;
}

.badge-especial {
    background-color: rgba(113, 28, 165, 0.2);
    border-radius: 20px;
    padding: 3px 20px;
    color: rgb(113, 28, 165) !important;
    font-size: 14px !important;
}

.general-services {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 2rem;
}

#logos img {
    max-width: 100px;
}

#menuFooter a {
    text-decoration: none !important;
    color: white !important;
    font-weight: 300 !important;
    font-size: 14px;
    letter-spacing: 2px;
}

#menuFooter h4 {
    font-size: 16px;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#menu {
    background-color: #201F21 !important;
}

#niveles {
    position: absolute;
    right: 5vw;
    height: auto;
    top: 7vw;
    width: 40%;
    max-width: 674px;
    opacity: 0;
    animation: fadeIn 1s forwards;
    transition: all 0.5s;
}

#cert-archive {
    position: absolute;
    right: 5vw;
    height: auto;
    top: 0vw;
    width: 40%;
    max-width: 465px;
    opacity: 0;
    animation: fadeIn 1s forwards;
    transition: all 0.5s;
}

.next {
    font-family: "Bai Jamjuree", sans-serif !important;
    cursor: pointer;
}

.next a {
    color: var(--bs-dark) !important;
    text-decoration: none !important;
}

.next i {
    transition: all 0.5s;
}

.next:hover i {
    margin-left: 10px;
}

.accordion-button:not(.collapsed) {
    color: #201F21;
    background-color: white !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-button::after {
    margin-left: 15px !important;
}

.certs-menu a {
    display: block;
    width: 100%;
    text-decoration: none;
    font-size: clamp(20px, 2vw, 24px) !important;
    font-family: "Bai Jamjuree", sans-serif !important;
    border-right: solid 1px #7D7D7E;
    color: var(--bs-dark) !important;
    cursor: pointer;
}

.certs-menu a:hover {
    opacity: 0.9 !important;
}

.certs-menu .bordercert {
    border-bottom: solid 1px #7D7D7E;
}

.certs-menu .active {
    font-weight: 600;
}

.tarjeta-certs {
    position: absolute;
    top: 5%;
    left: 10%;
    background-color: var(--azulOscuro);
    padding: 2em;
    border-radius: 10px;
    max-width: 405px;
}

.tarjeta-certs * {
    color: white !important;
    font-size: clamp(14px, 1vw, 16px) !important;
    font-weight: 300 !important;
}

.tarjetas-certs {
    background-color: var(--azulOscuro);
    padding: 2em;
    border-radius: 10px;
    min-width: 30%;
    max-width: 405px;
}

.tarjetas-certs * {
    color: white !important;
}

.tarjetas-certs p {
    font-size: clamp(14px, 1vw, 16px) !important;
    font-weight: 300 !important;
}

.tarjetas-certs h3 {
    font-size: clamp(28px, 1vw, 30px) !important;
    line-height: 1.2 !important;
}

.btn-certs {
    border: solid 2px white !important;
    border-radius: 50px !important;
    transition: all 0.5s;
}

.btn-certs i {
    opacity: 0;
    margin-left: -20px;
    transition: all 0.5s;
}

.btn-certs:hover i {
    opacity: 1;
    margin-left: 10px;
}

.tarjeta-certs .bi-dot {
    margin-top: -18px;
}

.rosaSuave {
    color: #EDCFFF !important;
}

.MainCont {
    min-height: 100vh;
}

.minh-100 {
    min-height: 100vh;
}

.icono-usuario {
    border: solid 2px #201F21;
    border-radius: 50%;
    padding: 8px 10px;
    margin-right: 15px;
}

.top-message {
    font-size: clamp(28px, 3vw, 32px) !important;
}

#LoginForm {
    max-width: 560px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#LoginForm h1 {
    font-size: clamp(28px, 3vw, 32px);
}

.exam-card {
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.exam-card .content {
    min-height: 300px;
    max-height: 300px;
    overflow: scroll;
    scrollbar-width: none;
}

.exam-card .content {
    min-height: 300px;
    max-height: 400px;
    overflow: scroll;
    scrollbar-width: none;
}

.text-medium {
    font-weight: 300;
}

.numberCircle {
    font-family: "Bai Jamjuree", sans-serif !important;
    position: absolute;
    top: calc(50% - 24px);
    left: calc(50% - 24px);
    text-align: center;
    text-decoration: none;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    z-index: 2;
    line-height: 2.7;
    color: #201F21;
}

.circulo-pregunta {
    content: "";
    position: absolute;
    top: calc(50% - 24px);
    left: calc(50% - 24px);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    background: #fff;
    border: 1px solid #707070;
    z-index: 1;
}

.later::after {
    content: "";
    position: absolute;
    z-index: 999;
    right: -23px;
    top: 0px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background-color: #E88C8C;
}

.done .circulo-pregunta {
    background-color: #515587 !important;
    border: solid 3px #515587 !important;
}

.done .numberCircle {
    color: white !important;
}

.gap-6 {
    gap: 60px;
}

.activo .circulo-pregunta {
    border: 3px solid var(--azulSuave);
}

.respondida .circulo-pregunta {
    background: var(--azulSuave);
    border: 3px solid var(--azulSuave);
}

.respondida .numberCircle {
    color: white;
}

.deslizamiento {
    scrollbar-width: none;
}

.lista-preguntas {
    height: 50px;
    padding: 0 2em;
}

.answer {
    border: solid 1px #707070 !important;
    padding: 0.7em;
    margin-bottom: 1em !important;
    border-radius: 5px;
    width: 60%;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
}

.answer:hover {
    transform: scale(1.02);
}

.answer label {
    margin-left: 0.5em;
    width: 90%;
}

.form-switch .form-check-input:checked {
    background-color: #E88C8C !important;
    border-color: #E88C8C !important;
}

.question-btn {
    border: none;
}

.form-check-input:checked {
    background-color: var(--azulSuave) !important;
    border-color: var(--azulSuave) !important;
}

.imagen-pregunta {
    max-width: 100%;
    max-height: 400px;
}

.imagen-pregunta img {
    margin: 0 auto;
    max-width: 100%;
    max-height: 400px;
}

.image-answer {
    width: auto;
    display: inline-block !important;
    vertical-align: top;
    margin: 0 1%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.image-answer label {
    width: 150px;
    height: 220px;
}

.image-answer label img {
    width: 100%;
    height: 100%;
}

#logo-student {
    width: 40px;
    height: 40px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: solid 1px #6c757d;
}

.student-name p {
    font-size: 16px !important;
}

.student-name span {
    font-size: 12px !important;
}

.student-name {
    line-height: 1 !important;
}

.student-card {
    border: solid 1px #6c757d;
    border-radius: 10px;
    min-height: 350px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.btn-list {
    padding: 6px 8px !important;
    border-radius: 50% !important;
    background-color: #515587 !important;
    border-color: #515587 !important;
    color: white !important;
}

.btn-list:hover {
    background-color: white !important;
    border-color: #515587 !important;
    color: #515587 !important;
}

.btn-student {
    background-color: #515587 !important;
    border-color: #515587 !important;
    color: white !important;
}

.btn-student:hover {
    background-color: white !important;
    border-color: #515587 !important;
    color: #515587 !important;
}

.badge-list {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.badge-list.inprogress {
    background-color: #D4EDDA;
}

.badge-list.close {
    background-color: #F8D7DA;
}

a.icono {
    transition: all 0.3s;
}

a.icono:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.accion {
    display: flex;
    align-items: center;
}

.accion i {
    transition: 0.3s all;
}

.accion:hover i {
    margin: 0 15px;
}

.contadorGeneral.danger {
    color: #58151c !important;
}

.modal-title {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #B9B9B9 !important;
}

.azulito {
    color: #515587;
}

.icono-grande {
    font-size: 62px !important;
}

.circle-result {
    background-color: white;
    box-shadow: rgba(232, 140, 140, 0.8) 0px 0px 8px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 150px;
    width: 120px;
    height: 120px;
}

.circle-passed {
    box-shadow: rgba(85, 185, 109, 0.8) 0px 0px 8px;
}

.green {
    color: #55B96D !important;
}

.red {
    color: #E88C8C !important;
}

.bg-green {
    background-color: #55B96D !important;
}

.bg-red {
    background-color: #E88C8C !important;
}

.bg-yellow {
    background-color: #F5BB00 !important;
}

.bg-blue {
    background-color: var(--azulSuave) !important;
}

.tarjeta-results {
    border: solid 1px #B9B9B9 !important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 6px;
    width: calc(50% - 2em);
    padding: 1em;
    margin: 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tarjeta-results h6 {
    text-transform: capitalize !important;
    font-size: 18px;
}

.modal .btn-close {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 3;
}

#courseModal .btn-close {
    position: absolute;
    top: 20px !important;
    right: 20px !important;
    z-index: 3;
}

.delete-question {
    display: none;
    position: absolute;
    right: 20px;
    top: 20%;
    font-size: 20px;
    opacity: 0.5;
    cursor: pointer;
    border: none !important;
    background: transparent;
    color: #E88C8C;
}

.delete-question button {
    font-size: 20px;
    border: none !important;
    background: transparent;
    color: #E88C8C;
}

.delete-question:hover {
    opacity: 1;
}

.answer-radio:checked ~ .delete-question {
    display: block;
}

#question-container {
    position: relative;
}

.btn-appeal {
    font-size: 22px !important;
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.7;
    transition: all 0.5s;
}

.btn-appeal button {
    font-size: 22px !important;
}

.btn-appeal:hover {
    opacity: 1;
    transform: scale(1.05);
}

.appealed .circulo-pregunta {
    border: 3px solid var(--bs-danger) !important;
}

.btn-danger {
    font-family: "Bai Jamjuree", sans-serif !important;
    font-weight: 500 !important;
    padding: 1em 6em !important;
    --bs-btn-color: white !important;
    --bs-btn-bg: var(--bs-danger) !important;
    --bs-btn-border-color: var(--bs-danger) !important;
    --bs-btn-hover-color: white !important;
    --bs-btn-hover-bg: var(--bs-danger) !important;
    --bs-btn-hover-border-color: #25cff2 !important;
    --bs-btn-focus-shadow-rgb: 11, 172, 204;
    --bs-btn-active-color: white !important;
    --bs-btn-active-bg: var(--bs-danger) !important;
    --bs-btn-active-border-color: var(--bs-danger) !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: white !important;
    --bs-btn-disabled-bg: var(--bs-danger) !important;
    --bs-btn-disabled-border-color: var(--bs-danger) !important;
    border-radius: 50px !important;
}

#appealModal .btn-close {
    position: absolute;
    top: 25px !important;
    right: 25px !important;
    z-index: 3;
}

#appealModal .modal-title {
    color: var(--secondary-bg) !important;
}

#appealModal .btn-cancel {
    border-color: #6c757d !important;
    color: #6c757d !important;
}

.sidebar-left {
    min-height: 100vh;
    border-right: solid 1px #DBDBDB;
}

.sidebar-left a {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.5s;
}

.sidebar-left a:hover {
    background-color: rgb(113, 28, 165, 0.1);
    width: 100%;
    border-radius: 10px;
    color: var(--primary-bg);
    transform: scale(1.05);
}

.sidebar-left .active {
    background-color: rgb(113, 28, 165, 0.1);
    width: 100%;
    border-radius: 10px;
    font-weight: 800;
    color: var(--primary-bg);
}

.text-morado {
    color: #711CA5;
}

.tprovider-card {
    border: solid 1px #DBDBDB;
    border-radius: 10px;
    min-height: 350px;
}

#courseModal label {
    font-size: 16px;
    color: #2B2A2C;
    margin-bottom: 5px !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 644px;
    height: 488px;
}

.idContainer, #gum-local {
    width: 644px;
    height: 488px;
}


.hero .imagenalta {
    position: absolute;
    top: 0;
    right: 7%;
    width: 40vw;
    max-width: 700px;
}

.close-correct {
    top: 15px !important;
    right: 15px !important;
}

.register i {
    transition: all 0.5s;
}

.register:hover i {
    margin-left: 1em;
}

#gum-local {
    transform: rotateY(180deg);
}

#videoContainer video {
    max-width: 300px;
}

#videoContainer {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 1em;
}

.circuloTemp {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    transform: rotateY(-180deg) rotateZ(-90deg);
}

.circuloTemp circle {
    stroke-dasharray: 113px;
    stroke-dashoffset: 0px;
    stroke-linecap: round;
    stroke-width: 4px;
    stroke: #dc3545 !important;
    fill: none;
    animation: countdown 30s linear infinite forwards;
}

#tempGuay {
    position: relative;
    margin: auto;
    height: 40px;
    width: 40px;
    text-align: center;
}

#tempGuay #temporizador {
    color: #dc3545 !important;
    display: inline-block;
    line-height: 40px;
    font-size: 12px !important;
    font-weight: 500 !important;
}

@keyframes countdown {
    from {
        stroke-dashoffset: 0px;
    }
    to {
        stroke-dashoffset: 113px;
    }
}

#chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--azulSuave);
    border: solid;
    border-color: var(--azulSuave);
    border-width: 3px;
    border-radius: 50px;
    padding: 0.3em 1em;
    color: white;
    font-weight: 400;
    display: flex;
    cursor: pointer;
}

#chat-bubble span {
    width: 0;
    height: 0;
    margin-left: 0;
    overflow: hidden;
    font-size: 14px !important;
    color: white !important;
    transition: all 0.5s;
    white-space: nowrap;
}

#chat-bubble:hover span {
    width: 100%;
    height: 100%;
    margin-left: 10px;
}

#chat-container {
    width: 300px;
    height: 500px;
    background-color: #f6f6f6;
    border-radius: 20px;
    position: fixed;
    bottom: 75px;
    right: 20px;
    border: solid 3px var(--azulSuave);
    overflow: hidden;
}

.chat-closed {
    background-color: white !important;
    border: solid;
    border-color: white !important;
    color: var(--azulSuave) !important;
}

#chat-header {
    background-color: var(--azulSuave);
}

#chat-header h6 {
    font-size: 14px !important;
    font-weight: 500;
    color: white !important;
    margin: 0;
    padding: 0;
    line-height: 1 !important;
}

#chat-header p {
    color: white !important;
    font-size: 12px !important;
    font-weight: 300;
    line-height: 1 !important;
    letter-spacing: initial !important;
}

#chat-footer {
    position: relative;
    display: flex;
    align-items: center;
}

#chat-footer input {
    position: relative;
    border: solid 1px var(--azulSuave);
    border-radius: 20px;
    display: flex;
    align-items: center;
}

#chat-send {
    position: absolute;
    right: 15px;
    color: var(--azulSuave);
}

#chat-body {
    overflow-y: auto;
    max-height: 380px;
}

.user-message {
    font-size: 14px !important;
    background-color: white;
    padding: 5px 10px;
    margin: 10px 5px 5px 20px;
    border-radius: 10px 10px 0px 10px;
    text-align: right;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.agent-message {
    font-size: 14px !important;
    background-color: var(--azulSuave);
    color: white;
    padding: 5px 10px;
    margin: 10px 20px 5px 5px;
    border-radius: 10px 10px 10px 0px;
    text-align: left;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.open-chat-button {
    position: relative; /* Para posicionar la notificación relativa al botón */
}

.open-chat-button #notificacion {
    display: none;
    position: absolute;
    top: -5px; /* Ajusta para posicionar correctamente */
    right: -5px; /* Ajusta para posicionar correctamente */
    background-color: var(--bs-danger);
    color: white;
    font-size: 10px !important;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Sombra para resaltar */
    color: white !important;
}


.gridCursos .card {
    width: 32% !important;
}

/*Pantallas*/

@media only screen and (max-width: 1500px) {
    .contenedorGeneral {
        padding: 10vh 8vw 10vh 10vw;
    }

    .hero {
        padding: 10vh 10vw;
    }

    #niveles {
        right: 2vw;
        top: 12vw;
        width: 40%;
    }

    .answer {
        width: 80%;
    }

}

@media only screen and (max-width: 1200px) {
    .tarjetasCar {
        gap: 2em;
    }

    .tarjetaCar {
        padding: 2em 2em;
        width: 100%;
        margin-bottom: 2em;
        position: relative;
    }

    .tarjetasCar {
        display: block;
    }

    .tarjetaCert {
        min-width: 80%;
        max-width: 80%;
        width: 80%;
    }

    .gridCursos {
        overflow: scroll;
        scrollbar-width: none !important;
    }

    .certs-menu a {
        font-size: 20px !important;
    }

    .tarjeta-certs {
        top: -5%;
        left: 0%;
        max-width: 100%;
    }

}

@media only screen and (max-width: 800px) {
    .hero {
        max-height: max-content;
    }

    .hero .imagenalta {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-bottom: 2em;
    }

    #infoPasos {
        position: relative;
        margin-top: 1em;
    }

    #infoPasos img {
        position: relative;
        z-index: 2;
    }

    #infoPasos :nth-child(1) {
        right: auto;
        max-width: 24vw;
    }

    #infoPasos :nth-child(2) {
        right: auto;
        bottom: 25px;
        max-width: 26vw;
        margin-left: -50px;
    }

    #infoPasos :nth-child(3) {
        right: auto;
        bottom: 50px;
        max-width: 30vw;
        margin-left: -50px;
    }

    .tarjetaCert {
        min-width: 90%;
        max-width: 90%;
        width: 90%;
    }

    #niveles {
        position: relative;
        right: 0;
        height: auto;
        top: 0;
        width: 100%;
        margin-top: 2em;
    }

    .tarjeta-certs {
        position: relative;
    }

}


@media only screen and (max-width: 600px) {

    .hero {
        padding: 8vh 6vw;
    }

    #infoPasos {
        position: relative;
        margin: 2em 0;
    }

    #infoPasos img {
        position: relative;
        z-index: 2;
    }

    #infoPasos :nth-child(1) {
        right: auto;
        max-width: 34vw;
    }

    #infoPasos :nth-child(2) {
        right: auto;
        bottom: 25px;
        max-width: 36vw;
        margin-left: -50px;
    }

    #infoPasos :nth-child(3) {
        right: auto;
        bottom: 50px;
        max-width: 40vw;
        margin-left: -50px;
    }

    .tarjetasCert {
        gap: 2em;
    }

    .btn-primary {
        padding: 1em 4em !important;
    }

}

