/* kategoriliste på list_items */
ul.itypes li {
  display: block;
  float: left;
  width: 8em;
  border-bottom: solid 1px #ccc;
  white-space: nowrap;
  margin-right: .4em;
}

/* påfølgende p i kategoriliste på list_items */
ul.itypes+p {
  clear: both;
}

/* punktliste på list_items */
ul.itypes {
  margin: 0px;
  padding: 0px;
  font-size: 80%;
  width: 90%;
}


/* redigering for hvert enkelt item */
div.editbutton {
  float:right;
  padding: 3px;
  }

/* link i redigering for hvert enkelt item */
div.editbutton a:link,
div.editbutton a:visited {
  text-decoration: none;
  background: transparent none;
  }


/************************** ADMINGUI *****************************/

/***** generelle tabeller *****/

.admingui table,.admin table {
  border-collapse:collapse;
  border: solid 1px #999;
  margin-bottom: 10px;
  margin-top: 10px;
}
.admingui td,.admin td {
  border: solid 1px #999;
  background: #eee none;
  padding-left:3px;
  padding-right:3px;  
  }

.admingui th,.admin th {
  background: #59B3DB none;
  border: solid 1px #59B3DB;
  color: #fff;
  padding-left:3px;
  padding-right:3px;  
  }

.admingui th a:link,.admin th a:link {
  background: #59B3DB none;
  color: #fff;
  }
.admingui th a:hover,.admin th a:hover {
  background: #59B3DB none;
  color: #ccc;
  }

.admingui h3,.admin h3 {
  margin-bottom: 10px;
  color: #59B3DB;
  background: #fff none;
  font-size: 140%;
}


/* generelle form */
form.admingui {
  padding:3px;
  }

form.admingui .submit {
  border: solid 1px #76AC44;
  padding:2px;
  }

form.admingui p {
  xfont-size:smaller;
  xfloat:left;
  margin-right:40px;
  }

form.admingui h2,form.admingui h3 {
  text-align:left;
  border-bottom: solid 1px #000;
  color: #000;
  background: #F2E5D1 none;
  margin:0;
  }

form.admingui fieldset {
  border:0;
  padding:5px;
  xfont-size: smaller;  
  text-align:left; /* motstiller settingene på form.admingui */ 
  }

form.admingui fieldset label {
  width: 10em;
  display: block;
  float: left;
  xclear: both;
  font-weight:normal;
  }

fieldset.column1 {
  float:left;
  width:250px;
  xborder:solid 1px red !important;
  height:1.6em;
}

fieldset.column2 {
  width:250px;
  xborder:solid 1px red !important;
  height:1.6em;
}

div.column2 {
  width:250px;
  height:1.6em;
}

form.admingui fieldset.column1 label{
  width: 8em;
  }

form.admingui fieldset.column2 label {
  width:6em;
  padding-top:3px;
}

.oneuser fieldset.column1,.oneuser fieldset.column2 {
  width:260px;
  xborder:solid 1px red;
  font-weight:bold;
  font-size:larger;
}
.oneuser fieldset.column1 label,.oneuser fieldset.column2 label {
  width:8em;
  xborder:solid 1px red;
  padding-top:3px;
  font-weight:normal;
  font-size:smaller;

}

.usern {
  xfont-size:larger;
}

/***** spesifikt*******/
/* subpages på WDT:new_site */

form.admingui fieldset.options input {float: left;}
form.admingui fieldset.subpages {float: left;}
form.admingui fieldset.other {padding-top: 30px;padding-bottom: 50px;}

form.newsite fieldset label {width:10em;}

form.admingui fieldset.options label {
  float:none;
  display:block;
  height: 20px;
  clear:none;
  font-weight:normal;
  width: 10em;
}

form.admingui fieldset.other input {
  display:block;
  clear:both;
}


/**** add more categories... ****/
.itemcats {
  border: solid 1px #ccc;
  padding: 5px;
  xbackground: #F1B352 none;
}

.itemcats h4 {
  margin-bottom:5px;
  margin-top:5px;  
}

.morecat {
  xborder:solid 1px #999;
  xpadding:3px;
  xwidth:12em;
  margin-top:5px;
  xtext-align:center;
}

  
/**** Category menu ****/

.catinfo div {
  margin-bottom: 10px;
  border: solid 1px #F1B352;  
  padding: 10px;
  background: #F2E5D1 none;  
}
.catinfo div p {
  margin-bottom: 3px;
  margin-top: 3px;  
}

.catinfo div a {
  background: #F2E5D1 none;  
  }  
  
/* redigering for hvert enkelt item */
div.editbutton {
  float:right;
  padding: 3px;
  }

/* link i redigering for hvert enkelt item */
div.editbutton a:link,
div.editbutton a:visited {
  text-decoration: none;
  background: transparent none;
  }


  
/*********** TOOLMENU ************/

div.toolmenu {
  border: solid 1px #000;  
  position:absolute;
  top:0;
  left:0;
  height:3em;
  border: solid 1px #000;
  font-size:smaller;
  padding:5px;
  background:#fff none;  
  width:100%;
  z-index:10;
}

html>body>div.toolmenu {
  position:fixed;
}

div.show {
  margin:0;
  width:17px;
  position:absolute;  
  top:0;
  right:0;
  z-index:100;
}


/* for å ekskludere ie som ikke skjønner fixed */
html>body>div.show {
  position:fixed;
}

div.show a,div.show a:visited,div.show a hover {
  background: transparent none;
}


div.toolmenu a:link,div.toolmenu a:visited {
  color: #000;
  background:#fff none;  
}

