MediaWiki:Common.css

From FloraWiki - das Wiki zur Schweizer Flora
Revision as of 11:37, 25 August 2017 by Andreas Plank (Talk | contribs) (dotted collapsible (decisiontree/Single-Access-Key templates))

Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
@media screen, handheld, projection{
 *.printonly {display:none;}
}
/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa; 
    background-color: #ecfcf4; 
    padding: 5px;
}

#wikiPreview {
  overflow-y:auto;
  max-height:400px;
  border:1px dotted gray;
  padding:4px;
}

/* === START Decisiontree and Lead templates (Single-Access-Key, v. 3.5) ===*/
div.dt-box {
  padding: 0.4em 0.6em;
  background-color: #FDFFEF;
  border: 1px solid #ffc51a;
}
span.dt-creators {
  font-weight: normal;
}
table.dt-body, table.nested {
  border-style: none;
  padding: 0;
  background: white;
  empty-cells: show;
  border-collapse: collapse;
}
table.dt-body {
  width: 800px;
}
/* Template:Lead defines only a max-width*/
/*
table.dt-body table.nested {
  table-layout:fixed;  fixed layout causes problems
  width:auto!important;
}
*/
/* background:transparent not possible for many styles; leader-dot graphic requires text background part to be nontransparent white OVER the dotted background. */

table.dt-body tr.dt-hspacer {
  height: 18px
}
/*
table.dt-body tr.dt-subheading - currently semantic class only
*/

table.dt-body tr.dt-row {
  vertical-align: top;
}

table.dt-body td.dt-nodeid {
  vertical-align: top;
  padding: 0 0.2em 0.2em 0;
  font-weight: bold;
  text-align: left;
}

table.dt-body td.leadalt {
  padding: 0 0.5em 0.2em 0;
  text-align: left;
  width: 0.3em;
  /* width=min if no alt or backlinks */
}

span.leadspan, span.commonnames, span.leadon, span.leadout, span.leadresults {
  background-color: #FFFFFF;
}
span.leadontext {
  font-weight: bold;
}


/* used in Decision S2, Lead Link */
span.leadspan a img {
  vertical-align: top
}


/* for inline-images inside lead text */
span.commonnames {
  font-weight: bold;
  color: #333333;
}


/* lists of common names can be long, no nowrap! */
span.leadout {
  font-weight: bold;
}


/* result as link to other page */
span.nowrap {
  white-space: nowrap;
}
span.leadon a:visited, span.leadontext a:visited {
  color: #002BB8
}

/* internal links should not change their color */
table.dt-body td.leadextras {
  padding: 0 0 0 0;
}

table.dt-body div.leadextras {
  border-left: 1px dotted #AAAAAA;
  vertical-align: top;
  padding: 0 0 0 0.5em;
  margin: 0 0 1ex 0;
  font-size: 0.9em;
}

table.dt-body th.leaderror {
  color: #9B0000;
  font-weight: bold;
  text-align: left;
}

div.overlaylabel {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0.85em;
  line-height: 0.85em;
  padding: 3px 5px 3px 5px;
  background-color: #BBBBBB;
  /* Fallback */
  background-color: rgba(187, 187, 187, 0.5);
  white-space: pre;
  opacity: 0.8;
  -moz-opacity: 0.8;
  filter: alpha(opacity=80);
}
/* Special collapse button (CollapsibleTables javascript-created) inside key: */
table.dt-body span.collapseButton {
  float: none;
  font-weight: normal;
  text-align: right;
  background-color: #FFFFFF;
}
/* === Special styles for default row-based jkey: === */
table.dt-body td.lead-row1 {
  padding: 0;
  margin: 0;
}
/* this embeds table with statement and result */
table.dt-body td.lead-row1 th.leadtxt.leadon,
table.dt-body td.lead-row1 td.leadtxt.leadon,
table.dt-body td.lead-row1 td.leadresult.leadon {
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAIAQMAAAAGIdc/AAAABlBMVEUAAAD///+l2Z/dAAAAF0lEQVR4Xk3BMQ0AAAACIKIa3Si+DtE3MJAGgY0PV2AAAAAASUVORK5CYII=") repeat-x 20px bottom;
}

div#switch table.dt-body td.lead-row1 th.leadtxt,
div#switch table.dt-body td.lead-row1 td.leadtxt,
div#switch table.dt-body td.lead-row1 td.leadresult {
  background-image: none;
}

