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

.lightpick,
.lightpick *,
.lightpick::after,
.lightpick::before {
    box-sizing: border-box;
}

.lightpick.is-hidden {
    display: none;
}

.lightpick__months {
    display: grid;
    background-color: #EEE;
    grid-template-columns: auto;
    grid-gap: 1px;
}

.lightpick--2-columns .lightpick__months {
    grid-template-columns: auto auto;
}

.lightpick--3-columns .lightpick__months {
    grid-template-columns: auto auto auto;
}

.lightpick--4-columns .lightpick__months {
    grid-template-columns: auto auto auto auto;
}

.lightpick--5-columns .lightpick__months {
    grid-template-columns: auto auto auto auto auto;
}

.lightpick__month {
    padding: 4px;
    width: 288px;
    background-color: #FFF;
}

.lightpick__month-title-bar {
    display: flex;
    margin-bottom: 4px;
    justify-content: space-between;
    align-items: center;
}

.lightpick__month-title {
    margin-top: 4px;
    margin-bottom: 4px;
    margin-left: 4px;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    cursor: default;
    padding: 0 4px;
    border-radius: 4px;
}
.lightpick__month .lightpick__month-title:hover {
    background-color: #EEE;
}

.lightpick__month-title-accent {
    font-weight: bold;
    pointer-events: none;
}

.lightpick__toolbar {
    display: flex;
    text-align: right;
    justify-content: flex-end;
}

.lightpick__previous-action,
.lightpick__next-action,
.lightpick__close-action {
    display: flex;
    margin-left: 6px;
    width: 32px;
    height: 32px;
    outline: none;
    border: none;
    border-radius: 50%;
    background-color: #DDD;
    justify-content: center;
    align-items: center;
}

.lightpick__previous-action,
.lightpick__next-action {
    font-size: 12px;
}

.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 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.lightpick__day-of-the-week {
    display: flex;
    font-size: 11px;
    font-weight: bold;
    justify-content: center;
    align-items: center;
}

.lightpick__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.lightpick__day {
    display: flex;
    height: 40px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 13px;
    justify-content: center;
    align-items: center;
    cursor: default;
}

.lightpick__day.is-today {
    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%3Ccircle fill='rgba(0,0,0,0)' stroke='rgba(0,0,0,1)' stroke-width='1' vector-effect='non-scaling-stroke' cx='16' cy='16' r='14'/%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: transparent;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    background-image: none;
}

.lightpick__day.is-start-date.is-in-range,
.lightpick__day.is-end-date.is-in-range.is-flipped {
    border-top-left-radius: 50%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 50%;
    background-color: transparent;
    border: 1px solid black;
    border-right: none;
    background-image: none;
}
.lightpick__day.is-start-date.is-in-range:before,
.lightpick__day.is-end-date.is-in-range.is-flipped:before {
    display: none !important;
}

.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: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 0;
    background-color: transparent;
    border: 1px solid black;
    border-left: none;
    background-image: none;
}
.lightpick__day.is-end-date.is-in-range:before,
.lightpick__day.is-start-date.is-in-range.is-flipped:before {
    display: none !important;
}
.lightpick__day.is-end-date.is-in-range:hover:before,
.lightpick__day.is-start-date.is-in-range.is-flipped:hover:before {
    display: none !important;
}

.lightpick__day.is-start-date.is-end-date {
    background-color: transparent;
    border: none;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' vector-effect='non-scaling-stroke' viewBox='0 0 32 32'%3E%3Ccircle fill='rgba(0,0,0,0)' stroke='rgba(0,0,0,1)' stroke-width='1' cx='16' cy='16' r='14'/%3E%3C/svg%3E");
}

.lightpick__day.is-start-date,
.lightpick__day.is-end-date,
.lightpick__day.is-start-date:hover,
.lightpick__day.is-end-date:hover {
    position: relative;
    /*background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle fill='rgba(0,0,0,0)' stroke='rgba(0,0,0,1)' stroke-width='1' cx='16' cy='16' r='14'/%3E%3C/svg%3E");*/
    color: #000;
}
.lightpick__day.is-start-date:before,
.lightpick__day.is-end-date:before,
.lightpick__day.is-start-date:hover:before,
.lightpick__day.is-end-date:hover:before {
    content: '';
    position: absolute;
    display: block;
    width:100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle fill='rgba(0,0,0,0)' stroke='rgba(0,0,0,1)' vector-effect='non-scaling-stroke' stroke-width='1' cx='16' cy='16' r='14'/%3E%3C/svg%3E");
}

