/* Calendar tables */

table.calendar,
table.cal-month{
	margin: 0 auto;
}

table.cal-month td,
table.cal-year td{
	border: 1px solid gray;
	text-align: center;
}

table.cal-month td{
	padding: 15px 17px 30px 17px;
	font-size: 20pt;	
	background: transparent url("images/bg_day2.jpg") top right;
	width: 80px;
}

table.cal-month td.nd{ /*prázdné pole*/
	background: transparent url("images/bg_day0.jpg") top right;	
}


table.cal-month td.wd5{ /*sobota*/
	background: transparent url("images/bg_day4.jpg") top right;	
}

table.cal-month td.wd6{ /*neděle*/
	background: transparent url("images/bg_day3.jpg") top right;	
}

table.cal-month tr.weekdays td{ /*nadpisy dnů*/
	color: white;
	background: #D2B48C url("images/bg_day5.jpg") bottom right;	
}

table.cal-month tr.cal-header td{
	width: auto;
	color: White;
	background: #BAA55A none;	
}

table.cal-month tr.cal-header td a{
	color: white;
}
table.cal-month tr.cal-header td a.goto-year:hover{
	text-decoration: none;
	background-color: #6B8E23;
	padding: 0 2px 0 2px;
	border: 1px solid white;	
}


table.cal-month td div{
	font-size: 10pt;
	padding-top: 5px;
}

table.cal-month tr.weekdays td{
	font-size: 12pt;
	font-weight: bold;
	padding: 10px;
}

table.cal-month tr.cal-header td{
	font-size: 12pt;
	font-weight: bold;
	padding: 10px;
	text-transform: uppercase;
}
/***********/

td.miy{ /* month in year view */
	vertical-align: top;
}

table.cal-year td{
	padding: 5px;
	background: transparent url("images/bg_sm_day2.gif") top right;	
}	

table.cal-year td.nd{ /*prázdné pole*/
	background: transparent url("images/bg_sm_day0.gif") top right;	
}


table.cal-year td.wd5{ /*sobota*/
	background: transparent url("images/bg_sm_day4.gif") top right;	
}

table.cal-year td.wd6{ /*neděle*/
	background: transparent url("images/bg_sm_day3.gif") top right;	
}

table.cal-year tr.weekdays td{ /*nadpisy dnů*/
	color: white;
	font-weight: bold;
	background: #D2B48C url("images/bg_sm_day5.gif") bottom right;	
}

table.cal-year tr.cal-header td{
	width: auto;
	color: White;
	background: #BAA55A none;
	text-transform: uppercase;
	font-weight: bold;
	padding: 0 !important;
}

table.cal-year tr.cal-header td a{
	color: White;
	display: block;
	padding: 5px;
}

table.cal-year tr.cal-header td a:hover{
	background-color: #6B8E23;		
}

table.calendar tr.cal-header{
	text-align: center;
}
table.calendar tr.cal-header td.next{
	text-align: right;
}
table.calendar tr.cal-header td.prev{
	text-align: left;
}

table.calendar tr.cal-header td.next a,
table.calendar tr.cal-header td.prev a{
	padding: 5px;
	color: #A38333;
	font-size: 14pt;
	font-weight: bold;
}

table.calendar tr.cal-header td.next a:hover,
table.calendar tr.cal-header td.prev a:hover{
	text-decoration: none;
	color: white;
	background-color: #6B8E23;
	padding: 5px;
	border: 1px solid white;	
}

td.arrow{
	padding: 0 !important;
/*	vertical-align: top;*/
}

td.arrow a{
	display: block;
	height: 100%;
	color: #E3E3E3;
	text-decoration: none;
	background-color: #A9A9A9;
	padding: 10px;
}

td.arrow a:hover{
	color: white;
	background-color: #6B8E23;		
	text-decoration: none;
}

.invis{
	display: none !important;
}

.nobg{
	background: none !important;
	color: black !important;
}

.nobg a{
	color: Black !important;
}	

.nobg a:hover{
	color: Black !important;
	background-color: white !important;
	text-decoration: underline !important;
}	