/* Utviklet av Magnus Lonebu, Andrej Kuzmenko, Halil Vugdalic, Are Skoglund, Håkon Fornes sist endret 07.12.2020 */
/* Kontrollert av Are Skoglund 08.12.2020 */
body                                            {
                                                text-align: center;
                                                font-family: Arial, Helvetica, sans-serif;
                                                }
article                                         {
                                                text-align: left;
                                                }
/* Table styling */
table, thead, tbody, th, td, tr                 {
                                                display: block;
                                                }
thead tr                                        {
                                                position: absolute;
                                                top: -9999px;
                                                left: -9999px;
                                                font-weight: bold;
                                                }
tr                                              {
                                                border: 1px solid #ccc;
                                                }
td                                              {
                                                border-bottom: 1px solid #ccc;
                                                position: relative;
                                                padding: 7px;
                                                }
th                                              {
                                                font-weight: bold;
                                                padding: 7px;
                                                }
td:before                                       {
                                                position: static;
                                                top: 6px;
                                                left: 6px;
                                                width: 45%;
                                                padding-right: 10px;
                                                white-space: nowrap;
                                                font-weight: bold;
                                                }
td:nth-of-type(1):before                        { content: "Brukernavn:"; }
td:nth-of-type(2):before                        { content: "Fakultet:"; }
td:nth-of-type(3):before                        { content: "Parti:"; }
td:nth-of-type(4):before                        { content: "Informasjon:"; }
tr:nth-of-type(odd)                             {background:#eee;}
/* Slutt på table styling */
.nominerinfo                                    {
                                                height:100px;
                                                }
.container                                      {
                                                padding: 10px;
                                                }
input[type=text], input[type=password], input[type=email]        {
                                                width: 40%;
                                                padding: 10px;
                                                margin: 10px 0 15px 0;
                                                display: inline-block;
                                                border: none;
                                                background: #c9c9c9cc;
                                                }
hr                                              {
                                                border: 2px solid #ff8521e1;
                                                margin-bottom: 15px;
                                                max-width: 100%;
                                                }
.registrerbtn                                   {
                                                background-color: #ff8521e1;
                                                padding: 10px 15px;
                                                border: none;
                                                cursor: pointer;
                                                width: 25%;
                                                opacity: 0.7;
                                                margin-top: 20px;
                                                }
.logginnbtn,.glemtpassordbtn                    {
                                                background-color: #ff8521e1;
                                                padding: 10px 15px;
                                                border: none;
                                                cursor: pointer;
                                                width: 20%;
                                                opacity: 0.7;
                                                margin-top: 20px;
                                                }
.registrerbtn:hover,.logginnbtn:hover,.glemtpassordbtn:hover  {
                                                opacity: 1;
                                                }
input[type=checkbox]                            {
                                                margin-top: 15px;
                                                }

a                                               {
                                                text-decoration: none;
                                                }
.boks hr                                        {
                                                border: 2px solid transparent;
                                                }
.fakultet                                       {
                                                color:grey;
                                                font-size: 18px;
                                                }
.fødselsdato                                    {
                                                color:grey;
                                                font-size: 16px;
                                                }
button                                          {
                                                border: none;
                                                outline: 0;
                                                display: inline-block;
                                                padding: 8px;
                                                color: white;
                                                background-color:#ff8521e1;
                                                text-align: center;
                                                cursor: pointer;
                                                width: 40%;
                                                font-size: 18px;
                                                }
button:hover, a:hover                           {
                                                opacity: 0.8;
                                                }                                      
#profilbilde        {
                    height: 250px;
                    width: 275px;
                    }
#pcmeny             {
                    display:none;
                    z-index: 1000;         
                    }
#banner             {
                    top: 0px;
                    background-color: white;
                    color: white;
                    text-align: center;
                    display: block;
                    position: sticky;
                    overflow: auto;
                    border-bottom: 1.5px solid black ;
                    width: 100%;
                    z-index: 1000;
                    }
#kommunevåpenmobil  {
                    width: 140px;
                    height: 50px;
                    float: left;
                    }
