div#mainContainer {
  overflow: hidden;
  width: 840px;
  padding-bottom: 9500px;
  margin-bottom: -9500px;
}

div#mainWrapper {
  position: relative;
  width: 840px;
  padding-bottom: 10000px;
  margin-bottom: -10000px;
}

div#buffer {
  width: 271px;
  background-color: #990000;
  float: left;
  position: relative;
  padding-bottom: 10000px;
  margin-bottom: -10000px;
}
  div#buffer div.logo {
    position: relative;
    top: 200px;
  }


/* English link */
a#langsel {
  position: absolute;
  background: url(../images/icelandic.jpg) no-repeat;
  width: 61px;
  height: 24px;
  top: 0;
  left: 900px;
  z-index: 1;
}

div#mainContent {
  float: left;
  margin-bottom: 30px;
}

.topMenuItem {
  margin-left: 10px;
  _margin-left: 5px;
  float: left;
  position: relative;
  padding-bottom: 10000px;
  margin-bottom: -10000px;
}
  .topMenuItem a {
    display: block;
    width: 22px;
    padding-bottom: 10000px;
    margin-bottom: -10000px;
  }
    .topMenuItem a span {
      display: none;
    }

.content {
  padding-left: 2px;
  float: left;
  position: relative;
  padding-bottom: 10000px;
  margin-bottom: -10000px;
}

  div#mainContent div.contentArea {
    float: left;
    width: 300px;
    text-align: center;
  }
    div#mainContent div.contentArea .wrapper {
      position: relative;
      top: 30px;
      text-align: left;
      margin: 0 auto;
      width: 245px;
    }
  div#mainContent div.menu {
    padding-bottom: 9000em;
  	margin-bottom: -9000em;
    float: left;
    width: 170px;
  }
  div.modulelist {
    width: 150px;
  }
  .modulelist ul li {
    margin: 0;
    padding: 0;
  }
    div#mainContent div.menu .wrapper {
      margin-top: 267px;
      margin-left: 18px;
    }
    div#mainContent div.menu ul {
      padding: 0;
      margin: 0;
    }
      div#mainContent div.menu ul li {
        list-style: none;
      }
        div#mainContent div.menu ul li a {
          display: block;
          text-transform: uppercase;
          font-weight: bold;
          text-decoration: none;
          padding-bottom: 6px;
          padding-top: 5px;
        }

        /* ahs arnór  fyrir leftmenu litla (sub) */
        div#mainContent div.menu ul li.secmenu a {
          font-size: 11px;
          letter-spacing: 0px;
        }

        div#mainContent div.menu ul li.subsecmenu a {
          font-size: 11px;
        }
        div#mainContent div.menu ul li.subsecmenu2 a {
          font-size: 10px;
        }
        div#mainContent div.menu ul li.subsecmenu3 a {
          font-size: 9px;
					padding-left: 5px;
					color: #fff;
        }
        div.menu a {
        
            font-size: 11px;
        }

/* Boxin */
#first div.topMenuItem {
  background-image: url(../images/emenu-first.gif);
  background-repeat: no-repeat;
  background-position: 0 275px;
}
#second div.topMenuItem {
  background-image: url(../images/emenu-second.gif);
  background-repeat: no-repeat;
  background-position: 0 275px;
}
#third div.topMenuItem {
  background-image: url(../images/emenu-third.gif);
  background-repeat: no-repeat;
  background-position: 0 275px;
}

#first div.menu {
  background-image: url(../images/delx-first.gif);
  background-repeat:  repeat-y;
}
#second div.menu {
  background-image: url(../images/delx-second.gif);
  background-repeat:  repeat-y;
}
#third div.menu {
  background-image: url(../images/delx-third.gif);
  background-repeat:  repeat-y;
}

  #first div.menu ul li a {
    background-image: url(../images/dely-first.gif);
    background-position: bottom;
    background-repeat: repeat-x;
    color: #006666;
  }
  #first div.menu ul li.subsecmenu a {
    color: #ffffff;
  }
  
  #second div.menu ul li a {
    background-image: url(../images/dely-second.gif);
    background-position: bottom;
    background-repeat: repeat-x;
    color: #460100;
  }
  #second div.menu ul li.subsecmenu a {
    color: #ffffff;
  }

  #third div.menu ul li a {
    background-image: url(../images/dely-third.gif);
    background-position: bottom;
    background-repeat: repeat-x;
    color: #003366;
  }
  #third div.menu ul li.subsecmenu a {
    color: #ffffff;
  }




#first .content {
  background-image: url(../images/delx-first.gif);
  background-repeat:  repeat-y;
}
#second .content {
  background-image: url(../images/delx-second.gif);
  background-repeat:  repeat-y;
}
#third .content {
  background-image: url(../images/delx-third.gif);
  background-repeat:  repeat-y;
}


/* Litir fyrir boxin */
#first div {
  background-color: #99cccc;
}
#second div {
  background-color: #990000;
}
  #first div p, #second div p, #third div p {
    color: #fff;
  }
  #first, #second, #third {
    float: left;
  }
#third div {
  background-color: #0099cb;
}

/** Almennir klasar **/
.clear {
  clear: both;
}

/* Mos fixes */

table {
  margin: 0;
  padding: 0;
}


a.th {
    padding:0;
    
}
a.th img {
    padding:0;
    margin:0;
}


a.subsecmenu2 {
    font-size: 11px;
}

/* Style for nform */
.componentheading {
  font-size: 11px;
}

#nform td {
  font-size: 11px;
}
#nform td.nf_left {
    text-align: right;
    width: 35%;
    font-size: 11px;
}
