#designerAppointment {
    --background-color: var(--paper-warm);
    --available-color: /*rgb(208 235 136)*/ rgb(216 229 135);
    --available-color-light: color-mix(var(--available-color), white 30%);
    display: flex;
    flex-direction: row;
    position: relative;
    z-index: 4;
    justify-content: center;
    gap: calc(var(--margin-x2) * 2);
    line-height: 1.3;

    & .month-calendar {
        background: var(--background-color);
        border: solid 1px #eee;
        border-radius: 2px;
        box-shadow: 0 0 1px #000;
        display: block;
        min-height: 290px;
        padding: 15px;
        width: 300px;
        z-index: 15;

        & input[type="checkbox"] {
            accent-color: var(--gold);
        }

        & select {
            background-color: var(--background-color);
            min-height: 30px;
            border-radius: 50px;
            padding-inline: 1ch;
        }

        & .add {
            box-shadow: var(--default-box-shadow);

            & .time-booking {
                & h3.date {
                    text-align: center;
                }

                & .time-zone-selector {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 1ch;
                }
            }

            & select {
                background-color: white;
            }

            & .new-project-form select {
                padding-inline: 0;
            }
        }

        & :is(select, input):focus-visible {
            outline-color: var(--gold);
        }

        & .button-primary {
        }

        & .chat-dismiss {
            display: inline-grid;
            width: 44px;
            height: 44px;
            place-items: center;
            padding: 0;
            border: 0;
            border-radius: 50%;
            color: oklch(0.56 0.01 70);
            transition-property: background-color, color, transform;
            transition-duration: 150ms;
            transition-timing-function: cubic-bezier(0.2, 0, 0, 1);

            &:hover {
                color: var(--ink);
            }

            & svg {
                fill: none;
                stroke: currentColor;
                stroke-linecap: round;
                stroke-width: 2;
            }
        }

        & .appointment-entry-content {
            & select {
                border-radius: 0;
            }

            & input[type=checkbox] {
                height: calc(var(--control-height) * .75);
                aspect-ratio: 1;
                margin: 0;
            }
        }
    }
}



















































/*a, p, span, div, input, select, button {
    font-family: var(--main-font-family) !important;
}*/

section.calendar-section > .intro p {
    margin: 1.1em 0 1.5em 0;
}


    section.calendar-section > .intro p:first-child {
        margin-top: 0;
        min-height: 60px;
    }

section.calendar-section > .intro h1 {
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    margin: 0;
    padding: 0;
    position: relative;
    top: -4px;
}

section.calendar-section > .intro h2 {
    font-size: 15px;
    font-weight: 400;
    line-height: 120%;
    margin: 17px 0 0 0;
    padding: 0;
}

section.calendar-section > .intro ul {
    margin: 10px 0 0 0;
    padding: 0;
}

    section.calendar-section > .intro ul li {
        color: #d7a6b0;
        font-size: 16px;
        font-weight: 400;
        list-style-type: disc;
        margin: .5em 0 .5em 2em;
        padding: 0;
    }

        section.calendar-section > .intro ul li span {
            color: #56555a;
            font-size: 14px;
            left: -5px;
            position: relative;
        }


#newProjectModal .month-calendar, #newProjectModal .month-calendar.wait.loading {
    min-height: 217px;
    width: 230px;
}

    #newProjectModal .month-calendar .account-exists h1,
    #newProjectModal .month-calendar .account-exists .available-designers,
    #newProjectModal .month-calendar .account-exists .time-booking h3.date,
    #newProjectModal .month-calendar .account-exists .time-booking .appointment-entry {
        display: none;
    }


.month-calendar.zip-needed .decor1 {
    background: var(--paper-warm);
    border-radius: 2px;
    bottom: -10px;
    left: -10px;
    opacity: .6;
    position: absolute;
    right: -10px;
    top: -10px;
}

.month-calendar .add .cancel {
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 10;
}

#newProjectModal .month-calendar .add .cancel {
    float: right;
    position: static;
}

.month-calendar .add .cancel:hover {
    opacity: 1;
}

/*.month-calendar .add .cancel:before,
.month-calendar .add .cancel:after {
    background: #666;
    content: '';
    height: 2px;
    position: absolute;
    top: 9px;
    width: 22px;
}*/

