@namespace url(http://www.w3.org/1999/xhtml);


/* --------------------------------------------------
 * ã‚°ãƒ­ãƒ¼ãƒãƒ«
 * -------------------------------------------------- */
@-moz-document url-prefix("http://www.nicovideo.jp")
{

    /* ã‚µãƒ ãƒã‚¤ãƒ« */
    .video_w96,
    .video_w48,
    .video_w80,
    .img_std96
    {
        width : 130px !important;
        height: 100px !important;
    }
    /* ãƒ¡ã‚¤ãƒ³ãƒ‘ãƒãƒ« */
    .content_672
    {
        width: 984px !important;
        background: #CCC !important;
        border: 2px solid #555 !important;
        -moz-border-radius: 5px !important;
    }
    .content_672_solo
    {
        background: #CCC !important;
        border: 2px solid #555 !important;
        -moz-border-radius: 5px !important;
    }
    /* ä¸€èˆ¬çš„ãªå‹•ç”»ãƒ‡ãƒ¼ã‚¿ */
    .thumb_frm
    {
        border: 2px solid #555 !important;
        -moz-border-radius: 5px !important;
    }
    /* å®£ä¼ãƒ¬ãƒ™ãƒ«ä½Žã®å‹•ç”»ãƒ‡ãƒ¼ã‚¿ */
    .thumb_frm_rank_1
    {
        background: none !important;
        background-color: #E0EEEE !important;
        border: 2px solid #555 !important;
    }
    /* å®£ä¼ãƒ¬ãƒ™ãƒ«é«˜ã®å‹•ç”»ãƒ‡ãƒ¼ã‚¿ */
    .thumb_frm_rank_2
    {
        background: none !important;
        background-color: #FFF599 !important;
        border: 2px solid #555 !important;
    }
    /* ã‚³ãƒ¡ãƒ³ãƒˆè¡¨ç¤ºæ¬„ */
    .vinfo_last_res
    {
        font-style: italic !important;
        font-weight: normal !important;
        border: 1px solid #222 !important;
        -moz-border-radius: 5px !important;
    }

}






/* --------------------------------------------------
 * å‹•ç”»ãƒšãƒ¼ã‚¸
 * -------------------------------------------------- */
@-moz-document url-prefix("http://www.nicovideo.jp/watch")
{


    /* ãƒ˜ãƒƒãƒ€ã¨ãƒ•ãƒƒã‚¿ã‚’é™¤ã„ãŸå…¨ä½“ã®èƒŒæ™¯ã‚’å¤‰æ›´ */
    #PAGEBODY
    {
        background: #CCC !important;
        border: 2px solid #999 !important;
        -moz-border-radius: 5px !important;
    }
    

    /* å¸‚å ´  */
    a.ichiba_item[href*="nicovideo.jp/item/dw"]
    {
        color: #8b008b !important;
    }
    a.ichiba_item[href*="amazon"]
    {
        color: #ee7600 !important;
    }
    a.ichiba_item[href*="yahoo"]
    {
        color: red !important;
    }
    a.ichiba_item[href*="ggood"]
    {
        color: lightgreen !important;
    }

    .list_table,
    .bpn_frm
    {
        background: #EEE !important;
        border: 2px solid #444 !important;
        -moz-border-radius: 10px !important;
    }

}






/* --------------------------------------------------
 * ãƒ©ãƒ³ã‚­ãƒ³ã‚°
 * -------------------------------------------------- */
@-moz-document url-prefix("http://www.nicovideo.jp/ranking")
{

    /* --------------------
     * å·¦ãƒšã‚¤ãƒ³
     * -------------------- */

    /* ãƒšã‚¤ãƒ³å…¨ä½“ã‚’å¼•ãä¼¸ã°ã™ */
    .content_672
    {
        width: 984px !important;
    }
    /* å‹•ç”»ãƒ‡ãƒ¼ã‚¿ã‚’ãƒšã‚¤ãƒ³ã®å¤§ãã•ã«åˆã‚ã›ã‚‹ */
    .thumb_frm,
    .thumb_frm_rank_1,
    .thumb_frm_rank_2
    {
        width: auto !important;
    }


    /* --------------------
     * å³ãƒšã‚¤ãƒ³
     * -------------------- */

    /* å³ãƒšã‚¤ãƒ³ãŒå·¦ãƒšã‚¤ãƒ³ã«å¹²æ¸‰ã—ãªã„ä½ç½®ã¸ç§»å‹• */
    .content_312
    {
        width: 0px !important;
        position: relative !important;
        top: 35px !important;
        right: 320px !important;
        overflow: visible !important;
    }


    /* è¡¨ç¤ºå†…å®¹ã®å¤‰æ›´ã®ä¸Šä¸‹ã‚’æ¶ˆã™ */
    .content_312 > DIV:first-child > P
    {
        display: none !important;
    }
    /* è¡¨ç¤ºå†…å®¹ã®å¤‰æ›´ */
    .controller_bg
    {
        background: #333 !important;
        opacity: 0.8 !important;
        -moz-border-radius: 5px !important;
    }
    /* è¡¨ç¤ºå†…å®¹ã®å¤‰æ›´ã®æŠ˜ã‚Šç•³ã¿ */
    .controller_bg:not(:hover) > :not(:first-child)
    {
        display: none !important;
    }

    /* è¡¨ç¤ºå†…å®¹ã®å¤‰æ›´ä»¥å¤–ã®divè¦ç´  */
    .content_312 > DIV:not(:first-child)
    {
        display: none !important;
    }



    /* å‡ºå¼µæ‰€ã®ä½ç½®ã‚’çµ¶å¯¾ä½ç½®ã«ã™ã‚‹ */
    .content_312 > DIV + TABLE
    {
        display: block !important;
        width: 0 !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
    /* å‡ºå¼µæ‰€ã®TABLEã®è‰²ã‚’è¨­å®š */
    .content_312 > DIV + TABLE > TBODY
    {
        background: #333 !important;
        color: #FFF !important;
        opacity: 0.8 !important;
    }
    /* å‡ºå¼µæ‰€ã®TABLEã®ãƒªãƒ³ã‚¯è‰²ã‚’è¨­å®š */
    .content_312 > DIV + TABLE > TBODY > TR A
    {
        color: lightblue !important;
    }
    /* å‡ºå¼µæ‰€ã®ã‚¢ã‚¤ãƒ†ãƒ é–“ã®ã‚»ãƒ‘ãƒ¬ãƒ¼ã‚¿ã‚’å‰Šé™¤ */
    .dot_1
    {
        display: none !important;
    }

    /* å‹•ç”»ãƒ©ãƒ³ã‚­ãƒ³ã‚°å‡ºå¼µæ‰€ã®ä½ç½®ã‚’è¨­å®š */
    .content_312 > DIV + TABLE > TBODY:before
    {
        content: "å‹•ç”»ãƒ©ãƒ³ã‚­ãƒ³ã‚°å‡ºå¼µæ‰€" !important;
    }
    .content_312 > DIV + TABLE > TBODY
    {
        display: block !important;
        width: 230px !important;
        position: relative !important;
        bottom: 65px !important;
        right: 150px !important;
        overflow: visible !important;
    }
    /* å¸‚å ´ãƒ©ãƒ³ã‚­ãƒ³ã‚°å‡ºå¼µæ‰€ã®ä½ç½®ã‚’è¨­å®š */
    .content_312 > DIV + TABLE:last-child > TBODY:before
    {
        content: "å¸‚å ´ãƒ©ãƒ³ã‚­ãƒ³ã‚°å‡ºå¼µæ‰€" !important;
    }
    .content_312 > DIV + TABLE:last-child > TBODY
    {
        display: block !important;
        width: 230px !important;
        position: relative !important;
        bottom: 65px !important;
        left: 80px !important;
        overflow: visible !important;
    }
    /* å‡ºå¼µæ‰€ã‚’æŠ˜ã‚Šç•³ã‚€ */
    .content_312 > DIV + TABLE > TBODY:not(:hover) > TR
    {
        display: none !important;
    }

    /* åºƒå‘Šã®tableè¦ç´  */
    .content_312 > DIV + TABLE + TABLE
    {
        display: none !important;
    }




}








/* --------------------------------------------------
 * ã‚­ãƒ¼ãƒ¯ãƒ¼ãƒ‰æ¤œç´¢
 * ã‚¿ã‚°æ¤œç´¢
 * ã‚­ãƒ¼ãƒ¯ãƒ¼ãƒ‰ã‚’å«ã‚€ã‚¿ã‚°
 * æ–°ç€æŠ•ç¨¿é †
 * æ–°ç€ã‚³ãƒ¡ãƒ³ãƒˆé †
 * å…¬é–‹æŠ•ç¨¿å‹•ç”»
 * ãƒ›ãƒƒãƒˆãƒªã‚¹ãƒˆ
 * -------------------------------------------------- */
@-moz-document url-prefix("http://www.nicovideo.jp/search"),
               url-prefix("http://www.nicovideo.jp/tag"),
               url-prefix("http://www.nicovideo.jp/related_tag"),
               url-prefix("http://www.nicovideo.jp/recent"),
               url-prefix("http://www.nicovideo.jp/newarrival"),
               url-prefix("http://www.nicovideo.jp/myvideo"),
               url-prefix("http://www.nicovideo.jp/hotlist")
{


    /* --------------------
     * å·¦ãƒšã‚¤ãƒ³
     * -------------------- */

    /* ãƒšã‚¤ãƒ³å…¨ä½“ã‚’å¼•ãä¼¸ã°ã™ */
    .content_672
    {
        width: 984px !important;
    }


    /* ----- 3åˆ—è¡¨ç¤ºã«ã™ã‚‹ ----- */
    .content_672 > TABLE[summary="videos"] > TBODY > TR
    {
        display: inline !important; /* 2åˆ—è¡¨ç¤ºã«æˆ»ã™å ´åˆã¯ã“ã“ã‚’ã‚³ãƒ¡ãƒ³ãƒˆã‚¢ã‚¦ãƒˆ */
    }
    .content_672 > TABLE[summary="videos"] > TBODY > TR > TD
    {
        display: inline-block !important;
        margin-top: 2px !important;
    }
    [class*="thumb_frm"][style*="288"]
    {
        /* 3åˆ—è¡¨ç¤ºã®æ™‚ã®å¹… */
        width: 305px !important;
        /* 2è¡¨ç¤ºã®æ™‚ã®å¹… */
        /* width: 465px !important; */
    }
    [class*="thumb_frm"][style*="132"]
    {
        /* 5åˆ—è¡¨ç¤ºã®æ™‚ã®å¹… */
        width: 173px !important;
        /* 4åˆ—è¡¨ç¤ºã®æ™‚ã®å¹… */
        /* width: 220px !important; */
    }



    /* --------------------
     * å³ãƒšã‚¤ãƒ³
     * -------------------- */

    /* å³ãƒšã‚¤ãƒ³ãŒå·¦ãƒšã‚¤ãƒ³ã«å¹²æ¸‰ã—ãªã„ä½ç½®ã¸ç§»å‹• */
    .content_312
    {
        width: 0 !important;
        position: relative !important;
        bottom: 90px !important;
        right: 330px !important;
        overflow: visible !important;
    }

    /* ãã‚Œãžã‚Œã®è¦ç´ ã®ã‚¹ã‚­ãƒžã‚’æ¶ˆã™ */
    .content_312 > *
    {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* åºƒå‘Š */
    .content_312 > DIV:first-child.mb8p4,
    .content_312 > TABLE + TABLE,
    .content_312  A[href^="http://ad.nicovideo.jp/c"]
    {
        display: none !important;
    }


    /* ----- ãƒãƒ£ãƒ³ãƒãƒ«å‹•ç”» ----- */

    /* ãƒãƒ£ãƒ³ãƒãƒ«å‹•ç”»ãŒç„¡ã‹ã£ãŸå ´åˆã«æ¶ˆã™ */
    .content_312 > TABLE[width="100%"]
    {
        display:none !important;
    }
    /* ãƒãƒ£ãƒ³ãƒãƒ«å‹•ç”»ã®tableè¦ç´  */
    .content_312 > TABLE[width="312"]
    {
        background: #DDD !important;
        width: 305px !important;
        opacity: 0.9 !important;
    }
    /* ã‚¿ã‚¤ãƒˆãƒ« */
    .content_312 > TABLE[width="312"] > TBODY > TR:first-child > TD
    {
        white-space: nowrap !important;
        font-size: 0 !important;
    }
    /* æ–‡å­—ã‚’è¿½åŠ  */
    .content_312 > TABLE[width="312"] > TBODY > TR:first-child > TD:before
    {
        content: "ãƒãƒ£ãƒ³ãƒãƒ«å‹•ç”»ï¼š" !important;
        font-size: 11px !important;
        padding-left: 8px !important;
    }
    /* ä»¶æ•°ã‚’è¡¨ç¤º */
    .content_312 > TABLE[width="312"] > TBODY > TR:first-child > TD > STRONG:last-child
    {
        font-size: 11px !important;
    }
    /* æŠ˜ã‚Šç•³ã¿ */
    .content_312 > TABLE[width="312"]:not(:hover) > TBODY > TR:not(:first-child)
    {
        display: none !important;
    }

    /* ----- ãƒ‹ã‚³ãƒ‹ã‚³å¤§ç™¾ç§‘ ----- */

    /* ä¸Šéƒ¨ç”»åƒãƒ»ä¸‹éƒ¨ç”»åƒã‚’æ¶ˆã™ */
    .frm_pedia_top,
    .frm_pedia_btm
    {
        display: none !important;
    }
    #related_nicopedia:hover
    {
        opacity: 0.9 !important;
    }
    /* ã‚¿ã‚¤ãƒˆãƒ« */
    /* å…¨ä½“ã®æ–‡å­—ã‚’æ¶ˆã™ */
    #related_nicopedia > TABLE > TBODY > TR:first-child > TD
    {
        white-space: nowrap !important;
        font-size: 0px !important;
    }
    /* ä»¶æ•°ã‚’è¡¨ç¤º */
    #related_nicopedia > TABLE > TBODY > TR:first-child > TD > STRONG:last-child
    {
        font-size: 11px !important;
    }
    /* æ–‡å­—ã‚’è¿½åŠ  */
    #related_nicopedia > TABLE > TBODY > TR:first-child > TD:before
    {
        content: "ãƒ‹ã‚³ãƒ‹ã‚³å¤§ç™¾ç§‘ï¼š" !important;
        font-size: 11px !important;
    }
    /* æŠ˜ã‚Šç•³ã¿ */
    #related_nicopedia:not(:hover) > TABLE > TBODY > TR:not(:first-child)
    {
        display: none !important;
    }


    /* ----- ãƒãƒ£ãƒ³ãƒãƒ«ï¼†ã‚³ãƒŸãƒ¥ãƒ‹ãƒ†ã‚£ ----- */

    /* ã‚¿ã‚¤ãƒˆãƒ«ç”»åƒã‚’æ¶ˆã™ */
    .frm_chcom_top
    {
        display: none !important;
    }
    .frm_chcom_bg:hover
    {
        opacity: 0.9 !important;
    }
    /* ã‚¿ã‚¤ãƒˆãƒ« */
    /* å…¨ä½“ã®æ–‡å­—ã‚’æ¶ˆã™ */
    .frm_chcom_bg > TABLE > TBODY > TR:first-child > TD
    {
        white-space: nowrap !important;
        font-size: 0 !important;
    }
    /*æ–‡å­—ã‚’è¿½åŠ  */
    .frm_chcom_bg > TABLE > TBODY > TR:first-child > TD:before
    {
        content: "ãƒãƒ£ãƒ³ãƒãƒ«&ã‚³ãƒŸãƒ¥ãƒ‹ãƒ†ã‚£ï¼š" !important;
        font-size: 11px !important;
        color: #EEE !important;
    }
    /* ä»¶æ•°ã‚’è¡¨ç¤º */
    .frm_chcom_bg > TABLE > TBODY > TR:first-child > TD > STRONG:last-child
    {
        font-size: 11px !important;
    }
    /* è¡¨ç¤ºé ˜åŸŸã‚’ã¯ã¿å‡ºãªã„ã‚ˆã†ã« */
    .rel_chcom_frm
    {
        max-width: 265px !important;
    }
    /* ãƒžã‚¦ã‚¹ã‚ªãƒ¼ãƒãƒ¼ã—ãŸã¨ãã«ã‚µãƒ ãƒã‚’æ‹¡å¤§ */
    .rel_chcom_img:hover
    {
        width: 128px !important;
        height: 128px !important;
    }
    /* æŠ˜ã‚Šç•³ã¿ */
    .frm_chcom_bg:not(:hover) TR:not(:first-child)
    {
        display: none !important;
    }
    /* ã‚³ãƒŸãƒ¥ãƒ‹ãƒ†ã‚£ãŒç„¡ã„å ´åˆã®æŠ˜ã‚Šç•³ã¿ */
    .frm_chcom_bg > TABLE > TBODY > TR:first-child > TD:first-child > .rel_chcom_frm
    {
        display: none !important;
    }
    .frm_chcom_bg:hover > TABLE > TBODY > TR:first-child > TD:first-child > .rel_chcom_frm
    {
        display: block !important;
        border: none !important;
        width: 270px !important;
    }
    /* æœ€ä¸‹éƒ¨ã®ç©ºé–“ */
    .frm_chcom_bg + P:last-child
    {
        display: none !important;
    }


    /* ----- ãƒ‹ã‚³ãƒ‹åºƒå‘Š ----- */

    /* æœ€ä¸Šä½ID */
    #nicoads
    {
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        top: 0 !important;
        overflow: visible !important;
    }
    /* å®Ÿéš›ã®è¡¨ç¤ºéƒ¨åˆ† */
    .frm_uad_bg:before
    {
        content: "ãƒ‹ã‚³ãƒ‹åºƒå‘Š" !important;
    }
    .frm_uad_bg
    {
        width: 60px !important;
        height: 18px !important;
        font-size: 12px !important;
        background: #EEE !important;
        position: relative !important;
        top: 165px !important;
        left: 260px !important;
        border: solid 1px #999 !important;
    }
    /* èƒŒæ™¯ã‚’è¨­å®š */
    #uad_container
    {
        background: #222 !important;
        opacity: 0.9 !important;
    }
    /* æŠ˜ã‚Šç•³ã¿ */
    .frm_uad_bg:not(:hover) > TABLE > TBODY > #uad_container
    {
        visibility: collapse !important;
    }
    /* ã‚µãƒ ãƒã‚¤ãƒ«æ‹¡å¤§ */
    .uad_img:hover
    {
        width: 130px !important;
        height: 100px !important;
    }
    /* ä¸Šéƒ¨ç”»åƒãƒ»ä¸‹éƒ¨ç”»åƒ */
    IMG[class="frm_uad_top"],
    IMG[class="frm_uad_btm"]
    {
        display: none !important;
    }

}







/* --------------------------------------------------
 * ãƒžã‚¤ãƒªã‚¹ãƒˆ
 * -------------------------------------------------- */
@-moz-document url-prefix("http://www.nicovideo.jp/mylist")
{

    /* å·¦ãƒšã‚¤ãƒ³ã‚’å¼•ãä¼¸ã°ã™ */
    .content_672
    {
        width: 984px !important;
    }
    /* ãƒžã‚¤ãƒªã‚¹ãƒˆã®ãƒ†ãƒ¼ãƒ–ãƒ«ã‚’ä¸­å¤®ã¸é…ç½® */
    #SYS_box_mylist_body
    {
        padding-left: 140px !important;
    }
    /* ãƒžã‚¤ãƒªã‚¹ãƒˆã®å„å‹•ç”»ãƒ‡ãƒ¼ã‚¿ã®èƒŒæ™¯ã‚’å¤‰æ›´ */
    .SYS_box_item > TABLE
    {
        background: #EEE !important;
        border: 2px solid #555 !important;
        -moz-border-radius: 5px !important;
    }
    /* ãƒ¡ãƒ¢æ¬„ã®æœ€å¹…ã‚’æŒ‡å®š */
    .SYS_box_memo
    {
        max-width: 500px !important;
    }
    /* å„å‹•ç”»é–“ã®ã‚»ãƒ‘ãƒ¬ãƒ¼ã‚¿ã‚’å‰Šé™¤ */
    .dot_2
    {
        display: none !important;
    }


    .content_312
    {
        display: none !important;
    }

}






/* --------------------------------------------------
 * è©¦è´å±¥æ­´
 * -------------------------------------------------- */
@-moz-document url-prefix("http://www.nicovideo.jp/history")
{

    /* å·¦ãƒšã‚¤ãƒ³ã‚’å¼•ãä¼¸ã°ã™ */
    .content_672
    {
        width: 984px !important;
    }
    /* å‹•ç”»ã®ãƒ†ãƒ¼ãƒ–ãƒ«ã‚’ä¸­å¤®ã¸é…ç½® */
    .content_672 > TABLE
    {
        padding-left: 160px !important;
        width: 820px !important;
    }
    /* å‹•ç”»ãƒ‡ãƒ¼ã‚¿ã®èƒŒæ™¯ã‚’è¨­å®š */
    .content_672 > TABLE > TBODY > TR[valign="top"]
    {
        background: #EEE !important;
        border: 2px solid #555 !important;
        -moz-border-radius: 5px !important;
        display: block !important;
    }
    /* å„å‹•ç”»é–“ã®ã‚»ãƒ‘ãƒ¬ãƒ¼ã‚¿ã‚’å‰Šé™¤ */
    .dot_2
    {
        display: none !important;
    }


    .content_312
    {
        display: none !important;
    }


}





/* --------------------------------------------------
 * å³ä¸Š
 * -------------------------------------------------- */
@-moz-document url-prefix("http://www.nicovideo.jp/migiue")
{

    #PAGEBODY
    {
        background: #DDD !important;
        border: 2px solid #555 !important;
        -moz-border-radius: 5px !important;
    }

}



/* --------------------------------------------------
 * ADKILL
 * -------------------------------------------------- */
@-moz-document domain("nicovideo.jp")
{

    a[href="/?p=premium_top&sec=bar"],     /* ãƒ—ãƒ¬ãƒŸã‚¢ãƒ ç™»éŒ²ãƒªãƒ³ã‚¯ */
    #live12,
    img[src*="/ads"],
    div[id*=banner],
    td[style*="uneune.gif"],
    [class^=ads_],
    [id^=ads_],
    [id^=web_pc_]
    {
        display: none !important;
    }

}


