.ajax-hidden {
  display: none;
}

.favorite-box {
  width: 85px;
  line-height: 1em;
}

.tag {
  clear:both;
}

.tag > div {
  display: table-cell;
  overflow: hidden;
  padding-left: 2px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.tag .actual {
  width: 70px;
  background-color: #C9E1FF;
  float: left;
  line-height:1em;
  margin-top: 2px;
  padding-top:0;
}

.tag .remove-tag {
  width: 11px;
  border-left: 2px solid white;
  background-color: #C9E1FF;
  vertical-align: middle;
  padding: 2px;
  border-width: 0 0 0 2px;
  line-height: 1em;
  margin-top: 2px;
}

.tag .actual a,
.tag .actual a:hover,
.tag .actual a:link,
.tag .actual a:visited
 {
  color: #000000;
  text-decoration: none;
  display: block;
}

.my-tags .tag-reveal {
  margin-top: 4px;
  margin-bottom: 4px;
}

.tag-icon {
  background: url(http://www.lib.umich.edu/sites/all/themes/mlibrary_zen/images/mlibrary-application/tag-icon.png) no-repeat scroll 4px 6px transparent;
}

.tag-icon .inner {
  margin-left: .75em;
}

.my-tags.tag-icon .inner {
  padding: 4px 0 2px 12px;
  background: none;
  font-size: 90%;
  font-weight: bold;
  color: #336699;
  border: 0;
}

.star-icon {
  background: url(http://www.lib.umich.edu/sites/all/themes/mlibrary_zen/images/mlibrary-application/star-icon.png) no-repeat scroll 4px 6px transparent;
}

.star-icon .inner {
  margin-left: 12px;
}

.unstar-icon {
  background: url(http://www.lib.umich.edu/sites/all/themes/mlibrary_zen/images/mlibrary-application/unstar-icon.png) no-repeat scroll 4px 5px transparent;
}

.star-icon.button,
.unstar-icon.button {
  background-color: #fafafa;
  border: 1px solid #7f7f7f;
  padding: 1px 1em;
}

.unstar-icon .inner {
  margin-left: 12px;
}

div#modal-window-dialog {
  padding: 1em;
  background-color: #fcfcfc;
}

div#modal-window-dialog .title {
  font-weight: bold;
  font-size: 120%;
  margin-bottom: 1em;
}

div#modal-window-dialog .description {
  margin-bottom: 1em;
}

div#modal-window-dialog div.form-fields label {
  position: absolute;
}
div#modal-window-dialog div.form-fields input,
div#modal-window-dialog div.form-fields textarea {
  margin-left: 5em;
}

div#modal-window-dialog div.float-right {
  float: right;
}

div#modal-window-dialog div#added-tags {
  position:absolute;
  display: inline-block;
  max-width: 250px;
  height: 1.9em;
  overflow: hidden;
}

div#modal-window-dialog div#added-tags .tag {
  display: inline-block;
  margin-right: 4px;
}

div#modal-window-dialog input#tags {
  width: 325px;
  padding-top: 2px;
  padding-bottom: 2px;
}

/* This style applies outside of just the modal window? */
div.button {
  padding-left: 1em;
  padding-right: 1em;
  border: 1px solid #7f7f7f;
  cursor: pointer;
  display: inline-block;
}

div.button.ajax-hidden {
  display: none;
}

div#modal-window-dialog div.button a:hover {
  text-decoration: none;
}

div#modal-window-dialog div.grey-button {
  border: solid 1px #666666;
  background-color: #888888;
  color: #ffffff;
}
div#modal-window-dialog div.grey-button a,
div#modal-window-dialog div.grey-button a:visited,
div#modal-window-dialog div.grey-button a:hover,
div#modal-window-dialog div.grey-button a:link {
  color: #ffffff;
}
div#modal-window-dialog div.red-button {
  border: solid 1px #666666;
  background-color: #ce0000;
  color: #ffffff;
}
div#modal-window-dialog div.red-button a,
div#modal-window-dialog div.red-button a:visited,
div#modal-window-dialog div.red-button a:hover,
div#modal-window-dialog div.red-button a:link {
  color: #ffffff;
}

div#modal-window-dialog div.private-message {
  background-color: #cecece;
  margin: 2em;
  text-align: center;
  padding-top: .25em;
  padding-bottom: .25em;
}

div#modal-window-dialog .drop-down-checkbox-handle {
  background-image: url(http://www.lib.umich.edu/sites/all/themes/mlibrary_zen/images/mlibrary-application/down-arrow.png);
  background-position: right center;
  background-repeat: no-repeat;
  width: 350px;
  border: 1px solid #cecece;
}

div#modal-window-dialog .drop-down-checkboxes {
  background: none repeat scroll 0 0 #ffffff;
  border-left: 1px solid #cecece;
  border-right: 1px solid #cecece;
  border-bottom: 1px solid #cecece;
  height: 6em;
  overflow: auto;
  position: absolute;
  width: 350px;
  z-index: 5;
}

div#modal-window-dialog .ajax-hidden {
  display: none;
}
div#modal-window-dialog .ajax-off-screen {
  left: -2000px;
}

#modal-window-dialog .error-message {
  color: red;
}
/* Extra space to fill out the bottom of the modal window.  Used as a click target. */
div#modal-window-dialog .blank-space {
  height: 100px;
}

div#modal-window-dialog  .italic {
  font-style: italic;
}

div#modal-window-dialog .align-right {
  text-align: right;
}

div#modal-window-dialog .description label {
  font-size: 1.2em;
}

div#modal-window-dialog .optional-message {
  font-size: 1.1em;
  font-weight: bold;
}

div#modal-window-dialog .optional-message .optional-message-emphasis {
  font-weight: normal;
  font-style: italic;
}

div#modal-window-dialog .optional {
  background-color: #f5f5f5;
  border: 1px solid #cbcbcb;
  padding-left: .5em;
  padding-right: .5em;
  margin-bottom: .5em;
}

div#modal-window-dialog .tag .actual {
  width: auto;
  float:left;
}
#progressbar{
  margin-top:20px;
}

div#modal-window-dialog .change-tag{
  margin-top:100px;
}

div#modal-window-dialog input, div#modal-window-dialog .actual{
padding:2px;
}
