/* root color variables */
:root {
    --colorMain: #3d6889;
    --colorMainRGB: 61, 104, 137;
    --colorMain2: #4e8dbd;
    --colorMain2RGB: 78, 141, 189;
    --colorMain3: #73d0f4;
    --colorMain3RGB: 115, 208, 244;
    --colorMain4: #d3e4e8;
    --colorMain4RGB: 211, 228, 232;
    --colorMainLighter5: #45759b;
    --colorMainLighter10: #4d83ac;
    --colorMainLighter30: #91b4ce;
    --colorMainDarker1: #3b6585;
    --colorMainDarker5: #355b77;
    --colorMainDarker10: #2d4d66;
    --colorMainDarker20: #1e3242;
    --colorMain2Darker10: #3b739d;
    --colorMain3Darker10: #44c0f0;
    --darkgreyColorDarker5: #254054;
    --darkgreyColorDarker10: #1e3242;
    --darkColorLighter2: #213849;
    --fontBody: "Arial" !important;
    --fontSecondary: "Yantramanav" !important;
}

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: #88adb9;
}

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

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: #ffffff;
    border-radius: 0;
}

.title.monthly .monthly-title {
    margin: 12px 0;
    font-family: var(--fontSecondary);
    font-size: 18px;
    line-height: 1.0286;
    font-weight: 500;
    letter-spacing: 0.03rem;
    color: var(--colorMain);
    text-transform: uppercase;
}

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

/* monthly nav */
.title.monthly .md-button,
.title.monthly .md-button .md-icon {
    color: #c1d8dd;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    font-size: 16px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    position: relative;
    -webkit-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

.title.monthly .md-button .md-icon {
    border: 1px solid #c1d8dd;
    width: 28px;
    min-width: 28px;
    height: 28px;
    min-height: 28px;
}

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

    .title.monthly .md-button .md-icon {
        width: 48px;
        min-width: 48px;
        height: 48px;
        min-height: 48px;
        font-size: 24px;
    }

    .title.monthly .prev .md-button {
        left: 0;
    }
    
    .title.monthly .next .md-button {
        right: 0;
    }
}

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

ul.week li {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5715;
    letter-spacing: 0.03rem;
    text-transform: uppercase;
    padding: 12px 0;
}

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

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

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

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

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

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

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

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

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

@media (min-width:768px) {
    .calendar.monthly .md-body-1 {
        font-size: 24px;
    }
}

.book-day button.md-whiteframe.disabled,
.book-day button.md-whiteframe.passive {
    color: #88adb9;
    background: #ffffff;
}

.book-day button.md-whiteframe.selectable {
    color: #88adb9;
    background: #fafafa;
}

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

.selected {
    background: var(--colorMain2) !important;
    color: #ffffff !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 #d3e4e8;
}

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: #f3f8f9;
    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;
    }
}

.mdc-dialog .mdc-dialog__scrim, .mdc-dialog .mdc-dialog__surface-scrim {
    border-radius: 5px;
}

.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: 500;
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--colorMain);
    margin-top: 0;
    margin-bottom: .5rem;
}

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

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

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

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

html button.mdc-button:not(:disabled) {
    box-shadow: none;
    -webkit-font-smoothing: auto;
    min-height: 48px;
    min-width: 130px;
    font-family: var(--fontBody);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: none;
    padding: 16px 26px;
    color: #ffffff;
    border: 1px solid var(--colorMain);
    border-radius: 0;
    background-color: var(--colorMain);
    transition: all .2s 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: 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: #ffffff;
    border-color: var(--colorMainDarker10);
    background: var(--colorMainDarker10);
}

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

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

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

.md-input-container {
    position: relative;
}

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: 13px 19px;
    font-family: var(--fontBody);
	font-size: 11px;
	font-weight: 700;
	line-height: 21px;
    letter-spacing: 0;
    text-decoration: none;
	text-transform: none;
    color: #88adb9;
    caret-color: #88adb9;
    border: none;
    border-bottom: 1px solid #d3e4e8;
	border-radius: 2px;
    background: #ffffff;
	height: auto;
    transition: border-color .15s ease-in-out;
}

html .mdc-text-field .mdc-text-field__input:focus {
    border-color: rgb(160.7611940299, 197.171641791, 205.7388059701);
    color: var(--colorMainDarker10);
}

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

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

/* label */
.mdc-floating-label {
	font-size: 11px;
	font-weight: 700;
	line-height: 21px;
    letter-spacing: 0;
    text-decoration: none;
	text-transform: uppercase;
}

.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: 100%;
    left: 19px !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: #88adb9;
}

html .mdc-text-field .mdc-floating-label,
html .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: #88adb9;
}

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

.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: 19px !important;
    opacity: 0;
    color: #88adb9;
}

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

.mdc-text-field--filled .mdc-text-field__resizer,
.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter, 
.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input {
    transform: translateY(0);
}

.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: 11px;
	font-weight: 700;
	line-height: 21px;
    letter-spacing: 0;
    text-decoration: none;
	text-transform: uppercase;
    color: #88adb9;
}

html .foxy-phone-container .vti__input {
    padding-left: 69px;
    border: none;
    border-bottom: 1px solid #d3e4e8;
    border-radius: 2px;
}

.foxy-phone-container.mdc-text-field--with-leading-icon .vue-tel-input .vti__dropdown {
    padding-left: 0;
}

.vti__flag {
    margin-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: transparent;
    border: none;
    border-bottom: 1px solid #d3e4e8;
    border-radius: 2px;
}

.vti__dropdown-arrow {
    color: var(--colorMain);
}

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: rgb(160.7611940299, 197.171641791, 205.7388059701);
    color: var(--colorMainDarker10);
}

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

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

div[data-type=ssa-tel-input-anchor] {
    left: 19px;
    bottom: 11px;
}

div[data-type=ssa-tel-input-anchor] button {
    padding-left: 0;
}

/* cust-info */
.confirm.cust-info .mdc-card__actions {
    border-top: 1px solid #d3e4e8;
}

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