﻿/*
 * jQuery Lunar date picker plugin for jQuery datepicker v0.1 - https://github.com/Minh0001/jquery.datepicker.lunar
 *
 * TERMS OF USE - jQuery Lunar date picker
 * 
 * Open source under the BSD License. 
 * 
 * Copyright © 2013 Le Quang Minh
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
*/

.ui-datepicker .lunar-date {
    text-align: right;
    font-size: 75%;
    line-height: 100%;
    color: #B91E1E;
}

.ui-datepicker .lunar-date-leap {
    text-align: right;
    font-size: 75%;
    line-height: 100%;
    color: #B91E1E;
}

.ui-datepicker .lunar-date-tet {
    text-align: right;
    font-size: 75%;
    line-height: 100%;
    color: #fff;
    background: #B91E1E;
}


.ui-widget {
    font-size:12px !important;
    font-weight:400 !important;
    line-height:18px !important;
}

.ui-datepicker {
    width:30em !important;
}

.ui-datepicker select.ui-datepicker-month {
    width:59% !important;
    font-weight:normal !important;
}
.ui-datepicker-title select{
    height: 32px;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    top: 10px;
}
.ui-datepicker select.ui-datepicker-year {
    width:39% !important;
    font-weight:normal !important;
}
.ui-datepicker td span, .ui-datepicker td a {
    display: block;
    padding: .2em;
    text-align: left;
    text-decoration: none;
}
.ui-datepicker td {
    padding: 1px;
    border: 1px solid #dad55e;
    margin: 1px;
    background: yellow;
}
.ui-datepicker td.ui-datepicker-today {
    padding: 1px;
    border: 1px solid #dad55e;
    background: #fffa90;
}
.ui-datepicker td.ui-datepicker-current-day {
    padding: 1px;
    border: 1px solid #dad55e;
    background: #0099cc;
    color: #fff;
}
.ui-datepicker td.ui-datepicker-current-day a{
    color: #fff;
}
.ui-datepicker td.ui-datepicker-current-day .lunar-date {
    color: #fff;
}
.ui-datepicker td.ui-state-disabled {
    border: 1px solid #c5c5c5;
    background: #ffffff;
}
.ui-datepicker table {
    font-size: 1em;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default{
    border: 0px solid #c5c5c5;
    background: transparent;
    font-weight: bold;
    color: #454545;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border: 0px solid #dad55e;
    background: transparent;
    color: #777620;
    font-weight: bold;
}
button  .ui-state-default,button  .ui-widget-content .ui-state-default,button  .ui-widget-header .ui-state-default {
    border: 1px solid #c5c5c5;
    background: transparent;
    font-weight: bold;
    color: #454545;
}
