/* root color variables */
:root {
	--colorMain: #e7496e;
    --colorMain2: #27adc5;
    --colorFont: #696969;
    --colorLight: #ffffff;
    --colorDarkGrey: #484848;
    --colorGrey: #f1f1f1;
    --colorDark: #202020;
    --colorBorder: #e1e1e1;
    --colorBackground: #f5f5f5;
    --fontBody: "Open Sans";
    --fontSecondary: "Montserrat";
}

html body,
html body.md-theme-default {
  background: transparent;
  padding: 0;
}

.md-body-1, 
.mdc-typography--body1, 
p {
    font-family: var(--fontBody);
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0;
}

.mdc-typography--body1, 
p {
    color: var(--colorFont);
}

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

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);
}

/* monthly */
.booking-header,
.date-select-headline {
    display: none;
}

/* title monthly */
.title.monthly {
    justify-content: space-between;
    background: var(--colorMain);
    border-radius: 0;
}

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

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

/* monthly nav */
.title.monthly .md-button,
.title.monthly .md-button .md-icon {
    color: var(--colorLight);
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    font-size: 16px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    position: relative;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

@media (min-width:768px) {
    .title.monthly .md-button,
    .title.monthly .md-button .md-icon {
        width: 80px;
        height: 80px;
        min-height: 80px;
    }

    .title.monthly .prev .md-button {
        left: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .title.monthly .next .md-button {
        right: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.title.monthly .md-button .md-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mdc-icon-button .mdc-icon-button__ripple:after, 
.mdc-icon-button .mdc-icon-button__ripple:before {
    display: none;
}

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

ul.week li {
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    padding: 13px 0;
}

@media (min-width:768px) {
    ul.week li {
        padding: 24px 0;
    }
}

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

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

.calendar.monthly .book-day {
    box-sizing: border-box;
    border: solid var(--colorBorder);
    border-width: 0 1px 1px 0;
    margin-bottom: 0;
}

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

.book-day button.md-whiteframe {
    min-height: 40px;
    border: 1px solid transparent;
}

@media (min-width:768px) {
    .book-day button.md-whiteframe {
        min-height: 100px;
    }
}

.calendar.monthly .md-body-1 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}

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

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

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

.selected {
    background: var(--colorMain) !important;
    color: var(--colorLight) !important;
}

/* 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 button,
.calendar.weekly .book-day button {
    box-shadow: none;
    border: 1px solid var(--colorBorder);
}

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

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

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

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

.md-display-1,
.md-card .md-title,
.md-headline, 
.mdc-typography--headline5,
.md-empty-state-label  {
    font-family: var(--fontSecondary);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.3px;
    color: var(--colorDarkGrey);
    margin-top: 0;
    margin-bottom: .4em;
}

@media (min-width: 992px) {
    .md-display-1,
    .md-card .md-title,
    .md-headline, 
    .mdc-typography--headline5 {
        font-size: 24px;
    }
}

.time-listing-icon {
    fill: var(--colorDarkGrey);
}

.md-subheading, 
.mdc-typography--subtitle1,
.mdc-card .md-subhead {
    font-family: var(--fontBody);
    font-size: 16px;
    color: var(--colorDarkGrey);
    opacity: 1;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: .01em;
    text-transform: none;
    margin-bottom: 1.2em;
}

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

ul.time-listing li:first-child {
    padding-top: 0;
}

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

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

html button.mdc-button:not(:disabled) {
    box-shadow: 2px 0 20px rgba(0, 0, 0, .1);
    -webkit-font-smoothing: auto;
    min-height: 60px;
    min-width: 170px;
    font-family: var(--fontBody);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: capitalize;
    padding: 20px 15px;
    color: var(--colorLight);
    border: none;
    border-radius: 3px;
    background-color: var(--colorMain);
    transition: all .15s ease-in-out;
}

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: 30px;
}

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: rgba(var(--colorMainRGBDarker8), 1);
    border: none;
}

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

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

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

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

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

html .mdc-text-field .mdc-text-field__input,
html .foxy-phone-container .vti__input {
    box-shadow: none;
    width: 100%;
	max-width: 100%;
    min-width: 0;
    margin-top: 0 !important;

	padding: 10px 20px;
    font-family: var(--fontBody);
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
    letter-spacing: 0;
    text-decoration: none;
	text-transform: none;
    color: var(--colorDarkGrey);
    caret-color: var(--colorDarkGrey);
    border: 1px solid var(--colorBorder);
	border-radius: 3px;
    background: var(--colorLight);
	height: auto;
}

html .mdc-text-field .mdc-text-field__input:focus {
    border-color: #bbb;
}

.mdc-text-field {
    overflow: visible;
}

.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input {
    color: var(--colorDarkGrey);
}

/* label */
.mdc-floating-label {
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
    letter-spacing: 0;
    text-decoration: none;
	text-transform: none;
}

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

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

html .mdc-text-field .mdc-floating-label,
html .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: var(--colorFont);
}

/* textarea */
.mdc-text-field--textarea .mdc-floating-label {
    top: 19px;
}

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

.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input {
    margin-bottom: 20px;
}

.mdc-text-field--textarea .mdc-text-field__input {
    min-height: 177px;
}

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: 16px;
	font-weight: 400;
	line-height: 30px;
    letter-spacing: 0; 
    color: var(--colorFont);
}

html .foxy-phone-container .vti__input {
    padding-left: 0;
    border: 1px solid var(--colorBorder);
    border-left: none;
    border-radius: 0 3px 3px 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: 1px solid var(--colorBorder);
    border-right: none;
    border-radius: 3px 0 0 3px;
}

html .foxy-phone-container.mdc-text-field--focused .vue-tel-input .vti__input,
html .foxy-phone-container.mdc-text-field--focused .vue-tel-input .vti__dropdown {
    border-color: #bbb;
}

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

.mdc-card__actions {
    margin-top: 20px;
    padding: 0;
    border: none;
}

/* cust-info */
.confirm.cust-info .mdc-card__actions {
    border-top: 1px solid var(--colorBorder);
}

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

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

.mdc-dialog__container .mdc-dialog__actions {
    justify-content: flex-start;
    padding-top: 0;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 24px;
    gap: 5px 10px;
}

.mdc-dialog__container .md-dialog-title {
    padding-top: 6px;
}

.mdc-dialog__container .mdc-dialog__actions>.mdc-button {
    padding: 0;
    margin: 0;
}
