/*
Main structure and default values
*/

/* Event Priority classes */
.priority1 {
	background: url('../images/flag_blue.png') no-repeat;
	min-height: 17px;
	padding-left: 17px;
}
.priority2 {
	background: url('../images/flag_orange.png') no-repeat;
	min-height: 17px;
	padding-left: 17px;
}
.priority3 {
	background: url('../images/flag_red.png') no-repeat;
	min-height: 17px;
	padding-left: 17px;
}

/* Date Dropdown classes */
#divDateDropdown {
	background-color: #efefef; 
	border: 1px solid gray; 
	color: black; 
	cursor: pointer; 
	float: left; 
	font-size: 0.8em; 
	margin: 0px auto auto 110px; 
	position: absolute; 
	width: 170px;
	*margin: 25px auto auto -250px; /* Margin fix for IE */
}
#divDateDropdownMonth {
	float: left; 
	width: 100px;
}
#divDateDropdownMonth div {
	border-right: 1px solid gray; 
	padding: 5px;
}
#divDateDropdownMonth div:hover {
	background-color: gray; 
	color: white; 
}
#divDateDropdownYear {
	float: right; 
	text-align: center; 
	width: 70px;
}
#divDateDropdownYear div {
	padding: 5px;
}
#divDateDropdownYear div:hover {
	background-color: gray; 
	color: white; 
}
#divDateDropdown .divselected {
	background-color: black; 
	color: white; 
}
#divDateDropdown .divselected:hover {
	background-color: black; 
}

/* Calendar Display */
#calendar_nav { margin-bottom: 3px; }
#calendar_buttons {
	margin-bottom: 3px;
	width: 60%;
	float: left;
}
#calendar_icons {
	margin-bottom: 3px;
	padding-right: 4px;
	width: 38%;
	float: right;
}
#calendar_icons span {
	margin-left: 4px;
	float: right;
}
.calendar_titlebar {
	padding: 3px 0;
	border: 1px solid #999999;
	background-color: #BBBBBB;
	color:#000000;
	font-weight: bold;
	font-size: 11px;
	width: 100%;
}
.calendar_titlebar a, .calendar_titlebar a:link, .calendar_titlebar a:visited { color:#000000; }
.calendar_titlebar input{
	border:none;
	background-color:transparent;
	cursor:pointer;
}

/* Options Panel */
.options_titlebar {
	padding: 3px;
	border: 1px solid #999999;
	background-color: #BBBBBB;
	color:#000;
	font-weight: bold;
	font-size: 11px;
}

/* Table that contains grids */
.gridcon {
	width: 100%;
}

/* Nav Toggle Button */
.periodbutton {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 2px 8px;
	background-color:#EEEEEE;
	border: 1px solid #CCCCCC;
	color: #666666;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
}
.periodbutton_on {
	display: block;
	float: left;
	border: 1px solid #CCCCCC;
	margin-right: 2px;
	padding: 2px 8px;
	background-color:#EEEEEE;
	color: #666666;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
}
a.periodbutton:visited,a.periodbutton:active,a.periodbutton:link {
	border: 1px solid #CCCCCC;
	background-color:#EEEEEE;
	color: #666666;
	font-size: 11px;
}
a.periodbutton_on:visited,a.periodbutton_on:active,a.periodbutton_on:link {
	border: 1px solid #CCCCCC;
	background-color:#EEEEEE;
	color: #666666;
	font-size: 11px;
}

/* Day View */
.daycon ul {
	padding: 0px;
	margin: 0px;
}
.daycon li {
	list-style-type: none;
	overflow: hidden;
}
.dayrow_mid {
	width: 100%;
	padding-left: 0px;
	margin: 0px;
	border-bottom: 1px solid #c0c0c0;
	min-height: 32px;
	background-color: #fff;
}
.daycon .dayrow_mid{
	display: none;
}

.daycon .eventcol {
	width: 99%;
}

.timecap {
	display: block;
	float: left;
	width: 49px;
	height: 19px;
	padding: 3px;
	background-color: #FFFFCC;
	font-weight: bold;
	text-align: right;
}
.timedata {
	padding: 0px;
	margin: 0px;
	list-style-type: none;
	overflow: auto;
}

.timealt {
	background-color: #eee;
}

/* Week View */
.weekhead {
	width: 100%;
	float: left;
	background-color: #EEEEEE;
	border-bottom: 1px solid #c0c0c0;
	font-weight: bold;
	text-align: center;
}

#weekcon{
	margin-right:-1px;
}

