/** Table **/
div.object_subtasks table.subtasks_table tr.subtask:hover {
	background-color: #FCF8CF;
}

div.object_subtasks table.subtasks_table td.task_reorder  {
  border-right: 1px solid #f79090;
  width: 10px !important;
  display: none;
}

div.object_subtasks table.subtasks_table td.task_meta a.label,
div.object_subtasks table.subtasks_table td.task_meta span.label {
	margin-left: 2px;
  padding: 1px 4px;
  
  border-radius: 5px;
	
  font-size: 9px;
  font-weight: bold;
}

div.object_subtasks table.subtasks_table.completed_subtasks_table td.task_reorder img {
  display: none;
}

div.object_subtasks table.subtasks_table td.task_meta {
  width: 100px;
  text-align: right;
  border-right: 1px solid #f79090;
}

div.object_subtasks table.subtasks_table td.task_reorder img.task_drag_handle {
  cursor: move;
}

div.object_subtasks table.subtasks_table td.task_content span.subtask_assignee {
	padding-right: 5px;
	font-weight: bold;
  padding-left: 2px;
}

div.object_subtasks table.subtasks_table td.task_content span.subtask_due_on {
	padding-left: 5px;
}

div.object_subtasks table.subtasks_table td.task_options a {
	padding-left: 4px;
	display: none;
}

div.object_subtasks table.subtasks_table td.task_options a.always_show {
  display: inline;
}

div.object_subtasks table.subtasks_table tr.subtask:hover td.task_options a {
	display: inline;
}

/** Add / Manage Split **/
div.object_subtasks table.subtasks_table tr.add_and_manage td.task_content a {
  /*padding-right: 8px;*/
  margin-right: 8px;
}

/** Subtask Form **/
div.object_subtasks form.subtask_form {
  display: none;
}

div.object_subtasks form.subtask_form div.subtask_summary {
  padding: 8px 0 4px 0;
}

div.object_subtasks form.subtask_form div.subtask_summary input {
  width: 95%;
  font-size: 130%;
}

div.object_subtasks form.subtask_form div.subtask_attributes {
  padding: 4px 0;
  overflow: hidden;
  zoom: 1;
}

div.object_subtasks form.subtask_form div.subtask_attributes div.subtask_attribute {
  float: left;
  padding-right: 10px;
}

div.object_subtasks form.subtask_form div.subtask_attributes div.subtask_attribute label {
  margin: 2px 0;
  display: block;
}

div.object_subtasks form.subtask_form div.subtask_attributes div.subtask_attribute select {
  max-width: 125px;
}

div.object_subtasks form.subtask_form div.subtask_buttons_wrapper {
  padding: 8px 0;
}

/** Completed Subtasks **/
div.object_subtasks table.subtasks_table tr.subtask_completed td.task_options a.for_active_only {
	display: none;
}

div.object_subtasks table.subtasks_table tr.subtask_completed {
  color: #adac92;
}

div.object_subtasks table.subtasks_table tr.subtask_completed td.task_content a {
  color: #adac92 !important;
  text-decoration: underline !important;
}

div.object_subtasks table.subtasks_table tr.subtask_completed.old_completed {
  display: none;
}

div.object_subtasks table.subtasks_table.show_old_completed tr.subtask_completed.old_completed {
  display: table-row;
}

/** Reorder Mode **/

div.object_subtasks table.subtasks_table.reorder td.task_reorder {
	display: table-cell;
}

div.object_subtasks table.subtasks_table.reorder tr.subtask_completed td.task_reorder img {
	display: none;
}

div.object_subtasks table.subtasks_table.reorder td.task_meta, div.object_subtasks table.subtasks_table.reorder td.task_options {
  display: none;
}

div.object_subtasks table.subtasks_table.reorder tr.add_and_manage td.task_content a.add_subtask {
	display: none;
}

/** OLD **/

div.object_subtasks {
	border-top: 1px solid #edebca;
/*  border-bottom: 1px solid #edebca;*/
}

table.subtasks_table {
  width: 100%;
	background: #fffde4;
}

div.object_subtasks .hidden_overflow {
  display: none;
}

div.object_subtasks_container {
  background: #fffde4;
  margin: 0px 0px 10px;
  border-top: 1px solid #edebca;
  border-bottom: 1px solid #edebca;
}

div.object_subtasks td {
  border-top: 1px solid #edebca;
  padding: 5px 8px 7px;
}

div.object_subtasks .subtasks_table tr:first-child + tr td,
div.object_subtasks .empty_row td {
  border-top: 0px !important;
}

div.object_subtasks .subtasks_table tr:first-child + tr.new_subtask td {
  border-top: 1px solid #edebca !important;
}

div.object_subtasks td img {
   vertical-align: -2px;
}

div.object_subtasks td.task_content {
  padding-left: 15px !important;
}

div.object_subtasks td.task_meta {
  width: 100px;
  text-align: right;
  border-right: 1px solid #f79090;
}

div.object_subtasks td.task_options {
  width: 100px;
  text-align: right;
  padding-bottom: 0px;
}

div.object_subtasks td.task_options ul {
  display: block;
  list-style: none;
  margin: 0px;
  padding: 0px;
  float: right;
}

div.object_subtasks td.task_options ul li {
  display: block;
  width: 16px;
  height: 12px;
  float: left;
  margin: 0px 0px 0px 3px;
  text-align: center;
}

div.object_subtasks td.task_options ul li * {
  line-height: 16px;
}

div.object_subtasks tr.empty_row td.task_content {
  height: 70px;
  vertical-align: middle;
}

div.object_subtasks .completion_status_toggler {
  margin-right: 3px;
  width: 12px;
  height: 12px;
  display: block;
  float: left;
}

div.object_subtasks span.task_content_text {
/*  padding-left: 20px;*/
/*  display: block;*/
}