@namespace url(http://www.w3.org/1999/xhtml);

/* æœŸé–“ãƒ¡ãƒ‹ãƒ¥ãƒ¼ç§»å‹• */
@-moz-document url-prefix("http://www.nicovideo.jp/ranking/"),
               url-prefix("http://nine.nicovideo.jp/ranking/") {
  #PAGEBODY {
    position : relative !important;
  }

  .content_672 {
    width : 100% !important;
  }

  .content_312 > .mb8p4:first-child > p,
  .content_312 > .mb8p4:first-child ~ *,
  .controller_bg > p.font12:first-child,
  .controller_bg > p.font12:first-child + table + div {
    display : none !important;
  }

  .content_312 > .mb8p4:first-child {
    position : absolute !important;
    top : 63px !important;
    right : 0px !important;
  }

  .controller_bg {
    background-color : transparent !important;
    background-image : none !important;
    color : #333 !important;
    padding : 0 !important;
  }

  .content_312 > .mb8p4:first-child > .controller_bg > p.font12:first-child + table {
    margin-right : 0 !important;
    line-height : 20px !important;
  }

  .content_312 > .mb8p4:first-child > .controller_bg > p.font12:first-child + table ~ * {
    display : none !important;
  }
}

/* ã‚«ãƒ†ã‚´ãƒªé¸æŠžãƒ¡ãƒ‹ãƒ¥ãƒ¼ã®æ•´å½¢ */
@-moz-document url-prefix("http://www.nicovideo.jp/ranking/"),
               url-prefix("http://nine.nicovideo.jp/ranking/") {
  .sw_bg {
    background : transparent url("data:image/gif;base64,R0lGODlhBAAEAJEAAP///+7u7szMzAAAACH5BAAAAAAALAAAAAAEAAQAAAIGhG+iEh0FADs=") center bottom repeat-x !important;
    border-bottom-style : none !important;
  }

  #switch {
    height : 28px !important;
  }

  #switch td {
    padding : 0 4px !important;
  }

  #switch a {
    float : left !important;
    margin-top : 2px !important;
    text-decoration : none !important;
  }

  a.sw_0 div,
  a.sw_1 div{
    background-image : none !important;
    border : 1px solid #999 !important;
    border-bottom-style : none !important;
    font-size : 12px !important;
    font-weight : bold !important;
    line-height : 24px !important;
    margin : 0px 1px !important;
    padding : 0px 4px !important;
    -moz-border-radius : 5px 5px 0 0 !important;
    -webkit-border-radius : 5px 5px 0 0 !important;
  }

  a.sw_0 div{
    background-color : #fff !important;
    padding-bottom : 1px !important;
  }

  a.sw_0 div,
  a.sw_0 div:hover,
  a.sw_0 div:active {
    color : #333 !important;
  }

  a.sw_1 div{
    background-color : #eee !important;
    margin-bottom : 1px !important;
  }

  a.sw_1 div,
  a.sw_1 div:hover,
  a.sw_1 div:active {
    color : #666 !important;
  }
}

/* ãƒ©ãƒ³ã‚­ãƒ³ã‚°ã®è¡¨ç¤ºã‚’æ‹¡å¤§ */
@-moz-document url-prefix("http://www.nicovideo.jp/ranking/"),
               url-prefix("http://nine.nicovideo.jp/ranking/") {
  .content_672 .thumb_uad_header,
  .content_672 .menu_palet {
    display : none !important;
  }

  .content_672 div[class^="thumb_frm"] {
    background-image : none !important;
    background-color : transparent !important;
    border-style : none !important;
    border-bottom : 2px dotted #999 !important;
    margin : auto !important;
  }

  .content_672 div[class^="thumb_frm"] td[nowrap] {
    color : #cdd !important;
    padding-top : 32px !important;
  }

  .list_count {
    text-align : right !important;
    padding-right : 6px !important;
  }

  .content_672 .video_w96 {
    width : 130px !important;
    height : 100px !important;
  }

  .vinfo_length {
    margin : 2px 0 0 !important;
    text-align : left !important;
  }

  .vinfo_length span {
    background-image : none !important;
    color : #000 !important;
    font-size : 10px !important;
    padding : 0 !important;
  }

  .content_672 div[class^="thumb_frm"] div[style="width:484px; overflow:hidden;"],
  .content_672 div[class^="thumb_frm"] div[style="width: 484px; overflow: hidden;"] {
    width : 400px !important;
    overflow : visible !important;
    position : relative !important;
  }

  .content_672 div[class^="thumb_frm"] div[id^="MENU_"] + p.font12 > strong:first-child {
    width : 100px !important;
    position : absolute !important;
    top : 80px !important;
    left : -240px !important;
    font-size : 0 !important;
    text-align : right !important;
  }

  .content_672 div[class^="thumb_frm"] div[id^="MENU_"] + p.font12 > strong:first-child span {
    font-size : 12px !important;
  }

  .content_672 div[class^="thumb_frm"] ddiv[id^="MENU_"] + p.font12 > strong:first-child span:after {
    content : " pts." !important;
  }

  .content_672 div[class^="thumb_frm"] div[id^="MENU_"] + p.font12 > strong:first-child + span {
    font-size : 0 !important;
  }

  .content_672 div[class^="thumb_frm"] h3 {
    margin-top : 18px !important;
  }

  .content_672 div[class^="thumb_frm"] div[id^="MENU_"] + p.font12 > strong:last-child {
    margin-left : -4px !important;
  }

  .content_672 div[class^="thumb_frm"] .num_status {
    position : absolute !important;
    top : 18px !important;
    left : 0 !important;
    margin : 0 !important;
  }
}