.calendars {
    background-color: #fff;
    color: #000;
    -moz-border-radius: 0.25em;
    font-size: 90%;
    direction: ltr;
    -webkit-transform-origin: 50% 0 !important;
    transform-origin: 50% 0 !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
}

.calendars-rtl {
    direction: rtl;
}

.calendars-popup {
    z-index: 1000;
}

.calendars-disable {
    position: absolute;
    z-index: 100;
    background-color: white;
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.calendars a {
    color: #fff;
    text-decoration: none;
}

    .calendars a.calendars-disabled {
        color: #888;
        cursor: auto;
    }

.calendars button {
    margin: 0.25em;
    padding: 0.125em 0em;
    background-color: #fcc;
    border: none;
    -moz-border-radius: 0.25em;
    -webkit-border-radius: 0.25em;
    border-radius: 0.25em;
    font-weight: bold;
}

.calendars-nav, .calendars-ctrl {
    float: left;
    width: 100%;
    background-color: #000;
    color: #fff;
    font-size: 90%;
    font-weight: bold;
    background-color: #016eb3;
}

.calendars-ctrl {
    background-color: #600;
    background-color: #016eb3;
}

.calendars-cmd {
    width: 30%;
}

    .calendars-cmd:hover {
        background-color: #777;
        background-color: #0093d2;
    }

.calendars-ctrl .calendars-cmd:hover {
    background-color: #f08080;
    background-color: #01562B;
}

.calendars-cmd-prevJump, .calendars-cmd-nextJump {
    width: 8%;
}

a.calendars-cmd {
    height: 2.5em;
    line-height: 2;
}

button.calendars-cmd {
    text-align: center;
}

.calendars-cmd-prev, .calendars-cmd-prevJump, .calendars-cmd-clear {
    float: left;
    padding-left: 2%;
}

.calendars-cmd-current, .calendars-cmd-today {
    float: left;
    width: 35%;
    text-align: center;
}

.calendars-cmd-next, .calendars-cmd-nextJump, .calendars-cmd-close {
    float: right;
    padding-right: 2%;
    text-align: right;
}

.calendars-rtl .calendars-cmd-prev, .calendars-rtl .calendars-cmd-prevJump,
.calendars-rtl .calendars-cmd-clear {
    float: right;
    padding-left: 0%;
    padding-right: 2%;
    text-align: right;
}

.calendars-rtl .calendars-cmd-current, .calendars-rtl .calendars-cmd-today {
    float: right;
}

.calendars-rtl .calendars-cmd-next, .calendars-rtl .calendars-cmd-nextJump,
.calendars-rtl .calendars-cmd-close {
    float: left;
    padding-left: 2%;
    padding-right: 0%;
    text-align: left;
}

.calendars-month-nav {
    float: left;
    background-color: #777;
    text-align: center;
}

    .calendars-month-nav div {
        float: left;
        width: 12.5%;
        margin: 1%;
        padding: 1%;
    }

    .calendars-month-nav span {
        color: #888;
    }

.calendars-month-row {
    clear: left;
}

.calendars-month {
    float: left;
    width: 24em;
    /* border: 1px solid #444; */
    text-align: center;
}

.calendars-month-header, .calendars-month-header select, .calendars-month-header input {
    height: 2em;
    background-color: #fff;
    color: #999;
    font-weight: bold;
    color: #0a253e;
}

    .calendars-month-header select, .calendars-month-header input {
        height: 2.1em;
        border: none;
        width: 46%;
    }

    .calendars-month-header input {
        position: absolute;
        display: none;
    }

.calendars-month table {
    width: 100%;
    border-collapse: collapse;
    direction: rtl;
}

.calendars-month thead {
    border-bottom: 1px solid #aaa;
}

.calendars-month th, .calendars-month td {
    margin: 0em;
    padding: 0em;
    font-weight: normal;
    text-align: center;
}

.calendars-month th {
    /* border: 1px solid #777; */
    border: 1px solid #ddd;
}

    .calendars-month th, .calendars-month th a {
        background-color: #fff;
        color: #fff;
        color: #0a253e;
        padding: 1px 0px 7px;
    }

.calendars-month td {
    background-color: #eee;
    border: 1px solid #ddd;
}

    .calendars-month td.calendars-week {
        border: 1px solid #777;
    }

        .calendars-month td.calendars-week * {
            background-color: #777;
            color: #fff;
            border: none;
        }

.calendars-month a {
    display: block;
    width: 100%;
    padding: 0.15em 0em;
    background-color: #eee;
    color: #333;
    text-decoration: none;
}

.calendars-month span {
    display: block;
    width: 100%;
    padding: 0.125em 0em;
}

.calendars-month td span {
    color: #888;
}

.calendars-month td .calendars-other-month {
    background-color: #fff;
}

.calendars-month td .calendars-weekend {
    background-color: #ddd;
}

.calendars-month td .calendars-today {
    background-color: #f0c0c0;
    background-color: #0093d2;
    color: #fff;
}

.calendars-month td .calendars-highlight {
    background-color: #f08080;
    background-color: #0093d2;
    color: #fff;
}

.calendars-month td .calendars-selected {
    background-color: #777;
    color: #fff;
}

.calendars-month th.calendars-week {
    background-color: #777;
    color: #fff;
}

.calendars-status {
    clear: both;
    background-color: #ddd;
    text-align: center;
}

.calendars-clear-fix {
    clear: both;
}

/*custom*/
.calendars-month-header select, .calendars-month-header input {
    height: 2em;
    border: none;
    width: 49%;
}

    .calendars-month-header select:first-child {
        /* float:  right; */
        border-left: 1px solid #ddd;
        direction: rtl;
    }

    .calendars-month-header select:last-child {
        float: left;
        border-left: 0;
        border-bottom: 0;
        direction: rtl;
    }


a.calendars-cmd {
    line-height: 2.3;
}

.calendars-month tr th:last-child {
    border-left: 0;
}

.calendars-month tr th:first-child {
    border-right: 0;
}


.calendars-month tr td:last-child {
    border-left: 0;
}

.calendars-month tr td:first-child {
    border-right: 0;
}