#newProjectModal .month-calendar .add .cancel:before,
#newProjectModal .month-calendar .add .cancel:after {
    top: 16px;
}

.month-calendar .add .cancel:before {
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.month-calendar .add .cancel:after {
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.month-calendar.day-selected.time-selected .add .time-booking .appointment-entry {
    display: block;
    overflow: hidden;
    width: calc(100% - 420px);
}

    .month-calendar.day-selected.time-selected .add .time-booking .appointment-entry .heads-up,
    .created-project-info .appointment-datetime {
        background: var(--gold-light);
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 10px;
        padding: 10px;
    }

    .month-calendar.day-selected.time-selected .add .time-booking .appointment-entry .appointment-entry-content {
        width: 360px;
    }

    .month-calendar.day-selected.time-selected .add .time-booking .appointment-entry .new-project-form h3 {
        font-size: 12px;
    }

.month-calendar .w {
    display: block;
    font-size: 0;
}

.month-calendar .m {
    display: block;
}

/*.month-calendar .w.mh {
    background: #fff;
}*/

.month-calendar .w .d {
    display: inline-block;
    font-size: 13px;
    height: 40px;
    margin: 0 1px 1px 0;
    position: relative;
    vertical-align: top;
    width: calc(100% / 7 - 1.05px); /* .05 is for IE 11 */
}

#newProjectModal .month-calendar .w .d {
    display: inline-block;
    font-size: 13px;
    height: 20px;
    margin: 0 1px 1px 0;
    position: relative;
    vertical-align: top;
    width: calc(100% / 7 - 1.05px); /* .05 is for IE 11 */
}

.month-calendar .w .d > a {
    background-color: var(--available-color);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.month-calendar.day-selected .w .d:not(.add) > a:not(:hover) {
    opacity: .5;
}

.month-calendar .w .d:not(.padding).available.add > a {
    background-color: var(--available-color);
}

.month-calendar .w .d.padding {
    background: none;
}

/*.month-calendar .w .d {
    background: #fbfbfb;
}*/

.month-calendar .w .d:not(.padding):not(.add).available > a:hover {
    background-color: var(--available-color-light);
    opacity: 1;
}



.month-calendar .w .d > a:hover {
}

.month-calendar .w .d:not(.padding).available .add {
    -webkit-transition-duration: .2s;
    background: white;
    border: solid 7px var(--available-color);
    border-radius: 15px;
    box-shadow: 0 0 5px #000;
    height: auto;
    left: 50px;
    opacity: 1;
    opacity: .99;
    padding: 10px;
    position: absolute;
    top: -200px;
    transition: width .2s;
    width: 430px;
    z-index: 15;
}

#designerAppointment:not(.modal-calendar) .month-calendar .w .d:not(.padding).available[data-week='1'] .add {
    top: -200px;
}

#designerAppointment:not(.modal-calendar) .month-calendar .w .d:not(.padding).available[data-week='2'] .add {
    top: -241px;
}

#designerAppointment:not(.modal-calendar) .month-calendar .w .d:not(.padding).available[data-week='3'] .add {
    top: -282px;
}

#designerAppointment:not(.modal-calendar) .month-calendar .w .d:not(.padding).available[data-week='4'] .add {
    top: -323px;
}

#designerAppointment:not(.modal-calendar) .month-calendar .w .d:not(.padding).available[data-week='5'] .add {
    top: -364px;
}

#designerAppointment:not(.modal-calendar) .month-calendar .w .d:not(.padding).available[data-week='6'] .add {
    top: -364px;
}

#newProjectModal .month-calendar.day-selected .w .d:not(.padding).available .add {
    left: 40px;
    top: -131px;
    width: 190px;
}

.month-calendar.time-selected .w .d:not(.padding).available .add:not(.account-exists) {
    top: -250px;
}

.month-calendar.day-selected.time-selected .w .d .week-calendar li > a:not(.selected):not(:hover) {
    opacity: .5;
}

.month-calendar.day-selected.time-selected .w .d:not(.padding).available .add {
    height: 575px;
    width: 820px;
}

#newProjectModal .month-calendar.day-selected.time-selected .w .d:not(.padding).available .add {
    height: initial;
}


