/* styles.css */

.loader,
.loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}

.loader {
    margin: 60px auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#loadingDiv {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    justify-content: center;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}

.form-popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 99999999999;
    /* Sit on top */
    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 */
    padding-top: 10px;
}

.form-step {
    background-color: #fefefe;
    margin: 5% auto;
    /* 5% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 95%;
    /* Could be more or less, depending on screen size */
    max-width: 600px;
    position: relative;
    top: 4em;
}

.form-step input,
.form-step select {
    color: black !important;
    border: 1px solid grey !important;
}

#backToHealthStep1,
#backToHealthStep2,
#backToHealthStep3 {
    width: 30% !important;
    background-color: grey !important;
    border: none !important;
    color: white !important;
    margin-top: 20px !important;
}

.form-step button[type='submit'] {
    width: 68% !important;
    background-color: #15B0F8 !important;
    border: none !important;
    color: white !important;
    margin-top: 20px !important;
}

button.showDetailsCapturePopup {
    height: 36px;
    border-radius: 5px;
}

#healthLoanForm .resetButton {
    /* border-radius: 5px; */
    /* background-color: #15B0F8 !important; */
    /* border: none !important; */
    /* color: white !important; */
    margin-top: 20px !important;
    padding: 10px !important;
    /* width: 200px; */
}

#healthLoanForm {
    min-height: 700px;
}

#loanForm {
    min-height: 700px;
}

#healthStep5 {
    min-height: 850px;
}

input#rateCalc {
    padding: 17px !important;
}

#healthLoanForm .form-step h4 {
    color: black;
    font-size: 42px;
    line-height: 60px;
}

#healthLoanForm .form-step p {
    color: black;
    font-size: 24px;
    line-height: 30px;
}

#healthLoanForm .form-step hr {
    margin-top: 20px !important;
    margin-bottom: 40px !important;
    opacity: 0.4 !important;
}

#nextToHealthStep2,
#nextToHealthStep3,
#nextToHealthStep4,
#shareButton {
    width: 100% !important;
    background-color: #15B0F8 !important;
    border: none !important;
    color: white !important;
    margin-top: 20px !important;
}

#nextToHealthStep3,
#nextToHealthStep4 {
    width: 68% !important;
}

/* Add styles for the form inputs, buttons, etc. */

#healthLoanForm input,
#healthLoanForm select {
    padding: 2px !important;
}

.chart-container {
    display: flex;
    /* Enables Flexbox layout */
    align-items: flex-start;
}

#ratingChart {
    max-width: 150px !important;
    width: 150px !important;
    margin-right: 30px;
}

.chart-headings {
    display: flex;
    flex-direction: column;
    justify-content: center;
}