/* root color variables */
:root {
    --colorMain: #baa3cd;
    --fontBody: "Open Sans" !important;
    --fontSecondary: "Raleway" !important;
}

html .md-body-1, 
html .mdc-typography--body1, 
html p {
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    color: #787878;
    font-family: var(--fontBody);
}

.md-body-1, 
.mdc-typography--body1, 
p {
    letter-spacing: 0;
}

html p strong {
    color: #323232;
}

html p {
    margin-top: 0;
}

.md-card-content, 
.md-card-header {
    padding: 0;
}

.last-word {
    font-weight: 600;
}

.monthly .book-day button.md-whiteframe.md-whiteframe {
    border-radius: 0;
    width: 100%;
}

.book-day button.md-whiteframe.disabled {
    background-color: transparent;
}

.book-day button.md-whiteframe.selectable {
    background-color: #f1f1f1;
    transition: all 0.2s ease-in-out 0s;
}

.book-day button.md-whiteframe.selectable>div {
    transition: all 0.2s ease-in-out 0s;
}

html .book-day button.md-whiteframe.selectable:focus,
html .book-day button.md-whiteframe.selectable:hover,
html .book-day button.md-whiteframe.selectable:focus {
    background-color: var(--colorMain);
    transition: all 0.15s linear 0s;
}

.md-card .md-card-content {
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
}

/* Background color */
html body,
html body.md-theme-default {
  background: #fff;
  padding: 0;
  font-family: var(--fontBody);
}

.date-select-headline, 
.time-select-headline,
.md-card .md-title,
.md-headline, 
.mdc-typography--headline5 {
    font-size: 30px;
    font-style: normal;
    font-weight: 300;
    line-height: 1;
    font-family: var(--fontSecondary);
    letter-spacing: 0;
    text-transform: none;
    word-break: break-word;
    margin-bottom: 0.8em;
    color: #323232;
}

@media(max-width: 1024px) {
    .date-select-headline, 
    .time-select-headline,
    .md-card .md-title,
    .md-headline, 
    .mdc-typography--headline5 {
        font-size: 28px;
    }
}

.date-select-headline:first-child, 
.time-select-headline:first-child,
.md-card .md-title:first-child,
.md-headline:first-child, 
.mdc-typography--headline5:first-child {
    margin-top: 0;
}

.mdc-card .md-subhead,
.md-subheading {
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    letter-spacing: 0;
    text-transform: none;
    color: #787878;
    opacity: 1;
    font-family: var(--fontBody);
}

.mdc-card .md-subhead {
    margin-bottom: 20px;
}


/* Accent color and accent contrast */
html .md-theme-default.md-button:not([disabled]).md-primary.md-icon-button:not(.md-raised),
html .select2-results__options .select2-results__option[aria-selected=true],
html .md-theme-default.md-button:not([disabled]).md-primary:not(.md-icon-button):not(.md-mini),
html .md-theme-default.md-input-container.md-input-focused label,
html .md-theme-default.md-input-container.md-input-focused .md-icon:not(.md-icon-delete),
html .md-theme-default.time-select.md-button:not([disabled]).md-raised:not(.md-icon-button),
html .appointment-actions .md-button,
html .md-theme-default.md-checkbox.md-primary .md-ink-ripple,
html .md-theme-default.md-radio.md-primary .md-ink-ripple,
html .md-theme-default.md-radio.md-primary.md-checked .md-ink-ripple {
  color: var(--colorMain);
}
 
html .md-card.selectable.light-green:hover,
html .md-card.selectable.light-green:focus,
html .md-theme-default.md-button:not([disabled]).md-primary.md-raised,
html .md-theme-default.md-button:not([disabled]).md-primary.md-fab,
html .md-theme-default.md-button:not([disabled]).md-primary.md-raised:hover,
html .md-theme-default.md-button:not([disabled]).md-primary.md-raised:focus,
html .md-theme-default.md-button:not([disabled]).md-primary.md-fab:hover,
html .md-theme-default.md-button:not([disabled]).md-primary.md-fab:focus,
html .md-theme-default.md-input-container.md-input-focused:after,
html .md-theme-default.time-select.md-button:not([disabled]).md-raised:not(.md-icon-button):hover,
html .md-theme-default.time-select.md-button:not([disabled]).md-raised:not(.md-icon-button):focus {
  background-color: var(--colorMain);
}

