h1 {skriftsfarge) ?>;   
}

.menu{
    margin: 0;
    display: none;
    background:  #000000;   
   height: 100%;
     vertical-align: top;
     width: 250px;
     overflow-x: hidden;
     overflow-y: scroll;
     border: 1px solid black;
    // border-top: 4px solid red;
     font-size: 1.1em;
       -webkit-overflow-scrolling: touch;
}
.menu h1 {
  font-size: 1.5em;
  color: #ff0000; 
}
.menu h2 {
  font-size: 1.35em;
  color: #ff0000; 
}
.menu ul{
 padding-left:1em;
}


/*
.menu a:visited {
    color: ;
}*/

.padding {
    padding: 1em;
   
    
   
}
#mainmarg{
  /*background-image: url("../bilder/bakgrunn.png");
     background-repeat: no-repeat; */
}
.main{
 
    display: inline-block;
    background: white;
    vertical-align: top;
    max-width: 100%;
    width: 800px;
    padding: 0em;
    margin: 0;
       height: 100%;
    white-space: normal;
    
      -webkit-overflow-scrolling: touch;
     overflow-x: hidden;
     overflow-y: scroll;
     position: relative;
}
#menyknapp {
    display: none;
}
 
body {
    padding: 0;
    margin: 0;
    
}
#menyknapp:checked ~ .menu {
    display: inline-block;
}
label[for="menyknapp"] {
  /* critical positioning styles */
  position: fixed;
  left: 15px; top: 10px;
  z-index: 2;
  
  /* non-critical apperance styles */
  height: 30px;
  width: 30px;
  cursor: pointer;
  background-image: url("../bilder/ikon_meny_lys.png");
  background-size: contain;
}
#logginnikon {
  position: fixed;
  right: 15px; top: 10px;
  z-index: 2;
  
  /* non-critical apperance styles */
  height: 30px;
  width: 30px;
  cursor: pointer;
  background-image: url("../bilder/ikon_profil_lys.png");
  background-size: contain;
}
@media (min-width: 1050px) {
    #logginnikon {
        left: 1010px;  
    }
    
    .logo {width: 30%; margin-left: 2em; float: right;}
    
    .helstVenstre {
        float: left;
    }
    
    .helstHoyre {
        float: right;
    }

}
@media (max-width: 1049px) {
    .logo {
        display:block;
        width: 50%;
        margin: auto;
    }
    
    .helstVenstre {
        margin-top: 10px;
    }
    .helstHoyre {
        margin-top: 10px;
    }
}

#menyknapp:checked ~ label[for="menyknapp"] {
 background-image: url("../bilder/ikon_lukk_lys.png");
}

#container {
     vertical-align: bottom;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50px;
    bottom: 0px;
       width: 100%;
       min-width: 100vw;

      white-space: nowrap;
      overflow: hidden;
}

.topplinje {
    position: fixed;
    top: 0px;
    left: 0px;
    padding: 5px;
    padding-left: 60px;
    width: 100%; height: 40px;
    background-color: #000000; 
    color: #ff0000; 
     border-bottom: 2px solid #ff0000; 
   border-top: 2px solid #ff0000; 
   white-space: nowrap;
}














.forklaring {
    border-style: solid;
    padding: 10px;
   margin-right: 5px;
   margin-left: 5px;
}



.bilde {
    border:2px solid; 
    width: 100%; 
    max-width: 500px;
       
}

.venstre {
  /*  border-radius: 80px;
    background: #73AD21;
    padding: 20px; 
    width: 80px;
    height: 80px;
    */
     text-align: center;
     float: left; 
}
.hoyre {
/*
    border-radius: 80px;
    background: #ab2189;
    padding: 20px; 
    width: 80px;
    height: 80px;
    */
     text-align: center;
     float: right; 
}
.karakter {
   font-size: xx-large;
    font-weight: bold; 
}

