/* 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;
	z-index: 999999999999; /* Sit on top */
}

.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;
}

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

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

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

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

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

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

#nextToStep2,#senseCheckBookAppointment {
    width:100% !important;
    background-color:#15B0F8 !important;
    border:none !important;
    color:white !important;
    margin-top:20px !important;
}

#senseCheckBookAppointment {
    font-size: 16px !important;
    padding: 8px 15px 8px 15px !important;
    text-align: center !important;
}

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

input,select {
    font-size:14px !important;
    line-height:1.3em !important;
    padding:.5rem 1rem !important;
}

select {
    -webkit-appearance: none !important;
    background: white url('/wp-content/themes/hello-theme-child-master/assets/images/down-arrow.png') center right no-repeat;
    background-size:20px 20px;
    padding-right:40px !important;
}

label {
    font-size: 14px !important;
}

.form-step input, .form-step select {
    margin-bottom:5px !important;
    border-radius:4px 4px 4px 4px;
}

.form-half-container {
    display:inline-block;
    width:49.4%;
}

@media (max-width:621px) {
    .form-half-container {
        display:inline-block;
        width:48.8%;
    }
}

.resetButton {
    -webkit-appearance:none;
    display:block;
    margin:10px auto;
    margin-top:40px;
    text-align:center;
    color:black;
    padding:20px;
    border:none !important;
    font-size:16px !important;
    padding: 8px 15px 8px 15px
}

.resetButton:hover {
    cursor:pointer;
}

.button-group {
    display: flex;
    margin: 0px auto;
    flex-direction: row;
}

.button-group > :nth-child(2) {
    margin-left:5px !important;
}

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