table.dt-body td.lead-row1 th.leadtxt,
table.dt-body td.lead-row1 td.leadtxt {
  vertical-align: top;
  text-align: left;
  font-weight: normal;
  padding: 0 0 0.2em 0;
}

table.dt-body td.lead-row1 td.leadresult {
  vertical-align: bottom;
  text-align: right;
  padding: 0 0 0.2em 21px;
  /* pad-left/right: 21 px/0 for min lead dots left, no right */
}
/*
=== Styles used in lead link (cross refs) and Decision S2 (simple button-statements) ===
*/
div.leadontext {
  text-align: center;
  padding: 2px 6px 4px;
}

div.leadontext span.leadspan a {
  border: 1px solid #444444;
  background-color: #ECEEEE;
  padding: 2px 4px;
  font-weight: bold;
}

div.leadontext span.leadout a {
  border: 1px solid #444444;
  background-color: #ECEEEE;
  padding: 2px 4px;
  font-weight: bold;
}


/* === Special styles for horizontal decision couplet (V 0.5): === */
table.dt-body tr.dt-row-hor1 td.dt-nodeid {
  padding: 2em 0.2em 0.2em 0.4em;
}

table.dt-body tr.dt-row-hor1 td.leads-hor1 {
  /* container for inner table */
  padding: 2em 0 2em 0;
  width: 0.2em;
}

table.dt-body tr.dt-row-hor1 td.leadimgs-hor1,
table.dt-body tr.dt-row-hor1 td.leadtxt,
table.dt-body tr.dt-row-hor1 td.dt-arrdown {
  text-align: center;
  border-left: 1px solid #444444;
  border-right: 1px solid #444444;
}

table.dt-body tr.dt-row-hor1 td.leadimgs-hor1 {
  vertical-align: bottom;
  padding: 0.4em 1em 0 1em;
}

table.dt-body tr.dt-row-hor1 td.leadtxt {
  vertical-align: top;
  padding: 0em 0.8em 0.2em 0.8em;
}

table.dt-body tr.dt-row-hor1 td.dt-arrdown {
  vertical-align: middle;
  padding: 0
}

table.dt-body tr.dt-row-hor1 td.leadresult-hor1 {
  vertical-align: top;
  text-align: center;
  padding: 0 0.8em 0.4em 0.8em;
}
/* special styling of leadresult */
table.dt-body td.leadtxt span.leadalt {
  font-weight: bold;
}
/* alternative, if directly before lead text in lead text container */
table.dt-body td.leadresult-hor1 div.leadextras {
  /* just a bottom border */
  border-bottom: 1px solid #AAAAAA;
  border-left: 0px none;
  border-right: 0px none;
  border-top: 0px none;
  font-size: 0.9em;
  padding: 0px;
  vertical-align: top;
}
/*
table.dt-body td.leadimgs  - currently semantic class only
*/
/* most jkey-interactive styles set by js, but these used also in Mobile Key START for illustration -> keep this global: */
span.linkbtn, a.linkbtn, a.small-linkbtn {
  /* span to emulate buttons */
  background-color: #EEF0F0;
  font-weight: bold;
  padding: 1.5px 6px;
  /* check span.leadout followed by span.leadon, the two a.linkbtn can overlap. */
  text-align: center;
  vertical-align: middle;
  display: inline-block;
  border: 1px outset #cccccc;
  border-radius: 4px;
  white-space: nowrap;
}
a.linkbtn:visited, a.linkbtn:hover {
  color: #444444;
  text-decoration: none;
}
a.linkbtn:hover, a.small-linkbtn:hover {
  background-color: #DFDFDF;
}
span.linkbtn {
  color: #6b90da;
}
a.small-linkbtn {
  display: inline;
  padding: 0 4px 1px 4px;
  border-radius: 3px;
  font-weight: normal;
}
/* plain variant. / QUESTION GH: USED WHERE? */
span.linkbtn.plain {
  color: black;
  font-weight: normal;
}
/* Template:Lead show or hide result ids via CSS */
span.result-id-list span.show::before {
  content: attr(data-prefix) " "
}
span.result-id-list span.show~span.show::before {
  content: ", " attr(data-prefix) " "
}
span.result-id-list span.hide {
  display: none
}
/* === END (decisiontree/Single-Access-Key templates). ===*/


