@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("youtube.com") {

#search-form {
  text-align: left !important;
}

#search-term {
  width: 438px !important;
  margin-left: 178px !important;
}

#search-button {
  padding: 1px 5px 2px 5px !important;
  margin-top: -1px !important;
  cursor: pointer !important;
}

#channelVidsDiv {
  position: relative !important;
}

#videoDetailsDiv > a:first-child {
  display: none !important; /* hides "About This Video" caption */
}

#videoDetailsDiv td > div.collapse-content {
  display: none !important; /* hides excerpt */
}

#holidayPromotion {
  display: none !important; /* hides holiday YT ad */
}

#videoDetailsDiv td > div.expand-content {
  display: block !important; /* shows description */
}

#videoDetailsDiv td > div.expand-content:not(.videoDescDiv) > div:first-child {
  /* places "Video Added" date under chanell's name */
  position: absolute !important;
  top: 2.2em !important;
  background-color: #eee !important;
  left: 58px !important;
}

#videoDetailsDiv td > div.expand-content.videoDescDiv {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 5px !important;
  max-height: 195px !important;
  border: 1px solid #aaa !important;
  background-color: #fff !important;
}

#videoDetailsDiv td > div.expand-content.videoDescDiv a.smallText.eLink[onclick] {
  /* hides "(less)" link after description and surrounding parenthesis */
  position: relative !important;
  left: -1ex;
  color: #fff !important;
  background-color: #fff !important;
  border: 0 !important;
  padding-right: 360px !important;
}

#urlDiv {
  position: absolute !important;
  right: 7px !important;
  bottom: 7px !important;
  margin: 0 !important;
  padding-top: 6px !important;
}

#urlDiv, #embedDiv, #embedDiv > table {
  width: 167px !important;
}

#embedDiv > table {
  table-layout: fixed !important;
}

#urlForm > input.urlField, input#embed_code {
  width: 162px !important;
}

#quicklistDiv + div.wsWrapper + div.wsWrapper {
  display: none !important;
}

#actionsAreaDiv a[id] {
  position: absolute !important;
  text-align: center !important;
  left: 487px !important;
  width: 22px !important;
  height: 20px !important;
  overflow: hidden !important;
  border: 1px solid #ddd !important;
}

#a1_i1 { top: 132px !important; }
#a2_i2 { top: 159px !important; }
#a3_i3 { top: 186px !important; }
#a4_i4 { top: 213px !important; }

#a1_i1 img { margin: 2px 0 0 -2px !important; }
#a2_i2 img { margin: 1px 0 0 1px !important; }
#a3_i3 img { margin: 1px 0 0 -4px !important; }
#a4_i4 img { margin: 0 0 0 1px !important; }

#recentRatingsDiv {
  display: none !important;
}

#commentsDiv {
  width: 500px !important;
  max-height: 350px !important;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px !important;
}

#commentsDiv textarea {
  width: 480px !important;
  height: 150px !important;
}

#recent_comments .commentEntry .commentBody {
  width: 98% !important;
}

}