.bakgrunnVenstre {
  background-color: ;   
  border: 1px solid black;
}
.bakgrunnHoyre {
     background: ;  
    border: 1px solid black;
}


.toppskrift {
    font-size: 70%;    
    font-style: normal;
}
.bunnskrift {
    font-size: 70%;    
    font-style: italic;
}

.resultattabell {
    overflow-x: scroll;
    
}

td {
    text-align: center;
    vertical-align:middle;
    
}

th:not(.spesial) {
    background-color: #ff0000; 
    color: #FFBFBF; 
}
a {
    color: #0971B2; 
}
a:visited {
    color: #1485CC; 
}
a[name] {
    color: #000000; 
}


tr:nth-child(even) {
background-color: #FFF2F2; 
}
tr:nth-child(odd) {
background-color: #FFBFBF; 
}

tr.diskusjon:nth-child(odd) {
    background-color: #B7C4CC; 
}
tr.diskusjon:nth-child(even) {
    background-color: #FFF2F2; 
}
.diskusjon td {
    text-align: left;
}
.diskusjon a {
    color: black;
    }
table {
    border-collapse:separate;
    border:solid black 1px;
    border-radius:6px;
    -moz-border-radius:6px;
    background: #000000;
}
.stemming {
    text-align: center;
    border-left: solid black 3px;
    border-right: solid black 3px;
    border-bottom: solid black 3px;
    border-radius:6px;
    background-color: #FFBFBF; 
}

.stemming div {
    padding: 0.5em;
}
/* .stemming div:nth-of-type(odd) {
background-color: #FFF2F2; 
}
.stemming div:nth-of-type(even) {
background-color: #FFBFBF; 
}
*/
.nyhet label {
 font-size: 1.3em;
 }
 
 #ekstrasporsmal {
    display: none;
 }

 .stemming th {
 background-color: #0971B2;    
 color:  #000000; /*#B7C4CC;*/
 }
 
 

 .stemming td {
 background-color: #B7C4CC;    
    color: #000000; 
 }
 
 .stemming h1 {
    font-size: 1.2em;
    font-face: bold;
     background-color: #000000; 
        color: #ff0000; 
       border-bottom: 2px solid #ff0000; 
       border-top: 2px solid #ff0000; 
       margin: 0;
 }
 .stemming h2 {
    font-size: 1.1em;
    font-face: bold;
     
 }

.ramme {
    border: 2px solid #111111;
}

.avbruker {
    font-size: 0.8em;
}
.logginnboks {
     border: 3px solid #000000;
    background: #FFBFBF;
   /* border: 3px solid silver; background: linear-gradient(silver,white);
    border-radius: 6px;*/
   padding: 10px;
    margin-top: -20px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 10px;
    text-align: center;
    word-wrap:break-word;
    word-break: break-all;
    
}

input, select {
 border: 2px solid #111111;
border-radius: 6px;
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
margin-left: 0px;
margin-right: 2px;
}


.logginnblock {
    display: inline-block;
    margin: 5px;
}

button[disabled]:active, button[disabled],
input[type="button"][disabled]:active,
input[type="button"][disabled],
input[type="submit"][disabled]:active,
input[type="submit"][disabled] ,
button[disabled]:hover,
input[type="button"][disabled]:hover,
input[type="submit"][disabled]:hover
{
  min-width: 120px;   
 background-color: #FFBFBF;   
    color: #000000;   
    font-weight: bold;
}

input[type=submit] {
 min-width: 120px;   
 background-color: #999999;   
    color: #000000;  
     font-weight: bold;
}
input[type=submit]:hover {
    color: #FFBFBF;  
    font-weight: bold;
    background-color: #000000; 
}
input[type=button] {
 min-width: 120px;   
 background-color: #999999;   
    color: #000000;   
}
input[type=button]:hover {
    color: #FFBFBF;  
    font-weight: bold;
    background-color: #000000; 
}





li {
    margin-left: 2em;
}




