/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video
{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

html
{
    -webkit-text-size-adjust: none;
    /* Prevent font scaling in iPhone landscape */
}

body
{
    background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/body_bg.png);
    background-repeat: repeat-x;
    background-color: #FFFFFF;
    color: #2B292C;
    font-family: Georgia,Times,Arial,Helvetica,sans-serif;
    font-size: 75%;
}

div { position: relative; }

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

p {
    margin-bottom: 1.2%;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after { content: none; }

table
{
    border-collapse: collapse;
    border-spacing: 0;
}

h1
{
    color: #2B292C;
    font-size: 2.0em;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 0;
    padding-bottom: 3px;
    padding-top: 0;
}

.forside H1
{
    position: absolute;
    top: 100px;
    z-index: -3;
}

h2
{
    margin-top: 10px;
    padding-top: 0px;
    margin-bottom: 2px;
    padding-bottom: 0px;
    font-size: 1.2em;
}

h3, h4
{
    margin-top: 10px;
    padding-top: 0px;
    margin-bottom: 2px;
    padding-bottom: 0px;
    font-size: 1.0em;
}

p.nospace
{
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

p
{
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 6px;
}

ul
{
    /* list-style-image: url(/National_Library/oe_/https://www.kongehuset.no/images/listeprikker.gif); */
    margin-top: 0px;
    padding-top: 0px;
}

.ingressCont
{
    color: #2B292C;
    font-size: 130%;
}

.brodtekstCont li
{
    list-style: disc;
    margin-left: 14px;
}

.headerTextLarge
{
    color: #2b292c;
    font-size: 30px;
}

.stikktittel
{
    color: #2b292c;
    font-size: 1.0em;
}

.ingress
{
    color: #2b292c;
    font-size: 1.35em;
    line-height: 120%;
}

#wrapper
{
    width: 100%;
    max-width: 962px;
    margin: 0 auto;
}

#pagewrapper
{
    margin: 0 auto;
    padding: 0 1%;
}

.sorgerand #pagewrapper
{
    border: 10px solid black;
    padding-bottom: 20px;
}

#header,
#navigation,
#content,
#footer
{
    width: 100%;
    float: left;
}

#header { height: 147px; }

.headerlogo
{
    width: 385px;
    height: 100px;
    position: relative;
    top: 24px;
    background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/jubileum_80/logo_norsk.png);
    background-repeat: no-repeat;
    background-size: 385px 101px;
}

.nettstedssprak-engelsk .headerlogo
{
    background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/jubileum_80/logo_engelsk.png);
    background-size: 450px 101px;
    width: 450px;
}

.nettstedssprak-samisk .headerlogo
{
    background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/jubileum_80/logo_samisk.png);
    background-size: 411px 101px;
    width: 411px;
}

.nettstedssprak-engelsk li.barnesider { display: none; }
.nettstedssprak-samisk li.barnesider { display: none; }
#footerlinks .barnesider { display: none; }

#footerlinks .barnesider {
    display: none;
}

.headerlogo a
{
    display: block;
    width: 100%;
    height: 100%;
}

#headerlogotekst { display: none; }
#navigation { height: 40px; }

#navigation ul li,
#footer ul li,
.sprakvalg li
{
    float: left;
    color: #666666;
    font-family: "trebuchet ms",sans-serif;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0em;
    text-decoration: none;
    text-transform: uppercase;
}

#header .sprakvalg
{
    float: right;
    margin-top: 10px;
    width: 180px;
}

#footer .sprakvalg { display: none; }

#navigation ul li span.menuspacer,
#footer ul li span.menuspacer
{
    margin: 0 6px 0 6px;
    display: block;
    float: left;
    text-transform: lowercase;
}

#navigation ul li#menypunkt_112472 .menuspacer,
#navigation ul li#menypunkt_113027 .menuspacer { display: none; }

/* fjerner siste spacer, men sjekk at det er riktig id */
.sprakvalg li.menuspacer { margin: 0 5px; }
#navigation ul li.barnesider { margin-left: 3%; }
.navigation1 { margin-top: 15px; }
.navigation1 > .navigasjon-toggle { display: none; }
.sprakvalg li a:link,
.sprakvalg li a:visited,
.navigation1 ul li a:link,
.navigation1 ul li a:visited,
#footer ul li a:link,
#footer ul li a:visited { color: #666666; }

.sprakvalg li a,
.sosialemedier li a,
.navigation1 ul li a,
#footerlinks li a
{
    display: block;
    padding-bottom: 2px;
    float: left;
}

.sprakvalg li a:hover,
.sosialemedier li a:hover,
.navigation1 ul li a:hover,
#footerlinks li a:hover
{
    padding-bottom: 1px;
    border-bottom: 1px #c6b692 solid;
    text-decoration: none;
}

.navigation2 { margin: 0; }
.navigation2 ul li { }

.navigation2 ul li a.menutext
{
    color: #2B292C;
    display: block;
    padding: 3%;
    margin-bottom: 2px;
    background-color: #E7E7E7;
}

.navigation2 ul li a.menutext:hover { background-color: #D6D6D6; }
.navigation2 ul li.menylevel0 a { background-color: #ffffff; }

.navigation2 ul li.menylevel2 a
{
    padding-left: 15px;
    background-color: #f3f3f3;
}

.navigation2 ul li.menylevel3 a
{
    padding-left: 30px;
    background-color: #f2f2f2;
}

.navigation2 ul li.selected a
{
    background-color: #9A9A9A;
    color: #ffffff;
}

.navigation2 ul li.menylevel0 a
{
    background-color: #ffffff;
    border-top: 1px solid #f3f3f3;
    color: #846E3C;
}

.sosialemedier
{
    width: 90px;
    margin-top: -20px;
    float: right;
}

.sosialemedier ul li { float: left; }

.social_fb,
.social_tw,
.social_yt
{
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-size: 20px 20px;
}

.social_fb { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/social_fb.png); }
.social_tw { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/social_tw.png); }
.social_yt { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/social_yt.png); }
.sosialemediermobile { display: none; }

#content
{
    outline: 1px solid #e6e6e6;
    background-color: white;
}

