/* orbit calendar */
#orbit_calendar {
	padding: 10px 8px;
	min-width: 960px;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
.calendar_color_tag {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 4px;
	vertical-align: bottom;
}
.current_day_title {
	text-align: center;
	line-height: 28px;
}
.calendar_mode {
	z-index: 2;
}
.mode_switch {
	text-transform: capitalize;
}
.today {
	background-color: #D9EDF7;
}
.event {
	font-size: 12px;
	border-radius: 3px;
	cursor: pointer;
	padding: 1px 3px;
	font-weight: bold;
	box-shadow: inset 0 0 1px black;
	-webkit-box-shadow: inset 0 0 1px black;
	-moz-box-shadow: inset 0 0 1px black;
}
.modal-body {
	max-height: 450px;
}
.event_list_wrapper {
	position: relative;
}
.event_list .cell {
	height: 39px;
	border: solid 1px #ddd;
	border-top: 0;
}
.event_list .divide {
	height: 19px;
	margin-bottom: 18px;
	border-bottom: solid 1px #eee;
}
.event_list .day_time {
	height: 31px;
	border-bottom: solid 1px #ddd;
	border-left: solid 1px #ddd;
	text-align: right;
	padding: 4px;
}
.event dl, .event dt, .event dd {
	margin: 0;
	padding: 0;
}
.event dl {
	padding: 3px;
}
.event dt {
	font-size: 11px;
	font-weight: normal;
	line-height: 12px;
}
#calendar_day .event_holder {
	width: 100%;
	/*height: 100%;*/
	position: absolute;
	top: 0;
	z-index: 1;
}
.event_holder .inner {
	position: relative;
	margin: 0 16px 0 2px;
}
.event_holder .event {
	padding: 0px;
	position: absolute;
	width: 100%;
}
.event_holder .event.half {

}
.event_holder .event.over {
	border: solid 1px #fff;
}
/* month view */
#calendar_month {
	border-bottom: solid 1px #ddd;
}
#calendar_month .month_row {
	position: relative;
	border: solid 1px #ddd;
	border-bottom: 0;
	height: 60px;
	overflow: hidden;
}
#calendar_month .month_row .table {
	table-layout: fixed;
	margin-bottom: 0;
	width: 100%;
	position: absolute;
}
#calendar_month .month_row .table td {
	border: 0;
	border-left: solid 1px #ddd;
	padding: 2px 4px 0 4px;
}
#calendar_month .month_row .table td:first-child {
	border-left: 0;
}
#calendar_month .month_row.header {
	height: 28px;
	border: 0;
}
#calendar_month .month_row.header th {
	font-size: 12px;
	padding: 4px;
	border: 0;
}
#calendar_month .month_row .month_table {
	height: 100%;
}
#calendar_month .month_row .month_date {
	color: #666;
	font-size: 11px;
	cursor: pointer;
}
#calendar_month .month_row .month_date td {
	border-left: 0
}
#calendar_month .month_row .month_date .day_title:hover {
	text-decoration: underline;
}
#calendar_month .month_row td.today {
	border-bottom: solid 1px #fff;
	border-top: solid 1px #fff;
}
#calendar_month .month_row .event {
	margin: 0 -2px;
	position: relative;
	color: #000;
}
#calendar_month .month_row .month_date .event:hover {
	text-decoration: none !important;
}
#calendar_month .month_row td.disable {
	background-color: #f6f6f6;
	color: #ccc;
	border-left: solid 1px #ddd;
}
#calendar_month .event.single {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