.lightpick__tooltip {
    position: absolute;
    margin-top: -4px;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #FFF;
    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__months-of-the-year {
    padding: 4px;
    background-color: #FFF;
}
.lightpick__months-of-the-year-list {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 8px;
}
.lightpick__month-of-the-year {
    padding: 0 10px;
    text-align: center;
    border-radius: 3px;
    box-shadow: inset -1px -1px 1px 1px #E0E0E0;
    cursor: default;
    display: flex;
    flex-direction: column;
}
.lightpick__month-of-the-year > div:first-child {
    padding: 10px 0 2px 0;
    font-size: .9em;
    pointer-events: none;
}
.lightpick__month-of-the-year > div:last-child {
    font-size: .7em;
    color: #bbb;
    padding: 2px 0 10px 0;
    pointer-events: none;
}
.lightpick__month-of-the-year:hover {
    background-color: #E0E0E0;
    background-image: none;
}
.lightpick__footer {
    display: flex;
    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;
}

/* --------- custom styles ----------- */

.datepicker-input{
  display: none;
}

.lightpick{
  font-family: "New Rail Alphabet";
  padding: 0px;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}
.datepicker-holder, .lightpick-inner, .lightpick__month{
  width: 100%;
}
.lightpick__month-title-bar{
  position: relative;
  margin-bottom: calc((18 / 1440) * 100vw);

}
.lightpick__month-title-bar .lightpick__month-title{
  width: 100%;
  text-align: center;
  margin-left: 0;
  font-size: calc((17 / 1440) * 100vw) !important;
  line-height: calc((20 / 1440) * 100vw) !important;
  font-weight: 300;
  margin-bottom: 2px;
}
.lightpick__month-title-bar .lightpick__toolbar{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: space-between;
}
.lightpick__month-title-bar .lightpick__toolbar button{
  margin: 0;
  padding: 0 calc((6 / 1440) * 100vw);
  background-color: transparent;
  font-size: calc((17 / 1440) * 100vw) !important;
  line-height: calc((20 / 1440) * 100vw) !important;
  font-weight: 300;
  width: auto;
  height: auto;
  cursor: pointer;
}
.lightpick__days-of-the-week{
  margin-bottom: calc((10 / 1440) * 100vw) !important;
}
.lightpick__day-of-the-week{
  font-size: calc((12 / 1440) * 100vw) !important;
  line-height: calc((13 / 1440) * 100vw) !important;
  font-weight: 300;
}
.lightpick__day{
  margin-bottom: calc((2 / 1440) * 100vw);
  font-size: calc((16 / 1440) * 100vw);
  height: calc((34 / 1440) * 100vw);
}
.lightpick__day.is-today, .lightpick__day.is-start-date, .lightpick__day.is-end-date, .is-in-range{
  color: black;
  font-weight: 300;
  background-color: transparent;
}
.lightpick__months-of-the-year{
  display: none;
}
.lightpick__footer button{
  font-family: "New Rail Alphabet";
  font-size: calc((12 / 1440) * 100vw) !important;
  line-height: calc((13 / 1440) * 100vw) !important;
  font-weight: 300;
  background-color: transparent;
  color: black;
  padding: calc((10 / 1440) * 100vw) calc((12 / 1440) * 100vw);
  cursor: pointer;
}
.datepicker-holder2{
    width: 100%;
}
.lightpick__inner{
    margin: 0 calc((-10 / 1440) * 100vw);
}
@media(max-width: 999px){
    .lightpick__inner{
        margin: 0 calc((-10 / 768) * 100vw);
    }
    .lightpick__month-title-bar{
        margin-bottom: calc((18 / 768) * 100vw);

    }
    .lightpick__month-title-bar .lightpick__month-title{
        font-size: calc((17 / 768) * 100vw) !important;
        line-height: calc((20 / 768) * 100vw) !important;
    }

    .lightpick__month-title-bar .lightpick__toolbar button{
        padding: 0 calc((6 / 768) * 100vw);
        font-size: calc((17 / 768) * 100vw) !important;
        line-height: calc((20 / 768) * 100vw) !important;
    }
    .lightpick__days-of-the-week{
        margin-bottom: calc((10 / 768) * 100vw) !important;
    }
    .lightpick__day-of-the-week{
        font-size: calc((12 / 768) * 100vw) !important;
        line-height: calc((13 / 768) * 100vw) !important;
    }
    .lightpick__day{
        font-size: calc((16 / 768) * 100vw);
        height: calc((34 / 768) * 100vw);
        margin-bottom: calc((8 / 768) * 100vw);
    }
    .lightpick__footer button{
        font-size: calc((12 / 768) * 100vw) !important;
        line-height: calc((13 / 768) * 100vw) !important;
        padding: calc((10 / 768) * 100vw) calc((12 / 768) * 100vw);
    }
}
@media(max-width: 500px){
    .lightpick__inner{
        margin: 0 calc((-15 / 375) * 100vw);
    }
    .lightpick__month-title-bar{
        margin-bottom: calc((18 / 375) * 100vw);

    }
    .lightpick__month-title-bar .lightpick__month-title{
        font-size: calc((17 / 375) * 100vw) !important;
        line-height: calc((20 / 375) * 100vw) !important;
    }

    .lightpick__month-title-bar .lightpick__toolbar button{
        padding: 0 calc((6 / 375) * 100vw);
        font-size: calc((17 / 375) * 100vw) !important;
        line-height: calc((20 / 375) * 100vw) !important;
    }
    .lightpick__days-of-the-week{
        margin-bottom: calc((10 / 375) * 100vw) !important;
    }
    .lightpick__day-of-the-week{
        font-size: calc((12 / 375) * 100vw) !important;
        line-height: calc((13 / 375) * 100vw) !important;
    }
    .lightpick__day{
        font-size: calc((16 / 375) * 100vw);
        height: calc((34 / 375) * 100vw);
        margin-bottom: calc((8 / 375) * 100vw);
    }
    .lightpick__footer button{
        font-size: calc((12 / 375) * 100vw) !important;
        line-height: calc((13 / 375) * 100vw) !important;
        padding: calc((10 / 375) * 100vw) calc((12 / 375) * 100vw);
    }
}