.d-noscroll {
    overflow: hidden
}

#Datepickk {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 6;
    width: 100%;
    height: 100%;
    font-family: inherit;
    color: #333;
    user-select: none
}

#Datepickk.MSIE:not(.wrapped):not(.inline) .d-calendar {
    height: 560px
}

#Datepickk.d-show .d-overlay {
    animation-name: show;
    animation-duration: .2s;
    animation-timing-function: ease-out;
    animation-fill-mode: both
}

#Datepickk.d-hide > * {
    animation-name: d;
    animation-duration: .2s;
    animation-timing-function: linear;
    animation-fill-mode: both
}

#Datepickk.d-hide .d-overlay {
    animation-name: show;
    animation-duration: .15s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    animation-direction: reverse
}

#Datepickk .d-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(55, 58, 71, .95);
    z-index: 1
}

#Datepickk .d-title {
    text-align: center
}

#Datepickk .d-confirm,
#Datepickk .d-title {
    color: #fff;
    position: relative;
    font-size: 30px;
    margin: 25px 0;
    z-index: 2
}

#Datepickk .d-confirm {
    border: none;
    background-color: transparent;
    outline: none;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    padding: 0
}

#Datepickk .d-confirm:empty,
#Datepickk .d-title:empty {
    display: none
}

@media (max-height:528px) {
    #Datepickk .d-confirm,
    #Datepickk .d-title {
        font-size: 20px;
        margin: 15px 0
    }
    #Datepickk .d-calendar {
        font-size: 20px
    }
}

#Datepickk.multi .d-calendar,
#Datepickk.multi .d-legend {
    max-width: 800px
}

#Datepickk.multi .d-table {
    position: relative;
    padding-top: 35px
}

#Datepickk.multi .d-table:before {
    content: attr(data-month);
    text-align: right;
    width: 100%;
    font-size: 1em;
    padding: 5px 10px 5px 0;
    box-sizing: border-box;
    color: #ccc;
    position: absolute;
    left: 0;
    top: 0
}

#Datepickk.inline.d-show .d-calendar {
    animation: none
}

#Datepickk.inline,
#Datepickk.wrapped {
    position: static;
    z-index: 0
}

#Datepickk.inline .d-calendar,
#Datepickk.wrapped .d-calendar {
    box-shadow: none;
    z-index: 0;
    max-width: none;
    max-height: none
}

#Datepickk.inline .d-confirm,
#Datepickk.inline .d-title,
#Datepickk.wrapped .d-confirm,
#Datepickk.wrapped .d-title {
    color: #222
}

#Datepickk.inline .d-overlay,
#Datepickk.wrapped .d-overlay {
    display: none
}

#Datepickk.inline .d-legend,
#Datepickk.wrapped .d-legend {
    color: #222 !important;
    max-width: none;
    max-height: none
}

#Datepickk.fullscreen .d-calendar {
    max-width: none;
    max-height: none
}

#Datepickk.fullscreen .d-calendar input + label {
    outline: 1px solid #eaeaea;
    box-sizing: border-box;
    align-items: flex-start !important;
    justify-content: flex-end !important
}

#Datepickk.fullscreen .d-calendar input + label text {
    padding: 5px 10px 0 0
}

#Datepickk.fullscreen .d-legend {
    max-width: none
}

#Datepickk .d-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    z-index: 2;
    background-color: #f5f5f5;
    max-width: 500px;
    position: relative;
    color: #fff
}

#Datepickk .d-legend:empty {
    height: 0
}

#Datepickk .d-legend p {
    backface-visibility: visible !important;
    animation-name: b;
    animation-duration: .5s;
    animation-fill-mode: both;
    margin: 0;
    padding: 15px;
    transition: background-color .2s ease;
    cursor: pointer;
    color: #1b353f
}

#Datepickk .d-legend p:after {
    content: attr(data-legend)
}

#Datepickk .d-legend p span {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    vertical-align: bottom;
    display: inline-block;
    margin-right: 10px
}

#Datepickk .d-calendar {
    margin: 0;
    background-color: rgb(228, 229, 230);
    box-shadow: 0 2px 10px -2px rgba(0, 0, 0, .6);
    font-size: 20px;
    width: 100%;
    position: relative;
    max-width: 500px;
    max-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    z-index: 2
}

/* ##################### MODIFIED ################### */

#Datepickk .d-header {

    border-top-right-radius: 10px;
    border-top-left-radius: 10px;

    position: relative;
    background-color: #1b363f;
    color: #fff;
    font-size: 1.5em
}

#Datepickk .d-header p {
    margin: .5em 0;
    text-align: center
}

#Datepickk .d-header i {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    text-align: center;
    border-radius: 100%;
    transition: background-color .2s ease;
    transform: translateY(-50%)
}

#Datepickk .d-header i:after,
#Datepickk .d-header i:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute
}

#Datepickk .d-header i:before {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent
}

#Datepickk .d-header i:after {
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    transition: border-color .2s ease
}