.imagepayoff
{
    padding: 1%;
    margin-bottom: 18px;
    text-align: right;
    font-size: 0.8em;
    font-style: italic;
    border-bottom: 1px solid #cccccc;
}

.seksjonstekstCont
{
    padding-bottom: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid #cccccc;
}

#leftcolumn
{
    width: 15.671518%;
    /* burde være 150px */
    float: left;
    padding: 1%;
}

#rightcolumn
{
    width: 80.1%;
    /* justert ned pga problemer i ie. opprinnelig: width: 80.328482%; */
    float: right;
    padding: 0 1% 1% 1%;
    margin-top: 19px;
}

#sidetypeCont { }

/* omslutter alt som settes inn i av sidetypemalen */
#hovedCont
{
    float: left;
    width: 100%;
}

/* omslutter hovedinnholdet */
#sideCont { float: left; }

/* omslutter assosiert innhold */
.enspalte { }
.tospalte { }

/* angir antall spalter, brukes til å sette bredden på mainCont og associatedCont */
.aktuelmal { }

/* identifiserer sidemalen */
.tospalte #hovedCont
{
    float: left;
    width: 48.5%;
}

.tospalte #sideCont
{
    float: right;
    width: 48.5%;
}

.search
{
    color: #9a9a9a;
    font-family: "trebuchet ms",sans-serif;
    font-size: 10px;
    font-weight: bold;
    line-height: 15px;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
}

.searchfield,
.searchfield2
{
    float: left;
    width: 75%;
}

.searchfield input,
.searchfield2 input
{
    margin: 0;
    border: 0;
    padding: 0;
    width: 100%;
}

#header .search
{
    width: 170px;
    height: 15px;
    padding: 5px;
    margin-top: -30px;
    border: 1px solid #cccccc;
    background-color: white;
    position: relative;
    float: right;
    right: 0px;
    top: 0px;
}

.search input[type="submit"]  {
    border: 1px solid;
    float: right;
    color: #846E3C;
    background-color: #ffffff;
    padding-top: 0px;
    margin-top: -3px;
    font-size: 10px;
}


#content .search { display: none; }

#sokeresultater .search {
    display: block;
}

#sokeresultater .search {
    border: 1px solid #cccccc;
    width: 170px;
    height: 15px;
    padding: 5px;
    margin-top: 6px;
    background-color: white;
    float: left;
    margin-right: 10px;
}

/*.fritekstsok button,
.kalendersok button {
    padding: 5px;
    margin-top: 4px;
    background-color: white;
    float: left;
    margin-right: 10px;
    color: 	#786351;
    font-family: "trebuchet ms",sans-serif;
    text-transform:	uppercase;
}
*/

.fritekstsok button,
.kalendersok button {
    background-color: #808080;
    border-radius: 5px;
    color: #FFFFFF;
    float: left;
    border: 1px solid #FFFFFF;
    padding: 5px;
    margin-top: 4px;
    margin-right: 10px;
}