/* agenda view */
#calendar_agenda {
	margin-top: 20px;
}
#calendar_agenda .table {
	margin-bottom: 0;
}
#calendar_agenda .tiny_calendar {
	border: solid 1px #eee;
}
#calendar_agenda .tiny_calendar .table th {
	border-top: 0;
}
#calendar_agenda .tiny_calendar .table td {
	text-align: center;
}
#calendar_agenda .event {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
#calendar_agenda .row-fluid {
	margin-top: 20px;
	padding-top: 20px;
	border-top: dashed 1px #ddd;
}
#calendar_agenda .row-fluid:first-child {
	border-top: 0;
	padding-top: 0;
	margin-top: 0;
}
#calendar_agenda .table.event_list .span2, #calendar_agenda .table.event_list thead th {
	min-height: 0 !important;
	height: 0 !important;
	line-height: 0;
	padding: 0;
}
.event_time {
	font-family: Tahoma, sans-serif;
}
.has_event {
	background-color: #08c;
	color: #fff;
}

/* day view */
#calendar_day .header {
	margin-bottom: 10px;
}
#calendar_day .header th {
	text-align: center;
}
#calendar_day td {
	border: 0;
}
#calendar_day .event {
	margin-bottom: 2px;
}
#calendar_day .all_day_event {
	background: #eee;
	border: solid 1px #ddd;
}
#calendar_day .event_list .table {
	border-top: solid 1px #ddd;
}
#calendar_day .event_list td {
	padding: 0;
}

/* week view */
#calendar_week {

}
#calendar_week .cell_wrapper {
	position: absolute;
	width: 100%;
}
#calendar_week td {
	padding: 0;
}
#calendar_week .table {
	margin-bottom: 0;
}
#calendar_week .header {
	margin-bottom: 12px;
	border-top: 0;
	table-layout: fixed;
}
#calendar_week .header th {
	text-align: center;
	font-size: 12px;
}
#calendar_week .header td {
	border: solid 1px #ddd;
	/*background-color: #eee;*/
}
#calendar_week .week_day {
	padding: 0 2px;
	border: solid 1px #ddd;
}
#calendar_week .header .week_day {
	padding: 2px 4px 0px 2px;
}
#calendar_week .event_list .event {
	position: absolute;
	width: 100%;
	margin-bottom: 2px;
}
#calendar_week .cell_map {
	margin-bottom: 18px;
}
#calendar_week .cell_map td {
	border-top: 0;
	border-bottom: 0;
}
#calendar_week .cell_map tr:first-child td {
	border-top: solid 1px #ddd;
}
#calendar_week .event_holder .inner {
	margin: 0 8px 0 0;
}
#calendar_week .all_day_event_holder {
	position: relative;
	width: 100%;
	table-layout: fixed;
}
#calendar_week .all_day_event_holder td {
	border: 0;
	background-color: transparent;
}
#calendar_week .all_day_event {
	background: #eee;
}



/* calendars(category) */
.calendars_color_tag {
	width: 20px;
	height: 20px;
	display: inline-block;
	border-radius: 3px;
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.2);
}

/* Event Controller */
.event_controller {
	width: 350px;
}
.event_controller .row-fluid {
	margin-bottom: 6px;
}
.event_controller .row-fluid .control-label {
	line-height: 30px;
}

.close {
	border: 0;
	background: none;
}

/* miniColors tweak */
.miniColors-trigger {
	width: 20px;
	height: 20px;
	margin-bottom: 10px;
	margin-left: 10px;
	border-color: #f1f1f1;
}
.miniColors-selector {
	float: none;
	margin: 4px 0 0 0;
}

/* category edit */
.edit_cal {
	margin: -8px;
	background-color: whitesmoke;
}

.edit_cal .table td, .edit_cal .table {
	border: 0 !important;
	background-color: transparent !important;
	margin: 0 !important;
}
.main-list td {
	border-top: solid 1px #ddd;
}

/* create / edit event panel */
#tags_panel {
	top: auto;
	bottom: 34px;
	width: 258px;
	height: 170px;
	padding: 8px 0;
	overflow: hidden;
	position: absolute;
	clear: none;
}
#tags_panel .viewport {
	height: 170px;
}
#tags_panel .scrollbar {
	top: 8px;
}
#tags_list {
	padding: 8px;
}