* {
    box-sizing: border-box;
  }
body {
    display: flex;
    flex-flow: column nowrap;
    --h: 100dvh;
    width: 100%;
    margin: 0px;
    height: var(--h);
    background-color: #f5f5f5;
    overflow: hidden;
}

/* Element | https://ub-www02.uio.no/hk12/ */

body > header:nth-child(1) {
    display: flex;
    flex-flow: column nowrap;
    height: 12.5%;
    background-color: rgba(0,0,0,.0625);
}
header img {
    height: 50%;
    margin-top:0.25%;
}
#innhold {
    display: flex;
    flex-flow: row nowrap;
    height: 87.5%;
    width: 100%;
    background-color: whitesmoke;
}

body > footer:nth-child(3) {
    height: 10%;
    background-color: black;
    display:flex;
    flex-flow:row nowrap;
    align-items:flex-start;
}
footer img {
    height: 90%;
    margin: auto;
    margin-left:1%;
    margin-right:1%;
}
#kontaktinfof {
    color:whitesmoke;
    margin:auto;
    margin-left:0px;
}
#nav {
    width: 15%;
    height: 100%;
    display: flex;
    flex-flow: row wrap;
    border-right:1px solid black;
}


#hovedinnhold {
    width: 85%;
    display:flex;
    flex-flow: row wrap;
    overflow-y:scroll;
    justify-content: center;
    gap:1em;
}
#cardreference {
    width:100%;
    text-align:center;
    margin-top:1em;
    margin-bottom: 0px;
}
#cardreferencePara {
    width: 100%;
    text-align: center;
}
.miniatyr {
    flex-shrink: 4;
    flex:auto;
    flex-grow: 0;
    max-height: 400px;
    max-width: 400px;
    overflow:hidden;
    border: 1px solid grey;
    text-align:center;
}
#base-header {
    background-color: rgba(0,0,0,.0625);
}
.miniatyrtekst {
    position:relative;
    color:black;
    z-index:5;
    text-decoration: none;
    background-color:#fff;
    width: 100%;
    border-top: 1px #00000082 solid;
}
.imgTile {
    flex-shrink: 4;
    flex:auto;
    flex-grow: 0;
    max-height: 400px;
    max-width: 400px;
    transform:scale(1.3) translateY(20px);
}
#kommentarer {
    width:100%;
}
.l1btn {
    height: 3.222%;
    line-height: 1.5em;
    list-style-type: none;
    width:1.5em;
    text-align:center;
}
.l1btn:hover {
    background-color:white;
    font-weight:bold;
}
.l1btn:active {
    background-color:greenyellow;
    color:white;
    font-weight:bold;
}
.l1btn p {
    margin:auto;
}
.l2btn {
    margin: 1px;
    border: 1px solid grey;
}
.l2btn-active {
    font-weight: bold;
    padding-left:1em;
    padding-top:0.25em;
    background-color: lightblue;
}
#navwrap {
    display: flex;
    flex-flow: row nowrap;
    height: 98%;
    width: 100%;
    min-height:130px;
}
ul {
    padding:0px;
}
.navActive {
    background-color: lightblue;
}
#navbar_l1 {
    display: flex;
    flex-flow: column nowrap;
    height:96.5%;
    background-color: #b0c4de3d;
    width:9%;
    align-items: center;
}
#navbar_l2 {
    display: flex;
    flex-flow: column nowrap;
    overflow-y: scroll;
    height:96.5%;
    width: 100%;
}
#navbar_l2 .noCursorBtnTxt {
    text-align:left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

ul {
    margin: 0px;
}
#navsbcontainer {
    width: 100%;
    align-content: center;
}

#searchinput {
    width:90%;
    font-size: larger;
    flex-grow: 1;
}
#sbcb {
    width:10%;
    height:100%;
    margin:auto;
    border: 1px solid grey;
}

#lukkeknapplightbox {
    position: absolute;
    top: 5%;
    right: 5%;
    border: none;
}

