/* Frame of all months*/
.calendars
{
	width: 100%;
}

/* Month table holder */
.calendarCell 
{
	vertical-align: top;
	padding-bottom: 10px;
	width: 50%;
}

/* Calendar for one month */
.calendar {
	border: none;
	border-collapse: collapse
}

.calendar td {
	text-align: center;
	padding: 1px 3px;
	font-size: 73%;
	vertical-align: top;
}
.calendar a {
	text-decoration: none;
	color: Black;
}

/* Indicates if day belongs to weekend */
.calendar .day .weekend {
	/*border: solid 1px red;*/
	/*font-weight: bold; uncomment*/
	
}

/* Heading line of the month */
.calendar .head 
{
	color: #003972;
}

/* Name of the month in the heading */
.calendar .head .month {
	border-right: solid 1px #d7cfa9;
	border-bottom: solid 1px #d7cfa9;
	width: 110px;
	text-align: right;
}

/* Name of a day of week */
.calendar .head .day {
	border-bottom: solid 1px #d7cfa9;
	border-right: solid 1px #d7cfa9;
}

/* Weekend days */
.calendar .head .weekend 
{
	/*color: Red;*/
	color: #e88612;
	font-weight: bold;
}

/* Number of the week */
.calendar .weekNo 
{
	text-align: right;
	border-right: solid 1px #d7cfa9;
	color: #003972;
	padding: 4px 5px;
}

/* Last number in this month */
.calendar .last
{
	border-bottom: solid 1px #d7cfa9;
}

/* All day cells */
.calendar .d 
{
	border-right: solid 1px #d7cfa9;
	border-bottom: solid 1px #d7cfa9;
	padding: 3px 5px;
}

/* Day not from this month */
.notThisMonth, .notThisMonth a {
	color: #dddddd;
}

/* Mark earliest possible order date */
.today, .today a
{
	font-weight: bold;
	text-decoration: underline;
}

/* Costs */
.cost-1 { background-color: #fff7d5; }
.cost0 { background-color: #c5e8ec; }
.cost0m, .cost0m a { background-color: #c5e8ec; color: #9ebabd; }
.cost1 { background-color: #9cf3c2; }
.cost1m, .cost1m a { background-color: #9cf3c2; color: #7dc29b; }
.cost2 { background-color: #8aea9c; }
.cost2m, .cost2m a { background-color: #8aea9c; color: #6ebb7d; }
.cost3 { background-color: #9ce284; }
.cost3m, .cost3m a { background-color: #9ce284; color: #7db56a; }
.cost4 { background-color: #99e25b; }
.cost4m, .cost4m a { background-color: #99e25b; color: #7ab549; }
.cost5 { background-color: #c2e64e; }
.cost5m, .cost5m a { background-color: #c2e64e; color: #9bb83e; }
.cost6 { background-color: #e4e640; }
.cost6m, .cost6m a { background-color: #e4e640; color: #b6b833; }
.cost7 { background-color: #ffe200; }
.cost7m, .cost7m a { background-color: #ffe200; color: #ccb500; }
.cost8 { background-color: #ffc200; }
.cost8m, .cost8m a { background-color: #ffc200; color: #cc9b00; }
.cost9 { background-color: #e88612; }
.cost9m, .cost9m a { background-color: #e88612; color: #ba6b0e; }


/* Usages */

.usage1 { }
.usage2 { }
.usage3 { text-decoration: line-through; }
.usage4 
{
	color: #d7cfa9;
	background-color: #fff7d5;
	text-decoration: line-through;
}

/* Tails */
.tail0 { background-image: url("/images/cldr-tail0.gif"); }
.tail1 { background-image: url("/images/cldr-tail1.gif"); }
.tail2 { background-image: url("/images/cldr-tail2.gif"); }
.tail3 { background-image: url("/images/cldr-tail3.gif"); }
.tail4 { background-image: url("/images/cldr-tail4.gif"); }
.tail5 { background-image: url("/images/cldr-tail5.gif"); }
.tail6 { background-image: url("/images/cldr-tail6.gif"); }
.tail7 { background-image: url("/images/cldr-tail7.gif"); }
.tail8 { background-image: url("/images/cldr-tail8.gif"); }
.tail9 { background-image: url("/images/cldr-tail9.gif"); }
.tail-1 { background-image: url("/images/cldr-tail-1.gif"); }


/* Highlight of one week */
.calendar .highlight, .calendar .highlight a {
	background: #006080;
	color: white;
}
.calendar .highlight td.weekNo {
	background: none;
	color: #003972;
}

/* Highlight end of the week */
.calendar .highlightWE .weekend, .calendar .highlightWE .weekend a {
	background: #006080;
	color: white;
}

.calendar .highlight-start, .calendar .highlight-start a {
	background-image: url("/images/selBgr1.gif");
	color: White;
}

.highlight-end {
	background-image: url("/images/selBgr2.gif");
}

/* Legend in right column */
.legend
{
	background-color: #ecedc0;
	padding: 5px;
	margin-top: 20px;
	text-align: right;
}

.rightCol .legend 
{
	margin-top: 5px;
}

.legend table 
{
	width: 135px;
}

.legend .cost 
{
	color: #003972;
	font-size: 80%;
	text-align: right;
}
.legend .midweek_weekend 
{
	color: #003972;
	font-size: 60%;
}
.legend .offr {
	font-size: 80%;
	text-align: center;
}
.offr a {
	text-decoration: underline;
	color: #006080;
}

.rightCol .legend .cost
{
	text-align: left;
}

.legend .color 
{
	width: 30px;
	text-align: center;
	font-size: 80%;
	border: solid 1px #ecedc0;
}

.legend .highlight .cost
{
	font-weight: bold;
}

.legend .highlight .color
{
	border: solid 1px #006080;
}

.legend .usage1 {
	background-color: #fff7d5;
}
.legend .usage2 {
	background-color: #fff7d5;
	color: #d7cfa9;
}


/*
	Year selector
*/
.heading .years 
{
	text-align: right;
	font-size: 80%;
}
.heading .years span
{
	margin-left: 5px;
}