#upload_dialog {
  width: 500px;
}

#upload_dialog .uploads {
  position: relative;
}
  #upload_dialog .upload_list {
    position: relative;
    max-height: 372px;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: left;
    width: 522px;
  }
  #upload_dialog .line {
    position: absolute;
    height: 1px; width: 500px;
    background: #222;
  }
    #upload_dialog .line.top {
      top: 0;
    }
    #upload_dialog .line.bottom {
      bottom: 0;
    }

#upload_dialog.autostart .controls,
#upload_dialog.autostart .title,
#upload_dialog.autostart .upload_options {
  display: none;
}

#upload_dialog .row {
  position: relative;
  width: 500px;
  border-top: 1px solid #222;
  padding: 10px 0 10px 0;
  margin: 0;
  overflow: hidden;
  clear: both;
}
  #upload_dialog .row:first-child {
    border-top: 0;
  }
  #upload_dialog label {
    display: block;
    float: left;
    line-height: 12px;
    color: #ccc;
  }
  #upload_dialog .text_input {
    width: 321px;
  }
  #upload_dialog .text_input input {
    width: 315px;
    margin-left: 0;
  }
  #upload_dialog .text_area {
    width: 311px; /* Damn textareas! */
    display: block;
  }

#upload_dialog .upload_title {
  border-bottom: none;
  margin-bottom: 0;
}
  #upload_dialog .upload_title .text_input {
    position: relative;
    margin: 3px 0 0 0;
    float: left;
  }
  #upload_dialog .upload_title .document_title {
    width: 315px;
    font-family: 'Lucida Grande';
    font-size: 12px;
    margin: 2px 6px;
  }
  #upload_dialog .minibutton {
    width: auto;
  }
    #upload_dialog .progress_bar {
      position: absolute;
      top: 1px; left: 1px; bottom: 1px;
      border: 1px solid transparent;
      border-top-left-radius: 2px; -webkit-border-top-left-radius: 2px; -moz-border-radius-topleft: 2px;
      border-bottom-left-radius: 2px; -webkit-border-bottom-left-radius: 2px; -moz-border-radius-bottomleft: 2px;
      width: 0%;
      background: #fff;
      opacity: 0.1; filter: alpha(opacity=30);
      z-index: 5;
    }
    #upload_dialog .error .msg {
      position: absolute;
      top: 0px;
      right: 0px;
      font-size: 11px;
      height: 14px;
      line-height: 14px;
      padding: 4px;
      color: red;
    }
  #upload_dialog .icon.file {
    margin-right: 10px;
  }
  #upload_dialog .upload_title .upload_file_size {
    float: right;
    font-size: 10px;
    color: #808080;
    margin: 6px 4px 0 4px;
    overflow: hidden;
  }
    #upload_dialog .upload_title .upload_file_size .icon.spinner_dark {
      position: static;
    }
  #upload_dialog .upload_title .icon.edit_glyph_dark {
    float: right;
    margin: 7px 4px 0 4px;
    cursor: pointer;
  }
  #upload_dialog .upload_title .icon.cancel_search_dark {
    float: right;
    margin: 9px 4px 0 4px;
  }

#upload_dialog .upload_edit {
  position: relative;
  overflow: hidden;
  padding-bottom: 15px;
  margin: 0 0 0 42px;
  clear: both;
  display: none;
}
  #upload_dialog .upload_edit label {
    margin: 10px 0 0 0;
    float: none;
    font-size: 12px;
  }
  #upload_dialog .upload_edit .apply_all {
    margin-top: 10px;
  }
  #upload_dialog .upload_edit .text_input {
    margin: 8px 0 0 0;
  }
  #upload_dialog .upload_edit .text_area {
    margin: 8px 0 0 0;
  }
    #upload_dialog .upload_edit textarea {
      height: 50px;
    }
  #upload_dialog .upload_edit select {
    display: block;
    margin: 8px 0 0 0;
    position: static;
    left: 0;
    top: 0;
  }

#upload_dialog .upload_options {
  text-align: left;
  margin: 8px 0 0px 4px;
}
  #upload_dialog .upload_options label {
    display: inline;
    float: none;
    color: #ccc;
    font-size: 11px;
    margin: 4px 10px 0 0px;
  }
