#datepicker .ui-datepicker{
    width: 230px;
    padding: 0px;
    border: 0 none;
    background: none;
    color: inherit;
    font-size: inherit;
}

#datepicker .ui-datepicker-calendar{
    border-collapse: collapse;
    color: inherit;
    font-size: inherit;
}

#datepicker .ui-datepicker th{
    background: url("/images/razdeltel4.png") no-repeat scroll right center transparent;
    color: #666666;
    font-family: Arial,sans-serif;
    font-size: 11px;
    font-weight: bold;
    height: 20px;
    margin-right: 1px;
    margin-top: 1px;
    padding: 5px 0 0 0;
    text-align: center;
    text-decoration: none;
    width: 31px;
    border-bottom: 1px dotted #B2B2B2;
}

#datepicker .ui-datepicker td{
    border: 0 none;
    padding: 0;
}

#datepicker .ui-datepicker th:last-child {
    background: none repeat scroll 0 0 transparent;
}

#datepicker .ui-datepicker td span, #datepicker .ui-datepicker td a{
    background: #F3F4F5;
    color: #000000;
    float: left;
    font-family: Arial,sans-serif;
    font-size: 12px;
    height: 20px;
    margin-right: 1px;
    margin-top: 1px;
    padding: 5px 0 0 0;
    text-align: center;
    text-decoration: none;
    width: 32px;
    border: 0 none;
}

#datepicker .ui-datepicker td a:hover{
    background: #E8E9EC;
}

#datepicker .ui-datepicker td a.ui-state-custom{
    background: #BFBFBF;
}

#datepicker .ui-datepicker td a.ui-state-active{
    background: #1A8A96;
}

#datepicker .ui-datepicker-week-end a{
    color: red !important;
}

#datepicker .ui-datepicker-header{
    background-color: #E8E9EC;/*#1A8A96;*/
    color: white;

    /*padding: 0.2em 0;*/
    position: relative;

    height: 27px;
    padding-top: 6px;
    border: 0 none;
    border-radius: 0;
    font-weight: inherit;
    background-image: none;
}

#datepicker .ui-datepicker .ui-datepicker-prev{
    left: 2px;
}

#datepicker .ui-datepicker .ui-datepicker-next {
    right: 2px;
}

#datepicker .ui-datepicker .ui-datepicker-prev, #datepicker .ui-datepicker .ui-datepicker-next {
    height: 1.8em;
    position: absolute;
    top: 2px;
    width: 1.8em;
    padding-top: 9px;
    cursor: pointer;
}
#datepicker .ui-datepicker .ui-datepicker-prev.ui-state-hover, #datepicker .ui-datepicker .ui-datepicker-next.ui-state-hover {
    background-image: none !important;
    background-color: inherit;
    border: 0 none;
}


#datepicker .ui-datepicker .ui-datepicker-prev span, #datepicker .ui-datepicker .ui-datepicker-next span {
    display: block;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
}

#datepicker .ui-datepicker .ui-datepicker-title {
    line-height: 1.8em;
    margin: 0 2.3em;
    text-align: center;
}

#datepicker .ui-datepicker select.ui-datepicker-month, #datepicker  .ui-datepicker select.ui-datepicker-year {
    width: 45%;
    font-family: Verdana,Arial,sans-serif;
    font-size: 1em;
}

#datepicker .ui-widget-header .ui-icon {
    background-image: url("/images/ui-icons_222222_256x240.png");
}

#datepicker .ui-icon {
    /*background-image: url("/images/ui-icons_222222_256x240.png");*/
    height: 16px;
    width: 16px;

    background-repeat: no-repeat;
    display: block;
    overflow: hidden;
    text-indent: -99999px;
}

#datepicker .ui-icon-circle-triangle-w {
    background-position: -80px -192px;
}

#datepicker .ui-icon-circle-triangle-e {
    background-position: -48px -192px;
}