#Datepickk .d-header i#d-previous {
    left: 20px
}

#Datepickk .d-header i#d-previous:before {
    border-right: 10px solid #fff;
    top: 5px;
    left: 7px
}

#Datepickk .d-header i#d-previous:after {
    border-right: 7px solid #1b363f;
    top: 8px;
    left: 10px
}

#Datepickk .d-header i#d-next {
    right: 20px
}

#Datepickk .d-header i#d-next:before {
    border-left: 10px solid #fff;
    top: 5px;
    left: 12px
}

#Datepickk .d-header i#d-next:after {
    border-left: 7px solid #1b363f;
    top: 8px;
    left: 12px
}

#Datepickk .d-header i:hover {
    background-color: #5e7178
}

#Datepickk .d-header i:hover:after {
    border-left-color: #5e7178 !important;
    border-right-color: #5e7178 !important
}

/* ##################### MODIFIED ################### */

#Datepickk .d-month {

    pointer-events: none;
    white-space: nowrap
}

/* ##################### MODIFIED ################### */

#Datepickk .d-year {

    display: none;

    margin-left: 10px;
    cursor: pointer
}

#Datepickk .d-year:before {
    content: ""
}

#Datepickk .d-month-picker {
    display: flex;
    justify-content: space-between;
    background-color: rgba(27, 54, 63, .9);
    height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: height .2s ease
}

#Datepickk .d-month-picker.d-show {
    height: 44px;
    pointer-events: auto
}

#Datepickk .d-month-picker > div {
    width: 8.33333%;
    text-align: center;
    line-height: 44px;
    color: #fff;
    cursor: pointer
}

#Datepickk .d-month-picker > div:focus,
#Datepickk .d-month-picker > div:hover {
    background-color: #e32d2d;
    color: #fff
}

#Datepickk .d-month-picker > div.current {
    background-color: #e9965a;
    color: #fff
}

#Datepickk .d-year-picker {
    display: flex;
    justify-content: space-between;
    background-color: rgba(27, 54, 63, .9);
    height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: height .2s ease
}

#Datepickk .d-year-picker.d-show {
    height: 44px;
    pointer-events: auto
}

#Datepickk .d-year-picker > div {
    width: 9.09091%;
    text-align: center;
    line-height: 44px;
    color: #fff;
    cursor: pointer
}

#Datepickk .d-year-picker > div:focus,
#Datepickk .d-year-picker > div:hover {
    background-color: #e32d2d;
    color: #fff
}

#Datepickk .d-year-picker > div.current {
    background-color: #e9965a;
    color: #fff
}

#Datepickk .d-weekdays {
    display: flex
}

/* ##################### MODIFIED ################### */

#Datepickk .d-week {
    background-color: #17b895;
    color: #fff;
    display: flex;
    width: 100%
}

#Datepickk .d-week + .d-week {
    border-left: 1px solid hsla(0, 0%, 100%, .05)
}

#Datepickk .d-week > div {
    flex-basis: 14.28571%;
    text-align: center
}

#Datepickk .d-week > div p {
    margin: .8em 0
}

@media (max-height:540px) {
    #Datepickk .d-week {
        display: none
    }
}

#Datepickk .d-table {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex: 1
}

#Datepickk .d-table:first-child:nth-last-child(n+3),
#Datepickk .d-table:first-child:nth-last-child(n+3) ~ div {
    flex: 0;
    flex-basis: calc(100% / 3 - 1px);
    border-bottom: 1px solid rgba(0, 0, 0, .05)
}

#Datepickk .d-table label:nth-of-type(7n) .d-date-legends {
    padding-right: 0
}

#Datepickk .d-table label:nth-last-of-type(-n+7) .d-date-legends {
    padding-bottom: 0
}

#Datepickk .d-table input {
    display: none
}

#Datepickk .d-table input + label {
    flex-basis: 14.28571%;
    -ms-flex-preferred-size: 14.28%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s ease, background .2s ease, color .2s ease;
    position: relative;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-sizing: border-box
}

#Datepickk .d-table input + label text {
    z-index: 3;
    pointer-events: none;
    position: relative
}

#Datepickk .d-table input + label[style*=linear-gradient] text {
    text-shadow: 0 0 20px #000
}

/* ##################### MODIFIED ################### */

#Datepickk .d-table input + label.today text:before {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #1b363f;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* ##################### MODIFIED ################### */

#Datepickk .d-table input + label:before {
    content: "";
    position: absolute;
    left: 12.5%;
    width: 75%;
    border-radius: 5px;
    transition: transform .1s ease-out;
    transform: scaleX(0);
    transform-origin: left;


    background-color: transparent;
    border: solid 2px;

    padding: 3px;

    border-color: #F4B350;

    top: 9.5%;
    height: 85%;
}

#Datepickk .d-table input + label.legend-hover {
    animation: a 1s infinite;
    z-index: 4
}

@keyframes a {
    0% {
        transform: translate(0)
    }
    50% {
        transform: translateY(-5px)
    }
    to {
        transform: translate(0)
    }
}

