@charset "utf-8";

:root {
    --primary-one:#F1F1F1;
    --primary-two:#ff6f61 ;  
    --primary-three:#ff6d70;
    --primary-four:#333333; 
  }
  html{
  font-family: "Roboto", sans-serif;
  height: 100%;
 }
  body{
    margin:0;
    padding: 0;
    height: 100%;
    background-color: #F1F1F1;
  }
  h1{
    width: 80%;
    text-align: center;
  }
  h2{
    font-weight: 400;
    font-size: 30px;
  }
  h4{
    font-weight: 200;
  }
  fieldset{
    border: none;
  }
  a:focus {
      outline-color:#ff6d70 ;
      outline-style:solid;  
      outline-width: medium;
    }
  a.skip{
    left:-999px;
    position:absolute;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
    z-index:-999;
  }
  h2:focus{
    outline-color:#ff6d70 ;
    outline-style:solid;  
    outline-width: medium;
  }
  a.skip:focus, a.skip:active {
    color: #fff;
    background-color:#000;
    left: auto;
    top: auto;
    width: 20%;
    height: auto;
    overflow:auto;
    margin: 10px 35%;
    padding:5px;
    text-align:center;
    font-size:1.2em;
    z-index:999;
}
  * {
    box-sizing: border-box;
  }
  hr{
    border: 1px solid #F1F1F1;
  }
  .icons{
    margin:10px;
    margin-right: 20px;
    font-size: 50px;
    color: var(--primary-two);
    color: #ff6d70;
  }
  .icons-sm{
    text-align: center;
    font-size: 18px;
    width: 10px;
    height: 10px;
    top: 5px;
  }
  .icons-m{
    font-size: 30px;
    margin: 0;
    padding: 10px;
    margin-right: 10px;
    position: relative;
    /* Adjust these values accordingly */
    top: 5px;
    left: 5px;
  }
  .label {
    color: white;
    padding: 5px;
    margin-left: 5px; 
    border-radius: 12px;
    font-weight: 400;
  }

  .ny {
    background-color: #f44336;
  }
  .nav{grid-area: nav;}
  .aside{grid-area: aside;}
  .skjema{grid-area: skjema;}
  .footer{grid-area: footer;}

  .grid-container {
    display: grid;
    min-height: 100%;
    grid-template-areas:
      'nav nav nav nav nav nav'
      'aside skjema skjema skjema skjema skjema'
      'aside skjema skjema skjema skjema skjema'
      'aside skjema skjema skjema skjema skjema'
      'footer footer footer footer footer footer';
      grid-template-columns: 430px auto auto;
      grid-column-gap:20px;
  }
  nav{
    background-color: var(--primary-four);
    height: auto;
  }
  nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  nav li {
    float: left;
  }
  nav li a{
    display: block;
    color:var(--primary-one);
    margin:10px;
    padding: 8px 16px;
    text-decoration: none;
  }
  nav li a:focus{
  background-color: #555;
  }
  nav li a:hover {
    background-color: #555;
    color: white;
  }
  .cards{
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 2px 16px;
    color:#757575;
    background-color: #FFFFFF;
  }
  aside{
    margin-left: 40px;
    overflow: auto;
  }
  aside ul{
    position:relative;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  aside li a{
    display: block;
    color: #000;
    padding: 8px 8px 8px 32px;
    text-decoration: none;
}
  aside li a:hover {
    background-color: #555;
    color:white;
    transition: 0.3s;
  }
  aside p{
    text-align: center;
  }
  aside h1{
    margin-left: 30px;
    font-size: 20px;
    font-weight: 400;
  }
 .fa-id-badge{
    margin:30px;
 }
  figure{
    text-align: center;
    margin: 0;
    margin-top: 2%;
    margin-bottom: 2%;
    padding: 10px;
    height: auto;
    width: 100%;
    background-color: #F1F1F1;
  }
  figure h2{
    color: #000;
  }
  #Kontaktopplysninger{
    margin-left: 30px;
    font-size: 15px;
  }
  .kontakt a{
    display: block;
   color:#757575;
  }
  .kontakt a:focus{
     outline-color:#ff6d70  ;
     outline-style:solid;  
     outline-width: medium;
  }
  .kontakt{
    margin-left:30px;
    text-align: center;  
    width: 80%;
    display: block;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  .sektorIkon{
    float: right;
    height: 30px;
    width: auto;
  }
  #userImg{
    max-width: 30%;
    height: auto;
    margin-top:15px;
  }
  .kontaktperson {
    display: inline-block;
    padding: 0 25px;
    height: 50px;
    font-size: 16px;
    line-height: 50px;
    border-radius: 25px;
    background-color: #f1f1f1;
  }
  .kontaktperson img {
    float: left;
    margin: 0 10px 0 -25px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
  }
  .skjema{
    margin-right: 40px;
  }
  input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0px 4px 4px 0px;
    resize: vertical;

  }
  input[type=text]:focus {
    outline-color:#ff6d70;
    outline-style:solid;  
    outline-width: medium;
  }
  button:focus {
    outline-color:var(--primary-four);
    outline-style:solid;  
    outline-width: medium;
  }
  input[type=radio]:focus{
    outline-color:#ff6d70;
    outline-style:solid;  
    outline-width: medium;
  }
  textarea:focus{
    outline-color:#ff6d70;
    outline-style:solid;  
    outline-width: medium;
  }
  label {
    padding: 12px 12px 12px 0;
    display: inline-block;
    margin-top: 15px;
  }
  .formicon {
    padding: 10px;
    background:white;
    color:var(--primary-two);
    min-width: 50px;
    text-align: center;
    border-radius: 4px 0px 0px 4px;
    border: 1px solid #ccc;
  }
  .container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
    margin-bottom: 30px;
  }
  .col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
  }
  .col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
    display: -ms-flexbox; /* IE10 */
    display: flex;
  }
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  /* Hide all steps by default: */
  .tab {
    display: none;
  }
  /* Mark input boxes that gets an error on validation: */
  input.invalid {
  background-color: #ffdddd;
  }
 
