div.timeframe_calendar {
  display: inline-block;
  margin: 0;
  padding: 0;
  text-align: center;
  text-shadow: none;
}

/* Menu */
div.timeframe_calendar ul.timeframe_menu {
  list-style-type: none;
  position: relative;
  display: block;
  text-align: right;
  height: 28px;
  *padding-bottom: 12px;
}
div.timeframe_calendar ul.timeframe_menu li {
  display: inline-block;
  position: relative;
  *display: inline;
  *zoom: 1;
}
div.timeframe_calendar ul.timeframe_menu li a {
  display: block;
  height: 26px;
  border: 1px solid #ffffff;
  text-decoration: none;
  width: 28px;
  position: relative;
  font-family:'FontAwesome';
  behavior: url(css/PIE.htc);
}
/*div.timeframe_calendar ul.timeframe_menu li a.previous:before{content:"\f0d9";}
div.timeframe_calendar ul.timeframe_menu li a.next:before{content:"\f0da";}*/
div.timeframe_calendar ul.timeframe_menu li a.next{
  margin-left: 5px;
}
div.timeframe_calendar ul.timeframe_menu li a.previous:hover, div.timeframe_calendar ul.timeframe_menu li a.next:hover {
  background-color: rgba(255,255,255,1);
}
div.timeframe_calendar ul.timeframe_menu li a.previous:active, div.timeframe_calendar ul.timeframe_menu li a.next:active {
  background-color: rgba(255,255,255,1);
}
div.timeframe_calendar ul.timeframe_menu li a.disabled, div.timeframe_calendar ul.timeframe_menu li a.disabled:hover, div.timeframe_calendar ul.timeframe_menu li a.disabled:active {
  cursor: default;
}
div.timeframe_calendar ul.timeframe_menu li a.today , div.timeframe_calendar ul.timeframe_menu li a.reset{
  background: #468966;
  color: #eee;
  display: none;
}
div.timeframe_calendar ul.timeframe_menu li a.previous {}
div.timeframe_calendar ul.timeframe_menu li a.next {}
#calendars_container{
  display: block;
  padding: 18px 0;
  *padding: 8px 0 0;
}
/* Calendar*/
div.timeframe_calendar table {
  border-collapse: separate;
  float: left;
  border: 1px solid #3486a7;
  font-size: 13px;
  background-color: #f0dfcd;
  margin: 0 6px 10px 0;
  padding: 0 4px 4px;
  position: relative;
  font-family: 'open_sansregular';
  border-top: 1px solid transparent;
}
/* Month names */
div.timeframe_calendar table caption {
  text-align: center;
  background-color: #3383a7;
  color: #f1d3c0;
  height: 25px;
  font-weight: bold;
  line-height: 25px;
  border-bottom: 1px solid #c2aa9a;
}
/* Cell sizes */
div.timeframe_calendar thead{

}
div.timeframe_calendar thead th, div.timeframe_calendar tbody td {
  height: 18px;
  margin: 0;
  width: 20px;
}
/* Weekday letters */
div.timeframe_calendar thead tr{
  background: #f2d5c4;
  height: 22px;
}
div.timeframe_calendar thead tr th {
  text-align: center;
  background: #3488a9;
  font-weight: bold;
  color: #f2d7c4;
  border-top: 4px solid #f2d5c4;
  border-bottom: 4px solid #f2d5c4;
  width: 22px;
  height: 22px;
}
div.timeframe_calendar thead{
  padding: 0 3px;
}
/* Days */

div.timeframe_calendar tbody td {
  border: 1px solid #f5dfcb;
  cursor: pointer;
}
/* Hover states not available in IE */
div.timeframe_calendar tbody td.selectable:hover {
  background-color: #bbb;
}
div.timeframe_calendar tbody td.selected:hover, div.timeframe_calendar tbody td.stuck:hover {
  background-color: #e99a27;
}
/* Selected states */
#calendars_container #calendars_calendar_3.no_rightmar , #calendars_container #calendars_calendar_7.no_rightmar{
  margin-right: 0 !important;
}
div.timeframe_calendar tbody tr{
  border: 1px solid #f2dbc7;
  border-top: 0 none;
}
div.timeframe_calendar tbody tr td{
  border: 1px solid #e2d4c3;
  text-align: center;
  color: #4d4835;
  background-color: #e2d4c3;
}
div.timeframe_calendar tbody td.selected {}
div.timeframe_calendar tbody td.stuck {
  background-color: #e99a27;
}
/* Range markers */
div.timeframe_calendar tbody td.startrange, div.timeframe_calendar tbody td.endrange, div.timeframe_calendar tbody td.startendrange {
  cursor: col-resize;
}
div.timeframe_calendar tbody td.startrange {
  background-image: url(../images/start.png);
}
div.timeframe_calendar tbody td.endrange {
  background-image: url(../images/end.png);
}
div.timeframe_calendar tbody td.startendrange {
  background-image: url(../images/startend.png);
}
/* Today */
div.timeframe_calendar tbody td.today {
  background-color: #f4c500;
  color: #358dae;
  border: 1px dotted #348cad;
}
div.timeframe_calendar tbody td.today_selected {
  background-color: #b64926;
}
div.timeframe_calendar tbody td.today_stuck {
  background-color: #8e2800;
}
/* Post/pre-month */
div.timeframe_calendar tbody td.beyond {
  background-color: #aaa;
  background-image: none;
  color: #ccc;
}
div.timeframe_calendar tbody td.beyond_selected {
  background-color: #999;
}
div.timeframe_calendar tbody td.beyond_stuck {
  background-color: #888;
}
div.timeframe_calendar tbody td.beyond , div.timeframe_calendar tbody td.unselectable.beyond{
  background-color: #f2e4d2;
  border: 1px solid #e0d4c3;
  color: #c5aea0;
}
div.timeframe_calendar tbody td.unselectable {
  cursor: default;
  color: #967d75;
  background-color: #f4cb54;
}
/* Clear button */
div.timeframe_calendar tbody td span.clear {
  color: transparent;
  display: block;
  height: 0;
  position: absolute;
  width: 0;
}
div.timeframe_calendar tbody td span.clear span {
  background-image: url(../images/closebox.png);
  cursor: pointer;
  display: block;
  height: 30px;
  left: -18px;
  position: relative;
  text-indent: -10000px;
  top: -18px;
  width: 30px;
}
div.timeframe_calendar tbody td span.clear span.active {
  background-image: url(../images/closebox_selected.png);
}