/************
   
    CALENDAR

  **************/


div.calendar_top{
  margin-left: -1px;
  margin-top: 5px;
  float: left;
  background: url(/images/structure/calender_top.gif);
  width: 190px;
  height: 40px;
}

div.calendar_bottom{
  float: left;
  margin-left: -1px;
  background: url(/images/structure/calender_bottom.gif);
  width: 184px;
  height: 0px;
}

div.calendar_body{
  margin-left: -1px;
  float: left;
}

div.calendar{
  width: 189px;
  float: left;
  position: relative;
}

div.calendar table.calendar{
  width: 175px;
  margin: 0 10px;
  border-spacing: 0;
  border-collapse: collapse;
}

div.calendar table.calendar td{
  position: relative;
}

div.calendar tfoot td{
  text-align: center;
}

div.calendar h4{
  display: none;
}

div.calendar tr.day_letter_row th{
  text-align: center;
  text-transform: uppercase;
  width: 14.3%;
  border-bottom: 2px solid #333;
}

div.calendar tr.month_row td{
  text-align: center;
  border-top: 1px solid #CCC;
  text-transform: uppercase;
}

div.calendar td.day.Sat,
div.calendar td.day.Sun,
div.calendar td.day.blank.d6,
div.calendar td.day.blank.d7{
  background: #FFCA32;
}

div.calendar td.day a{
  text-align: center;
  display: block;
  color: #333;
}

div.calendar td.today a{
  background: #FF4FA7;
  color: #333;
  display: block;
  font-weight: bold;
  text-align: center;
}

div.calendar td.day.event a{
  background: #90689A;
  color: #333;
  display: block;
  font-weight: bold;
}


/************
   
 UPCOMING EVENTS

  **************/


div.calendar_body p{
  float: left;
  text-align: center;
  font-weight: bold;
  width: 184px;
}

ul.upcoming_events{
  clear: left;
  padding: 0 10px;
}

ul.upcoming_events li{
  margin-bottom: 5px;
}

ul.upcoming_events li span.date
{
  display: block;
  font-weight: bold;
  color: #a5a5a5;
}


/************
   
    DAY INFO

  **************/


div.calendar div.day_info{
  border: 1px solid #402F4F;
  float: left;
  position: absolute;
  top: 0px;
  left: 0px;
  background: #90759B;
  margin: 10px 5px;
  width: 167px;
  padding: 15px 5px;
}

div.calendar div.day_info a.close_day_info{
  color: #eee;
  float: right;
}

div.calendar div.day_info a span.name {
  color: #eee;
}

div.calendar div.day_info span.date,
div.calendar div.day_info span.date_till{
  color: #ccc;
  font-size: 10px;
}

div.calendar div.day_info div.day_info_event{
  border-top: 1px solid #eee;
  padding-top: 5px;
}

div.calendar div.day_info div.day_info_event.first{
  border-top: none;
  padding: 0 0 5px 0;
}


/************
   
 IMPORTANT FOR AJAX

  **************/