.weekcon ul {
	padding: 0px;
	margin: 0px;
}
.weekcon li {
	list-style-type: none;
	overflow: hidden;
}

.weekcol {
	width: 13%;
	margin-left:-1px;
	float: left;
	border-top: 1px solid #c0c0c0;
	border-left: 1px solid #c0c0c0;
	overflow: hidden;
	
}

.weekcon .dayrow_mid{
	display: none;
}

.weekcon .eventcol {
	width: 92%;
}

#weekblock_2 .timecap, #weekblock_3 .timecap, #weekblock_4 .timecap, #weekblock_5 .timecap, #weekblock_6 .timecap, #weekblock_7 .timecap {
	display: none;
}

#weekblock_7 {
	border-right: 1px solid #c0c0c0;
}

#timecol{
	width:9%;
	float:left;
	padding-top:1px;
}

#timecol p {
	margin: 0px;
}
.wtimecap {
	display: block;
	float: right;
	width:100%;
	height:100%;
	background-color: #dddddd;
	color:#333333;
	border-top: 1px solid #999;
	font-weight: bold;
	text-align: right;
}

.weekcol span.timecap {
	border-bottom:1px solid #999999;
	margin-left:-56px !important;
	margin-top:-1px !important;
	position:relative;
	z-index:50;
}
#weekblock_1 {
	overflow: visible;
}

/* Block Styles */
.bkCol {
	width: 14.25%;
	float: left;
	height: 31px;
	text-align: center;
}
.bkData {
	border: 1px solid #C0C0C0;
	width: 100%;
	height: 100%;
}
.blockevent {
	border-bottom: 1px solid #999999;
	background-color: #DDDDDD;
	color:#333333;
	text-align: center;
}
.blockevent span{ display:block; }

.blockevent a {
	text-decoration: none;
}

/*		
	Frontend gowider month grid view
		- works in FF (with the execption of cell height from javascript)
		- IE wraps weekend days below previous week
		- Safari leaves extra padding to right of dayname bar
			
	Admin gowider month grid view
		- FF looks fine except for width of day header (Sat/Sun)
		- IE wraps weekend days below previous week
			- removing borders doesn't help

*/


/* Grid View */
#calendarcon{ 
	visibility:hidden; /*hide the calendar until all values are loaded*/
}
.calendarcon{
	border-top:1px solid #999999;
	border-left:1px solid #999999;
}
.calendarcon ul {
	padding: 0px;
	margin: 0px;
	list-style: none;
}
.gridsubtitle {
	background-color: #eee;
	width:100%;
}
.monthrow {
	background-color: #f6f6f6;
	min-height: 100px;
	clear:both;
	width:100%;
}
.lastrow {
	border-width: 0px 0px 1px 0px !important;
	border-style: solid;
	border-color:#999999;
}
.deadrow {
	display: none;
}
.coltitle {
	font-weight: bold;
	text-align: center;
}
.caldata {
	margin: 0px;
	padding-left: 0px;
	border-right:1px solid #999999;
	border-bottom:1px solid #999999;
	/*width: 99%;*/
	overflow-x: hidden;
}
.daycap {
	display: block;
	padding: 2px;
	background-color: #ddd;
	color: #333;
	text-align: right;
}
.daycap_off {
	display: block;
	padding: 2px;
	background-color: #eee;
	color: #999;
	text-align: right;
}
.daycap_today{
	background-color: #333;
	color: #fff;
}
.eventobj {
	
}
.eventobj_on {
	overflow: hidden;
}

.listcon .eventobj_off {
	padding-left: 7px;
	padding-right: 7px;
}
.eventspacer {
	display: block;
	height:2px;
}
.more_obj {
	display: none;
}

/* Events */
/* Event Style */
.eventcol {
	margin:0px;
	padding:4px 2px;
	width:100%;
}
.eventcol p {
	margin: 0;
	padding: 0;
}
.eventcolicon {
	width: 10%;
	max-width: 30px;
}
.eventcol_short .eventcon {
	width: 60% !important;
}
.event_indate {
	float: left;
	padding-right: 3px;
}
.event_icon {
	float: left;
}
.calkey {
	display:block;
}
.calimg {
	float: left;
}