/* redigering for brukere */

div.catmeth {
  padding-left:10px;
  float:left;
  background:#fff none;  
  }

div.catmeth p {display: inline;}
div.catmethspesial {float:left;}
z#item4649 .editbutton {display:none;}  


/*** LOGIN ****/
div.loginform {
  padding:10px;
  font-size:90%;
}

div.loginform label {
  display:block;
  float:left;
  width:6em;
}

div.loginform input[type=text],div.loginform input[type=password] {
  width:7em;
  font-size:smaller;
}

div.loginform input[type=submit] {
  font-size:smaller;
  background:#fff none;  
}

/********* CMD line ************/

.commandline {
  background:#fff none;  
  float: left;
  padding-right: 10px;
  padding-left: 10px;  
  margin-top: 2px;
  border:solid 1px #000;
  width:300px;
  display:none;
}  
.commandline label {
  xwidth:4em;
  border:solid 1px #000;
}  
.commandline fieldset {
  xdisplay:inline;
  xheight:1em;
}  

.commandline form{
   margin:0;
   padding:0;
   display:inline;
 }

.commandline .commandinput  {
  width:5em;
  vertical-align: middle;
  }

div.commandline input[type=submit] {
  padding:3px;
  font-size:smaller;
  font-weight:bold;
  background:#fff none;  
  border: solid 1px #000;
}
  
/********* ROLEMENU  ***********/

/* meny for administratorer */
div.rolemenu {
  background:#fff none;  
  float:right;
  margin-right:30px;
  }


.boks {
  padding:5px;
  border: solid 1px #000;
  margin-bottom: 10px;
  width:15em;
}

.navn p {
  margin:0;
  padding:0;
}

.toolmenu form {display:inline}

table.varianter {margin-top:20px;}

/******* admin menu (cmd=admin) ***********/

.admincontent {
  background: #eee none;
  border: solid 1px #003366;
  padding:10px;
}
.admin h2 {
  background: #fff none;
  color: #990000;
}


.admincontent h3 {
  background: #eee none;
  color: #003366;
}


.admincontent a:link {
  background: #eee none;
  color: #990000;
}

.admincontent a:visited {
  background: #eee none;
  color: #333;
}

.admincontent a:hover {
  background: #eee none;
  color: #000;
}

table.dblist  {
  border-collapse:collapse;
  font-size:smaller;
  width:96%;
  margin-top:20px;
}

table.dblist td {
  border-bottom:solid 1px #000;
  padding-right:2px;
}

table.dblist th {
  border-bottom:solid 1px #000;
  padding-right:2px;
}


/************* *****************/

div.admintool {
  border: solid 1px #76AC44;
  background: #eee none;
  padding:10px;
  font-size:110%;
  color: #000;
}

div.admintool h3 {
  color: #76AC44;
  }

div.admintool p {
  xfloat:none;
  }

div.admintool a {
  font-size:small;
  background: #eee none;
  color: #000;
  }


.msg {
  color:red;
}

.details {
  float:right;
  width:20em;
}

.details p {
  margin-top:0;
  margin-bottom:5px;
}


/* statistikk, */

table.container {
  width:100%;
}

table.container td {
  width:50%;
  border:none;
}

table.container table {
  margin-right:20px;
  width:100%;
}

table.container table td {
  width:auto;
}


table.single {
  width:50%;
}

table.container table caption,
table.single caption {
  background: #fff;
  font-weight:bold;
  color: #76AC44;
}

table.container table td,
table.container table th,
table.single td,
table.single th {
  border-bottom: solid 1px #000;
}

table.container table,table.single {
  font-size:smaller;
}

.warn {
  color: red;
}


.previewindicator {
  border:solid 1px red;
  xwidth:5em;
  padding:2px;
  float:right;
}

/* pageinfo */

.pageedit {
  xfloat:right;
  xwidth:30%;
}

.pageedit ul,.pageedit li{
  margin:0;
  padding:0;
  }
.pageedit li{
  list-style:none;
 
  }


.pageinfo {
  xborder:solid 1px #76AC44;
  xpadding:10px;
  xwidth:60%;
  xmargin-bottom:10px;
}
.pageinfo label{
  width:6em;
}
.pageinfo img {
  vertical-align:bottom;
}



.pagemeta {
  xborder:solid 1px #76AC44;
  xpadding:10px;

}
.pagemeta h5 {
  margin-bottom:0;
  margin-top:2px;
  color: blue;
  font-size:1em;
  margin-left:40px;
}

.pagemeta p {
  border-top:solid 2px #666;
  border-left:solid 2px #666	;
  border-bottom:solid 1px #999;
  border-right:solid 1px #999;
  padding:3px;
  margin-left:40px;
  margin-top:0;
  margin-bottom:5px;
  color: #666;
  font-family: courier, mono-spaced;
  font-size:1.2em;
  height:66px;
  width:346px;
  overflow:auto;
}
.pagemeta textarea {
  margin-left:30px;
  height:70px;
  width:350px;
  font-family: courier, mono-spaced;
  font-size:1.2em;
}

.pagemeta label {
  display:block;
  width:100%;
  color: blue;
  font-weight:bold;
  font-size:1em;
  margin-left:30px;
}

.pagemeta h3 {
  color: #76AC44;
  margin-top:0;

}

#sortorder {
 visibility:hidden;
 position:absolute; 
 padding: 5px;
 width: 12em;
 text-align: left;
 border: solid 1px #000;
 background-color: #fff;
 z-index:100;
}

#sortorder table th {display:none;}