/***
    Main-template format for website domain and subdomain:
    https://www.home-physiotherapy.com
    created on January 2022
***/

body {
    background: #eee;
    margin-left: 20px; 
    margin-right: 20px;
}

footer {
    background-color: teal;
    margin: 50px; 
    text-align: center;
    color: #000;
}

#regForm {
    background-color: #ffffff;
    margin: 0px auto;
    font-family: Raleway;
    padding: 40px;
    border-radius: 10px;
}

#register {
    color: #cc0a29;
}

#prevBtn {
    background-color: #bbbbbb;
}

h1 {
    text-align: center;
}

h2 {
    text-align: center;
}

input {
    padding: 10px;
    width: 100%;
    font-size: 17px;
    font-family: Raleway;
    border: 1px solid #aaaaaa;
    border-radius: 10px;
    -webkit-appearance: none
}

input.invalid {
    border: 1px solid #e03a0666;
}

.tab input:focus {
    border: 1px solid #cc0a29 !important;
    outline: none;
}

.tab {
    display: none;
}

button {
    background-color: #cc0a29;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    padding: 10px 20px;
    font-size: 17px;
    font-family: Raleway;
    cursor: pointer;
}

button:hover {
    opacity: 0.8
}

button:focus {
    outline: none !important;
}

.all-steps {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    display: inline-flex;
    justify-content: center;
}

.step {
    height: 40px;
    width: 40px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: #cc0a29;
    opacity: 0.5;
}

.step.active {
    opacity: 1
}

.step.finish {
    color: #fff;
    background: #cc0a29;
    opacity: 1;
}

.all-steps {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.thanks-message {
    display: none;
}    

/* Selection */
.form-group input[type="checkbox"] {
    display: none;
}
.form-group input[type="checkbox"] + .btn-group > label span {
    width: 20px;
}
.form-group input[type="checkbox"] + .btn-group > label span:first-child {
    display: none;
}
.form-group input[type="checkbox"] + .btn-group > label span:last-child {
    display: inline-block;   
}
.form-group input[type="checkbox"]:checked + .btn-group > label span:first-child {
    display: inline-block;
}
.form-group input[type="checkbox"]:checked + .btn-group > label span:last-child {
    display: none;   
}

textarea {
  width: 100%;
  padding: 5px 5px;
  margin: 10px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

input[type=datetime-local], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

table, th, td {
  border:1px solid black;
}
