﻿.ui-datepicker {
    border: solid 1px #979797;
    border-radius: 0;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.24);
    background-color: #fff;
    width: 100%;
    max-width: 520px;
    z-index: 2000 !important;
    padding: 0;
    display: none;
    overflow: hidden;
}

    .ui-datepicker .ui-datepicker-header {
        position: relative;
        border: 0;
        border-bottom: 1px solid #fff;
        border-radius: 0;
        padding: 18px 18px 0;
        background-color: #fff;
    }

    .ui-datepicker .ui-datepicker-prev,
    .ui-datepicker .ui-datepicker-next {
        position: absolute;
        top: 2px;
        width: 1.8em;
        height: 1.8em;
    }

    .ui-datepicker .ui-datepicker-prev-hover,
    .ui-datepicker .ui-datepicker-next-hover {
        top: 1px;
    }

    .ui-datepicker .ui-datepicker-prev {
        left: 2px;
    }

    .ui-datepicker .ui-datepicker-next {
        right: 2px;
    }

    .ui-datepicker .ui-datepicker-prev-hover {
        left: 1px;
    }

    .ui-datepicker .ui-datepicker-next-hover {
        right: 1px;
    }

    .ui-datepicker .ui-datepicker-prev span,
    .ui-datepicker .ui-datepicker-next span {
        display: block;
        position: absolute;
        left: 50%;
        margin-left: -8px;
        top: 50%;
        margin-top: -8px;
    }

    .ui-datepicker .ui-datepicker-title {
        margin: 0 2.3em;
        line-height: 1.8em;
        text-align: center;
    }

        .ui-datepicker .ui-datepicker-title select {
            font-size: 1em;
            margin: 1px 0;
        }

    .ui-datepicker select.ui-datepicker-month,
    .ui-datepicker select.ui-datepicker-year {
        width: 49%;
    }

    .ui-datepicker table {
        width: 100%;
        font-size: .9em;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
        background-clip: padding-box;
        background-color: transparent;
        border-collapse: collapse;
        overflow-x: hidden;
        display: table;
        border: 0px;
    }

    .ui-datepicker th {
        padding: .7em .3em;
        text-align: center;
        font-weight: bold;
        border: 0;
    }

    .ui-datepicker td {
        border: 0;
        padding: 1px;
    }

        .ui-datepicker td span,
        .ui-datepicker td a,
        .ui-datepicker td .expandable-panel-link {
            display: block;
            text-align: right;
            text-decoration: none;
            padding: 6px;
            min-width: 32px;
        }

    .ui-datepicker .ui-datepicker-buttonpane {
        background-image: none;
        padding: 0 .2em;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        width: 100%;
        text-align: center;
        margin: 0 0 2.4rem;
    }

        .ui-datepicker .ui-datepicker-buttonpane button {
            float: right;
            cursor: pointer;
            width: auto;
            overflow: visible;
            text-align: center;
            border-radius: 0;
            background-color: transparent;
            border: 1px solid #C7DAE7;
            height: auto;
            color: #061B2B;
            line-height: 2.4;
            margin: 0;
            padding: 0;
            min-width: 115px;
            font-family: "D-DIN-PRO", sans-serif;
            font-size: 14px;
            transition: all 0.3s ease-out ease-out;
            box-shadow: none;
            font-weight: bold !important;
            outline: none;
        }

            .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
                float: left;
            }

    /* with multiple calendars */
    .ui-datepicker.ui-datepicker-multi {
        width: auto !important;
    }

.ui-datepicker-multi .ui-datepicker-group {
    float: left;
}

    .ui-datepicker-multi .ui-datepicker-group table {
        width: 95%;
        margin: 0 auto .4em;
    }

.ui-datepicker-multi-2 .ui-datepicker-group {
    width: 50%;
}

.ui-datepicker-multi-3 .ui-datepicker-group {
    width: 33.3%;
}

.ui-datepicker-multi-4 .ui-datepicker-group {
    width: 25%;
}

.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
    border-left-width: 0;
}

.ui-datepicker-multi .ui-datepicker-buttonpane {
    clear: left;
}

.ui-datepicker-row-break {
    clear: both;
    width: 100%;
    font-size: 0;
}

