
/*  Denne siden er utviklet av Houssam Melli, siste gang endret 14.05.2021*/
/*  Denne siden er kontrollert av Hatim Ardouane, siste gang 15.05.2021*/

main{
height: 100%;
}
#contener{
    min-height: 650px;
}
footer{
background-color: rgba(0, 0, 0, 0.3);
}

#border, #tabel, #border_med_feilMelding, #tabel_med_feilMelding , #serch_form{
    position: relative;
    width: 300px;
    height: 410px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0);
    border-radius: 10px;
    box-shadow: 2px 5px 10px rgb(54, 54, 54);
    background: rgba(209, 209, 209, 0.5);
    margin: auto;
    top: 5px;
}
#tabel{
    height: 350px;
}

#tabel, #tabel_med_feilMelding{
    overflow-y: scroll;
    left: 0;
    right: 0;
    border-radius: 10px;
    top: 10px;
}


#border_med_feilMelding{
    height: 470px;
}
table{
    border-collapse: collapse;
    width: 100%;
}
td, th{
    padding: 10px 20px;
}
th{
    background-color: rgb(30, 126, 10);
    color: rgb(255, 255, 255);
}

tr:nth-child(even){
    background-color: rgba(255, 255, 255, 0.5);
}
tr:nth-child(odd){
    background-color: rgba(196, 196, 196, 0.5);
}
td:hover {
    background-color: rgba(0, 0, 0, 0.404);
}


#inputer{
    margin: 15px 0 0 20px;
}
#knapper{
    margin: 40px 0 0 20px;
}

.label, .innData{
    display: list-item;
    list-style: none;
    margin: 10px 0 0 0;
}

.label{
    font-weight: bold;
}

.innData, #submit_knapp, #serch_knapp, #serch, .innDataA, .innDataB, #Admingotil{
    margin-bottom: 2px;
    width: 250px;
    padding: 5px;
    border-style: solid;
    border-color: rgb(255, 255, 255);
    border-radius: 3px;
    box-shadow: 0 2px 5px rgb(54, 54, 54);
}
.innDataA{
    width: 130px;
    padding: 0 5px;
}
.innDataB{
    width: 103px;
    padding: 1px 5px;
}

#submit_knapp, #serch_knapp, #Admingotil{
    background-color: rgb(54, 54, 54);
    color: white;
    border: none;
    cursor: pointer;
    width: 263px;
    margin-top: 5px;
}
#submit_knapp{
    margin: 20px 0;
    padding: 5px;
}
#feilMelding, #melding{
    margin: 20px 0 0 0;
    padding: 5px;
}

#Admingotil{
    display: block;
    margin:  80px auto 0px auto;
    cursor: pointer;
}

#serch_knapp{
    padding: 5px;
    width: auto;
    margin: 5px;
    right: 0;
    width: 60px;
    height: 29px;
}
#serch{
    background-color: rgb(255, 255, 255);
    width: 200px;
    margin: 5px;
    left: 0;
}

#serch_form{
    height: 40px;
    top: 5px;
}


#submit_knapp:hover, #Admingotil:hover{
    background-color: rgb(30, 126, 10);
    transition: 0.5s;
}


.knapp{
    background-color: rgb(54, 54, 54);
    width: 70px;
    padding: 5px;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgb(54, 54, 54);
    
    color: white;
    border: none;
    cursor: pointer;
    margin: 10px 0 0 10px;
    float: left;
}
.knapp:hover{
    background-color: rgb(30, 126, 10);
}
.p{
    margin: 10px 0 0 20px;
    display: inline;
    float: left;
}



#text{

    height: 50px;
}

#bilde{
    vertical-align: middle;
    border-radius: 50%;
    position: absolute;
    width: 100px;
    margin: auto;
    left: 0;
    right: 0;
    top: 10px;
    height: 100px;




}
#editbilde, #editbilde_knapp{
    position: absolute;
    right: 110px;
    width: 30px;
    top: 85px;
}
#editbilde_knapp{
    top: 88px;
}


#editbilde_knapp::before {
    content: 'sss';
    padding: 8px 8px;
    cursor: pointer;
    font-size: 15pt;
    opacity: 0;
    }


#video_bilde{
    position: fixed;
    object-fit: cover;
    width: 100vw;
    height: 100vh;
}

#Admingotil{
    display: block;
    visibility: visible;
}
.visible1{
    visibility: visible;
    display: block;
}
.hidden1{
    display: none;
    visibility: hidden;
}



@media screen and (min-width: 700px) {


    #border, #tabel, #border_med_feilMelding, #tabel_med_feilMelding, #serch_form{
        position: absolute;
        top: 150px;
        left: 0;
        right: 350px;
    }

    
    #tabel, #tabel_med_feilMelding, #serch_form{
        right: 0;
        left: 350px;
    }
    #tabel, #tabel_med_feilMelding{
        right: 0;
        left: 350px;
        top: 210px;
        
    }
    #contener{
        position: absolute;
        height: 600px;
    }


    #Admingotil{
        display: none;
        visibility: hidden;
    }
#spana, #spanb{
    display: block;
    visibility: visible;
}
    
}

