.stream { position:absolute;right:9999px;left:auto; }
/* Accessibility tr1ck50r */
.pgwrap .wrap a.stream:focus,
.pgwrap .wrap a.stream:active,
.pgwrap .wrap .stream a:focus,
.pgwrap .wrap .stream a:active {
  background : #fff;
  border : 1px solid #029;
  margin : 0;
  padding : 3px 5px;
  color: #c00;
  right : 0;
  z-index:9999;
  font-size : 1em;
  white-space : nowrap;
}
.pgwrap .wrap .stream a:focus,
.pgwrap .wrap .stream a:active {
  position : absolute;
  right : -9999px;
}

.print { display : none; }



/* ********************************** */
/* Basic Style Definitions            */
/* ********************************** */

html { overflow-y : scroll; }

body {
  background : #f6f6f6 url(i/body-bg.gif) repeat-x;
  margin : 0;
  padding : 0;
  color : #121212;
  line-height : 1.4;
  text-align : center;
  font-family : Arial, Helvetica, sans-serif;
}

body,
body.zoom1 { font-size : 12px;  ~font-size :  75.00%; }
body.zoom2 { font-size : 14px;  ~font-size :  87.50%; }
body.zoom3 { font-size : 18px;  ~font-size : 112.50%; }



div, table, caption { font-size : 1em; }


blockquote {
  margin : 0 3em 0 2em;
  padding : .3em .5em;
}
q:after, q:before { content : ""; }


p, blockquote, ul, ol, dl, table {
  margin-top : 0px;
  margin-bottom : .7em;
}
ul {
  list-style : none;
  padding : 0;
  margin : 0;
}
ol { padding-left : 3em; }
ul, ol  { margin-left : 0; }
li { margin : 0; padding : 0; }


a {
  color : #002E62;
  text-decoration: none;
}

a span {
  cursor : pointer;
  _cursor : hand;
}


