/* Ion.Calendar
// Version 2.0.1, build: 91
// © 2013 Denis Ineshin | IonDen.com
//
// Project page:    http://ionden.com/a/plugins/ion.calendar/
// GitHub page:     https://github.com/IonDen/ion.calendar
//
// Released under MIT licence:
// http://ionden.com/a/plugins/licence-en.html
// ===================================================================================================================*/

/* ic = ion.calendar prefix */
.ic__container,
.ic__week-head,
.ic__week-head td,
.ic__days,
.ic__days td,
.ic__header,
.ic__prev,
.ic__next,
.ic__datepicker {
    margin: 0;
    padding: 0;
    font-size: 10px;
    line-height: 12px;
    cursor: default;
    text-shadow: none !important;
}

.ic__container {
    position: relative;
    background: @panel-background-color;
}

.ic__container table {
    width: 100%;
    border: 0;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}


.ic__header {
    position: relative;
    background: @border-color;
    height: 35px;
}

.ic__prev, .ic__next {
    position: absolute;
    top: 0;
    width: 7%;
    height: 35px;
    background-color: @border-color;
    cursor: pointer;
}

.ic__prev:hover, .ic__next:hover {
    background-color: darken(@border-color, 20%);
}

.ic__prev div, .ic__next div {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    border: 5px solid transparent;
}

.ic__prev {
    left: 0;
}

.ic__prev div {
    top: 13px;
    left: 50%;
    margin-left: -7px;
    border-right-color: #fff;
}

.ic__next {
    right: 0;
}

.ic__next div {
    top: 13px;
    right: 50%;
    margin-right: -7px;
    border-left-color: #fff;
}


.ic__month {
    position: absolute;
    top: 5px;
    left: 9%;
    width: 50%;
}

.ic__year {
    position: absolute;
    top: 5px;
    right: 9%;
    width: 30%;
}

.ic__header select {
    width: 100%;
    border: none;
    padding: 2px;
    font-size: 14px;
    border-radius: 2px;
}

.ic__header select:focus {
    outline: none;
}

.ic__week-head td {
    width: 14%;
    vertical-align: top;
    text-align: center;
    padding: 10px 0 8px;

    border: 1px solid lighten(@border-color, 10%);
    color: @text-grey-color;
    font-size: 9px;
    line-height: 1.333;
    text-transform: uppercase;
}


.ic__days {
    margin-top: -1px;
}

.ic__days td {
    width: 14%;
    vertical-align: top;
    text-align: center;
    padding: 10px 0 8px;

    border: 1px solid lighten(@border-color, 10%);
    color: @text-color;
    font-size: 9px;
    line-height: 1.333;
    text-transform: uppercase;
}

.ic__days .ic__day {
    background: @panel-background-color;
    cursor: pointer;
}

.ic__days .ic__day:hover {
    background: lighten(@link-text-color, 40%);
    color: #fff;
}

.ic__days .ic__day-empty {
    background-image: linear-gradient(135deg,
    @panel-background-color 25%,
    lighten(@border-color, 20%) 25%,
    lighten(@border-color, 20%) 50%,
    @panel-background-color 50%,
    @panel-background-color 75%,
    lighten(@border-color, 20%) 75%,
    lighten(@border-color, 20%) 100%);

    background-size: 5px 5px;
}

.ic__days .ic__day_state_current {
    background: @link-text-color;
    color: #fff;
}

.ic__days .ic__day_state_selected {
    background: lighten(@border-color, 20%);
    color: #000;
}

.ic__month-select,
.ic__year-select {
    background-color: @input-background;
}