/* CSS som skrivs här påverkar alla skal */
/* Wikitabeller */

table.wikitable {
 margin: 0.5em;
 background: #f9f9f9;
 border: 1px #aaaaaa solid;
 border-collapse: collapse;
}

table.wikitable th, table.wikitable td {
 border: 1px #aaaaaa solid;
 padding: 0.2em;
}

table.wikitable th {
 background: #f2f2f2;
 text-align: center;
}

table.wikitable caption {
 margin-left: inherit;
 margin-right: inherit;
}

.hiddenStructure { display: none; speak: none; }

/* Infobox-mallar */

.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
   padding-left: 3px;
   padding-right: 3px;
}
.infobox caption { font-size: larger; }
.infobox.bordered { border-collapse: collapse; }
.infobox.bordered td,
.infobox.bordered th { border: 1px solid #aaaaaa; }

.infobox.bordered .borderless td,
.infobox.bordered .borderless th { border: 0; }

/* Kursiva redirecter i allpages */
.allpagesredirect { font-style: italic; }

/* Stilmallar för Wikipedia:CommonsTicker börjar här */

  /************************/
  /* CommonsTicker styles */
  /************************/
 
  /* links */
  .tickerDiffLink { } /* diff links in ticker */
  .tickerMiscLink { } /* misc links in ticker */
 
  /* remove list bullets */
  .tickerList ul,    .tickerList ul li    { list-style: none; text-indent:-2em; margin-left:2em;   text-align:left; }
  .tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0;    margin-left:1.5em; text-align:left; }

  /* per-type styles */
  .tickerEntry_deleted     { }  /* post för raderad bild */
  .tickerEntry_replaced    { }  /* post för ersatt bild */
  .tickerEntry_tagged      { }  /* post för tillägg/borttag av licensstatusmall */
  .tickerEntry_redir       { }  /* entry for critical redirection (fot tag redirects) */
  .tickerEntry_recat       { }  /* entry for critical re-categorization (for tag categories) */
  .tickerEntry_notify      { }  /* entry for global notifications */
  .tickerEntry_changed     { }  /* entry for generic change */

  /* per-action styles */
  .tickerAction_deleted:before     { content:" Rad  "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_deletedRev:before  { content:" RadV "; color: #DDAAAA; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_replaced:before    { content:" Ers  "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_replacedOwn:before { content:" ErsE "; color: #EEAAFF; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_addedBad:before    { content:" +RadM "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_removedBad:before  { content:" -RadM "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_addedGood:before   { content:" +LicM "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }  
  .tickerAction_removedGood:before { content:" -LicM "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }

  /* ticker usage list */
  .tickerUsage  { font-size:80%; }  

  /* entry applies to a template used by multiple images */
  .tickerTemplateEntry    { font-weight: bold; } 

  /* entry applies to sub-entries, i.e. images that use a specific template */
  .tickerSubEntry         { }                       

  /* minor entry styles */ 
  .tickerMinorEntry  { color:#666; }     /* minor entry */
  .tickerMinorEntry a,
  .tickerMinorEntry a:link,
  .tickerMinorEntry a:visited { color:#669; }
  #bodyContent .tickerMinorEntry a.extiw,
  #bodyContent .tickerMinorEntry a.extiw:link,
  #bodyContent .tickerMinorEntry a.extiw:visited { color:#669; }


/* Stilmallar för Wikipedia:CommonsTicker slutar här */

/* Stilmallar för avgränsade infoboxar med sammansatta rader */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
   border: 0;
   border-top: 1px solid #aaaaaa;
   border-right: 1px solid #aaaaaa;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
   border: 0;
   border-right: 1px solid #aaaaaa;
}


/*
  "plainlinksneverexpand" säkerställer att inget mellanrum läggs till efter en länk och att ingen "extern-länk-pil" läggs till. 
*/
 
.plainlinksneverexpand {
    background: none ! important;
    padding: 0 ! important;
}
 
.plainlinksneverexpand .urlexpansion {
    display: none ! important;
}
 
.plainlinksneverexpand a {
    background: none !important;
    padding: 0 !important;
}

/* Används av "commonPrint.css" */

.plainlinksneverexpand a.external.text:after {
    display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
    display: none !important;
}


/* Mallar för meddelanderutor */

.messagebox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   width: 80%;
   margin: 0 auto 1em auto;
   padding: .2em;
}
.messagebox.merge {
   border: 1px solid #c0b8cc;
   background-color: #f0e5ff;
   text-align: center;
}
.messagebox.cleanup {
   border: 1px solid #9f9fff;
   background-color: #efefff;
   text-align: center;
}
.messagebox.standard-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
}
.messagebox.nested-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    width: 100%;
    margin: 2px 4px 2px 4px;
}

/* stilar för geografiska infoboxar, t.ex. länder, nationella indelningar, städer osv. */

.infobox.geography {
   border: 1px solid #ccd2d9;
   text-align: left;
   border-collapse: collapse;
   line-height: 1.2em; 
   font-size: 90%;
}

.infobox.geography  td,
.infobox.geography  th {
   border-top: solid 1px #ccd2d9;
   padding: 0.4em 0.2em 0.4em 0.8em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
   border-top: solid 1px #ccd2d9;
   padding: 0.4em 0.2em 0.2em 0.8em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
      border: 0;
      padding: 0 0.2em 0.2em 0.8em;
}

.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
   border-top: 0;
   border-bottom: solid 1px #ccd2d9;
   padding: 0 0.2em 0.4em 0.8em;
}

.infobox.geography .maptable td,
.infobox.geography .maptable th {
      border: 0;
      padding: 0 0 0 0;
}

