/* 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: #CC0000 none;
  border: solid 1px #CC0000;
  color: #fff;
  padding-left:3px;
  padding-right:3px;  
  }

.admingui th a:link,.admin th a:link {
  background: #CC0000 none;
  color: #fff;
  }
.admingui th a:hover,.admin th a:hover {
  background: #CC0000 none;
  color: #ccc;
  }

.admingui h3,.admin h3 {
  margin-bottom: 10px;
  color: #CC0000;
  background: #fff none;
  font-size: 140%;
}


/* generelle form */
form.admingui {
  padding:3px;
  }

form.admingui .submit {
  border: solid 1px #FF9900;
  padding:2px;
  }

form.admingui p {
  font-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;
  font-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;
}

xdiv.show {
  margin:0;
  width:17px;
  position:absolute;  
  top:0;
  right:0;
  z-index:100;
}


/* for å ekskludere ie som ikke skjønner fixed */
xhtml>body>div.show {
  position:fixed;
}

xdiv.show a,xdiv.show a:visited,xdiv.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;
}  

.commandline form{
   margin:0;
   padding:0;
 }

.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;
}