html .md-card.selectable.light-green {
  border-left-color: var(--colorMain);
}

html .select2-search--dropdown .select2-search__field:focus {
  border-bottom-color: var(--colorMain);
}

html .md-theme-default.md-spinner .md-spinner-path {
  stroke: var(--colorMain);
}

 /* Checkboxes and Radios */
html .md-theme-default.md-checkbox.md-primary.md-checked .md-checkbox-container {
  background-color: var(--colorMain);
  border-color: var(--colorMain);
}

html .md-theme-default.md-radio.md-primary .md-radio-container:after {
  background-color: var(--colorMain);
}

html .md-theme-default.md-radio.md-primary.md-checked .md-radio-container {
  border-color: var(--colorMain);
}

html .ssa_booking_initial_spinner-container .ssa_booking_initial_spinner {
  border: 4px solid #fff;
  border-top-color:  var(--colorMain);
}
/* End booking app initial loading spinner */

html body.md-theme-default {
    padding: 0;
    color: #323232;
    -webkit-font-smoothing: auto;
    -webkit-text-size-adjust: 100%;
}

html .md-theme-default.md-card {
    color: #323232;
}

.booking-header .md-subheading {
    color: #787878;
}

.date-select-headline {
    display: none;
}

.md-input-container label {
    color: #787878;
}

html body.md-theme-default .select2-dropdown {
    box-shadow: none;
    border: 1px solid #e5e5e5;
    color: #323232;
    max-height: 148px;
    overflow: hidden;
}

html body.md-theme-default .select2-results__options .select2-results__option.select2-results__option--highlighted[aria-selected] {
    background: #f1f1f1;
}

.md-backdrop {
    background-color: #323232;
}

/* title monthly */
.title.monthly {
    justify-content: space-between;
    background: #fff;
}

.title.monthly .monthly-title {
    margin: 10px 0;
    font-size: 16px;
    color: #323232;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    font-family: var(--fontSecondary);
}

@media (min-width:768px) {
    .title.monthly .monthly-title {
        margin: 25px 0;
        font-size: 30px;
    }
}

.mdc-icon-button {
    font-size: 24px;
    width: 24px;
    height: 24px;
    padding: 0;
}

.mdc-theme-name--default.mdc-icon-button:not(:disabled) .mdc-icon-button__ripple:after, 
.mdc-theme-name--default.mdc-icon-button:not(:disabled) .mdc-icon-button__ripple:before {
    background-color: var(--colorMain);
}
.calendar.weekly .md-button,
.calendar.weekly .md-button .md-icon,
.title.monthly .md-button,
.title.monthly .md-button .md-icon {
    color: #323232;
}

.calendar.weekly .md-button[disabled] .md-icon
.title.monthly .md-button[disabled] .md-icon {
    opacity: .5;
}

html .md-button:focus {
    outline: none;
}

/* calendar monthly */

.calendar.monthly {
    max-width: 100%;
}

ul.week {
    margin: 0;
    background: #c5c5d9;
    color: #fff;
}

ul.week li {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.1em;
    padding: 19px 0;
    font-family: var(--fontSecondary);
}

@media (max-width:767px) {
    ul.week li {
        padding: 9px 0;
    }  
}

.calendar div.calendar-days {
    margin: 0;
    padding-bottom: 0;
}