.fritekstsok button:hover,
.kalendersok button:hover { background-color: #3F3F3F; }


.kalenderkonjunksjon
{
    float: left;
    margin-top: 12px;
    margin-right: 8px;
}

.searchbutton { float: right; }

.ta_ogsa_med
{
    padding-top: 4px;
    padding-bottom: 4px;
}

#footer
{
    margin-top: 15px;
    height: 20px;
    float: left;
}

/* teasere */
.teasercontainer
{
    margin: 15px 0 15px 0;
    padding: 0 0 15px 0;
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}

.teaser
{
    width: 48%;
    float: left;
    margin: 2% 2% 0 0;
}

.teaserimage
{
    float: left;
    margin-right: 1.5%;
}

.teaserlesmer { float: right; }

.teasertittel
{
    color: #846E3C;
    font-weight: bold;
    margin-bottom: 5px;
}

.teasertekst a
{
    color: #2B292C;
    text-decoration: none;
}

.teaser .brodtekst p
{
    max-height: 30px;
    overflow: hidden;
}

.articleEntry_87
{
    float: left;
    width: 48%;
    padding: 1%;
}

.articleEntry_87_small
{
    float: left;
    padding-top: 10px;
}

.articleEntry_87_Left
{
    float: left;
    width: 24%;
    margin-right: 3%;
}

.articleEntry_87_Right
{
    float: left;
    padding-left: 0;
    width: 65%;
}

.ordensBox { padding-top: 3px; }
.ordensBoxTop { padding-top: 3px; }

.ordensBoxTopUpper
{
    padding-top: 5%;
    width: 100%;
}

.ordenTop
{
    height: 2px;
    overflow: hidden;
}

.ordenMiddle
{
    overflow: hidden;
    /* Old browsers */
    /* FF3.6+ */
    /* Chrome,Safari4+ */
    /* Chrome10+,Safari5.1+ */
    /* Opera 11.10+ */
    /* IE10+ */
    background: linear-gradient(to bottom, #fdfdfd 0%,#f6f6f6 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f6f6f6',GradientType=0 );
    /* IE6-9 */
    border-radius: 5px;
    border: 1px solid #e3e3e3;
}

.ordenBottom
{
    height: 2px;
    overflow: hidden;
}

.ordensImage { padding: 1%; }

.ordenText
{
    height: 20px;
    overflow: hidden;
    padding-top: 4px;
    padding-left: 12px;
}

.smallBoxHeader
{
    color: #666666;
    font-family: "trebuchet ms",sans-serif;
    font-size: 0.9em;
    font-weight: bold;
    padding-bottom: 6px;
    text-transform: uppercase;
}

.ordenMiddle .smallBoxHeader { padding: 1% 1% 0% 1%; }

label.error
{
    float: none;
    color: red;
    padding-left: .5em;
    vertical-align: top;
}

#commentForm  input { width: 75%; }
#commentForm #commentFormSubmit { width: auto; }
#commentForm #commentFormCancel { width: auto; }
#commentForm #commentFormPreview { width: auto; }

#commentForm #melding
{
    width: 75%;
    height: 10em;
}

#videoCont
{
    height: auto;
    width: 100%;
    max-width: 450px;
    max-height: 280px;
}

#jwplayer
{
    height: 280px;
    max-height: 280px;
    min-height: 280px;
}

#jwtitle { margin: 1%; }
#videovindu { height: 300px; }

.videopresentasjonteaser
{
    width: 100px;
    margin-right: 10px;
}

.videopresentasjonteaser p
{
    width: 100%;
    max-width: 100px;
    height: 30px;
    overflow: hidden;
}

div.videopresentasjonTekst {
    margin-top: 2%;
}

#videotextcontainer
{
    float: left;
    margin-top: 1%;
    margin-bottom: 1%;
}

#jwtitle { float: left; }

/* forsiden --------------------------- */
.forside .hoyrespalte h2
{
    float: left;
    font-family: "trebuchet ms",sans-serif;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
    color: #9c9c9c;
    margin: 3px 0 6px 0;
}

.forside #leftcolumn { display: none; }

.forside #rightcolumn
{
    width: 98%;
    float: left;
    padding: 1%;
    margin: 0;
}

.forside .venstrespalte
{
    width: 60%;
    float: left;
}

.forside .hoyrespalte
{
    width: 39%;
    margin-left: 1%;
    float: right;
}

.forsidebildeCont
{
    float: left;
    width: 100%;
}

.forside .programCont
{
    float: left;
    width: 100%;
}

.forside .aktueltCont
{
    float: left;
    width: 96%;
    margin-bottom: 15px;
    padding: 2% 2% 0 2%;
    outline: 1px solid #E6E6E6;
}

.forside .teaserCont
{
    float: left;
    width: 100%;
    margin-top: 1.5%;
}

.forside .teaser
{
    width: 31.333333%;
    float: left;
    margin: 1%;
}

.forside .teaser img { width: 70%; }

/*bare foreløpig, dette skal styres av controlleren */
.forside .teaser h2
{
    font-size: 140%;
    font-weight: normal;
    margin-bottom: 2%;
    margin-top: 2%;
}

.forside .nyhet .dato { /* display: block;
    width: 75%; */ }

.forside .nyhet .tittel
{
    display: block;
    /* width: 75%; fjernet fordi tittelen ble for smal */
}

.forside .nyhet .ingress
{
    color: #2b292c;
    font-size: inherit;
    line-height: 120%;
}

.aktueltprogramnavigasjon {width: 120px; height: 20px; float: right; margin-right: 0px;}

.forside .nyhet .ingress p { display: inline; }

.forside .nyhetsnavigasjon,
.forside .programnavigasjon,
.programCont .detaljert,
.aktueltprogramnavigasjon {
    font-family: "trebuchet ms",sans-serif;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 5px;
}
.forside .nyhetsnavigasjon {
    float: left;
    width: 100%;
}

.forside .programnavigasjon
{
    float: right;
    margin-top: 10px;
}

.forside .programnavigasjon .actionButton { margin-right: 10px; }

.forside .nyhet
{
    padding-bottom: 15px;
    margin-bottom: 5px;
    border-bottom: 1px #e0e0e0 solid;
    padding-top: 0;
    margin-top: 0;
    border-top: 0px #e0e0e0 solid;
    width: 100%;
}

.nyhetslistebilde
{
    width: 65px;
    float: left;
    margin-right: 8px;
}

.forside .lesmerlink
{
    float: left;
    margin: 5px 0;
    font-family: "trebuchet ms",sans-serif;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.programCont .item
{
    width: 100px;
    height: 83px;
    float: left;
    margin-right: 8px;
    background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/kalenderpost_bg.png);
    background-repeat: no-repeat;
    padding-top: 8px;
    padding-left: 7px;
    padding-right: 7px;
}

.programCont .detaljert
{
    float: left;
    margin-top: 10px;
}

.scrollable { height: 82px; }
.programLarge { height: 279px; }

.scrollable {height: 82px;}

.programLarge {
    height: 310px;
}

.item .dato,
.xitem .dato
{
    margin-bottom: 16px;
    font-weight: bold;
}

.xitem .dato .linkTextNoLine { font-weight: normal; }

.item span
{
    display: block;
    float: left;
}

.dag
{
    padding-left: 4px;
    padding-right: 8px;
    color: #FFFFFF;
    font-family: helvetica;
}

.ar { }

.standardbildeCont.lite
{
    width: 49%;
    float: right;
    padding-left: 3%;
}

.standardbildeCont.lite .imagepayoff { border: 0; }

.teaser .teaserIkon
{
    width: 30%;
    background-color: #c1ab81;
    float: left;
}

.forside .teaser .teaserIkon img { width: 100%; }

.forside .teaser .teaserStandardbilde
{
    width: 70%;
    float: left;
}

.forside .teaser .teaserStandardbilde img { width: 100%; }

.forside .teaser h2
{
    clear: both;
    padding-top: 10px;
}

/* aktueltsiden -------------------- */
.nyhet
{
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px #e0e0e0 solid;
    float: left;
}

.nyheter .nyhet img
{
    float: left;
    margin-right: 8px;
}

.nyhetsarkivlenkeCont
{
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    border-top: 1px #E0E0E0 solid;
    border-bottom: 1px #E0E0E0 solid;
    float: left;
    width: 100%;
}

.relatertelenkerCont,
.faktaboksCont,
.vedleggCont
{
    border: 1px #e0e0e0 solid;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    padding: 1%;
    margin: 0 auto 14px auto;
}

#flashcontent_program
{
    width: 98%;
    height: 348px;
    border-radius: 2px;
    padding: 1%;
}

.programCont li
{
    height: 84px;
    width: 96%;
    background-image: url("/National_Library/oe_/https://www.kongehuset.no/images/kalenderpost_bg.png");
    background-repeat: no-repeat;
    padding: 8px 2% 4px 8px;
    margin-bottom: 10px;
}

.programCont li .overskrift
{
    padding-left: 12px;
    padding-top: 6px;
    font-size: 10px;
    font-weight: bold;
    color: #a08649;
    font-family: "trebuchet ms",sans-serif;
    text-transform: uppercase;
}

.programposttekst { display: block; }

.programCont #flashcontent_program .calenderButtonsFP
{
    width: 100%;
    height: 24px;
    background-image:none;
    margin-bottom: 3px;
}

.calendar
{
    padding-left: 4px;
    margin-top: 8px;
}

#sideCont #twitter-widget-0 { width: 100%; }

/* lister --------------------------------------------------------------------------------------------------------------*/
.editortext ul,
.editortext ol,
.faktaboksText ul,
.faktaboksText ol
{
    padding-left: 9px;
    margin: 9px;
}

.editortext ol li,
.faktaboksText ol li { list-style-type: decimal; }
.editortext ul li,
.faktaboksText ul li { list-style-type: disc; }
.thinText { width: auto; }

#sidenavigasjon
{
    width: 100%;
    padding-bottom: 1%;
}

.tale,
.program,
.tildeling,
.nyhetsarkivnyhet,
.sokeresultat
{
    border-width: 1px 1px 1px 1px;
    border-color: #E0E0E0;
    border-style: solid;
    margin-bottom: 3px;
    width: 100%;
    padding: 5px;
    background-color: #fcfcfc;
}

div#taler,
div#programposter,
div#tildelinger,
div#nyhetsarkivnyheter,
div#sokeresultater
{
    width: 98%;
    margin-top: 2%;
}

.taledato,
.programpostdato,
.tildelingdato,
.nyhetsarkivdato,
.sokeresultatdato
{
    float: left;
    min-width: 8%;
    height: 16px;
    overflow: hidden;
    padding-top: 10px;
    padding-left: 14px;
    padding-right: 14px;
    color: #2B292C;
}

.taledato a { text-decoration: none; }
.taledato a:hover { text-decoration: underline; }

.taletittel,
.programposttittel,
.tildelingnavn,
.nyhetsarkivtittel,
.sokeresultatnavn
{
    float: left;
    width: 74%;
    height: 16px;
    overflow: hidden;
    padding-top: 10px;
    padding-left: 0px;
    text-decoration: none;
    font-weight: bold;
}

.taletittel a,
.nyhetsarkivtittel a:link { text-decoration: none; }
.taletittel a:hover { text-decoration: underline; }

.taleingress,
.programpostingress,
.tildelingbyline,
.tildelingingress,
.nyhetsarkivingress,
.sokeresultatingress
{
    width: 96%;
    padding-top: 0px;
    padding-left: 14px;
    padding-bottom: 10px;
    text-decoration: none;
    color: #2B292C;
    display: block;
    float: left;
}

.taleingress a
{
    text-decoration: none;
    color: #2B292C;
}

.taleingress a:hover { text-decoration: underline; }

/* spesiell styling for programlistene START
   Dette er skrevet for å hindre uønskede linjebrekk på programposter over flere dager.
*/

.program { padding: 2%; }

.programpostdato
{
    float: left;
    min-width: 60px;
    width: 10%;
    height: 16px;
    margin-right: 10px;
    overflow: hidden;
    padding: 0;
    color: #2B292C;
}

.programposttittel
{
    float: left;
    height: 16px;
    width: 60%;
    overflow: hidden;
    padding-top: 10px;
    padding: 0;
    text-decoration: none;
    font-weight: bold;
}

.programpostingress
{
    width: 96%;
    padding: 0;
    text-decoration: none;
    color: #2B292C;
    display: block;
    float: left;
}

/* spesiell styling for programlistene SLUTT */
.personvalg,
.velg_ar_navn
{
    border-width: 1px 0px 1px 0px;
    border-color: #E0E0E0;
    border-style: solid;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-top: 12px;
    margin-bottom: 4px;
}

.gullpil a:link
{
    float: right;
    padding-top: 10px;
    width: 21px;
    height: 11px;
    background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/gullpil_passiv.png);
    background-repeat: no-repeat;
    background-position: 0 6px;
    clear: right;
}

.gullpil a:hover { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/gullpil_aktiv.png); }