.month-calendar.day-selected.time-selected .w .d:not(.padding).available .add:not(.account-exists) {
    height: 615px;

    &:not(.referral-exists) {
        height: 790px;
    }
}

.month-calendar.day-selected.time-selected .w .d:not(.padding).available .add:not(.referral-exists) {
    height: 625px;
}

.account-exists .account-data {
    display: none;
}

.referral-exists .referral-data {
    display: none;
}

.month-calendar .w .d:not(.padding).available .add .decor {
    background: white;
    border-bottom: solid 5px var(--available-color);
    border-left: solid 5px var(--available-color);
    height: 20px;
    left: -14px;
    position: absolute;
    top: calc(50% - 8px);
    transform: rotate(45deg);
    width: 20px;
    z-index: 11;
}

#designerAppointment:not(.modal-calendar) .month-calendar .w .d:not(.padding).available[data-week='1'] .add .decor {
    top: calc(215px - 8px);
}

#designerAppointment:not(.modal-calendar) .month-calendar .w .d:not(.padding).available[data-week='2'] .add .decor {
    top: calc(215px - 8px + 41px);
}

#designerAppointment:not(.modal-calendar) .month-calendar .w .d:not(.padding).available[data-week='3'] .add .decor {
    top: calc(215px - 8px + 82px);
}

#designerAppointment:not(.modal-calendar) .month-calendar .w .d:not(.padding).available[data-week='4'] .add .decor {
    top: calc(215px - 8px + 123px);
}

#designerAppointment:not(.modal-calendar) .month-calendar .w .d:not(.padding).available[data-week='5'] .add .decor {
    top: calc(215px - 8px + 164px);
}

#designerAppointment:not(.modal-calendar) .month-calendar .w .d:not(.padding).available[data-week='6'] .add .decor {
    top: calc(215px - 8px + 164px);
}

body #body1 #newProjectModal .month-calendar .w .d:not(.padding).available .add .decor {
    top: calc(75% - 8px);
}

.month-calendar .w .d:not(.padding).available .add h1 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 10px;
    padding-bottom: 0;
    padding-top: 0;
    text-align: center;
}

.month-calendar .w .d:not(.padding).available .add h3 {
    font-size: 15px;
    letter-spacing: initial;
}

.zip-entry-form input.zip {
    border: solid 1px var(--brand-color) !important;
    box-shadow: 0 0 2px var(--brand-color);
}

.zip-entry-form select {
    border: solid 1px var(--brand-color) !important;
    box-shadow: 0 0 2px var(--brand-color);
    margin-top: 20px;
    width: 200px;
}

.zip-entry-form {
    transform: scale(1);
    transition-duration: .17s;

    & .inputs {
        display: inline-flex;
        gap: 10px;

        & input.zip {
            min-height: 52px;
            background-color: var(--paper);

            &:focus {
                outline: none;
            }
        }
    }
}

    .zip-entry-form.prompted-for-zip {
        opacity: .95;
        transform: scale(1.05);
        transition-duration: .17s;
    }

.month-calendar .zip-entry-form {
    display: none;
}

.zip-entry-form .error {
    font-size: 13px;
    font-weight: 400;
    margin: 10px auto 0 auto;
    max-width: 200px;
}

.zip-entry-form a {
    margin-top: 20px;
    border-bottom: 1px dashed;
}

