#ajax-indicator { z-index: 300; }
div.calendar {z-index: 200; }
ol#available { overflow-y:auto; height: 500px; }
ol#recommended { overflow-y:auto; height: 300px; }
li.issue, li.project { cursor: move; }
li.project { font-weight: bold; }
div.pane h3 { color: #507AAA; }
span.subtitle { font-size: smaller; color: #CCCCCC }
div.pane ol { list-style: none; padding-left: 15px;}
div.pane ol li { padding: 1px 0; }
div.pane ol li:hover { background-color:#ffffdd; }
div.pane ol li.empty-list { background-color:#FFFFEE; padding:100px; text-align:center; font-style:italic; }
div.menu { float:right; text-align: right; }

.drop-accepted { background-color:#FFFFEE; height: 16px; width: 100%; border: 1px solid #000000; }

div.issue-details, div.project-details { position:relative; display:inline; float:left; width:71%; margin: 0 .5%; }
div.estimate { position:relative; float:left; display: inline; width: 6%; margin: 0; text-align: center; }
div.progress { position:relative; float:left; display:inline; width: 17%; margin: 0 0 0 .5%; }

div.pane-summary { text-align: right; }
div.pane-summary p { font-size: 80% }
div.pane-summary table.progress { float: right; margin: 1px 6px;}

/* Port of the issue coloring on the alternate.css theme */
.odd.priority-5, .odd.priority-5:hover { color: #900; font-weight: bold; }
.odd.priority-5 { background: #ffc4c4; }
.even.priority-5, .even.priority-5:hover { color: #900; font-weight: bold; }
.even.priority-5 { background: #ffd4d4; }
.priority-5 a, .priority-5:hover a { color: #900; }
.odd.priority-5 , .even.priority-5  { border-color: #ffb4b4; }

.odd.priority-4, .odd.priority-4:hover { color: #900; }
.odd.priority-4 { background: #ffc4c4; }
.even.priority-4, .even.priority-4:hover { color: #900; }
.even.priority-4 { background: #ffd4d4; }
.priority-4 a { color: #900; }
.odd.priority-4 , .even.priority-4  { border-color: #ffb4b4; }

.odd.priority-3, .odd.priority-3:hover { color: #900; }
.odd.priority-3 { background: #fee; }
.even.priority-3, .even.priority-3:hover { color: #900; }
.even.priority-3 { background: #fff2f2; }
.priority-3 a { color: #900; }
.odd.priority-3 , .even.priority-3  { border-color: #fcc; }

.odd.priority-1, .odd.priority-1:hover { color: #559; }
.odd.priority-1 { background: #eaf7ff; }
.even.priority-1, .even.priority-1:hover { color: #559; }
.even.priority-1 { background: #f2faff; }
.priority-1 a { color: #559; }
.odd.priority-1, .even.priority-1 { border-color: #add7f3; }
/* */

/* Time Grid */
#time-grid-table tbody tr { height: 3em; }
#time-grid-table td.time-grid-date { text-align: right; }
#time-grid-table td.time-grid-date, #time-grid-table th.time-grid-date { width: 6%; }
#time-grid-table th.time-grid-project, #time-grid-table td.time-grid-project { width: 25%; }
#time-grid-table th.time-grid-issue, #time-grid-table td.time-grid-issue { width: 25%; }
#time-grid-table td.time-grid-running-total { text-align: right; }
#time-grid-table td.time-grid-grand-total { text-align: right; }
.daily-totals td.label { text-align:right; }
input.save-time-grid { float: right; margin-top: 10px; margin-bottom: 10px; }

/*** Context menu, based off of the Redmine version ***/
.context-menu { position: absolute; z-index: 40; font-size: 0.9em;}

.context-menu, .context-menu li, .context-menu a {
	display:block;
	margin:0;
	padding:0;
	border:0;
}

.context-menu {
	width:150px;
	border-top:1px solid #ddd;
	border-left:1px solid #ddd;
	border-bottom:1px solid #777;
	border-right:1px solid #777;
	background:white;
	list-style:none;
}

.context-menu li {
	position:relative;
	padding:1px;
	z-index:39;
}
.context-menu li.folder ul { position:absolute; left:168px; /* IE6 */ top:-2px; }
.context-menu li.folder>ul { left:148px; }

.context-menu.reverse-y li.folder>ul { top:auto; bottom:0; }
.context-menu.reverse-x li.folder ul { left:auto; right:168px; /* IE6 */ }
.context-menu.reverse-x li.folder>ul { right:148px; }

.context-menu a {
	border:1px solid white;
	text-decoration:none !important;
	background-repeat: no-repeat;
	background-position: 1px 50%;
	padding: 1px 0px 1px 20px;
	width:100%; /* IE */
}
.context-menu li>a { width:auto; } /* others */
.context-menu a.disabled, .context-menu a.disabled:hover {color: #ccc;}
.context-menu li a.submenu { background:url("../images/sub.gif") right no-repeat; }
.context-menu a:hover { border-color:gray; background-color:#eee; color:#2A5685; }
.context-menu li.folder a:hover { background-color:#eee; }	
.context-menu li.folder:hover { z-index:40; }		
.context-menu ul ul, .context-menu  li:hover ul ul { display:none; }
.context-menu li:hover ul, .context-menu li:hover li:hover ul {	display:block; }

/* selected element */
.context-menu-selection { background-color:#507AAA !important; color:#f8f8f8 !important; }
.context-menu-selection a, .context-menu-selection a:hover { color:#f8f8f8 !important; }
.context-menu-selection:hover { background-color:#507AAA !important; color:#f8f8f8  !important; }

/*** Facebox ***/

#facebox .b {
  background:url(../images/b.png);
}

#facebox .tl {
  background:url(../images/tl.png);
}

#facebox .tr {
  background:url(../images/tr.png);
}

#facebox .bl {
  background:url(../images/bl.png);
}

#facebox .br {
  background:url(../images/br.png);
}

#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: left;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  border-collapse: collapse;
}

#facebox td {
  border-bottom: 0;
  padding: 0;
}

#facebox .body {
  padding: 10px;
  background: #fff;
  width: 370px;
}

#facebox .loading {
  text-align: center;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
  margin: 0;
}

#facebox .footer {
  border-top: 1px solid #DDDDDD;
  padding-top: 5px;
  margin-top: 10px;
  text-align: right;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
  height: 10px;
  width: 10px;
  overflow: hidden;
  padding: 0;
}

#facebox_overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.facebox_hide {
  z-index:-100;
}

.facebox_overlayBG {
  background-color: #000;
  z-index: 99;
}

* html #facebox_overlay { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
