
/* Normalization of standard elements */

.calendar button,
.calendar input,
.calendar select{
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

.calendar button,
.calendar input {
    line-height: normal;
}

.calendar button {
    cursor: pointer;
    -webkit-appearance: button;
    *overflow: visible;
}

.calendar button[disabled],
.calendar input[disabled] {
    cursor: default;
}

.calendar button::-moz-focus-inner,
.calendar input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Calendar style */
.calendar {
    width: auto;
    position: absolute;
    background: #fff;
    border: 1px solid #555;
    box-shadow: 1px 1px 5px #888;
    visibility: hidden;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.calendar.open {
    visibility: visible;
}

.calendar-heading {
    text-align: center;
    font-weight: bold;
    color: #fff;
    background-color: #036;
    padding: 6px;
}

.calendar-heading span {
    position: absolute;
    padding: 6px 2px;
    top: 0;
}

.calendar-next, .calendar-prev {
    cursor: pointer;
}

.calendar-prev {
    left: 0;
}

.calendar-next {
    right: 0;
}

.calendar-days {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.calendar-days td {
    width: 14.3%;
    padding: 0;
}

.calendar-days tbody a,
.calendar-days thead span {
    display: block;
    height: 18px;
    line-height: 18px;
    text-align: center;

    background: #fff;
    color: #000;
    border: 1px solid #fff;
    padding: 1px;
}

.calendar-days tbody a:hover {
    background: #eee;
    border: 1px solid #999;
}


.calendar-days tbody .disabled {
    color: #999;
    cursor: default;
}

.calendar-days tbody .disabled:hover,
.calendar-days tbody .disabled:active {
    background: #fff;
    color: #999;
    border: 1px solid #fff;
}

.calendar-days tbody a.calendar-today {
    font-weight: bold;
}

.calendar-days tbody a.calendar-selected,
.calendar-days tbody a.calendar-selected:hover,
.calendar-days tbody a:active {
    color: #fff;
    background-color: #369;
}

.calendar-toolbar {
    border-top: 1px solid #999;
    background: #eee;
    padding: 4px;
}

.calendar-toolbar button {
    width: auto;
    display: inline-block;
}

.calendar-toolbar .calendar-settime {
    visibility: hidden;
}

.calendar .time-related {
    display: none;
}

.open .calendar-toolbar.show-time .calendar-settime {
    visibility: visible;
}

.setting-time .time-related {
    display: block;
}

.setting-time .date-related {
    display: none;
}

.calendar-placeholder {
    visibility: hidden;
}

.calendar-time-picker {
    text-align: center;
}

.time-format-24 .calendar-meridiem {
    display: none;
}

.time-input {
    position: relative;
    display: inline-block;
    margin: 8px 4px;
}

.time-input input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 40px;
    height: 33px;

    font-size: 24px;
    text-align: center;
    margin: 16px 0;
}

.time-input button {
    position: absolute;
    left: 0;
    width: 40px;
    height: 15px;

    border: 1px solid #999;
    background: #eee;
    padding: 0;
}

.time-input button:active {
    background: #bbb;
}

.time-input .hour-up,
.time-input .min-up {
    top: 0;
}

.time-input .hour-down,
.time-input .min-down {
    top: 50px;
}

.cal-span {

}