@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

:root {
    --primary-color-rgb: 0 110 181;
    --title-color-gray: #737272;
    --color-blue-main: #006EB5;
    --color-green-main: #D2D907;
    --border-radius-default: 0.5rem;
}

body {
    font-family: "Titillium Web", serif;
}

.main {
    padding-block: 3rem;
    padding-bottom: 0px !important;
}

.main-p {
    font-size: 14px;
    color: var(--title-color-gray);
}

@media (min-width: 768px) {
    .container-md, .container-sm {
        max-width: 820px;
    }
}

.title {
    font-size: 58px;
    color: var(--title-color-gray);
    font-weight: 700;
    span

{
    color: var(--color-blue-main);
}

}

.subtitle {
    margin-left: 3rem;
    margin-top: 1rem;
    font-size: 26px;
    font-weight: 700;
    color: var(--title-color-gray);
    .blue

{
    color: var(--color-blue-main);
}

.green {
    color: var(--color-green-main);
}

}

.title-container {
    margin-left: 5%;
}

@media screen and (width >= 992px) {
    .title-container {
        margin-left: 7%;
    }

    .main-p {
        font-size: 16px;
    }

    .buttons-group {
        padding-left: 10%;
    }
}

@media screen and (width < 1200px) {
    .img {
        width: 100% !important;
    }
}

@media screen and (width < 1092px) {
    .buttons-group {
        input

{
    height: 54px !important;
    font-size: 110% !important;
    width: 310px !important;
}

}
}

@media screen and (width >= 1280px) {
    .title-container {
        margin-left: 5%;
    }

    .buttons-group {
        padding-left: 1%;
    }

    .main-p {
        font-size: 17px;
    }
}

.img {
    width: 100%;
    height: auto;
    top: -5.5rem;
    left: 1.5rem;
    position: relative;
}

.img-col {
    display: flex;
    justify-content: end;
}

.buttons-group {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    justify-content: end;
    margin-top: 5rem;
    input

{
    height: 74px;
    font-size: 26px;
    border-radius: 16px;
    width: 310px;
    font-weight: 700;
    color: white;
    background-color: var(--color-blue-main);
}

}

.group {
    display: flex;
    flex-direction: row;
    gap: 0.9rem;
}

@media screen and (width < 576px) {
    .main {
        /* padding-block: 0px !important; */
    }

    .title-container {
        margin-left: 0% !important;
        /* margin-top: 0px !important; */
        text-align: center !important;
        font-size: 100%;
    }

    .title {
        font-size: 280%;
    }

    .subtitle {
        margin-left: 0px !important;
        /* margin-top: 0px !important; */
        font-size: 140%;
    }

    .buttons-group {
        margin-top: 2rem !important;
        input

{
    width: 45% !important;
}

}

.group {
    justify-content: center;
}

.img {
    width: 61% !important;
    top: 1rem !important;
}

.img-col {
    justify-content: center;
}

}

@media screen and (width > 1427px) {
    .img {
        width: 74%;
    }

    .buttons-group {
        input

{
    width: 100% !important;
    height: 72px !important;
    font-size: 17px !important;
}

}

.title {
    font-size: 68px !important;
}

.subtitle {
    font-size: 30px !important;
}

.main-p {
    font-size: 24px !important;
}

}

.btn:hover {
    color: var(--color-blue-main);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--color-blue-main);
}

@media screen and (width > 1535px) {
    .buttons-group {
        input

{
    width: 70% !important;
}

}
}

.paso {
    font-size: 2.5rem;
    position: relative;
    font-weight: 700;
    width: 65px;
    height: 65px;
    border: 2px solid var(--color-blue-main);
    display: flex;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-blue-main);
    align-items: center;
    .text-paso

{
    position: absolute;
    top: 3.2rem;
    color: var(--title-color-gray);
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}

}

.selected {
    color: rgb(255 255 255);
    background-color: var(--color-blue-main);
}

.separator {
    width: 23%;
    height: 2px;
    background-color: var(--color-blue-main)
}

.pasos {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-left: 0px !important;
}

.main-content {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.p-paso {
    color: var(--title-color-gray);
    font-size: 18px;
    margin-top: 4rem;
}

.form-control {
    width: 18rem;
    height: 2.5rem;
    padding: 0.375rem 0.75rem !important;
    border: 2px solid var(--color-blue-main) !important;
    border-radius: var(--border-radius-default);
    color: var(--title-color-gray) !important;
    transition: box-shadow 0.15s ease-in-out !important;
}

.form-control-error {
    width: 22rem;
    height: 2.5rem;
    padding: 0.375rem 0.75rem !important;
    border: 2px solid red !important;
    border-radius: var(--border-radius-default);
    color: var(--title-color-gray) !important;
    transition: box-shadow 0.15s ease-in-out !important;
}

.form-select {
    width: 100% !important;
    height: 2.5rem;
    padding: 0.375rem 0.75rem;
    border: 2px solid var(--color-blue-main);
    border-radius: var(--border-radius-default);
    color: var(--title-color-gray);
    transition: box-shadow 0.15s ease-in-out;
}

.form-control::placeholder {
    color: var(--title-color-gray)
}

.form-control:not(:placeholder-shown) {
    color: black
}

.form-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 48rem;
    gap: 2em;
}


