/* root color variables */
:root {
	--colorLight: #ffffff;
    --colorFont: #808080;
    --colorFontDark: #b2b2b2;
    --colorBackground: #f7f7f7;
    --colorBorder: #dfdfdf;
    --colorDark: #141414;
    --colorDarkGrey: #323232;
    --colorGrey: #f7f7f7;
    --colorMain: #9cc026;
    --colorMain2: #54be73;
    --colorMain3: #78bf4d;
    --fontBody: "Poppins" !important;
    --fontSecondary: "Abril Fatface" !important;
}

html body, 
html body.md-theme-default, 
html .book-day button.md-whiteframe.selectable, 
html .book-day button.md-whiteframe.disabled, 
html .book-day button.md-whiteframe.selectable, 
html .book-day button.md-whiteframe.disabled {
    font-family: var(--fontBody);
}

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

html p strong {
    color: var(--colorDarkGrey);
}

html p {
    margin-top: 0;
}

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

.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: var(--colorBackground);
    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: 400;
    line-height: 30px;
}

/* Background color */
html body,
html body.md-theme-default {
  background: var(--colorLight);
  padding: 0;
}

.date-select-headline, 
.time-select-headline,
.md-card .md-title,
.md-headline, 
.mdc-typography--headline5 {
    font-family: var(--fontBody);
    font-size: 30px;
    font-style: normal;
    font-weight: 900;
    line-height: 30px;
    letter-spacing: 0;
    text-transform: none;
    word-break: break-word;
    margin-bottom: 20px;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
    color: var(--colorDarkGrey);
}

.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-family: var(--fontBody);
    font-size: 16px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--colorFont);
    opacity: 1;
}

.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 var(--colorLight);
  border-top-color:  var(--colorMain);
}
/* End booking app initial loading spinner */

html body.md-theme-default {
    padding: 0;
    color: var(--colorDark);
    -webkit-font-smoothing: auto;
    -webkit-text-size-adjust: 100%;
}

html .md-theme-default.md-card {
    color: var(--colorDark);
}

.booking-header .md-subheading {
    color: var(--colorFont);
}

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

.md-input-container label {
    color: var(--colorFont);
}

html body.md-theme-default .select2-dropdown {
    box-shadow: none;
    border: 1px solid var(--colorBorder);
    color: var(--colorDark);
    max-height: 148px;
    overflow: hidden;
}

html body.md-theme-default .select2-results__options .select2-results__option.select2-results__option--highlighted[aria-selected] {
    background: var(--colorBackground);
}

.md-backdrop {
    background-color: rgba(var(--colorDarkGreyRGB), 0.81);
}

/* title monthly */
.title.monthly {
    justify-content: space-between;
    background: var(--colorLight);
}

.title.monthly .monthly-title {
    margin: 10px 0;
    font-size: 16px;
    color: var(--colorDarkGrey);
    font-weight: 900;
    line-height: 1em;
    letter-spacing: 0;
    text-transform: none;
}

@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: var(--colorDarkGrey);
}

.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: var(--colorMain2);
    color: var(--colorLight);
}

ul.week li {
    font-size: 12px;
    letter-spacing: .2em;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
    padding: 18px 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 var(--colorBorder);
    border-bottom: 1px solid var(--colorBorder);
}

.calendar.monthly div.calendar-days {
    border-left: 1px solid var(--colorBorder);
    padding: 0;
}

.book-day button.md-whiteframe {
    padding: 10px;
    min-height: 40px;
    max-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: 79px;
        max-height: 79px;
    }

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

.book-day button.md-whiteframe.disabled,
.book-day button.md-whiteframe.passive {
    color: var(--colorFont);
}

.book-day button.md-whiteframe.selectable .md-body-1 {
    color: var(--colorFont);
}

.book-day button.md-whiteframe.selectable .md-title {
    color: var(--colorDarkGrey);
    font-family: var(--fontSecondary);
}

.book-day button.md-whiteframe.selectable.selected .md-body-1, 
.book-day button.md-whiteframe.selectable.selected .md-title {
    color: var(--colorLight);
}

.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: var(--colorLight);
}