acronym {
  cursor : help;
  border : none;
}
acronym:hover { border-bottom : 1px dotted #ddd; }


img {
  margin : 0;
  padding : 0;
  border : none; 
  vertical-align : top;
}


h1, h2, h3, h4 {
  margin-top : 0;
  margin-bottom : 0;
}
h1 {
  font-size : 1.33em;
  margin-bottom : .55em;
}
h2 {
  font-size : 1.17em;
  margin-top : 1.57em;
  margin-bottom : .55em;
}
h3 {
  font-size : 1.00em;
  margin-top : 1em;
  margin-bottom : .64em;
}
h4 {
  font-size : 0.92em;
  margin-bottom : .2em;
}




table { border-collapse : collapse; }
table, td, th, caption {
  border : none;
  background-color : transparent;
  padding : 0;
  text-align : left;
  vertical-align : top;
}
th acronym:hover { border : none; }
th.num,
td.num {
  text-align : right; 
  white-space : nowrap; 
}
th.tel,
td.tel {
  text-align : right; 
}






form { margin : 0; }

fieldset {
  padding : 0;
  margin : 0;
  border : none;
}

input,
select,
textarea {
  vertical-align : middle;
  font-family : Arial, Helvetica, sans-serif;
  font-size : 1em;
}
textarea {
  vertical-align : top;
  width: 99%;
}
select,
textarea,
.textinput,
.fi_txt input {
  border : 1px solid #bcbcbc;
  background : #fff;
  color : #000;
}

select:focus,
select:active,
textarea:focus,
textarea:active,
.textinput:focus,
.textinput:active,
.fi_txt input:focus,
.fi_txt input:active {
  border-color: #aaa;
}

.pgextra1 select,
.pgextra1 textarea,
.pgextra1 .textinput,
.pgextra1 .fi_txt input,
.pgextra2 select,
.pgextra2 textarea,
.pgextra2 .textinput,
.pgextra2 .fi_txt input { width : 98%; }

.button,
.fi_btn input {
  cursor : pointer; 
  _cursor : hand;
  background : #363636;
  border : 1px solid #d3d3d3;
  color : #fff;
}
.button:hover,
.button:focus,
.fi_btn input:hover,
.fi_btn input:focus {
  border-color : #000;
  background: #000;
}


.reqerror label,
.typeerror label {
  font-weight : bold;
  color : #c33;
}
.typeerror label { color : #936; }
.reqerror input,
.reqerror textarea,
.reqerror select { border : 1px solid #c33; }
.typeerror input,
.typeerror textarea,
.typeerror select { border : 1px solid #936; }


acronym.req {
  border : none;
  margin-right : -.25em;
  padding : 0 .25em 0 0;
}
acronym.req:hover { border : none; }






/* *****  clear  ***** */

.clear {
  padding:0; display:block; overflow:hidden; line-height:0; text-indent:-9999px; text-align:left; font-size:1px; letter-spacing:-1em;
  clear: both;
} 



/* ********************************** */
/* Page Canvas Definitions            */
/* ********************************** */

.pgwrap {
  position : relative;
  width : 976px;
  margin : 0 auto;
  text-align : left;
  background: url(i/pgwrap-bg.gif) repeat-y;
}



.pghead {
  background: url(i/ph-bg.gif) no-repeat;
  margin-bottom: -309px;
}

.pghead .wrap {
  height: 475px;
  background: url(i/ph-bg-wrap.png) no-repeat 5px 166px;
}

.sub .pghead .wrap { background-image: url(i/sub-ph-bg.gif); }

.pghead .brand {
  height: 56px;
  overflow: hidden;
}

.pghead .brand img.logo {
  vertical-align : top;
  margin: 11px 23px;
}

.en .pghead .brand {
  height: auto;
}

.en .pghead .brand img.logo {
  margin-top: 8px;
}


  
.pghead .stream { top : 10px; }  /* Accessibility tr1ck50r */


.pgmain {
  float : left;
  margin-left : 263px;
  width : 680px;
  _display : inline;
  min-height: 310px; _height: 310px;
}

.pgmain .wrap {
  padding-top: 12px;
  padding-bottom: 12px;
}

.sub .pgmain .wrap:after { display:block; clear:both; content:"."; visibility:hidden; font-size:1px; height:0; }

.pgextra1 {
  float : left;
  width : 170px;
  _display : inline;
  margin-left : -170px;
  _margin-left : -171px;
  min-height: 310px; _height: 310px;
}


.pgextra2 {
  float : left;
  width : 214px;
  margin-left : -916px;
  _display : inline;
  min-height: 310px; _height: 310px;
}


.pgfoot {
  clear : both;
  background: #f6f6f6 url(i/pgfoot-bg.gif) no-repeat;
  _height:0;min-height:0; /* ie hasLayout fix */
}


.pgfoot .wrap {
  padding: 5px 0 20px;
}



/*
  disposable helper fyrir canvas vinnu  
*/
.pgfoot .wrap,
.pgextra4 .wrap,
.pgextra3 .wrap,
.pgextra2 .wrap,
.pgextra1 .wrap,
.pgmain .wrap {
  _height:0;min-height:0;/* ie hasLayout fix */
}



/* ********************************** */
/* Generic Box Definitions            */
/* ********************************** */


.boxhead {
  padding-top : 0;
  margin-top: 0;
  font-family: Trebuchet MS;
}

.boxbody {
  _height:0;min-height:0;/* ie hasLayout fix */
  padding-bottom: 12px;
}
.boxbody:after { display:block; clear:both; content:"."; visibility:hidden; font-size:1px; height:0; }


.article h1,
.pgmain .boxhead {
  font-size: 1.5em;
  color: #002D61;
  border-bottom: 1px solid #B5B5B5;
  font-weight: normal;
  padding-top: 4px;
}

.pgmain .boxhead a {
  color: #7bb32f;
}


.noheader .boxhead { position:absolute;right:19999px;left:auto; }




/* ********************************** */
/* Definitions of Individual Items    */
/* ********************************** */


/* ******  meta  ****** */
.meta {
  color : #363636;
  display : block; 
  font-weight : normal;
  font-size : .92em;
}
.meta span { padding-right : .5em; }
.wrap .meta a:link,
.wrap .meta a:visited { color : #363636; }





/* ******  buttons  ****** */

.more,
.buttons,
.moreolder,
.archivelink {
  display : block;
  white-space : nowrap;
  height : 1.4em;
}
.buttons {
  margin-top : 1.33em;
  clear : both;
}
.wrap .more a,
.wrap .buttons a,
.wrap .moreolder a,
.wrap .archivelink a {
  float : left;
  padding : 0 10px 0 16px;
  background : url(i/more-arrow.gif) 0% 50% no-repeat;
  font-size: .92em;
}

div.wrap .buttons a {
  text-decoration: none;
  font-size: 1em;
  background: url(i/buttons-back.gif) no-repeat 0 55%;
  padding-left: 22px;
}

div.wrap .buttons a.btnback { padding-left: 16px; }
div.wrap .buttons a.senda { background-image: url(i/buttons-send.gif); }
div.wrap .buttons a.prenta { background-image: url(i/buttons-print.gif); }





/* ******  articlelist  ****** */

.articlelist .item {
  margin-bottom : 1em;
  width : 100%;
  overflow : hidden;
}
.articlelist .item h3 {
  font-size : 1em; 
  margin : 0;
}

.articlelist .item h3 .meta {
  line-height: 1;
}

.articlelist .summary { /* line-height : 1.4; */ }
.articlelist .summary p { margin : 0; }
.articlelist .more {}

.articlelist img {
  float : right;
  margin : .2em 0 .33em .5em;
  border: 1px solid #e6e6e6;
}
.articlelist img[align=left],
.articlelist img.left {
  float : left;
  margin : .2em .5em .33em 0;
}
.articlelist ul {
  clear : both;
  margin-bottom: .2em;
}

.articlelist li {
  padding-bottom : 1em;
  line-height: 1.2;
}

.articlelist li .meta {
  color: #363636;
}

.articlelist li a {
  font-size: .92em;
}






/* ******  quickbox (extends: articlelist)  ****** */


.quickbox {
  width: 342px;
  border-right: 1px solid #ddd;
  float: left;
  margin-bottom: 20px;
}

.quickbox-right {
  float: right;
  border: none;
  width: 321px;
}

.quickbox .boxbody {
  background: url(i/quickbox-top.gif) no-repeat;
  padding-top: 4px;
  padding-bottom: 0;
}

.quickbox .item {
  width: 324px;
  margin-bottom: 0;
}

.quickbox .item img {
  margin: 8px 6px .6em .6em;
}

.quickbox .item h3 {
  background: url(i/quickbox-head.gif) no-repeat 0 100%;
  color: #fff;
  text-transform: uppercase;
  padding: 4px 18px 10px;
  font-family: Avenir Black, Arial;
}

.quickbox .item h3 a {
  color: #fff;
  display : block;
}

.wrap .quickbox .item h3 a,
.wrap .quickbox .item h3 a:hover,
.wrap .quickbox .item h3 a:focus,
.wrap .quickbox .item h3 a:active { color: #fff; }

.quickbox .item .summary {
  padding: 4px 6px 0 6px;
  line-height: 1.5;
}


.quickbox .item .more {
  margin-top: .5em;
}









/* ******  article  ****** */


.article .boxbody a {
  text-decoration: underline;
}

.article .boxbody h2,
.article .boxbody h3,
.article .boxbody h4 {
  text-transform: uppercase;
  margin-bottom: .1em;
  color: #7BB32F;
}

.article .subtitle {
  clear : none;
  margin-top : -.54em;
  font-size : 1em;
  border: none;
}
.article .summary {
  color : #606060;
  padding : 4px 0;
  margin : 0 0 .7em 0;
}
.article .summary p { margin : 0; }

.article img { clear : both; vertical-align : text-bottom; border: 1px solid #f1f1f1; }
.article img.left { float : left;  margin : .2em 2em .2em 0; }
.article img.right { float : right;  margin : .2em 0 .5em 2em; }
.article img.center { float : none; display : block; margin : 0 auto .7em auto; text-align : center;}

.article .zoomlink { display: inline-block; position: relative; }
.article .img-left { float : left;  margin : .2em 2em .2em 0; }
.article .img-right { float : right;  margin : .2em 0 .5em 2em; }
.article .img-center { display: block; float: none; text-align : center;}

.article .img-right img,
.article .img-left img {
  margin: 0;
  float: none;
}

.article table { border : 1px solid #ddd; }

.article caption { 
  font-style : italic;
  padding : .2em 0;
  text-align : left;
}
.article th {
  font-weight : bold;
  padding : .3em .6em;
  border-top : 1px solid #eee;
  background-color : #5F95C9;
  color: #fff;
}
.article td {
  padding : .2em .6em;
  border-top : 1px solid #eee;
}
.article tr.alt td {
  background-color : #f8f8f8;
}

.article table.grid,
.article table.grid td {
  background : transparent none;
  border : none;
  padding : 0
}


.article ul {
  list-style : disc;
  padding-left : 2.5em;
  margin-bottom : .7em;
}
.article li { margin-bottom : .54em; }

.article .chapters h3 { border: none; }







/* ******  topbox (extends: article)  ****** */

.topbox {
  margin-bottom: 2em;
}

.topbox .boxbody {
  font-size: 1.1em;
  color: #606060;
  line-height: 1.5;
}

.topbox .boxbody p {
  margin-bottom: 0;
}

.topbox .imgbox {
  background: none;
  padding: 2px 0 0 0;
  background: url(i/topbox-img-top.png) no-repeat;
  _background-image: url(i/topbox-img-top.gif);
  width: 324px;
  margin: 5px -3px 0 12px;
}

.topbox .imgbox .boxbody {
  padding: 0 3px 4px;
  background: url(i/topbox-img-bot.png) no-repeat 0 100%;
  _background-image: url(i/topbox-img-bot.gif);
  display : block;
  text-align: center;
}

.topbox .imgbox img {
  border: none;
  padding: 0;
}







/* ******  imgbox  ****** */

.imgbox {
  //position : static;
  position: relative; /* Changed from static to accomodate abs position of magnifying glass */
  float : right;
  padding : 0 0 .75em 10px;
  margin : 0;
  width : auto;
  background: transparent;
}
.imgbox .boxbody {
  display : inline;
  padding : 0;
  margin : 0;
}
.imgbox img {
  clear : none;
  float : none;
  margin : 0;
  padding : 1px;
  border: 1px solid #D5D5D5;
  background: #fff;
}
.imgbox .imgcontent { width : 200px; }
.imgbox .imgtext {
  color : #333;
  font-weight : normal;
  font-size : .92em;
}
.imgbox .imgmeta {
  width : 200px;
  color : #666;
  font-weight : normal;
  font-size : .83em;
}

.pgextra1 .imgbox,
.pgextra2 .imgbox {
  float : none;
  padding : 0;
}
.pgextra1 .imgbox .imgboxbody,
.pgextra1 .imgbox .imgmeta,
.pgextra2 .imgbox .imgboxbody,
.pgextra2 .imgbox .imgmeta { width : auto; }



/* *** imgpopup *** */

.ipopup-curtain {
  position : fixed;
  _position: absolute;
  z-index: 99;
  width: 100%;
  height: 100%;
  _height: expression(document.body.offsetHeight + "px");
  top: 0;
  left: 0;
  text-align: center;
}

.ipopup-container {
  background: url(i/imgpop-top.png) 0 32px no-repeat;
  _background-image: url(i/imgpop-top.gif);
  position : absolute;
  z-index: 100;
  width: 100%;
  top: 32px;
  width: 712px;
  left: 50%;
  margin-left: -340px;
  padding-top: 65px;
}


.ipopup-container-wrapper {
  background: url(i/imgpop-bottom.png) 0  100% no-repeat;
  _background-image: url(i/imgpop-bottom.gif);
  padding: 0 36px 16px;
  width: 640px;
  position: relative;
}
.ipopup-container .img { display: block; text-align: center; }
.ipopup-container .image img {
  _width: 640px;max-width: 640px;
}
.ipopup-container .title { display : none; }
.ipopup-container .desc {
  width : 640px;
  padding : 25px 0;
  text-align : left;
  font-size: 16px;
  min-height: 18px;_height: 18px;
}

.ipopup-container a {
  cursor : pointer;
  _cursor : hand;
}
.ipopup-container a:hover,
.ipopup-container a:focus {
  text-decoration : underline;
}
.ipopup-container .status {
  position: absolute;
  right: 0;
  bottom: 11px;
}
.ipopup-container .stepper {
  padding: 0;
  text-align: center;
}
.ipopup-container .paging {
  position: absolute;
  margin-top: -22px;
  width: 640px;
  left: 20px;
  font-size: 1.09em;
}
.ipopup-container .paging li {
  float: none;
  margin: 0;
  display: inline;
  position: absolute;
  left: 50%;
  padding: 0 5px;
}
.ipopup-container .paging li.prev {
  border-right: 1px solid #676767;
  position: absolute;
  left: auto;
  right: 50%;
}
.ipopup-container .paging li.nav-end { display: none; }

.ipopup-container .paging .close {
  position: absolute;
  bottom: -4px;
  right: 0;
  left: auto;
  padding: 0;
}




/* ******  quizbox  ****** */

.quizbox .question { font-weight : bold; }
.quizbox h3 {
  margin : .5em 0;
}
.quizbox .thanks {
  color : #06b;
}
.quizbox ul {}
.quizbox li {
  margin-bottom : .5em;
  _height:0;min-height:0;/* ie hasLayout fix */
}
.quizbox label { display : inline; }
.quizbox .options li {}
.quizbox span.stat { display : block; }
.quizbox span.stat i {
  font-style : normal;
  color : #777;
  padding-left : .5em;
}
.quizbox span.bar {
  display : block; 
  background-color : #ddd;
}
.quizbox .results .bar img {
  height : .91em;
  background : #888;
}
.pgmain p.morequizes { overflow : hidden; }






/* ******  quizlist  ****** */

.quizlist .quiz {
  float : left;
  width : 45%;
  margin-right : 4.5%;
  _display : inline;
  padding-bottom : 1em;
  border-bottom : 1px solid #eee;
  margin-bottom : 1em;
  min-height : 23.5em;
  _height : 23.5em;
}
.quizlist .dates,
.quizlist .totalnum {
  clear : both;
  font-size : .92em;
  color : #777;
  margin : 0;
}
.quizlist .totalnum { margin-top : .7em; }
.quizlist .dates b,
.quizlist .totalnum b {
  float : left;
  margin-bottom : .09em;
  margin-right : .5em;
  font-weight : normal;
  width : 10em;
}






/* ******  contactform  ****** */

.contactform .boxbody {  padding-bottom : 2em; }

.contactform p { clear : both; }

.contactform .fi_txt,
.contactform .fi_bdy,
.contactform .fi_static { clear: left; margin-bottom : .5em; }

.contactform .fi_txt label,
.contactform .fi_bdy label,
.contactform .fi_static span {
  width : 9em;
  float : left;
  margin-top : .2em;
}
.contactform .fi_btn {
  margin-left : 9em;
  _margin-left : 9.2em;
}
.contactform textarea { width : 70%; }





/* ******  breadcrumbs  ****** */

.breadcrumbs {
  position : absolute;
  top : 149px;
  right : 31px;
  width : 600px;
  font-size : 0.92em;
  margin-top: -.7em;
  text-align: right;
  z-index: 10;
}

.home .breadcrumbs,
.breadcrumbs strong { position:absolute;right:9999px;left:auto; }

.breadcrumbs .boxbody { color: #363636; }

.breadcrumbs b a,
.breadcrumbs a {
  text-decoration : none;
  color : #363636;
  font-weight: normal;
}

.breadcrumbs i { font-style: normal; }

.wrap .breadcrumbs a:hover,
.wrap .breadcrumbs a:focus,
.wrap .breadcrumbs a:active { color: #000; }






/* ******  mnav  ****** */

.mnav {
  position : absolute;
  top: 81px;
  left: 5px;
  width: 966px;
  margin-top: -.7em;
  
}

.mnav .boxhead { position:absolute;right:9999px;left:auto; }

.mnav .boxbody {
  padding : 0;
  font-family: Trebuchet MS;
  text-transform: uppercase;
  font-size: 1.1em;
  font-weight: bold;
}

.mnav ul { padding-left: 12px; }
  
.mnav li { float: left; }

.mnav li a {
  float: left;
  color: #fff;
  padding: 8px 15px;
  display : block;
  _height:0;min-height:0; /* ie hasLayout fix */
}


.mnav li.parent a,
.mnav li.current a {
  background: #fff;
  color: #002E62;
  padding-left: 10px;
  padding-right: 10px;
  margin: 0 5px;
}

.wrap .mnav li a:hover,
.wrap .mnav li a:focus,
.wrap .mnav li a:active {
  background: #002E62;
  text-decoration: none;
  color: #fff;
}






/* ******  snav  ****** */

.snav {
  background: url(i/snav-top.png) no-repeat;
  _background-image: url(i/snav-top.gif);
  padding-top: 8px;
  margin-top: 13px;
  margin-bottom: 1em;
}

.snav .boxhead {
  position : absolute;
  top: 135px;
  left: 30px;
  margin-top: -.7em;
  font-size: 2.2em;
  color: #002E62;
  font-weight: normal;
  padding-top: 0;
  width: 912px;
}

.snav .boxbody {
  padding: 6px 5px;
  background: url(i/snav-bot.png) no-repeat 0 100%;
  _background-image: url(i/snav-bot.gif);
  _height:0;min-height:0; /* ie hasLayout fix */
}

.snav ul {
  _height:0;min-height:0; /* ie hasLayout fix */
}

.snav li span { ~display: none; }

.snav ul.level1 {
  margin-top: -10px;
  position : relative;
}
  
.snav li {
  background: url(i/snav-l1-a.gif) repeat-x 0 100%;
  _height:0;min-height:0; /* ie hasLayout fix */
}

.snav li a {
  border-top: 1px solid #d9d9d9;
  display : block;
  _height:0;min-height:0; /* ie hasLayout fix */
  padding: 5px 5px 6px 26px;
  background: url(i/arrow-green.gif) no-repeat 12px 1em;
}

.snav .parent,
.snav .current {
  background: #88d029 url(i/snav-l1-curr.gif) repeat-x;
}

.snav .parent a,
.snav .current a {
  font-weight: bold;
  color: #fff;
  background-image: url(i/arrow-blue.gif);
}

.wrap .snav a:hover,
.wrap .snav a:focus,
.wrap .snav a:active { color: #000; }

.wrap .snav .parent a:hover,
.wrap .snav .parent a:focus,
.wrap .snav .parent a:active,
.wrap .snav .current a:hover,
.wrap .snav .current a:focus,
.wrap .snav .current a:active {
  color: #fff;
}


/* l2 */

.snav .level2 li { background: none; }

.snav .level2 li a {
  color: #121212;
  font-size: .92em;
  background: #f6f6f6;
  font-weight: normal;
  padding: 6px 13px 4px;
  border: none;
}

.snav .level2 .current {
  border-top: 1px solid #D9D9D9;
  border-bottom: 1px solid #D9D9D9;
}


.snav .level2 .current a {
  background: #fff;
  margin-right: -5px;
  font-weight: bold;
}

.wrap .snav .level2 a:hover,
.wrap .snav .level2 a:focus,
.wrap .snav .level2 a:active { color: #000; }


/* l3 */

.snav .level2 .level3 li a {
  padding-left: 25px;
  font-weight: normal;
}

.snav .level2 .level3 .current a {
  font-weight: bold;
}

/* l4 */

.snav .level2 .level3 .level4 li a {
  padding-left: 35px;
  font-weight: normal;
}

.snav .level2 .level3 .level4 .current a {
  font-weight: bold;
}





/* ******  enav  ****** */

.enav {}

.enav .boxhead { position:absolute;right:9999px;left:auto; }
.enav ul {
  overflow : hidden;
  width : auto;
}
.enav li {
  float : left;
  display : inline;
  padding : 0 7px;
  border-left : 1px solid #ccc;
}
.enav li.cat1 { border : none; }

.enav .boxbody a {}

.enav .parent a,
.enav .current a { font-weight : bold; }





/* ******  flnav  ****** */

.flnav {
  position : absolute;
  top : 55px;
  margin-top : -.7em;
  right : 26px;
  width: 650px;
}

.flnav .boxhead { position:absolute;right:9999px;left:auto; }

.flnav .boxbody {
  font-size: .92em;
}

.flnav ul { float: right; }

.flnav li { float : left; }

.flnav .boxbody a {
  float: left;
  color: #363636;
  padding: 2px 6px 2px 8px;
  display : block;
  _height:0;min-height:0; /* ie hasLayout fix */
  background: url(i/flnav-sep.gif) no-repeat 0 55%;
}
  
.flnav li.cat1 a {
  border : none;
  background: none;
}

.flnav .parent a,
.flnav .current a { font-weight : bold; }

.wrap .flnav li a:hover,
.wrap .flnav li a:focus,
.wrap .flnav li a:active { color: #000; }






/* ******  monthlist ****** */
.pgmain td table.calendar {
  font-size : .92em;
}
.monthlist table.grid { width : 100%; }
.monthlist td {
  padding : 0 0 10px 0;
}

.events,
.monthlist {
  width : 100%;
  overflow : hidden;
}

.events .pager,
.monthlist .pager {
  padding-top : 5px;
  text-align : center;
}
.events .pager .prev,
.monthlist .pager .prev {
  float : left;
  padding-right : 7px;
  border-right : 1px solid #eee;
}
.events .pager .next,
.monthlist .pager .next {
  float : right;
  padding-left : 7px;
  border-left : 1px solid #eee;
}




/* ******  calendar  ****** */
.calendar { margin : 0; }
.pgextra1 .calendar,
.pgextra2 .calendar { width : 100%; }

.calendar caption {
  font-weight : bold;
  font-style : normal;
  text-align : center;
  padding : .1em;
  font-size : 1.08em;
}
.calendar th {
  text-align : center;
  font-size : .92em;
  padding : .2em;
  border-bottom : 1px solid #666;
}
.calendar td {
  padding : 0;
  text-align : right;
  border-bottom : 1px solid #ddd;
}
.calendar .sa { }
.calendar .su { color : #555; }
.calendar .o { }
.calendar .osa { }
.calendar .osu { }

.calendar td i,
.calendar td a {
  display : block;
  font-style : normal;
  padding : 2px;
}
.calendar td a:link,
.calendar td a:visited { font-weight : bold; }
.calendar td a:hover,
.calendar td a:focus,
.calendar td a:active { background-color : #eee; }




/* ******  advert  ****** */
.advert {
  text-align : center;
  overflow : hidden;
  width : 100%;
}
.advert .boxhead { text-align : left; }
.advert .boxbody { text-align : center; }
.advert img { margin-bottom : 1em; }





/* ******  loginform  ****** */
.loginform {}





/* ******  loginpagebox  ****** */

.loginpagebox label {
  width : 7em;
  float : left;
  margin-top : .2em;
}
.loginpagebox .submit,
.loginpagebox .fi_btn {
  margin-left : 7em;
}





/* ******  qsearch  ****** */

.qsearch {
  position : absolute;
  top : 26px;
  margin-top : -.7em;
  right : 0;
  width : 257px;
}

.qsearch .boxhead,
.qsearch label { position:absolute;right:9999px;left:auto; }

.qsearch .boxbody {
  padding : 0;
}

.qsearch .fi_txt input {
  width : 170px;
  border-color: #d3d3d3;
  padding: 2px 2px 1px;
}

.qsearch .fi_btn input {
  width : 4.4em;
  font-size : .92em;
  padding-top: 1px;
  padding-bottom: 1px;
}





/* ******  sitemap  ****** */
.sitemap .boxbody {
  font-weight : bold;
  font-size : 1.08em;
  padding-bottom : 3em;
}
.sitemap ul { width : 13em; }

.sitemap .level1 ul {
  margin : -3px 0 0 110px;
  _margin-bottom : -.5em;
  font-size : .92em;
  padding-bottom : 3px;
}
.sitemap ul.level3 {
  font-weight : normal;
  margin-left : 100px;
}
.sitemap ul.level4 {
  margin-left : 90px;
  font-size : 1em;
}
.sitemap li { margin-bottom : .5em; }

.sitemap a,
.sitemap i {
  display : block;
  padding : 2px 10px;
  background : #fff none 95% 45% no-repeat;
  background-color : #f8f8f8;
  border : 1px solid #ccc;
  _height:0;min-height:0;/* ie hasLayout fix */
}
.sitemap i {
  color : #999;
  font-style : normal;
  background-image : url(i/icn-lock.gif);
}
.sitemap .level2 a,
.sitemap .level2 i { border-color : #d9d9d9; }
.sitemap .level3 a,
.sitemap .level3 i { border-color : #e9e9e9; }

.sitemap .boxbody a:hover,
.sitemap .boxbody a:focus,
.sitemap .boxbody a:active { border-color : #c00; }
.sitemap .boxbody i:hover { border-color : #aaa; }






/* ****** mediagallery ****** */

.mediagallery {
  _height:0;min-height:0; /* ie hasLayout fix */
  margin-bottom : 1em;
}

.mediagallery .boxbody {
  text-align: center;
}

.mediagallery ul {
  width: 100%;
  overflow: hidden;
}

.mediagallery li {
  float: left;
  margin: 0 15px 15px;
  position : relative;
  _display: inline;
  text-align: center;
}

.mediagallery .pgr a {
}

.mediagallery .pgr a.next {
}

.mediagallery .pgs {
  clear: both;
}



/* albums (extends: mediagallery) */

.albums li {
}

.albums li a {
  overflow: hidden;
  display : block;
}

.albums li span.count {
}



/* imagelist (extends: mediagallery) */

.imagelist li {
}

.imagelist li a {
  height: 160px;
  width: 200px;
  vertical-align: middle;
  display: table-cell;
  ~padding-top : 90px;
  ~height : 90px;
  ~display: block;
}

.imagelist li img {
  ~margin-top: expression( this.runtimeStyle.marginTop=(-this.offsetHeight/2-1)+'px' );
}

.imagelist li a:hover img,
.imagelist li a:focus img,
.imagelist li a:active img {}



/* imgalbum-bigimage (extends: mediagallery) */

.singleimage img {
}

.singleimage .content:after { display:block; clear:both; content:"."; visibility:hidden; font-size:1px; height:0; }

.singleimage .imgcontent .imgtext {
  text-align: left;
  margin: 0;
}

.singleimage .pgs {
}





/* ******  people  ******* */

.people h3 {
}

.people table { 
  width: 100%; 
}

.people table th,
.people table td { 
  padding: 6px 6px 6px 11px;
  border-bottom: 1px solid #161717;
}

.people th.col1 { width: 30%; }
.people th.col2 { width: 37%; }
.people th.col3 { width: 16%; }
.people th.col4 { width: 27%; }

.people table th {
}

.people .even td {
  background : #fcfbd4;
}

.people table a {
}

.people table .netfang a {
}

.people .close {
  display : block;
  background : #161717  url(i/people-close.gif) 6px 50% no-repeat;
  border-right : 1px solid #161717;
  border-left : 1px solid #161717;
  padding : 3px 22px;
  color : #fff;
}
.people .close:hover {
  background-color : #999;
  color : #fff;
  text-decoration : none;
}
.people .open {
  display : none;
}
.people .subrow td {
  padding : 0;
}

/* ******  persona  ******* */
.persona .content {
  padding-bottom : 2em;
}

.persona h3 {
  font-size : 1.33em;
}
.persona ul {
}
.persona li {
  margin-bottom: .3em;
}

.persona li b {
  display : inline;
  font-weight : normal;
}
.persona .title b {
  font-weight : bold;
}
.persona .imgbox {
  padding : 0 20px .75em 0;
  float : left;
}


td .persona {
  padding : 15px 10px 13px 157px;
  margin : 0;
  width : auto;
  background : 0;
  border : 1px solid #513f17;
  border-top : none;
  border-bottom : none;
}
td .persona .content {
  _height : auto;
}


td .persona .content {
  padding : 0;
  _height:142px;min-height:142px;
}
td .persona h3 {
  font-size : 1.67em;
  margin-top : 0;
  padding-top : 10px;
  padding-bottom : 5px;
}
td .persona .imgbox {
  padding-bottom : 0;
  margin : 0 0 0 -116px;
}
td .persona .imgbox img {
  border : 1px solid #fff;
  padding : 0;
  max-height : 140px;
  max-widtht : 105px;
}

td .persona .info {
  margin-right : 20px;
}






/* ******  footer  ****** */

.footer {
  background: #002E62;
  width: 937px;
  margin-left: 20px;
  position : relative;
  margin-top: -10px;
  float: left;
  _display: inline;
}

.footer .boxhead { display : none; }

.footer .boxbody {
  color: #fff;
  font-size: .92em;
  padding: 5px 82px;
}

.footer .boxbody p {
  margin: 0;
}

.footer .boxbody em {
  margin: 0 3px;
}

.footer .boxbody a {
  color: #fff;
  text-decoration: underline;
}

.footer .boxbody a:hover,
.footer .boxbody a:focus,
.footer .boxbody a:active {
  text-decoration: none;
  color: #fff;
}





/* ******  byggiraeplica  ****** */

.byggiraeplica {
  padding-top : 20px;
  padding-bottom: 50px;
  text-align : right;
  _height:0;min-height:0; /* ie hasLayout fix */
  background: #f6f6f6;
  clear: both;
}
.byggiraeplica a {
  /* inline IR */display:inline-block; overflow:hidden; width:0; height:1px; font-size:1px; line-height:0; vertical-align:-2px;
  padding-left : 135px;
  padding-top : 19px;
  background : url(http://codecentre.eplica.is/f/ba_e2-b50.png) 0 0 no-repeat;
  _background-image : none;
  _filter : progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://codecentre.eplica.is/f/ba_e2-b50.png',sizingMethod='crop');
}





/* ******  imgbanner  ****** */
.imgbanner {}





/* ****** pagestyle  ****** */

.pagestyle { 
  position : absolute;
  top : 16px;
  right : 258px;
}

.pagestyle .boxhead { position:absolute;right:9999px;left:auto; }

.pagestyle ul { float: right; }

.pagestyle li { float : left; }

.pagestyle a {
  /* image replacement */padding:0; display:block; overflow:hidden; border:none; line-height:0; text-indent:-9999em; font-size:1px; letter-spacing:-1em;
  width: 26px;
  height: 26px;
  background : url(i/font-dwn.gif) no-repeat;
  float: left;
}

.pagestyle .up a { background-image : url(i/font-up.gif); }

.pagestyle .userstyles a { background-image : url(i/font-alt.gif); }

.pagestyle a:hover,
.pagestyle a:focus,
.pagestyle a:active {
  background-position: 0 -26px;
}




/* *** JabRef reference *** */

.jm #qs {
  width: auto;
  border-style: solid;
  border-color: gray;
  border-width: 1px 1px 1px 1px;
  padding: 0.5em 0.5em;
  display:none;
  position:relative;
}
.jm #qs form {
  padding: 0px;
  margin: 0px;
}
.jm #qs form p {
  padding: 0px;
  margin: 0px;
}

.jm .invalidsearch { background-color: red; }

.jm table {
  border: 1px gray none;
  width: 100%;
  empty-cells: show;
  border-spacing: 0em 0.3em;
  margin-top: 1em;
}
.jm th,
.jm td {
  border-width: 0px 0px;
  border-color: gray;
  border-style: solid;
  padding: 0.5em;
  vertical-align: top;
}
.jm td {
  text-align: justify;
  vertical-align: top;
}

.jm td a {
  color: navy;
  text-decoration: none;
}
.jm td a:hover { text-decoration: underline; }

.jm tr.noshow { display: none;}

.jm tr.highlight td {
  background-color: #F1F1F1;
  border-top: 2px black solid;
  font-weight: bold;
}
.jm tr.abstract td,
.jm tr.review td,
.jm tr.bibtex td {
  background-color: #F1F1F1;
  border-bottom: 2px black solid;
  text-align: justify;
}
.jm tr.nextshow td {
  border-bottom: none;
}

.jm tr.bibtex pre {
  width: 100%;
  overflow: auto;
  white-space: normal;
}

.jm p.infolinks {
  margin: 0.5em 0em 0em 0em;
  padding: 0px;
}

.jm #qssettings {
  padding: 0.5em;
  position: absolute;
  top: 0.2em;
  right: 0.2em;
  border: 1px gray solid;
  background-color: white;
  display: none;
}
.jm #qssettings p {
  font-weight: bold;
  cursor: pointer;
}
.jm #qssettings ul {
  display: none;
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}
.jm #qssettings.active ul { display: block; }





/* ******  links  ****** */
div.wrap a:hover,
div.wrap a:focus,
div.wrap a:active { color : #4274a5;  text-decoration : underline; }
body a[name],
body a[name]:hover { color : inherit; text-decoration : inherit; }






/**********************/
/*******  HOME  *******/
/**********************/


/* ***  layout  *** */

.home .pghead {
  margin-bottom: -193px;
}

.home .pghead .wrap {
  background: url(i/home/ph-bg.gif) no-repeat 5px 108px;
}

.home .pgmain {
  margin: 0;
  width: 100%;
}

.home .pgmain .wrap {
  padding-left: 18px;
}

.home .pgextra2 {
  _height:0;min-height:0; /* ie hasLayout fix */
}



/* ***  box  *** */


.home .boxhead {
  text-transform: uppercase;
}



.sbox {
  width: 353px;
  margin-left: 15px;
  _display: inline;
  float: left;
}

.sbox-short {
  width: 174px;
}

.sbox-long {
  width: 531px;
}

.sbox .boxhead {
  border-bottom: 2px solid #aaa;
  color: #002E62;
  font-weight: normal;
  font-size: 1em;
  font-family: Arial;
  padding-top: 12px;
  margin-bottom: .8em;
}

.sbox .boxbody {
  padding-right: 20px;
  padding-bottom: 24px;
}




.ebox-wrapper {
  background: url(i/home/ebox-bottom.png) no-repeat 0 100%;
  _background-image: url(i/home/ebox-bottom.gif);
  width: 924px;
  margin-left: 8px;
}

.ebox-wrapper:after { display:block; clear:both; content:"."; visibility:hidden; font-size:1px; height:0; }


.ebox {
  width: 177px;
  margin: -19px 2px 0 5px;
  _display: inline;
  float: left;
  position : relative;
  z-index: 10;
  background: url(i/home/ebox-top.gif) no-repeat;
  
}

.ebox .boxhead {
  position : absolute;
  left: 3px;
  top: 9px;
  color: #fff;
  font-size: 1em;
  margin-top: -.7em;
  width: 143px;
  padding: 7px 14px 5px;
  background: no-repeat 100% 50%;
  font-family: Avenir Medium, Arial;
  font-weight: bold;
}

.ebox .boxhead a,
.ebox .boxhead a:hover,
.ebox .boxhead a:focus,
.ebox .boxhead a:active { color: #fff; }

.ebox .boxhead a {
  display : block;
  _height:0;min-height:0; /* ie hasLayout fix */
}

.ebox-1 .boxhead { background-image: url(i/home/ebox-img1.gif); }
.ebox-2 .boxhead { background-image: url(i/home/ebox-img2.gif); }
.ebox-3 .boxhead { background-image: url(i/home/ebox-img3.gif); }
.ebox-4 .boxhead { background-image: url(i/home/ebox-img4.gif); }
.ebox-5 .boxhead { background-image: url(i/home/ebox-img5.gif); }
.ebox-6 .boxhead { background-image: url(i/home/ebox-img6.gif); }
.ebox-7 .boxhead { background-image: url(i/home/ebox-img7.gif); }
.ebox-8 .boxhead { background-image: url(i/home/ebox-img8.gif); }
.ebox-9 .boxhead { background-image: url(i/home/ebox-img9.gif); }
.ebox-10 .boxhead { background-image: url(i/home/ebox-img10.gif); }

.ebox .boxbody {
  padding: 37px 12px 12px 16px;
  font-size: .92em;
  color: #525252;
  line-height: 1.5;
  font-family: Avenir Medium, Arial;
}

.ebox .boxbody h3 { position:absolute;right:9999px;left:auto; }



/* ***  articlelist  *** */


.home .articlelist .item img {
  float: left;
  margin: 2px 7px .3em 0;
  border: 2px solid #B3B3B3;
}


/* ***  news (extends: articlelist)  *** */

.home .news .firstitem h3 {
  font-size: 1.2em;
  margin-bottom: .2em;
}

.home .news .firstitem h3 .meta {
  font-size: .75em;
}



.home .news .item .more {
  padding-top: 8px;
}



/* ***  mserver  *** */

.mserver .boxbody {
  border: 1px solid #eee;
  background: #F6F6F6;
  padding: 4px 7px;
  line-height: 1.5;
}

.mserver li {
  padding-bottom: .6em;
}

.mserver li a {
  padding-left: 10px;
  background: url(i/dot-box.png) no-repeat 0 .6em;
  display: block;
}



/* ***  fnav  *** */

.fnav .boxhead {
  margin-bottom: 0;
}

.fnav .boxbody {
  padding: 0;
}

.fnav li a {
  border-bottom: 1px solid #ddd;
  padding: 5px 16px 3px;
  display : block;
  _height:0;min-height:0; /* ie hasLayout fix */
  background: url(i/fnav-arrow.gif) no-repeat 1px .7em;
  font-size: .92em;
}

.wrap .fnav a:hover,
.wrap .fnav a:focus,
.wrap .fnav a:active {
  background-color: #f5f5f5;
  color: #000;
  text-decoration: none;
}




/* ***  imgbanner  *** */

.home .imgbanner {
  position : absolute;
  top: 125px;
  left: 21px;
  z-index: 1;
}


/* defintions for magnifying glass span element which is added to the DOM via JQuery */
span.magnify {
  width: 20px;
  height: 17px;
  background: url(i/icon_magnify.png) no-repeat;
  position: absolute;
  right: 0;
  top: 0;
}


/* *** unu *** */
.unu {
  border:1px solid #EAEAEA;
  margin:9px 0 15px 15px;
  padding:9px;
  width:154px;
}
.unu .boxbody {
  padding:0;
}
.unu li {
  padding: 0.2em 0;
}
.unu li a {
  background: url(i/dot-box.png) no-repeat 0 0.45em;
  display:block;
  padding-left:10px;
}
.unu .boxhead a,
.unu .boxhead {
  background:transparent url(i/unu-bh.png) no-repeat scroll 0 0;
  border:0 none;
  display:block;
  font-size:1px;
  height:79px;
  letter-spacing:-1em;
  line-height:0;
  overflow:hidden;
  padding:0;
  text-align:left;
  text-indent:-9999px;
  width:153px;
}
.fnav {
  float:right;
  margin-right:34px;
  margin-bottom:35px; /* this is only so the 'unu' box drops below 'web portals'  */
}