.sokeoversikt h2 { margin-top: 0; }

.sokeoversikt
{
    border-color: #E0E0E0;
    border-style: solid;
    border-width: 0px;
    width: 100%;
    padding-top: 8px;
    padding-bottom: 2px;
    margin-bottom: 10px;
}

.sokeoversikt_left {
    float: left;
    width: 80%;
}
.sokeoversikt_right { float: right; }

/* relaterte lenker ------------------------------------ */
#internelenker li,
#eksternelenker li,
.faktaboksText,
#vedlegg li
{
    border: 1px #e0e0e0 solid;
    outline: 1px #ffffff solid;
    outline-offset: -2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

/* brukes til test av fargekontrast #eksternelenker li {background-color: #EBF0F9;} */

#internelenker li a,
#eksternelenker li a,
#vedlegg li a
{
    background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/faktaboks/lenker_ekstern.gif);
    width: 97.8%;
    height: 22px;
    display: block;
    border: 1px #ffffff solid;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    padding-left: 6px;
    padding-top: 7px;
}

#internelenker li a,
#vedlegg li a { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/faktaboks/lenker_intern.gif); }
#eksternelenker li a:hover { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/faktaboks/lenker_ekstern_touch.gif); }
#internelenker li a:hover ,
#vedlegg li a:hover { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/faktaboks/lenker_intern_touch.gif); }

.faktaboksText
{
    padding: 7px 6px 6px 6px;
    background-color: #f7f7f7;
}

#scrollDIV { margin-bottom: 20px; }

.talelistemal .teasercontentCont
{
    border-color: #E0E0E0;
    border-style: solid;
    border-width: 1px 0 0 0;
    margin-top: 16px;
}

.carousel .nope.selected {
    border: 1px solid #BEBEBE;
    padding-bottom: 1px;
}

.image_carousel .nope.selected {
    background-color: #f2f2f2;
}

/* Fond Søknad ---------------------------------- */
#fond-soknad
{
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid gray;
}

#fond-soknad fieldset
{
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid gray;
}

#fond-soknad legend
{
    font-size: 18px;
    color: #AB8B46;
}

#fond-soknad label
{
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    float: left;
    margin-top: 10px;
    margin-bottom: 4px;
    padding-top: 10px;
}

