input:-internal-autofill-selected {
    background-color: #fff !important;
}

#multistep_form {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    height: 100%;
    z-index: 999;
    opacity: 1;
    visibility: visible;
}

/*progress header*/
#progress_header {
    overflow: hidden;
    margin: 0 auto 30px;
    padding: 0;
}

#progress_header li {
    list-style-type: none;
    width: 33.33%;
    float: left;
    position: relative;
    font-size: 16px;
    font-weight: bold;
    font-family: monospace;
    color: #fff;
    text-transform: uppercase;
}

#progress_header li:after {
    width: 35px;
    line-height: 35px;
    display: block;
    font-size: 22px;
    color: #888;
    font-family: monospace;
    background-color: #fff;
    border-radius: 100px;
    margin: 0 auto;
    background-repeat: no-repeat;
    font-family: 'Roboto', sans-serif;
}

#progress_header li:nth-child(1):after {
    content: "1";
}

#progress_header li:nth-child(2):after {
    content: "2";
}

#progress_header li:nth-child(3):after {
    content: "3";
}

#progress_header li:before {
    content: '';
    width: 100%;
    height: 5px;
    background: #fff;
    position: absolute;
    left: -50%;
    top: 50%;
    z-index: -1;
}

#progress_header li:first-child:before {
    content: none;
}

#progress_header li.active:before,
#progress_header li.active:after {
    color: #fff !important;
    transition: all 0.5s;
    background-color: #a4002e;
}

/*title*/
.title-box {
    width: 100%;
    margin: 0 0 30px 0;
}

.title-box h2 {
    font-size: 20px;
    text-transform: uppercase;
    color: #2C3E50;
    margin: 0;
    display: inline-block;
    position: relative;
    padding: 0 0 10px 0;
}

/* .title-box h2:before {
    content: "";
    background: #a4002e;
    width: 70px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: block;
}

.title-box h2:after {
    content: "";
    background: #a4002e;
    width: 50px;
    height: 2px;
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: block;
} */
.title-box h2:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1em;
    bottom: -0.2em;
    background-image: url(../underline.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: center;
}
/*Input and Button*/
.multistep-box {
    background: white;
    border: 0 none;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    padding: 30px 30px;
    box-sizing: border-box;
    width: 100%;
}

.multistep-box:not(:first-of-type) {
    display: none;
}

.multistep-box p {
    margin: 0 0 12px 0;
    text-align: left;
}

.multistep-box span {
    font-size: 12px;
    color: #a4002e;
}

input,
textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    color: #2C3E50;
    font-size: 13px;
    transition: all 0.5s;
    outline: none;
}

input:focus,
textarea:focus {
    box-shadow: inset 0px 0px 50px 2px rgb(0, 0, 0, 0.1);
}

input.box_error,
textarea.box_error {
    border-color: #a4002e;
    box-shadow: inset 0px 0px 50px 2px rgb(255, 0, 0, 0.1);
}

input.box_error:focus,
textarea.box_error:focus {
    box-shadow: inset 0px 0px 50px 2px rgb(255, 0, 0, 0.1);
}

label.error{
    font-size: 13px;
    display: flex;
}

#ip-error{
    order: 2;
}

#pass-error{
    flex-direction: column;
}

#sel-error{
    display: flex;
    justify-content: center;
}

input[type="text"],
input::placeholder {
    font-size: 17px !important;
    font-size: unset;
    font-weight: 400;
}

p.nxt-prev-button {
    margin: 25px 0 0 0;
    text-align: center;
    display: flex;
}

.action-button {
    width: 100%;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 0 5px;
    transition: all 0.5s;
}

.action-button:hover,
.action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #4b0006;
}

.form_submited #multistep_form {
    opacity: 0;
    visibility: hidden;
}

.form_submited h1 {
    -webkit-background-clip: text;
    transform: translate(0%, 0%);
    -webkit-transform: translate(0%, 0%);
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

h3 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

#addRow {
    background-color: unset;
    padding: 4px 10px;
    border-radius: 0.25rem;
    font-weight: 500;
    border: 2px solid #17a2b8;
    color: #17a2b8;
    font-size: 12px;
    width: auto;
    display: table;
    cursor: pointer;
}

.delete-button {
    width: 25px;
    margin-left: 5px;
    font-size: 20px !important;
    color: #fff !important;
    background-color: #a4002e;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 100%;
    padding: 0px 10px 4px 10px;
    cursor: pointer;
    border-radius: 0.25rem;
}

.ip-row {
    display: grid;
}

.previous.action-button {
    background-color: #666666 !important;
}

.flex-ip-row {
    display: flex;
}

.radio_buttons {
    font-size: 14px !important;
    border-bottom: 0.13rem solid #a4002e;
    border-top: 0.13rem solid #a4002e;
    margin: 25px 0;
    padding: 15px 0;
}

.radio_buttons p input {
    width: 17px;
    margin-right: 7px;
    background-color: #fff;
}

.radio_buttons p {
    padding-left: 15px;
    color: #222222;
    display: flex;
}

.radio_buttons p:last-of-type {
    margin-bottom: 0px;
}

.warn-box {
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 20px;
    font-size: 14.5px;
    color: #96722E !important;
}

#selectchange {
    margin-bottom: 15px;
}

.hide {
    display: none;
}

.agree label:first-of-type {
    display: flex;
    order: 2;
    /* padding-left: 5px; */
    line-height: 1.8;
}
#agree-error{
    padding-left: 5px; 
}

.input-group-prepend {
    position: relative;
}

.input-group-text {
    position: absolute;
    height: 3rem;
    line-height: 3rem;
    padding-left: 0.2rem;
    z-index: 1;
    align-items: center;
    display: flex;
}

.input-group-text.bottom-button {
    height: 2.35rem;
}

.fa-building-user,
.fa-id-card,
.fa-building,
.fa-phone,
.fa-id-badge,
.fa-envelope,
.fa-user,
.fa-lock {
    color: #888888;
    font-size: 16px;
}

.bottom-button .fa-chevron-right {
    color: #fff;
    font-size: 20px;
}

input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
input[type="button"] select,
textarea {
    padding: 10px 22px !important;
}

@media (max-width: 769px) {
    .multistep-box {
        padding: 10px 10px;
    }

    .btn-gradient-left i,
    .btn-gradient i {
        font-size: 25px;
    }

    .btn-gradient {
        width: 35% !important;
        padding: 10px 15px 10px 5px !important;
    }

    .btn-text {
        width: 65% !important;
    }
}