.month-calendar.zip-needed .zip-entry-form {
    align-items: center;
    background: var(--paper-warm);
    border: solid 1px var(--brand-color);
    border-radius: 2px;
    bottom: 23%;
    box-shadow: 0 0 7px var(--brand-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: -1px;
    opacity: .98;
    position: absolute;
    right: -1px;
    top: 23%;
}

    .month-calendar.zip-needed .zip-entry-form.contains-error {
        bottom: 13%;
        top: 13%;
    }

    .month-calendar.zip-needed .zip-entry-form .form {
        text-align: center;
    }

        .month-calendar.zip-needed .zip-entry-form .form h1 {
            font-size: 14px;
            font-weight: normal;
            line-height: 120%;
            margin-bottom: 10px;
            /* max-width: 200px;*/
        }

        .month-calendar.zip-needed .zip-entry-form .form .input {
            /*display: block;*/
            margin-top: 10px;
            position: relative;
        }

            .month-calendar.zip-needed .zip-entry-form .form .input .group {
                display: inline-block;
                position: relative;
            }

            .month-calendar.zip-needed .zip-entry-form .form .input input.zip {
                border-radius: 3px;
                font-family: var(--main-font-family);
                font-size: 24px;
                font-weight: 900;
                height: 40px !important;
                padding-left: 27px !important;
                text-align: left;
                width: 4.9em;
            }

            .month-calendar.zip-needed .zip-entry-form .form .input .icon-location:before {
                color: var(--brand-color);
                font-size: 22px;
                left: 4px;
                margin: 0;
                opacity: 1;
                position: absolute;
                top: 15px;
            }

            .month-calendar.zip-needed .zip-entry-form .form .input button {
                font-weight: 500 !important;
                min-width: 0;
                padding: 0;
                /*width: 80px;*/
                padding: 0 10px;
            }


.month-calendar .w .d .add .available-designers {
    align-items: center;
    display: flex;
    justify-content: space-around;
    margin: 0 0 10px 0;
    padding: 0;
}

    .month-calendar .w .d .add .available-designers div.designer > div.img {
        background-image: url(/images/ce/ce-logo-2-compact.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 80px 64px;
        border: solid 3px var(--available-color);
        border-radius: 100px;
        display: block;
        display: inline-block;
        height: 100px;
        margin-bottom: 5px;
        width: 100px;
    }

.month-calendar .w .d .add .available-designers {
    text-align: center;
}

    .month-calendar .w .d .add .available-designers div.designer > span,
    .month-calendar .w .d .add .available-designers div.designer > select {
        display: block;
        text-align: center;
    }

.month-calendar .w.days .d.padding label {
    background: none;
    border: none;
}

.month-calendar .w.wh .d {
    background: none;
    /*background: #fbfbfb;*/
    height: auto;
    padding: 5px 0;
    text-align: center;
}

html div.month-calendar .month-designer-select-container {
    /*background: #fbfbfb;*/
    display: block;
    font-weight: 500;
    margin-bottom: 1px;
    padding: 5px 0;
    text-align: center;
}

    html div.month-calendar .month-designer-select-container select {
        width: auto;
    }

.month-calendar .w.wh .d label {
}

.month-calendar .w.days .d a label {
    color: #555;
}

.month-calendar .w.days .d label {
    border-radius: 1px;
    color: #aaa;
    cursor: inherit;
    display: inline-block;
    height: 15px;
    line-height: 14px;
    margin: 1px;
    text-align: center;
    width: 15px;
}

.month-calendar .w .d label,
.month-calendar .w.mh > label,
html #newProjectModal .month-calendar .w .d label,
html #newProjectModal .month-calendar .w.mh > label {
    border-bottom: none;
    color: #555;
    /*font-family: var(--main-font-family);*/
    font-size: 12px;
    font-weight: 500;
    width: auto;
}

.month-calendar .w.mh label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    text-align: center;
}

.month-calendar .w.mh > label {
    /*background: #fbfbfb;*/
    margin-bottom: 1px;
    padding: 5px 0;
}

.month-calendar .y.syw {
    /* background: #fbfbfb;*/
    display: block;
    font-weight: 500;
    margin-bottom: 1px;
    padding: 5px 0;
    text-align: center;
}

html .month-calendar .y.syw select {
    width: auto;
}

.month-calendar.zip-needed {
    position: relative;
}

    .month-calendar.zip-needed .d {
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
    }

.time-booking {
    position: relative;
}

    .time-booking > * {
        float: left;
    }

    .time-booking .appointment-entry {
        -webkit-transition-duration: .2s;
        display: none;
        flex-grow: 0;
        left: 410px;
        overflow: hidden;
        padding-left: 10px;
        padding-left: 10px;
        position: absolute;
        transition-duration: .2s;
        transition-property: width;
        width: 0;
    }

        .time-booking .appointment-entry p {
            margin: 1em 0;
        }

.week-calendar {
    width: 400px;
}

html #newProjectModal .week-calendar {
    width: auto;
}


ul.week-calendar,
ul.week-calendar ul.day {
    padding: 0;
}

.month-calendar h3 {
    margin-bottom: 0;
    padding-bottom: 5px;
}