#fond-soknad label.error
{
    width: 300px;
    font-size: 14px;
    font-weight: bold;
    float: left;
    margin-top: 0px;
    margin-bottom: 4px;
    padding-top: 10px;
}

#fond-soknad .formal label.error { padding-left: 0; }

#fond-soknad input,
#fond-soknad textarea
{
    width: 300px;
    float: left;
    clear: both;
}

#fond-soknad span
{
    width: 700px;
    float: left;
    clear: both;
}

#fond-soknad textarea
{
    width: 100%;
    min-height: 100px;
}

#fond-soknad input
{
    border: 0;
    background-color: #E5E5E6;
    padding: 10px;
}



#fond-soknad #formalCount
{
    border: 0;
    background-color: transparent;
    width: 40px;
    float: none;
    clear: none;
    padding: 0;
    display: inline-block;
    text-align: right;
    font-weight: bold;
}

#fond-soknad label[for=tidlgere_ja]
#fond-soknad label[for=tidlgere_nei]
{
    float: left;
    width: 100%;
}

#fond-soknad input#tidligere_ja,
#fond-soknad input#tidligere_nei
{
    width: auto;
    float: left;
    clear: none;
}

#fond-soknad .tidligere label.janei
{
    width: auto;
    float: left;
    margin: 0 6px 0 2px;
    padding: 0;
}

#fond-soknad input#submit  {
    -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
    -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
    box-shadow:inset 0px 1px 0px 0px #ffffff;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
    background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
    background-color:#ededed;
    -webkit-border-top-left-radius:6px;
    -moz-border-radius-topleft:6px;
    border-top-left-radius:6px;
    -webkit-border-top-right-radius:6px;
    -moz-border-radius-topright:6px;
    border-top-right-radius:6px;
    -webkit-border-bottom-right-radius:6px;
    -moz-border-radius-bottomright:6px;
    border-bottom-right-radius:6px;
    -webkit-border-bottom-left-radius:6px;
    -moz-border-radius-bottomleft:6px;
    border-bottom-left-radius:6px;
    text-indent:0;
    border:1px solid #dcdcdc;
    display:inline-block;
    color:#666666;
    font-family:arial;
    font-size:15px;
    font-weight:bold;
    font-style:normal;
    height:40px;
    line-height:20px;
    width:auto;
    text-decoration:none;
    text-align:center;
    text-shadow:1px 1px 0px #ffffff;
    margin-top: 10px;
}
#fond-soknad input#submit:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
    background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
    background-color:#dfdfdf;
}
#fond-soknad input#submit:active {
    position:relative;
    top:1px;
}

#fond-soknad th { text-align: right; padding: 5px;}
#fond-soknad td { text-align: left; padding: 5px;}

/* fotoalbum ------------------------------------ */

.carousel .mask {
    float: left;
    width: 99%; /* will be recalculated by widget */
    overflow: hidden;
}

.navigCont {
    text-transform: uppercase;
    float: right;
    margin-top: 10px;
}
.navigCont .btn-prev,
.navigCont .btn-next {
    font-family: "trebuchet ms",sans-serif;
    font-size: 10px;
    font-weight: bold;
    margin-right: 10px;
    cursor: pointer;
    float: right;
}
.carousel {
    overflow: hidden;
}

.kongehusperson,
.kategori
{
    width: auto;
    height: auto;
    margin-right: 15px;
    margin-bottom: 10px;
    border-bottom: 1px #bebebe solid;
    padding-bottom: 2px;
}

.person_hovedbilde img,
.kategori img,
.gallery .thumbs img,
.videooversikt .videokategori { margin-bottom: 2px; }

.albumstack .hovedbilde,
.albumstack .person_hovedbilde,
.nope,
.videooversikt .videokategori
{
    padding: 14px;
    background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/albumthumb_bg.png);
    background-position: 3px 5px;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.carousel .nope
{
    padding: 14px 4px 0px 14px;
    background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/albumthumb_bg.png);
    background-position: 9px 5px;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.nope .albumbildetittel,
.videokategoriTittel
{
    float: left;
    margin-top: 15px;
    border-bottom: 1px #bebebe solid;
    width: 120px;
    min-height: 30px;
    padding-bottom: 2px;
}

.nope img { margin-left: 6px; }

.nope.selected .albumbildetittel {
    border-bottom: 0px #bebebe solid;
    padding-bottom: 0px;
}
#page #thumbs {
    width: 380px;
}
/* styling for kongehuspersonenes spesialsider --------------------------------------------- */
.kongehuspersonside #hovedCont
{
    width: 100%;
    background-color: #f4f4f4;
    border: 1px #E8E8E8 solid;
}

.kongehuspersonside .standardbildeCont
{
    float: right;
    width: 50%;
}

.kongehuspersonside .seksjonstekstCont
{
    text-align: center;
    border: 0;
    float: left;
}

.kongehuspersonside .imagepayoff { display: none; }

.kongehuspersonside .seksjonstekstCont H1
{
    color: #A08649;
    font-size: 24px;
    padding-top: 26px;
    text-align: center;
}

.kongehuspersonside .seksjonstekstCont
{
    margin-top: 0;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 146px;
    text-align: center;
    width: 46%;
    background-repeat: no-repeat;
    background-position: center 32px;
}

.harald .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_harald.gif); }
.sonja .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_sonja.gif); }
.haakon .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_haakon.gif); }
.mettemarit .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_mettemarit.gif); }
.ingridalexandra .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_ingridalexandra.gif); }
.sverremagnus .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_sverremagnus.gif); }
.marius .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/blank.gif); }
.marthalouise .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_marthalouise.gif); }
.astrid .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_astrid.gif); }
.olav .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_olav.gif); }
.martha .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_martha.gif); }
.haakon7 .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_haakon7.gif); }
.maud .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_maud.gif); }
.ragnhild .seksjonstekstCont { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/monogram_ragnhild.gif); }
.videooversikt .videokategori img { padding: 0 0 5px 0; }

/* protokoll --------------------------------------------- */
#protokollCont #hovedCont #standardbildeCont
{
    width: 30%;
    float: right;
}

