.lightpick {
    position: absolute;
    z-index: 99999;
    padding: 4px;
    border-radius: 4px;
    background-color: #FFF;
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);*/
    color: #000;
    font-family: system-ui, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.125em;
}

.lightpick--inlined {
    position: relative;
    display: inline-block;
}

.lightpick,
.lightpick *,
.lightpick::after,
.lightpick::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

    .lightpick.is-hidden {
        display: none;
    }

.lightpick__months {
    display: -ms-grid;
    display: grid;
    background-color: #EEE;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
    grid-gap: 1px;
}

    .lightpick__months > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

.lightpick--2-columns .lightpick__months {
    -ms-grid-columns: auto 1px auto;
    grid-template-columns: auto auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
}

    .lightpick--2-columns .lightpick__months > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .lightpick--2-columns .lightpick__months > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

.lightpick--3-columns .lightpick__months {
    -ms-grid-columns: auto 1px auto 1px auto;
    grid-template-columns: auto auto auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
}

    .lightpick--3-columns .lightpick__months > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .lightpick--3-columns .lightpick__months > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

    .lightpick--3-columns .lightpick__months > *:nth-child(3) {
        -ms-grid-row: 1;
        -ms-grid-column: 5;
    }

.lightpick--4-columns .lightpick__months {
    -ms-grid-columns: auto 1px auto 1px auto 1px auto;
    grid-template-columns: auto auto auto auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
}

    .lightpick--4-columns .lightpick__months > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .lightpick--4-columns .lightpick__months > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

    .lightpick--4-columns .lightpick__months > *:nth-child(3) {
        -ms-grid-row: 1;
        -ms-grid-column: 5;
    }

    .lightpick--4-columns .lightpick__months > *:nth-child(4) {
        -ms-grid-row: 1;
        -ms-grid-column: 7;
    }

.lightpick--5-columns .lightpick__months {
    -ms-grid-columns: auto 1px auto 1px auto 1px auto 1px auto;
    grid-template-columns: auto auto auto auto auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
}

    .lightpick--5-columns .lightpick__months > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .lightpick--5-columns .lightpick__months > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

    .lightpick--5-columns .lightpick__months > *:nth-child(3) {
        -ms-grid-row: 1;
        -ms-grid-column: 5;
    }

    .lightpick--5-columns .lightpick__months > *:nth-child(4) {
        -ms-grid-row: 1;
        -ms-grid-column: 7;
    }

    .lightpick--5-columns .lightpick__months > *:nth-child(5) {
        -ms-grid-row: 1;
        -ms-grid-column: 9;
    }

.lightpick__month {
    padding: 4px;
    width: 288px;
    background-color: #FFF;
}

.lightpick__month-title-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 4px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.lightpick__month-title {
    font-family: 'opensans-semibold';
    font-size: 14px;
    line-height: 24px;
    margin-top: 4px;
    margin-bottom: 4px;
    margin-left: -6px;
    font-weight: normal;
    cursor: default;
    padding: 0;
    border-radius: 4px;
    display: flex;
    justify-content: center;
}

    .lightpick__month-title > select::-ms-expand {
        display: none;
    }

    .lightpick__month-title > .lightpick__select {
        color: #757575;
        border: none;
        background-color: transparent;
        outline: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
    }

        .lightpick__month-title > .lightpick__select:disabled {
            color: #333;
        }

    .lightpick__month-title > .lightpick__select-months {
        font-weight: bold;
        font-size: 1em;
        text-align: center;
        padding-right: 0.5em;
    }

.lightpick__toolbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: right;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.lightpick__previous-action,
.lightpick__next-action,
.lightpick__close-action {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: 6px;
    width: 32px;
    height: 32px;
    outline: none;
    border: none;
    border-radius: 50%;
    background-color: #FFF;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.lightpick__previous-action,
.lightpick__next-action {
    font-size: 20px;
    font-weight: 500;
}

.lightpick__close-action {
    font-size: 18px;
}

    .lightpick__previous-action:active,
    .lightpick__next-action:active,
    .lightpick__close-action:active {
        color: inherit;
    }

.lightpick__days-of-the-week {
    font-family: 'opensans-semibold';
    font-size: 14px;
    line-height: 20px;
    padding: 0px 4px;
    color: #69696E;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[7];
    grid-template-columns: repeat(7, 1fr);
    -ms-grid-rows: auto;
    grid-template-rows: auto;
}

    .lightpick__days-of-the-week > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        width: 40px;
        max-width: 40px;
        min-width: 40px;
    }

    .lightpick__days-of-the-week > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 2;
        width: 40px;
        max-width: 40px;
        min-width: 40px;
    }

    .lightpick__days-of-the-week > *:nth-child(3) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
        width: 40px;
        max-width: 40px;
        min-width: 40px;
    }

    .lightpick__days-of-the-week > *:nth-child(4) {
        -ms-grid-row: 1;
        -ms-grid-column: 4;
        width: 40px;
        max-width: 40px;
        min-width: 40px;
    }

    .lightpick__days-of-the-week > *:nth-child(5) {
        -ms-grid-row: 1;
        -ms-grid-column: 5;
        width: 40px;
        max-width: 40px;
        min-width: 40px;
    }

    .lightpick__days-of-the-week > *:nth-child(6) {
        -ms-grid-row: 1;
        -ms-grid-column: 6;
        width: 40px;
        max-width: 40px;
        min-width: 40px;
    }

    .lightpick__days-of-the-week > *:nth-child(7) {
        -ms-grid-row: 1;
        -ms-grid-column: 7;
        width: 40px;
        max-width: 40px;
        min-width: 40px;
    }

