/*
    Document   : datepicker
    Created on : 20.05.2011, 11:43:39
    Author     : Rémy Böhler
    Description: Style for the JavaScript DatePicker
*/

.datepicker {
    position: absolute;
    border: 3px solid #6ea818;
    font-size: 11px;
    width: 194px;
    padding: 3px;
    height: 221px;
    background: #FFF;
    line-height: normal;
    border-radius: 2px;
    z-index: 1500;
    left: 30%;
}

/* header
********************************************************/
.datepicker .header {
    position: relative;
    background: #fff;
    height: 21px;
    padding-top: 4px;
    margin-bottom: 3px;
}

.datepicker .header .title {
    text-align: center;
    padding-top: 1px;
    margin: 0 42px 0 20px;
}

.datepicker .header .titleText {
    color: #333;
    font-weight: bold;
}

.datepicker .header .next,
.datepicker .header .previous,
.datepicker .header .closeButton {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #FFF;
    text-align: center;
    color: #666;
    top: 5px;
    cursor: pointer;
}

.datepicker .header .previous {
    left: 5px;
}

.datepicker .header .next {
    right: 28px;
}

.datepicker .header .closeButton {
    right: 5px;
}

/* body
********************************************************/
.datepicker .body {
    position: relative;
    top: 0;
    left: 0;
    width: 194px;
    border-right: 2px solid #FFF;
    height: 193px;
    overflow: hidden;
}

/* time
********************************************************/
.datepicker .time {
    width: 100%;
    height: 100%;
    background: #EEE;
}

.datepicker .time .hour,
.datepicker .time .separator,
.datepicker .time .minutes {
    border: 1px solid #CCC;
    background: #FFF;
    width: 50px;
    font-size: 20px;
    position: absolute;
    top: 50px;
    text-align: center;
    padding: 8px 2px;
}

.datepicker .time .hour {
    left: 30px;
}

.datepicker .time .separator {
    background: transparent;
    border: 0;
    width: 12px;
    left: 90px;
}

.datepicker .time .minutes {
    left: 115px;
}

.datepicker .time .ok {
    position: absolute;
    top: 105px;
    width: 136px;
    left: 30px;
    font-size: 20px;
}

/* days-grid
********************************************************/
.datepicker .days .day {
    float: left;
    background: #fff;
    cursor: pointer;
    text-align: center;
    padding-top: 4px;
    width: 25px;
    overflow: hidden;
    height: 21px;
    margin: 0 3px 3px 0;
}

.datepicker .days .day0 {
    margin-right: 0;
}

.datepicker .days .week5 .day {
    margin-bottom: 0;
}

/* days-colors
********************************************************/
.datepicker .days .title {
    background: #fff;
    font-weight: bold;
    color: #000;
    cursor: default;
}

.datepicker .days .otherMonth {
    background: #EEE;
    color: #AAA;
}

/* months
********************************************************/
.datepicker .months .month {
    float: left;
    background: #EEE;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    width: 62px;
    height: 31px;
    padding-top: 15px;
    margin: 0 3px 3px 0;
}

.datepicker .months .month3,
.datepicker .months .month6,
.datepicker .months .month9,
.datepicker .months .month12 {
    margin-right: 0;
    width: 64px;
}

.datepicker .months .month10,
.datepicker .months .month11,
.datepicker .months .month12 {
    margin-bottom: 0;
}

/* years
********************************************************/
.datepicker .years .year {
    float: left;
    background: #EEE;
    cursor: pointer;
    text-align: center;
    padding-top: 11px;
    width: 46px;
    overflow: hidden;
    height: 25px;
    margin: 0 3px 3px 0;
}

.datepicker .years .year3,
.datepicker .years .year7,
.datepicker .years .year11,
.datepicker .years .year15,
.datepicker .years .year19 {
    margin-right: 0;
    width: 47px;
}

.datepicker .years .year16,
.datepicker .years .year17,
.datepicker .years .year18,
.datepicker .years .year19 {
    margin-bottom: 0;
    height: 26px;
}

/* global
********************************************************/
.datepicker .selected {
    background: #6ea818 !important;
    color: #FFF !important;
}

.datepicker .unavailable {
    background: #EDD !important;
    color: #B88 !important;
    cursor: default !important;
}

.datepicker .days .week .day:hover,
.datepicker .months .month:hover,
.datepicker .years .year:hover {
    background: #6ea818 !important;
    color: #FFF !important;
}
