*{
    margin:0px;
    padding:0px;
}
body {
    color: #444444;
    font-size: 13px;
    font-family: "Century Gothic", Helvetica, sans-serif;
}

#content {
    margin: 15px auto;
    text-align: center;
    position: relative;
    height: 100%;
}

#wrapper {
    overflow: hidden;
}

#steps {
    overflow: hidden;
}

.step {
    float: left;
    width: 100vw;
}

#navigation {
    text-align: center;
    padding: 10px 0;
    width: 100%; /* Asegura que ocupe todo el ancho */
    position: relative; /* Necesario para contener elementos absolutos */
}

#navigation ul {
    list-style: none;
    display: inline-flex; /* Mantiene el diseño en línea pero flexible */
    margin: 0 auto; /* Centra el contenedor */
    padding: 15px 25px;
    background: #2b3444;
    border-radius: 42px;
    align-items: center;
    width: 90%;
    justify-content: center; /* Centra los elementos hijos horizontalmente */
    max-width: 100%; /* Evita que se salga de la pantalla */
    box-sizing: border-box; /* Incluye padding en el ancho */
}

#navigation ul li {
    position: relative;
    height: 28px;
    width: auto;
    margin: 0 5px;
    min-width: 14%;
}

#navigation ul {
    background-color: #2b3444;
    text-align: center;
    padding: 22px 10px;
    width: 80%;
}

#navigation ul li a {
    display: block;
    height: 30px;
    color: #777;
    outline: none;
    font-weight: bold;
    text-decoration: none;
    line-height: 30px;
    padding: 0;
    background: transparent url(/img/step-line.png) no-repeat left;
    background-size: 100% auto;
}

#navigation ul li a:hover,
#navigation ul li.selected a {
    color: #666;
    text-shadow: 1px 1px 1px #fff;
}

#navigation ul li a.checked {
    background: transparent url(/img/step-line-checked.png) no-repeat left;
    background-size: 100% auto;
}

span.checked {
    background: transparent url(/img/step-line-checked.png) no-repeat left;
    position: absolute;
    top: 0px;
    left: 1px;
    width: 20px;
    height: 20px;
}

#navigation ul li span {
    background: transparent;
    position: absolute;
    top: 0px;
    left: 1px;
    width: 20px;
    height: 20px;
}

#steps form fieldset {
    border: none;
}

@media screen and (max-width: 768px) {
    #navigation ul {
        padding: 12px;
        border-radius: 25px;
        margin: 0 10px;
    }
    
    #navigation ul li {
        height: 22px;
    }
    
    .first-nav-step,
    .nav-step,
    #navigation ul li.selected {
        width: 18px !important;
        height: 18px !important;
    }
    
    .first-nav-step a,
    .nav-step a,
    #navigation ul li.selected a {
        width: 18px !important;
        height: 18px !important;
    }
}

.input-field-row input:focus~.a-input__unit{opacity:1}

.input-field-row input:focus::placeholder{opacity:0}

.a-input__unit {
    position: absolute;
    bottom: 9px;
    right: 29px;
    font-size: 16px;
    color: hsla(0, 0%, 100%, 0.5);
    opacity: 0;
    font-weight: 300;
    transition: 0.35s ease;
}

.input-field-row:focus .a-input__unit{
    opacity: 1;
}

.input-field-row{
    position: relative;
    display: inline-block;
    margin: 5px 0;
}


.a-input__input--error {
    position: absolute;
    color: #fff !important;
    background: #ee2020 !important;
    padding: 10px;
    bottom: -1px;
    max-width: 300px;
    text-align: center;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    right: 0;
    z-index: 10;
    border-radius: 10px;
    font-size: 12px;
    display: none;
}

.input--error .a-input__input--error{
    display: block;
}

.input--error input[type="text"],
.input--error input[type="email"],
.input--error input[type="number"],
.input--error textarea.form-control {
    border-bottom: 1px solid #ee2020;
}