.invMessage{
    visibility: hidden;
    color: red;
    font-size: 13px;
  }

  button {
    margin: 4px;
    background-color:var(--primary-two);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  button:hover {
    opacity: 0.5;
    transition: 0.3s;
  }
  #prevBtn {
    background-color: #bbbbbb;
  }  
  /* Make circles that indicate the steps of the form: */
  .step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;  
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
  }
  .step.active {
  opacity: 1;
  }
/* Mark the steps that are finished and valid: */
  .step.finish {
  background-color: var(--primary-two);
  }
 .footer{
    background-color: var(--primary-two);
    color: white;
    text-align: center;
    padding: 10px;
  }
  .footer a:focus{
    outline-color:white ;
    outline-style:solid;  
    outline-width: medium;
  }
/*Help-tip hentet fra   https://tutorialzine.com/2014/07/css-inline-help-tips*/
  .help-tip{
    position: absolute;
    top: 140px;
    right: 18px;
    text-align: center;
    background-color: #BCDBEA;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 20px;
    line-height: 34px;
    cursor: default;
}
.help-tip:before{
    content:'?';
    font-weight: bold;
    color:#fff;
}
.help-tip:hover p{
    display:block;
    transform-origin: 100% 0%;

    -webkit-animation: fadeIn 0.3s ease-in-out;
    animation: fadeIn 0.3s ease-in-out;
}
.help-tip p{    /* The tooltip */
    display: none;
    text-align: left;
    background-color:#333333;
    padding: 20px;
    width: 300px;
    position: absolute;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    right: -4px;
    color: #FFF;
    font-size: 13px;
    line-height: 1.4;
    z-index: 1;
}

.help-tip p:before{ /* The pointer of the tooltip */
    position: absolute;
    content: '';
    width:0;
    height: 0;
    border:6px solid transparent;
    border-bottom-color:#1E2021;
    right:10px;
    top:-12px;
}

