@import "ColumnViewCommon.less";

.nihilo .dojoxCalendarMonthColumnView {	
  cursor: default;
	-webkit-user-select: none;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarScrollContainer {
	left: 0;
	right: 0;
	bottom: 0;
	top: @column-header-height;
	position: absolute;
	overflow-y: hidden;
	overflow-x: hidden;	
	border-bottom: @outer-border;
	.border-box;
}
	
.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGrid {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGridTable {
	border-collapse: collapse;
	table-layout: fixed;
	width: 100%;
	position: relative;
	margin: 0;
	padding: 0;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGridTable td {
	border-top: dotted 1px #B5BCC7;	
	border-right: @inner-border;
	.border-box;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGridTable td span {
  padding-left:3px;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGridTable tr:first-child td	{
	border-top: 1px solid transparent;
}

/* 
 * The dojoxCalendarToday & dojoxCalendarWeekend classes is added by the 
 * ColumnView.styleGridColumn method that can be subclassed to add/remove css classes
 */
.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGridTable .dojoxCalendarToday {
	background-color: @today-color;
	font-weight: bold;
	color: @today-label-color;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGridTable .dojoxCalendarHiddenEvents	{	
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAF0lEQVQYlWP4z8Dw/1dU1H8GXGBkKAAA+IglWfcls2QAAAAASUVORK5CYII=) repeat-y;	
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGridTable .dojoxCalendarToday.dojoxCalendarHiddenEvents	{	
	background: @today-color url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAF0lEQVQYlWP4z8Dw/1dU1H8GXGBkKAAA+IglWfcls2QAAAAASUVORK5CYII=) repeat-y;	
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGridTable tr td.last-child	{
	border-right: @outer-border;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGridTable tr td.first-child	{
	border-left: @outer-border;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGridTable tr:first-child td.dojoxCalendarToday	{
	border-top: 1px solid @today-color;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGridTable .dojoxCalendarWeekend {
	background-color: @week-end-color;
	color: @week-end-label-color;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarGridTable tr:first-child td.dojoxCalendarWeekend	{
	border-top: 1px solid @week-end-color;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarContainer {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	cursor: default;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarContainerTable {
	border-collapse: collapse;
	table-layout: fixed;
	width: 100%;
	position: relative;
	margin: 0;
	padding: 0;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarContainerTable td {
	height: 100%;
	padding: 0;
	vertical-align: top;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarContainerColumn {
	position:	relative;
	margin-left: 35px;
	margin-right: 5px;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEventContainer {
	position: absolute;
	overflow: hidden;
	.select-none;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarColumnHeader {
	position: absolute;
	height: @column-header-height;	 
	left: 0;
	right: 0;
	top: 0;
	cursor: default;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarColumnHeaderTable {
	border-collapse: collapse;
	table-layout: fixed;
	position: relative;
	margin: 0;
	padding: 0;			
	width: 100%;
	height: 100%;	
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarColumnHeaderTable td {	
	overflow:hidden;
	white-space: nowrap;
	vertical-align: middle;
	text-align: center;
	.header-background;
	border-right: @inner-border;
	border-top: @outer-border;
	border-bottom: @outer-border;
	.select-none;
	color: @label-color;
	.transition-duration(0.2s);
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarColumnHeaderTable td.last-child {	
	border-right: @outer-border;	
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarColumnHeaderTable td.first-child {	
	border-left: @outer-border;	
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarColumnHeaderTable td.Hover{	
	cursor: pointer;		
	.header-hover-background;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarColumnHeaderTable td.Active{	
	.header-active-background;
}
 
.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent {
	position: absolute;	
	text-align: left;
	color: #FFF;
	cursor: default;
	overflow: hidden;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent .bg {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: -1;
	border: 1px solid #260000;	
	.rounded-corners;
	background-color: #9F0000;
	.opacity(90);
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent.Hovered .bg {
	background-color: #CC0000;	
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent.Selected .bg {
	background-color: #660000;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent.Edited .bg {
	border: dashed 1px #FFFFFF;
	.opacity(70);
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent.Focused .bg {
	border: dashed 1px #FFFFFF;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent .summary {
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent .startTime {
	font-weight: bold;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent .endTime {
	position: absolute;		
	font-weight: bold;	
	bottom:3px;
	left: 6px;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent .beforeIcon {
	text-align: center;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent .afterIcon {
	position: absolute;
	bottom: 2px;
	width: 100%;
	text-align: center;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent .handle {
	.glass-view;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent .moveHandle {
	position: absolute;
	top:0;
	width:100%;
	bottom:0;
	cursor:move;	
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent .resizeStartHandle {
	position: absolute;
	top:0;
	width:100%;
	height:10px;
	cursor:n-resize;	
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent .resizeEndHandle {
	position: absolute;
	bottom:0;
	width:100%;
	height:10px;
	cursor:n-resize;	
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent dl {
	margin: 0;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarEvent dd {
	margin: 0;
	padding: 0 3px;
	text-align: left;
}

.nihilo .dojoxCalendarMonthColumnView .dojoxCalendarVScrollBar {
	position: absolute;
	top: @column-header-height;
	bottom: 0;
	overflow-y: scroll;
	overflow-x: hidden;
}