/* mw collapse: set display for switcher content → e.g. in span.up or span.down */
.mw-collapsible-toggle .up,
.mw-collapsed .mw-collapsible-toggle .down {
    display: none;
}
.mw-collapsible-toggle .down,
.mw-collapsed  .mw-collapsible-toggle .up {
     display: block;
}
/* emulate links, e.g. for span.mw-customtoggle-myTriggerKey1 */
span.pseudolink {  color:#0645AD; }
span.pseudolink:hover, span.pseudolink:focus, span.pseudolink:active { 
  text-decoration: underline;
  cursor:pointer;
}
.hide{ display:none; }

/* a plain table but vertical align top */

table.vertical-align-top td {
  vertical-align:top;
}

table.vertical-align-bottom td {
  vertical-align:bottom;
}
table.vertical-align-middle td {
  vertical-align:middle;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
.wikitable th,
.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
.wikitable caption,
.prettytable caption {
    font-weight: normal;
}
/* booktable as in (scientific) books/journals */
table.booktable, table.booktabledotted {
    margin: 1em 1em 1em 0;
    background: #ffffff;
    border-top:    2px #656463 solid;
    border-bottom: 2px #656463 solid;
    border-collapse: collapse;
}
.booktabledotted td {
  border-bottom: 1px dotted gray;
  padding:0.2em;
}
.booktable td {
  border: 0px none !important;
  padding:0.2em;
}
.booktable tr.line-t td, .booktable tr td.line-t{
   border-top:    1px #656463 solid !important;
}
.booktable tr.line-b td, .booktable tr td.line-b{
   border-bottom:    1px #656463 solid !important;
}
.booktable tr.line-tb td, .booktable tr td.line-tb{
   border-bottom:    1px #656463 solid !important;
   border-top:    1px #656463 solid !important;
}
.booktabledotted th, .booktable th {
    vertical-align:bottom;
    border-bottom:1px solid #656463;
    border-top:   1px solid #656463;
    border-left:0px;
    border-right:0px;
    padding: 0.2em;
}

.booktabledotted th, .booktable th {
  background: #ffffff;
  text-align: center;
}

.booktable caption, .booktabledotted caption {
    font-weight: normal;
}

/* gridded table with a surrounding 2px box */
table.tableBoxedWithGridBlack1px {
    background: #ffffff;
    border: 2px solid black;
    border-collapse: collapse;
}
.tableBoxedWithGridBlack1px td {
  border: 1px solid black;
  padding:0.2em;
}
.tableBoxedWithGridBlack1px th{
  vertical-align:bottom;
  border:1px solid black;
  padding: 0.2em;
  text-align: center;
  background: #ffffff;
}
.tableBoxedWithGridBlack1px caption {
    font-weight: normal;
}

.nopadding-top-bottom th, .nopadding-top-bottom td {
  padding-bottom:0px!important;
  padding-top:0px!important;
}

/* forms */
  table.formtable {
    border-collapse:collapse;
  }
  table.formtable td{
    vertical-align:top;
    text-align:left;
    padding:2px;
  }
  table.formtable th{
    vertical-align:top;
    font-weight: bold;
    padding:2px;
  }
 
  table.formtable textarea.textarea-default
, textarea.textarea-fullwidth {
    width:100%;
  }
  table.formtable textarea {
    background-color: #FFFFFF!important;
  }
 /* inputs, textarea:focus */
  table.formtable select.mandatoryField:focus
, table.formtable input.mandatoryField:focus
, table.formtable textarea.mandatoryField:focus{
    border:2px inset #fcaf3e !important;
    margin:0px !important;
  }
  table.formtable select:focus
, table.formtable input:focus
, table.formtable textarea:focus{
    border:2px inset #d3d7cf !important; /* light gray*/
    margin:0px !important;
  }
 /* inputs, textarea */
  table.formtable select.mandatoryField
, table.formtable input.mandatoryField{
    border:1px solid transparent !important;
    border-bottom:1px solid #fcaf3e !important;
    margin:1px;
  }
  table.formtable textarea.mandatoryField{
    border-top:   1px solid #fcaf3e !important;
    border-bottom:1px solid #fcaf3e !important;
    border-left:  1px dotted #fcaf3e !important;
    border-right: 1px dotted #fcaf3e !important;
    margin:1px;
  }
  table.formtable select
, table.formtable input {
    border-left:1px solid transparent !important; 
    border-top:1px solid transparent !important; 
    border-right:1px solid transparent !important; 
    border-bottom:1px solid #d3d7cf !important; /* light gray*/
    margin:1px !important;
 }
 table.formtable input[type=checkbox] {
    border:1px solid #d3d7cf !important; /* light gray*/
    margin:1px !important;
 }
  table.formtable textarea{
    border-left:1px dotted #d3d7cf !important; /* light gray*/
    border-right:1px dotted #d3d7cf !important; /* light gray*/
    border-bottom:1px solid #d3d7cf !important; /* light gray*/
    border-top:1px solid #d3d7cf !important; /* light gray*/
    margin:1px !important;
  }
 /* formtable Fonts*/
  .formtable input, .formtable textarea{
     font-family:monospace !important;
     font-size:100% !important;
  }

 /* formtable minimize borders when elements are narrow together */
  table.formtable td.minimal-visible-borders span.inputSpan ,
   table.formtable td.minimal-visible-borders div.multipleTemplateInstance {
    margin:0px;
    border:0px;
    padding:0px;
  }
 /* formtable floatable dl*/
  td.dl-float-left dl{
     float:left;
     margin-left:2px;
     margin-right:2px;
  }
  td.dl-float-left dl:first-child{
     margin-left:0px;
  }
  td.dl-inline dl dt, td.dl-inline dl dd{
    display: inline;
  }
  .formtable dd { 
    margin-left: 0em;
  }
 /* formtable with multible values */
  .multipleTemplate * td {
    background-color:#CCCCCC;/* CCCCCC → dark gray */
  }
  .multipleTemplate * table, .multipleTemplate table{
    border-spacing:0px;
  }
 /* formtable floating box */
  div.floating-form-parts {
    float:left; margin-right: 0.75em; min-height: 24px;
  }
 /* formtable select option box: Fix for FF gray → ??? */
  .formtable select { 
    background-color: #FFFFFF;
  }
 /* hidden fields */
  .formtable * .collapsebox .indicateHiddenInputs {
    border-left:2px #aaaaaa solid;
    border-bottom:1px #aaaaaa solid;
  }
/* forms */
  table.formtable {
    border-collapse:collapse;
  }
  table.formtable td{
    vertical-align:top;
    text-align:left;
    padding:2px;
  }
  table.formtable th{
    vertical-align:top;
    font-weight: bold;
    padding:2px;
  }
 
  table.formtable textarea.textarea-default
, textarea.textarea-fullwidth {
    width:100%;
  }
  table.formtable textarea {
    background-color: #FFFFFF!important;
  }
 /* inputs, textarea:focus */
  table.formtable select.mandatoryField:focus
, table.formtable input.mandatoryField:focus
, table.formtable textarea.mandatoryField:focus{
    border:2px inset #fcaf3e !important;
    margin:0px !important;
  }
  table.formtable select:focus
, table.formtable input:focus
, table.formtable textarea:focus{
    border:2px inset #d3d7cf !important; /* light gray*/
    margin:0px !important;
  }
 /* inputs, textarea */
  table.formtable select.mandatoryField
, table.formtable input.mandatoryField{
    border:1px solid transparent !important;
    border-bottom:1px solid #fcaf3e !important;
    margin:1px !important;
  }
  table.formtable textarea.mandatoryField{
    border-top:   1px solid #fcaf3e !important;
    border-bottom:1px solid #fcaf3e !important;
    border-left:  1px dotted #fcaf3e !important;
    border-right: 1px dotted #fcaf3e !important;
    margin:1px !important;
  }
  table.formtable select
, table.formtable input {
    border-left:1px solid transparent !important; 
    border-top:1px solid transparent !important; 
    border-right:1px solid transparent !important; 
    border-bottom:1px solid #d3d7cf !important; /* light gray*/
    margin:1px !important;
 }
 table.formtable input[type=checkbox] {
    border:1px solid #d3d7cf !important; /* light gray*/
    margin:1px !important;
 }
  table.formtable textarea{
    border-left:1px dotted #d3d7cf !important; /* light gray*/
    border-right:1px dotted #d3d7cf !important; /* light gray*/
    border-bottom:1px solid #d3d7cf !important; /* light gray*/
    border-top:1px solid #d3d7cf !important; /* light gray*/
    margin:1px;
  }
 /* formtable Fonts*/
  .formtable input, .formtable textarea{
     font-family:monospace !important;
     font-size:100% !important;
  }

 /* formtable minimize borders when elements are narrow together */
  table.formtable td.minimal-visible-borders span.inputSpan ,
   table.formtable td.minimal-visible-borders div.multipleTemplateInstance {
    margin:0px;
    border:0px;
    padding:0px;
  }
 /* formtable floatable dl*/
  td.dl-float-left dl{
     float:left;
     margin-left:2px;
     margin-right:2px;
  }
  td.dl-float-left dl:first-child{
     margin-left:0px;
  }
  td.dl-inline dl dt, td.dl-inline dl dd{
    display: inline;
  }
  .formtable dd { 
    margin-left: 0em;
  }
 /* formtable with multible values */
  .multipleTemplate * td {
    background-color:#CCCCCC;/* CCCCCC → dark gray */
  }
  .multipleTemplate * table, .multipleTemplate table{
    border-spacing:0px;
  }
 /* formtable floating box */
  div.floating-form-parts {
    float:left; margin-right: 0.75em;
  }
 /* formtable select option box: Fix for FF gray → ??? */
  .formtable select { 
    background-color: #FFFFFF;
  }
 /* hidden fields */
  .formtable * .collapsebox .indicateHiddenInputs {
    border-left:2px #aaaaaa solid;
    border-bottom:1px #aaaaaa solid;
  }
  ul.jquery-ui-tabs-minimized-padding li {
    white-space: pre!important;
  }
  ul.jquery-ui-tabs-minimized-padding li a {
    padding: 1px!important;
    float: none !important;
  }

/* references hanging layout */
div.hanging-indent {
  padding-left:1.5em !important;
  text-indent:-1.5em;
  margin-top: 0.0em !important;
  margin-bottom: 0.0em !important;
}
 
div.hanging-indent p, div.hanging-indent p *, div.hanging-indent div * {
  text-indent:0;
}
 
/* Make the list of references in [[Template:Reflist]] smaller */
.references-small { 
    font-size: 90%;
}
 
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
    font-size: 90%;
    -moz-column-count: 2;
    column-count: 2;
}
 
/* Highlight clicked reference in blue to help navigation */
ol.references > li:target,
sup.reference:target,
div.highlight:target,
span.highlight:target,
tr > td.highlight:target,
table.highlight:target,
div.cite:target {
    background-color: #DEF;
}
/* FIX override of a loaded inline stylsheets that uses .highlight → bold 2011-01-04 */
div.highlight,
table.highlight {
  font-weight: normal;
}
/* highlight e.g. for clue tips*/
.alert {
  background-color:#fcaf3e;
}
.alerttarget:target {
  background-color:#fcaf3e;
}
 
/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
    font-weight: normal;
    font-style: normal;
}

