



























/*resets*/
.date_selector, .date_selector * {
  width: auto;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.date_selector{
  margin: 0;
}

.date_selector .nav{
    width: 97%;
    padding-bottom: 2px;
}

.date_selector .month_nav, .date_selector .year_nav{
    margin: 0 0 3px 0;
    padding: 0;
    display: block;    
    text-align: center;
    height: 18px;
    line-height: 17px;
}

.date_selector .month_nav{
    float: left;
    width: 55%;
}

.date_selector .year_nav {
    float: right;
    width: 40%;
    margin-right: -8px; /* Compensates for cell borders */
}

.date_selector .month_name, .date_selector .year_name{
    font-weight: bold;
    line-height: 20px;
} 

.date_selector .button{
    display: block;
    width: 18px;
    height: 18px;
    line-height: 17px;
    font-weight: bold;
    color: #003C78;
    text-align: center;
    font-size: 120%;
    overflow: hidden;
}
.date_selector .prev{
    left: 0;
    cursor: pointer;
    background: center 7px url(http://static.rb.ru/09/2010/img/gray_ar_l.gif) no-repeat;
}
.date_selector .next{
    right: 0;
    cursor: pointer; 
    background: center 7px url(http://static.rb.ru/09/2010/img/gray_ar_r.gif) no-repeat;
}
.date_selector table{
    border-spacing: 0;
    border-collapse: collapse;
    clear: both;
    width:100%;
}
.date_selector th, .date_selector td{
  width: 2.5em;
  height: 2em;
  padding: 0;
  text-align: center;
  color: black;
}
.date_selector td {
  line-height: 2em;
  text-align: center;
  white-space: nowrap;
  color: #003C78;
  background: white;
}
.date_selector td.today {
  background: 50% 50% #fff url(http://static.rb.ru/09/2010/img/today.gif) no-repeat;
  font-weight: bold;
  color:#fff;  
}

.date_selector td.selected{
  background: #EDEDED;
  font-weight: bold;
  color:#000;
}
.date_selector td.selectable_day{
    cursor: pointer;
    color: #217ad2;
    text-decoration: underline;    
}
.date_selector td.unselectable_day{
    color: #999999;
}
.date_selector td.selectable_day.today{
  background: top right #fff url(http://static.rb.ru/09/2010/img/today.gif) no-repeat;
}
