html{
    max-height: 100%;
    min-height: 100%;
    background-color: black;
}

.wrapper {
    display: flex;
    flex-direction: column;
    /*    border-style: solid;*/
    border-radius: 0px;
    border-width: 3px;
    font-family: 'Montserrat';
    height: 100%;
    max-width: 1750px;
        margin-left: auto;
    margin-right: auto;
    
}

header {
    min-width: 0;
    display: flex;
    align-items: center;
    align-content: center;
    align-self: center;
    flex-direction: row; 
    
}

body {
    background-color: black;
    max-width: 100%;
    display: block;
    margin: auto;
    background-size: cover;
}

nav{
    background-color: black;
    width: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 20;
    max-width: 1750px;


}

.headerbildediv {
    min-width: 50%;
    padding: 6px;
    display: block;
    text-align: center;
    max-height: 70px;
    
}
.headertextdiv {
    margin: auto;
    width: 100%;
    text-align: center;
}

.headerbilde {
    max-width: 100%;
    max-height: 70px;
}

.headertext {
    width: 30%;
    font-size: 40px;
    align-content: center;
}


footer {
    padding: 10px; 
    background-color: black;
    color: white;
    text-align: center;
}

.logo {
    width: 50%;
    order: 2;
}

.hoved {
    display: flex;
    align-content: center;
    justify-content: space-between;
    background-color: transparent;
    flex-wrap: wrap; 
    padding: 10px 0px 10px 0px
    align-content: center;
    align-self: center;
    align-items: center;
    width: 100%;
        
}



.hoved div h1, .hoved div p, .hoved div a{
    max-width: 90%;
    align-content: center;
    align-self: center;
    align-items: center;
    
}
iframe {
    max-width: 95%;
    max-height: 95%;
}

.infohoved {
    justify-content: space-between;
    background-color: #eaeaea;
    padding-right: 50px;
    padding-left: 50px;
    padding-bottom: 20px;
    margin-top: 70px;
    max-height: 100%;
    max-width: 100%;
    display: flex;
}
ul {
    list-style-type: none;
}
#box1{
    width: 48%;
    max-width: 750px;
    display: flex;
    padding-bottom: 20px;
    justify-content: flex-start;
    flex-direction: column;
    height: 100%;
    text-align: center;
    margin-top: 40px;
}

#box2{
    display: flex;
    height: 100%;
    width: 46%;
    max-width: 650px;
    height: inherit;
    justify-content: space-between;
    flex-direction: column;
    align-content: center;
    z-index: 1;
    margin-top: 120px;
}
#textsidestilt{
    max-width: 1410px;
    text-align: left;
}


#test2{
    display: flex;
}

#box2upper{
    margin: 0;
    padding: 0;
    display: flex;
    height: 50%;
    flex-direction: column;
}

#textunderpicture{
    position: absolute;
    margin: 0;
    padding: 0;
    margin-bottom: 30px;
    font-size: 15px;
    text-align: center;
}

.påmeldingtextdiv{
    margin-left: 40px;
}

.påmeldingtext{
    color: black;
    padding: 5px;
    color: white;
    background-color: #157ee5;
    border-radius: 5px;
    width: 130px;
    height: 30px;
    text-align: center;
}

.påmeldingtext:hover{
    
background-color: white;
    color: black;
}
    
.omoss {
    display: flex;
    justify-content: space-around;
    background-color: #eaeaea;
    flex-wrap: wrap;
    padding: 10px 20px 20px 20px;
    height: 100%;
    padding-left: 30%;
    padding-right: 30%;
    
}

.bestill {
    width: 100%; 
    max-width: 400px;;
}
ul b {
    margin-right: 15px;
    text-decoration-line: underline;
}

.infohoved ul {
    padding-left: 0;
    
}


#midlertidig {
    text-align: center;
    justify-content: center;
    margin-top: 70px;
}

#box2picture {
   height: 100%;
    width: 100%;
}

#box2video {
   position: absolute;
   top: 0;
   left: 0;
   bottom: 0;
   right: 0;
   height: 100%;
    width: 100%;
    display: block;
    margin: 0 auto;
    z-index: 40;
}


#ratio169 {
    position: relative;
    padding-top: 56.25%;
    width: 100%;
    z-index: 1;
    
}

meny {
    display: flex;
    width: 50%;
    padding-right: 8.5%;
    z-index: 300;
    
}

.program {
    margin-left:  10px;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    width: 33%;
    
}

.infohoved2 {
    display: flex;
    background-color: #eaeaea;
    padding-right: 50px;
    padding-left: 50px;
    padding-bottom: 20px;
    margin-top: 70px;
    max-height: 100%;
    max-width: 100%;
}

.program li {
    margin-bottom:  10px;
}




@media only screen and (max-width: 1000px) {
    meny{
        margin-right: 25%;
        padding-right: 0;
    }
    .headerbildediv {
    padding-right: 0px;
    }
}

h2 {
    font-size: 40px;
    margin-bottom: 0;
    margin-top: 20px;
}



#pomeldingtekst {
    margin-bottom: 20px;
    margin-right: 40px;
}

#tekstogknapp {
    display: flex;
}


#colorwhite {
    color: white;
}

html {
    min-height: 100%;
    max-height: 100%;
}

#testupper2 {
        position: fixed;
        background-color: transparent;
        padding: 5px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        color: white;
        margin-top: 14px;
        margin-bottom: 14px;
    display: flex;
}




@media only screen and (max-width:  1025px) {
    header {
        flex-direction: column;
    }
    .hoved, .infohoved {
        flex-direction: column;
        align-items: center;
    }

    nav{
        display: flex;
        flex-direction: column;
    }
    meny {
    width: 100%;
    padding-right: 0;
    
    }
    .wrapper {
        margin: 0;
    
    }
    
    .infohoved {
        padding: 0;
        margin-top: 70px;
    }

    #box1, #box2{
        max-width: 90%;
        width: 100%;
    }
    #box1{
        margin-top: 70px;

    }
    .headerbildediv {
        width: 30%;
    }
    .headerbilde {
    max-height: 60px;
    }
   .menu ul li {
        width: 100%;
    }
    nav{
        position: fixed;
    }
    .omoss{
         margin-top: 70px;
        padding-left: 15px; 
        padding-right: 15px;
    }
    meny{
        display: none;
    }
    .påmeldingtextdiv{
        margin: 0;
        text-align: center;
    }    
    #tekstogknapp {
    flex-direction: column;
    }
    #pomeldingtekst {
        margin-right: 0;
    }
    #testupper2 {

    }

    .infohoved2 {
        flex-direction: column;
    }
    
    .program{
        width: 100%;
        padding: 0;
    }

}
h3 {
    margin-top: 0;
    margin-bottom: 0;
}

#wrapper {
    font-size: 22px;
}



.clickout {
}
