#calendar, table#calendar {
	width: 100%;
	padding: 0;
	margin: 0;
	border-left: 1px solid #A2ADBC;
	font: normal 12px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #616B76;
	text-align: center;
	background-color: #fff;
	border-collapse: separate;
}

#calendar .nav, #calendar .nav a {
	font: bold 18px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #fff;	
	text-align: center;
	text-decoration: none;
}	


#calendar caption {
	margin: 0;
	padding: 0;
	width: 100%;
	background: #A2ADBC;
	color: #fff;	 
	font: bold 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
}

#calendar th {
	font: bold 11px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #616B76;
	background: #D9E2E1;
	border-right: 1px solid #A2ADBC;
	border-bottom: 1px solid #A2ADBC;
	border-top: 1px solid #A2ADBC;
}

#calendar .today, td.today a, td.today a:link, td.today a:visited, .highlight {
	color: #F6F4DA;
	font-weight: bold;
	background: #DF9496;
	display: block;
	width: 25px;
	height: 25px;
	border-spacing: 1px;
}

#calendar td {
	border-right: 1px solid #A2ADBC;
	border-bottom: 1px solid #A2ADBC;
	width: 20px;
	height: 20px;
	text-align: center;
	background: url(images/bg_calendar.gif) no-repeat right bottom;
}

#calendar td a {
	text-decoration: underline;
	font-weight: bold;
	display: block;
}


#calendar td.daycell {
	width: 14.28%;
	border: 1px solid #A2ADBC;
}
#calendar td.daycell div.day {
float: right;
width: 25px;
height: 25px;
margin-bottom: 10px;
font-size: 12pt;
background: #efefef;
padding: 0px;
line-height: 25px;
}
#calendar td.daycell ul, #calendar td.daycell ol {
clear: both;
margin: 0;
padding: 0;
width: 100%;
list-style-type: none;
overflow: hidden;
}
#calendar td.daycell ol, #calendar td.daycell ol li { list-style-type: upper-roman; }
#calendar th {
	text-align: center;
}
#calendar td.daycell ol li {
	list-style-position: inside;
}
div.hebrewDate {
	font-size: 11px;
	padding: 5px;
	text-align: right;
	color: #adadad;
	line-height: 13px;
	clear: both;
	border-top: 1px solid #efefef;
	border-bottom: 1px solid #efefef;
	margin-bottom: 5px;
}
.cal-event-list li {
	text-align: left;
	font-size: 11px;
	line-height: 12px;
	letter-spacing: .05px;
	padding: 0;
	margin: 1px;
}

#calendar strong {
	font-weight: bold;
	display: block;
}
span.link-text {
	display: block;
	padding-top: 5px;
}
.calEvent {
	padding: 5px 2px;
}
.regEvent {
	background:#E5F9FF;
	border-bottom: 1px solid #80E1FF;
}

.classEvent {
	background:#FFECB3;
	border: 1px solid #FFD966;
}
.scholarEvent {
	background:#DAFFCC;
	border-bottom: 1px solid #A2FF80;
}
.youthEvent {
	background:#F2FFCC;
	border-bottom: 1px solid #DFFF80;
}
.familyEvent {
	background:#FFCCD9;
	border-bottom: 1px solid #FF809F;
}
.israelEvent {
	background:#E6B3FF;
	border-bottom: 1px solid #CC66FF;
}
.serviceEvent {
	background:#FF9999;
	border-bottom: 1px solid #FF4D4D;
}
.serviceEvent * {
	color: #FFE5E5
}
.shabbatEvent {
	background:#B3C2FF;
	border-bottom: 1px solid #6685FF;
}
.purimEvent {
	background:#E3E3E3;
	border-bottom: 1px solid #BDBDBD;
}
.isSpecial {
	border: 1px solid #ff0000;
}
.isSpecial, .isSpecial * {
	color: #ff0000;
	background: #FFE5E5;
}
#calLegend {
	padding: 10px;
	background: #FFF;
	border: 3px solid #B3D9FF;
	cursor: pointer;
	position: absolute;
}
#calLegend table {
	background: #fff;
	border: 1px solid #ccc;
	border-left: 0;
	border-collapse: separate;
}
#calLegend table td {
	padding: 5px 10px 5px 5px;
	border-bottom: 1px solid #cdcdcd;
	border-left: 1px solid #cdcdcd;
}
#calLegend p {
	color: #8A8A8A;
	padding: 10px 5px 0 5px;
}

#calLegend td {
	padding: 5px;
}

#calMenu {
    border: 1px solid #ccc;
	padding: 5px;
	overflow: hidden;	
	font-size: 11px;
	background: #fff;
	height: 20px;
}

#calMenu li {
	float: left;
	font-family: arial;
	margin-right: 10px;
	padding-right: 10px;
	padding-bottom: 0px;
	border-right: 1px solid #ccc;
	height: 20px;
	line-height: 20px;
}
#calMenu li.last {
	border: 0;
	padding-right: 0;	
}
#calMenu li a {
	background: #fff;
}
#viewLegend {
	color: #304B8F;
	text-decoration: underline;
	cursor: pointer;
}
.defaultTimes {
	text-align: left;
	padding: 5px;
	line-height: 13px;
}
.defaultTimes li {
	padding: 3.5px 0;	
	border-bottom: 1px dashed #ccc;
}
.defaultTimes .defaultName {
	font-weight: bold;
	padding-bottom: 5px;
	display: block;
	text-transform: uppercase;
}
#static strong {
	text-align: left;
}
#static td {  text-align: left; padding: 10px; }
#static td.label {
	font-size: 14px;
	font-weight: bold;
	letter-spacing: -.5px;
	width: auto;
}
#static ul, #static li {
	display: inline;
	text-align: left;
	line-height: 10px;
}
#static li {
	margin-left: 8px;
	padding-left: 8px;
	border-left: 1px solid #ccc;
	padding-bottom: 0;
}