/**
 *  Copyright Kantega AS / Matematikksenteret
 *  :: Espen H?e / Kantega AS
 */

/* Design */

html{

}

body{
    width: 100%;
    min-width: 960px;
    font-family: verdana, sans-serif;
    font-size: 0.7em;
    background: #deb08c url("../gfx/backdrop-repeater.jpg") 50% 2px repeat-y;
}

h1, td.heading{
    font-size: 1.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

h2{
    font-size: 1.2em;
    margin-bottom: 0.5em;

}

h3{
    font-weight: bold;
    margin-bottom: 0.5em;
}
#forsidelink{
    height:73px;
    left:23px;
    position:absolute;
    text-indent:-9999px;
    top:13px;
    width:312px;
    z-index:100;
}
#forsidelink:hover{
    background-color: transparent;
}
#printlogo{
    display: none;
}
#design-bgtop{
    background: url("../gfx/ruteark-vtile.png") repeat-x;
    height: 265px;
    width: 100%;
    position: absolute;
    top: 0;

}

#page-container{
    width: 960px;
    margin: auto;
    position: relative;

    position: absolute;
    left: 50%;
    margin-left: -480px;
}

#design-top{
    background: url("../gfx/design-top.png") no-repeat top center;
    width: 100%;
    height: 525px;
    position: absolute;

}

#design-pagemid{
    /*  Note: height of this element is set
        with jquery where supported
    */
    background:transparent url(../gfx/bg-center-btm.png) repeat-y scroll -191px 0px;
    height:100%;
    margin-top:525px;
    position:absolute;
    top:0;
    width:950px;

}

/* Content */

#content-container{
    position: relative;
    margin-top: 168px;
    z-index: 10;
}

#content{
    float: right;
    width: 720px;
    padding:  0 10px 20px;
    margin-right: 10px;
    position: relative;
}

#main{
    width: 510px;

    float: left;
}

#sidebar{
    width: 190px;
    float: right;
    margin-top: 120px;

}

#forumlink{
    display:block;
    height:125px;
    position:absolute;
    right:22px;
    top:-77px;
    width:125px;
    text-indent: -9999px;
}
#sidebar #forumlink:hover{
    background:transparent url(../gfx/forum-highlight.png) no-repeat scroll center center;
}
#ressursnettlink{

    display:block;
    height:93px;
    position:absolute;
    right:60px;
    top:13px;
    width:145px;
    text-indent: -9999px;
}
#sidebar #ressursnettlink:hover{
    background:transparent url(../gfx/login-highlight.png) no-repeat scroll center center;

}
#sidebar .miniview{
    margin-bottom:15px;
    padding:15px 0 0;
    position:relative;
}

#sidebar .miniview .miniviewlapp{
    height:     100%;
    position:   absolute;
    width:      115%;
    z-index:    1;
}


/* Forside */
#toppbannere img{
    margin: 0;
    padding: 0;
}

#profilert-topp img{
}

a#profilert-topp:hover, a#profilert-1:hover, a#profilert-2:hover{
    background-color: transparent;
}

#profilert-topp{
    margin-bottom: 3px;
}
.profbilde{
    width: 245px;
    overflow: hidden;
}

a#profilert-1{
    float: left;
    margin: 20px 0 0 0;
}

a#profilert-2{
    float: right;
    margin: 20px 0;
}

#toppbannere{
    margin-bottom: 20px;
    width: 502px;
}

#mainmenu{
    width: 197px;
    margin-left: 9px;
    float: left;
    font-size: 0.85em;
    overflow: hidden;
}

#mainmenu ul{
    margin: 0;
}
#mainmenu ul li{
    font-size: 11px;
    list-style: none;
}

a{
    color: #005aa9;
}

.wainav{
    visibility: hidden;
    position: absolute;
}
#mainmenu ul li a{
    display:    block;
    height:     17px;
    margin-bottom:  1px;
    padding:    3px 0 0 5px;
    text-decoration:    none;
    font-weight: bold;
    white-space: nowrap;
}

