.row{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.e_full{
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.e_label{
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
}

.e_input{
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
}

.e_radio_opt{
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.e_radio_desc{
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

#stepbardiv{
    display: inline-flex;
    flex-direction: row;
    width: 100%;
}

.step-box{
    padding-top: 10px;
    padding-bottom: 10px;
    border: 2px solid #244c5a;
    border-radius: 15px;
    text-align: center;
    width: 100px;
    margin-bottom: 30px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.step-bar{
    height: 10px;
    margin-top: 17px;
    margin-bottom: 10px;
    border: 2px solid #244c5a;
    border-right: 0px;
    border-left: 0px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: calc((100% - 500px) / 4);
}

.step-fill{
    color: white;
    background-color: #244c5a;
}

#stepbardiv{
    display:none;
    margin-top: 20px;
}

label.required::after {
    content: "*";
    color:red;
    font-weight: bold;
    padding-left:3px;
}

.tc-form .row{
    margin-bottom:10px;
}

.tc-form .row .required::after{
    content:"*";
    color:red;
}

.tc-form .row .header{
    margin-top:20px;
    font-weight: bold;
}

.tc-form .row input{
    width:100%;
}

.tc-form .row .warning{
    border-color: #e9322d;
}

.tc-form .row input:not([type="radio"]):not([type="checkbox"]){
    height: 30px;
    margin-bottom: 0px;
    box-sizing: border-box;
}

.tc-form .row input[type="checkbox"]{
    float: left;
    margin-right: 20px;
    text-align: left;
    width: unset !important;
}

button{
    background-color:unset;
}

button.btn-primary:hover:not([disabled]){
    background-position: 0;
    background-color: #0069d9;
    border-color: #0062cc;
    background-image: -ms-linear-gradient(top, #0069d9, #0069d9) !important;
    background-image: -webkit-linear-gradient(top, #0069d9, #0069d9) !important;
    background-image: linear-gradient(top, #0069d9, #0069d9) !important;
}

button.btn-primary[disabled]{
    background-image: -ms-linear-gradient(top, grey, grey) !important;
    background-image: -webkit-linear-gradient(top, grey, grey) !important;
    background-image: linear-gradient(top, grey, grey) !important;
    background-color: grey;
}

button.btn-primary{
    background-image: -ms-linear-gradient(top,#007bff, #007bff);
    background-image: -webkit-linear-gradient(top,#007bff, #007bff);
    background-image: linear-gradient(top,#007bff, #007bff);
}

.required::after {
    content: "*";
    color:red;
    font-weight: bold;
    padding-left:3px;
}

#spinner-container{
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.2);
    z-index: 10;
}   

#spinner {
    border: 13px solid #ffffff;
    border-top: 13px solid #244c5a;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-back {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* 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 */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 30%; /* Could be more or less, depending on screen size */
}

.modal-content > p{
    margin-bottom: 30px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.mat-button {
    box-sizing: border-box;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    outline: 0;
    border: none;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    min-width: 64px;
    line-height: 36px;
    padding: 0 16px;
    border-radius: 4px;
    overflow: visible;
}

.mat-button{
    background-color: #0069d9;
}

.mat-button.continue:hover{
    background-color: lightgray;
}
.mat-button.white:hover{
    background-color: lightgray;
}
