@namespace url(http://www.w3.org/1999/xhtml);

/* MAIN STYLE */
@-moz-document domain("userstyles.org") {
    
    /*** Main page and body changes ***/

    html { background : #a5998a !important; }

    body { 
        display       : table          !important;
        min-width     : 800px          !important;
        width         : 86%            !important;
        max-width     : 86%            !important;
        color         : #333           !important;
        border        : 5px solid #fff !important;
        border-top    : none           !important;
        margin        : 0 auto 20px    !important;
        padding       : 0 20px 20px    !important;
        border-radius:0 0 16px 16px !important;
        /*border-bottom : none           !important;*/
         -moz-box-shadow    : 0 0 2em #000000!important;
    }

    body, #page { 
        background : #dfdcca url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAADbCAMAAABTAuEkAAAABGdBTUEAAK%2FINwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABgUExURebj0fbz4Ozp1%2Fr35PTx3uPgzvLu3O7r2Orn1ejl0%2Fv45f776fj14ufk0v355%2Ff04vPw3fDt2%2F%2F86eDdy%2BHezOLfzeThz%2F365%2Fn24%2Bvo1uXi0PHu2%2Bnm1O%2Fs2u3q1%2FXy4ExqRg0AAACESURBVHja7MjJDoJAEEXRdgRxBBVn%2Ff%2B%2FdO2tTaXzGmJSZ3lSBykiIiJCFmtwxAUGih3YaKBMzMDGFSSxAUfswRETKBMfSHOQxAFyYgk2HiCJFhzxAhsVSOINkpiCjRvkRA2OeIIkViCJLeREEXeQRA9jxQIGijOMFSf4ozhCxK%2BvAAMAqtDkgYl7OkgAAAAASUVORK5CYII%3D") 0 0 repeat-x !important;
        margin-top : 0 !important;
    }

    .ad {display : none!important;}

    pre:not(#view-code) { 
        border-left : 6px solid #afac9a !important;
        background  : #fff              !important; 
        padding     : 8px 16px          !important;
    }

    #stylish-code{display:block!important; max-width:0!important;}

    /*iframe { visibility : hidden !important; }*/

    #miscellaneous { display : none !important; }

    #breadcrumbs { 
        color      : #bbb       !important;
        font-style : oblique    !important;
        margin     : 0 0 0 20px !important;
        padding    : 0          !important;
        width      : auto       !important;
        position   : absolute   !important;
        z-index    : 1          !important;
    }

    #other-links{
        color    : transparent  !important;
        position : relative     !important;
        float    : right        !important;
        z-index  : 1            !important;
        margin   : 4px 20px 0 0 !important;
    }

    #other-links * { vertical-align : top !important; }

    #breadcrumbs,
    #breadcrumbs a,
    #other-links a  {
        color       : #ddd              !important;
        text-shadow : #333 3px 1px 3px  !important;
    }
    
    #breadcrumbs a:hover, 
    #other-links a:hover {
        color       : #fff              !important;
        text-shadow : #000 3px 1px 3px  !important;
    }

    #other-links+h1 { 
        position           : relative          !important;
        top                : -5px;
        z-index            : 0                 !important;
        border-radius : 0 0 10px 10px;
        border             : solid 2px #7E94A6 !important;
        border-top         : none              !important;
        background         : #426395           !important;
        font-family        : serif none        !important;
        color              : #fff              !important;
        font-size          : 38px;
        margin             : 0                 !important;
        line-height        : 60px              !important;
        padding            : 11px 0 0 22px     !important;
        font-style         : oblique           !important;
        white-space        : pre               !important;

    }


    /*** Changing sidebar ***/

    #sidebar {
         margin : 0 0 20px 20px !important;
    }

    #sidebar UL { 
        line-height : 28px;
        font-size   : 12px;
        width       : 350px !important;
    }

    #sidebar h2 a {
        font-family : Georgia           !important;
        text-shadow : #AAA 3px 1px 3px  !important;
    }

    #sidebar a:hover {color: #888888!important;}

    #sidebar h2 {
        border-bottom: 1px solid #AAA !important;
        width:         90%            !important;
    }



    /*** Site's Header prettification : ) ***/

    #header-bar,
    #Header { 
        background         : #426395           !important;
        border             : 2px solid #7e94a6 !important;
        border-top         : none              !important;
        border-radius : 0 0 10px 10px     !important;
    }

    #header-bar a,
    #header-bar input:not([id="search-terms"]),
    #header-bar span { 
        border         : none       !important;
        background     : none       !important;
        font-family    : serif none !important;
        font-style     : oblique;
        text-transform : uppercase;
    }

    #header-bar+h1 { 
        font-size      : 28px      !important;
        text-transform : uppercase !important;
    }

    #Header>h1 { 
        margin     : -1.5px !important;
        text-align : left   !important;
    }

    #Header>h1>a { 
        position : relative !important;
        left     : 23px;
        top      : 15px;
    }

    #navigation,
    #Header ul { padding-right : 12px !important; }

    /** Fix for "Blog" and "Forum" links -> **/ 
    #bloglink,
    #forumlink { margin-right : 4px !important;}
    
    #Header ul  { 
        text-align : right    !important;
        position   : relative;
        left       : -4px;
    }

    #Header ul li { 
        background  : none !important;
        border      : none !important;
        font-weight : bold !important;
    }

    #Header ul a,
    #Header ul a:visited  { 
        border             : 2px solid #82a5da !important;
        background-color   : #7392c1           !important;
        color              : #f0f0f0           !important;
        text-decoration    : none              !important;
        border-radius : 8px               !important;
        padding            : 1px 10px          !important;
        font-size          : 14px              !important;
        position           : relative;
        top                : -4px;
        font-family        : serif none        !important;
        font-style         : oblique;
        text-transform     : uppercase;
    }

    #Header ul a:hover { 
        border           : 2px solid #FFF !important;
        background-color : #82a5da        !important;
    }
    
    #Header ul li.TabOn a  { 
        background      : #7392c1           !important;
        border          : 2px solid #f9e917 !important;
        text-decoration : none              !important;
    }


    /*** Navigation prettification ***/

    #navigation a,
    #navigation a:visited,
    #navigation .current-page  { 
        border             : 2px solid #82a5da !important;
        background-color   : #7392c1           !important;
        color              : #f0f0f0           !important;
        text-decoration    : none              !important;
        border-radius : 8px               !important;
        padding            : 1px 10px          !important;
        font-size          : 85%;
        position           : relative;
        top                : -5px;
    }

    #navigation a:hover  { 
        border           : 2px solid #FFF !important;
        background-color : #82a5da        !important;
    }

    #navigation .current-page { 
        background      : #7392c1           !important;
        border          : 2px solid #f9e917 !important;
        text-decoration : none              !important;
    }


    /*** Logo prettification ***/

    #logo a,
    #logo a:visited,
    #Header>h1>a,
    #Header>h1>a:visited { 
        font-family    : serif none  !important;
        color          : #fff        !important;
        font-variant   : small-caps;
        text-transform : capitalize;
        font-size      : 38px
    }


    /*** Main Search prettification***/

    #search input[type="submit"] { 
        -moz-appearance    : none                 !important;
        border-radius : 0 8px 8px 0        !important;
        border             : solid #AAA           !important;
        background         : none                 !important;
        border-width       : 1px 1px 1px 0        !important;
        background-color   : #7392c1              !important;
        color              : #ddd                 !important;
        font-family        : Helvetica sans-serif;
        font-style         : oblique;
        font-size          : 13px                 !important;
        padding            : 0 8px 1px            !important;
        text-shadow        : #333 3px 1px 3px     !important;
    }

    #search input[type="submit"]:hover {
        color              : #FFF              !important;
        border-color       : #FFF              !important;
        text-shadow        : #000 3px 1px 3px  !important;
        background-color   : #82a5da           !important;
    }

    #search input[type="submit"]:active {color : yellow !important;}

    #search-terms {
        padding            : 1px 2px 1px 10px      !important;
        -moz-appearance    : none                !important;
        border-radius : 8px 0 0 8px       !important;
        width              : 200px               !important;
        height             : 17px                !important;
        background-color   : #fff                !important;
        border             : solid #AAA          !important;
        border-width       : 1px 0 1px 1px       !important;
        font-family        : arial serif none    !important;
        font-size          : 12px                !important;
        font-weight        : 900                 !important;
        font-style         : normal              !important;
        color              : #26457d             !important;
        text-transform     : none                !important;
        text-decoration    : none                !important;
        letter-spacing     : normal              !important;
        word-spacing       : normal              !important;
        margin             : 0 0 0 10px          !important;
        margin             : 0 -3px 0 10px       !important;
    }

    #search-terms:hover,
    #search-terms:focus { border-color : #82a5da !important; }


    /*** H1, H2 and H3 headers' prettification ***/

    h1,
    h2  { line-height : 200%; }

    #sidebar > h1,
    #sidebar > h2,
    .category-meta>h2,
    #header-bar+h1,
    .category-style-top>h2,
    #show-code+h2,
    #feedback { 
        text-align   : center;
        color        : #426395;
        font-style   : oblique;
        font-variant : small-caps;
        font-size    : 20px;
        font-family  : Georgia     !important;
    }

        h2, 
    h3, 
    #page h2,
    #feedback+ul+h3 { 
        color       : #426395;
        font-style  : oblique;
        font-family : Georgia !important;
    }

    h2,
    h3 { 
        text-align   : left       !important;
        font-variant : normal;
        font-variant : small-caps;
        font-size    : 26px;
    }

    h3  { font-size : 20px; }

    #page h2,
    #show-code+h2,
    #feedback,
    #feedback+ul+h3  { 
        font-size      : 22px      !important;
        text-transform : uppercase !important;
    }

    #page h2  { font-size : 24px !important; }

    .errorExplanation h2  { color : #FFC !important; }

    /* I forgot what following lines does... so... blah-blah-blah : ) */
    .errorExplanation { 
        background-color   : #900   !important;
        color              : #fff   !important;
        border-radius : .5em   !important;
        padding            : .5em   !important;
        margin             : .5em 0 !important;
    }

    /* Fix for navigation links on forums top*/
    #Content h1 { 
        margin-left    : 20px       !important;
        height         : 14px       !important;
        overflow       : visible    !important;
        line-height    : 100%       !important;
        font-family    : Georgia    !important; 
        font-size      : 11px       !important;
        text-transform : capitalize !important;
    }

    /* Fix for Panel's header*/
    #Panel h1 { 
        margin-top     : -5px                 !important;
        text-align     : left                 !important;
        text-transform : capitalize           !important;
        font-variant   : small-caps           !important;
        font-family    : Trebuchet serif none !important;
        width          : auto                 !important;
    }


    /*** Lists of Site & Global Top Styles ***/

    .category-meta { 
        text-align : center !important;
        margin-top : 20px   !important;
    }

    .category-style-top { 
        display        : inline-block !important;
        float          : none         !important;
        text-align     : left         !important;
        vertical-align : top          !important;
        width          : 350px        !important;
    }

    .category-style-top ul  { margin-top : -14px!important; }

    .category-style-top ul a { 
        font-size   : 14px !important;
        line-height : 2em  !important;
    }

    .form-controls th,
    .form-controls th label { 
        color       : #426395;
        font-style  : oblique;
        font-family : Georgia !important;
    }


    /*** Site Styles ONLY! ***/

    .category-meta #style-list { 
        -moz-column-count : 0       !important;
        text-align        : center  !important;
    }

    .category-meta #style-list li { 
        display            : inline-block      !important;
        width              : 200px             !important;
        text-align         : center            !important;
        margin             : 4px 0             !important;
        border-radius : 8px;
        border             : 1px solid #FFFFFF !important;
    }

    .category-meta #style-list li a { font-weight : bold !important; }

    .category-meta #style-list li:hover { border : 1px solid #82A5DA !important; }



    /*** Descriptions of Site & Global Top Styles + Search field ***/

    #header-bar+h1+p { 
        font-size  : 13px       !important;
        text-align : center     !important;
        color      : #426395    !important;
        margin     : 0 0 20px 0 !important;
    }

    #header-bar+h1+p+#category-search { text-align : center !important; }

    #header-bar+h1+p+#category-search #category-search-terms { min-width : 74% !important; }


    /*** Link prettification ***/

    A {
        text-decoration : none    !important;
        font-style      : oblique;
        outline         : none    !important;
        color           : #26457d !important;
    }

    A:visited { color : #224375 !important; }

    A:visited:hover { color : #7f7d73 !important; }

    A.obsolete:before,
    A.obsolete + A.edit-link:before { 
        content    : "Obsolete style";
        visibility : visible          !important;
        color      : gray;
    }

    A.obsolete,
    A.obsolete + A.edit-link { 
        visibility  : collapse !important;
        white-space : pre      !important;
    }

    #account-link A { 
        color          : #fff !important;
        text-transform : none !important;
    }

    li a { line-height : 1.3 !important; }

    li a:hover { color : #888888 !important; }



    /*** Changes at style description's page ***/

    #style-meta { text-align : center; }

    img[src$="star_0.png"] { 
        width        : 0    !important;
        height       : 20px !important;
        padding-left : 17px !important;
        background   : url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAUCAYAAABroNZJAAAABGdBTUEAAK%2FINwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKKSURBVHjatJTbT9NgGMafdh0MxgrbgKFRyRK5UYOSKB447IuiMcIdNyIaD4n%2FkfFObwzZjUhiwEQxWGEqYDAkgHNsJAp0Qw5jdOsOdAffTkUUiIrxa9rmS9%2Fv1%2Bd73qflcrkc%2FnXwvyuYnBhn8bjKdg2JRFaZ230fMwHf7pWMjngQXgmiv793dxBVjTHP0HO4XC7MfvTC55tifw0ZGfbAaOTgqLJCtHDo6%2B3eUYmweZJOp1k0uobV1TBeDPShqfkMPoem86BA4D1eSv3s0OFaWCwiTKYi6fs6bvjNICOpUBR98TKBNAgGDgdralBZacaM%2Fx0EwYhwOIpQSEFRsZXmhRBLrSil0%2BHYA0FVVTzpe4hjR4%2Bgen8VTEUFVMTRVjTyYgo8b4AeJbtdhCgWQ1vPIZVcR2Q5gLcjc2hmbeD0sHmGBpi76y6c1XZYbWbk6Mhms3kAx%2F2wjePoQsB4LAnftIzjpy6g8%2Brtr540Np2VeJ5nXQ%2FuUCUIZIHBYNjWxCSp%2BDA9j9ONbei4cotexEvc5ti%2FfiWxnu57cDrLyDgTtvsk%2FKSgtq4Flztu5gFbWnyivgH28n3QtG%2FSNw19ntbSSCRzcLHzG4AtkEgkjFhMQVlpOTJaRt8ZeFqt37MZciqje5KBPD%2B3c04UJYJEQiGyHQk1hbVoHGtKHMXUMZtVRIEg0LMsZHmWqhu2T%2BxCKEgKEgjKC%2FDS3iFU4GLrdew9UAf%2FzCLm5SUYyXBZ%2FrSzEq93AotLK7CVV%2BPajU7Un2zUuySda7mkP2PPnj7G2Ogg0rwfqVSSFRaa8r5sdEePfM8jN0pKLGh2tcBsLpF%2B7Qxlh42NDWNqchytbe2oqHD8DPmvf7Y%2FGV8EGAAoiw5jzzI77QAAAABJRU5ErkJggg%3D%3D") 0 0 no-repeat !important;
    }

    img[src$="star_05.png"] { 
        width        : 0    !important;
        height       : 20px !important;
        padding-left : 17px !important;
        background   : url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAUCAYAAABroNZJAAAABGdBTUEAAK%2FINwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIhSURBVHjatJTPTxNREMe%2Fb3e79oclbVLhIMREQSq6WgJpTTAGDsrFxMiBeOTg2YT4Z3jmwoUDJw96tYmKGhJSpdTYShGNArW0QVsD3bbb0u4b36okJlRba5xk3%2B7mzXzyfTPzhhER%2FtWkZg4f3y%2B9rVT0ubYhxWKOHoXvYjv1un0lyXgYqCUQfTHfHqRiFGgtfg%2BXR0exv%2FsMqc3o1F9DVhNhuF1V9PoVDPSmEVmcbU2JadZIL%2BxQJp2gNytzCF4KQa4tou%2BsDG48xqvog%2F5GEGU1%2FpCEVBjlPEp6BkQV2NU6tAun0XUsi3opDafTgVBQRyw2jcHhicMQUT7EIjO4OHwKWsAHt1eCy83gcq6hbiQBpoJzhp5uGV2dRsPjKEPBSWazHaHlhWmc7HwHn5uDZEK9zAXAJlzk745c%2FNrUxilUrOX84HXGmExPF25jzF7A8RMimLXescrBhxa4ZoVRdPkOvL4cXEdVEP%2FlSohdMluozplzV0FqAHu7TkiM%2F1Dz87Fe1RJvDinqX1A18qI63TBFADMJksUSCsyyyEuJ%2Ffk4lpWKOUHNwiXWQsZEds9E5rMEbwdHj0%2BBo1lOLMvntmCXckh9kBFbF1ueMfi1G8h8WkEych99nq8YGWkC2dp4ie0dHQbGEbhyCwPaOCRJ8SN0E5sbk1PRpcYTgR0MJavlnz%2BZEd3pQWBoAnZHx6EEEPF%2BxqT130L%2B62Rrxb4JMADbQNVrB0%2Bz0QAAAABJRU5ErkJggg%3D%3D") 0 0 no-repeat !important;
    }



    /*** 3-column display of styles ***/
    #style-list{ 
        line-height       : 28px;
        -moz-column-count : 3     !important;
        font-size         : small;
    }

    #style-list li { list-style-type : decimal !important; }


    #install li,
    #sidebar ul>li,
    .category-style-top ul>li,
    #feedback + UL,
    #header-bar + H1 + UL { list-style-type : none !important; }




    /*** Putting pretty images before list items ***/

    #sidebar ul>li, 
    #sidebar+p+p+ul>li,
    .category-style-top ul>li,
    #feedback + UL,
    #discussions>li,
    #comment-list { 
        list-style-image : url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCAAJAAkDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAcI/8QAHhAAAgICAwEBAAAAAAAAAAAABQYEBwADAQgVAhL/xAAUAQEAAAAAAAAAAAAAAAAAAAAI/8QAGhEAAwEBAQEAAAAAAAAAAAAAAQIDEwQSAP/aAAwDAQACEQMRAD8AjFQo/XQz02vhruXeoqFhgGcBqoRsVneQbu90c5Ef79etWGidpzxeKK4C/o+Uu+doQSqa16ooddL3ZMISKoEYOxjG9zczwp10botYdXRus6MTPmXKcsoBmdlRs9XX3nq7tOcgxUji/Qtk5UWEpHnhi1JqBToOtKa3KhVZ1FM1bz7ySau7lQfv/9k=")
    }

    .all-link:before,
    .post-your-style:before { 
        content : url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCAAJAAkDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAcI/8QAHhAAAgICAwEBAAAAAAAAAAAABQYEBwADAQgVAhL/xAAUAQEAAAAAAAAAAAAAAAAAAAAI/8QAGhEAAwEBAQEAAAAAAAAAAAAAAQIDEwQSAP/aAAwDAQACEQMRAD8AjFQo/XQz02vhruXeoqFhgGcBqoRsVneQbu90c5Ef79etWGidpzxeKK4C/o+Uu+doQSqa16ooddL3ZMISKoEYOxjG9zczwp10botYdXRus6MTPmXKcsoBmdlRs9XX3nq7tOcgxUji/Qtk5UWEpHnhi1JqBToOtKa3KhVZ1FM1bz7ySau7lQfv/9k=")" "
    }




    /*** Fixing positions of links at the bottom of each style description page ***/

    .post-your-style { text-align : left!important; }
    
    .all-link { 
        position : relative;
        top      : 12px;
    }
    
    #install { 
        padding-top      : 0    !important;
        background-color : #D4D3CE!important;
        border-color     : #5573A0!important;
         -moz-box-shadow    : 0 0 1em #5573A0!important;
        margin-right:10px!important;
    }

    #install h2 {
        text-align : center !important;
        color      : #888   !important;
    }

    #install ul {
        padding: 0px !important;
        margin: -5px 0 0 0!important;
    }


    /*** Limiting images's size to body width ***/

    .screenshot-table{ 
        display    : block  !important;
        text-align : center !important;
    }

    .screenshot-table * { display : inline-block !important; }

    .screenshot-table tbody,
    .screenshot-table tr,
    .screenshot-before,
    .screenshot-after, 
    .screenshot,
    [id*="CommentBody"] img { max-width : 100%!important; }

    .screenshot-box,
    .screenshot-box > img { 
        text-align : center;
        max-width  : 100%   !important;
    }
    
    #after-screenshot-entry { max-width : 0 !important; }




    /*** Obsoletion message***/

    #obsoletion-message {
        width: 30%!important;
        padding: 0 10px!important;
        text-align  : center !important;
        font-weight : bold   !important;
        margin: 10px 10px 10px -30%   !important;
        -moz-box-shadow    : 0 0 1em #888!important;

    }

    #obsoletion-message+#style-meta { text-align : center !important; }



