.pop-modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 70px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.pop-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    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;
}

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

.pop-modal-header {
    position: relative;
    padding: 4px 16px;
    background-color: #1cc3b2;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
}

.pop-modal-header .heading {
    font-size: 16px;
    text-align: center;
    padding-top: 8px;
}

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

/* The Close Button */
.pop-close {
    top: -8px;
    right: -8px;
    position: absolute;
    color: #ffffff;
    font-size: 16px;
    background: #FF5252;
    width: 22px;
    height: 22px;
    border-radius: 50px;
    padding: 0 6px;
}

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

#msform {
    text-align: center;
    position: relative;
    margin-top: 20px;
}

#msform .lc_error-message {
    display: none;
    background: #FF5252;
    padding: 4px;
    margin-bottom: 5px;
    border-radius: 4px;
    text-align: left;
}

#msform .lc_error-message span {
    color: #fff;
    margin-left: 2px;
    font-size: 14px;
}

#msform .lc_error-message b {
    font-weight: bold;
    color: #fff;
    margin-left: 1px;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative;
}

#msform fieldset:not(:first-of-type) {
    display: none;
}

#msform input, #msform textarea {
    padding: 8px 15px 8px 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 15px;
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    color: #2C3E50;
    background-color: #ECEFF1;
    font-size: 14px;
    letter-spacing: 1px;
    height: 45px;
}

#msform input:focus, #msform textarea:focus {
    box-shadow: none !important;
    border: 1px solid #673AB7;
    outline-width: 0;
}

#msform .action-button {
    width: 100%;
    background: #000;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 0px 10px 5px;
    float: right;
}

#msform .action-button:hover, #msform .action-button:focus {
    background-color: #311B92;
}

#msform .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px 10px 0px;
    float: right;
}

#msform .action-button-previous:hover, #msform .action-button-previous:focus {
    background-color: #000000;
}

.form-card {
    text-align: left;
}

.purple-text {
    color: #673AB7;
    font-weight: normal;
}

.fieldlabels {
    color: #000;
    text-align: left;
    display: none;
}

.success {
    display: none;
    padding: 5px;
}

.success .final-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 20px;
}

@media screen and (min-width: 421px) {
    .pop-modal-content {
        width: 420px;
    }
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey
}

#progressbar .active {
    color: #000
}

#progressbar li {
    list-style-type: none;
    font-size: 12px;
    width: 33.33%;
    float: left;
    position: relative;
    font-weight: 400
}

#progressbar #personal:before {
    content: "1";
}

#progressbar #travel:before {
    content: "2"
}

#progressbar #finish:before {
    content: "3"
}

#progressbar li:before {
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: block;
    font-size: 14px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 22px;
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #1cc3b2
}