ul.week-calendar ul.day {
    display: flex;
    flex-wrap: wrap;
}

    ul.week-calendar ul.day li {
        border: solid 1px #fff;
        border-top-width: 0;
        width: 50%;
    }

        ul.week-calendar ul.day li:nth-child(2n + 1) {
            border-right-width: 0;
        }

        ul.week-calendar ul.day li:nth-child(1),
        ul.week-calendar ul.day li:nth-child(2) {
            border-top-width: 1px;
        }

ul.week-calendar .time {
    background: var(--available-color-light);
    display: block;
    /*font-family: 'roboto condensed';*/
    font-size: 11px;
    font-weight: bold;
    line-height: 16px;
    padding: 4px 5px;
}

ul.week-calendar li.taken .time {
    background: #e0e0e0 !important;
    color: #777;
}

ul.week-calendar .day li:not(.taken) .time {
    color: black;
    text-decoration: underline;
}

ul.week-calendar li.taken {
    cursor: default;
    font-size: 11px;
    font-weight: 400;
}

ul.week-calendar ul.day li.taken.length-4 {
    border-right-width: 1px;
    height: 40px;
    width: 100%;
}

ul.week-calendar ul.day li.taken.length-8 {
    border-right-width: 1px;
    height: 80px;
    width: 100%;
}

ul.week-calendar ul.day li.taken.length-2 {
    border-right-width: 1px;
    width: 100%;
}

#mainContent ul.week-calendar ul.day li a {
    /*font-family: roboto;*/
    font-weight: 500;
    font-size: 12px;
}

ul.week-calendar ul.day li:not(.taken):hover a,
ul.week-calendar ul.day li:not(.taken) a.selected {
    background: var(--available-color);
}

ul.week-calendar ul.day li.taken .time:hover {
    cursor: default;
    text-decoration: none;
}

ul.week-calendar ul.day li.taken .time:after {
    content: ' (Not Available)';
}

html #newProjectModal ul.week-calendar ul.day li.taken .time:after {
    content: ' (N/A)';
}

.appointment-entry-content input:not([type="checkbox"]) {
    border: solid 2px #888888;
    border-radius: 2px;
    box-shadow: inset 0 0 2px #aaa;
    font-size: 13px;
    font-weight: 500;
    height: var(--control-height);
    width: 100%;
}

.appointment-entry-content select {
    border: solid 2px #888888;
    border-radius: 2px;
    box-shadow: inset 0 0 2px #aaa;
    font-size: 13px;
    font-weight: 500;
    height: var(--control-height);
}

.appointment-entry-content input.project-name {
    font-size: 15px;
    font-weight: 700;
}

.appointment-entry-content .row.project-address .project-address-container {
    display: flex;
    justify-content: space-between;
}

.appointment-entry-content .row.project-address input.project-address-street {
    width: 204px;
}

.appointment-entry-content .row.project-address input.project-address-city {
    width: 100px;
}

.appointment-entry-content .row.project-address input.project-address-state {
    width: 50px;
    text-align: center;
    text-transform: uppercase;
}

.appointment-entry-content .row {
    margin-bottom: 10px;
}

    .appointment-entry-content .row .subrow {
        display: inline-block;
        width: 49%;
    }

        .appointment-entry-content .row .subrow:not(:last-child) {
            margin-right: 1%;
        }

.new-project-form .actions {
    margin-top: 10px;
}

.new-project-form .note {
    font-size: 12px;
    font-weight: 300;
    margin-top: 5px;
    line-height: 130%;
}

.dashboard .call-section {
    display: none;
}

.time-zone-selector {
    margin-bottom: 5px;

    & select {
        background-color: white;
    }
}

.time-booking ul.day.wait.loading {
    background: white url(/images/wait.gif) no-repeat 2px 2px;
}

/*.appointment-entry-content .referral-data input[type=text] {
    width: 100px;
}*/

.call-section a.call-phone.icon-phone:before {
    text-decoration: none;
}

.designer-calendar {
    margin-top: 20px;
}

    .designer-calendar h3 {
        font-weight: bold;
    }

#designerProfile {
    padding: 1rem;
    background: #eee;
}

#designerBio {
    max-width: 1000px;
}

#designerPhoto {
    float: left;
    max-height: 200px;
    max-width: 200px;
    margin: 5px 10px 10px 0;
}
