/*----NAVIGÁCIÓ----*/
header{
  padding: 20px 10px 0px 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  background: rgb(200,223,237);
  background: -moz-linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
  background: -webkit-linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
  background: linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c8dfed",endColorstr="#81b4c7",GradientType=1);
}

#main-header{
  background: #ffffff;
}

#nav-box{
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 20px;
}
    
#logo a img{
  width: 210px;
  height: auto;
  padding-left: 20px;
}

#logo a{
  display: inline-block;
}

#main-menu ul{
  margin: 0;
  padding: 0;
  display: flex;
}
    
#main-menu ul li{
  list-style-type: none;
  border-right: 2px solid #8fb8c9;
}

#main-menu ul li:last-of-type {
  border-right: none;
}
    
#main-menu ul li a{
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  color: #333333;
  display: block;
  margin: 0 10px;
}

#main-menu ul li a:hover{
  text-decoration: underline;
  color: #e3141b;
}

.aktiv{
  text-decoration: underline;
}

.aktiv li a{
  color: #e3141b;
}

/*----920px----*/
     
@media only screen and (max-width: 920px){
  header #nav-box{
    flex-wrap: wrap;
  }
  
  #main-menu{
    width: 100%;
    max-height: 0;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    opacity: 0;
    text-align: center;
  }
      
  #main-menu ul{
    display: block;
  }
  
  #main-menu ul li{
    border-right: none;
  }
      
  #main-menu ul li a{
    margin: 0;
    padding: 10px 0;
    border-bottom: solid 0.5px #8fb8c9;
  }
      
  #main-menu ul li:last-of-type a{
    border-bottom: none;
  }
  
  #main-menu ul li a:hover{
    text-decoration: none;
    color: #e3141b;
  }
      
  #hamburger{
    width: 40px;
    height: 40px;
    background: rgb(200,223,237);
    background: -moz-linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
    background: -webkit-linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
    background: linear-gradient(163deg, rgba(200,223,237,1) 0%, rgba(129,180,199,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#c8dfed",endColorstr="#81b4c7",GradientType=1);
    border-radius: 10%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 11px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  }
      
  #hamburger span{
    display: block;
    background: #333333;
    height: 2px;
  }
      
  #hamburger.open{
    justify-content: center;
  }
      
  #hamburger.open span{
    display: none;
  }
      
  #hamburger.open span:first-of-type{
    display: block;
  }
      
  #hamburger.open + #main-menu{
    max-height: 280px;
    opacity: 1;
  }