#ba-step-one {
    min-height: 180px;
}

#ba-step-two, #ba-step-three {
    display: none;
}

.ba-row {
    white-space: nowrap;
}

.ba-row-left, .ba-row-right {
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    padding: 0 20px 0 0;
    box-sizing: border-box;
}

.ba-row-left {
    width: 33%;
    position: relative;
}

.ba-row-right {
    width: 67%;
    padding: 0 0px 0 10px;
}

.ba-table-toggle i {
    font-size: 22px;
}

.ba-table-toggle a * {
    display: inline-block;
    vertical-align: middle;
}

.ba-table-toggle a span {
    color: #5e5e5e;
    margin-right: 3px;
}

.form-control {
    width: 100%;
}

.form-control-inline {
    display: inline-block;
    width: auto;
}

.ba-dob-month {
    width: 130px;
}

.ba-dob-day {
    width: 60px;
}

.ba-dob-year {
    width: 80px;
}

.help-block {
    font-size: 12px;
    padding: 2px 0;
    color: red;
}

.has-error .help-block {
    color: red;
}

.has-error .form-control {
    border-color: red;
}

.ba-ajax-loading {
    text-align: center;
    padding: 53px 0;
}

.ba-btn-ajax .fa-spinner {
    display: none;
}

.ba-btn-ajax:disabled .fa-spinner {
    display: inline-block;
}

.ba-practitioner {
    display: none;
    height: 109px;
    overflow: hidden;
    margin: 10px 0 20px 0;
    background: white;
    border-radius: 10px;
}

#ba-step-one .ba-practitioner {
    margin: 0 0 5px 0;
}

.ba-appointment-details-inner h3 {
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 0;
}

.ba-appointment-details-inner p {
    font-size: 14px;
}

button#change-appointment, button#change-appointment1, span.new-appointment {
    color: #666666;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    border-radius: 15px;
    padding: 4px 17px 4px 27px;
    outline: none;
    background: transparent;
    border: 1px solid #666666;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
}

button#change-appointment1 {
    margin: 8px auto 16px;
}

button#change-appointment i, button#change-appointment1 i, span.new-appointment i {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    position: absolute;
    left: 8px;
    top: 2px;
    line-height: 1.42857143;
}

.ba-appointment-details-inner .ba-practitioner {
    display: block;
}

.ba-practitioner img {
    float: left;
    margin-right: 10px;
    width: 72px;
}

.ba-practitioner .ba-practitioner-caption {

}

.ba-practitioner-title {
    font-size: 15px;
    margin: 0;
    font-weight: bold;
    text-align: center;
    background: #e0e0e0;
    padding: 10px;
}

.ba-practitioner-text {
    font-size: 14px;
    line-height: 17px;
    text-align: left;
    padding: 7px;
}

.ba-table-holder {
    position: relative;
}

.ba-table {
    width: 100%;
    position: relative;
    z-index: 3;
}

.ba-table tr th:last-child, .ba-table tr td:last-child {
    border-right: 0;
}

.ba-table th, .ba-table td {
    width: 25%;
    text-align: center;
    white-space: nowrap;
    height: 22px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.ba-table th, .ba-table td  {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.ba-table td {
    color: #004890;
}

.ba-table th {
    font-weight: normal;
    font-size: 13px;
    padding: 4px 5px;
    border-right: none;
}

.ba-table tr:last-child td {
    border-bottom: 0;
}

.ba-table td label {
    display: block;
    margin-bottom: 0;
}

.ba-table td label div {
    font-size: 13px;
    padding: 2px 5px;
    background: transparent;
    cursor: pointer;
    font-weight: normal;
}

.ba-table td label div:hover {
    background: rgba(0, 0, 0, 0.05);
}

.ba-table td label div i {
    display: none;
    position: absolute;
    margin-top: 3px;
}

.ba-table-toggle a {
    padding: 2px 5px;
}

.ba-table td label input {
    display: none;
}

.ba-table td label input:checked + div {
    background: rgba(0, 0, 0, 0.075);
}

.ba-table-container {
    max-height: 130px;
    transition: 0.5s;
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    padding: 8px 15px;
    position: relative;
}

.ba-choose-clinic{
    -webkit-appearance: none;
    cursor: pointer;
}

.ba-table-container:after {
    content: '';
    position: absolute;
    height: 6px;
    width: 100%;
    bottom: 0;
    background: #fff;
    left: 0;
    z-index: 4;
}

.ba-table th, .ba-table td {
    width: 86px;
}

th.today {
    font-weight: bold;
    color: #f7941d;
}

.step-2 .bs-wizard-step:first-child .progress, .step-3 .bs-wizard-step:nth-child(2) .progress .progress-bar {
    background: #6cb1b1;
}

.step-2 .bs-wizard-step:nth-child(2) a.bs-wizard-dot, .step-3 .bs-wizard-step.complete:nth-child(3) a.bs-wizard-dot {
    background: #6cb1b1;
}

.step-2 .bs-wizard-step:nth-child(2) a.bs-wizard-dot:after, .step-3 .bs-wizard-step.complete:nth-child(3) a.bs-wizard-dot:after {
    background: #6cb1b1;
}

.ba-table-container-open {
    max-height: 800px;
}

.ba-table-toggle a {
    height: 35px;
    box-sizing: border-box;
    text-align: center;
    font-size: 13px;
    padding: 8px 5px;
}

.ba-more, .ba-less {
    display: block;
    text-align: center;
    cursor: pointer;
}

.ba-table-container-open + .ba-table-toggle .ba-more, .ba-table-container:not(.ba-table-container-open) + .ba-table-toggle .ba-less {
    display: none;
}

.ba-table-container-open + .ba-table-toggle .ba-less, .ba-table-container:not(.ba-table-container-open) + .ba-table-toggle .ba-more {
    display: block;
}

div#ba-step-two .ba-appointment-details h3 {
    font-weight: normal;
    margin-bottom: 0;
    text-align: left;
}

div#ba-step-two .ba-row-right .form-group:first-child > * {
    display: inline-block;
    font-size: 14px;
}