/* 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 var(--colorBorder);
}

.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: var(--colorBackground);
    padding: 40px;
    border: none;
    border-radius: 5px;
    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: var(--colorDarkGrey);
}

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

.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: var(--colorLight);
	box-shadow: none;
	color: var(--colorFont);
	padding: 14px 30px;
    font-family: var(--fontBody);
	font-size: 14px;
	font-weight: 300;
	line-height: 30px;
	letter-spacing: 0;
    text-decoration: none;
	text-transform: uppercase;
    border: 1px solid var(--colorBorder);
	border-radius: 5px;
	width: 100%;
	max-width: 100%;
    min-width: 0;
	height: auto;
	transition: all .15s ease-in-out;
    caret-color: var(--colorFont);
    margin: 0 !important;
}

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

html .mdc-text-field .mdc-text-field__input {
    color: var(--colorFont);
}

html .mdc-text-field.mdc-text-field--filled .mdc-floating-label {
    max-width: calc(100% - 30px);
    left: 30px !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: var(--colorFont);
}

.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: 30px !important;
    opacity: 0;
    color: var(--colorFont);
}

/* label */
html .mdc-text-field .mdc-floating-label {
    color: var(--colorFont);
}

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

.mdc-floating-label {
    font-family: var(--fontBody);
	font-size: 14px;
	font-weight: 300;
	line-height: 30px;
	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 .vti__input {
    padding-left: 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: var(--colorLight);
    border-radius: 5px 0 0 5px;
    border: 1px solid var(--colorBorder);
    border-right-width: 0;
}

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

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

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

html button.mdc-button:not(:disabled) {
    box-shadow: none;
    position: relative;
    min-height: 58px;
    cursor: pointer;
    white-space: normal;
    -webkit-font-smoothing: auto;
    font-family: var(--fontBody);
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
    letter-spacing: 0;
    padding: 21px 34px;
	margin-bottom: 4px;
	line-height: 1;
    text-align: center;
	color: var(--colorLight);
    border: 2px solid var(--colorMain);
    background-color: var(--colorMain);
    border-radius: 5px;
    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: 0;
}

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(--colorLight);
	background: var(--colorMain2);
    border: 2px solid var(--colorMain2);
}

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

html .mdc-card {
    font-family: var(--fontBody);
    color: var(--colorDarkGrey);
}

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

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: var(--colorDark);
}

.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(var(--colorDarkGreyRGB), 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 4px;
}

.md-dialog-actions {
    padding: 8px 24px 24px;
}

@media screen and (max-width: 600px) {
    .md-dialog .md-dialog-actions {
        display: block;
        padding: 8px 8px 24px;
    }
}

.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: var(--colorDarkGrey) !important;
}

.mdc-dialog .mdc-dialog__container .mdc-dialog__content p,
.mdc-dialog .mdc-dialog__container .mdc-dialog__content .md-subhead {
    color: var(--colorFont) !important;
}

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

.mdc-dialog .mdc-dialog__scrim, 
.mdc-dialog .mdc-dialog__surface-scrim {
    background-color: rgba(var(--colorDarkGreyRGB), 0.7);
}

/* inverse */
html body.i, 
html body.i.md-theme-default {
    background-color: var(--colorDarkGrey);
}

html body.i .title.monthly {
    background: var(--colorDarkGrey);
}

html body.i .title.monthly .monthly-title {
    color: var(--colorLight);
}

html body.i .calendar.weekly .md-button, 
html body.i .calendar.weekly .md-button .md-icon,
html body.i .title.monthly .md-button, 
html body.i .title.monthly .md-button .md-icon {
    color: var(--colorLight);
}

html body.i .book-day button.md-whiteframe.disabled, 
html body.i .book-day button.md-whiteframe.passive {
    color: var(--colorFontDark);
}

html body.i .book-day button.md-whiteframe.selectable {
    background: var(--colorDark);
}

html body.i .book-day button.md-whiteframe.selectable .md-body-1, 
html body.i .book-day button.md-whiteframe.selectable .md-title,
html body.i .date-select-headline, .time-select-headline, 
html body.i .md-card .md-title, 
html body.i .md-headline, .mdc-typography--headline5 {
    color: var(--colorLight);
}

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

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

html body.i .mdc-card, 
html body.i .time-select:not(.mdc-touch-target-wrapper) {
    background-color: var(--colorDark);
}

html body.i.md-theme-default {
    color: var(--colorLight);
}

html body.i .mdc-card .md-subhead, 
html body.i .md-subheading,
html body.i .md-body-1, 
html body.i .mdc-typography--body1, 
html body.i p {
    color: var(--colorFontDark);
}

html body.i .time-listing-icon {
    fill: var(--colorLight);
}

html body.i p strong {
    color: var(--colorLight);
}