html {
    font-size: 100%;
}

@media only screen and (min-width: 1140px) {
    html {
        font-size: 110%;
    }
}

body {
    /* font-family: woodfordbourne-regular, Arial, sans-serif; */
    font-family: Arial, sans-serif; 
    margin: 0; 
    padding: 0;
    color: #424242;
    background-color: #f1f1f1;
}
h1, h2, h3, h4, .teaseroverskrift {
    font-family: woodfordbourne-regular, Arial, sans-serif;
    }

.forsiden #main,
#main.nyseksjonstekst,
#main.spillsamling {
    overflow-x: hidden;
}
a:link {color: #105e71;}
a:visited {color: #105e71;}
a img {border: none;}
h1 {font-size: 2em; margin: 0 0 0.2em; }
pre, code, tt, kbd {font: 100% "Andale Mono", "Lucida Console", "Bitstream Vera Sans Mono", "Courier New", monospace; margin: 1em 0;}
small {font-size: 85%;}
big {font-size: 115%;}
sup {font-size: smaller; vertical-align: 0.5em; line-height: 1px;}
h3 a { text-decoration: none; }
h3 a:hover { text-decoration: underline; }
p {
    padding-left: 0 !important;
}

/* embedded fonts ----------------------------------------------------*/

@font-face {
    font-family: 'woodfordbourne-bold';
    src: url('/webfonts/woodfordbourne-bold-webfont.woff') format('woff'),
         url('/webfonts/woodfordbourne-bold-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'woodfordbourne-bolditalic';
    src: url('/webfonts/woodfordbourne-bolditalic-webfont.woff') format('woff'),
         url('/webfonts/woodfordbourne-bolditalic-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'woodfordbourne-italic';
    src:url('/webfonts/woodfordbourne-italic-webfont.woff') format('woff'),
         url('/webfonts/woodfordbourne-italic-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'woodfordbourne-regular';
    src: url('/webfonts/woodfordbourne-regular-webfont.woff') format('woff'),
         url('/webfonts/woodfordbourne-regular-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;

}



table {
 margin: 0;
  border-collapse: collapse;
  overflow-x: auto;
  max-width: 100%;
  /* box-shadow: 0 0 1px 1px rgba(0, 0, 0, .1); */
  width: auto !important;
  height: auto !important;
  padding-left: 0 !important
}


td, th {
  /* border: solid rgb(200, 200, 200) 1px; */
  padding: .5rem;
}

th {
  text-align: left;
  background-color: rgb(190, 220, 250);
  text-transform: uppercase;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: rgb(50, 50, 100) solid 2px;
  border-top: none;
}

td {
  border-bottom: none;
  color: rgb(20, 20, 20);
}

td:first-of-type, th:first-of-type {
  border-left: none;
}

td:last-of-type, th:last-of-type {
  border-right: none;
}


/* editortext --------------------------------------------------------*/
.editortext {
    line-height: 1.33em;
}
.editortext p {
    margin-bottom: 0.8em;
    margin-top: 0;
}
.editortext em {
    font-style: italic;
}
.editortext strong {
    font-weight: bold;
}
.editortext h2 {
    font-size: 1.5em;
     line-height: 1.3em;
    margin: 0.8em 0 0.3em 0;
    clear: both;
}
.editortext h3 {
    font-size: 1.2em;
     line-height: 1.3em;
    font-weight: bold;
    margin: 0.8em 0 0.3em 0;
    clear: both;
}
.editortext ul {
    list-style: disc;
    padding-left: 2.5em;
    margin-bottom: 0.8em;
}
.editortext li {
    margin-bottom: 0.3em;
}
.editortext ol {
    list-style: decimal;
    padding-left: 2.5em;
    margin-bottom: 0.8em;
}
.editortext table caption,
.editortext table thead td,
.editortext table th {
    font-weight: bold;
}

/* Ny clearfixkode ----------------------------------------------------------*/
.group:after {
  content: "";
  display: table;
  clear: both;
}
/* collapsible section -----------------------------------------------*/
.collapsibleSection {
    background-color: #FFFFFF;
    border: 1px solid #E8E9E9;
    clear: both;
    margin-bottom: 1em;
    background: #EAEAEA;
}
.collapsibleSection > .head {
    background-image: url("/images/expand_1000.png");
    background-position: 4px -994px;
    background-repeat: no-repeat;
    padding-left: 18px;
    cursor: pointer;
}

.collapsibleSection > .head.collapsed {
    background-position: 4px 2px;
}
.collapsibleSection > h3.head {
    font-weight: 700;
    font-size: 0.9em;
    word-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
    padding-top: 2px;
    padding-bottom: 2px;
}

.collapsibleSection.collapsed > .body {
    display: none;
}


.collapsibleSection > .body {
    background: white;
    padding: 10px;
}

.collapsibleSection .inlinevideo {
    background-color: white;
    margin-left: -9px;
    padding: 0;
}

.styleselect.definisjon,
.styleselect.regel {
    background-color: #FFFFFF;
    border: 1px solid #E8E9E9;
    clear: both;
    margin-bottom: 1em;
    padding: .5em;
}

.styleselect.teorem {
    background-color: #D7D7D7;
    clear: both;
    padding-bottom: 0.1em;
}

.styleselect.definisjon p,
.styleselect.teorem p,
.styleselect.regel p,
.styleselect.jeg_tenker p,
.styleselect.mer_om p,
.styleselect.test_deg_selv p,
.styleselect.svar p,
.styleselect.lag_grupper p,
.styleselect.visste_du_at p {
    font-weight: normal;
}

.styleselect.definisjon p:first-of-type {
    background: #D7D7D7;
    font-weight: 700;
    font-size: 0.9em;
    word-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.1em;
    padding-top: 2px;
    padding-bottom: 2px;
}

.styleselect.teorem p:first-of-type {
    font-weight: 700;
    font-size: 0.9em;
    word-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.1em;
    padding-top: 2px;
    padding-bottom: 2px;
}

.styleselect.regel p:first-of-type {
    text-transform: uppercase;
    margin-bottom: 0.5em;
    padding: 2px;
}

a.skip-main {
    left:-999px;
    position:absolute;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
    z-index:-999;
}
a.skip-main:focus, a.skip-main:active {
    color: #fff;
    background-color:#000;
    left: auto;
    top: auto;
    width: 30%;
    height: auto;
    overflow:auto;
    margin: 10px 35%;
    padding:5px;
    border-radius: 15px;
    border:4px solid white;
    text-align:center;
    font-size:1.2em;
    z-index:999;
}   

#mainRight a {
    text-decoration: none;
}

#mainRight a:hover {
    text-decoration: underline;
}

