/**********Timetable sceleton*****/
.timetable {
	overflow: hidden;
}

.timetable-wrapper {
	margin: 0px 12px;
}

/*where month/week views are*/
.timetable-header {
	clear: both;
	overflow: hidden;
	width: 1100px;
}

.timetable-main {
	border-bottom: #d3d7cf solid 1px;
	border-left: #d3d7cf solid 1px;
	position: relative;
}

.timetable-weeks {
	float: left;
}

.timetable-weeks-label {
	line-height: 20px;
	text-align: center;
	border-top: #d3d7cf solid 1px;
	border-right: #d3d7cf solid 1px;
}

.timetable-weeks-container {
	text-align: center;
}

.timetable-weeks-container .week {
	/*Added week number to be bold: */
	color: #6f736b;
	font-size: smaller;
	font-weight: bold;
	border-top: #d3d7cf solid 1px;
	border-right: #d3d7cf solid 1px;
}

.timetable-weeks-container .week:hover {
	color: #333;
}

.timetable-days {
	float: left;
	position: relative;
}

.timetable-day-labels {
	text-align: center;
}

.timetable-day-labels .day {
	float: left;
	line-height: 18px;
	border-top: #d3d7cf solid 1px;
	border-right: #d3d7cf solid 1px;
}

.timetable-days-container {
	float: left;
}

.timetable-days-container .week {
	position: relative;
	float: left;
}

.timetable-days-container .day {
	position: absolute;
	float: left;
	background: #fff;
	border-top: #d3d7cf solid 1px;
	border-right: #d3d7cf solid 1px;
	overflow: hidden;
	background-image: url(/img/back2.png);
	background-repeat: repeat-y;
	background-position: right top;
}

.currentWeek .day {
	overflow: visible !important;
}

.timetable-days-container .day .day-label {
	text-align: center;
	line-height: 18px;
	padding: 0 4px;
	border-bottom: 1px solid #d3d7cf;
}

.timetable-days-container .day .day-label a {
	color: #333;
	line-height: 18px;
	text-align: center;
}

.day-header {
	background-color: #535353;
	color: white;
}

/*********Month view*******/
.timetable-month-label {
	line-height: 45px;
	padding: 0 10px;
	margin: 0;
}

.timetable-month-label .labels {
	float: left;
}

.timetable-month-label .labels a {
	color: #888a85;
}

.timetable-month-label .labels a:hover {
	text-decoration: underline;
}

/*each days events represented for month view*/
.month-content {
	display: none;
	line-height: 20px;
	font-size: 10px;
	background-color: white;
}

/****Controls(week, month view etc)****/
.timetable-month-label .controls {
	float: right;
}

.timetable-month-label .controls a {
	color: #888a85;
}

.timetable-month-label .controls a:hover {
	text-decoration: underline;
}

/*events in month view*/
.monthEvent {
	padding: 0;
	margin: 0 0 3px 0;
	line-height:12px;
	font-size:10px;
}

.monthEventBullet {
	width: 8px;
	margin: 2px 2px 0px 2px;
	height: 8px;
	display: inline-block;
}

.currentDay .month-content {
	background-color: #cccccc;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
}

