@namespace url("http://www.w3.org/1999/xhtml");

@-moz-document domain("nicovideo.jp") {
  label[for] {
    cursor: default !important;
  }
  a[href="#PAGETOP"],
  a[href^="JavaScript:ANCHOR"],
  img[alt*="ページトップ"] {
    display: none !important;
  }
  /* 広告 */
  .ad,
  *[id^="banner"],
  *[id^="web_pc_"],
  *[id$="_ad"],
  *[class*="ads_"]:not([class^="nicoads_"]),
  *[class^="google"],
  *[name^="google"],
  script + ins {
    display: none !important;
  }
  /* uneune */
  td[style*="uneune.gif"] 

,div#PAGEBODY div.content_312{
    display: none !important;
  }
}
@-moz-document domain("www.nicovideo.jp") {
  /* ボタン */
  input.submit {
    padding: 0 1px 0 0 !important;
    cursor: default !important;
  }
  input.submit:not([disabled]):active {
    padding: 0 0 0 1px !important;
    border-style: inset !important;
  }
  #PAGETOP {
    background-image: none !important;
  }
  #PAGETOP:not(.mode_2) > #PAGEHEADMENU {
    position: relative !important;
    width: 984px !important;
    margin: 0 auto !important;
  }
  #PAGETOP:not(.mode_2) .bg_headmenu {
    padding: 0 !important;
    border: none !important;
    z-index: 1 !important;
  }
  #PAGETOP:not(.mode_2) .headmenu_width {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: auto !important;
  }
  #PAGETOP:not(.mode_2) .headmenu {
    float: none !important;
    height: auto !important;
    color: inherit !important;
    font-size: 0 !important;
    word-spacing: 2px !important;
  }
  #PAGETOP:not(.mode_2) .headmenu:first-child {
    position: absolute !important;
    right: 0 !important;
    top: 100% !important;
  }
  #PAGETOP:not(.mode_2) .headmenu > tbody > tr > td > *,
  #PAGETOP:not(.mode_2) .headmenu > tbody > tr > td > span > strong {
    color: inherit !important;
    font-size: 12px !important;
  }
  /* 「ニコニコTOP」 */
  #PAGETOP:not(.mode_2) .headmenu > tbody > tr > td > strong {
    display: none !important;
  }
  .headmenu_g {
    margin: 0px !important;
    right: 0 !important;
  }
  /* ランダムなアイコン */
  #PAGEHEADER > table:first-child > tbody > tr > td:first-child {
    display: none !important;
  }
  /* ロゴ */
  #PAGEHEADER > table:first-child > tbody > tr > td:nth-child(2) {
    padding: 0 !important;
  }
  /* 広告跡 */
  #PAGEHEADER > table:first-child > tbody > tr > td:last-child {
    display: none !important;
  }
  /* テキストボックス */
  #bar_search {
    width: 240px !important;
    padding: 1px 0 !important;
    border-width: 1px !important;
    font-size: 12px !important;
    font-weight: normal !important;
  }
  #head_search_form > table > tbody > tr > td > input[name="submit"] {
    height: 20px !important;
  }
  #cookie_container {
    height: 0 !important;
    overflow: hidden !important;
  }
  #PAGEFOOTER {
    position: relative !important;
    clear: both !important;
    margin: 4px 0 0 !important;
    padding: 4px 0 !important;
    border-top: 1px solid #99aaaa !important;
  }
  #PAGEFOOTER > p:not(.font12) {
    display: none !important;
  }
  #PAGEFOOTER > p.font12 {
    margin: 0 !important;
    padding: 0 !important;
  }
  #PAGEFOOTER:not(:hover) > p.font12:not(.mb8p4) {
    display: none !important;
  }
  #PAGEFOOTER:hover > p.font12.mb8p4 {
    display: none !important;
  }
  #PAGEFOOTER > p > strong {
    color: inherit !important;
  }
}
@-moz-document url-prefix("http://www.nicovideo.jp/watch/") {
  /* 「続きを読む」 */
  .video_title + .des_1 > p > a[onclick^="hideOBJs"] {
    display: none !important;
  }
  /* 「登録タグ」 */
  .des_2 + div {
    padding: 0 !important;
    background: none !important;
  }
  /* タグコンテナ */
  #video_tags > p > nobr {
    margin-right: -0.5em !important;
  }
  #tag_edit_form {
    margin-top: 4px !important;
  }
  #outside > a {
    line-height: 1 !important;
  }
  #outside > a > img,
  #outside > iframe {
    vertical-align: middle !important;
  }
  /* 未ログイン市場 */
  #PAGEBODY > .content_672_solo ~ * {
    display: none !important;
  }
  /* 市場その他 */
  #ichiba_placeholder,
  #ichiba_placeholder ~ * {
    display: none !important;
  }
  /* 広告？ */
  .tag_sync {
    display: none !important;
  }
}
@-moz-document url-prefix("http://www.nicovideo.jp/mylist/") {
  .video_w64 {
    width: 130px !important;
    height: 100px !important;
  }
  #PAGEBODY > div {
    position: relative !important;
    margin: 0 !important;
  }
  /* 左 */
  .content_672 {
    float: none !important;
    width: 100% !important;
  }
  .SYS_box_item > table {
    width: auto !important;
  }
  /* ブログ貼付 */
  .content_312 {
    position: absolute !important;
    right: 4px !important;
    top: 4px !important;
    float: none !important;
    width: 240px !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    opacity: 0.9 !important;
  }
  .content_312:hover {
    background-color: #333333 !important;
  }
  .content_312::before {
    display: block !important;
    padding: 4px !important;
    font-size: 12px !important;
    line-height: 12px !important;
    cursor: default !important;
    content: "ブログサイトに貼付" !important;
  }
  .content_312 > div {
    margin: 0 !important;
    padding: 0 !important;
  }
  .content_312 > div > div {
    margin: 0 !important;
    padding: 4px !important;
    border: none !important;
    background: none !important;
  }
  .content_312:not(:hover) > * {
    display: none !important;
  }
  .content_312 > div > div > p:first-child {
    display: none !important;
  }
  .content_312 > div > div td {
    display: block !important;
    padding: 0 !important;
    text-align: left !important;
  }
  .content_312 > :nth-child(n+2) {
    display: none !important;
  }
  .content_312 .paste {
    width: 220px !important;
  }
}
@-moz-document url-prefix("http://www.nicovideo.jp/hotlist"),
               url-prefix("http://www.nicovideo.jp/major_tag"),
               url-prefix("http://www.nicovideo.jp/myvideo"),
               url-prefix("http://www.nicovideo.jp/newarrival"),
               url-prefix("http://www.nicovideo.jp/recent"),
               url-prefix("http://www.nicovideo.jp/related_tag/"),
               url-prefix("http://www.nicovideo.jp/search/"),
               url-prefix("http://www.nicovideo.jp/tag/") {
  #PAGEBODY {
    position: relative !important;
  }
  #PAGEBODY > .mb8p4:first-of-type {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
  }
  #search_words,
  .search_word {
    font-size: inherit !important;
  }
  #PAGEBODY > table[style]:first-of-type {
    margin: 0 !important;
    word-spacing: -0.2em !important;
  }
  /* 左 */
  .content_672 {
    float: none !important;
    width: 100% !important;
  }
  .content_672 > table:first-child {
    width: 660px !important;
    margin: 0 !important;
  }
  table.pager a,
  table.pager span {
    float: right !important;
  }
  .content_672 > div {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    font-size: 0 !important;
  }
  .content_672 > div > div {
    display: inline !important;
    padding: 0 !important;
  }
  .content_672 > div > div > div {
    display: inline-block !important;
    float: none !important;
    margin: 0 4px 4px 0 !important;
    border: 1px solid #c9cfcf !important;
    vertical-align: top !important;
  }
  /* 1 件 */
  .content_672 > div > div > div[style*="width: 6"] {
    width: 486px !important;
  }
  /* 2 件 */
  .content_672 > div > div > div[style*="width: 3"] {
    width: 322px !important;
  }
  /* 4 件 */
  .content_672 > div > div > div[style*="width: 1"] {
    width: 158px !important;
  }
  .content_672 > div > div > div > table {
    width: auto !important;
  }
  .uad_thumbfrm {
    padding: 0 !important;
    border: none !important;
  }
  .uad_thumbfrm > table > tbody > tr > td > div,
  .uad_thumbfrm_1 > table > tbody > tr > td > div,
  .uad_thumbfrm_2 > table > tbody > tr > td > div {
    min-width: 64px !important;
    width: auto !important;
    text-align: left !important;
  }
  .content_672 > div > div > div > table > tbody > tr > td:last-child {
    padding: 0 !important;
    background: none !important;
  }
  .content_672 > div > div > div > table > tbody > tr > td:last-child > div > p > nobr {
    font-size: 12px !important;
    white-space: normal !important;
  }
  .content_672 > div > div > div > table > tbody > tr > td:last-child > div {
    width: auto !important;
  }
  .vinfo_description {
    word-wrap: break-word !important;
  }
  /* ニコニ広告 */
  #nicoads {
    position: absolute !important;
    right: 244px !important;
    top: 4px !important;
    width: 240px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #000000 !important;
    opacity: 0.9 !important;
    z-index: 2147483647 !important;
  }
  #nicoads:hover {
    background: #333333 !important;
  }
  #nicoads::before {
    display: block !important;
    padding: 4px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 12px !important;
    cursor: default !important;
    content: "ニコニ広告" !important;
  }
  #nicoads > *:not(.frm_uad_bg) {
    display: none !important;
  }
  #nicoads > .frm_uad_bg {
    width: auto !important;
    padding: 0 !important;
    background: none !important;
  }
  #nicoads:not(:hover) > .frm_uad_bg {
    display: none !important;
  }
  #uad_container,
  #uad_container > td {
    display: block !important;
    padding: 2px !important;
  }
  #uad_container > td[colspan="3"] > a::before {
    color: #ffffff !important;
    font-size: 12px !important;
    content: "このタグで宣伝されている動画はありません" !important;
  }
  #uad_container > td[colspan="3"] > a > img:only-child {
    display: none !important;
  }
  /* 宣伝動画募集中 */
  #uad_container > td[valign="middle"] {
    display: none !important;
  }
  #uad_container *:not(img) {
    width: auto !important;
  }
  .uad_img {
    width: 78px !important;
    height: 60px !important;
  }
  .uad_msg {
    margin: 0 !important;
  }
  /* チャンネル動画 / 大百科 / コミュニティ */
  .content_312 {
    position: absolute !important;
    right: 4px !important;
    top: 4px !important;
    float: none !important;
    width: 240px !important;
    background: #000000 !important;
    color: #ffffff !important;
    overflow: visible !important;
    opacity: 0.9 !important;
/*    z-index: 2147483647 !important;*/
  }
  .content_312 *:not(img) {
    width: auto !important;
    border-color: #cccccc !important;
    background: none !important;
  }
  .content_312 a {
    color: #ccffff !important;
  }
  .content_312 p {
    color: inherit !important;
  }
  .content_312 > * {
    margin: 0 !important;
    padding: 0 !important;
  }
  .content_312 > div:first-child,
  .content_312 > table[width="100%"] {
    display: none !important;
  }
  /* DMM.ちゃんねる */
  .content_312 > div > p:only-child {
    display: none !important;
  }
  .content_312 > div > p:not([class]),
  .content_312 > table > tbody > tr:first-child > td > p:not([class]) {
    display: none !important;
  }
  .content_312 > table > tbody > tr:nth-child(2n+3) {
    display: none !important;
  }
  #related_nicopedia:hover,
  .content_312 > table:hover {
    background-color: #333333 !important;
  }
  #related_nicopedia {
    padding: 0 !important;
    border: none !important;
  }
  #related_nicopedia > table,
  .content_312 > table {
    width: 100% !important;
  }
  #related_nicopedia > table > tbody > tr:first-child > td,
  .content_312 > table > tbody > tr:first-child > td,
  .content_312 > table .rel_chcom_msg,
  .content_312 > div:nth-last-child(-n+2) {
    font-size: 0 !important;
    cursor: default !important;
  }
  .content_312 > table > tbody > tr:first-child > td > .rel_chcom_msg {
    display: inline !important;
  }
  .content_312 > div:nth-last-child(-n+2) {
    padding: 4px !important;
  }
  #related_nicopedia > table > tbody > tr:first-child > td::before,
  .content_312 > table > tbody > tr:first-child > td::before,
  .content_312 > div:nth-last-child(-n+2)::before {
    font-size: 12px !important;
    line-height: 12px !important;
    white-space: nowrap !important;
  }
  #related_nicopedia > table > tbody > tr:first-child > td::before {
    content: "ニコニコ大百科" !important;
  }
  .content_312 > table:nth-last-child(2) > tbody > tr:first-child > td::before,
  .content_312 > div:nth-last-child(2)::before {
    content: "チャンネル" !important;
  }
  .content_312 > table:last-child > tbody > tr:first-child > td::before,
  .content_312 > div:last-child::before {
    content: "コミュニティ" !important;
  }
  #related_nicopedia > table > tbody > tr:first-child > td > strong:last-child,
  .content_312 > table .rel_chcom_msg > strong:last-child {
    float: right !important;
    font-size: 12px !important;
    line-height: 12px !important;
  }
  #related_nicopedia:not(:hover) > table > tbody > tr:nth-child(n+2),
  .content_312 > table:not(:hover) > tbody > tr:nth-child(n+2),
  .content_312 > div:not(:hover) > .rel_chcom_msg {
    display: none !important;
  }
  .content_312 > table > tbody > tr:nth-last-child(2n+3) > td {
    display: block !important;
    margin: 0 4px 4px !important;
    padding: 4px !important;
    border: 2px solid #cccccc !important;
  }
  .content_312 > div > .rel_chcom_msg {
    margin-top: 4px !important;
    padding: 4px !important;
    border-width: 2px !important;
  }
}
@-moz-document domain("ch.nicovideo.jp"),
               domain("com.nicovideo.jp") {
  /* 広告 */
  *[id^="channel_pc_"],
  *[id^="community_pc_"],
  #ipsxGBanner {
    display: none !important;
  }
  #site-foot {
    padding: 10px 0 !important;
  }
  .site-foot-wrapper > div:first-child {
    display: none !important;
  }
  .site-foot-wrapper > div:nth-child(n+2),
  .site-foot-wrapper > div:nth-child(n+2) * {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 12px !important;
    vertical-align: middle !important;
  }
  .site-foot-wrapper > div:not(:last-child) {
    margin-right: 1em !important;
  }
}
@-moz-document url-prefix("http://ch.nicovideo.jp/search"),
               url-prefix("http://com.nicovideo.jp/search") {
  /* 左 */
  div[id^="contents"] > div[id^="main"] {
    width: auto !important;
  }
  div[id^="contents"] > div[id^="main"] > div[style],
  .search_video_result_list > div[style] {
    margin: 0 !important;
  }
  div[id^="contents"] > div[id^="main"] > div:not(.pagenavi),
  .search_list_table,
  .video_list {
    display: block !important;
    padding: 2px !important;
  }
  .search_list_table > tbody,
  .video_list > tbody {
    display: block !important;
  }
  .com_frm_line,
  .search_list_table > tbody > tr,
  .video_list > tbody > tr {
    display: inline !important;
    font-size: 0 !important;
  }
  .com_frm_line::after {
    display: none !important;
  }
  .com_frm,
  .search_list_table > tbody > tr > td,
  .video_list > tbody > tr > td {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
  }
  .thumb_frm_2,
  .com_frm,
  .ch_frm {
    width: 310px !important;
    margin: 2px !important;
    padding: 0 !important;
  }
  .thumb_frm_2 > * {
    width: auto !important;
    margin: 4px !important;
  }
  /* 右 (空) */
  div[id^="contents"] > div[id^="side"] {
    display: none !important;
  }
}
@-moz-document domain("dic.nicovideo.jp") {
  #container {
    position: relative !important;
    padding: 58px 0 0 !important;
  }
  #topline {
    right: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 4px !important;
    background: none !important;
  }
  #topline td {
    padding: 0 0 0 1em !important;
    color: inherit !important;
  }
  #topline td > a {
    padding: 0 !important;
    background: none !important;
    color: inherit !important;
    text-decoration: none !important;
  }
  #topline a:not(:hover):not(:active) {
    text-decoration: underline !important;
  }
  /* 「その他▼」 */
  #topbarMenuLink {
    cursor: default !important;
  }
  #topbarMenu {
    left: auto !important;
    top: auto !important;
  }
  #topbarMenu[style*="display: block;"] {
    display: inline !important;
  }
  #topbarMenu > .disabled {
    display: none !important;
  }
  #header {
    top: 0 !important;
    height: auto !important;
  }
  /* ロゴ */
  #header .logo {
    float: none !important;
    padding: 4px !important;
  }
  #menu-bar {
    right: 0 !important;
    top: 16px !important;
    width: auto !important;
    height: auto !important;
    padding: 4px !important;
    background: none !important;
  }
  #menu-bar > .counter {
    float: right !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    color: inherit !important;
  }
  #menu-bar > .search-form {
    clear: right !important;
    width: auto !important;
    margin: 0 !important;
  }
  #menu-bar > .search-form > * {
    position: static !important;
    vertical-align: middle !important;
  }
  #menu-bar > .search-form > .search-box {
    height: auto !important;
    padding: 1px !important;
  }
  /* 関連商品 */
  iframe.nicoichiba {
    display: none !important;
  }
  .box > hr {
    margin: 0 auto !important;
  }
  /* 「ページトップへ戻る」 */
  a[href="#basebody"] {
    display: none !important;
  }
  .footer-menu {
    border: none !important;
  }
  .footer-menu > hr {
    display: none !important;
  }
  .footer-menu > a[href="#basebody"] {
    display: none !important;
  }
}
@-moz-document domain("dvd.nicovideo.jp") {
  .pageTopWrap {
    display: none !important;
  }
}
@-moz-document domain("ichiba.nicovideo.jp") {
  /* 広告 */
  *[id^="ichiba_pc_"],
  #headerAd {
    display: none !important;
  }
  #headerNav {
    position: relative !important;
    width: 970px !important;
    margin: 0 auto !important;
    padding: 2px 0 0 !important;
    background: none !important;
    color: inherit !important;
  }
  #headerNav a {
    color: inherit !important;
    font-weight: normal !important;
  }
  #naviInner {
    position: absolute !important;
    right: 0 !important;
    width: auto !important;
    text-align: right !important;
  }
  #naviInner > ul {
    display: block !important;
    float: none !important;
    margin: 0 !important;
  }
  #naviInner > ul> li {
    display: block !important;
    float: left !important;
    margin-left: 0.5em !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
  }
  #serviceNav {
    position: absolute !important;
    right: 0 !important;
    top: 100% !important;
  }
  #othersList {
    position: static !important;
  }
  #headerContents {
    margin: 0 auto !important;
  }
  .goTop {
    display: none !important;
  }
  #footerSearch {
    margin: 0 auto !important;
    border: none !important;
    background: none !important;
  }
  #footerSearch > form {
    padding: 10px 0 0 !important;
  }
  #footerSearch > form > input {
    vertical-align: middle !important;
  }
  #footerNav {
    margin: 0 !important;
  }
  /* ニコニコ市場トップ */
  #footerNav + a {
    display: none !important;
  }
}
@-moz-document domain("jk.nicovideo.jp") {
  html {
    overflow-y: auto !important;
  }
  #footer {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    color: inherit !important;
    background: none !important;
  }
  #footer > p {
    background: none !important;
  }
  #footer > p > a {
    color: inherit !important;
  }
  #copyright {
    display: none !important;
  }
}
@-moz-document domain("live.nicovideo.jp") {
  .block_type #navi {
    position: relative !important;
    width: 960px !important;
    height: 0 !important;
    margin: 0 auto !important;
    background: none !important;
  }