/* RTL support */
.ui-datepicker-rtl {
    direction: rtl;
}

    .ui-datepicker-rtl .ui-datepicker-prev {
        right: 2px;
        left: auto;
    }

    .ui-datepicker-rtl .ui-datepicker-next {
        left: 2px;
        right: auto;
    }

    .ui-datepicker-rtl .ui-datepicker-prev:hover {
        right: 1px;
        left: auto;
    }

    .ui-datepicker-rtl .ui-datepicker-next:hover {
        left: 1px;
        right: auto;
    }

    .ui-datepicker-rtl .ui-datepicker-buttonpane {
        clear: right;
    }

        .ui-datepicker-rtl .ui-datepicker-buttonpane button {
            float: left;
        }

            .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
            .ui-datepicker-rtl .ui-datepicker-group {
                float: right;
            }

    .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
    .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
        border-right-width: 0;
        border-left-width: 1px;
    }

/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    border: 1px solid #77d5f7;
    background: #0078ae url(images/ui-bg_glass_45_0078ae_1x400.png) 50% 50% repeat-x;
    font-weight: normal;
    color: #ffffff;
}

    .ui-state-default a, .ui-state-default .expandable-panel-link,
    .ui-state-default a:link,
    .ui-state-default .expandable-panel-link:link,
    .ui-state-default a:visited,
    .ui-state-default .expandable-panel-link:visited {
        color: #ffffff;
        text-decoration: none;
    }

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
    border: 1px solid #448dae;
    background: #C7DAE7 url(images/ui-bg_glass_75_79c9ec_1x400.png) 50% 50% repeat-x !important;
    font-weight: normal;
    color: #000;
    border-radius: 0px !important;
}

    .ui-state-hover a, .ui-state-hover .expandable-panel-link,
    .ui-state-hover a:hover,
    .ui-state-hover .expandable-panel-link:hover,
    .ui-state-hover a:link,
    .ui-state-hover .expandable-panel-link:link,
    .ui-state-hover a:visited,
    .ui-state-hover .expandable-panel-link:visited,
    .ui-state-focus a,
    .ui-state-focus .expandable-panel-link,
    .ui-state-focus a:hover,
    .ui-state-focus .expandable-panel-link:hover,
    .ui-state-focus a:link,
    .ui-state-focus .expandable-panel-link:link,
    .ui-state-focus a:visited,
    .ui-state-focus .expandable-panel-link:visited {
        color: #026890;
        text-decoration: none;
    }

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: 1px solid #c7dae7;
    background: #c7dae7 url(images/ui-bg_gloss-wave_50_6eac2c_500x100.png) 50% 50% repeat-x;
    font-weight: normal;
    color: #ffffff;
}

    .ui-state-active a, .ui-state-active .expandable-panel-link,
    .ui-state-active a:link,
    .ui-state-active .expandable-panel-link:link,
    .ui-state-active a:visited,
    .ui-state-active .expandable-panel-link:visited {
        color: #ffffff;
        text-decoration: none;
    }

/* Interaction Cues
----------------------------------*/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    border: 1px solid #fcd113;
    background: #f8da4e url(images/ui-bg_glass_55_f8da4e_1x400.png) 50% 50% repeat-x;
    color: #915608;
}

    .ui-state-highlight a, .ui-state-highlight .expandable-panel-link,
    .ui-widget-content .ui-state-highlight a,
    .ui-widget-content .ui-state-highlight .expandable-panel-link,
    .ui-widget-header .ui-state-highlight a,
    .ui-widget-header .ui-state-highlight .expandable-panel-link {
        color: #915608;
    }

.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
    border: 1px solid #cd0a0a;
    background: #e14f1c url(images/ui-bg_gloss-wave_45_e14f1c_500x100.png) 50% top repeat-x;
    color: #ffffff;
}

    .ui-state-error a, .ui-state-error .expandable-panel-link,
    .ui-widget-content .ui-state-error a,
    .ui-widget-content .ui-state-error .expandable-panel-link,
    .ui-widget-header .ui-state-error a,
    .ui-widget-header .ui-state-error .expandable-panel-link {
        color: #ffffff;
    }

.ui-state-error-text,
.ui-widget-content .ui-state-error-text,
.ui-widget-header .ui-state-error-text {
    color: #ffffff;
}

