/* overrides fixedleft theme with dra custimizations
    @ copyright 2007-2013 by Roger Haase.
    @license: GNU GPL

    alternate background colors: FFEBCD F4EFE4

    */

/* CHANGE THE SIDEBAR AND PAGE BACKGROUND COLORS HERE */

div#sidebar, ul.sideways ul, #header, #message  {
    background-color: #DEB887; /* dra std */
}
div#sidebar li.hideSidePanel.popup-detail > ul {
	border: 1px solid #974; box-shadow: 3px 3px 2px #974;
	background-color: #F4E9D4;
}

div#sidebar {
    border-right: 3px double #514C43; /* dra std */
}

ul#wikiNavMenu  li.sidepanel, ul.sideways li ul li ul {
    background-color: #F4E9D4;
    box-shadow: 3px 3px 2px #974;
}
ul#wikiNavMenu  li.sidepanel { border: 1px solid #974; }
ul.sideways li ul li ul { background-color: #F4E9D4; }
ul.sideways ul { border: 1px solid #974; box-shadow: 3px 3px 2px #974; }
ul.sideways > li > ul > li:hover >  ul { border: 1px solid #974; }
ul.sideways > li:hover >  ul { box-shadow: 3px 3px 2px #974; border: 1px solid #974; }

html, body, div#page, div.table-of-contents {
    background-color: #F4E9D4; /* dra std */
}


/* h1 background coloring */
html {
    background-image: url(../img/gradientDraFixLeft3.png);
    background-repeat: repeat-x;}
body, div#wikipagecontent, div#page, div#content, h1 {
	background-color: transparent;}
h1 { text-align: center; }
h1, h2, h3, h4, h5, h6 {
	border-bottom: 0;
}

/* special styling for drapopup theme */
body > div#content {
    padding: 1em 3em;
}

/*  Extra formatting for dra macros. */
.draCenterImage td  {
    padding: 0 0 0 0;
    background: #FFFFFF;
    border: 2px solid #FFDEAD;
}

img.attachment {
    border: 2px solid #FFDEAD;
}

/* kludge fix for extra space at bottom of image */
.draCenterImage img {
    margin-bottom: -5px;
}
table.draImages {
    border: 1px solid #FFDEAD;
    clear: both;
    }
.draImages td {
    border: 1px solid #FFDEAD;
    }

table.draGraphTable {
    border: 1px solid #FFDEAD;
    font-size: xx-small;
    }
.draGraphTable td {
    border: 1px solid #FFDEAD;
    text-align: left;
    }
.draGraphTable td.numeric{
    text-align: right;
    }
.draGraphTable th {
    border: 1px solid #FFDEAD;
    text-align: left;
    vertical-align: bottom;
    }
.draGraphTable th.numeric {
    text-align: right;
    vertical-align: bottom;
    }
.draGraphTableHeading {
    border: 0;
    font-size: small;
    text-align: center;
    }
.numeric {
    text-align: right;
    vertical-align: middle;
    }

/* Eliminate powered by python, moin, etc. credits and rss link.*/
#credits {
    display: none;
}
.rcrss {
    display: none;
}


/* Support for DraEject macro. */
.eject {
    display: none;
}
div#preview > div.eject  {
    display: block;
}
div#preview > div.eject > hr  {

    height: 0;
    border-style: dotted;
    border-width: 2px 0 0 0;
    border-color: black;
}

/* Subdue the borders around table cells. */
td
{
    border: 1pt solid #e0e0e0; text-align: left;
}

/* Position printer icon */
#sitenamelogo {position: relative}
#printIcon {position: fixed; top: 0; right: 0;}

/* Links */
a {color: blue;}
div.sidepanel li > a.nonexistent {color: blue;}
a.badinterwiki {color: gray;}
a:link:hover, a:link:active { text-decoration: none; color: red; }
a:visited { text-decoration: none; color: purple; }
a:visited:hover { text-decoration: none; color: red; }

input.buttonHover {
    background-color: #DDEEFF;
    color: #FF0000;
    }

/* subdue the local wiki footer information.  */
.page-footerOne, .page-footerTwo {
    font-size: .7em;
    color: gray;
    clear: both;
    float: right;
    margin-right: 36px;
}

/* special effect for DraPix macro */
img.canClick:hover { cursor: pointer; }

div#page {border: 0;}

/* override fixedleft background color  */
div.table-of-contents {
    background-color: inherit;
    box-shadow: 3px 3px 2px #B96; border-radius: 5px;
	border: 1px solid #974;
}

/*  float TOC to right if immediately after H2 or H3 - H1 floated in fixedleft */
h2 +*+ span + p + div.table-of-contents, h2 + span + p + div.table-of-contents,
h3 +*+ span + p + div.table-of-contents, h3 + span + p + div.table-of-contents {
    float: right;
    clear: both;
}
/* change colors of sidebar icons */
#showSidebarIcon, #hideSidebarIcon, #optionsToolIcon, #sidewaysMenuIcon {
    color: #A67B2B;
}