/* Korthuset nettsamfunn logginnboks */
.logginnboks {
    display: none;
}
#logginnknapplabel {
    color: gray;
       font-weight: bold;
}
#logginnknapplabel:hover {
    cursor: pointer;
}
#logginnknapp {
   display: none;
}
#logginnknappbilde {
     background-image :url("https://spillby.com/common/pluss.png") ;
     background-size: 100% 100%;
    display: inline-block;
    width: 1em;
    height: 1em;
     padding: 0 0 0 0px;
}
#logginnknapp:checked ~ #logginnknappbilde {
    background-color: red;
    border-width: 10px;
    background:url("https://spillby.com/common/minus.png");
     background-size: 100% 100%;
    display: inline-block;
    width: 1em;
    height: 1em;
     padding: 0 0 0 0px;
}
#logginnknapp:checked ~ .logginnboks {
    display: block;
}



.lenkeknapp {
    min-width: 120px;  
      background-color: #999999;   
    color: #000000;   
     text-decoration: none;
     border: 2px solid #111111;
    border-radius: 6px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 0px;
    margin-right: 2px;
    white-space: nowrap;
}

.lenkeknapp:visited {
    background-color: #999999;   
    color: #000000;   
}
.lenkeknapp:hover {
    font-weight: bold;
    color: #FFBFBF;  
    background-color: #000000; 
}

img {
  max-width: 100%;
} 

.menu a {
    color: #FFBFBF;
    text-decoration: none;
}


.seksjonsboks1 {
    padding: 10px;
    border:solid black 3px;
    border-radius:6px;
    background-color: #F9F4F4;    
 color: #000000;    
 }
 
 .seksjonsboks1 a {
    color:  black; 
 }
 
 
 .seksjonsboks2 {
    padding: 10px;
    border:solid black 3px;
    border-radius:6px;
    background-color: #FFBFBF;
    </*#B7C4CC;    */
 color: #000000;    
 }
 
 
 .seksjonsboks3 {
    padding: 10px;
    border:solid black 3px;
    border-radius:6px;
    background-color: #ffffff;    
 color: #000000;    
 }

.ikon {
    width: 50px;
    margin: 5px;
    }
.ikonsymbol {
    width: 30px;
}

.spesial {
    border: 0;
    background-color: inherit;
    color: inherit;
}
.spesial td {
    background-color: inherit;
    color: inherit;
}
.spesial th {
    background-color: inherit;
    color: inherit;
}

.spesial tr {
    background-color: inherit;
    color: inherit;
}

textarea {
    max-width: 99%;
       border-radius: 6px;
    }
