header {
    position:absolute;
    z-index: 1;
    max-width: 1920px;
}

header.stuck {
    height:84px;
    background: transparent;
    z-index: 12;
}

header.stuck .logo {
    height:60px;
    max-height:60px;
    width:auto;
    display:flex;
    top: 0;
}

header.stuck .logo img {
    width: 350px;
    height: 126px;
}
header.stuck .header-wrap {
    top: 30%;
}
header.stuck .nav-container {
    top: 25%;
}
header.solid {
    background: #fff;
}

/* meny nav */
.nav-primary {
    right:5.6rem;
  }
  
  /* .nav-primary #menu-main-menu > li  {
    margin:0 1.2rem;
  } */
  
  .stuck .nav-primary #menu-main-menu > li > a {
    padding:2rem 0;
  }
  
  /* .sub-menu {
    top:60px;
    border-radius:0;
  } */
  
  .sub-menu li a {
    transition:.3s ease all;
  }
  
  .sub-menu li a:hover {
    background:rgba(61, 106, 142, 0.2);
  }
  
  .stuck .sub-menu {
    top:50px;
  }
  
  
  
  /* .current-menu-item {
    border-bottom:1px solid #fff;
  }
  
  .stuck .current-menu-item {
    border-bottom:2px solid #fff;
  } */
  
  header.stuck {
    height: 55px;
  }
  header.stuck .header-phone, header.stuck .header-wrap, header.stuck .logo  {
    display: none;
  }
  header.stuck .nav-container, header.stuck .nav-primary {
    top: 0;
  }
  header.stuck .nav-container {
    background: #fff;
  }
  header.stuck .nav-primary {
    display: flex;
    justify-content: center;
    background: #fff;
    height: 70px;
  }
  header.stuck .nav-primary .menu-main-menu-container, header.stuck .nav-primary .menu-main-menu-right-container {
    position: relative;
    border: none;
    width: 50%;
  }
  header.stuck #menu-main-menu {
    padding-right: 2rem;
  }
  header.stuck #menu-main-menu-right {
    padding-left: 0;
  }
  header.stuck .nav-primary {
    top: 23px;
  }