#menyikon           {
                    width: 50px;
                    height: 50px;
                    float: right;
                    }

/*Her kommer burgermenyen*/
.burgermeny         {
                    background-color: #fff;
                    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
                    position: right;
                    width: 100%;
                    z-index: 1000;
                    }
.burgermeny ul      {
                    margin: 0;
                    padding: 0;
                    list-style: none;
                    overflow: hidden;
                    background-color: #fff;
                    /* overflow-y: scroll; */
                    }
.burgermeny li a    {
                    display: block;
                    padding: 10px 10px;
                    border-right: 1px solid #f4f4f4;
                    text-decoration: none;
                    }
.burgermeny li a:hover,
.burgermeny .meny-knapp:hover {
                    background-color: #f4f4f4;
                    }
.burgermeny .logo   {
                    display: block;
                    float: left;
                    font-size: 2em;
                    padding: 10px 20px;
                    text-decoration: none;
                    }

/* meny */
.burgermeny .meny   {
                    clear: both;
                    max-height: 0;
                    transition: max-height .2s ease-out;
                    }

/* meny ikon */

.burgermeny .ikon       {
                        cursor: pointer;
                        display: inline-block;
                        float: right;
                        padding: 28px 20px;
                        position: relative;
                        user-select: none;
                        }

.burgermeny .ikon .navikon {
                        background: #333;
                        display: block;
                        height: 2px;
                        position: relative;
                        transition: background .2s ease-out;
                        width: 18px;
                        }
.burgermeny .ikon .navikon:before,
.burgermeny .ikon .navikon:after {
                        background: #333;
                        content: '';
                        display: block;
                        height: 100%;
                        position: absolute;
                        transition: all .2s ease-out;
                        width: 100%;
                        }

.burgermeny .ikon .navikon:before {
                        top: 5px;
                        }

.burgermeny .ikon .navikon:after {
                        top: -5px;
                        }

/* meny knapp */

.burgermeny .meny-knapp {
                        display: none;
                        }

.burgermeny .meny-knapp:checked ~ .meny {
                        max-height: 240px;
                        }

.burgermeny .meny-knapp:checked ~ .ikon .navikon {
                        background: transparent;
                        }

.burgermeny .meny-knapp:checked ~ .ikon:not(.steps) .navikon:before,
.burgermeny .meny-knapp:checked ~ .ikon:not(.steps) .navikon:after {
                        top: 0;
                        }

/* for alt større enn tablet */
@media (min-width: 801px) {
    table, caption, tbody, tfoot, thead, tr, th, td {
                    margin: 0;
                    padding: 0;
                    border: 0;
                    outline: 0;
                    font-size: 100%;
                    vertical-align: baseline;
                    background: transparent;
                    }
    td:before       {
                    position: static;
                    top: 6px;
                    left: 6px;
                    width: 45%;
                    padding-right: 10px;
                    }
    table           {
                    margin-left:auto; 
                    margin-right:auto;
                    border-collapse: collapse;
                    width: 60%;
                    }
    th              {
                    background: #333;
                    color: white;     
                    }
    td,th           {
                    border: 1px solid #ccc;
                    padding: 10px;
                    text-align: center;
                    }
    tr              {
                    border-bottom: 1px solid #ccc;
                    }
    tr:nth-of-type(odd){background:#eee;}
    #banner         {
                    display: none;
                    }
    .burgermeny     {
                    display: none;
                    }
    #pcmeny         {
                    top: 0px;
                    background-color: white;
                    color: white;
                    text-align: center;
                    display: block;
                    position: sticky;
                    }
    input[type=text], input[type=password], input[type=email] {
                    width: 50%;
                    }
    #kommunevåpen   {
                    width: 140px;
                    height: 50px;
                    padding-top: 15px;
                    }
    .burgermeny li  {
                    display:none;
                    }
        
    .burgermeny .ikon {
                    display: none;
                    }
    article         {
                    max-width: 60%;
                    margin-right: auto;
                    margin-left: auto;
                    text-align: left;
                    }
hr                  {
                    max-width: 60%;
                    }
                }