#calendar_event_repeat_type_custom_ui fieldset {
	border: solid 1px #CCC;
	padding: 3px 6px 6px 6px;
	margin: 8px 0 8px 6px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-left-width: 4px;
	/*width: 496px;*/ /* matches default width of the tinymce editor */
	width: 95%;
	background: #FFF;
}

#calendar_event_repeat_type_custom_ui legend {
	color: #000;
}

#calendar_event_repeat_type_custom_ui th {
	color: #000;
	text-align: right;
	font-weight: normal;
}

.toggletable {
	border-collapse: collapse;
	margin-top: 2px;
}

.toggletable td {
	padding: 0;
	border: solid 1px #000;
	background: #DDD;
}

.toggletable .toggleable {
	background: #FFF;
}

.toggletable td.checked {
	background: #316AC5;
	color: #FFF;
}

.toggletable-disabled td.toggleable {
	background: #DDD;
	color: #999;
}

.toggletable-disabled td.checked {
	background: #777;
}

.toggletable-disabled label {
	cursor: default;
}

.repeat-weekdaytable .weekday-0,
.repeat-weekdaytable .weekday-6 {
	background: #EEEEEE;
}

.repeat_custom_type_formrow_yearly .toggletable td label {
	display: block;
	width: 32px;
	line-height: 24px;
	text-align: center;
}

.repeat_custom_type_formrow_weekly .toggletable td label, 
.repeat_custom_type_formrow_monthly .toggletable td label {
	display: block;
	width: 32px;
	line-height: 24px;
	text-align: center;
}