.online-booking-form .form-group input[type="radio"] {
    margin-bottom: 0 !important;
}

.online-booking-form .help-block {
    margin-top: -5px;
    font-size: 14px;
}

.online-booking-form.step-3 #ba-message-placeholder .alert{
    border: 1px solid #f00 !important;
    border-radius: 15px !important;
    padding: 6px 15px;
    margin-bottom: 10px !important;
    display: block !important;
}

.online-booking-form #ba-message-placeholder .alert {
    display: none;
}

label.ba-radio * {
    vertical-align: top;
}

div#ba-step-two .ba-row-right .form-group:first-child label {
    margin-right: 10px;
}

div#ba-step-two .ba-row-right {
    padding: 0 0px 0 16px;
    font-size: 14px;
}

form#ba-form div#ba-step-two input, form#ba-form div#ba-step-two select {
    border-radius: 15px;
    max-height: 31px;
    border: 0;
    margin-bottom: 11px;
}

form#ba-form .ba-step-thanks input, form#ba-form .ba-step-thanks select {
    border-radius: 15px;
    max-height: 31px;
    border: 0;
    margin-bottom: 11px;
}

span.date-text {
    display: block;
    padding-top: 5px;
}

div#ba-step-three .ba-note-field textarea {
    min-height: 160px;
    resize: none;
}

div#ba-step-two .ba-row-right .form-group:first-child h4 {
    margin: 0 10px 0 0 !important;
}

button.btn.btn-blue.btn-big.ba-btn-ajax {
    position: relative;
    margin-right: 0;
    margin-left: auto;
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    border-radius: 15px;
    padding: 4px 17px;
    outline: none;
    background: #005C9F;
}

button.btn.btn-blue.btn-big.ba-btn-ajax:hover {
    background: #f7941d;
}

div#ba-step-two ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #5f5f5f;
    opacity: 1;
}
div#ba-step-two ::-moz-placeholder { /* Firefox 19+ */
    color: #5f5f5f;
    opacity: 1;
}
div#ba-step-two :-ms-input-placeholder { /* IE 10+ */
    color: #5f5f5f;
    opacity: 1;
}
div#ba-step-two :-moz-placeholder { /* Firefox 18- */
    color: #5f5f5f;
    opacity: 1;
}

select.form-control.form-control-line.ba-dob.ba-dob-month {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url(../../img/arrow-down-grey.png) no-repeat #fff 92% center;
    cursor: pointer;
}

div#ba-step-two span#ba-dob-result {
    margin-top: -107px;
    display: block;
    text-align: right;
}

.online-booking-form .form-group.row-custom-inside > * {
    display: inline-block;
}

.online-booking-form .form-group input, .online-booking-form .form-group select, .online-booking-form .form-group textarea {
    border-radius: 15px !important;
    margin-bottom: 10px !important;
    border: none !important;
}
.date {
    border-radius: 15px !important;
    height: 30px;
    background-color: #fff;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
}
.date input, .date select {
    padding: 0 3px;
    height: auto;
}
.date div:not(:first-child):before {
    content: '/';
    position: absolute;
    width: 5px;
    height: 10px;
    margin-left: -5px;
    margin-top: 5px;
    left: 0;
}

