html,body { /* msg */
  height:100%;
  margin:0;
  padding:0;
}
.tright {text-align: right;}
.tleft {text-align: left;}
.right {float: right;}
.left {float: left;}
.center,.tcenter {text-align: center;}

.smaller {
  font-size:.8em;
}

.xsmall {
  font-size:.7em;
}

.larger {
  font-size:1.2em;
}

.valignmiddle td {vertical-align:middle;}


div.image div {text-align:center;}

div.image div p {
  margin-top:3px;
  margin-bottom:3px;
  }

img {border: 0;}
  
fieldset {border:0;}

h1 {font-size: 160%;}
h2 {font-size: 150%;}
h3 {font-size: 140%;}
h4 {font-size: 130%;}
h5 {font-size: 120%;}

a.external {
  padding-right:14px;
  background: transparent url(../img/extlink.gif) no-repeat right !important;
}

.warn {color: red;}

div.warn,p.warn {
    text-align:center;
    border: solid 1px red;
    padding:10px;
}

span.msg, li.msg {
  font-weight:bold;
  color:green;
  background-color:white;
}

p.msg, div.msg {
  padding:5px;
  font-weight:bold;
  color:green;
  background-color:white;
}

.boxed {
  border:solid 1px #eee;
  padding:5px;
}

th,td {
  text-align: left;
  padding-right:5px;
  }

.content {height:100%;}

.baseline {
  clear:both;
  text-align:center;
  }


div.box {
  background: url(../img/box/_current/right_repeat.gif) top right repeat-y;
  margin:10px;
  }
div.box div.boxheader  {background: url(../img/box/_current/top_right_corner.gif) top right no-repeat;}
div.box div.boxfooter {background: url(../img/box/_current/bottom_right_corner.gif) bottom right no-repeat;}

div.box div.boxcontent {
  background: url(../img/box/_current/left_repeat.gif) top left repeat-y;
  padding:10px;
  padding-right:20px;
}


div.transbox {
  xmargin:10px;
  }

div.transbox div.boxheader div.boxwidth {background: url(../img/transbox/_current/top_repeat.gif) top repeat-x;}
div.transbox div.boxfooter div.boxwidth {background: url(../img/transbox/_current/bottom_repeat.gif) bottom repeat-x;}


div.transbox div.boxheader img.left,
div.transbox div.boxheader img.right,
div.transbox div.boxfooter img.left,
div.transbox div.boxfooter img.right {padding:0;}

div.transbox div.boxheader div.boxwidth,
div.transbox div.boxfooter div.boxwidth{
  margin-left:7px;
  margin-right:7px;
  height:7px;
  }

div.transbox div.boxfooter div.boxwidth {background: url(../img/transbox/_current/bottom_repeat.gif) bottom repeat-x;}


div.transbox div.boxcontent {
  background: url(../img/transbox/_current/left_repeat.gif) top left repeat-y;
}
div.transbox div.boxcontent>div {
  background: url(../img/transbox/_current/right_repeat.gif) top right repeat-y;
  padding:10px;
  xpadding-right:20px;
}

div.transbox div.boxcontent p {
  margin-top:0;
}


.padding input[type="submit"] {padding:5px;}
.lpadding input[type="submit"] {padding-left:5px;}
.rpadding input[type="submit"] {padding-right:5px;}
.tpadding input[type="submit"] {padding-top:5px;}
.bpadding input[type="submit"] {padding-bottom:5px;}

.margin input[type="submit"] {margin:5px;}
.lmargin input[type="submit"] {margin-left:5px;}
.rmargin input[type="submit"] {margin-right:5px;}
.tmargin input[type="submit"] {margin-top:5px;}
.bmargin input[type="submit"] {margin-bottom:5px;}


/* boks med skrollbar */

.scrollbox {
  overflow:auto;
}

.bordered {border:solid 1px #000;border-collapse:collapse;}

.bordered td,.bordered th {border:solid 1px #999;}

/***************************************/
/* inputknapper og linker med "submit" */

a.button,input[type=submit] {
  font-size:.9em;
  border-right: solid 1px #202020;
  border-bottom: solid 1px #202020;
  border-left: solid 1px #f2f0ee;
  border-top: solid 1px #f2f0ee;
  background: #d4d0c8;
  font-family:arial;
}

a.button {
  padding:1px;
  padding-left:10px;
  padding-right:10px;
}

a.button:link,a.button:visited {
  color: #000;
  text-decoration:none;
  background: #d4d0c8;
}

a.button:active,
input[type=submit]:active{
  border-top: solid 1px #202020;
  border-left: solid 1px #202020;
  border-right: solid 1px #f2f0ee;
  border-bottom: solid 1px #f2f0ee;
}
/***************************************/


div.boxHalfsize {
  width:46%;
  background: #eee;
  float:right;
  margin-right:10px;
}  

div.boxHalfsize .textblock{
  margin:5px;
}  

.standardtable table {
  border-collapse:collapse;
}

.standardtable th {
  border-bottom: solid 1px #4c69bc;
  padding:2px;
  padding-left:5px;
  padding-right:5px;
  background: #f1f4fb;
}

.standardtable td {
  border-bottom: solid 1px #4c69bc;
  padding:2px;
  padding-left:5px;
  padding-right:5px;
}

input[disabled="disabled"] {
  background-color: #fff;
}

/* SPESIELLE KLASSER */
/* div class=section erstattes med section i html5 */
.section {}