.sidescroll {
    overflow-x: auto;
}
.sidescroll table {
    margin-left:auto; 
    margin-right:auto;
}
 .oversikt {
                display: inline-block;
                width: 200px;
                border: 3px solid black;
                margin: 5px;
                text-align: center;
                border-radius: 6px;
                padding: 5px;
                font-size: 20px;
                font-weight: bold;
                color: black;
                text-decoration: none;
            }
    .oversikt a {
         color: inherit;
        text-decoration: inherit;
    }
  
 @media (min-width: 1050px) {  
.forumarkiv {
    margin-right: 20px;
    margin-left: 0px;
    margin-bottom: 10px; 
    width: 240px; 
    display: inline-block;
    padding: 10px;
    border:solid black 3px;
    border-radius:6px;
    background-color: #B7C4CC;    
    color: #000000;    
 }
 }
 @media (max-width: 1049px) {  
.forumarkiv {
    margin-right: 20px;
    margin-left: 0px;
    margin-bottom: 10px; 
    width: 95%; 
    display: inline-block;
    padding: 10px;
    border:solid black 3px;
    border-radius:6px;
    background-color: #B7C4CC;    
    color: #000000;    
 }
 }
 
 
 .nyhetrad {
    display: flex;
    width: 100%;
    text-align: center;
     padding: 0;
     
     background: white;
 }
 
 .nyhet {
    
    width: 320px;
    max-width: 95%;
    background: white;
    display: inline-block;
    padding: 1em;
   margin: 0;
     border-radius:6px;
     text-align: left;
    }
    
    .nyhet h1 {
        padding: 0;
        margin-top: 0;
        font-weight: bold;
       font-size: 2em;
       text-decoration: none;
       color: black;
        margin-bottom: 0.7em;
       
    }
    
    h1 a {
        text-decoration: none;
       color: black;
    }
     h1 a:visited {
        text-decoration: none;
       color: black;
    }
    
   .h {
       padding: 0;
       margin: 0;
       font-weight: bold;
       color: red;
       font-size: 1.5em;
   }
    
    
  .nyhetspan {
    width: 705px;
    max-width: 95%;
    background:white;
    display: block;
    padding: 1em;
    margin: 5px;
     border-radius:6px;
 }
 .nyhetbilde {
    width: 100%;
    text-align: center;
 }
 
 .anbefaltspillbilde {
    max-width: 90%; height: 150px; max-height: 90%;
    }
    
 @media (min-width: 1049px) { 
    .barelitenskjerm {
        display: none;
    }
    .vertikallinje {
        border-left: 1px solid  #B7C4CC;    
        border-radius: 0px;
        width: 2px;
    }
 }
 
  @media (max-width: 1049px) { 
    .barestorskjerm {
        display: none;
    }
}
 
 hr {
    border-top: 1px solid #B7C4CC;  
 }
 
 @media (max-width: 1049px) { 
    .vertikallinje {
        display: none;
    }
     .anbefaltspillbilde {
        height: 100px;
        }
     
     .nyhetrad {
        display: block;
        margin-left: 0;
        margin-right: 0;
        
     }
    .nyhet {
        margin-left: 0;
        margin-right: 0;
        
    }
    .nyhetspan {
        max-width: 90%;
        margin-left: 0;
        margin-right: 0;
        
    }
 }
 
 #spillbord {
   
    padding: 10px;
    border:solid black 3px;
    border-radius:6px;
    background-color: #FFBFBF;  
    border-color: #ff0000;
    color: #000000;  
    max-width: 800px;
    margin: 1em;
    text-align: center;
 }
 
 .sskort {
    width: 60px;
 }
 .sskorthand {
    width: 60px;
    margin-left: -40px;
    margin-right: 0px;
 }
 .sskortboks {
    display: flex;
    padding: 0px;
    margin: 0px;
   
 
 }
 @media (max-width: 1049px) { 
 .sskort {
    width: 50px;
 }
 .sskorthand {
    width: 50px;
    margin-left: -25px;
 }

 }
 
 #spillbord td {
    text-align: center;
    }
    
    .sshand {
        white-space: nowrap; display: inline-block;  width: 50%; overflow-x: auto;
    }
    
     .tagboks {
                display: inline-flex;
                align-items: center;
                width: 165px;
                height: 50px;
                border: 3px solid black;
                margin: 3px;
                text-align: center;
                border-radius: 6px;
                padding: 5px;
                font-size: 20px;
                font-weight: bold;
                color: black;
                text-decoration: none;
                vertical-align: middle;
                background-color: #B7C4CC;    
            }
    .tagboks a {
         color: inherit;
        text-decoration: inherit;
    }
    
    .tagboksbilde {
        width: 40%; height: 50px; display: inline-block;
    }
    
     @media (max-width: 1049px) { 
      .tagboks {
         width: 90px;
         height: 35px;
         font-size: 11px;
          border: 2px solid black;
          padding: 2px;
    }
    .tagboksbilde {
        height: 35px;
    }
     }
    
    .feedbilde {
        width: 150px;
        position: relative;
        min-height: 100px;
        }
        
     .feedbilde img {
       
          
        max-width: 70%; 
        max-height: 70%;
        position: absolute;  
        
        width: auto;
        height: auto;
        
        top: 0;  
        bottom: 0;  
        left: 0;  
        right: 0;  
        margin: auto;
     }
        
        .feedtekst {
            max-width: 100%; width: 600px; text-align: left;
        }
        
        .feedkommentar {
            margin: 1em;
            border-radius: 6px;
            background-color: #B7C4CC; 
            padding: 1em;
        }
        .feednykommentar {
            margin: 1em;
            border-radius: 6px;
            
            padding: 0;
        }
        
        .tittel {
    font-size: xx-large;
    font-weight: bold;
    text-decoration: none;
    
   /* text-shadow: 2px 2px #000000;*/
 /*  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;  
    */
}
.undertittel {
    font-size: x-large;
    font-weight: bold;
    font-style: italic;
}
@media (max-width: 400px) {                  
   .undertittel {
      display: none;
   }
}