@media screen and (max-width:1280px){
  
    /* Mobile menu */
    .site-header, header {
        height: var(--resp-header-height);
        position:relative;
    }
  
    .nav-primary {
        transform: none;
        top:var(--resp-header-height);
        margin: 0;
        overflow: hidden;
        position: absolute;
        height:0;
        width:100%;
        padding:0 2rem;
        z-index:2;
        overflow: hidden;
        background:rgba(255,255,255,.99);
        left:0;
    }
  
    .nav-primary.open { 
        border-top:1px solid #d6d6d6; 
    }
  
    .nav-primary ul { 
        display: block; 
    }
  
    header.solid {
        background: #fff;
    }

    .menu-icon:not(.open) ~ .header-phone ~ .nav-container .nav-primary {
        display: none;
    }

    .stuck .from-top.open {
        flex-direction: column;
        justify-content: flex-start;
        top: 120px;
    }

    .stuck .nav-primary #menu-main-menu > li > a {
        padding: 1rem 0;
    }

    header.stuck .nav-primary .menu-main-menu-container, header.stuck .nav-primary .menu-main-menu-right-container {
        position: relative;
        border: none;
        width: 100%;
    }

    .nav-primary li a {
        padding:1rem 3rem;
        color: #349293;
    }

    .nav-primary #menu-main-menu > li > a {
        color:#2f4d65;
    }

    .nav-primary #menu-main-menu > li > a {
        color:#2f4d65;
    }
  
    .nav-primary .social-menu { 
        display: none; 
    }
  
    .from-top {
        height: 0;
        width: 100%;
        overflow: hidden;
    }
  
    .from-top.open {
        /* height: calc( 100vh - var(--resp-header-height) ); */
        height:auto;
        padding: 4rem 2rem;
        bottom:auto;
        height: 100vh;
        top: 150px;
    }
  
    .from-bottom {
        bottom: 0;
        top: auto;
        height: 0;
        width: 100%;
        position: fixed;
    }
  
    .from-bottom.open {
        height: calc(100vh - var(--resp-header-height));
        padding: 4rem 2rem;
        bottom: 0;
    }
  
    .from-left {
        height: calc(100vh - var(--resp-header-height));
        left:-100%;
        padding: 4rem 2rem;
    }
  
    .from-left.open { 
        left:0; 
    }
  
    .from-right {
        height: calc(100vh - var(--resp-header-height)); 
        right: -100%;
        padding: 4rem 2rem;
    }
  
    .from-right.open { 
        right:0; 
    }
    
    .menu-icon, .stuck .menu-icon {
        display: block;
    }
  
    .nav-primary .sub-menu {
        display: none;
        width:100%;
        position: inherit;
        background-color: unset;
        top: 0;
        box-shadow: unset;
        overflow-Y: scroll;
    }
  
    .menu-item-has-children li {
        display: block;
    }
  
    .menu-item-has-children > a {
        position: relative;
    }
  
    .menu-item-has-children > a[href='#']::before {
        content: "\25BE"; /* down arrow */
        content: "\0002B"; /* plus */
        left: 0;
        color: #505050;
        font-size: 30px;
        font-family: Arial, sans-serif;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* This will change the symbol for all nested divs */
    .menu-item-has-children.expanded > a[href='#']::before {
        content:"\025BF"; /* down arrow outline */
        content: "\02013"; /* minus */
    }
  
    .sub-menu-open > .sub-menu {
        display: block;
    }
  
    .sub-menu {
        padding-left: 1rem;
    }
  
    .sub-menu .menu-item-has-children:hover > .sub-menu {
        left: 0;
        top: 0;
    }
  
    .sub-menu .menu-item-has-children.sub-menu-open .sub-menu {
        right:100%;
        top: 1rem;
    }
  
    .sub-menu .menu-item-has-children:hover:after {
        content:none;
    }

    /* customize menu icons*/
    .menu-item-has-children > a[href='#']::before {
        content: "\2023"; /* side arrow */
        /* content: "\0002B"; /* plus */
    }

    .menu-item-has-children.expanded > a[href='#']::before {
        content:"\025BE"; /* down arrow */
        /* content: "\02013"; /* minus */
    }

    header {
        position:relative;
        border-top:4px solid var(--accent-dark);
        z-index:3;
    }

    .phone-number {
        display: none;
    }

    header .logo {
        left: 50%;
        transform: translateX(-50%);
        top: 2rem;
    }

    .phone-icon {
        width:38px;
        display:block;
        top:50%;
        transform:translateY(-50%);
    }

    .nav-primary #menu-main-menu > li > a {
        font-size:1.6rem;
        color: #349293;
    }

    .nav-primary #menu-main-menu-right > li > a {
        font-size:1.6rem;
        color: #349293;
    }

    .nav-primary #menu-main-menu > li.menu-item-has-children > a {
        padding-left:3rem;
    }

    .menu-item-has-children > a[href='#']::before {
        color:var(--accent-med);
    }

    header {
        transition:.3s ease all;
    }

    header.stuck {
        background: #fff;
        border-bottom: 1px solid #e9e9e9;
        top:-84px;
    }

    header.fixed {
        position: fixed;
        top:0;
    }

    .stuck .from-top.open {
        height: calc( 100vh - 80px );
    }

    .nav-primary {
        top:146px;
    }

    .hero-content {
        max-width:100%;
        padding:13.7rem 0 7rem;
        margin-top: 0;
    }

    .phone-icon {
        top:40%;
        top: 5.5rem;
        margin-top:0;
        right:3.2rem;
    }

    header.stuck .logo {
        top: 1.2rem;
    }
    /* header.fixed .logo img {
        width: 320px;
        height: 115px;
    } */
    header.stuck {
        height: 120px;
    }
    .stuck .menu-icon {
        display: block;
        z-index: 9;
        top: 5rem;
    }
    header.stuck .header-phone {
        display: block;
        z-index: 11;
        top: 0;
    }
    header.stuck .phone-icon {
        top: 6.7rem;
    }
    header.stuck .logo {
        display: block;
    }
    header.stuck .logo img {
        width: 220px;
        height: 101px;
    }

}

@media screen and (max-width: 767px) {
    .nav-container .logo img {
        width: 260px;
        height: 119px;
    }
}

@media screen and (max-width: 560px) {
    .nav-container .logo img {
        width: 250px;
        height: 114px;
        max-width: 250px;
        min-width: 250px;
    }
}

@media screen and (max-width: 480px) {
    .nav-container .logo img {
        width: 210px;
        height: 96px;
        max-width: 100%;
        min-width: 100%;
    }
    .phone-icon {
        right:1.6rem;
    }
}
.sub-menu {
    top: 54px;
    width: 247px;
}