.ui-priority-primary,
.ui-widget-content .ui-priority-primary,
.ui-widget-header .ui-priority-primary {
    font-weight: bold;
}

.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
    opacity: .7;
    filter: Alpha(Opacity=70);
    font-weight: normal;
}

.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
    opacity: .35;
    filter: Alpha(Opacity=35);
    background-image: none;
}

    .ui-state-disabled .ui-icon {
        filter: Alpha(Opacity=35);
        /* For IE8 - See #6059 */
    }

/* Jquery UI icons*/
.ui-icon {
    display: block;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
}
/*Custom DatePicker*/
.ui-datepicker .ui-datepicker-buttonpane button.first,
.ui-datepicker .ui-datepicker-buttonpane button.last {
    font-family: 'D-DIN-PRO', sans-serif;
    font-weight: 400;
}
.lt-ie10 .ui-datepicker {
    max-width: 690px;
}

.ui-datepicker table thead {
    background-color: #fff;
    border: 18px solid #fff;
    border-top-width: 5px;
    border-bottom: none;
}

.ui-datepicker table thead tr th {
    background: transparent;
    font-size: 16px;
    line-height: 24px;
    font-weight: normal;
    padding: 0;
    box-shadow: none;
}

.ui-datepicker table thead tr th:first-child,
.ui-datepicker table thead tr th:first-child + th {
    width: auto;
}

.ui-datepicker table thead tr th span {
    color: #061B2B !important;
}

.ui-datepicker table tbody {
    border: 18px solid #fff;
    border-top: none;
}

.ui-datepicker table tbody tr {
    border: 0px;
}

.ui-datepicker table tbody tr td {
    color: #061B2B;
    background: #fff;
    font-size: 16px;
    line-height: 20px !important;
    padding: 0;
}

.ui-datepicker table tbody tr td a,
.ui-datepicker table tbody tr td .expandable-panel-link,
.ui-datepicker table tbody tr td span {
    text-align: center;
}

.ui-datepicker table tbody tr:nth-child(odd),
.ui-datepicker table tbody tr:nth-child(even) {
    background-color: transparent;
}

.ui-datepicker.ui-datepicker-multi .ui-datepicker-group {
    width: 50%;
    padding: 0;
}

