


/* Datepicker General Styles */

.ui-datepicker {display: none;}
.ui-state-disabled {cursor: default !important;}
.ui-icon {display: block; text-indent: -99999px; overflow: hidden;}
#ui-datepicker-div {background: #1A7888; width: 232px;z-index: 2 !important;}

/* Datepicker Header */

.ui-datepicker-header {
    position:relative;
    padding:0;
    margin: 0 -12px 0;
}
#ui-datepicker-div .ui-datepicker-header {margin: 0;}

.ui-datepicker-header:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -38px;
    height: 38px;
    background: rgba(0,0,0,0.36);
}
#ui-datepicker-div .ui-datepicker-header:after {bottom: -30px; height: 30px;}

.ui-datepicker-prev::selection,
.ui-datepicker-next::selection,
.ui-datepicker-prev span::selection,
.ui-datepicker-next span::selection {
    background-color: transparent;
}
.ui-datepicker-prev,
.ui-datepicker-next {
    position:absolute;
    top: 17px;
    left: 18px;
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    background: url(arrows-thin.png) -3px -3px no-repeat;
    opacity: .5;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
    .ui-datepicker-prev,
    .ui-datepicker-next {
        background-image: url(arrows-thin-x2.png);
        background-size: 50px auto;
    }
}
.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    opacity: 1;
}
.ui-datepicker-prev.ui-state-disabled,
.ui-datepicker-next.ui-state-disabled {
    opacity: .5;
}
.ui-datepicker-next {
    left: auto;
    right: 18px;
    background-position: -27px -3px;
}
#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next {
    top: 11px;
    left: 11px;
}
#ui-datepicker-div .ui-datepicker-next {
    left: auto;
    right: 11px;
}
.ui-datepicker-title {
    height: 58px;
    line-height: 58px;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
#ui-datepicker-div .ui-datepicker-title {
    height: 44px;
    line-height: 44px;
    font-size: 14px;
}

/* Datepicker Table */

.ui-datepicker table {width: 100%; border-collapse: collapse; position: relative;}

/* MO-TU-WE-TH-FR-SA-SU */
.ui-datepicker th {
    text-align: center;
    text-shadow: none;
    padding: 11px 0 32px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}
#ui-datepicker-div th {padding:6px 0;}

/* Dates general */
.ui-datepicker td span,
.ui-datepicker td a {
    display: block;
    height: 36px;
    font-size: 14px;
    line-height: 36px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.16);
    border-left: 1px solid rgba(255,255,255,0.16);
}
.ui-datepicker td a:hover {color: #fff !important;}

#ui-datepicker-div td span,
#ui-datepicker-div td a {
    height: 28px;
    line-height: 28px;
}
.ui-datepicker tr td:last-child span,
.ui-datepicker tr td:last-child a {
    border-right: 1px solid rgba(255,255,255,0.16);
}
.ui-datepicker tr:last-child td span,
.ui-datepicker tr:last-child td a {
    border-bottom: 1px solid rgba(255,255,255,0.16);
}

/* Date Today */
td.ui-datepicker-today a,
td.ui-datepicker-today a.ui-state-hover {
    border: 1px solid rgba(255,255,255,0.5);
}

/* Date on Hover */
td a.ui-state-hover {background: rgba(0,0,0,0.1);}

/* Date Selected */
td.ui-state-highlight a,
td.ui-datepicker-today.ui-state-highlight a,
#ui-datepicker-div td.ui-datepicker-current-day a,
#ui-datepicker-div td.ui-datepicker-current-day.ui-datepicker-today a {
    background: #24abe8;
    background: rgba(0,0,0,0.36);
    -webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
}

/* Date from the Other Month */
td.ui-datepicker-other-month span{color: #86d6ff;}
.widget-calendar.green td.ui-datepicker-other-month span{color: #317c1a;}
.widget-calendar.red td.ui-datepicker-other-month span{color: #8A3946;}

/* Responsive */
@media (max-width: 479px), (min-width: 768px) and (max-width: 991px) {
    .ui-datepicker-prev {left: 6px;}
    .ui-datepicker-next {right: 6px;}
    .ui-datepicker td span, .ui-datepicker td a {height: 30px; line-height: 30px;}
    .ui-datepicker-title {font-size: 16px;}
}

/*-----------------------------------*/
/* Forms */
/*-----------------------------------*/