#mainmenu ul li ul li{
    background-image: url("../gfx/menu-cross.png");
    background-position: 6px 6px;
    background-repeat: no-repeat;
    padding-left: 13px;
}

a{
    text-decoration: none;
}
a:hover, #mainmenu ul li a:hover{
    background-color: #ff0;
}
#sidebar a:hover{
    background: transparent;
}

#mainmenu ul li.selected a{
    background-color: #ff8;
}
#mainmenu ul li.selected li a{
    background-color: transparent;
}

#mainmenu ul li.selected li a:hover{
    background-color: #ff0;    
}

.clear{
    clear: both;
}

strong{
    font-weight: bold;
}

p{
    margin-bottom: 1em;

}

table{
    font-size: 1em;
    width: 100%;
}

table[border*="1"], table[border*="1"] td {
    border: 1px solid #000;
}

table.matrise td.matrisecelle, table.matrise td.matrise_har_harikke{
    border: 1px solid #aaa;
}

table thead{
    background: url(../gfx/tabell_innhold_2.png) repeat-x;
     border: 1px solid #aaa;
}

table .matrise_invers{
    background: url(../gfx/tabell_ingen_02.png) repeat-x;
    border: 1px solid #aaa;
    font-size: 1.1em;
}

table.matrise a.har_ikon{
    background: url("../gfx/tabell_innhold_2.png");
    display:block;
    height:25px;
    padding-top:10px;
    text-align:center;
    color: #fff;
    text-decoration: none;
}

table.matrise a.har_ikon:hover{
    background: url("../gfx/tabell_mouseover_2.png");
    border: 1px solid #fff;
    height: 23px;

}
.matrise_dropdown{
    background-color: #f1ebdb;
    padding: 20px;
}
table.matrise td.matrisecelle{
    background-color: #fff;
    height: 35px;
    padding-left: 5px;
}

table.matrise td.matrise_har_harikke{
    background: url("../gfx/tabell_ingen_02.png");
}

table.datatable tr {
    border-bottom: 1px solid #cccccc;
}

.quotation{
    font-style:italic;
    padding: 10px 100px;
}

.quotation_source{
    padding: 10px 100px;
}

.srUsability{
    text-indent: -9999px;
    color: transparent;
    display: block;
    position: absolute;
}

#searchbox{
    margin: 30px 0 20px 0;
    text-align: right;
}
#searchbox .phrase{
    width: 145px;
}


a.relatedLink{
    display:    block;
    left:       13px;
    margin-bottom:0;
    margin-top: 15px;
    position:   relative;
    text-decoration:none;
    z-index:    3;
}

.miniview .relatedLink{
    display:    block;
    left:       13px;
    margin-bottom:0;
    margin-top: 15px;
    position:   relative;
    text-decoration:none;
    z-index:    3;
    color: #000;
    font-size: 1.2em;
    font-weight: bold;
}

.miniview p{
    position: relative;
    z-index: 3;
    padding: 13px;


}
.miniview .relatedLink:hover{
    text-decoration: none;
}
div.artikkelbilde{
    float: right;
    width: 252px;
    margin-left: 5px;
}
img.artikkelbilde{
    border: 1px solid #000;
}

div.artikkelbilde p{
    font-style: italic;
    background-color: #eee;
    padding: 5px;
}
a.relatedLink:hover{
    background-color: transparent;
    text-decoration: underline;
}
#relatert-fritekst{
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;

}

.clear{
    clear: both;
}

img.align-right{
    float: right;
    margin: 5px 0 5px 5px;
}
img.align-left{
    float: left;
    margin: 5px 5px 5px 0;
}

.avansertsok{
    width: 510px;
    overflow: hidden;
}
.avansertsok form{
    clear: both;
    padding-top: 2em;
}

.avansertsok input, .avansertsok label{
    display: block;
}

.avansertsok p.sok-parent label{
    display: inline;
}
.avansertsok td.label{
    text-align: right;
    width: 14em;
    padding-right: 2em;
}

fieldset{
    border: 1px solid black;
    background: #eee;
    padding: 1em;
}