/* Standard navigationslista, d.v.s. boxgömmargrejen från .de */

div.Boxmerge,
div.NavFrame {
       margin: 0px;
       padding: 2px;
       border: 1px solid #aaaaaa;
       text-align: center;
       border-collapse: collapse;
       font-size: 95%;
}
div.Boxmerge div.NavFrame {
       border-style: none;
       border-style: hidden;
}
div.NavFrame + div.NavFrame {
       border-top-style: none;
       border-top-style: hidden;
}
div.NavPic {
       background-color: #ffffff;
       margin: 0px;
       padding: 2px;
       float: left;
}
div.NavFrame div.NavHead {
       height: 1.6em;
       font-weight: bold;
       font-size: 100%;
       background-color: #efefef;
       position:relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p { font-size: 100%; }
div.NavEnd {
       margin: 0px;
       padding: 0px;
       line-height: 1px;
       clear: both;
}
a.NavToggle {
       position:absolute;
       top:0px;
       right:3px;
       font-weight:normal;
       font-size:smaller;
}

/* Något mindre storlek för referenslistorna. */
.references { font-size: 95%; }

/* Öka läsbarheten när referenser används */
.reference a { line-height: 100%; font-size: 90%; }

/* Gör så att vald referens markeras med annan bakgrundsfärg, så att man hittar i listan. 
   Från enwiki. Fungerar tyvärr ej i IE. */

ol.references > li:target { background-color: #DEF; }
sup.reference:target { background-color: #DEF; }

/* 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 {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
}

/*** Stilar för huvudsidan ***/

/* Rubriker */
body.page-Portal_Huvudsida #kolumn1 h2,
body.page-Portal_Huvudsida #kolumn2 h2 {
  font-size: 110%;
  margin-bottom: .75em;
  margin-top: 1em;
  padding: 2px;
}
body.page-Portal_Huvudsida #kolumn1 h2 {
  border-bottom: 1px solid #bcd2ee;
  background-color: #f0f5ff;
}
body.page-Portal_Huvudsida #kolumn2 h2 {
  border-bottom:1px solid #fec088;
  background-color:#ffe7ba;
}

/* Geografiska koordinater 

För att visa koordinater med notationen i källkoden, lägg till detta i din Användare:Användarnamn/monobook:css:
   .geo-default { display: inline } .geo-nondefault { display: none } 
   .geo-dec { display: inline } .geo-dms { display: inline }

För att visa koordinater med decimalnotation, lägg till detta i din Användare:Användarnamn/monobook:css:
   .geo-default { display: inline } .geo-nondefault { display: inline } 
   .geo-dec { display: inline } .geo-dms { display: none }

För att visa koordinater med DMS-notation, lägg till detta i din Användare:Användarnamn/monobook:css:
   .geo-default { display: inline } .geo-nondefault { display: inline } 
   .geo-dec { display: none }   .geo-dms { display: inline }

För att visa koordinater med både decimal- och DMS-notation, lägg till detta i din Användare:Användarnamn/monobook:css:
   .geo-default { display: inline } .geo-nondefault { display: inline } 
   .geo-dec { display: inline }   .geo-dms { display: inline }
   .geo-multi-punct { display: inline }

Se [[Mall:Coord/link]] för att se hur de används.

Notera att klasserna "geo", "longitude", och "latitude" inte bara är stilar utan också används av [[en:Geo (microformat)]], så namnen bör inte ändras.

*/

.geo-default { display: inline; }
.geo-nondefault { display: none; }
.geo-dms { display: inline; }
.geo-dec { display: inline; }
.geo-multi-punct { display: none; }

.longitude .latitude {
  white-space: nowrap;
}

/* Detta används för Geo, men ingen stil behövs för tillfället utom .geo-dec. */
.geo { }

/***** slut på geografirelaterat */

/* mall för kvalitetsmallar */
table.ambox {
    margin: 0 10%;                       /* Will not overlap with other elements */
    border-collapse: collapse; 
    background: #fbfbfb; 
    border: 1px solid #aaa; 
    border-left: 10px solid #1e90ff;     /* Default "notice" blue */
}
table.ambox th.ambox-text, table.ambox td.ambox-text {      /* The message body cell(s) */
    padding: 0.25em 0.5em;            /* 0.5em left/right */
    width: 100%;                      /* Make all templates the same width regardless of text size */
}
table.ambox td.ambox-image {          /* The left image cell */
    padding: 2px 0px 2px 0.5em;       /* 0.5em left, 0px right */
    text-align: center; 
}
table.ambox td.ambox-imageright {     /* The right image cell */
    padding: 2px 4px 2px 0px;         /* 0px left, 4px right */
    text-align: center; 
}
table.ambox-notice {
    border-left: 10px solid #1e90ff;     /* Blue */
/* border-right: 10px solid #1e90ff; */  /* If you want two blue bars */
}
table.ambox-delete,
table.ambox-serious {
    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-merge {
    border-left: 10px solid #9932cc;     /* Purple */
}
table.ambox-protection {
    border-left: 10px solid #bba;        /* Gray */
}
table.ambox.ambox-mini {                 /* small floating box variant */
    float: right;
    clear: right;
    margin: 0 0 0 1em;
    width: 25%;
}

/* Klickbar högtalarikon i [[Mall:Audio]] */
.audiolink a {
    background: url("http://upload.wikimedia.org/wikipedia/commons/f/f7/Loudspeaker.png") center left no-repeat !important;
    padding-left: 16px !important;
    padding-right: 0 !important;
}

/* För malldokumentation, se [[Mall:Dokumentation]] */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa; 
    background-color: #ecfcf4; 
    padding: 5px;
}