.calendar.monthly .book-day {
    margin-bottom: 0;
    box-sizing: border-box;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.calendar.monthly div.calendar-days {
    border-left: 1px solid #e5e5e5;
    padding: 0;
}

.book-day button.md-whiteframe {
    padding: 10px;
    min-height: 40px;
}

.monthly .book-day button.md-whiteframe.md-whiteframe {
    height: 40px;
}

@media (max-width:767px) {
    .book-day button.md-whiteframe {
        padding: 0;
        border-width: 4px;
    }  
}

.calendar.monthly .md-body-1 {
    font-size: 16px;
    letter-spacing: 0;
}

@media (min-width:768px) {
    .book-day button.md-whiteframe {
        padding: 20px 10px 19px;
        min-height: 80px;
    }

    .calendar.monthly .md-body-1 {
        font-size: 16px;
    }
}

.book-day button.md-whiteframe.disabled,
.book-day button.md-whiteframe.passive {
    color: #787878;
}

.book-day button.md-whiteframe.selectable .md-body-1 {
    color: #787878;
}

.book-day button.md-whiteframe.selectable .md-title {
    color: #323232;
}

.book-day button.md-whiteframe.selectable.selected .md-body-1, 
.book-day button.md-whiteframe.selectable.selected .md-title {
    color: #fff;
}

.book-day button.md-whiteframe.selectable.selected {
    background-color: var(--colorMain) !important;
}

.book-day button.md-whiteframe.selectable:hover .md-body-1, 
.book-day button.md-whiteframe.selectable:hover .md-title {
    color: #fff;
}

/* calendar weekly/shortly */

@media (min-width:960px) {
    .calendar.shortly .book-day:first-child,
    .calendar.weekly .book-day:first-child {
        margin-left: 0;
    }
}

@media (max-width:959px) {
    .calendar.shortly .book-day,
    .calendar.weekly .book-day {
        margin-left: 0;
    }
}

.calendar.shortly .book-day,
.calendar.weekly .book-day {
    border: 1px solid #e5e5e5;
}

.calendar.shortly .book-day button,
.calendar.weekly .book-day button {
    box-shadow: none;
}

html .calendar.shortly .book-day button.md-whiteframe.selectable:hover,
html .calendar.weekly .book-day button.md-whiteframe.selectable:hover {
    border-color: var(--colorMain);
}

/* time select */
html .mdc-card,
html .time-select:not(.mdc-touch-target-wrapper) {
    background: #f1f1f1;
    padding: 40px;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.back-button-wrapper {
    margin-bottom: 20px;
}

@media (max-width: 400px) {
    html .mdc-card,
    html .time-select:not(.mdc-touch-target-wrapper) {
        padding: 15px;
    }
}

.time-listing-icon {
    fill: #323232;
}

ul.time-listing li {
    padding: 4px 2px;
}

ul.time-listing li:last-child {
    padding-bottom: 0;
}

.md-input-container:after {
    display: none;
}

/* form */
.customer-information-container {
    gap: 20px;
}

.mdc-text-field__icon--leading {
    display: none !important;
}

html .mdc-text-field {
    padding: 0;
}

html .mdc-text-field:before {
    display: none;
}

html .mdc-text-field {
    height: auto;
    min-height: 50px;
    background-color: transparent !important;
    border: none;
    border-radius: 0;
}

html .mdc-text-field .mdc-text-field__input,
html .foxy-phone-container .vti__input {
	background: #fff;
	box-shadow: none;
    -webkit-font-smoothing: auto;
	color: #787878;
	padding: 12px 30px 12px 28px;
    font-family: var(--fontSecondary);
	font-size: 13px;
	font-weight: 400;
	line-height: 24px;
    text-decoration: none;
	text-transform: none;
    border: 1px solid rgba(120, 120, 120, 0.5);
	border-radius: 5px;
	width: 100%;
	max-width: 100%;
    min-width: 0;
	height: auto;
	transition: all .15s ease-in-out;
    caret-color: #787878;
    margin: 0 !important;
}

html .mdc-text-field .mdc-text-field__input:focus {
	box-shadow: none;
	border-color: rgba(125, 126, 128, 0.5);
}

.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input {
    color: #787878;
}

html .mdc-text-field .mdc-text-field__input {
    color: #787878;
}

html .mdc-text-field.mdc-text-field--filled .mdc-floating-label {
    max-width: calc(100% - 28px);
    left: 28px !important;
}

.mdc-textfield.mdc-text-field--focused:not(.mdc-text-field--textarea) .mdc-floating-label,
.mdc-text-field--filled:not(.mdc-text-field--textarea) .mdc-floating-label--float-above {
    transform: translateY(-50%) scale(1);
    opacity: 0;
    color: #787878;
}

.mdc-textfield.mdc-text-field--focused.mdc-text-field--textarea .mdc-floating-label,
.mdc-text-field--filled.mdc-text-field--textarea .mdc-floating-label--float-above {
    transform: none;
    top: 10px;
    left: 28px !important;
    opacity: 0;
    color: #787878;
}

/* label */
html .mdc-text-field .mdc-floating-label,
html .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: #787878;
}

.mdc-text-field--textarea .mdc-floating-label {
    top: 10px;
}

.mdc-floating-label {
	font-size: 13px;
	font-weight: 400;
	line-height: 24px;
    font-style: italic;
	letter-spacing: 0;
    text-decoration: none;
	text-transform: uppercase;
}

.mdc-text-field .mdc-floating-label {
    z-index: 1;
}

html .mdc-text-field .mdc-line-ripple:after, 
html .mdc-text-field .mdc-line-ripple:before {
    display: none;
}

html .mdc-text-field .mdc-text-field__ripple:after, 
html .mdc-text-field .mdc-text-field__ripple:before {
    display: none;
}

/* tel */
html .foxy-phone-container.textfield-container .vue-tel-input {
    margin: 0;
    top: 0;
}

html .foxy-phone-container.textfield-container .vue-tel-input .vti__input::placeholder {
    font-size: 13px;
	font-weight: 400;
	line-height: 24px;
    font-style: italic;
	letter-spacing: 0;
    text-decoration: none;
	text-transform: uppercase; 
    color: #787878;
}

html .foxy-phone-container .vti__input {
    padding-left: 0;
    border-left: none;
    border-radius: 0 5px 5px 0;
}

html .foxy-phone-container.textfield-container {
    border: none !important;
}

html .vti__dropdown,
html .vti__dropdown:hover,
.vti__dropdown.disabled, 
.vti__dropdown.open {
    background-color: #fff;
    border: 1px solid rgba(120, 120, 120, 0.5);
    border-right: none;
    border-radius: 5px 0 0 5px;
}

html .foxy-phone-container.textfield-container .mdc-floating-label {
    display: none;
}

.mdc-card__actions {
    margin-top: 30px;
}

/* buttons */
html .mdc-button {
    height: 46px;
}

html button.mdc-button:not(:disabled) {
    box-shadow: none;
    position: relative;
    min-height: 46px;
    cursor: pointer;
    white-space: normal;
    -webkit-font-smoothing: auto;
    margin-bottom: 0;
    font-family: var(--fontSecondary);
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
    padding: 16px 30px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    border: 1px solid var(--colorMain);
    background-color: var(--colorMain);
    border-radius: 40px;
    position: relative;
    transition: all .4s linear 0s;
}

html button.mdc-button:not(:disabled) .mdc-button__label {
    white-space: normal;
    -webkit-font-smoothing: auto;
}

html button.mdc-button:not(:disabled) .mdc-button__ripple,
html button.mdc-button:not(:disabled):hover .mdc-button__ripple {
    border: none;
    border-radius: 40px;
}

html button.mdc-button:not(:disabled) .mdc-button__ripple::after,
html button.mdc-button:not(:disabled) .mdc-button__ripple::before {
    background: transparent;
}

html button.mdc-button:not(:disabled):hover {
    color: var(--colorMain);
	background: transparent;
    border: 1px solid var(--colorMain);
}

.appt-actions-btns-wrapper {
    gap: 4px;
}

html .mdc-card {
    color: #323232;
}

.mdc-card__actions {
    padding: 0;
    border: none;
}

.confirm.cust-info .mdc-card__actions {
    border-top: 1px solid rgba(120, 120, 120, 0.5);;
}

html .md-card .md-card-actions {
    padding-top: 34px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    justify-content: center;
}

html .md-theme-default.md-dialog-container .md-dialog {
    color: #323232;
}

.md-input-container .md-count, 
.md-input-container .md-error {
    left: auto;
    right: 4px;
    bottom: 0;
}

html .md-theme-default.md-input-container.md-input-focused input, 
html .md-theme-default.md-input-container.md-input-focused textarea {
    text-shadow: 0 0 0 rgba(28, 28, 28, 1);
}

.md-card .md-card-actions .md-button {
    margin-right: 4px;
}

.md-card .md-card-actions .md-button+.md-button {
    margin-left: 0;
}

html .appointment-actions {
    padding-left: 0;
    padding-right: 0;
}

.appointment-actions .md-subheading {
    padding-left: 0;
    padding-right: 0;
}

.md-dialog-actions .md-button {
    padding: 0;
}

.md-dialog-actions {
    padding: 8px 24px 24px;
    justify-content: flex-start;
    gap: 10px;
}

.confirm .md-card .md-card-actions .md-button {
    margin-bottom: 4px;
}

.mdc-dialog .mdc-dialog__surface {
    border-radius: 0;
}

.mdc-dialog .mdc-dialog__surface .md-title {
    color: #323232 !important;
    padding-top: 8px;
}

.mdc-dialog .mdc-dialog__container .mdc-dialog__content p,
.mdc-dialog .mdc-dialog__container .mdc-dialog__content .md-subhead {
    color: #787878 !important;
}

.mdc-dialog__button {
    text-align: center;
    margin: 0;
}

.mdc-dialog .mdc-dialog__scrim, 
.mdc-dialog .mdc-dialog__surface-scrim {
    background-color: rgba(50, 50, 50, 0.72);
}

.mdc-text-field--filled .mdc-text-field__resizer {
    padding-bottom: 1px;
}

.mdc-dialog .mdc-dialog__content {
    padding-bottom: 0;
}

.mdc-menu-surface--anchor {
    margin-top: 30px;
}

/* light grey */
html body.ls.ms {
    background-color: #ececeb;
}

html body.ls.ms .book-day {
    background: #fff;
}

html body.ls.ms .mdc-card, 
html body.ls.ms .time-select:not(.mdc-touch-target-wrapper) {
    background-color: #fff;
}

html body.ls.ms .title.monthly {
    background: #ececeb;
}

/* main color */
html body.cs {
    background-color: transparent;
}

html body.cs .book-day {
    background: #fff;
}

html body.cs .mdc-card, 
html body.cs .time-select:not(.mdc-touch-target-wrapper) {
    background-color: #fff;
}

html body.cs .back-button-wrapper .mdc-ripple-upgraded {
    background-color: #323232;
    border-color: #323232;
}

html body.cs .back-button-wrapper .mdc-ripple-upgraded:hover {
    color: #323232;
    background-color: transparent;
    border-color: #323232;
}

html body.cs .title.monthly {
    background: transparent;
}

/* inverse */
html body.ds, 
html body.ds.md-theme-default {
    background-color: #323232;
}

html body.ds .title.monthly {
    background: #323232;
}

html body.ds .title.monthly .monthly-title {
    color: #fff;
}

html body.ds ul.week {
    background: var(--colorMain);
}

html body.ds .calendar.weekly .md-button, 
html body.ds .calendar.weekly .md-button .md-icon,
html body.ds .title.monthly .md-button, 
html body.ds .title.monthly .md-button .md-icon {
    color: #fff;
}

html body.ds .book-day button.md-whiteframe.disabled, 
html body.ds .book-day button.md-whiteframe.passive {
    color: #fff;
}

html body.ds .book-day button.md-whiteframe.selectable {
    background: #3a3630;
}

html body.ds .book-day button.md-whiteframe.selectable .md-body-1, 
html body.ds .book-day button.md-whiteframe.selectable .md-title,
html body.ds .date-select-headline, .time-select-headline, 
html body.ds .md-card .md-title, 
html body.ds .md-headline, .mdc-typography--headline5 {
    color: #fff;
}

html body.ds .book-day button.md-whiteframe.selectable:focus,
html body.ds .book-day button.md-whiteframe.selectable:hover,
html body.ds .book-day button.md-whiteframe.selectable:focus {
    background-color: var(--colorMain);
}

html body.ds .calendar.weekly .book-day,
html body.ds .calendar.weekly div.calendar-days,
html body.ds .calendar.monthly .book-day,
html body.ds .calendar.monthly div.calendar-days {
    border-color: rgba(255, 255, 255, .1);
}

html body.ds .mdc-card, 
html body.ds .time-select:not(.mdc-touch-target-wrapper) {
    background-color: #3a3630;
}

html body.ds.md-theme-default {
    color: #fff;
}

html body.ds .mdc-card .md-subhead, 
html body.ds .md-subheading,
html body.ds .md-body-1, 
html body.ds .mdc-typography--body1, 
html body.ds p {
    color: #fff;
}

html body.ds .time-listing-icon {
    fill: #fff;
}

html body.ds p strong {
    color: #fff;
}