.eventcon{
	display:block;
	float:left;
	padding:0 0 0 2px;
	width:86%;
}
.etitle, .event_time, .event_location, .event_notes {
	display:block;
}
.etitle{
	font-weight:bold;
}
.eicon {
	float: left;
	height: 12px;
	width: 12px;
	margin-right: 2px;
	border: 1px solid #999999;
}
.elink {
	float: right;
}
.clear {
	clear: both;
}

.weekcon .eventcon{
	width: 70%;
}

/* Mini-Cal pop-up */
#cal1Container {
	position: absolute;
	display: none;
}
#cal2Container {
	position: absolute;
	display: none;
}
#minical_img1{
	cursor: pointer;
}
#minical_img2{
	cursor: pointer;
}

/* Category Legend */
.identifierkey {
	float: left;
	border: 1px solid #000;
	margin: 3px;
	line-height: 0;
}
#calkeybar {
	margin-top: 15px;
	clear: both;
}

/* Weather Block */
.weatherblock {
	overflow: hidden;
}
.weatherblock span {
	display: block;
	float: left;
	margin-right: 5px;
}

/* Details Overlay */
.detailsOverlay {
	background-color: #ddd;
	border: 1px solid #999;
}
.hd {
	background-color: #ccc;
	border-bottom: 1px solid #333;
	padding: 3px;
	font-weight: bold;
}

/* Verbose View */
.backbar {
	text-align: right;
	margin-top: 5px;
	font-weight: bold;
}

/* Misc */
.adminicon {
	display: none;
}

.verbose_event {
	padding: 5px;
}

/* List View */
.listcon {
	width: 100%;
	list-style-type: none;
	border-top:1px solid #999999;
	border-left:1px solid #999999;
}
.listcon ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
.listcon .caldata {
	width:100%;
}
.listconempty {
	border: none;
}
.listcap {
	display: block;
	background-color: transparent;
	color: #666666;
	font-weight: bold;
	padding: 5px;
}
.listevent {
	display: block;
	padding: 3px;
	margin:2px 0;
}
.monthhead{
	display: block;
	padding: 3px;
	font-weight: bold;
}
.listempty {
	text-align: center;
	padding: 10px;
}

.listonly_block .listcon{
	border-top:none;
	border-left:none;
}
.listonly_block .caldata{
	border-right:none;
	border-bottom:none;
	width: 100%;
}

/* Banner & Portal view */
.bannercon .caldata, .portalcon .caldata{
	border-style:none;
}

.bannercon ul, .portalcon ul{
	list-style-type:none;
	margin:0;
	padding:0;
}

a.addcalevent {
	background-color: #FFFFFF;
	border: 1px solid #999999;
	padding: 2px;
	margin-top: 1px;
	line-height: 0;
}


@media print{
   .caldata {  overflow: visible;  }
}


/* --- Styles for calnav.cfm --- */
#calendar_feedurl_inputcon { display: none; }

.calendarfeed_rss_menu {
	width: 150px;
	color: #333;
	background-color: #F2F2F2;
	border: 1px solid #333;
	display: none;
	position: absolute;
	z-index: 9999;
	margin-left: 10px;
}
.calendarfeed_ical_menu {
	width: 150px;
	color: #333;
	background-color: #F2F2F2;
	border: 1px solid #333;
	display: none;
	position: absolute;
	z-index: 9999;
	margin-left: 10px;
}
.calendarfeed_rss_menu ul, .calendarfeed_ical_menu ul {
	margin: 0px;
	padding: 0px;
}
.calendarfeed_rss_menu li, .calendarfeed_ical_menu li {
	list-style: none;
	margin-left: 5px;
	border-bottom: 1px solid #ddd;
}
.calendarfeed_rss_menu li:hover, .calendarfeed_ical_menu li:hover {
	background-color: #dcdcdc;
}
.calendarfeed_rss_menu a, .calendarfeed_ical_menu a {
	text-decoration: none;
	color: #333;
}

#feedDialog_box .bd, #feedDialog_box td{
	color: #333;
}

.cal_dropbox_icon {
	background-color:#CCCCCC;
	border:1px solid #333333;
	position:relative;
	top:2px;
}
