/* все блок выбора временного интервала */
div.time-interval {
	display:inline-block;
	border:1px solid #BBB;
	padding:.5em;
	border-radius:.3em;-moz-border-radius:.3em;-webkit-border-radius:.3em;
	cursor:default;
	background:#EEE;
}

table.time-interval-greed td {
	background:#EEE;
	border:none;
	vertical-align:middle;
}

/* таблица часов */
div.time-interval-hours table {
	margin:0;
	padding:0;
	border:none;
	width:auto;
	margin-top:.2em;
	border-spacing:1px;
	border-collapse:separate;
	border:none;
	background:none;
}

/* ячейки с часами */
div.time-interval-hours table th {
	color:#777;
	text-align:center;
	border:none;
	background:none;
	padding:0;
	margin:0
}

/* ячейки интервалов */
div.time-interval-hours table td/*, div.time-interval-hours table td:last-child*/ {
	text-align:center;
	padding:0px;
	background:#FFF;
	border:1px solid #CCC;
	border-radius:.2em;-moz-border-radius:.2em;-webkit-border-radius:.2em;
	cursor:pointer;
	min-width:1.5em; 
	max-width:1.5em; 
	min-height:1.5em;
	max-height:1.5em;
	width: 1.8em;
}

/* красим ячейку под курсором */
div.time-interval-hours table td:hover {
	background:#FB6;
	border-color:#BA8
}

/* ячейки с минутными интервалами */
div.time-interval-hours table td.time-interval-minutes {
	padding-right: 3px;
	background:transparent;
	cursor:default;
	border:none
}

/* время до начала и после окончания работы, то что влезает в таблицу, но не учавствует в выборе. */
div.time-interval table td.time-interval-blank {
	background:transparent;
	cursor:default;
	border:none
}

/* выбранное время */
div.time-interval table td.time-interval-selected {
	background:#FB6;
	border-color:#BA8;
	color:brown
}

/* веремя обеда */
div.time-interval table td.time-interval-disabled {
	color:#888;
	background:#EEE;
	border-color:#CCC;
	cursor:default
}

/* зарезервированное время */
div.time-interval table td.time-interval-reserved {
	color:#888;
	background:#DDD;
	border-color:#CCC;
	cursor:default
}

div.time-interval-legend {
}

div.time-interval-legend table {
	margin-left: 1.5em;
	border:1px solid #CCC;
	border-radius:.3em;-moz-border-radius:.3em;-webkit-border-radius:.3em;
}
div.time-interval-legend td {
	text-align: center;
	padding:0;
	font-size: .8em;
	border: 1px solid #CCC;
	border-radius:.2em;-moz-border-radius:.2em;-webkit-border-radius:.2em;
	min-width:1.4em; 
	max-width:1.4em; 
	min-height:1.4em; 
	max-height:1.4em;
	background:#FFF;
}

div.time-interval-legend td.time-interval-blank {
	text-align: left;
	min-width: none; 
	max-width: none; 
	min-height: none; 
	max-height: none;
}

/*
 * RightJS calendar style fixes.
 */
div.right-calendar-month-caption span {
	padding: 0 0.5em;
	border: 1px solid #CCC; border-radius: .2em; -moz-border-radius: .2em; -webkit-border-radius: .2em;
	background-color: #fff;
	cursor: hand;
}
div.right-calendar-month-caption span:hover {
	border: 1px solid #999; border-radius: .2em; -moz-border-radius: .2em; -webkit-border-radius: .2em;
	background-color: #ccc;
}
div.right-calendar-month-caption input {
	width: 3em; text-align: center; padding: 0; margin: 0;
	font-size: 13px;
	font-family: Georgia, "Times New Roman", Times, serif;
	float: none;
	z-index: 100;
}
div.right-calendar-month-caption select {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 12px;
	float: none;
}
div.right-calendar, div.right-calendar table, div.right-calendar table tr, div.right-calendar table th,
div.right-calendar table td, div.right-calendar table tbody, div.right-calendar table thead {
	background: transparent none repeat scroll 0;
	border: medium none;
	height: auto;
	margin: 0;
	padding: 0;
	width: auto;
}
div.right-calendar-month-caption {
	margin-bottom: 7px;
}
div.right-calendar-buttons div.right-ui-button.right-calendar-done-button {
	font-weight: bold;
	color: #A6001C;
}
.right-calendar-month table tbody tr td {
	-moz-border-radius-bottomleft: 0.2em;
	-moz-border-radius-bottomright: 0.2em;
	-moz-border-radius-topleft: 0.2em;
	-moz-border-radius-topright: 0.2em;
	background-color: #FFFFFF;
	border: 1px solid #CCCCCC;
	color: #555555;
	cursor: pointer;
	padding: 0.1em 0.3em;
	text-align: right;
}