/*** Fixes for the description & review part of the style's page***/

    #long-description p { overflow-x : auto !important; }

    textarea { background-color : #fff !important; } /* changes background of all textareas on userstyles.org */
    
    #comment_comment { margin-bottom : 7px !important;}

    .review-container p    { overflow    : auto    !important; }
    .review-container h3   { color       : #333333 !important; }
    .review-container h3 * { font-family : Georgia !important; }

    label.rating { border : 1px solid #7F7D73 !important; }

    h3#i-say + blockquote { text-align : center !important; }


    /*** Adjusting position and look of various buttons ***/

    #delete-comment-button { 
        float    : none     !important;
        position : relative;
        top      : -30px;
        left     : 68px;
    }

    #submit-comment-button { 
        float    : none     !important; 
        position : relative;
        top      : 9px;
        left     : -24px;
    }

    /* If there is no "Delete" button - center "Submit" button horizontaly */
    #submit-comment:only-child > #submit-comment-button { left : 24px!important; }

    *[type="submit"]:not(#search-submit),
    a.CancelButton,
    [type="button"],
    button,
    label.rating { padding : 4px 20px !important; }

    #install button {
        width  : 165px         !important;
        margin : 0 5px 5px!important;
    }

    a.CancelButton { 
        -moz-appearance : button !important;
        font-size       : 13px   !important;
        font-style      : normal !important;
        color           : #000   !important;
    }

    /* a.CancelButton - is a link to Cancel comment at forum */
    a.CancelButton:hover { color : #000 !important; }




    /*** Changing LOG-IN page ***/

    #regular-login input[value="Log in"] { 
        position : relative !important;
        top      : 20px;
    }

    #regular-login #username,
    #regular-login #password { width : 150px !important; }

    #regular-login fieldset > p:last-child { 
        position   : relative !important;
        top        : 25px;
        font-size  : 14px     !important;
        text-align : center   !important;
    }

    #regular-login fieldset label { 
        font-size   : 14px   !important;
        font-weight : normal !important;
    }

    #regular-login tr+tr+tr td { text-align : center !important; }



    /*** Forum prettification ***/

    #Body { overflow : hidden !important; }

    #Session a { color : #fff !important; }

    #Session { 
        max-height : 0      !important;
        position   : static !important;
        left       : 0      !important;
        top        : 0      !important;
        padding    : 0 2%   !important;
        color      : #fff   !important;
        font-size  : 12px   !important;
    }

    #AccountProfile { 
        float   : none  !important;
        width   : auto  !important;
        display : table !important;
    }

    #AccountProfile li:not(.Picture):not(:first-child) { display : table-row !important; }

    #AccountProfile h3,
    #AccountProfile h3+p { 
        display : table-cell     !important;
        float   : none           !important;
        width   : auto           !important;
        padding : 1px 10px 1px 0 !important;
    }

    [id*="CommentBody"] { overflow-x : auto !important; }

    #Comments code { 
        white-space : normal !important;
        overflow-x  : auto   !important;
    }

    #AboutVanilla { display : none !important; }

    #Panel { 
        border             : solid 2px transparent !important;
        background         : transparent           !important;
        margin             : 0 0 0 10px            !important;
        padding            : 0 10px                !important;
        height             : 19px                  !important;
        overflow           : hidden                !important;
        border-radius : 8px                   !important;
        position           : absolute              !important;
        width              : auto                  !important;
    }

    #Panel:hover{ 
        border     : solid 2px #ACBEDF !important;
        height     : auto              !important;
        overflow   : visible           !important;
        background : #95ADD0           !important;
        opacity    : 0.93              !important;
    }

    #Content { margin : 10px 18px 0 18px !important; }

    #Panel h1 a{ 
        font-style  : normal  !important;
        font-family : Georgia !important;
        font-size   : 13px    !important;
    }

    #Panel ul a { 
        font-style  : normal               !important;
        font-size   : 12px                 !important;
        font-family : Trebuchet serif none !important;
    }

    #Panel ul h2 { 
        font-style  : normal               !important;
        font-size   : 14px                 !important;
        font-family : Trebuchet Serif none !important;
        margin      : -3px 0 3px           !important;
        color       : #324B71              !important;
    }

    #Panel:hover h1, 
    #Panel:hover a { color : #fff!important; }

    #Panel ul a:hover { 
        background      : none      !important; 
        text-decoration : underline !important;
    }

    #Discussions { 
        margin-top : 0         !important;
        padding    : 2px 0 0 0 !important; 
        text-align : center    !important;
    }

    #Discussions li[id*="Discussion_"] { 
        text-align     : left         !important;
        display        : inline-block !important;
        width          : 48%          !important; /*208px*/
        overflow       : visible      !important;
        vertical-align : middle       !important;
        margin         : 2px 1px      !important;
    }

    #Discussions li[id*="Discussion_"] ul { 
        height        : 55px   !important; /*110px*/
        border-bottom : none   !important;
        overflow      : hidden !important;
    }

    /*Sticky threads will have gray background*/
    #Discussions [class*="Sticky"] ul { background-color : #eee !important; }

    .NoNewComments { border : solid 1px #919EBE !important;}
    .NewComments   { border : solid 1px #576794 !important;}

    #Content > div {
        /*This is the easiest way to make bottom navigation BELOW the content(threads' names)*/
        display : table !important;
        width   : 100%  !important;
    }

    /*Top + Bottom Navigation*/
    .PageInfo { 
        border       : solid 1px #919EBE !important;
        border-left  : none              !important;
        border-right : none              !important;
        margin       : 0                 !important;
    }

    /*Bottom Navigation*/
    #DiscussionsPage .Bottom { margin : 2px 0 8px !important; }

    /* "Show all" link */
    #PageJump { 
        line-height : 23px !important;
        margin-top  : 0    !important;
    }

