body, form {
  padding: 0;
  margin: 0;
  font-family: sans-serif;
}
a[href] {
  color: #506de8;
}
#toppstrek a[href], #bunnstrek a[href], #meny a[href], #fokus a[href] {
  text-decoration: none;
}
a[href]:hover {
  text-decoration: underline !important;
}
a:visited {
  color: #7931a6;
}

a.topp {
  display: block;
  padding: 11px 0 3px 15px;
  background: white url("/pics/topptre/current.png") no-repeat right center;
}
#toppstrek {
  background-color: #8e9acc;
  font-weight: bold;
  font-size: 80%;
  text-align: right;
  padding: .5ex;
}
#toppstrek span, #toppstrek a {
  padding: 0 1em 0 2em;
  color: white;
  white-space: nowrap;
}
#bunnstrek td {
  font-size: 80%;
  border-top: .3em solid #8e9acc;
  padding: .5ex 1.5em;
  white-space: nowrap;
}
#endretdato {
  font-size: 85%;
  color: gray;
  float: right;
  margin: -1.8em 1em -1.5em .7em;
}

#midt {
  margin: 0 0 .5em 0;
}
#meny {
  width: 20%;
  background: #e8e8e8 url("/pics/no.gif") no-repeat right bottom;
  padding: 0.5em 0 0.5em 0.5em;
  vertical-align: top;
}
.regportal {
  padding-bottom: 175px !important;
}

#meny a {
  color: black;
  font-weight: bold;
  display: block;
  margin-top: 0.5em;
  padding: 0 0.5em;
  white-space: nowrap;
}
#meny div {
  margin-left: 0.5em;
}
#meny div div {
  font-size: 85%;
  padding-left: .5em;
}
#meny .sub, #meny div a {
  font-weight: normal;
  margin-top: 0;
}
#meny #aktiv {
  color: black;
  background-color: white;
  padding: 2px 0.5em 3px;
}

#meny #regweb a {
  padding-top: 3.5em;
  font-weight: bold;
  padding-left: 0
}

#innhold {
  padding: 0.7em 1em 1.3em 1em;
  vertical-align: top;
}

h1, h2, h3, h4, h5 {
  margin-bottom: 0;
  padding-bottom: 0;
  margin-top: 0;
  padding-top: 0;
}
h2 {
  margin-top: 1em;
}
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p {
  margin-top: 0;
  padding-top: 0;
}
h1 {
  font-size: 180%;
}
h2 {
  font-size: 120%;
}
h3 {
  font-size: 100%;
}

ul, ol {
  padding-top: 0;
  margin-top: 0;
}

#innhold p {
  margin: 0;
  padding: 0.15em 0 1em 0;
}

#innhold table {
  margin-bottom: 0.5em;
}

.meny dt {
  font-weight: bold;
}

/* "zebrastriper" for lange lister */
.zebra {
  background-color: #e8e8e8;
}

.ingress {
  font-size: larger;
}

.blaboks {
  background-color: #c3cae6;
  padding: 1ex;
}

.invers {
  color: white;
  background-color: #8e9acc;
}
.invers a, a.invers {
  color: white;
}

.o1 {
  margin-bottom: 1em;
  background: #e8e8e8 url("/pics/box-sw.gif") no-repeat bottom left;
}
.o2 {
  background: url("/pics/box-se.gif") no-repeat bottom right;
}
.o3 {
  background: url("/pics/box-nw.gif") no-repeat top left;
}
.o4 {
  background: url("/pics/box-ne.gif") no-repeat top right;
  padding: 1em 1em 0 1em;
}
.o4 .o1 {
  background: white url("/pics/box2-sw.png") no-repeat bottom left;
}
.o4 .o2 {
  background: url("/pics/box2-se.png") no-repeat bottom right;
}
.o4 .o3 {
  background: url("/pics/box2-nw.png") no-repeat top left;
}
.o4 .o4 {
  background: url("/pics/box2-ne.png") no-repeat top right;
  padding: 0 .5em 0 1em !important;
}
.o4 h2, .o4 h3 {
  padding-top: 0;
  margin-top: 0;
}

.punktliste th {
  color: #8e9acc;
  padding: 0.1em 0.5em;
  font-size: 120%;
}
#innhold .o4 table {
  margin: 0;
}

.tabramme {
  border-top: thin solid black;
  border-left: thin solid black;
}
.tabramme th, .tabramme td {
  border-right: thin solid black;
  border-bottom: thin solid black;
}
.tabramme th {
  color: white;
  background-color: #8e9acc;
}

#twitterlenke {
  text-decoration: none;
  font-size: 85%;
}
#twitterlenke img {
  margin-bottom: -1px;
}

#facebooklenke {
  text-decoration: none;
  font-size: 85%;
}
#facebooklenke img {
  margin-bottom: -1px;
}

#advarsel_utkast {
  background-color: #ffd95f;
  padding: 1em;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
}
#advarsel_utkast img {
  position: relative;
  top: 2px;
}

@media print {
  .noprint, #toppstrek, #meny, #meny1, #meny2 {
    display: none;
  }
  #bunnstrek {
    border-top: thin black solid;
  }

  .o1, .o2, .o3, .o4 {
    background-image: none;
  }
  .o1 {
    border: #e8e8e8 0.1em solid;
  }
}

img {
  border: 0;
}