#Datepickk .d-table input + label.next,
#Datepickk .d-table input + label.prev {
    color: #ccc
}

#Datepickk .d-table input + label [data-tooltip]:after {
    content: "";
    border-radius: 100%;
    background-color: #1b363f;
    width: 5px;
    height: 5px;
    position: absolute;
    top: 0;
    right: -10px
}

#Datepickk .d-table input + label .d-tooltip {
    position: absolute;
    background-color: #1b363f;
    color: #fff;
    padding: 7px;
    font-size: .7em;
    z-index: 5;
    text-align: center;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -5px);
    display: none
}

#Datepickk .d-table input + label .d-tooltip:before {
    content: "";
    border-bottom: 7px solid #1b363f;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    top: -7px;
    left: 50%;
    position: absolute;
    margin-left: -5px
}

#Datepickk .d-table input + label .d-tooltip:empty {
    display: none !important
}

#Datepickk .d-table input + label:hover .d-tooltip {
    display: block
}

/* ##################### MODIFIED ################### */

#Datepickk .d-table input:checked + label {
    color: black;
}

#Datepickk .d-table input:checked + label:before {
    transform: scaleX(1)
}

#Datepickk .d-table input:disabled + label {
    cursor: not-allowed
}

#Datepickk .d-table input:disabled + label:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 20%;
    width: 60%;
    height: 2px;
    z-index: 4;
    background-color: #c60000;
    transform-origin: center;
    transform: rotate(-25deg)
}

#Datepickk .d-table input + label.d-hidden {
    cursor: default;
    color: #ccc !important;
    background: #f0f0f0 !important;
    text-decoration: line-through
}

#Datepickk .d-table input + label.d-hidden:after {
    content: none
}

/* ##################### MODIFIED ################### */

#Datepickk .d-tables {
    display: flex;
    flex: 1;
    flex-wrap: wrap;

    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;

    border: 2px solid #17b895;

    background-color: white;

    z-index: 99;

    padding-bottom: 5px;
}

/* ##################### MODIFIED ################### */

#Datepickk .d-tables:not(.locked) input:not(:checked) + label:not(.hidden):hover {
    color: #222;
    background-color: #F4B35050;
}

#Datepickk .d-tables.locked label {
    cursor: default
}

#Datepickk .d-tables.range:not(.before) input:not(.single):checked + label,
#Datepickk .d-tables.range:not(.before) input:not(.single):checked + label ~ label:not(.hidden) {
    color: #fff
}

#Datepickk .d-tables.range:not(.before) input:not(.single):checked + label ~ label:not(.hidden):before {
    transform: scaleX(1);
    background-color: rgba(125, 208, 118, .5)
}

#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ label:focus ~ label,
#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ label:hover ~ label {
    color: #666
}

#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ label:focus ~ label:before,
#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ label:hover ~ label:before {
    transform: scaleX(0)
}

#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ label:focus ~ label.next,
#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ label:focus ~ label.prev,
#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ label:hover ~ label.next,
#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ label:hover ~ label.prev {
    color: #ccc
}

#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ input:checked + label {
    color: #fff
}

#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ input:checked + label:before {
    transform: scaleX(1);
    background-color: #7dd076
}

#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ input:checked + label ~ label {
    color: inherit
}

#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ input:checked + label ~ label.next,
#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ input:checked + label ~ label.prev {
    color: #ccc
}

#Datepickk .d-tables.range:not(.before) input:not(.single):checked ~ input:checked + label ~ label:before {
    transform: scaleX(0)
}

#Datepickk .d-tables.range.before input:not(.single):not(:checked) + label {
    color: #fff
}

#Datepickk .d-tables.range.before input:not(.single):not(:checked) + label:before {
    transform: scaleX(1);
    background-color: rgba(233, 90, 126, .3)
}

#Datepickk .d-tables.range.before input:not(.single):checked + label ~ label {
    color: inherit
}

#Datepickk .d-tables.range.before input:not(.single):checked + label ~ label.next,
#Datepickk .d-tables.range.before input:not(.single):checked + label ~ label.prev {
    color: #ccc
}

#Datepickk .d-tables.range.before input:not(.single):checked + label ~ label:before {
    transform: scaleX(0)
}

#Datepickk .d-fadeInUp {
    backface-visibility: visible !important;
    animation-name: b;
    animation-duration: .5s;
    animation-fill-mode: both
}

@keyframes b {
    0% {
        opacity: 0;
        transform: translate3d(0, 100%, 0)
    }
    to {
        opacity: 1;
        transform: none
    }
}

.d-fadeInUp {
    animation-name: b
}

#Datepickk.d-show > * {
    animation-name: c;
    animation-duration: .2s;
    animation-timing-function: ease-out;
    animation-fill-mode: both
}

@keyframes c {
    0% {
        opacity: 0;
        transform: translateY(-50px)
    }
}

@keyframes d {
    to {
        opacity: 0;
        transform: translateY(50px)
    }
}
