/*  
    idi-admin.css - MoinMoin Style

    This class is intended for use with a portal at NTNU, IDI
    Based on MoinMoin themes classic and rightsidebar

    Copyright (c) 2001-2003 by Juergen Hermann
                       2004 by Joerg Cassens

    License: GPL Version 2
*/

/*  
    NTNU House Colour for the logo is blue "#000099"
*/

/* --------------- content styles --------------- */

body {
	margin:10px;
	padding:0px;
	font: 11px Verdana, Helvetica, Arial, sans-serif;
	background: White;
	color: Black;
	border: 1px #000099 solid;
}

h2, h3, h4, h5, h6 {
	background-color: inherit;
	color: #000099;
	padding-left: 5px;
	border-left: 1px dotted #000099;
}	

h2 {
	border-bottom: 1px dotted #000099;
}

h1 {
	color: #000099;
}

h1 a{
	text-decoration: none;
}

a:link,
a:visited {
	background-color: inherit;
	color: #000099;
}

a:hover {
	background-color: inherit;
	color: red;
}

a.nonexistent, a.badinterwiki {
	background-color: inherit;
	color: #404040;
}

input {
    font-size: 1em;
    font-family: Arial, Lucida Grande, sans-serif;
}

textarea {
    font-size: 1em;
    font-family: monospace;
}

pre {
	border: 1px solid #CBCBCB;
	background-color: #FFF8ED;
	color: black;
}

hr {
	clear: both;
	border-style: none;
	background-color: #000099;
	color: #000099;
}

td {
	border: 1px solid #DDDDEE;
}

ul {
	list-style-type: square;
	margin: 0.5em 0em 1.5em 4em;
	padding:0;
}

li {
	margin-bottom: 0.25em;
}

.footnotes div {
	width: 5em;
	border-top: 1px solid #CBCBCB;
}

/* user interface styles */

#content {
	margin-top: 10px;
	margin-left: 10px;
	margin-right: 225px;
	margin-bottom: 20px;
}

#title {
	background: #ffffff;
	border-bottom: 1px solid #000099;
        padding-top:10px;
        padding-bottom:10px;
}

#title h1 {
	margin: 0;
	margin-left: 10px;
	font-size: x-large;
}

#banner {
	height: 25px;
	background: #000099;
	padding: 10px;
	background-image: url(/search/nb/20070603210204oe_/http://drift.idi.ntnu.no/wiki/idi_admin/img/ntnu-top.png);
	background-repeat: no-repeat;
	background-position: left;
	color: #ffffff;
        text-align: right;
        font-size: x-large;
	font-weight: bold;
	text-decoration: none;
	}

#banner a:link,
#banner a:visited {
	background-color: inherit;
	color: #ffffff;
	text-decoration: none;
}

#banner a:hover {
	background-color: inherit;
	color: #ddddff;
	text-decoration: none;
}

#search {
	text-align: center;
}

#desctext {
	margin: 0;
	margin-left: 12px;
	color: #FFFFFF;
	letter-spacing: 2px;
	text-align: left;
	font-size: small;
	font-style: italic;
}

#sidebar {
	display: block;
	background-color: #ddddff;
	border-left: 1px dotted #000099;
	border-bottom: 1px dotted #000099;
	border-right: 1px solid #000099;
	position: absolute;
	top: 56px !important;  /* Moz and Co understand, but... */
	top: 60px;             /* ... IE's CSS implementation is different. */
	right: 10px;
	width: 210px;	
	font-size: x-small;
}

.sidetitle {
	background-color: #000099;
	border: 1px dotted #aaaaff;
	color: #ffffff;
	font-size: x-small;
	font-weight: bold;
	padding: 2px;
	margin-top: 20px;
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 5px;
	letter-spacing: .3em;
	text-align:center;
}

.user {
	margin-top: 10px;
	text-align: center;
}

.user a {
	text-decoration: none;
}

.user a:hover {
	background-color: #EEEEFF;
}

#username {
	text-align: right;
}

/*
#message,
*/
#footer {
	clear: both;
	background-color: #ddddff;
	margin-left: 10px;
	margin-right: 225px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 5px;
	color: black;
	border: 1px dotted #000099;
}

#message{
	margin: 0px;
	padding: 5px;
	border-bottom: 1px solid #AAAAFF;
	background-color: #DDDDFF;
}

#pagetrail {
	margin: 0px;
	padding: 5px;
	height: 20px;
	border-bottom: 1px solid #AAAAFF;
	background-color: #DDDDFF;
}

#pagetrail li {
	display: inline;
	padding: 0 2px;
	margin: 0;
	background-color: inherit;
}

#pagetrail li span {
	font-size: 90%;
	background-color: #DDDDFF;
	color: black;
}

#actions a:hover,
#iconbar a:hover,
#navibar a:hover,
#linkbar a:hover,
#pagetrail a:hover {
	background-color: #EEEEFF;
}

#actions a, #iconbar a, #navibar a, #pagetrail a, #linkbar a {
	text-decoration: none;
}

#credits {
	float: right;
	text-align: right;
	max-width: 30%;
}

#timings {
	padding: 0;
	font-size: 0.8em;
}

#timings li {
	display: inline;
	background-color: #E5E5E5;
	color: black;
}

/* We use here dumb css1 ids becuase of IE suckiness */
#editor-textarea, #editor-comment {
    width: 100%;
}

#preview {
	border: 2px solid #000099;
	padding: .5em;
	background: url(/search/nb/20070603210204oe_/http://drift.idi.ntnu.no/wiki/idi_admin/img/draft.png);
}


.recentchanges table {
	width: 100%;
}

#pageinfo td, .recentchanges td {
	padding: 0 .3em;
}

/* headlines in last changes */
.rcdaybreak td {
	background-color: #DDDDFF;
	padding: .2em;
}

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

.rcpagelink {
	width: 33%;
}

.rctime {
	font-size: .9em;
	color: #4D4D4D;
}

.rceditor {
	color: green;
}

.rccomment {
	color: red;
	width: 66%;
}

.rcrss {
	float: right;
}

.diff {
        width:99%;
}
    
.diff-title {
	background-color: #C0C0C0;
}

.diff-added {
	background-color: #E0FFE0;
	vertical-align: sub;
}

.diff-removed {
	background-color: #FFFFE0;
	vertical-align: sub;
}

.diff-added span {
	background-color: #80FF80;
}

.diff-removed span {
	background-color: #FFFF80;
}

.searchresult dd span {
	font-weight: bold;
}

/* rtl specials */
*[dir="rtl"] #logo {
	float: right;
}

*[dir="rtl"] #username {
	float: left;
}

*[dir="rtl"] #navibar {
	clear: right;
}

*[dir="rtl"] #pagetrail {
	clear: right;
}

*[dir="rtl"] #pagetrail li:before {
	content: " ";
}

*[dir="rtl"] #iconbar {
	float: left;
	text-align: left;
}

*[dir="rtl"] #credits {
	float: left;
	text-align: left;
}

.recentchanges[dir="rtl"] .rcrss {
	float: left;
}
