.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.opacity-03 {
    opacity: 0.3;
}

.opacity-1 {
    opacity: 1;
}

.container_formulario_talleres {
    position: relative;
}

.form-section {
    display: flex;
    justify-content: space-around;
}

.form-section div {
    width: 45%;
}

.form-response {
    color: #c41717;
    font-weight: bold;
    margin-top: 30px;
}

.container-submit-talleres {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.btn-talleres {
    background-color: #c41717;
    color: white;
    border: 0;
}

.btn-submit-talleres {
    width: 30%;
}

.btn-modal-talleres {
    margin-top: 30px;
}

.btn-talleres:hover,
.btn-talleres:focus {
    background-color: #851d1d;
}



.container_formulario_talleres_paso1 h5 {
    margin-bottom: 50px;
}

.container-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* paso 2 formulario */
.span-569 {
    width: 10%;
    text-align: center;
    display: flex;
    align-items: center;
    background: #e9ecef;
    border-radius: 5px 0px 0px 5px;
    justify-content: center;
    border: 1px solid #cbcbcb;
    border-right: 0;
}

.div-input-telefono {
    display: flex;
    width: 100% !important;
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    border: 1px solid #cbcbcb;
    border-radius: 5px 5px 5px 5px;
    transition: none;
}

input::placeholder {
    color: #cbcbcb;
}

input:focus-visible {
    outline: 1px solid #cbcbcb;
}

.input-telefono {
    width: 90%;
    border: 1px solid #cbcbcb;
    border-radius: 0px 5px 5px 0px !important;
}


#container_form_talleres_2 label {
    margin-top: 30px;
    margin-bottom: 10px;
}





/* Spinner Styles */

.spinner {
    --size: 145px;
    --color: #c41717;
    --thickness: 8;
    --segments: 12;
    --speed: 1.5s;
    --rounded: butt;

    width: var(--size);
    height: var(--size);
    animation: spin var(--speed) linear infinite;
}

.seg {
    stroke: var(--color);
    stroke-width: var(--thickness);
    stroke-linecap: var(--rounded);
    opacity: var(--o);

    transform: rotate(calc(var(--i)*(360deg/var(--segments))));
    transform-origin: 0 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Modal Styles */
.modal-talleres-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .4);
    z-index: 9999;
}

.modal-talleres-overlay.hidden,
.container_modal_exito.hidden,
.container_modal_sin_cupos.hidden {
    display: none;
}

.modal-talleres-container img {
    width: 65px;
}

.modal-talleres-container .form-section div {
    justify-content: center;
    display: flex;
}

.modal-talleres-container p {
    text-align: center;
    color: #9c9b9b;
}

.container-img-modal {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.modal-talleres-container {
    min-width: 550px;
    width: auto;
    height: auto;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    position: relative;
    padding: 50px;
    animation: modalFadeUp .35s ease;
}


@keyframes modalFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 765px) {
    .form-section {
        display: block;
    }

    #formulario_talleres_P1 .form-section div {
        margin-top: 30px;
    }

    .form-section div {
        width: 100%;
    }

    .btn-submit-talleres {
        width: 45%;
    }

    .span-569 {
        width: 25% !important;
    }
    .container_modal_exito .form-section{
        display: flex !important;
    }
}