#protokollCont #hovedCont #standardbildeCont img
{
    float: right;
    width: 100%;
}

#protokollCont #hovedCont .protokolltittelingess
{
    width: 67%;
    float: left;
}

.searchEntryMiddle
{
    background-color: #FCFCFC;
    margin-bottom: 5px;
    outline: 1px solid #e5e5e5;
    width: auto;
    padding: 10px;
}

.searchEntryDate
{
    float: left;
    height: 16px;
    overflow: hidden;
    width: 10%;
}

.searchEntryTitle
{
    color: #2B292C;
    font-size: 12px;
    font-weight: bold;
    height: 16px;
    overflow: hidden;
    text-decoration: none;
    width: 90%;
}

.searchEntryText
{
    color: #2B292C;
    font-size: 12px;
    text-decoration: none;
    width: 100%;
}

#middleContent_3c
{
    border-right: 1px solid #FFFFFF;
    float: left;
    margin-top: 19px;
    width: auto;
}

.protokollCont #commentForm input,
.protokollCont #commentForm #melding
{
    width: 96%;
    padding: 5px;
    margin: 0;
    border: 1px solid #e5e5e5;
}

.protokollCont .feilmelding
{
    padding: 5px;
    background-color: #b80000;
    margin-bottom: 15px;
    color: white;
}

.protokollCont .feilmelding span
{
    font-size: 20px;
    margin-bottom: 5px;
}

/* tildelinger --------------------------------------------- */
.treffSummering
{
    font-size: 20px;
    margin: 10px 0;
}

.tildelingerFilter
{
    padding: 15px;
    background-color: #e5e5e5;
}

.tildelingerFilter .sokefelt { margin-bottom: 10px; }

.tildelingerFilter .sokeknapp
{
    background-color: gray;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: white;
    float: right;
}

.tildelingerFilter .sokeknapp:hover { background-color: #3F3F3F; }

.tildelingerFilter input
{
    background-color: white;
    border: 1px solid white;
    padding: 5px;
}

/* abbonement --------------------------------------------- */
.feilmelding {
    width: 98%;
    background-color: #de291c;
    color: white;
    border-radius: 10px;
    padding: 1%;
    font-size: 16px;
    margin: 10px 0;
}
.abbonementsCont {
    margin-top: 10px;
}
.abbonementsCont h2,
.abbonementSelect h2 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #666666;
}
.abbonementsCont input {
    margin: 0 0 10px 0; 
    width: 100%
}
.abbonementsCont .loginNotis {
    color: gray;
}
.abbonementsCont input[type=submit],
.abbonementSelect input[type=submit] {
    padding: 7px;
    background-color: #b29453;
    color: white;
    font-size: 13px;
    width: inherit;
    border: 0;
    border-radius: 5px;
    margin-top: 5px;
    cursor: pointer;
}
.abbonementsCont input[type=submit]:hover,
.abbonementSelect input[type=submit]:hover {
    background-color: #a98840;
}
#huskpassord,
#huskpassord_nybruker {
    width: inherit;
}
.abbonementsCont  fieldset {
    padding-top: 15px;
}
.eksisterendebruker,
.nybruker {
    width: 45%;
    float: left;
    border-radius: 10px;
    padding: 2%;
    border: 1px solid #e7e7e7;
    float: left;
}
.nybruker {
    float: right;
}

.abonnementDetaljer {
    clear: both;
    padding-top: 3%;
}
.abbonementsNotis {
    width: 100%;
    float: left;
}
.abType,
.abFreq {
    width: 96%;
    float: left;
    padding: 2%;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
}
.abType {
    margin-bottom: 10px;
}
.abbonementsType,
.abbonementsFrekvens {
    padding: 10px;
    float: left;
    margin-right: 10px;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    background-color: #f5f5f5; 
}
.abbTypeTittel {
    font-size: 14px;
    color: #666666;
}
/* =========================== Media Queries ============================ */
/*  All sub desktop */

@media only screen and (min-width: 0px) and (max-width: 961px) {
    .sosialemedier {
        display: none;
    }

    .sosialemediermobile {
        display: block;
        float: right;
        margin-top: -5px;
    }

    .navigation1 .barnesider { display: none; }
    #footerlinks .barnesider { display: block; }
    .nettstedssprak-engelsk #navigation ul li,
        .nettstedssprak-engelsk #footer ul li,
        .nettstedssprak-engelsk .sprakvalg li { font-size: 9px; }
}

/*  Tablet portrait */

@media only screen and (min-width: 768px) and (max-width: 961px)
{
    .navigation2 ul li a
    {
        background-color: #E7E7E7;
        margin-bottom: 5px;
        padding: 5%;
    }

    .forside .venstrespalte
    {
        width: 50%;
        float: left;
    }

    .forside .hoyrespalte
    {
        width: 49%;
        float: right;
    }
}

/*  Mobile landscape + portrait */