.form-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    align-items: center;
}

label {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 18px;
    color: var(--title-color-gray);
    margin-bottom: 0px !important;
}

.inputs-flex {
    p

{
    color: var(--title-color-gray);
    font-size: 14px;
    padding-left: 0.4rem;
    padding-top: 0.3rem;
}

}

@media (1404px < width ) {
    .paso {
        width: 55px;
        height: 55px;
        font-size: 2rem;
    }
}

@media screen and (width >= 1373px) {
    .paso {
        font-size: 2.2rem;
        width: 75px;
        height: 65px;
    }

    .text-paso {
        top: 4.4rem !important;
    }
}

@media screen and (841px <= width <= 1372px) {
    .paso {
        width: 50px;
        height: 50px;
    }
}

@media screen and (736px <= width <= 841px) {
    .paso {
        font-size: 1.7rem;
        width: 45px;
        height: 45px;
    }
}

@media screen and (619px <= width <= 737px) {
    .paso {
        font-size: 1.7rem;
        width: 45px;
        height: 45px;
    }
}

@media screen and (565px <= width <= 620px) {
    .paso {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .text-paso {
        top: 3rem !important;
    }
}

@media screen and (width <= 566px) {
    .paso {
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }

    .text-paso {
        top: 3rem !important;
    }

    .pasos {
        justify-content: space-between !important;
        gap: 0px !important;
    }
}

@media screen and (width <= 909px) {
    .form-container {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (width <= 532px) {
    .main {
        width: 75% !important;
    }

    .text-paso {
        top: 3rem !important;
    }

    .p-paso {
        text-align: center;
    }
}

.img-form {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 100% center;
}

.form-control-p3 {
    width: 100% !important;
}

.form-select:valid {
    color: black; /* Color del texto de las opciones seleccionadas */
}

.datos {
    font-size: 12px;
    color: var(--color-blue-main);
    margin-bottom: 0px !important;
    span

{
    font-weight: 700;
}

}

.datos2 {
    color: var(--title-color-gray);
    font-size: 12px;
    span

{
    font-weight: 700;
    color: var(--color-blue-main);
}

}

.submit {
    display: flex;
    justify-content: center;
}

.btn-primary-p3 {
    width: 211px;
    height: 51px;
    font-weight: 700;
    font-size: 26px;
}

.btn-primary:hover {
    color: var(--color-blue-main);
    background-color: white;
}

.item {
    flex-shrink: 1; /* Permite que los elementos se reduzcan si es necesario */
}

.column-p4 {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pagos-p4 {
    justify-content: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5.5rem;
}

.input-abonar {
    border: 0px !important;
    border-bottom-style: solid !important;
    border-bottom-width: 1px !important;
    border-radius: 0px;
    border-bottom-color: var(--color-blue-main) !important;
    transition: box-shadow 1s ease-in-out !important;
}

    .input-abonar:focus {
        color: var(--bs-body-color);
        background-color: var(--bs-body-bg);
        border-color: #86b7fe;
        outline: 0;
        box-shadow: 0 4px 4px -2px rgba(13, 110, 253, 0.25);
    }

.metodos-pago {
    padding: 0.4rem;
    border-style: solid;
    border-color: var(--title-color-gray);
    border-radius: var(--border-radius-default);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.3s ease, scale 0.3s ease;
    img

{
    transition: filter 0.3s ease;
}

}

.metodos-pago:hover img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(76%) saturate(700%) hue-rotate(200deg) brightness(95%) contrast(90%);
}

.metodos-pago:hover p {
    color: var(--color-blue-main);
}

.metodos-pago:hover {
    border-color: var(--color-blue-main);
    scale: 1.1
}

.svg-pagos {
    width: 3rem;
}

.p-pagos {
    margin-bottom: 0px;
    font-weight: 600;
    color: var(--title-color-gray);
    transition: color 0.3s ease;
}

.img-fluid-form {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

@media screen and (width >= 1342px) {
    .form-p3 {
        max-width: 100% !important;
    }

        .form-p3 > :first-child {
            width: 100% !important;
        }

    .input-p3 {
        width: 100%;
    }
}

@media screen and (911px <= width <= 1034px) {
    .img {
        top: -5.5rem !important;
        left: 1.5rem !important;
        width: 95% !important;
    }
}

@media screen and (882px <= width <= 962px) {
    .img {
        top: -5.5rem !important;
        width: 90% !important;
    }
}

@media screen and (576px <= width <= 883px) {
    .img {
        top: -5.5rem !important;
        width: 90% !important;
    }
}

@media screen and (630px <= width <= 937px) {
    .title {
        font-size: 300% !important;
    }

    .subtitle {
        font-size: 110%;
        margin-left: 10%;
    }
}

@media screen and (300px <= width <= 631px) {
    .img {
        top: -1rem !important;
        width: 90% !important;
    }
}

.input-p3 {
    width: 100% !important;
}

.form-p3 {
    justify-content: center !important;
}

.select-p3 {
    color: var(--title-color-gray) !important;
}

.p-p3 {
    font-size: 11px;
    color: var(--color-blue-main);
    margin-left: 0.2rem;
    margin-bottom: 0px !important;
    span

{
    font-weight: 700;
}

}

.p-gray {
    color: var(--title-color-gray);
    font-size: 11px;
    margin-left: 0.2rem;
    margin-bottom: 0px !important;
    span

{
    font-weight: 700;
    color: var(--color-blue-main);
}

}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.button-p2 {
    gap: 1.5rem;
}

.btn-primary, .btn-secondary {
    width: 11rem;
    font-weight: 700;
    height: 2.5rem;
    font-size: 18px !important;
}


/* Estilos POP-UP */
.ajs-header {
    background: rgb(var(--primary-color-rgb)) !important;
    color: #fff;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    font-weight: 600 !important;
}

.alertify {
    border-radius: 10px !important;
}

.ajs-footer {
    border-radius: 10px !important;
}

.ajs-dialog {
    border-radius: 10px !important;
    position: absolute !important;
    margin: 0px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 80% !important;
}

.ajs-button {
    color: rgb(255 255 255) !important;
    background-color: rgb(var(--primary-color-rgb)) !important;
    font-size: 1em !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.ajs-content {
    color: #60636B !important;
    font-family: 'Titillium Web', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 200 !important;
    text-align: justify !important;
}

.ajs-close {
    background-image: url('../images/close-svgrepo-com.svg') !important;
}

.iconHelpDivDark {
    background-image: url('../images/alert-circle-black.svg');
    background-repeat: no-repeat;
    background-color: transparent;
    background-size: auto 15px;
    width: 19px;
    height: 15px;
    display: inline-block;
}

.buttons-group {
    input

{
    height: 74px !important;
    font-size: 17px !important;
    border-radius: 16px !important;
    width: 310px !important;
    font-weight: 700 !important;
    color: white !important;
    background-color: var(--color-blue-main) !important;
}
}

.custom-control-input {
    position: relative !important;
    z-index: 1 !important;
    opacity: 1 !important;
    width: 100% !important;
}

.terminosycond {
    font-size: 0.8rem;
}

td label {
    font-size: 13px;
}

@media screen and (631px <= width <= 815px) {
    .img {
        top: -4.5rem !important;
        width: 90% !important;
    }
}

@media screen and (631px <= width <= 768px) {
    .img {
        top: -0.5rem !important;
        width: 90% !important;
    }
}

@media screen and (width < 768px) {
    .buttons-group {
        input

{
    height: 54px !important;
    font-size: 90% !important;
    width: 310px !important;
}

}
}

.required-validator:required:invalid {
    background-color: #FBE3E4 !important;
    border-color: red !important;
}

.required-validator {
    color: red;
    display: none !important;
}

@media screen and (width >= 1280px) {
    .img {
        top: -5.5rem !important;
        width: 90% !important;
    }
}

@media screen and (width > 1427px) {
    .title-container {
        margin-left: 1%;
    }

    .title {
        font-size: 60px !important;
    }

    .subtitle {
        margin-left: 1rem;
        margin-top: 1rem;
        font-size: 25px;
        font-weight: 700;
        color: var(--title-color-gray);
    }
}

.formP5 {
    border-style: solid;
    border-radius: 7px;
    border-color: rgb(var(--primary-color-rgb));
}

.header-cupon {
    font-size: 18px;
    color: rgb(var(--primary-color-rgb));
    font-weight: 700;
    margin-bottom: 0px !important;
}

.textHeader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.textLeft {
    color: #706E6F;
    border-bottom-style: solid;
    border-color: rgb(var(--primary-color-rgb));
    border-top-style: solid;
    padding: 0.3rem;
    margin-bottom: 0px !important;
}

.p-center {
    display: flex;
    align-items: center;
    font-size: 18px;
    background-color: rgb(var(--primary-color-rgb));
    justify-content: center;
    color: white;
    padding: 1rem;
}

.segunda-col {
    font-size: 16px !important;
    display: flex;
    align-items: center;
    font-weight: 700;
    background-color: rgb(var(--primary-color-rgb));
    color: white;
    border-color: rgb(var(--primary-color-rgb));
    border-style: solid;
    padding: 0px !important;
    padding-left: 3px !important;
}

.centerText {
    border-top-style: none;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}

.tarjeta {
    border-style: solid;
    padding: 0.7rem;
    border-radius: 10px;
    border-color: #706E6F;
}

.contratoColum {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}