/* Will make it tomorrow...
    .ContentInfo * { 
        font-weight : normal !important;
        font-style  : normal !important;
        font-size   : 12px   !important;
    }
*/

    .pagination{text-align:center!important;}

    .pagination > *:not(.gap) {
        font-style: oblique!important;
        display:inline-block!important;
        min-width:25px!important;
        padding:1px 7px!important;
        color: #26457D !important;
        border-width: 1px ! important;
        opacity:0.8!important;
/*        border: solid #7E94A6 !important;
        background: #426395 !important; 
*/
    }

    .pagination > *:not(.gap):hover,
    .pagination > .current {
        opacity:1!important;
        text-decoration:underline!important;
    }
    .pagination > *[class^="disabled"] {display:none!important;}

    .pagination > *{ font-weight: bold!important; }
    .pagination > a:hover { color: #224375!important; }
}



/* USER'S PAGE */
@-moz-document url-prefix(http://userstyles.org/user) , url-prefix("https://userstyles.org/user") { 

    #other-links + H1 + UL:not([id]) { 
        text-align    : center !important;
        padding-right : 3em    !important;
        margin-top    : 0      !important;
    }
    
    #other-links + h1 + ul:not([id]) li { 
        display            : inline-block      !important;
        border             : solid 1px #82a5da !important;
        background         : #eee              !important;
        border-radius : 3px;
        margin             : 5px 0             !important;
        padding            : 3px 15px          !important;
        font-size          : 14px              !important;
        text-align         : left              !important;
        vertical-align     : middle            !important;
        text-shadow        : #AAA 1px 1px 3px  !important;
        -moz-box-shadow    : 0 0 0.5em #82A5DA !important;  /*Not sure about this thing*/
    }

    #other-links + h1 + ul:not([id]) li:first-child { border-radius : 16px 3px 3px 16px; }
    #other-links + h1 + ul:not([id]) li:last-child  { border-radius : 3px 16px 16px 3px; }
    #other-links + h1 + ul:not([id]) li:only-child  { border-radius : 16px; }

    #other-links + h1 + ul:not([id]) li:hover { 
        border-color : #5573A0!important;
        background   : #efefef !important;
         -moz-box-shadow    : 0 0 0.7em #3D6EFF!important;
    }

    #other-links + h1 + ul:not([id]) li:before { 
        content : url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCAAJAAkDASIAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAAcI/8QAHhAAAgICAwEBAAAAAAAAAAAABQYEBwADAQgVAhL/xAAUAQEAAAAAAAAAAAAAAAAAAAAI/8QAGhEAAwEBAQEAAAAAAAAAAAAAAQIDEwQSAP/aAAwDAQACEQMRAD8AjFQo/XQz02vhruXeoqFhgGcBqoRsVneQbu90c5Ef79etWGidpzxeKK4C/o+Uu+doQSqa16ooddL3ZMISKoEYOxjG9zczwp10botYdXRus6MTPmXKcsoBmdlRs9XX3nq7tOcgxUji/Qtk5UWEpHnhi1JqBToOtKa3KhVZ1FM1bz7ySau7lQfv/9k=")" ";
    }

    #other-links + h1 + ul:not([id]) li:hover a:hover {color:#26457D !important;}

}

