/* CSS plassert i denne fila vil gjelde for alle utseender. */

/* USERBOXES */
 table.userbox {float: left; margin: 0.2em; padding: 0; border-width: 1px; border-style: solid}
 table.userbox td.left, table.userbox td.right {text-align: center; vertical-align: middle; font-size: 1.6em; padding: 0}
 table.userbox td.main {padding: 0 4px; vertical-align: middle; line-height: 125%; font-size: 0.90em}
 
 table.userbox {border-color: #aaa; background: #f8f8f8}
 table.userbox td.left, table.userbox td.right {background: #d8d8d8}

/* --------------------------------- */

body.page-Hovedside h1.firstHeading, body.page-Hovedside #mp-newsline, body.page-Hovedside #contentSub, body.page-Dagens stripe h1.firstHeading, body.page-Dagens stripe #mp-newsline, body.page-Dagens stripe #contentSub, body.page-Databasen h1.firstHeading, body.page-Databasen #mp-newsline, body.page-Databasen #contentSub {
  display:none;
}

body.page-Hovedside #contentSub, body.page-Dagens stripe #contentSub, body.page-Databasen #contentSub {
  display:none;
}

/* Hovedsidebokser (m. runde hjørner i Firefox) */
/*        CREDIT: Kirkburn (WoWWiki)            */

#mp-enclosure {
 position:relative;
 font-size:89%;
 min-width:710px;
}
#mp-newsline {
 position:absolute;
 right:5px;
 top:-30px;
 font-size:105%;
}
.mpcontentbox-sidebar {
 margin-top:10px;
 padding:7px 10px;
 -moz-border-radius:0.5em;
 -webkit-border-radius:0.5em;
}
.mpcontentbox-main {
 margin-top:10px;
 padding:7px 15px;
 -moz-border-radius:0.5em;
 -webkit-border-radius:0.5em;
}
.mpcontentbox-header {
 border-bottom:1px solid #444;
}
.mpcontentbox-table {
  width:100%;
}
.mpcontentbox-table td {
  width:50%;
}
.bg-blue {
 background-color:#DBF0FA;
}
.bg-red {
 background-color:#ff2222;
}
#mptabs {
  font-size:105%;
  font-weight:bold;
  clear: left;
  margin:1em 0 3px 0;
}
#mptabs .activetab {
  padding:5px 10px 5px 10px;
  margin:0 3px 0 0;
  background:#DBF0FA;
  text-decoration:none;
  color:black;
  -moz-border-radius-topright:0.5em;
  -moz-border-radius-topleft:0.5em;
  -webkit-border-radius-topright:0.5em;
  -webkit-border-radius-topleft:0.5em;
}
#mptabs a .inactivetab {
  padding:5px 10px 5px 10px;
  margin:0 3px 0 0;
  text-decoration:none;
  background:#ECF1FB;
  color:black;
  -moz-border-radius-topright:0.5em;
  -moz-border-radius-topleft:0.5em;
  -webkit-border-radius-topright:0.5em;
  -webkit-border-radius-topleft:0.5em;
}
#mptabs a .inactivetab:hover {
  background:#ECF0FA;
  color:black;
}
#mptabs a:hover {
  text-decoration:none !important;
}

/* dark table style */
 table.darktable {
  border: 1px solid #aaa;
  padding: 5px;
  background: #F9F9F9;
  font-size: 89%;
  margin: 0.5em 0em 1em 0.5em;
 }
 table.darktable th {
  background-color: #ccf;
  padding: 0 0.5em;
 }
 table.darktable caption {
  font-size: 120%;
  font-weight: bold;   
 }
 table.darktable tr:not(:first-child) th {
    background-color: #ddf;
 }
 
 /* title stuff */
 .title {
  background-color: #ddf;
  text-align:center;
  font-weight:bold;
  padding: 1px 2px;
 }
 
 .alt {background-color: #e9e9ff; }
 
 table .hover:hover { background-color: orange; } /* for occasions where a table element */
 /*  is class="hover": for legibility in larger tables */

/* ---------------------------------- */
code {
	background-color: #979797;
	color: #000000;
}

/* ---------------------------------- */

td.kalender-dato {
 -moz-border-radius:0.5em;
 -webkit-border-radius:0.5em;
 border: 1px solid black;
 background:#ADD8E6;
 }

td.kalender-dato .mw-redirect {
 color:grey;
 }