.controls a,.customButton {
	cursor: pointer;
	margin: 0 !important;
	height: 30px;
	font-size: 13px;
	font-weight: 600;
	line-height: 13px;
	border-left: 1px solid #b8b8b8;
	border-top: 1px solid #b8b8b8;
	border-bottom: 1px solid #b8b8b8;
	padding: 4px 4px 4px 4px;
	color: #434441 !important;
	background: #dfdddd; /* Old browsers */
	background: -moz-linear-gradient(top, #dfdddd 0%, #d4d3d3 100%);
	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #dfdddd),
		color-stop(100%, #d4d3d3) ); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #dfdddd 0%, #d4d3d3 100%);
	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #dfdddd 0%, #d4d3d3 100%);
	/* Opera 11.10+ */
	background: -ms-linear-gradient(top, #dfdddd 0%, #d4d3d3 100%);
	/* IE10+ */
	background: linear-gradient(to bottom, #dfdddd 0%, #d4d3d3 100%);
	/* W3C */
	filter: progid : DXImageTransform.Microsoft.gradient (   startColorstr =
		'#dfdddd', endColorstr = '#d4d3d3', GradientType = 0 ); /* IE6-9 */
}

.customButton { 
	margin-right: 5px !important;
	height: 25px;
	float: left;
	font-size: 12px;
}

.leftButton {
	-webkit-border-top-left-radius: 2px;
	-webkit-border-bottom-left-radius: 2px;
	-moz-border-radius-topleft: 2px;
	-moz-border-radius-bottomleft: 2px;
	border-top-left-radius: 2px;
	border-bottom-left-radius: 2px;
}

.rightButton {
	border-right: 1px solid #b8b8b8;
	-webkit-border-top-right-radius: 2px;
	-webkit-border-bottom-right-radius: 2px;
	-moz-border-radius-topright: 2px;
	-moz-border-radius-bottomright: 2px;
	border-top-right-radius: 2px;
	border-bottom-right-radius: 2px;
}

.controls a:hover,.customButton:hover {
	background: #ededed; /* Old browsers */
	background: -moz-linear-gradient(top, #ededed 0%, #e0e0e0 100%);
	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed),
		color-stop(100%, #e0e0e0) ); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ededed 0%, #e0e0e0 100%);
	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ededed 0%, #e0e0e0 100%);
	/* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ededed 0%, #e0e0e0 100%);
	/* IE10+ */
	background: linear-gradient(to bottom, #ededed 0%, #e0e0e0 100%);
	/* W3C */
	filter: progid : DXImageTransform.Microsoft.gradient (   startColorstr =
		'#ededed', endColorstr = '#e0e0e0', GradientType = 0 ); /* IE6-9 */
}

.controls a:hover {
	text-decoration: none !important;
}

.controls a.activeView,.customButton.activeView {
	background: #cbcbcb; /* Old browsers */
	background: -moz-linear-gradient(top, #cbcbcb 0%, #b7b6b6 100%);
	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cbcbcb),
		color-stop(100%, #b7b6b6) ); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #cbcbcb 0%, #b7b6b6 100%);
	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #cbcbcb 0%, #b7b6b6 100%);
	/* Opera 11.10+ */
	background: -ms-linear-gradient(top, #cbcbcb 0%, #b7b6b6 100%);
	/* IE10+ */
	background: linear-gradient(to bottom, #cbcbcb 0%, #b7b6b6 100%);
	/* W3C */
	filter: progid : DXImageTransform.Microsoft.gradient (   startColorstr =
		'#cbcbcb', endColorstr = '#b7b6b6', GradientType = 0 ); /* IE6-9 */
}

/******Events data*****/
div span.classSubject {
	font-size: 11px;
	font-weight: normal;
}

div span.classSubject a {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	font-family: inherit;
}

div span.classGroup {
	font-size: 11px;
	color: #005500;
	font-weight: bold;
}

div span.classLocation {
	font-size: 10px;
	color: #000055;
	font-weight: bold;
}

div span.classUser {
	font-size: 10px;
	font-style: italic;
}

div span.classTime {
	font-size: 10px;
	color: #550000;
	font-weight: bold;
	white-space:nowrap;
}

/*passive event*/
.statuspassive span {
	text-decoration: line-through;
}

.eventDataTable {
	overflow: hidden;
}

/*****container of times grid in each day****/
.timetable-time-container {
	position: relative;
	float: left;
}

.timetable-time-container .hour-content {
	line-height: 20px;
	border-top: #d3d7cf solid 1px;
}

.timetable_times,.timetable_times tr,.timetable_times td {
	table-layout: fixed;
	border-spacing: 0;
	padding: 0;
	margin: 0;
	opacity: 0.7;
	border-collapse: collapse;
	border-spacing: 0px 0px;
}

.timetable_times {
	position: absolute;
}

.timetable_times div {
	border-bottom: 1px dashed #CECCCC;
	box-sizing: content-box;
}

/********************************/ /*times near each day*/
.timetable-time-labels {
	position: relative;
	float: left;
}

.timetable-time-labels .hour {
	text-align: center;
	line-height: 20px;
	border-top: #d3d7cf solid 1px;
	border-right: #d3d7cf solid 1px;
}

.hour {
	font-size: 9px;
	font-weight: bold;
}

/*short day label*/
.label-short {
	text-align: center;
	line-height: 20px;
}

/*long day label*/
.label-long {
	text-align: center;
	line-height: 20px;
}

/*odd month*/
.month0 {
	background-color: #adadae !important;
}

/*even month*/
.month1 {
	background-color: #cacacb !important;
}

/*odd month in current(chosen) week*/
.currentWeek .month0 {
	background-color: #e4e5ea !important;
}

/*even month in current(chosen) week*/
.currentWeek .month1 {
	background-color: #f4f5f8 !important;
}

/*spinner when loading new day content*/
.ajaxLoading {
	background-image: url(/img/minispinner.gif);
	background-repeat: no-repeat;
	background-position: left top;
}

/*events inside selected day*/
div.classSelected {
	white-space: normal;
	border: 1px solid #51559f;
	margin: 2px;
	padding: 2px;
	vertical-align: middle;
	font-size: 11px;
	color: #000000;
	line-height: 12px;
}

/*events outside selected day*/
div.classUnSelected {
	opacity: 0.6;
	filter: alpha(opacity = 60);
	white-space: normal;
	border: 1px solid #51559f;
	margin: 2px;
	padding: 2px;
	vertical-align: middle;
	font-size: 11px;
	color: #000000;
	line-height: 12px;
}

#timetable-legend {
	margin-top: 2px;
	text-align: center;
	line-height: 20px;
}

#timetable-legend span {
	margin-right: 4px;
	padding-left: 3px;
	padding-right: 3px;
	padding-top: 1px;
	padding-bottom: 1px;
	white-space: nowrap;
}

/*wraparound with spinner to show when loading new data*/
#timetableWraparound {
	z-index: 9999;
	position: absolute;
	background-color: white;
	margin-top: 8px;
}

#timetableWraparound span {
	position: absolute;
	background-image: url(/img/spinner.gif);
	background-repeat: no-repeat;
	background-position: center center;
	height: 50px;
	width: 50px;
}

/*room div for each room in all rooms view*/
.roomDiv {
	border-right: 1px solid #d3d7cf;
	position: relative;
	text-align: center;
	position: absolute;
	top: 0px;
}

.roomDiv div {
	background-color: rgba(124, 126, 122, 0.6);
	height: 14px;
	color: white;
	width: 100%;
	font-weight: bold;
	position: relative;
	vertical-align: top;
	font-size: 11px;
	color: white;
	line-height: 12px;
	overflow: hidden;
}

/*current time on timetable*/
.currentTimeEvent {
	border: 1px solid red !important;
}

/*days which are shown on timetable have this class in small calendar */
.calendarInCurrentPeriod {
	background-color: #404040;
}

.calendarInCurrentPeriodStrict {
	background-color: #535353;
}
.day-view-content {
	cursor: default;
}

.currentDay {
	cursor: default;
}

.notCurrentDay {
	cursor: pointer;
}

.weekLabel {
	cursor: pointer;
}

/*filters form*/
#timetable-form-container {
	vertical-align: middle;
	background-color: #ddd;
	padding-top: 4px;
	border: 1px solid #fff;
	text-align: center;
	clear: both;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

/*actoins in the right corner*/
div.actions {
	float: right;
}

.eventObject table,.eventObject tr,.eventObject td {
	margin: 0;
	padding: 0;
}

.day-label:hover {
	background-color: rgba(240, 240, 240, 0.4);
}

.day-label a:hover {
	text-decoration: none;
}

/*invisible events*/
.invisible {
	visibility: hidden;
}

.displayNone {
	display:none;
}

.form {
	margin-top:0px !important;
}