.help-tip p:after{ /* Prevents the tooltip from being hidden */
    width:100%;
    height:40px;
    content:'';
    position: absolute;
    top:-40px;
    left:0;
}

/* CSS animation */

@-webkit-keyframes fadeIn {
    0% { 
        opacity:0; 
        transform: scale(0.6);
    }

    100% {
        opacity:100%;
        transform: scale(1);
    }
}
@keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:100%; }
}
/***RADIO BUTTONS***/
/***  Copyright (c) 2019 by WILDER TAYPE (https://codepen.io/wilder_taype/pen/pNXwMW)***/
@keyframes click-wave {
  0% {
    height: 30px;
    width: 30px;
    opacity: 0.35;
    position: relative;
  }
  100% {
    height: 200px;
    width: 200px;
    margin-left: -80px;
    margin-top: -80px;
    opacity: 0;
  }
}
fieldset{
margin-top:30px;
}
.option-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: relative;
  top: 13.33333px;
  right: 0;
  bottom: 0;
  left: 0;
  height: 40px;
  width: 40px;
  transition: all 0.15s ease-out 0s;
  background: #cbd1d8;
  border: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  margin-right: 0.5rem;
  outline: none;
  position: relative;
  z-index: 1000;
}
.option-input:hover {
  background: #9faab7;
}
.option-input:checked {
  background:var(--primary-two);
}
.option-input:checked::before {
  height: 40px;
  width: 40px;
  position: absolute;
  content: '✔';
  display: inline-block;
  font-size: 26.66667px;
  text-align: center;
  line-height: 40px;
}
.option-input:checked::after {
  -webkit-animation: click-wave 0.65s;
  -moz-animation: click-wave 0.65s;
  animation: click-wave 0.65s;
  background: var(--primary-two);
  content: '';
  display: block;
  position: relative;
  z-index: 100;
}
.option-input.radio {
  border-radius: 50%;
}
.option-input.radio::after {
  border-radius: 50%;
}

/****** For mobile phones: *******/
@media only screen and (max-width: 600px) {
    .grid-container {
    grid-template-areas:
      'nav nav nav nav nav nav'
      'aside aside aside aside aside aside'
      'skjema skjema skjema skjema skjema skjema'
      'footer footer footer footer footer footer';
    grid-gap: 0px;
    padding: 0px;
    }
  h3{
    font-weight: 400;
  }
  .aside{
    margin-left: 0px;
  }
  .cards{
    margin:10px;
  }
   .aside {
    padding: 20px;
  }
  .aside li a{
    padding: 25px;
  }
  #userImg{
    max-width: 15%;
  }
  .kontakt{
    display: block;
    margin-left:0;
    text-align: center;  
    width: 100%;
  }
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
  fieldset{
    margin-top:20px;
    margin-bottom: 20px;
    }
    .option-input {
      top: 13.33333px;
      height: 30px;
      width: 30px;
    }
    .option-input:checked::before {
      height: 30px;
      width: 30px;
      font-size: 23px;
      text-align: center;
      line-height: 30px;
    }
    .modal {
      padding-top: 20px; /* Location of the box */}
  
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media (min-width: 768px) and (max-width: 1024px) {
  .grid-container {
    grid-template-areas:
      'nav nav nav nav nav nav'
      'aside aside aside aside aside aside'
      'skjema skjema skjema skjema skjema skjema'
      'footer footer footer footer footer footer';
    grid-gap: 0px;
    padding: 0px;
    }
    h3{
      font-weight: 400;
    }
    .aside{
      margin-left: 0px;
    }
    .cards{
      margin:10px;
    }
     .aside {
      padding: 20px;
    }
    .aside li a{
      padding: 25px;
    }
    article{
      margin: 0;
    }
    #userImg{
      max-width: 15%;
    }
    .column {
      width: 100%;
      display: block;
      margin-bottom: 20px;
    }
    .kontakt{
      display: block;
      margin-left:0;
      text-align: center;  
      width: 100%;
    }
}