.date select {
    background: transparent !important;
}
.date div {
    display: inline-block;
    width: 23%;
    position: relative;
}
.date div:nth-child(2) {
    width: 46%;
}

.online-booking-form .form-group h4 {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.online-booking-form .form-group {
    margin: 0;
}

.ba-date-box {
    border: 1px solid #eaeaea;
    background: white;
    overflow: hidden;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 10px;
}

.ba-appointment-details-inner h3 {
    font-weight: normal;
}

.ba-appointment-details-inner h3 + p {
    font-size: 13px;
    margin-bottom: 16px;
}

.ba-date-box p {
    margin-bottom: 10px;
    text-align: center;
    line-height: initial;
}

.ba-date-box p:first-child {
    background: #f7941d;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    padding: 10px 10px 7px;
    margin-bottom: 7px;
}

.ba-date-box p:nth-child(2), .ba-date-box p:nth-child(3) {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: #f7941d;
    margin-bottom: 0;
}

.ba-date-box p:nth-child(4) {
    font-size: 14px;
    display: block;
}

.ba-datepicker-container {
    position: relative;
}

.ba-datepicker-container .picker {
    width: 100%;
}

.ba-table thead th:last-child {
    position: relative;
}

.ba-days-nav {
    display: block;
    width: 20px;
    height: 20px;
    color: #004890;
    border: 1px solid #004890;
    background: transparent;
    padding: 0;
    outline: none;
    box-shadow: none;
    border-radius: 20px;
    position: absolute;
    top: 1px;
    margin-top: 1px;
    cursor: pointer;
    text-align: center;
    font-size: 15px;
    z-index: 999;
}

.ba-days-nav i:last-child, .ba-days-nav:disabled i:first-child {
    display: none;
}

.ba-days-nav:disabled i:last-child {
    display: inline-block;
}

.ba-days-nav:hover {
    background: #004890;
    color: #fff;
}

#ba-next-days {
    right: 0;
    margin-right: -28px;
}

#ba-prev-days {
    left: -25px;
    margin-right: -10px;
}

.ba-days-nav i {
    margin-top: -2px;
    display: block;
}

.picker select {
    color: initial !important;
    font-size: 12px !important;
    padding: 0 !important;
}

.picker__day {
    font-size: 13px;
}

.ba-step-thanks span.checked-icon {
    width: 28px;
    height: 28px;
    display: block;
    margin: 33px auto 11px auto;
    border-radius: 50%;
    background: url(../../img/checked.png) no-repeat #f7941d center;
}

.ba-step-thanks p {
    text-align: center;
    max-width: 604px;
    margin: 0 auto 21px auto;
}

.ba-step-thanks p a {
    color: #004890;
}

.status {
    width: 198px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.status span:first-child {
    font-size: 13px;
    font-weight: bold;
    display: block;
    background: #fff;
    padding: 10px;
}

.status span:last-child {
    color: #fff;
    background: #f7941d;
    display: block;
    padding: 4px 7px 9px 7px;
}

.ba-step-thanks h3 {
    font-size: 25px;
    margin-bottom: 14px;
}

.ba-step-thanks {
    margin-top: -10px;
}



.alert {
    padding: 10px 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1
}

.ba-note-add, .ba-note-field {
    overflow: hidden;
    transition: 0.5s;
}

.ba-note-add button, .ba-note-field button {
    margin: 10px 0 5px;
}

.ba-note-field textarea {
    min-height: 115px;
    resize: none;
}

.ba-note-add {
    display: none;
}

.ba-note-hidden .ba-note-field {
    display: none;
}

.ba-note-hidden .ba-note-add {
    display: block;
}

.ba-radio {
    cursor: pointer;
}

.ba-radio + .ba-radio {
    margin-left: 10px;
}

@media (max-width: 767px) {
    .ba-row-left, .ba-row-right {
        display: block;
        width: 100%;
        margin: 15px 0;
        padding: 0;
    }
    .page-template-template-booking div#ba-message-placeholder {
        margin-top: 50px;
        margin-bottom: -35px;
    }
    .page-template-template-booking .date div {
        display: inline-block;
        width: 25.5%;
        position: relative;
    }
    .page-template-template-booking .date div:nth-child(2) {
        width: 38%;
    }
    div#ba-step-three .ba-row-right > .row-custom > div:first-child > div:not(:last-child) {
        width: 50%;
    }
}