/* comments*/ .comment-gray{ color:#828282; }
/* errors: extend for nested from default CSS */ span.error *{color:red !important;}
/* emulate a new-page-link */ span.new *{color:#ba0000 !important;}


/* plain no bold or italic text */
 .font-weight-normal {font-weight:normal;font-style:normal;}

/* inline definitions */
div.definition-inline dt { float:left; padding-right:0.5em; margin-bottom: 0px; line-height: 1.5em;}
div.definition-inline dd { margin-bottom: 0px;line-height: 1.5em;}
div.definition-inline.code-bold-only dt { font-weight:normal; }
div.definition-inline.code-bold-only dd { line-height: 1.6em;} /* line-height slightly higher, fix when used with <code><code> */
div.definition-inline.code-bold-only dt code { font-weight:bold; }

/* omboxes START Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
    border: none; 
    padding: 0.25em 0.9em;       /* 0.9em left/right */
    width: 100%;    /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                  /* The left image cell */
    border: none; 
    padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
    text-align: center; 
}
td.mbox-imageright {             /* The right image cell */
    border: none;
    padding: 2px 0.9em 2px 0;    /* 0px left, 0.9em right */
    text-align: center; 
}
td.mbox-empty-cell {         /* An empty narrow cell */
    border: none;
    padding: 0px;
    width: 1px;
}

/* Article message box styles */
table.ambox {
    margin: 0px 10%;   /* 10% = Will not overlap with other elements */
    border: 1px solid #aaa; 
    border-left: 10px solid #1e90ff;    /* Default "notice" blue */
    background: #fbfbfb; 
}
table.ambox + table.ambox {   /* Single border between stacked boxes. */
    margin-top: -1px;
}
.ambox th.mbox-text, 
.ambox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}

