/*!Don't remove this!
 * jQuery duDatePicker plugin styles
 * 
 * Author: Dionlee Uy
 * Email: dionleeuy@gmail.com
 *
 * Date: Monday, Sept 4 2017
 */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500'); .dcalendarpicker {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(10,10,10,.7);
    z-index: 100001;
    overflow: hidden;
    transition: background-color .2s ease;
}

.dcalendarpicker.dp__animate {
    background-color: transparent;
}

.dcalendarpicker.dp__hidden {
    display: none;
}

.dudp__wrapper {
    font-family: Roboto, sans-serif;
    font-size: 12px;
    line-height: normal;
    position: absolute;
    display: flex;
    flex-direction: column;
    /* top: 35% !important; */
    left: 50%;
    transform: translate(-50%, -35%);
    bottom: 24px;
    min-width: 280px;
    /* min-height: 500px; */
    background: #fff;
    opacity: 1;
    overflow: hidden;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    border-radius: 2px;
    box-shadow: 0px 11px 15px -7px rgb(0 0 0 / 0%), 0px 24px 38px 3px rgb(0 0 0 / 0%), 0px 9px 46px 8px rgb(0 0 0 / 0%);
    transition: transform .25s ease, opacity .25s ease;
}

.dudp__wrapper.dp__animate {
    opacity: 0;
    transform: translateX(-50%) scale(1.05);
}

.dudp__calendar-header {
    font-size: 18px;
    padding: 20px;
    color: rgb(220,220,220);
}

.dudp__calendar-header .dudp__sel-year, .dudp__calendar-header .dcp_sel-date {
    display: block;
    cursor: pointer;
}

.dudp__calendar-header .dudp__sel-year:hover, .dudp__calendar-header .dcp_sel-date:hover {
    color: #fff;
}

.dudp__calendar-header .dcp_sel-date {
    font-size: 30px;
}

.dudp__cal-container {
    position: relative;
    background-color: #fff;
    width: 284px;
    user-select: none;
    overflow: hidden;
    flex: 0 1 auto;
}

.dudp__cal-container .dudp__btn-cal-prev, .dudp__cal-container .dudp__btn-cal-next {
    position: absolute;
    top: 0;
    left: 12px;
    display: block;
    text-align: center;
    font-size: 28px;
    line-height: 44px;
    width: 48px;
    height: 48px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50%;
    opacity: 1;
    visibility: visible;
    transition: opacity .25s ease, background-color .3s ease;
    z-index: 2;
}

.dudp__cal-container .dudp__btn-cal-next {
    left: auto;
    right: 12px;
}

.dudp__cal-container .dudp__btn-cal-prev:hover, .dudp__cal-container .dudp__btn-cal-next:hover {
    background-color: rgba(0,0,0,.15);
}

.dudp__cal-container .dudp__btn-cal-prev:active, .dudp__cal-container .dudp__btn-cal-next:active {
    background-color: rgba(0,0,0,.25);
}

.dudp__cal-container .dudp__btn-cal-prev.dp__hidden, .dudp__cal-container .dudp__btn-cal-next.dp__hidden {
    opacity: 0;
    visibility: hidden;
}

.dudp__cal-container .dudp__calendar-views {
    width: 860px;
    overflow: hidden;
    opacity: 1;
    transition: opacity .25s ease;
}

.dudp__cal-container .dudp__calendar-views.dp__animate-out {
    opacity: 0;
}

.dudp__cal-container .dudp__calendar-views.dp__hidden {
    visibility: hidden;
    opacity: 0;
}

.dudp__cal-container .dudp__calendar {
    display: inline-block;
    transform: translateX(-100%);
    padding: 0 16px 10px;
    transition: none;
}