.xknapp {
    color: red;
    font-size:larger;
    background: none;
    padding: 0px;
}

h1 {
    margin:0px;
}
#hkitittel {
    font-size:calc(var(--h)/45);
    width: 100%;
    margin-left: 2.5%;
}
#bestTxtDn {
    font-size:calc((var(--h)/42)/2);
}
#hkingress {
    align-self: flex-end;
    font-size: calc((var(--h)/40)/2);
}

p {
    margin:0px;
}
#sbcbd {
    height: 100%;
    padding-top: 25%;
    background-color: salmon;
    margin: 0px;
    text-align:center;
}



#uio-header {
    height: 20%;
    padding-left: 8px;
    background-color: black;
}


#header-bottom {
    height: 90%;
    width:100%;
    display: flex;
    flex-flow: row wrap;
}

#metanav {
    width:100%;
    background-color:rgb(215, 215, 215);
    border-bottom: 1px rgba(0,0,0,.125) solid;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 1%;
}

#metanav button {
    margin-top: 0.1em;
    max-height:96%;
    color:black;
    font-size: large;
    border-radius: 8px;
    border: 1px solid grey;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 15%;
    white-space: nowrap;
}
#metanav button:hover {
    color:black;
}

#header-bottom > div:nth-child(1) {
    flex-shrink: 4;
    display: flex;
    flex-flow: column wrap;
}
.aboutpara {
    font-size:large;
}
.noCursorBtnTxt {
    margin:0px;
    font-size:large;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
    supported by Chrome, Edge, Opera and Firefox */
}

#mediacontainer {
    position: absolute;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
#lightbox {
    max-width: 100%;
}
#lightboxBLK {
    background-color: black;
    opacity:66%;
    height:100%;
    width:100%;
    position:absolute;
    z-index: 5;
}
#lightbox-imgtitle {
    width: 10%;
    z-index: 6;
    border-top-left-radius: 10px;
    background-color: #f7f7f7e3;
    color: black;
    font-style: italic;
    font-weight: bold;
    text-align: center;
    padding: 2px;
    border-top-right-radius: 10px;
    border-bottom:1px solid black;
}
#orderview {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 98%;
    padding-top: 0.5%;
    padding-bottom: 0.25%;
    justify-content: space-evenly;
    background-color: #f7f7f7e3;
    z-index: 10;
}

#bestillingsskjema {
    width: 10%;
    flex-basis: 15%;
}

#medialink {
    cursor: zoom-in;
    max-width: 50%;
    max-height: 100%;
}

#tekstinnhold {
    margin-left:10%;
    margin-right:10%;
    overflow-y:scroll;
    height:100%;
    width:100%;
    padding-bottom:2%;
}
#tekstinnhold ul {
    margin: 1em;
    padding: 0.25em;
}
#tekstinnhold p {
    padding: 0.25em;
}


.skjelett {
    position:absolute;
    left:-2000px;
}

.fadeIn3 {
    animation: fadeIn 3s;
}
.fadeIn1 {
    animation: fadeIn 1s;
}
.fadeInS {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}

#tempcontainer {
    padding:8%;padding-top:0px;
}
.lhjosnhj {
    font-size:calc(var(--h)/45);
}
#kpinjgojsnjl {
    color:grey;font-style:italic;
}
#pkiajgoargorn {
    font-style:italic;
}
.pkdjmgopigijewd {
    color:rgb(134, 134, 177);
}
.tablejungiojuaenrga {
    padding-left: 40px;
    margin-left: 40px;
}
#loader-text {
    text-align: center;margin: auto;font-size: larger;position: absolute;top: 25%;left: 50%;
}
#loader {
    position: absolute;background-color: lightgrey;width: 100%;height: 100dvh; cursor: wait;
}
#ouignojhregaou {
    color:white;text-decoration:none;font-family:arial;
}
.nonscroll {
    overflow: hidden;
}
.scrollable {
    overflow: scroll;
}