/* Reasons: 1)MAIN page layout problem; 2)style's page image preview problem */
@-moz-document url-prefix(http://userstyles.org/styles), url-prefix("https://userstyles.org/styles") {
    body{display:block!important;}
}

/* BLOG PAGE */
@-moz-document url-prefix(http://blog.userstyles.org/){ 

    #page { width : auto !important; }

    .navigation { padding : 10px 0 30px !important; }

    #pagestripe { display : none !important; }
    
    #content { 
        width      : 58.2%  !important;
        padding    : 0 20px !important;
        margin-top : 0      !important;
        border     : none   !important;
        float      : left   !important;
    }

    .entry p { 
        overflow   : auto    !important;
        text-align : justify !important;
    }

    .post{ text-align : justify !important; }

    /*
    .post {
        max-height : 500px !important;
        overflow   : auto  !important;
    }
    */

    #content.single { 
        padding   : 0 2% !important;
        width     : 100% !important;
        max-width : none !important;
    }

    #description { 
        border             : none       !important;
        background         : none       !important;
        color              : #fff       !important;
        font-weight        : bold       !important;
        border-radius : 4px        !important;
        -moz-column-count  : 0;
        padding            : 0 0 0 5px  !important;
        height             : auto       !important;
        margin             : 10px 0 0 0 !important;
        display            : block      !important;
        float              : right;
        overflow           : visible    !important;
        white-space        : pre        !important;
        max-width          : 270px      !important;
        position           : relative;
        left               : -130px;
        top                : -72px;
    }

    #sidebar { 
        border-radius : 4px           !important;
        -moz-column-count  : 0;
        padding            : 0 0 0 5px     !important;
        height             : auto          !important;
        margin             : 20px 10px 0 0 !important;
        display            : block         !important;
        float              : right;
        width              : 270px         !important;
        max-width          : 46%           !important;
        position           : relative      !important;
        top                : -38px;
        -moz-box-shadow    : 0 0 1em #333!important;
    }

    #sidebar h2 { 
        font-size      : 16px !important;
        text-transform : none !important;
        text-shadow: #000 1px 1px 1px !important;
    }

    #sidebar UL { width : auto !important; }
    
    #sidebar ul ul li,
    #sidebar ul ol li { font-size : 10px !important; }
    
    #sidebar #searchform { padding : 0 !important; }

    #header>*{ background : none !important; }

    #header{ 
        height                         : 66px              !important;
        background                     : #426395           !important;
        border                         : 2px solid #7e94a6 !important;
        border-top                     : none              !important;
        border-radius-bottomleft  : 10px              !important;
        border-radius-bottomright : 10px              !important;
    }
    
    #header>ul { 
        margin  : 0     !important;
        padding : 0     !important;
        float   : right !important;
    }

    #header>h1 { 
        float  : left !important;
        height : auto !important;
        width  : auto !important;
    }

    #header>ul a{ 
        margin             : 0 2px             !important;
        border             : 2px solid #82a5da !important;
        background-color   : #7392c1           !important;
        color              : #f0f0f0           !important;
        text-decoration    : none              !important;
        border-radius : 8px               !important;
        padding            : 1px 10px          !important;
        font-size          : 14px              !important;
        position           : relative;
        top                : 40px;
        left               : -15px;
        font-family        : serif none        !important;
        font-style         : oblique;
        text-transform     : uppercase;
    } 

    #header>h1 a,
    #header>h1 a:visited,
    #header>h1 a:hover { 
        padding        : 0          !important;
        height         : auto       !important;
        margin         : 0          !important;
        width          : auto       !important;
        letter-spacing : normal     !important;
        font-family    : serif none !important;
        color          : #fff       !important;
        font-variant   : small-caps;
        text-transform : capitalize !important;
        font-size      : 38px;
        font-weight    : bold       !important;
        background     : none       !important;
        position       : relative;
        top            : 18px;
        left           : 20px;
    }
    
    #header>ul a:hover { 
        border           : 2px solid #FFF !important;
        background-color : #82a5da        !important;
    }
    
    #header>ul>li[class*="current_page_item"] a { 
        background : #7392c1           !important;
        border     : 2px solid #f9e917 !important;
    }

}