/** Common pollwiki styles for all users of the Vector skin.  This style sheet is pulled
  * into the wiki via page MediaWiki:Vector.css.
  */

body
{
    height: auto; /* revert to default instead of 100%, which causes vertical scroll bar
      to appear when body's temporary border (layoutStabilizer) is displayed */
    position: relative; /* establish containing block in order to keep positioned
      descendants within the layoutStabilizer's temporary border */
}


#bodyContent
{
    font-size: medium; /* restore default instead of vector's 0.8em, which annoyingly
      overrides the user's preference set in the browser */
}


div#mw-panel, div#mw-panel #p-logo, div#mw-panel #p-logo a
{
    width: 145px; /* 135px (logo) + room for BridgeBox.top in draft pages, instead of
      default 10em, which can clip the logo image */
}
div#left-navigation
{
    left: 145px;
}
div#content, div#mw-head-base, div#footer
{
    margin-left: 145px;
}
div#mw-panel #p-logo
{
    left: -2px;
}
span.BridgeBox.top a img
{
    background: none !important; /* because all above ensures it won't override p-logo image */
       outline: none !important;
}
span.BridgeBox.top span
{
    color: #000 !important;
    position: static !important; /* likewise no need for vector-specific repositioning (shadow.css) */
}
span.BridgeBox.top img.segCounterArrow
{
    top: -0.4em !important; /* likewise, revert this one too */
}



/** - a --------------------------------
  */
a, a:visited
{
    color: #00b; /* more intense, instead of #0645AD */
}


a.new:visited, #p-personal a.new:visited
{
    color: #ba0000; /* same as unvisited, instead of #a55858 */
}


body.page-Special_RecentChanges div div div a:visited,
body.page-Special_Watchlist div div div a:visited
/* Re-enable link colouring in these pages to show which changes were seen */
{
    color: #009000;
}



/** - footer ---------------------------
  */
div#footer ul#footer-icons
{
    display: none; /* MediaWiki advert, too noisy */
}


div#footer ul#footer-info
{
    text-align: right;
}


body.ltr div#footer ul#footer-places
{
    float: right;
}


body.ltr div#footer ul#footer-places li
{
    margin-left: 1em;
    margin-right: 0;
}



/** - personal URLs (p-personal) -------
  */
div#p-personal a
{
    color: #777; /* subdue, we know they are links */
}


div#p-personal a:hover
{
    color: #000;
}



/** - reference ------------------------
  */
sup.reference:target a /* highlight clicked reference */
{
    background-color:   #ddeeff;
    outline: thin solid #ddeeff;
}
ol.references li:target, /* highlight targetted note */
ol.references li.target /* this per MediaWiki:Gadget-ReferenceTooltips.js */
{
    background-color:   #ddeeff;
}



/** - sidebar (mw-panel) ---------------
  */
div#mw-panel
{
    padding-left: 0;
}


div#mw-panel div.portal
{
    text-align: right;
}


div#mw-panel div.portal h3
{
    color: #bbb;
    padding-left: 0;
    padding-right: 0.5em;
}


div#mw-panel div.portal div.body
{
    margin-left: 0;
}


div#mw-panel div.portal div.body ul li
{
    padding-right: 0.5em;
}


div#mw-panel div.portal div.body ul li a,
div#mw-panel div.portal div.body ul li a:visited
{
    color: #777; /* subdue, we know they are links */
}


    div#mw-panel div.portal div.body ul li.subdued a,
    div#mw-panel div.portal div.body ul li.subdued a:visited
    {
        color: #aaa !important; /* important to override ordinary .subdued rule, also important */
    }


div#mw-panel div.portal div.body ul li a:hover
{
    color: #000;
}


/** - sortablePlain --------------------
  */
table.sortable.sortablePlain tr th.headerSort
{
    padding-right: 0; /* override class "sortable", per table.plainP th */
}


table.sortable.sortablePlain tr th.headerSort,
table.sortable.sortablePlain tr th.headerSortUp,
table.sortable.sortablePlain tr th.headerSortDown
{
    background-image: none; /* override class "sortable" */
}


table.sortable.sortablePlain tr th.headerSort:hover
{
    background-color:    #f0f0f0;
    border-bottom-color: #f0f0f0;
    outline: 0.2em outset #fff;
}


table.sortable.sortablePlain tr th.headerSort:active
{
    outline-style: inset; /* active selector fails with Firefox and Chrome */
}