/*画面上部の説明（俺追加）*/
#descriptions{
    display:none !important;
}

  .block_type #naviInner {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 4px 0 0 !important;
    color: inherit !important;
    font-size: 0 !important;
    word-spacing: 4px !important;
    line-height: inherit !important;
    overflow: visible !important;
  }
  .block_type #naviInner * {
    color: inherit !important;
  }
  .block_type #naviInner a {
    margin: 0 !important;
    font-size: 12px !important;
  }
  .block_type #globalNav {
    position: absolute !important;
    right: 0 !important;
    top: 100% !important;
    margin: 4px 0 0 !important;
  }
  .block_type #subNav {
    overflow: visible !important;
  }
  .block_type #popup_other,
  .block_type #popup_jump2recent {
    position: fixed !important;
  }
  .block_type #popup_other {
    margin-left: -83px !important;
  }
  #header {
    height: auto !important;
    font-size: 0 !important;
  }
  #header > h1 {
    display: inline-block !important;
    float: none !important;
    padding-top: 4px !important;
  }
  #header > form {
    display: inline-block !important;
    vertical-align: bottom !important;
  }
  #user {
    float: none !important;
    width: auto !important;
    font-size: 12px !important;
  }
  #search_small {
    margin: 0 !important;
  }
  /* 広告 */
  #headerAd {
    display: none !important;
  }
  /* 市場 */
  .ichiba {
    display: none !important;
  }
  #information {
    margin-bottom: 0 !important;
  }
  /* 「ページトップ」 */
  .toTop {
    display: none !important;
  }
  #footer {
    margin-top: 10px !important;
  }
  #footer > p {
    display: inline !important;
    padding: 0 0.5em !important;
  }
}
@-moz-document domain("seiga.nicovideo.jp") {
  #ad_468_60 {
    display: none !important;
  }
}
@-moz-document domain("uad.nicovideo.jp") {
  #main {
    margin-bottom: 0 !important;
  }
  #footer * {
    padding: 0 !important;
  }
  #footer-menu,
  .footer-inner {
    background: none !important;
  }
  .footer-inner > p {
    margin: 4px 0 !important;
  }
  .footer-inner > p > br {
    display: none !important;
  }

}