legend{
    font-size:1.2em;
    font-weight:bold;
    margin-left:2em;
    color: #000;
}
.avansertsok .button{
    width: 7em;
}
.sokeresultat .treff{
    margin: 10px 0;
}

.sokeresultat .treff .smulesti{
    color: #888;
}

#arkiv{
    width: 510px;
}

.liste{
    width: 100%;
}

#arkiv .liste tr{
    border-bottom: 1px solid #888;
}


#arkiv .arkivbilde{
    float: right;
}

#arkiv .liste td{
    vertical-align: top;
}

#nut_reveal{
    display: none;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    padding: 5px;
}

#nut{
    border-top: 2px solid #aaa;
    position: relative;
}

#nut-img{
    position: absolute;
    left: 0;
    top: 20px;

}

#nut-img2{
    position: absolute;
    right: 0;
    bottom: 0;
}

#nut .oppgave{
    margin: 20px 50px 0 95px;
}

.arr-info{
    color: #555;
}

#spm-tekstfelt{
    display: block;
    width: 400px;
    height: 75px;
}

.feilmelding{
    background:#FFCFCF none repeat scroll 0 0;
    border:1px solid red;
    margin-bottom:1em;
    padding:2em;
}

.respons{
    padding: 1em;
    border: 1px solid #888;
    background: #efefef;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    margin-bottom: 1em;
}
.sos-sporsmal, #nut_reveal{

    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    background:#EFEFEF none repeat scroll 0 0;
    border:1px solid #888888;
    padding:2em;
    font-weight: bold;

}

.sos-svar{
    margin-top: 2em;
    padding-left: 1em;

}

ul.sos li{
    padding-top: 2px;
}

.rowheading{
    font-weight: bold;
    padding-bottom: 5px;
    padding-top: 2em;
}

.liste .ingress{
    margin-bottom: 20px;
}

.listeelement .ingress{
    margin-bottom: 4px;
}

.listeelement{
    background:transparent none repeat scroll 0 0;
    padding:5px 0 0px;
}

.listeelement .overskrift{
    float: left;

}
.listeelement .bilde{
    float: right;

}

.listeelement .ingress{
    clear: left;
}

.prisinfo{
    margin-top: 1em;
}

.prisinfo .vedlegglenke{
    margin-left: 3em;
}

#utvidede_resultater{
    display: none;
}

/** Ansatt / Ansattliste **/
.ansattliste {
    margin-top: 2em;
}

.ansatt {
    margin-bottom: 2em;
}

.ansatt .personopplysning.navn {
    font-weight:bold;
    font-size: 1.1em;
}

.ansatt .personopplysning.stilling {
    margin-bottom: 1em;
}
.ansatt .personopplysning.utdanning, .ansatt .personopplysning.yrkeserfaring, .ansatt .personopplysning.kvalifikasjoner {
    margin-top: 1em;
}
.ansatt .personopplysning.utdanning .ledetekst, .ansatt .personopplysning.yrkeserfaring .ledetekst, .ansatt .personopplysning.kvalifikasjoner .ledetekst {
    display: block;
}

.ansatt .ledetekst {
    font-weight: bold;
}

.ansatt img {
    float: right;
}

.ansatt a.lesmer {
    margin-top: 1em;
}

a.lesmer {
    background: url("../images/pil_les_mer.gif") right center no-repeat;
    padding-right: 20px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.formElement .heading label {
    font-weight: bold;
}

.formElement  {
    padding-bottom: 15px;
    margin-right:10px;
}


.formElement div.checkbox div, .formElement div.radio div {
    line-height: 1.5em;
    vertical-align: middle;
}

div.error input, div.error textarea, div.error select, div.error div.inputs label {
    background-color: #ffcccc;
}

div.mandatory .heading label {
    background: url("../images/mandatory.png") right center no-repeat;
    padding-right: 20px;
}

div.nobreak {
    float:left;
}

.formError, .inputError {
    font-size: 1.2em;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #ff0000;
}

tr.forms-tableRow0 {

}

tr.forms-tableRow1 {
    background-color: #eee;
}