body{
    /* display: flex;
    flex-direction: column; */
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden;
    /* overflow-y: auto;   */
}

label{
    font-weight: bold;
    width: 245px;
}

input{
    border: 1px solid black;
    border-radius: 5px;
    padding: 5px;
}

input:focus{
    outline: none;
    box-shadow: 0 0 2px rgb(0, 51, 102);
}

h4{
    display: flex;
    justify-content: space-evenly;
    margin: 0 0 10px 0;
}

footer{
    display: flex;
    /* position: absolute;
    bottom: 0; */
    margin-top: 150px;
    width: 100%;
    height: 30px;
    line-height: 15px;
    border-top: 1px solid black;
    padding-top: 12px;
    padding-left: 1rem;
}

#container{
    display: flex;
    flex: 1 0 auto;
    /* flex-flow: row wrap; */
    justify-content: center;
    position: relative;
    min-height: 100%;
}

#topBorder{
    margin-bottom: 1rem;
    width: 100vw;
    height: 30px;
    background-color: rgb(0, 51, 102);
    padding-top: 12px;
    padding-left: 1rem;
    color: white;
    text-align: left;
    font-weight: bold;
}

.topText{
    max-width: 50rem;
    display: flex;
    flex-flow: column wrap;
    margin: auto;
}

.topText p{
    max-width: 50rem;
}

#formWindow{
    display: flex;
    position: relative;
    flex-flow: column wrap;
    align-items: center;
    width: 50rem;
    min-height: 30rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid black;
    border-radius: 1rem;
}

.formGrp{
    margin-bottom: 1rem;
    display: flex;
    flex-flow: row wrap;
    max-width: 660.48px;
    justify-content: space-between;
}

.formGrp label{
    display: block;
}

.formGrpItems{
    flex: 0 1 0;
}

.formBtnGrp{
    margin-top: 1rem;
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    justify-content: space-between;
}

.formRadioGrp{
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 1rem;
}

#firmInput{
    margin-left: 0;
}

.formRadioBox{
    display: flex;
    flex-flow: row wrap;
    justify-items: flex-start;
}

.formCheckbox{
    margin-bottom: 1rem;
    justify-items: flex-start;
}

.dropDown{
    width: 15.7rem;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    padding: 0.5rem;
    border: 1px solid black;
    border-radius: 5px;
}

.btnContainer{
    width: 15.75rem;
}

.btn{
    width: 6rem;
    height: 2rem;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.btn:focus{
    outline: none;
}

.btnOk{
    border: 2px solid rgb(0, 51, 102);
    color: black;
    background-color:white;
    transition-duration: 0.4s;
}
.btnOk:hover{
    border: 2px solid rgb(0, 51, 102);
    background-color: rgb(0, 51, 102);
    color: white;
    transition-duration: 0.4s;
}

.btnDeny{
    border: 2px solid red;
    color: black;
    background-color:white;
    transition-duration: 0.4s;
}
.btnDeny:hover{
    border: 2px solid red;
    background-color: red;
    color: white;
    transition-duration: 0.4s;
}

.checkBox[type="checkbox"]{
    margin: 0;
    width: 16px;
    height: 16px;
}

.checkBox-error{
    color: red;
}

.inputWith{
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    width: 15rem;
    height: 1.5rem;
}

.inputWith-error{
    border: 1px solid red;
}

#errorText{
    font-weight: bold;
    color: red;
}

#samtykkeText{
    max-width: 36rem;
    margin: auto;
    font-style: italic;
}

.hide{
    visibility: hidden;
}

@media only screen and (max-width: 800px ){
    .topText{
        padding: 1rem;
    }
}

@media only screen and (max-width: 375px ){
    .formRadioBox{
        flex-flow: column wrap;
        margin-left: 0;
    }
    #unionInput{
        margin-left: 0;
    }
}