/* ROR inserts a div as the first child of a form */
/* we want that div to display inline so we can display forms inline */
form > div:first-child {
  display: inline;
}

form {
  display: inline;
}

/* Topics page */

.topic_buttons a, .category_buttons a {
  text-decoration: none;
  color: #A0A0A0;
}

.topic_buttons a:hover, .category_buttons a:hover {
  color: #000000;
  background-color: #FFFFFF;
}

.topic_name a, .category_name a {
  text-decoration: none;
}

.topic_name a:hover, .category_name a:hover {
  background-color: #ccc;
}

.topic_library_items {
  font-style: italic;
  margin-left: 10px;
}

.node_toggle_button {
  cursor: pointer;
}

.node_toggle_button_expanded {
  cursor: pointer;
}


/* Assign topics page */

#assign_topics_main {
  position: relative;
  width: 710px;
  height: 500px;
}

#assign_topics_topics_list {
  position: absolute;
  overflow: auto;
  width: 350px;
  height: 500px;
}

#assign_topics_topics_list  > ul {
	margin: 0;
	padding: 0;
}

#assign_topics_topics_list li.no_bullet {
	margin-left: 12px;
	text-indent: -12px;
}

.topic_hierarchy_library_items li {
	margin-left: 22px;
	text-indent: -12px;
}

#assign_topics_library_items_list, #assign_topics_tools_list {
  position: absolute;
  left: 360px;
  overflow: auto;
  width: 350px;
  height: 500px;
}

#assign_topics_zero_topics, #assign_topics_multiple_topics {
  overflow: auto;
  width: auto;
  height: 80px;
}


.library_item_topics, .tool_topics {
  margin-left: 1em;
  font-size: 80%;
  font-style: italic;
}

li.no_bullet {
  list-style-type: none;
}

.assign_topics_topic_name {
  font-weight: bold;
}

.draggable, .clickable {
  cursor: pointer;
}

.highlight_me {
  background-color: #FFFBC1;
}

#library_navigation ul {
  margin: 0;
  padding: 0;
}

#library_navigation li {
  margin: 5px;
  padding: 0;
  margin-left: 13px;
  text-indent: -13px;
}

#library_navigation li.top_level {
  margin-bottom: 10px;
}

#library_item_author_id, #library_item_organization_id {
  max-width: 64%;
}

.indented {
  margin-left: 2.5em;
}

/* for app/views/library_items/_form.html.erb */
#content-main #top_level_nodes ul {
  margin-bottom: 0;
}

.deleted {
  color: red;
  text-decoration: line-through;
}

#library_search_button {
  position:relative;
  top:5px;
}