@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("youtube.com") {

div[id="chrome-promo"],
div[id="watch-ugc-promo"],
div[id="feed_featured"],
div[id="feed_featured-content"],
div[id="FEA-data"],
.pyv-label-home,
div[style="padding: 5px 1px; background-color: rgb(255, 255, 187); margin-bottom: 5px;"],
span.expand-header,
div[id="watch-promoted-videos-container"],
div[id="side-announcement-box"],
div[class="searchView list-view"],
div[class="pyv-callout-box homepage-side-block"],
div[class="main-tabs-spotlight-inner"],
div[class="main-tabs-spotlight list-view"],
div[class="pyv-single"],
div[class="google-home"],
div[class="watch-promoted-container"],
div[class="profile-banner-box"],
div[class="watch-promoted-vid"],  
div[id="watch-longform-ad"],
[src*="googleads.g.doubleclick.net/"],
[href*="googleads.g.doubleclick.net/"],
div[class="homepage-content-block"],  
div[id="feedmodule-PRO-not-moveable"],
div[id="feedmodule-PRO"],
div[id="watch-channel-brand-div"],
div[id="search-pva"],
#yt-static-video-sidebar,
div[style="background-color: rgb(255, 255, 187); padding: 5px 1px; margin-bottom: 5px;"],
div[id="ad_creative_1"],
div[id="ad_creative_2"],
div[id="ad_creative_3"],
div[id="ad_creative_4"],
.pyv-promoted-videos,
.promoted-videos .ads,
div[class="alignC grayText"],
li[class="video-list-item  watch-ppv-vid"],
div[class="ad-div homepage-side-block"],
a[id="chrome-link"],
div[id="ad_creative_collapse_btn_1"] {

  display: none !important;
  }

div[id="watch-related-vids-body"],
div[id="playlistContainer_SL"],
div[id="watch-channel-vids-body"] {

  -moz-border-radius: 10px 0 0 10px !important;
  }

div[id="more-from"],
div[id="more-from-header"] {

  -moz-border-radius: 10px 10px 0 10px !important;
  }

td[id="watch-channel-vids"] {

  -moz-border-radius: 0 10px  0 0 !important;
  }

td[id="watch-series-vids"] {

  -moz-border-radius: 10px 0  0 0 !important;
  }

div[id="watch-channel-vids-div"],
div[id="playlistRow_SL_0"],
div[id="playlistRow_SL_1"],
div[id="playlistRow_SL_2"],
div[id="playlistRow_SL_4"],
div[id="playlistRow_SL_4"],
div[id="playlistRow_SL_5"],
div[id="playlistRow_SL_6"],
div[id="playlistRow_SL_7"],
div[id="playlistRow_SL_8"],
div[id="playlistRow_SL_9"],
div[id="playlistRow_SL_10"],
.watch-playlist-row-playing,
div[id="confirmBox"],
.autoshare-promo-outer,
.autoshare-promo-inner,
#subscribeMessage,
#ytm-intro-section,
.file,
div[class="commentsTableFull text-field outer-box-bg-as-border"],
.channel_tab_content,
div[class="errorBox"],
.confirmBox,
div[id="inbox_error_box"],
div[class="vcard"],
#watch-comments-options {

  -moz-border-radius: 10px !important;
  }

div[class="search"] {

  border-color: #CCCCCC !important;
  border-width: 1px !important;
  border-style: solid solid none solid !important;
  -moz-border-radius: 5px 5px 0 0 !important;
  }

div[class="links"] {

  border: 1px solid #CCCCCC !important;
  -moz-border-radius: 0 0 5px 5px !important;
  }

div[id="homepage-side-content"] {

  margin-top: 17px !important;
  }

div[id="footer"] {

  border: 0px !important;
  }

div[id="watch-more-popular"],
div[id="watch-video-response"] {

  -moz-border-radius: 5px;
  }


a[style="padding: 1px; color: rgb(255, 255, 255); font-family: Arial; font-style: normal; font-variant: normal; font-weight: bold; font-size: 10px; line-height: 10px; font-size-adjust: none; font-stretch: normal; -x-system-font: none; background-color: rgb(102, 102, 102);"],
a[style="padding: 1px; color: rgb(255, 255, 255); font-family: Arial; font-style: normal; font-variant: normal; font-weight: bold; font-size: 10px; line-height: 10px; font-size-adjust: none; font-stretch: normal; -x-system-font: none; background-color: rgb(102, 255, 102);"],
a[style="padding: 1px; color: rgb(255, 255, 255); font-family: Arial; font-style: normal; font-variant: normal; font-weight: bold; font-size: 10px; line-height: 10px; font-size-adjust: none; font-stretch: normal; -x-system-font: none; background-color: rgb(255, 0, 0);"] {

  padding-left: 1px !important;
  padding-right: 2px !important;
  margin-right: 2px !important;
  -moz-border-radius: 5px;
  }

div[id="bar"],
div[class="profile-box"],
li[class="category-selected"],
li[class="browse-category-top-level category-selected"],
li[class="category-selected browse-category-top-level"],
div[id="more-sub-modifiers-dropdown"],
div[class="profile-box profileEmbedVideoInfo"],
div[class="videoModifiers main-tabs-subcategories"],
div[class="profile-box profile-highlightbox"],
div[class="watch-comment-pagination"],
div[id="user-profile-image"],
div[class="user-thumb-xlarge"],
div[class="user-thumb-partner"],
div[id="search-duplicates-message"],
.video-thumb,
.v120WrapperInner,
.v90WideEntry,
.v90WrapperInner
.v50WrapperInner,
.v50WrapperOuter,
.v220WrapperInner,
.v220WrapperOuter,
.v220WideEntry,
.v120WrapperOuter,
.v90WrapperOuter,
#masthead .search-term,
#masthead .yt-dropdown,
#footer .search-term,
#playnav-playview .playnav-video-thumb img,
div[id="watch-active-sharing"],
#watch-embed-div input,
.user-thumb-large,
.user-thumb-medium, 
.user-thumb-semismall,
div[id="watch-main-area"],
div[id="watch-highlight-racy-box"],
div[id="search-duplicates-message"],
div[style="border: 1px solid rgb(204, 204, 204); padding: 5px; background-color: rgb(236, 241, 250); text-align: center; font-size: 16px; font-weight: bold;"],
.profile-box .box-head[class], .profile-box .box-body[class], .profile-box .box-foot[class]
.profile-box .box-fg[class],
div[class="text-field recent-activity-content outer-box-bg-as-border"],
.igoogleEmbed .embedInput,
.playnav-video-thumb,
.profile-box .box-body .box-bg[class],
td[class="gwt-TabBarItem-wrapper"],
div[id="watch-comments-stats"] {

  -moz-border-radius: 3px !important;
  }
}