.dudp__cal-container .dudp__calendar.dp__animate-left {
    transform: translateX(-200%);
    transition: transform .25s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.dudp__cal-container .dudp__calendar.dp__animate-right {
    transform: translateX(0);
    transition: transform .25s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.dudp__calendar .dudp__cal-month-year {
    text-align: center;
    line-height: 48px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.dudp__calendar .dudp__weekdays {
    display: flex;
    flex-direction: row;
}

.dudp__calendar .dudp__weekdays span {
    display: inline-block;
    flex: 0 1 auto;
    width: 36px;
    text-align: center;
    color: rgb(50,50,50);
    font-size: 11px;
    line-height: 20px;
    vertical-align: middle;
}

.dudp__calendar .dudp__cal-week {
    display: flex;
    flex-direction: row;
}

.dudp__calendar .dudp__cal-week .dudp__date {
    flex: 0 1 auto;
    display: block;
    text-decoration: none;
    text-align: center;
    color: rgb(50,50,50);
    width: 36px;
    line-height: 36px;
    height: 36px;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    transition: all .3s;
}

.dudp__calendar .dudp__cal-week .dudp__pm, .dudp__calendar .dudp__cal-week .dudp__nm {
    color: rgb(150,150,150);
}

.dudp__calendar .dudp__cal-week .dudp__date.disabled {
    cursor: not-allowed;
    color: rgb(200,200,200);
}

.dudp__calendar .dudp__cal-week .dudp__date:not(.disabled):not(.selected):hover {
    background-color: rgba(0,0,0,.15);
}

.dudp__calendar .dudp__cal-week .dudp__date:not(.disabled):not(.selected):active {
    background-color: rgba(0,0,0,.25);
}

.dudp__calendar .dudp__cal-week .dudp__date.current {
    color: #1976d2;
    font-weight: 500;
}

.dudp__calendar .dudp__cal-week .dudp__date.pm, .dudp__cal-dates .dudp__date.nm {
    color: rgb(150,150,150);
}

.dudp__calendar .dudp__cal-week .dudp__date.selected {
    font-weight: normal;
    color: #fff !important;
    background-color: #920f90;
}

.dudp__cal-container .dudp__months-view {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 45px 16px;
    opacity: 1;
    transform: scale(1);
    transition: transform .25s ease, opacity .25s ease;
}

.dudp__cal-container .dudp__months-view.dp__animate-out {
    opacity: 0;
    transform: scale(1.3);
}

.dudp__cal-container .dudp__months-view.dp__hidden {
    display: none;
    opacity: 0;
}

.dudp__months-view .dudp__month-row {
    display: flex;
    flex-direction: row;
}

.dudp__months-view .dudp__month {
    flex: 0 1 auto;
    display: inline-block;
    line-height: 68px;
    min-width: 63px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color .3s ease;
}

.dudp__months-view .dudp__month:hover {
    background-color: rgba(0,0,0,.15);
}

.dudp__months-view .dudp__month:active {
    background-color: rgba(0,0,0,.25);
}

.dudp__months-view .dudp__month.selected {
    font-weight: 500;
    color: #1565c0;
}

.dudp__cal-container .dudp__years-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    opacity: 1;
    visibility: visible;
    transition: opacity .25s ease;
    overflow-y: scroll;
    overflow-x: hidden;
}

.dudp__cal-container .dudp__years-view.dp__hidden {
    opacity: 0;
    visibility: hidden;
}

.dudp__years-view .dudp__year {
    display: block;
    padding: 10px 0;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    transition: background-color .3s ease;
}

.dudp__years-view .dudp__year:hover {
    background-color: rgba(0,0,0,.15);
}

.dudp__years-view .dudp__year:active {
    background-color: rgba(0,0,0,.25);
}

.dudp__years-view .dudp__year.selected {
    font-weight: 500;
    font-size: 24px;
    color: #1565c0;
}

.dudp__cal-container .dudp__buttons {
    padding: 0 10px 10px;
    text-align: right;
    text-align: right;
}

.dudp__buttons .dudp__button {
    display: inline-block;
    font-size: 14px;
    padding: 0 16px;
    min-width: 40px;
    text-align: center;
    text-transform: uppercase;
    line-height: 32px;
    font-weight: 500;
    cursor: pointer;
    color: #1565c0;
}

.dudp__buttons .dudp__button.clear {
    float: left;
    color: #b71c1c !important;
}

.dudp__buttons .dudp__button:hover {
    background-color: #e0e0e0;
}

/* Color theme */
.dudp__wrapper[data-theme='blue'] .dudp__calendar-header {
    background-color: #920f90;
}

.dudp__wrapper[data-theme='blue'] .dudp__calendar .dudp__cal-week .dudp__date.current {
    color: #920f90;
}

.dudp__wrapper[data-theme='blue'] .dudp__calendar .dudp__cal-week .dudp__date.selected {
    background-color: #920f90;
}

.dudp__wrapper[data-theme='blue'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover {
    background-color: #722a40;
}

.dudp__wrapper[data-theme='blue'] .dudp__buttons .dudp__button, .dudp__wrapper[data-theme='blue'] .dudp__months-view .dudp__month.selected, .dudp__wrapper[data-theme='blue'] .dudp__years-view .dudp__year.selected {
    color: #000000;
}

.dudp__wrapper[data-theme='red'] .dudp__calendar-header {
    background-color: #c62828;
}

.dudp__wrapper[data-theme='red'] .dudp__calendar .dudp__cal-week .dudp__date.current {
    color: #d32f2f;
}

.dudp__wrapper[data-theme='red'] .dudp__calendar .dudp__cal-week .dudp__date.selected {
    background-color: #d32f2f;
}

.dudp__wrapper[data-theme='red'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover {
    background-color: #b71c1c;
}

.dudp__wrapper[data-theme='red'] .dudp__buttons .dudp__button, .dudp__wrapper[data-theme='red'] .dudp__months-view .dudp__month.selected, .dudp__wrapper[data-theme='red'] .dudp__years-view .dudp__year.selected {
    color: #b71c1c;
}

.dudp__wrapper[data-theme='purple'] .dudp__calendar-header {
    background-color: #6a1b9a;
}

.dudp__wrapper[data-theme='purple'] .dudp__calendar .dudp__cal-week .dudp__date.current {
    color: #7b1fa2;
}

.dudp__wrapper[data-theme='purple'] .dudp__calendar .dudp__cal-week .dudp__date.selected {
    background-color: #7b1fa2;
}

.dudp__wrapper[data-theme='purple'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover {
    background-color: #4a148c;
}

.dudp__wrapper[data-theme='purple'] .dudp__buttons .dudp__button, .dudp__wrapper[data-theme='purple'] .dudp__months-view .dudp__month.selected, .dudp__wrapper[data-theme='purple'] .dudp__years-view .dudp__year.selected {
    color: #4a148c;
}

.dudp__wrapper[data-theme='indigo'] .dudp__calendar-header {
    background-color: #283593;
}

.dudp__wrapper[data-theme='indigo'] .dudp__calendar .dudp__cal-week .dudp__date.current {
    color: #303f9f;
}

.dudp__wrapper[data-theme='indigo'] .dudp__calendar .dudp__cal-week .dudp__date.selected {
    background-color: #303f9f;
}

.dudp__wrapper[data-theme='indigo'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover {
    background-color: #1a237e;
}

.dudp__wrapper[data-theme='indigo'] .dudp__buttons .dudp__button, .dudp__wrapper[data-theme='indigo'] .dudp__months-view .dudp__month.selected, .dudp__wrapper[data-theme='indigo'] .dudp__years-view .dudp__year.selected {
    color: #1a237e;
}

.dudp__wrapper[data-theme='teal'] .dudp__calendar-header {
    background-color: #00695c;
}

.dudp__wrapper[data-theme='teal'] .dudp__calendar .dudp__cal-week .dudp__date.current {
    color: #00796b;
}

.dudp__wrapper[data-theme='teal'] .dudp__calendar .dudp__cal-week .dudp__date.selected {
    background-color: #00796b;
}

.dudp__wrapper[data-theme='teal'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover {
    background-color: #004d40;
}

.dudp__wrapper[data-theme='teal'] .dudp__buttons .dudp__button, .dudp__wrapper[data-theme='teal'] .dudp__months-view .dudp__month.selected, .dudp__wrapper[data-theme='teal'] .dudp__years-view .dudp__year.selected {
    color: #004d40;
}

.dudp__wrapper[data-theme='green'] .dudp__calendar-header {
    background-color: #2e7d32;
}

.dudp__wrapper[data-theme='green'] .dudp__calendar .dudp__cal-week .dudp__date.current {
    color: #388e3c;
}

.dudp__wrapper[data-theme='green'] .dudp__calendar .dudp__cal-week .dudp__date.selected {
    background-color: #388e3c;
}

.dudp__wrapper[data-theme='green'] .dudp__calendar .dudp__cal-week .dudp__date.selected:hover {
    background-color: #1b5e20;
}

.dudp__wrapper[data-theme='green'] .dudp__buttons .dudp__button, .dudp__wrapper[data-theme='green'] .dudp__months-view .dudp__month.selected, .dudp__wrapper[data-theme='green'] .dudp__years-view .dudp__year.selected {
    color: #1b5e20;
}

/* End color theme */
body[datepicker-display='on'] {
    overflow: hidden;
}

@media (max-height: 414px) {
    .dudp__wrapper {
        flex-direction: row;
        bottom: 8px;
    }

    .dudp__calendar-header {
        width: 110px;
    }
}

@media (max-height: 320px) {
    .dudp__wrapper {
        bottom: 0;
    }
}