table.ambox-notice {
    border-left: 10px solid #1e90ff;    /* Blue */
}
table.ambox-speedy {
    border-left: 10px solid #b22222;    /* Red */
    background: #fee;                   /* Pink */
}
table.ambox-delete {
    border-left: 10px solid #b22222;    /* Red */
}
table.ambox-content {
    border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
    border-left: 10px solid #f4c430;    /* Yellow */
}
table.ambox-move {
    border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    border-left: 10px solid #bba;       /* Gray-gold */
}

/* Image message box styles */
table.imbox {
    margin: 4px 10%; 
    border-collapse: collapse; 
    border: 3px solid #1e90ff;    /* Default "notice" blue */
    background: #fbfbfb;
}
.imbox .mbox-text .imbox {    /* For imboxes inside imbox-text cells. */
    margin: 0 -0.5em;    /* 0.9 - 0.5 = 0.4em left/right. */
}
.mbox-inside .imbox {    /* For imboxes inside other templates. */
    margin: 4px;
}

table.imbox-notice {
    border: 3px solid #1e90ff;    /* Blue */
}
table.imbox-speedy {
    border: 3px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.imbox-delete {
    border: 3px solid #b22222;    /* Red */
}
table.imbox-content {
    border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
    border: 3px solid #f4c430;    /* Yellow */
}
table.imbox-move {
    border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
    border: 3px solid #bba;       /* Gray-gold */
}
table.imbox-license {
    border: 3px solid #88a;       /* Dark gray */
    background: #f7f8ff;          /* Light gray */
}
table.imbox-featured {
    border: 3px solid #cba135;    /* Brown-gold */
}

/* Category message box styles */
table.cmbox {
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa; 
    background: #DFE8FF;    /* Default "notice" blue */
}

table.cmbox-notice {
    background: #D8E8FF;    /* Blue */
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b22222;    /* Red */
    background: #FFDBDB;          /* Pink */
}
table.cmbox-delete {
    background: #FFDBDB;    /* Red */
}
table.cmbox-content {
    background: #FFE7CE;    /* Orange */
}
table.cmbox-style {
    background: #FFF9DB;    /* Yellow */
}
table.cmbox-move {
    background: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
    background: #EFEFE1;    /* Gray-gold */
}

/* Other pages message box styles */
table.ombox {
    margin: 4px 10%; 
    border-collapse: collapse; 
    border: 1px solid #aaa;       /* Default "notice" gray */
    background: #f9f9f9;
}

table.ombox-notice {
    border: 1px solid #aaa;       /* Gray */
}
table.ombox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.ombox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
    border: 1px solid #f4c430;    /* Yellow */
}
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
    border: 2px solid #bba;       /* Gray-gold */
}
 
