/*custom font*/
@import url(https://fonts.googleapis.com/css?family=Montserrat);

/*basic reset*/
* {
    /*margin: 0;*/
    /*padding: 0;*/
}

html {
    height: 100%;
    /*background: #58585A; /* fallback for old browsers */
    /*background: -webkit-linear-gradient(to left, #58585A, #2a0845); /* Chrome 10-25, Safari 5.1-6 */*/
}

body {
    font-family: montserrat, arial, verdana;
    background: #efefef;
}

/*form styles*/
#msform {
    text-align: center;
    position: relative;
    margin-top: 30px;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;%;

    /*stacking fieldsets above each other*/
    position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

/*inputs*/
#msform input,
#msform select,
#msform textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #444;
    font-size: 16px;
    font-weight: 600;
    min-height: 50px;
}
#msform .input-group input {
    width: calc(100% - 20%);
    margin: auto;
    height: auto;
}
.input-group {
    margin-bottom: 10px;
}
.input-group-text {
    border-radius: 0;
    font-weight: 600;
}
#loan_budget {
    text-align: center;
}

#msform input:focus, #msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #ffcb08;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}

/*buttons*/
#msform .action-button {
    min-width: 100px;
    width: auto;
    background: #ffcb08;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px;
    margin: 10px 5px;
}

#msform .action-button:hover, #msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #ffcb08;
}

#msform .action-button-previous {
    width: 100px;
    background: #C5C5F1;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button-previous:hover, #msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #C5C5F1;
}

/*headings*/
.fs-title {
    font-size: 22px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
    display: flex;
    padding: 0;
}

#progressbar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 9px;
    width: 33.33%;
    float: left;
    position: relative;
    letter-spacing: 1px;
    flex: 1;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 24px;
    height: 24px;
    line-height: 26px;
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #777;
    border-radius: 25px;
    margin: 0 auto 10px auto;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #777;
    position: absolute;
    left: -50%;
    top: 10px;
    z-index: -1; /*put it behind the numbers*/
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before, #progressbar li.active:after {
    background: #ffcb08;
    color: white;
}


/* Not relevant to this form */
.dme_link {
    margin-top: 30px;
    text-align: center;
}
.dme_link a {
    background: #FFF;
    font-weight: bold;
    color: #ffcb08;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 5px 25px;
    font-size: 12px;
}

.dme_link a:hover, .dme_link a:focus {
    background: #C5C5F1;
    text-decoration: none;
}

input.redio-none {
    visibility: hidden;
    position: absolute;
    left: -10000px;
}

#msform .lebel-check {
    display: inline-block;
    max-width: 100%;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 2rem;
    background: #efefef;
    cursor: pointer;
    margin: 8px;
}
#msform .lebel-check.active_icons {
    border: 2px solid #ffcb08;
    background: #ffffff;
}
.error-field {
    color: #ff0000;
    display: block;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
}
label.fs-label {
    display: block;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1;
}
::-webkit-input-placeholder {
    color: #000 !important;
    opacity: .3 !important;
}
::-moz-placeholder{
    color: #000 !important;
    opacity: .3 !important;
}
:-ms-input-placeholder{
    color: #000 !important;
    opacity: .3 !important;
}
::placeholder {
    color: #000 !important;
    opacity: .3 !important;
}

input:focus::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}
.datepicker table tr td span.active.active,
.datepicker table tr td.active.active {
    color: #fff;
    background-color: #ffcb08;
    border-color: #ffcb08;
}

.datepicker table tr td span.active:hover.active:hover,
.datepicker table tr td.active.active:hover,
.datepicker table tr td span.active.active:hover {
    color: #fff;
    background-color: #adb5bd;
    border-color: #adb5bd;
}
.form-group {
    position: relative;
}
.dob-check {
    position: absolute;
    bottom: 30px;
    right: 25px
}
.error-message.message-box {
    right: 15px;
    bottom: -20px;
    background: #dc3545;
    font-size: 12px;
    color: #ffffff;
    padding: 0.25rem;
    border-radius: 3px;
    position: absolute;
}