﻿html {
    color: #313131;               
    font-family: DefaultFont, Verdana;
    line-height: 1.40;
    font-size: 1em;
}

body {
    margin: 0;
}

/* Links */          

/* APL wiki adaption: */
a {white-space:nowrap;}
a:link {color: blue; text-decoration: underline;} /*#7F2A00*/
/*a:visited {color: grey;} /*#7F5F47*/
a:visited {color: purple;}
a.badinterwiki {color: red;}
a.nonexistent {font-weight:normal; font-style: italic }
/* end APL wiki adaption: */

/* APL wiki adaption: */
/* Note that lets some browser display the image but NOT the text! */
/*  a.nonexistent:visited, a.nonexistent, */
/*  a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;} */
/* end APL wiki adaption: */

a.http:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
a.https:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
a.file:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
a.ftp:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
a.telnet:before, a.ssh:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
a.irc:before, a.ircs:before  {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
a.interwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
        
/* APL wiki adaption: */
ul li {
    line-height: 1.25;
    margin-top: 0.25em;
}  
/* end APL wiki adaption: */
li p {
    margin: .15em 0;
}

li.gap {
    margin-top: 0.5em;
}

dt {
    margin-top: 0.5em;
    font-weight: bold;
}

dd {
    margin-top: 0;
    margin-bottom: 0;
}

dd p {
    margin: 0.25em 0;
}
   
a, img, img.drawing {
    border: 0;
}

pre {
    border: 1pt solid #AEBDCC;
    background-color: #d4d7ff;
    color: black;
    padding: 5pt;       
    /* APL wiki adaption: */
    font-family: "APLFont1", "APLFont2", "APLFont3", "APL385 Unicode";
    font-weight: normal;
    font-size: 1.10em;
    /* end APL wiki adaption: */
    white-space: pre;
    /* begin css 3 or browser specific rules - do not remove!
    see: http://forums.techguy.org/archive/index.php/t-249849.html */
   white-space: pre-wrap;
   word-wrap: break-word;
   white-space: -moz-pre-wrap;
   white-space: -pre-wrap;
   white-space: -o-pre-wrap;
   /* end css 3 or browser specific rules */
}

/* This is inline code */
/* APL wiki adaption: */
tt {
    font-family: APLFont1, APLFont2, APLFont3, "APL385 Unicode";
    font-weight: normal;
    color:  #2e8b57;
    font-size: 1.15em;
    font-style: normal;
}
/* end APL wiki adaption: */

pre.comment {
    background-color: #CCCCCC;
    color: red;
    padding: 0;
    margin: 0;
    border: 0;
}

pre.comment:before {
    content: url(../img/attention.png);
}

/* .comment css definition must be top of .red/.green/.blue or it won't work */
.comment { color: Black; background-color: #CCCCCC; line-height: 1; padding: 10px; margin:0 5px;}

.red { background-color: #FFCCCC; }
.green { background-color: #CCFFCC; }
.blue { background-color: #CCCCFF; }
.yellow { background-color: #FFF29F; }
.orange { background-color: #FFD59B; }

.solid { border: 2px solid #000000; padding: 2px; }
.dashed { border: 2px dashed #000000; padding: 2px; }
.dotted { border: 2px dotted #000000; padding: 2px; }

.left { text-align: left; }
.center { text-align: center; }
.right { text-align: right; }
.justify { text-align: justify; }

table {
    margin: 15px 10px;
    border-collapse: collapse;
    background-color: #FAFAFA;
}

table.diff {
    font-family: "APLFont1","APLFont2","APLFont3","APL385 Unicode";
    font-size: x-small;
    background-color: #ffffe7;
}

div.apltable {  
    font-family:APLFont1, APLFont2, APLFont3, "APL385 Unicode";
}

table tr.even {
    background-color: #FAFAFA;
}

table tr.odd {
    background-color: #EDEDED;
}

th, td
{
    /*padding: 0.25em 0.5em 0.25em 0.5em;*/
    padding: 3px 5px;
    border: 1pt solid Gray;
}

td p {
    margin: 0;
    padding: 0;
}

/* TableOfContents macro */
   
/* APL wiki adaption: */
div.table-of-contents { 
    border: 1px solid Gray; /*#bbbbbb;*/
    border-right: 3px solid black;
    border-bottom: 3px solid black;
    color: black; 
    float: right;
    clear: both;
    text-align:left;
    margin: 0 0 1em 1em; 
    padding: 0.5em 1em 0.5em 1.2em;
    background-color: #FFF3CA;
}
div.table-of-contents p, div.table-of-contents ol {
    margin: 15px 10px 10px 15px ;
}

div.table-of-contents ol { 
    padding:2px;
    margin: 0;
    line-height: 1;
}

div.table-of-contents li {font-size: 14px; font-family: APLHeader1, APLHeader2, Georgia; margin-top:4px;}
div.table-of-contents ol {margin-left: 12px; padding-left:0;}
p.table-of-contents-heading { font-weight:bold; padding:0; margin:3px 0 5px -0.8em; }
/* end APL wiki adaption: */

table.navigation {
    background: #fff;
    margin: 0;
}

.footnotes div {
    width: 5em;
    border-top: 1pt solid gray;
}

/* APL wiki adaption: */
.footnotes ol, ul {
    padding: 0 2em;
    margin: 0 0 1em;
}
/* end APL wiki adaption: */

.footnotes li {
}

/* /* APL wiki adaption: */   ???? rem 2009-01-03
.info {
    float: left;
    font-size: medium;
    color: black;
    margin-right: 1em;
    font-line: 1.5;
}
*/  

.info {
    float: right;
    font-size: 0.7em;
    color: gray;
}

#pageinfo {
    margin-top: 0.75em;
    font-family: Georgia;
    font-size: 0.7em;
}

.seperator {
    color: gray;
}

#pagebottom {clear: both;}

/* standard rule ---- */
hr {
    height: 1pt;
    background-color: #9C9C9C;
    border: 0;
}

/* custom rules ----- to ---------- */
.hr1 {height: 1pt;}
.hr2 {height: 2pt;}
.hr3 {height: 3pt;}
.hr4 {height: 4pt;}
.hr5 {height: 5pt;}
.hr6 {height: 6pt;}

/* Replacement for deprecated html 3 <u> element and html 4 <strike> */
.u {text-decoration: underline;}
.strike {text-decoration: line-through;}

/* eye catchers */
/* APL wiki adaption */
.warning , .error
{
    color: #FC00FD;
    background-color: transparent;
    font-size: large;
    font-weight: bold;
    padding-bottom: .5em;
    text-decoration: blink;
}

.error 
{
    color: #FC00FD;
    padding-bottom: .5em;
    font-size: medium;
    font-weight: bold;
    text-decoration: blink;
}

.status {
    color: black;
    font-size: large;
    font-weight: normal;
    padding-bottom: .5em;   
}

.status strong em {
    color: red;
}

span#textcha-question {
    #??text-decoration: blink;
    margin-left: 5px;
    font-weight: bold;
}
/* end daption APL wiki */

strong.highlight 
{
    background-color: #CCE0FF;
    padding: 1pt;
}


/* Recent changes */

.rcrss {
    float: right;
    margin: 0 7px 0 14px;
        height: 0;
        position: relative;
        top: 9px;
}
*[div="rtl"] .rcrss {
    float: left;
}
.recentchanges[dir="rtl"] .rcrss {
    float: left;
}

.recentchanges table {
    clear: both;
    border-collapse: collapse;          
    border: 1px solid #4d7da9;
}

.recentchanges td {
    vertical-align: top;
    border: none;
    background: #e6eaf0;
}


.recentchanges .rcdaybreak td {
    background: #81BBF2;
    border: none;
    border: 1px solid #4d7da9;
}

.rcdaybreak td a {
    font-size: 0.88em;
}

.rcicon1, .rcicon2 {
    text-align: center;
}

.rcpagelink {
    width: 33%;
}

.rctime {
    font-size: 0.88em;
    white-space: nowrap;
}

.rceditor {
    white-space: nowrap;
    font-size: 0.88em;
}

.rccomment {
    width: 50%;
    color: gray;
    font-size: 0.88em;
}


/* User Preferences */

.userpref table, .userpref td {
    border: none;
}

/* CSS for new code_area markup used by Colorizer and ParserBase */

div.codearea { /* the div makes the border */
    margin: 0.5em 0;
    padding: 0;
    border: 1pt solid #AEBDCC;
    background-color: #F3F5F7;
    color: black;
}

div.codearea pre { /* the pre has no border and is inside the div */
    margin: 0;
    padding: 10pt;
    border: none;
}

a.codenumbers { /* format of the line numbering link */
    margin: 0 10pt;
    font-size: 0.85em;
    color: gray;
}

/* format of certain syntax spans */
div.codearea pre span.LineNumber {color: gray;}
div.codearea pre span.ID         {color: #000000;}
div.codearea pre span.Operator   {color: #0000C0;}
div.codearea pre span.Char       {color: #004080;}
div.codearea pre span.Comment    {color: #008000;}
div.codearea pre span.Number     {color: #0080C0;}
div.codearea pre span.String     {color: #004080;}
div.codearea pre span.SPChar     {color: #0000C0;}
div.codearea pre span.ResWord    {color: #A00000;}
div.codearea pre span.ConsWord   {color: #008080; font-weight: bold;}
div.codearea pre span.Error      {color: #FF8080; border: solid 1.5pt #FF0000;}
div.codearea pre span.ResWord2   {color: #0080ff; font-weight: bold;}
div.codearea pre span.Special    {color: #0000ff;}
div.codearea pre span.Preprc     {color: #803999;}

/* for diff parser */
div.codearea pre span.DiffAdded   {color: #4876FF;}
div.codearea pre span.DiffRemoved {color: #FF0000;}
div.codearea pre span.DiffChanged {color: #FF7F50;}
div.codearea pre span.DiffSeparator {color: #228B22; font-weight: bold}

/* Search results */
.advancedsearch {
	border: 1pt solid #ADB9CC;
}

.advancedsearch td {
    vertical-align: top;
    background-color: #E7E7E7;    
    border: 0px;
}

.advancedsearch td.searchfor {
    font-weight: bold;
}

.advancedsearch input {
    border: 1px solid #ADB9CC;
    background-color: #fff;
}

.advancedsearch input[disabled] {
    background-color: #eee;
}

.advancedsearch td.submit {
    border-top: 1px solid #ADB9CC;
    background-color: #fff;
    text-align: right;
}

.advancedsearch td.submit input {
   background-color:#D6D3CE;
	border-color:white black black white;
	border-right:2px solid black;
	border-style:solid;
	border-width:1px 2px 2px 1px;
	color:black;
	display:inline;
	font-family:arial;
	font-weight:bold;
	margin:0 8px;
	padding:3px 10px;
	text-decoration:none;
	font-size: 0.8em;
	}

.advancedsearch optioni, 
.advancedsearch select {
    border: 1px solid #ADB9CC;
    background-color: #fff;
}


.searchresults dt {
    margin-top: 1em;
    font-weight: normal;
}

.searchresults dd, .searchresults p {
    font-size: 0.85em;
}

.searchresults .searchhitinfobar {
    color: #008000;
    margin-left: 15px;
    margin-top: 0;
}

p.searchstats {
    font-size: 0.8em;
    text-align: right;
    width: 100%;
    background-color: #E6EAF0;
    border-top: 1px solid #9088DC;
    padding: 2px;
}

p.searchhint {
    background-color: #E6EAF0;
    border: 1px solid #9088DC;
    padding: 2px;
}

.searchpages {
    margin-left: auto;
    margin-right: auto;
}

.searchpages tr, .searchpages td {
    border: 0;
    padding: 5px;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    color: #b93a58;
    font-weight: bold;
    font-size: 1.05em;
}

.searchpages td a, .searchpages td a:link {
    text-decoration: underline;
}

/* MonthCalendar css */

/* days without and with pages linked to them */
a.cal-emptyday {
    color: #777777;
    text-align: center;
}
a.cal-usedday {
    color: #000000;
    font-weight: bold;
    text-align: center;
}
/* general stuff: workdays, weekend, today */
td.cal-workday {
    background-color: #DDDDFF;
    text-align: center;
}
td.cal-weekend {
    background-color: #FFDDDD;
    text-align: center;
}
td.cal-today {
    background-color: #CCFFCC;
    border-style: solid;
    border-width: 2pt;
    text-align: center;
}
/* invalid places on the monthly calendar sheet */
td.cal-invalidday {
    background-color: #CCCCCC;
}
/* links to prev/next month/year */
a.cal-link {
    color: #000000;
    text-decoration: none;
}
th.cal-header {
    background-color: #DDBBFF;
    text-align: center;
}

/* for MonthCalendar mouseover info boxes */
TABLE.tip {
    color: black;
    background-color: #FF8888;
    font-size: small;
    font-weight: normal;
    border-style: solid;
    border-width: 1px;
}

TH.tip {
    background-color: #FF4444;
    font-weight: bold;
    text-align: center;
}

TD.tip {
    text-align: left;
}
*[dir="rtl"] TD.tip {
    text-align: right;
}

/* end MonthCalendar stuff */

/* added for APL wiki: */
div#locationline {
    display:none;
}
/* end APL wiki */ 

/* copied over from 1.8.1 */
#message .hint {font-style: italic;}
#message .info {
    float: none;
    font-size: 1em;
    color: black;
}
#message .info:before {content: url('../img/icon-info.png'); margin: 0 0.2em;}
#message .warning:before {content: url('../img/alert.png'); margin: 0 0.2em;}
#message .error:before {content: url('../img/icon-error.png'); margin: 0 0.2em;}


/* admonition start */
#content div.caution, 
#content div.important, 
#content div.note, 
#content div.tip, 
#content div.warning {
    border: 1pt solid #E5E5E5;
    background-color: #F9F9FF;
    color: black;
    
    margin: 10pt 30pt 10pt 30pt;
    background-repeat: no-repeat;
    background-position: 8px 8px;
    min-height: 64px; /*64=48+8+8 but doesn't work with IE*/
    padding-left: 64px;
}
 
#content div.caution p, 
#content div.important p, 
#content div.note p, 
#content div.tip p, 
#content div.warning p {
    margin-top: 8px; /*to align text with bg graphic*/
}

#content div.tip { background-image: url("../img/admon-tip.png"); }
#content div.note { background-image: url("../img/admon-note.png"); }
#content div.important { background-image: url("../img/admon-important.png"); }
#content div.caution { background-image: url("../img/admon-caution.png"); }
#content div.warning { background-image: url("../img/admon-warning.png"); }

/* admonition end */

/* Final APL Wiki adaptions */
div.highlights {
    background: #E8D2D2; 
    width: 240px; 
    padding: 10px; 
    margin: 0 5px 0 0; 
    -webkit-border-radius: 6px; 
    border-radius: 6px; 
    -moz-border-radius: 20px 0; 
    border: 1px solid #999;
    -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

div.highlights h1 {
    margin-top: -0.6em;
    font-size: 1.4em;
}

div.highlights p {
  font-size: 75%;
}

div.userpref, div.userpref tr {
    background-color: #FFFAE8;
}

h1, h2, h3, h4, h5, h6 {
color: #B77700; 
font-family: "APLHeader1", "APLHeader2", "Helvetica"; 
}

.small {font-size: xx-small;}

.floatright {
	float: right;
	margin: 10px;
	clear: both;
}

/************************************************
MUST be at the end of the CSS file - when IE fails
on a font-face statement, it sometimes (not always)
ignores the rest of the CSS file!!!
*/

/* Try IE first, see above: */
@font-face {
    font-family: 'APLFont3';
    src: url("http://misc.aplteam.com/apl385.eot");
}


@font-face {
    font-family: 'APLHeader2';
    src:    
    url("http://misc.aplteam.com/apl385h.eot");
}

/* Now try local: */

@font-face {
    font-family: 'APLFont1';
    src: 
    local("APL385 Unicode"),
    local("APLX Upright"),
    local("Courier APL2 Unicode"),
    local("SImPL"),
    local("SiMPL medium");
}

/* Now we try download TTF - not understood by IE (2009-11) */

@font-face {
    font-family: 'APLFont2';
    src: url("http://misc.aplteam.com/apl385.ttf") format("truetype");
}

@font-face {
    font-family: APLHeader1;
    src: url("http://misc.aplteam.com/apl385h.ttf") format("truetype");
}
@font-face {
    font-family: DefaultFont;
        src: 
        local("Verdana"),
        local("Trebuchet MS")
        local(Arial)
        ;
}