/* Talk page message box styles */
table.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
    background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */
    margin: 2px 0;               /* class ensures that this declaration overrides other */
    width: 100%;  /* For Safari and Opera */     /* styles (including mbox-small above) */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;          /* also "nested", so reset styles that are   */   
    font-size: 100%;             /* set in "mbox-small" above.                */
}

table.tmbox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.tmbox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.tmbox-content {
    border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
    border: 2px solid #f4c430;    /* Yellow */
}
table.tmbox-move {
    border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #c0c090;    /* Gray-brown */
}

/* Disambig and set index box styles */
table.dmbox {
    clear: both; 
    margin: 0.9em 1em; 
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc; 
    background: transparent;
}
 
/* Footer and header message box styles */
table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;     /* Default "system" gray */
}
table.fmbox-system {
    background: #f9f9f9;
}
table.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;        /* Pink */
}
table.fmbox-editnotice {
    background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #bb7070;
    background: #ffdbdb;
    padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages. Used in 
   [[MediaWiki:Noarticletext]] and [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.noarticletext,
div.fmbox-system {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #aaa;
    background: #f9f9f9;
    padding: 0.25em 0.9em;
}

/* These mbox-small classes must be placed after all other 
   ambox/tmbox/ombox etc classes. "body.mediawiki" is so 
   they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
    clear: right;
    float: right;
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
    margin: 4px 1em 4px 0;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
    line-height: 1.25em;
}
/* == omboxes END */

/* diagonal lines */
  /* lower left to upper right */
  .line-ll2ur { 
    position:relative; /* doesn't have to be absolute */
    z-index: -1;         /* places the line behind other elements */
  }
  .line-ll2ur div {
    position:absolute;
    left: 0px; top: 0px;
    border-left-color: transparent;
    border-style: solid;
  }
  /* upper left to lower right */
  .line-ul2lr {
    position:relative; /* doesn't have to be absolute */
    z-index: -1;         /* places the line behind other elements */
  }
  .line-ul2lr div {
    position:absolute;
    left: 0px; top: 0px;
    border-right-color: transparent;
    border-style: solid;
  }
.border-round {
  -moz-border-radius:0.5em;
  -webkit-border-radius:0.5em; 
  -o-border-radius:0.5em; 
  -khtml-border-radius:0.5em; 
  border-radius:0.5em;
  border-collapse:separate!important;/* for ombox table */
}

/* http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines. Names according to color (light, …, dark) */
.tango-background-color-aluminium-1 { background-color:#EEEEEC;}
.tango-background-color-aluminium-2 { background-color:#D3D7CF;}
.tango-background-color-aluminium-3 { background-color:#BABDB6;}
.tango-background-color-aluminium-4 { background-color:#888A85;}
.tango-background-color-aluminium-5 { background-color:#555753;}
.tango-background-color-aluminium-6 { background-color:#2E3436;} 
.tango-background-color-butter { background-color:#EDD400;}
.tango-background-color-butter-dark { background-color:#C4A000;}
.tango-background-color-butter-light { background-color:#FCE94F;}
.tango-background-color-chameleon { background-color:#73D216;}
.tango-background-color-chameleon-dark { background-color:#4E9A06;}
.tango-background-color-chameleon-light { background-color:#8AE234;}
.tango-background-color-chocolate { background-color:#C17D11;}
.tango-background-color-chocolate-dark { background-color:#8F5902;}
.tango-background-color-chocolate-light { background-color:#E9B96E;}
.tango-background-color-orange { background-color:#F57900;}
.tango-background-color-orange-dark { background-color:#CE5C00;}
.tango-background-color-orange-light { background-color:#FCAF3E;}
.tango-background-color-plum { background-color:#75507B;}
.tango-background-color-plum-dark { background-color:#5C3566;}
.tango-background-color-plum-light { background-color:#AD7FA8;}
.tango-background-color-scarlet-red { background-color:#CC0000;}
.tango-background-color-scarlet-red-dark { background-color:#A40000;}
.tango-background-color-scarlet-red-light { background-color:#EF2929;}
.tango-background-color-sky-blue { background-color:#3465A4;}
.tango-background-color-sky-blue-dark { background-color:#204A87;}
.tango-background-color-sky-blue-light { background-color:#729FCF;}
.tango-color-aluminium-1 { color:#EEEEEC;}
.tango-color-aluminium-2 { color:#D3D7CF;}
.tango-color-aluminium-3 { color:#BABDB6;}
.tango-color-aluminium-4 { color:#888A85;}
.tango-color-aluminium-5 { color:#555753;}
.tango-color-aluminium-6 { color:#2E3436;}
.tango-color-butter { color:#EDD400;}
.tango-color-butter-dark { color:#C4A000;}
.tango-color-butter-light { color:#FCE94F;}
.tango-color-chameleon { color:#73D216;}
.tango-color-chameleon-dark { color:#4E9A06;}
.tango-color-chameleon-light { color:#8AE234;}
.tango-color-chocolate { color:#C17D11;}
.tango-color-chocolate-dark { color:#8F5902;}
.tango-color-chocolate-light { color:#E9B96E;}
.tango-color-orange { color:#F57900;}
.tango-color-orange-dark { color:#CE5C00;}
.tango-color-orange-light { color:#FCAF3E;}
.tango-color-plum { color:#75507B;}
.tango-color-plum-dark { color:#5C3566;}
.tango-color-plum-light { color:#AD7FA8;}
.tango-color-scarlet-red { color:#CC0000;}
.tango-color-scarlet-red-dark { color:#A40000;}
.tango-color-scarlet-red-light { color:#EF2929;}
.tango-color-sky-blue { color:#3465A4;}
.tango-color-sky-blue-dark { color:#204A87;}
.tango-color-sky-blue-light { color:#729FCF;}


div.rotate-90deg-counter-clock-wise {
  transform:rotate(270deg);
  -o-transform:rotate(270deg);
  -ms-transform:rotate(270deg);
  -webkit-transform:rotate(270deg);
}

div.rotate-45deg-counter-clock-wise {
  transform:rotate(315deg);
  -o-transform:rotate(315deg);
  -ms-transform:rotate(315deg);
  -webkit-transform:rotate(315deg);
}

/* extra link layout */
span.download a.external{
  background-position: right center;
  background-repeat: no-repeat;
  background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml;base64,R0lGODlhDgAKAJECAP///x5iiQAAAAAAACH5BAEAAAIALAAAAAAOAAoAAAIblB2ny42+UpPzyIDxQ6DnDlABGJIiiYrZmh0FADs=")!important;
  padding-right: 18px!important;
}
/* template:Character_images_tabs START */
.custom-ui-tabs-sober {
  background:white!important;
  border: none!important;
}
.custom-ui-tabs-sober > .ui-widget-header {
  background: white!important;
  border: none!important;
  border-bottom: 1px solid #c0c0c0!important;
  -moz-border-radius: 0px!important;
  -webkit-border-radius: 0px!important;
  border-radius: 0px!important;
}
.custom-ui-tabs-sober  > .ui-tabs-nav .ui-state-default {
  background: white!important;
  border: none!important;
}
.custom-ui-tabs-sober  > .ui-tabs-nav .ui-state-active {
  background: transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAN0lEQVR42mNgGAWjgAA4cODAfxAmWzMMkGwIsmaSDcGmmWhD8GkmaAgxmnEaQopmDEPI0YxsCABrFhMgEiBgxwAAAABJRU5ErkJggg==") no-repeat bottom center!important;
  border: none!important;
}
.custom-ui-tabs-sober > .ui-tabs-nav .ui-state-default a {
  color: #c0c0c0!important;
}
.custom-ui-tabs-sober > .ui-tabs-nav .ui-state-active a {
  color: #459e00!important;
}
 
 
.custom-ui-tabs-nohdr { 
  padding: 0px!important; 
  background: none!important; 
  border-width: 0px!important; 
} 
.custom-ui-tabs-nohdr > .ui-tabs-nav { 
  padding-left: 0px!important; 
  background: transparent!important; 
  border-width: 0px 0px 1px 0px!important; 
  -moz-border-radius: 0px!important; 
  -webkit-border-radius: 0px!important; 
  border-radius: 0px!important; 
} 
.custom-ui-tabs-nohdr > .ui-tabs-panel {
  background: #f5f3e5 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAYAAABHLFpgAAAANUlEQVQYld2PMQoAIBDDQv//XKcbjIN4PxDEJYSSpVQNA/AZlIDENpS4bbZJdJ64twcu3MIC3g8dk2ON1B0AAAAASUVORK5CYII=") repeat-x scroll 50% top !important; 
  border-width: 0px 1px 1px 1px!important; 
}
 
.custom-ui-tabs-center > .ui-tabs-nav { 
  height: 52px!important;
  text-align: center!important; 
  margin-bottom: 0px !important;
} 
.custom-ui-tabs-center > .ui-tabs-nav li { 
  display: inline-block!important; 
  float: none!important; 
/*  top: 0px!important; 
  margin: 0em!important; 
  padding-bottom: 0px!important; */
}
/* template:Character_images_tabs END */
/* template:taxon rank data */
h2.no-border { border: 0px none; }

/* 
  superimpose CSS on Wiki’s pre layout
 
  <pre> itself in the Wiki does not allow any tags or formatting, it renders as <nowiki> 
   but Wiki text starting with a blank character on a line does allow tags and other formatting */
  div.no-pre-border pre {
    border:0px none;
  }
  div.no-pre-margin pre {
    margin:0px;
  }
  div.no-pre-padding pre {
    padding:0px;
  }
  div.wrap-words pre {  white-space: pre-line;  word-wrap: break-word; }

/* wrap long lines syntaxhighlight */
pre.javascript.source-javascript , .javascript.source-javascript pre
, pre.css.source-css, .css.source-css pre {
  white-space: pre-wrap;
}
div.mw-geshi {  white-space: normal;  word-wrap: break-word; }

div[lang=de] q::before { content: '„'}
div[lang=de] q::after { content: '“'}

div[lang=en] q::before { content: '“'}
div[lang=en] q::after { content: '”'}

div[lang=fr] q::before {content: '« '} /* &#8239; used here */
div[lang=fr] q::after {content: ' »'} /* &#8239; used here */

/* Fix translation */

.infocolumn-block{
  position:absolute!important;
}
.tux-message-editor .close,.tux-message-editor .editor-info-toggle {
  padding:15px!important;
}