.ui-datepicker.ui-datepicker-multi .ui-datepicker-group .ui-datepicker-calendar {
    margin: 0;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.ui-datepicker.ui-datepicker-multi .ui-datepicker-group.ui-datepicker-group-last .ui-datepicker-calendar {
    border-left: 1px solid #fff;
}

.ui-datepicker .ui-datepicker-header .ui-state-hover {
    border: 0;
    opacity: 0.8;
    background: none !important;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next {
    width: 21px;
    height: 21px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    top: 20px;
    border-radius: 15px;
    border: 2px solid #fff;
    z-index: 100;
    border-color: #061B2B;
    color: #061B2B;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-prev .ui-icon,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next .ui-icon {
    display: inline-block;
    overflow: hidden;
    line-height: 1.5;
    margin-left: -9px;
    margin-top: -7px;
    font-family: 'icons', sans-serif;
    font-weight: 400;
    font-size: 9px;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-prev .ui-icon:before,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next .ui-icon:before {
    text-indent: 0;
    display: block;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-prev {
    left: 20px;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-prev .ui-icon:before {
    content: '\e811';
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-prev:hover {
    left: 20px;
    top: 20px;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-next {
    right: 20px;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-next .ui-icon {
    margin-left: -7px;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-next .ui-icon:before {
    content: '\e83d';
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-next:hover {
    right: 20px;
    top: 20px;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-title {
    margin: 0;
    line-height: 25px;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-title span {
    font-size: 14px !important;
    line-height: 25px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 5px;
    color: #061B2B;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-title span.ui-datepicker-year {
    display: none;
}

.ui-datepicker td, .ui-datepicker th {
    min-width: 20px !important;
    width: 20px !important;
    height: 20px !important;
    max-height: 20px !important;
}

.ui-datepicker th span {
    font-weight: bold !important;
}

.ui-datepicker a, .ui-datepicker .expandable-panel-link, .ui-datepicker span {
    text-align: center;
}

.ui-datepicker .ui-datepicker-today .ui-state-default {
    background-color: #fff;
    border-radius: 20px;
    color: #061B2B;
}

.ui-datepicker .ui-datepicker-today .ui-state-default:hover {
    background-color: #fff;
    color: #061B2B;
}

.ui-datepicker.ui-datepicker-group-first {
    padding-left: 20px;
    float: left;
}

.ui-datepicker.ui-datepicker-group-last {
    padding-right: 20px;
    float: right;
}

.ui-datepicker .ui-datepicker-calendar {
    background-color: #fff;
    color: #061B2B;
}

.ui-datepicker .ui-datepicker-calendar thead th span {
    color: #fff;
}

.ui-datepicker .ui-datepicker-calendar tbody td.zero a:before,
.ui-datepicker .ui-datepicker-calendar tbody td.zero .expandable-panel-link:before,
.ui-datepicker .ui-datepicker-calendar tbody td.zero span:before {
    content: "0";
}

.ui-datepicker .ui-datepicker-calendar tbody .ui-state-disabled .ui-state-default,
.ui-datepicker .ui-datepicker-calendar tbody .ui-state-default {
    font-family: 'D-DIN-PRO', sans-serif;
    font-weight: 500;
    border: none;
    font-size: 16px;
    color: #25303a;
    border-radius: 20px;
    background-clip: padding-box;
    background-color: transparent;
}

.ui-datepicker .ui-datepicker-calendar tbody .ui-state-disabled .ui-state-default:hover,
.ui-datepicker .ui-datepicker-calendar tbody .ui-state-default:hover {
    background-color: #C7DAE7;
    color: #061B2B !important;
}

.ui-datepicker .ui-datepicker-calendar tbody .ui-state-disabled .ui-state-default.ui-state-active,
.ui-datepicker .ui-datepicker-calendar tbody .ui-state-default.ui-state-active {
    background-color: #0092CB;
    color: #fff !important;
    font-size: inherit;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ui-datepicker .ui-datepicker-calendar tbody .ui-state-highlight {
    background-color: transparent;
    color: inherit;
}

.ui-datepicker .ui-datepicker-calendar tbody .ui-state-highlight.ui-state-active {
    background-color: #0092CB;
    color: #C7DAE7;
    font-size: inherit;
    font-weight: 500;
}

.ui-datepicker .ui-datepicker-calendar tbody .ui-state-disabled .ui-state-default {
    color: #979797;
}

.ui-datepicker .ui-datepicker-buttonpane:first-child {
    margin: 20px 0 2px;
}

.ui-datepicker .ui-datepicker-buttonpane.ui-widget-content {
    border: 0;
    display: none;
}

.ui-datepicker .ui-datepicker-buttonpane.ui-widget-content button.ui-datepicker-current {
    display: none;
}

.ui-datepicker .ui-datepicker-buttonpane button,
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    display: inline-block;
    float: none;
    font-size: 12.6px;
    font-weight: 500 !important;
}

.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-close {
    font-weight: normal;
    border-radius: 5px;
}

.ui-datepicker .ui-datepicker-buttonpane button:hover,
.ui-datepicker .ui-datepicker-buttonpane button.selected {
    transition: all 0.3s ease-out ease-out;
    background-color: #C7DAE7;
    color: #061B2B;
    font-weight: 500;
    box-shadow: none;
}

.ui-datepicker .ui-datepicker-buttonpane button.first {
    border-radius: 5px 0 0 5px;
}

.ui-datepicker .ui-datepicker-buttonpane button.last {
    border-left-width: 0;
    border-radius: 0 5px 5px 0;
}

.ui-datepicker .ui-datepicker-buttonpane button.first.last {
    border-left-width: 1px;
}

input.hasDatepicker {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input[readonly].hasDatepicker {
    background: #fff;
}

@media (max-width: 767px) {
    .ui-datepicker {
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        height: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        border-top: 0 !important;
        position: fixed !important;
        background-color: white;
        z-index: 99999999 !important
    }

    .ui-datepicker .ui-datepicker-buttonpane.ui-widget-content {
        display: block;
    }

    .ui-datepicker .ui-datepicker-calendar tbody .ui-state-default {
        width: 32px;
        margin: 0 auto;
    }

    .ui-datepicker table tbody tr td {
        padding: 2px 1px;
    }
}
@media screen and (max-width: 766px) {
    div#ui-datepicker-div {
        z-index: 9999 !important;
    }
}