
.wper-nav {
    margin-bottom: 1rem;
}

.wper-days {
    display: flex;
    margin-bottom: 1rem;
    overflow-x: scroll;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

 .wper-days::-webkit-scrollbar {
     display: none;
 }

.wper-days__item {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
}

.wper-days__item .long {
    display: inline;
}

.wper-days__item .short {
    display: none;
}

@media only screen and (max-width: 786px) {
    .wper-days__item .long {
        display: none;
    }

    .wper-days__item .short {
        display: inline;
    }
}

.wper-days__item.active {
    border-bottom: 2px solid var(--wper-primary-color, #3887A1);
    color: var(--wper-primary-color, #3887A1);
}

.wper-days__item:hover,
.wper-days__item:focus {
    background-color: rgba(56, 135, 161, 0.1);
}

.wper-datepicker-input {
    padding: 0.75rem 1rem 0.75rem 2.5rem !important;
    width: 150px;
    background-color: transparent !important;
    background-image: url('../img/icon-calendar.svg') !important;
    background-position: 1rem center !important;
    background-repeat: no-repeat !important;
    background-size: auto 1rem !important;
    border: 0 !important;
    font-size: 1rem !important;
    color: inherit;
    outline: none !important;
    cursor: pointer;
    box-shadow: none !important;
}

.wper-datepicker-input:hover {
    background-color: rgba(56, 135, 161, 0.1) !important;
}

.wper-datepicker-input.active {
    border-bottom: 2px solid var(--wper-primary-color, #3887A1) !important;
    color: var(--wper-primary-color, #3887A1);
}

.wper-datepicker-input::placeholder {
    color: inherit;
    opacity: 1;
    text-transform: uppercase;
}

.wper-dayparts {
    display: flex;
    margin-bottom: 0.5rem;
}

.wper-daypart {
    display: block;
    margin-right: 0.5rem;
    padding: 0.125rem 0.5rem;
    border: 1px solid var(--wper-primary-color, #3887A1);
    border-radius: 50rem;
    font-size: 75%;
    color: var(--wper-primary-color, #3887A1);
    cursor: pointer;
}

.wper-daypart:hover,
.wper-daypart:focus {
    background-color: var(--wper-primary-color, #3887A1);
    color: #fff;
}

.wper-list {
    margin: 0;
    padding-left: 0;
    padding-top: 24px;
    padding-bottom: 184px;
    list-style: none;
}

.wper-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    width: 100%;
    border-bottom: 1px solid #eee;
}

.wper-item.past {
    color: rgba(0, 0, 0, 0.38);
}

.wper-item__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 1.5rem;
    width: 100%;
}

@media only screen and (max-width: 786px) {
    .wper-item__content {
        display: block;
    }
}

.wper-item__meta {
    font-size: 0.875rem;
    opacity: 0.6;
}

.wper-button {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--wper-primary-color, #3887A1) !important;
    border: 0;
    border-radius: 0.25rem;
    color: #fff !important;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
}

.wper-button:hover,
.wper-button:focus {
    background-color: var(--wper-hover-color, #2d6f85) !important;
    color: #fff !important;
}

.wper-button .svg {
    margin-right: 0.5rem;
    width: auto;
    max-height: 1rem;
}

.wper-button-secondary {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ddd;
    border: 0;
    border-radius: 50rem;
    white-space: nowrap;
    cursor: pointer;
}

/* -------------------------------------------------
MODAL
------------------------------------------------- */
.wper-modal {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
}

.wper-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wper-modal__inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.wper-modal__header {
    position: relative;
    padding: 1rem;
    background-color: #f5f0ed;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
    z-index: 2;
}

.wper-modal__close {
    background-color: transparent;
    border: 0;
    font-weight: 500;
    color: var(--wper-primary-color, #3887A1);
    cursor: pointer;
}

.wper-modal__close .svg {
    margin-right: 0.5rem;
    width: auto;
    max-height: 1rem;
}

.wper-modal__iframe {
    position: relative;
    width: 100%;
    height: calc(100vh - 58px);
    max-height: 100;
    z-index: 1;
}


/* -------------------------------------------------
NOTE
------------------------------------------------- */
.wper-note {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
}

.wper-note.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wper-note__inner {
    padding: 1rem;
    width: 100%;
    max-width: 340px;
    height: auto;
    background-color: #fff;
}

.wper-note__content {
    display: none;
}

.wper-note__title {
    margin-bottom: 2rem;
    font-weight: bold;
    font-size: 1.5rem;
}

.wper-note__actions {
    text-align: right;
}

.wper-note__close {
    padding: 0;
    background-color: transparent;
    border: 0;
    color: var(--wper-primary-color, #3887A1);
    text-transform: uppercase;
    cursor: pointer;
}


/* DATEPICKER */
.datepicker-cell.focused:not(.selected) {
    background-color: unset;
}