.lightpick__day-of-the-week {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 11px;
    font-weight: bold;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.lightpick__days {
    padding: 0px 4px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[7];
    grid-template-columns: repeat(7, 1fr);
    -ms-grid-rows: auto auto auto auto auto auto;
    grid-template-rows: auto auto auto auto auto auto;
}

    .lightpick__days > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .lightpick__days > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 2;
    }

    .lightpick__days > *:nth-child(3) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

    .lightpick__days > *:nth-child(4) {
        -ms-grid-row: 1;
        -ms-grid-column: 4;
    }

    .lightpick__days > *:nth-child(5) {
        -ms-grid-row: 1;
        -ms-grid-column: 5;
    }

    .lightpick__days > *:nth-child(6) {
        -ms-grid-row: 1;
        -ms-grid-column: 6;
    }

    .lightpick__days > *:nth-child(7) {
        -ms-grid-row: 1;
        -ms-grid-column: 7;
    }

    .lightpick__days > *:nth-child(8) {
        -ms-grid-row: 2;
        -ms-grid-column: 1;
    }

    .lightpick__days > *:nth-child(9) {
        -ms-grid-row: 2;
        -ms-grid-column: 2;
    }

    .lightpick__days > *:nth-child(10) {
        -ms-grid-row: 2;
        -ms-grid-column: 3;
    }

    .lightpick__days > *:nth-child(11) {
        -ms-grid-row: 2;
        -ms-grid-column: 4;
    }

    .lightpick__days > *:nth-child(12) {
        -ms-grid-row: 2;
        -ms-grid-column: 5;
    }

    .lightpick__days > *:nth-child(13) {
        -ms-grid-row: 2;
        -ms-grid-column: 6;
    }

    .lightpick__days > *:nth-child(14) {
        -ms-grid-row: 2;
        -ms-grid-column: 7;
    }

    .lightpick__days > *:nth-child(15) {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }

    .lightpick__days > *:nth-child(16) {
        -ms-grid-row: 3;
        -ms-grid-column: 2;
    }

    .lightpick__days > *:nth-child(17) {
        -ms-grid-row: 3;
        -ms-grid-column: 3;
    }

    .lightpick__days > *:nth-child(18) {
        -ms-grid-row: 3;
        -ms-grid-column: 4;
    }

    .lightpick__days > *:nth-child(19) {
        -ms-grid-row: 3;
        -ms-grid-column: 5;
    }

    .lightpick__days > *:nth-child(20) {
        -ms-grid-row: 3;
        -ms-grid-column: 6;
    }

    .lightpick__days > *:nth-child(21) {
        -ms-grid-row: 3;
        -ms-grid-column: 7;
    }

    .lightpick__days > *:nth-child(22) {
        -ms-grid-row: 4;
        -ms-grid-column: 1;
    }

    .lightpick__days > *:nth-child(23) {
        -ms-grid-row: 4;
        -ms-grid-column: 2;
    }

    .lightpick__days > *:nth-child(24) {
        -ms-grid-row: 4;
        -ms-grid-column: 3;
    }

    .lightpick__days > *:nth-child(25) {
        -ms-grid-row: 4;
        -ms-grid-column: 4;
    }

    .lightpick__days > *:nth-child(26) {
        -ms-grid-row: 4;
        -ms-grid-column: 5;
    }

    .lightpick__days > *:nth-child(27) {
        -ms-grid-row: 4;
        -ms-grid-column: 6;
    }

    .lightpick__days > *:nth-child(28) {
        -ms-grid-row: 4;
        -ms-grid-column: 7;
    }

    .lightpick__days > *:nth-child(29) {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .lightpick__days > *:nth-child(30) {
        -ms-grid-row: 5;
        -ms-grid-column: 2;
    }

    .lightpick__days > *:nth-child(31) {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }

    .lightpick__days > *:nth-child(32) {
        -ms-grid-row: 5;
        -ms-grid-column: 4;
    }

    .lightpick__days > *:nth-child(33) {
        -ms-grid-row: 5;
        -ms-grid-column: 5;
    }

    .lightpick__days > *:nth-child(34) {
        -ms-grid-row: 5;
        -ms-grid-column: 6;
    }

    .lightpick__days > *:nth-child(35) {
        -ms-grid-row: 5;
        -ms-grid-column: 7;
    }

    .lightpick__days > *:nth-child(36) {
        -ms-grid-row: 6;
        -ms-grid-column: 1;
    }

    .lightpick__days > *:nth-child(37) {
        -ms-grid-row: 6;
        -ms-grid-column: 2;
    }

    .lightpick__days > *:nth-child(38) {
        -ms-grid-row: 6;
        -ms-grid-column: 3;
    }

    .lightpick__days > *:nth-child(39) {
        -ms-grid-row: 6;
        -ms-grid-column: 4;
    }

    .lightpick__days > *:nth-child(40) {
        -ms-grid-row: 6;
        -ms-grid-column: 5;
    }

    .lightpick__days > *:nth-child(41) {
        -ms-grid-row: 6;
        -ms-grid-column: 6;
    }

    .lightpick__days > *:nth-child(42) {
        -ms-grid-row: 6;
        -ms-grid-column: 7;
    }

.lightpick__day {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 40px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 13px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: default;
    width: 40px;
}

    .lightpick__day.is-today {
        /*background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect fill='%2356ab2c' x='0' y='0' width='32' height='32'/%3E%3C/svg%3E");*/
        background-size: 18.8% auto;
        background-position: center bottom;
        color: #DC322F;
    }

    .lightpick__day:not(.is-disabled):hover {
        background-size: contain;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect fill='%2356ab2c' x='0' y='0' width='32' height='32'/%3E%3C/svg%3E");
    }

    .lightpick__day.is-disabled {
        opacity: 0.38;
        pointer-events: none;
    }

    .lightpick__day.disabled-tooltip {
        pointer-events: auto;
    }

    .lightpick__day.is-disabled.is-forward-selected {
        opacity: 1;
    }

        .lightpick__day.is-disabled.is-forward-selected:not(.is-start-date) {
            background-color: rgba(38, 139, 210, 0.1);
            background-image: none;
        }

    .lightpick__day.is-previous-month,
    .lightpick__day.is-next-month {
        opacity: 0.38;
    }

    .lightpick__day.lightpick__day.is-in-range:not(.is-disabled) {
        opacity: 1;
    }

    .lightpick__day.is-in-range {
        border-radius: 0;
        background-color: #f2f2f7;
        background-image: none;
    }

        .lightpick__day.is-in-range:hover {
            background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect fill='%2356ab2c' x='0' y='0' width='32' height='32'/%3E%3C/svg%3E");
        }

    .lightpick__day.is-start-date.is-in-range,
    .lightpick__day.is-end-date.is-in-range.is-flipped {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        background-color: #56ab2c;
        background-image: none;
    }

        .lightpick__day.is-end-date.is-in-range,
        .lightpick__day.is-start-date.is-in-range.is-flipped {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            border-bottom-left-radius: 0;
            background-color: #e20228;
            background-image: none;
        }

    .lightpick__day.is-start-date.is-end-date {
        background-color: transparent;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect fill='%2356ab2c' x='0' y='0' width='32' height='32' /%3E%3C/svg%3E");
    }

    .lightpick__day.is-start-date {
        color: #FFF;
        font-weight: bold;
        background-color: #56ab2c;
    }

        .lightpick__day.is-end-date,
        .lightpick__day.is-start-date:hover,
        .lightpick__day.is-end-date:hover {
            background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect fill='%23e20228' x='0' y='0' width='32' height='32' /%3E%3C/svg%3E");
            background-size: auto;
            background-position: center;
            color: #FFF;
            font-weight: bold;
        }

.lightpick__tooltip {
    position: absolute;
    margin-top: -4px;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #FFF;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    font-size: 11px;
    pointer-events: none;
}

    .lightpick__tooltip::before {
        position: absolute;
        bottom: -5px;
        left: calc(50% - 5px);
        border-top: 5px solid rgba(0, 0, 0, 0.12);
        border-right: 5px solid transparent;
        border-left: 5px solid transparent;
        content: "";
    }

    .lightpick__tooltip::after {
        position: absolute;
        bottom: -4px;
        left: calc(50% - 4px);
        border-top: 4px solid #FFF;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        content: "";
    }

.lightpick__footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.lightpick__reset-action,
.lightpick__apply-action {
    border-radius: 5px;
    font-size: 12px;
    border: none;
}

.lightpick__reset-action {
    color: #fff;
    background-color: #aeacad;
}

.lightpick__apply-action {
    color: #fff;
    background-color: #2495f3;
}