/* Basic styling */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  background: url("../img/pictures/Frontpage portrait.png") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  font-family: sans-serif;
  font-size: 16px;
  overflow: hidden;
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  position: absolute;
}
nav {
  display: none;
  background: #2e3359;
  padding: 0 15px;
}
iframe {
  border-width: 0px;
  height: 100%;
  background-color: #ffffffaa;
  width: 100%;
  z-index: 0;
}
a {
  color: #aaa;
  cursor: pointer;
  text-decoration: none;
}
.waiting {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.center {
  font-family: sans-serif;
  font-size: 12pt;
  font-weight: bold;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
#hidden-login {
  display: none;
}
.menu,
.submenu {   
  list-style-type: none;
}
.logo {
  font-size: 20px;
  height: 65px;
  padding: 7.5px 10px 7.5px 0;
}
.item {
  padding: 10px;
}
.item.button {
  padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after {
  color: #fff;
}
#logo {
  height: 30px;
  position: absolute;
  margin-right: 5px;
  margin-top: 22px;
}
#footing {
  background-color: #2e3359;
  bottom: 0px;
  color: white;
  font-size: 10pt;
  left: 0px;
  height: 30px;
  padding-top: 10px;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 99;
}

/* Mobile menu */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.menu li a {
  display: block;
  padding: 15px 5px;
}
.menu li.subitem a {
  padding: 15px;
}
.toggle {
  order: 1;
  font-size: 20px;
}
.item.button {
  order: 2;
}
.item {
  order: 3;
  width: 100%;
  text-align: center;
  display: none;
  z-index: 99;
}
.active .item {
  display: block;
}
.button.secondary { /* divider between buttons and menu links */
  border-bottom: 1px #999 solid;
}

/* Submenu up from mobile screens */
.submenu {
  background-color: #49bb93;
  display: none;
}
.submenu-active .submenu {
  display: block;
}

.has-submenu i {
  font-size: 12px;
}
.has-submenu > a::after {
  font-family: "Font Awesome 5 Free";
  font-size: 12px;
  line-height: 16px;
  font-weight: 900; 
  content: "\f078";
  color: white;
  padding-left: 5px;
}
.subitem a {
  background-color: #49bb93;
  color: #2e3359;
  padding: 10px 15px;
}
.submenu-active {
  background-color: #2e3359;
  border-radius: 3px;
}
/* Tablet menu */
@media all and (min-width: 700px) {
  .logo-image {

  }
  .menu {
    justify-content: center;
  }
  .logo {
    flex: 1;
  }
  .item.button {
    width: auto;
    order: 1;
    display: block;
  }
  .toggle {
    flex: 1;
    text-align: right;
    order: 2;
  }
  /* Button up from tablet screen */
  body {
    background: url("../img/pictures/Frontpage square.png") no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    font-family: sans-serif;
    font-size: 16px;
  }
  .menu li.button a {
    padding: 10px 15px;
    margin: 5px 0;
  }
  .button a {
    color: #fff;
    background: #49bb93;
    border: 1px #49bb93 solid;
    border-radius: 10px;
  }
  .button.secondary {
    border: 0;
  }
  .button.secondary a {
    background: transparent;
    border: 2px #49bb93 solid;
  }
  .button a:hover {
    text-decoration: none;
  }
  .button:not(.secondary) a:hover {
    border-color: #fff;
    border-width: 1px;
    color: #2e3359;
  }
}
/* Desktop menu */
@media all and (min-width: 1200px) {
  body {
    background: url("../img/pictures/Frontpage landscape.png") no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    font-family: sans-serif;
    font-size: 16px;
  }
  .menu {
    align-items: flex-start;     
    flex-wrap: nowrap;
    background: none;
  }
  .logo {
    order: 0;
  }
  .item {
    order: 1;
    position: relative;
    display: block; 
    width: auto;
  }
  .button {
    order: 2;
  }
  .submenu-active .submenu {
    display: block;
    position: absolute;
    left: 0;
    top: 68px;
    background: #49bb93;
  }
  .toggle {
    display: none;
  }
  .submenu-active {
    border-radius: 0;
  }
}