.litenboks {
    margin: 5px;
}

.boble { padding: 1em; position: relative; background:#FFFC19; border-radius: 6px; } 
@media (min-width: 1049px) {
.boble:after { content: ''; position: absolute; right: 0; top: 50%; width: 0; height: 0; border: 55px solid transparent; border-left-color: #FFFC19; border-right: 0; border-bottom: 0; margin-top: -27.5px; margin-right: -55px; }
}
@media (max-width: 1049px) {
.speech-bubble:after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 0; border: 55px solid transparent; border-top-color:  #FFFC19; border-bottom: 0; border-left: 0; margin-left: -27.5px; margin-bottom: -55px; }
}

.sirkelmarg {
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    text-decoration: none;
    height: 100px;
    overflow: hidden;
    margin-bottom: 5px;
   
}
.sirkel {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    border-radius: 40px;
    width: 40px;
    height: 40px;
    border: 1px solid black;
    background:#B7C4CC;
    padding: 6px;
    margin: auto;
    margin-bottom: 10px;
    align-items: center;
    vertical-align: middle;
}
.sirkelikon {
    width: 15px;
    height: 15px;
    margin: 2px;
}
.sirkelbilde {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.litenspillink {
padding-top: 5px; padding-bottom: 5px; display: flex; font-size: 1em;  background:  #FFFC19; justify-content: space-between; flex-direction: column; border-radius: 6px; margin: 4px;  color: black; text-decoration: none; vertical-align: bottom; text-align: center; width: 120px; height: 60px;
}

.litenkarakter {
    margin: 5px; position: absolute; right: 0; top: 0;
    text-align: center; border-radius: 200em; border: 1px solid black; padding: 3px; font-weight: bold;
    background:#FFFC19;
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */

/* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

table.stolper {
    width: 90%;
    border: none;
    border-collapse: collapse;
}

table.stolper tr td {
    background: white;
}

table.stolper tr td .bar {
    background: red;
    border: 1px solid black;
    height: 20px;
}

table.stolper tr td:first-child {
    width: 200px;
}
table.stolper tr td:last-child {
    width: 50px;
}

/*
table.stolper tr td:nth-child(1) {
    border-left: 1px solid black;
    border-right: 1px solid black;
}

table.stolper tr:first-child {
    border-top: 1px solid black;
}


table.stolper tr td:last-child {
    border-right: 1px solid black;
}

table.stolper tr:last-child  {
    border-bottom: 1px solid black;
}
*/

.litencheck {
    width: 10px;
    }
    

@keyframes popup {
  0%{
  opacity: 0.1;
  }
  10%{
     opacity: 0.2;
  }
  20%{
 opacity: 0.3;
  }
  30%{
     opacity: 0.4;
  }
  40%{
     opacity: 0.5;
  }
  50%{
     opacity: 0.6;
  }
  60%{
     opacity: 0.7;
  }
  70%{
     opacity: 0.8;
  }
  80%{
     opacity: 0.9;
  }
  90%{
     opacity: 0.925;
  }
  100%{
     opacity: 0.95;
  }
}