/*
 * wiki.css
 */

body {
	background: url('./sidebanner.jpg') fixed repeat-y left;
	font-family: 'Georgia';
	margin-left: 160px;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 5px;
	letter-spacing: 1px;
}

body.normal {
/*    margin: .5em 1% .1em 1%;*/
    background-color: #EEDDD0;
    color: #160A02;
    /* font-family: monospace; */
}

body.frozen {
    color: #160A02;
    background-color: #EEDDD0;
}

.preview {
    color: black;
    background-color: #EEDDD0;
}

p {
    margin: 1em 0 1em 1em;
    line-height: 140%;
   	text-align: justify;
	text-justify: distribute;
	margin-right: 5px;
}

p.jp {
	font-family: 'MS UI Gothic';
}

dl {
	margin: 1em 0 1em 1em;
}

dt {
	font-weight: 700;
}

pre, ul, li {
    line-height: 140%;
}

a:link {
	color: #0B7379;
    text-decoration: none;
}

a:visited {
	color: #0B7379;
    text-decoration: none;
}

a:hover {
    color: #D51775;
    text-decoration: underline;
}

a:active {
    color: #D51775;
    text-decoration: underline;
}

a img {
    border: none;
}

a.editlink {
	color: #dd1030  !important;
}

.tools {
    text-align: right;
/*    padding: 0 .5em 0 .5em;*/
	height: 35px;
	padding-top: 10px;
    margin: 0 0 0 0;
    background: #F8F5B0;
	margin-left: -20px;
}

.header {
	font-size: 22pt;
	font-family: 'Century Gothic'; /*'Georgia';*/
    text-align: left;
    background: #FFFFFF;
    border-top: #0C4563 2px solid;
    border-bottom: #0C4563 2px solid;
    color: #F42E07;
    padding-left: .5em;
    vertical-align: center;
    margin-top: 0;
/*    margin: .2em 0 0 0;*/
	margin-left: -20px;
    height: 64px;
    line-height: 60px;
    /* font-family: "Courier New", monospace; */
}

.header a:link {
	color: #F42E07;
}

.header a:visited {
	color: #F42E07;
}

.footer {
	font-size: small;
    font-style: italic;
    text-align: right;
}

.InterWiki {
    color: black;
    background: #eee;
}

h2 {
	font-size: 22pt;
    text-align: left;
    border-left: #D86B40 10px solid;
    border-bottom: #D86B40 2px solid;
    color: #094A4C;
    padding: .1em .5em .1em .5em;
    /* margin: .2em 0 0 0; */
}

h2.ref {
	font-size: 20pt;
    border: #D86B40 2px solid;
    border-left: #D86B40 2px solid;
    background: #ffd6b0;
    margin-right: 10px;
}

h3 {
	font-size: 18pt;
    text-align: left;
/*    border-left: #D86B40 7px solid;*/
    border-bottom: #D86B40 1px solid;
    color: #094A4C;
    padding: .1em .5em .1em .5em;
    /* margin: .2em 0 0 0; */
}

h4 {
	color: #094A4C;
    border-left: #D86B40 5px solid;
    line-height: 1.5em;
    padding: .1em .5em .1em .5em;
}

li.ref {
	border-bottom: 1px dotted #dc9640;
}

.tableofcontents {
	margin: .5em .3em .5em 40%;
	padding: 0;
	background: #DEF1CC;
	border: #91A793 1px solid;
}

.tableofcontents h2 {
	font-size: 17pt;
	border: 0;
}

.date {
    font-family: monospace;
}

pre {
	font-family: 'MingLiu';
	font-size: 1em;
	letter-spacing: 0px;
}

textarea {
	font-family: 'MingLiu';
	letter-spacing: 0px;
}

span.explain {
	font-size: 0.7em;
	vertical-align: top;
	color: red;
}

div.explainslist {
	margin-right: 50px;
	border: 2px dotted #ffaa77;
	font-size: 0.9em;
}

/* verbatim */
pre.verbatim-hard {
    background-color: #FFF8E4;
    border: #ccf 1px solid;
    padding: 1em 1em 1em 1em;
    margin-left: 3em;
    margin-right: 3em;
}

pre.verbatim-soft {
    background-color: #FFF8E4;
    border: #ccf 1px solid;
    padding: 1em 1em 1em 1em;
    margin-left: 3em;
    margin-right: 3em;
}

/* diff */
.added {
    color: blue;
}

.deleted {
    color: red;
    text-decoration: line-through;
}

.same {
    color: #666;
}

.diff {
    color: black;
    background: #eee;
}

/* table */
table {
/*    background: #ccf;*/
	border: 0px;
}

td {
    margin: 0px;
    border: #ccf 1px solid;
    padding: 3px;
    background: #FFF8E4;
}

.error {
}

span.small {
	font-size: 10pt;
}

.image {
	position: absolute;
	top: 70px;
	right: 20px;
	border: 2px solid #0C4563;
	padding: 6px;
	background: #ffffff;
}

/*
 * Styles for printer.
 */

@media print {
    form {
        display: none;
    }

    .header {
        color: black;
        border: none;
        text-align: center;
        /* font-size: large; */
        margin-bottom: 1em;
    }

    h2 {
        border: none;
        border-bottom: #ccc 1px solid;
        border-left: #ccc .5em solid;
    }

    h3 {
        border: none;
        border-bottom: #ccc 1px solid;
    }

    h4 {
        border: none;
    }

    a:hover {
        color: black;
        text-decoration: none;
    }

    a {
        text-decoration: none;
    }

    a.editlink {
        display: none;
    }

    .footer {
        display: none;
    }

    body {
    }

    .tools {
        display: none;
    }

    p {
        font-family: Serif;
    }
}