@media only screen and (min-width: 0px) and (max-width: 767px)
{
    body { background-image: none; }
    .sorgerand #pagewrapper { border: 6px solid black; }

    .headerlogo,
        .nettstedssprak-engelsk .headerlogo,
        .nettstedssprak-samisk .headerlogo
    {
        width: 100px;
        height: 100px;
        margin: 0 auto;
        background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/jubileum_80/logo_mobile.png);
        background-size: 99px 101px;
    }

    #content .search
    {
        display: block;
        width: 80%;
        margin: 15px auto;
        height: 15px;
        padding: 5px;
        border: 1px solid #cccccc;
        background-color: white;
    }

    #header .search,
    #navigation .search {
        display: none;
    }

    #mainMenuSearch, #mainMenuSearch input {
        width: 90%;
        float: left;
    }

    #content {
        background-color: transparent;
        outline: 0px solid #E6E6E6;
    }

    .editortext {
        line-height: 1.3em;
    }

    #pagewrapper {
        padding: 0;
    }

    #header,
    #navigation,
    #content,
    #footer
        {
        width: 100%;
        float: left;
    }

    #leftcolumn
    {
        width: 100%;
        float: none;
        padding: 0;
    }

    #rightcolumn
    {
        width: 94%;
        float: none;
        padding: 0 3% 3% 3%;
    }

    body #navigation
    {
        height: inherit;
        margin: 0px;
    }

    body .navigation1
    {
        margin-top: 0;
        width: 100%;
    }

    .navigation1 > .navigasjon-toggle
    {
        display: block;
        /* make visible */
        background-color: #e7e7e7;
        background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/nav_pluss.png);
        background-size: 20px 18px;
        background-position: center right;
        background-repeat: no-repeat;
        padding: 10px 10px 10px 10px;
    }

    .navigation1.expanded > .navigasjon-toggle { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/nav_minus.png); }

    #navigation .navigation1 > ul > li
    {
        float: none;
        /* resetting style */
        padding: 0px;
        /* resetting style fra barnesider */
    }

    .navigation1 > ul > li > a
    {
        padding: 10px 10px 10px 30px;
        float: none;
        /* resetting style */
        border: none;
        border-top: 1px solid white;
    }

    .navigation1 > .navigasjon-toggle,
        #navigation .navigation1 ul > li > a,
        body .navigation2 ul > li > a.menutext, /* overskriver fra barnesider */
        body .navigation2 ul > li.selected > a.menutext, /* overskriver fra barnesider ('color') */
        body .navigation2 ul > li.menylevel0 > a.menutext, /* overskriver fra barnesider ('color') */
        body .navigation2 ul > li.menylevel0.selected a.menutext, /* overskriver barnesider ('color') */
        .navigation2 ul > li > a
    {
        color: #666666;
        font-family: "trebuchet ms",sans-serif;
        font-size: 16px;
        font-weight: normal;
        letter-spacing: 0.03em;
        text-decoration: none;
        text-transform: uppercase;
    }

    .navigation1 > ul > li
    {
        background-color: #f2f2f2;
        overflow: hidden;
        height: auto;
        max-height: 0px;
        -webkit-transition: max-height 0.8s;
        -moz-transition: max-height 0.8s;
        -o-transition: max-height 0.8s;
    }

    .navigation1 > ul > li > a:hover {
        border-bottom: none; /* resetting style */
        padding-bottom: 10px; /* overstyrer generell styling */
    }

    .navigation1 > ul > li > a:hover
    {
        border-bottom: none;
        /* resetting style */
        padding-bottom: 10px;
        /* overstyrer generell styling */
    }

    .navigation1 ul > li.selected
    {
        background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/br_dot.png);
        background-size: 28px 14px;
        background-position: center right;
        background-repeat: no-repeat;
    }

    .navigation1.expanded > ul > li
    {
        height: auto;
        max-height: 59px;
        /* nok for 2 linjer text (39px for EN linje) */
        -webkit-transition: max-height 0.8s;
        -moz-transition: max-height 0.8s;
        -o-transition: max-height 0.8s;
    }

    .navigation2
    {
        width: 100%;
        margin: 4px 0 0 0;
    }

    .navigation2 li.expanded+li > ul { margin-top: 0px; }

    .navigation2 ul > li.menuitem > a.menutext
    {
        padding: 10px 10px 10px 10px;
        /* reset padding */
        margin-bottom: 0px;
    }

    body .navigation2 ul li.selected a.menutext
    {
        border-bottom: 0px;
        /* overskriver barnesider */
    }

    .navigation2 li.menuitem
    {
        /* Dark (default) background */
        background-color: #E7E7E7;
        /* Shared settings for background-image */
        background-size: 20px 18px;
        background-position: center right;
        background-repeat: no-repeat;
        overflow: hidden;
        height: auto;
        max-height: 0px;
    }

    .navigation2 li.expanded+li.submenu > ul > li.menuitem
    {
        /* Light background */
        background-color: #f2f2f2;
        border-top: 1px solid white;
    }

    /* setting transparent background on all li > a */
    .navigation2 li+li.submenu > ul > li > a,
        .navigation2 ul > li.menylevel0 > a,
        .navigation2 ul > li.menylevel1 > a,
        .navigation2 ul > li.menylevel2 > a,
        .navigation2 ul > li.menylevel3 > a,
        body .navigation2 ul > li.selected > a.menutext, /* overskriver barnesider */
        body .navigation2 ul > li.menylevel2 > a.menutext, /* overskriver barnesider */
        body .navigation2 ul > li > a.menutext, /* overskriver barnesider */
        .navigation2 ul > li > a.menutext:hover { background-color: transparent; }
    .navigation2 li.has-subnodes { margin-bottom: 4px; }
    .navigation2 li.has-subnodes.selected { margin-bottom: 0px; }

    .navigation2 li.has-subnodes.expanded
    {
        margin-bottom: 0px;
        -webkit-transition: margin-bottom 0.5s;
        -moz-transition: margin-bottom 0.5s;
        -o-transition: margin-bottom 0.5s;
    }

    .navigation2 li.has-subnodes.expanded+li > ul > li.has-subnodes { margin-bottom: 0px; }
    .navigation2 ul > li.selected a { cursor: default; }
    .navigation2 li.has-subnodes { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/nav_pluss.png); }
    .navigation2 li.expanded.has-subnodes { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/nav_minus.png); }

    .navigation2 li.menuitem.selected+li.submenu > ul > li
    {
        border-top: 1px solid white;
        -webkit-transition: max-height 0.8s;
        -moz-transition: max-height 0.8s;
        -o-transition: max-height 0.8s;
    }

    .navigation2 li.menuitem.expanded+li.submenu > ul > li
    {
        height: auto;
        max-height: 59px;
        -webkit-transition: max-height 0.8s;
        -moz-transition: max-height 0.8s;
        -o-transition: max-height 0.8s;
    }

    .navigation2 li.menuitem.has-subnodes,
        .navigation2 li.menuitem.selected
    {
        height: auto;
        max-height: 59px;
    }

    .navigation2 ul li a:link,
        .navigation2 ul li a:visited { color: #666666; }

    .navigation2 ul > li.menylevel0 > a
    {
        border-top: none;
        /* resetting style */
    }

    .navigation2 li.menuitem.expanded+li.submenu > ul > li { background-image: none; }
    .navigation2 li.expanded+li.submenu > ul > li.selected { background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/br_dot.png); }
    #navigation ul li span.menuspacer { display: none; }
    #navigation ul li.barnesider { margin-left: 0; }
    .navigation2 li.menuitem.active > a,
        .navigation2 li.menuitem.selected > a { padding-left: 10px; }
    .navigation2 li.menuitem.selected+li.submenu > ul > li.menuitem > a { padding-left: 40px; }
    .navigation2 li.menuitem.selected.expanded+li.submenu > ul > li.menuitem > a { padding-left: 40px; }

    .navigation2 li.menuitem.expanded+li.submenu > ul > li > a
    {
        padding-left: 40px;
        -webkit-transition: padding-left 0.5s;
        -moz-transition: padding-left 0.5s;
        -o-transition: padding-left 0.5s;
    }

    .navigation2 li.menuitem.expanded+li.submenu
    {
        margin-top: 0px;
        -webkit-transition: margin-top 0.5s;
        -moz-transition: margin-top 0.5s;
        -o-transition: margin-top 0.5s;
    }

    .navigation2 li.menuitem.expanded+li.submenu > ul > li.submenu
    {
        overflow: hidden;
        height: auto;
        max-height: 0px;
    }

    .navigation2 li.selected+li > ul { margin-top: 0px; }
    .navigation2 li.active.expanded+li li.selected+li { display: none; }
    #header .sprakvalg { display: none; }
    #footer .sprakvalg { display: block; }

    #footer
    {
        width: 94%;
        background-color: #3c3c3c;
        height: 130px;
        padding: 0 3%;
    }

    #footer ul li a:link,
    #footer ul li a:visited { color: #D0D0D0; }

    .teaser
    {
        width: 96%;
        background-color: #ebebeb;
        padding: 2%;
        margin: 2% 0 0 0;
    }

    .teaserlesmer {
        display: none;
    }

    .teasertekst a {
        color: #2B292C;
        text-decoration: none;
    }

    #footer .sprakvalg,
                    #footer #footerlinks,
                    #footer .sosialemediermobile
    {
        float: left;
        width: 100%;
        margin: 15px 0 10px 0;
    }

    #footer .sprakvalg ul,

    #footer #footerlinks ul {
        margin: 0 auto;
    }

    #footer .sprakvalg li,
        #footer #footerlinks li
    {
        float: left;
        color: #d0d0d0;
        font-family: "trebuchet ms",sans-serif;
        font-size: 11px;
        font-weight: bold;
        letter-spacing: 0.03em;
        text-decoration: none;
        text-transform: uppercase;
    }

    /* identifiserer sidemalen */
    .tospalte #hovedCont
    {
        float: left;
        margin-top: 0;
        width: 100%;
        margin-bottom: 15px;
    }

    .tospalte #sideCont
    {
        float: left;
        width: 100%;
    }

    /* Forsiden */
    .forside #rightcolumn
    {
        width: 98%;
        float: left;
        padding: 1%;
        margin: 0;
    }

    .forside .venstrespalte
    {
        width: 100%;
        float: left;
        margin-bottom: 25px;
    }

    .forside .hoyrespalte
    {
        width: 100%;
        margin-left: 0%;
        float: right;
    }

    .forside .aktueltCont { margin-bottom: 25px; }
    .forside .programCont { margin-bottom: 25px; }

    .forside .teaser
    {
        width: 96%;
        margin: 1% 0 1% 0;
    }

    .articleEntry_87
    {
        float: left;
        width: 98%;
        padding: 1%;
    }

    .programCont .item
    {
        width: 85px;
        height: 83px;
        float: left;
        margin-right: 4px;
        background-image: url(/National_Library/oe_/https://www.kongehuset.no/images/kalenderpost_bg.png);
        background-repeat: no-repeat;
        padding-top: 8px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .navigation1 .barnesider { display: block; }
    #footerlinks .barnesider { display: none; }
    .item .dato .maned,
    .item .dato .ar {
        font-size: 10px;
    }
    .kongehuspersonside .standardbildeCont {
        float: left;
        width: 100%;
    }

    .kongehuspersonside .seksjonstekstCont
    {
        width: 96%;
        float: right;
    }

    .searchEntryTitle {
        width: 77%;
    }
    /* spesiell styling for programlistene START
       Dette er skrevet for å hindre uønskede linjebrekk på programposter over flere dager.
    */
    .program {
        padding: 2%;
    }
    .programpostdato {
        min-width: 60px;
        width: 100%;
    }
    .programposttittel  {
        height: 16px;
        width: 80%;
    }
    .eksisterendebruker,
    .nybruker {
        width: 96%;
        float: left;
        border-radius: 10px;
        padding: 2%;
        border: 1px solid #e7e7e7;
        float: left;
        margin-bottom: 15px;
    }
    .nybruker {
        float: left;
    }
    .abbonementsCont input {
        width: 96%;
    }
    /* spesiell styling for programlistene SLUTT */
}

/*  Phone Landscape */

@media only screen and (min-width: 461px) and (max-width: 767px)
{
    .articleEntry_87_Left
    {
        float: left;
        width: 15%;
        margin-right: 1%;
    }

    .forside .teaser
    {
        width: 44%;
        margin: 1%;
    }

    .ordensBoxTopUpper
    {
        padding-top: 5%;
        width: 47%;
        margin: 0 1% 0 1%;
        float: left;
    }
}

/*  phone portrait */

@media only screen and (max-width: 460px)
{
    #protokollCont #hovedCont #standardbildeCont
    {
        width: 100%;
        float: left;
    }

    #protokollCont #hovedCont #standardbildeCont img
    {
        float: left;
        width: 100%;
    }

    #protokollCont #hovedCont .protokolltittelingess
    {
        width: 100%;
        float: left;
    }

    #gallery { width: 100%; }

    .standardbildeCont.lite
    {
        width: 100%;
        padding-left: 0;
        float: left;
    }

    .imagepayoff
    {
        width: 100%;
        padding-left: 0;
        float: left;
    }

    #page #thumbs { width: 100%; }
}

/* Clearfix */
.clearfix:after
{
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }
