:root {
    --blanco: ;
    --oscuro: #212121;
}

.hero {
    height: 1100px;
    background-image: url(../images/Bolsa.jpg);
    position: relative;
    background-position: center;
    padding: 0px 0 187px;
}

.contenido-hero {
    background-color: rgb(0 0 0 / 70%);
    /** Otra opción **/
    background-color: rgba(0, 0, 0, .7);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contenido-hero h2,
.contenido-hero p {
    color: var(--oscuro);
}

h2 {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 12px #303030;
    text-align: center;
    padding-top: 30px;
    margin-bottom: 30px;
    font-size: 20px;
}

.formulario {
    background: rgba(255, 255, 255, 0.53);
    padding: 2rem;
    border-radius: 10px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.formulario legend {
    text-align: center;
    font-size: 1.2rem;
    /*color: var(--primario);*/
    margin-bottom: 2rem;
    display: block;
    text-transform: uppercase;
    font-weight: 700;
}

@media (min-width:768px) {
    .formulario {
        /* max-width: 800px; */
        max-width: 70%;
        margin: 0 auto;
    }

    .contenedor {
        /* font-size: 62.5%; */
        font-size: 15px;
    }
}

.contenedor-campos {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.campo {
    margin-bottom: 1rem;
    width: 100%;
}

@media (min-width:480px) {
    .campo {
        /* display: flex; */
        align-items: center;
    }

    h2 {
        font-size: 35px;
    }
}

@media (min-width: 768px) {
    .campo {
        flex: 0 0 calc(50% - .5rem);
        margin-bottom: 20px;
    }

    h2 {
        font-size: 60px;
    }
}

.campo label {
    color: var(--oscuro);
    font-weight: 700;
    margin-bottom: .5rem;
    display: block;
}

@media (min-width:480px) {
    .campo label {
        flex: 0 0 90px;
    }
}

.campo input[type="text"],
.campo input[type="tel"],
.campo input[type="mail"],
.campo input[type="date"],
.campo select,
.campo textarea {
    width: 100%;
    padding: .5rem;
    border: none;
    border-radius: .5rem;
}

@media (min-width: 768px) {

    :is(.campo) :is(input[type="text"],
        input[type="text"],
        input[type="tel"],
        input[type="mail"],
        textarea) {
        flex: 1;
    }
}

.w-100 {
    flex: 0 0 100%;
}

.campogrande {
    flex: 0 0 calc(100% - .5rem)
}

.campo textarea {
    height: 4rem;
}

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

.boton {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    width: 200px;
    color: #ffffff;
    background-color: #d9534f;
}

.error {
    background-color: rgb(185, 0, 0);
    padding: 1rem .5rem;
    text-align: center;
    color: #ffffff;
}

.correcto {
    background-color: rgb(74, 185, 0);
    padding: 1rem .5rem;
    text-align: center;
    color: #ffffff;
}

/*modal aviso de privacidad*/
.avisoprivicidad-modal-container {
    position: fixed;
    top: -120%;
    left: 0;
    z-index: 10000;
    min-height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, .7);
    display: flex;
    /* align-items: center; */
    justify-content: center;
}

.avisoprivicidad-modal-container.active {
    top: 0;
}

.avisoprivicidad-modal-container .subcambiar {
    margin: 2rem;
    padding: 1.5rem 2rem;
    border-radius: .5rem;
    background: #fff;
    width: 80%;
    position: relative;
}

.avisoprivicidad-modal-container .subcambiar h3 {
    font-size: 3rem;
    color: #444;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem 0;
}

.avisoprivicidad-modal-container .subcambiar .box {
    width: 100%;
    padding: 1rem;
    font-size: 1.7rem;
    color: #333;
    margin: .6rem 0;
    border: .1rem solid rgba(0, 0, 0, .3);
    text-transform: none;
}

.avisoprivicidad-modal-container .subcambiar .btn {
    display: block;
    width: 100%;
}

.avisoprivicidad-modal-container #modal-close {
    position: absolute;
    top: 0;
    right: 1rem;
    font-size: 5rem;
    cursor: pointer;
}

.btn_siguiente {
    display: none;
}

.aviso_privasub {
    overflow-y: scroll;
    height: 400px;
    font-size: 16px;
}

@media(max-width: 1234px) {
    .aviso_privasub {
        height: 300px;
    }
}


/* The Modal (background) */
.modal {
    display: block;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 2;
    /* Sit on top */
    padding-top: 50px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    z-index: 3;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 60%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 10px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: var(--oscuro);
    color: white;
    padding-top: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: var(--oscuro);
    color: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.col-2 {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-gap: 1rem;
}

.btn_avisaprivacidad {
    margin-left: 5px;
    border: 1px solid rgb(40, 94, 131);
    background-color: rgb(236, 239, 241);
    color: rgb(40, 94, 131);
    padding: 10px;
    width: auto;
    font-size: 16px;
    border-radius: 10px;
}

.btn_avisaprivacidad:hover {
    border: 3px solid #ffffff;
    background-color: rgb(210, 3, 3);
    color: #ffffff;
    border-radius: 10px;
}

.strap-module{
    background-color: #ab192d;
    padding: 15px 30px;
    text-align: center;
    font-size: 1.5rem;
}

.strap-text {
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    margin: 0;
}

/* snipper loading */
.spinner {
    text-align: center;
}

.spinner>div {
    width: 18px;
    height: 18px;
    background-color: #a80e26;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}