.header-section {
  position: relative;
  z-index: 999;
  padding-bottom: 20px;
}
.banner-section {
    padding-top: 70px;
}fv
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li a{
  position: relative;
  -webkit-transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  font-weight: bold;
  font-style: normal;
  text-transform: uppercase;
  color: #8dc63f;
  max-width: 100% !important;
  font-size: 15px;
  padding:0!important;
}
.header-section  li.hs-menu-item.hs-menu-depth-1.hs-item-has-children a {
  padding-right: 20px;
}
.header-container .header-section {
  background: #f6f6f2;
  /*background-image: url(https://skriveskolen.hvabehager.no/hubfs/Skriveskolen/Images/37442c95-blackboard-wallpaper_0000000xc0lf00000i028.jpg);*/
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.logo-image {
  max-width: 167px !important;
  width: 100% !important;
}
.header-menu.custom-menu-primary-new.js-enabled {
  width: calc(100% - 167px) !important;
  margin: 0 !important;
  padding-left: 20px;
}
.header-section .page-center > .row-fluid-wrapper > .row-fluid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.header-section .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
  padding-right: 20px;
}
li.hs-menu-item.hs-menu-depth-1.hs-item-has-children > a:before {
  position: absolute;
  top: 0;
  right: 0;
  font-family: ETmodules;
  font-size: 16px;
  font-weight: 800;
  content: "3";
}
.header-menu.custom-menu-primary-new.js-enabled * {
  line-height: normal;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul {
  margin-bottom: 0;
  width: auto;
  float: right;
  padding-top: 29px;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1>a {
  padding-bottom: 29px !important;
}

ul.hs-menu-children-wrapper {
  background-color: #f0f0f0;
  width: 325px;
  border-top: 3px solid #ff5e64;
  padding: 20px 0;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
  width: 100%;
  padding: 6px 20px !important;
  font-weight: bold;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  line-height: 28px;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper li a:hover {
  background: #fff;
}
.header-section li.hs-menu-item.hs-menu-depth-1.hs-item-has-children a {
  padding-right: 20px !important;
}
.hs-menu-wrapper.hs-menu-flow-horizontal>ul li a:hover {
    color: #7fb239!important;
}


/******************************/
/* Rwsponsive Header Style    */
/******************************/


@media(max-width:991px){
  .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a{
    font-size: 13px;
  }
  .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
    float: left;
    padding-right: 15px;
  }
}


@media (min-width: 768px){  /*  used to be 961 - need to change back? */

  a.mobile-trigger-new, a.child-trigger-new {
    display: none !important; /* Hide button on Desktop */
  }

}
@media (max-width: 767px){   /* used to be 960 - need to change back?  */

  /* Variables
  ========================================================================== */

  {% set menuColorMobile = "#000" %}   /* Set Mobile Menu Background Color */
  {% set aColorMobile = "#E2E2E2" %}      /* Set Link Color */
  {% set aColorHoverMobile = "#E2E2E2" %} /* Set Link Hover Color */
  /* Toggle Button
  ========================================================================== */

  a.mobile-trigger-new {
    display: inline-block !important; /* Hide button on Desktop */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute; /*******************************************/
    top: 26px;
    right: 12px;
    width: 34px; /* Button width */
    height: auto; /* Button height */      
    padding: 7px 4px;
    background: transparent; /* Background color */
    z-index: 99999999999; /* Z-index to keep button on top of other layers */
    -webkit-transition: background-color 0.2s linear; /* Button color transition effect */
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    -webkit-transition:color .2s ease-in; 
    -moz-transition:color .2s ease-in;
    transition:color .2s ease-in;
    border: none;
  }

  a.mobile-trigger-new:hover {
    text-decoration: none; /* Removes link text underline on button */
    color: ;
    border-color:  !important;
  }

  a.mobile-trigger-new span{
    display: inline;
  }

  a.mobile-trigger-new span:before{
    position: absolute;
    content: 'Menu'; /* Change the text on the closed toggle button */
    display: none;
  }

  a.mobile-trigger-new span:after{
    position: relative;
    right: 2px;
    content: 'Close'; /* Change the text on the open toggle button */
    background-color: ;
    opacity: 0;
    transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -webkit-transition: opacity .4s ease-in-out; 
    display: none
  }

  /* Change button when menu is open */
  .mobile-open a.mobile-trigger-new{
    -webkit-transition:background-color 0.2s linear; /* Button color transition effect */
    -moz-transition:background-color 0.2s linear; /* Button color transition effect */
    transition:background-color 0.2s linear; /* Button color transition effect */
    background: transparent; /* Changes button background to be slightly darker than open menu color */  
  }

  .mobile-open a.mobile-trigger-new span:after{
    opacity: 1; 
  }


  /* Toggle Button Icon & Animations
  ========================================================================== */

  a.mobile-trigger-new i {
    display: inline;
    position: relative;
    top: -5px;
    margin-left: 5px;
    -webkit-transition-duration: 0s;
    -webkit-transition-delay: .2s;
    -moz-transition-duration: 0s;
    -moz-transition-delay: .2s;
    transition-duration: 0s;
    transition-delay: .2s;
  }
  a.mobile-trigger-new  i:before, a.mobile-trigger-new i:after {
    position: absolute;
    content: '';
  }
  a.mobile-trigger-new  i, a.mobile-trigger-new  i:before, a.mobile-trigger-new  i:after {
    width: 20px; /* Icon line width */
    height: 2px; /* Icon line height */
    background-color: #8ec63f; /* Icon color */
    display: inline-block;
  }
  a.mobile-trigger-new  i:before {
    margin-top: -6px; /* Position top line */
    -webkit-transition-property: margin, -webkit-transform;
    -webkit-transition-duration: .2s;
    -webkit-transition-delay: .2s, 0;
  }
  a.mobile-trigger-new  i:after {
    margin-top: 6px; /* Position bottom line */
    -webkit-transition-property: margin, -webkit-transform;
    -webkit-transition-duration: .2s;
    -webkit-transition-delay: .2s, 0;
  }
  .mobile-open a.mobile-trigger-new i {
    background-color: rgba(0,0,0,0.0);
    -webkit-transition-delay: .2s;
    -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
    -moz-box-shadow:    0px 1px 1px rgba(0, 0, 0, 0);
    box-shadow:         0px 1px 1px rgba(0, 0, 0, 0);
  }
  .mobile-open a.mobile-trigger-new i:before {
    margin-top: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition-delay: 0, .2s;
    -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
    -moz-box-shadow:    0px 1px 1px rgba(0, 0, 0, 0);
    box-shadow:         0px 1px 1px rgba(0, 0, 0, 0);
  }
  .mobile-open a.mobile-trigger-new i:after {
    margin-top: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition-delay: 0, .2s;
    -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0);
    -moz-box-shadow:    0px 1px 1px rgba(0, 0, 0, 0);
    box-shadow:         0px 1px 1px rgba(0, 0, 0, 0);
  }
  /* Child Toggle Button
  ========================================================================== */

  a.child-trigger-new {
    display: block !important; /* Hide button on Desktop */
    cursor: pointer; /* Mouse pointer type on hover */
    position: absolute;
    top: 0px;
    right: 0px;
   width: 43px !important;
    min-width: 43px !important;
    height: 43px !important; /* Button height */  
    padding: 0 !important;
    border-left: 1px dotted rgba(255, 255, 255, .20);
  }
  a.child-trigger-new:hover {
    text-decoration: none;
  }


  /* Child Toggle Button Icon & Animations
  ========================================================================== */

  a.child-trigger-new span {
    position: relative;
    top: 50%; /* Centers icon inside button */
    margin: 0 auto !important;
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    transition-duration: .2s;
  }
  a.child-trigger-new span:after {
    position: absolute;
    content: '';
  }
  a.child-trigger-new span, a.child-trigger-new span:after {
    width: 15px; /* Icon line width */
    height: 2px; /* Icon line height */
    background-color: #8ec63f; /* Icon color */
    display: block;
  }
  a.child-trigger-new span:after {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    transition-duration: .2s;
  }
  a.child-trigger-new.child-open span:after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    transition-duration: .2s;
  }
  a.child-trigger-new.child-open span {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    transition-duration: .2s;
  }


  li.hs-menu-item.hs-menu-depth-1.hs-item-has-children >a:before{
    display:none;
  }
  .hs-menu-flow-horizontal {
    position: absolute;
    width: 100%;
    left: 0;
    top: 82px;
    z-index: 999;
    background: #f0f0f0;
    display: none;
  }
  .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
    float: none;
    padding-right: 0;
  }

  .row-fluid-wrapper:last-child .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
    width: 100%;
    padding-top:0px;
    border-top: 3px solid #8ec63f;
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.1);
    -moz-box-shadow: 0 2px 5px rgba(0,0,0,.1);
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    padding: 5%;
  }
  .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
    display: block;
    padding: 10px 4%;
    border-bottom: 1px solid rgba(0,0,0,.03);
    line-height: 23px !important;
  }
  .header-section {
    padding: 24px 0;
  }
  .logo-image img {
    max-width: 207px !important;
    width: 100%;
    height: auto;
  }
  .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1>a {
    padding: 10px 4% !important;
    background-color: rgba(0,0,0,.03);
    font-weight: 700;
  }
  .header-section li.hs-menu-item.hs-menu-depth-1.hs-item-has-children a.child-trigger-new {
    position: absolute !important;
    right: 0;
    top: 0;
    background: transparent;
    padding: 0 !important;
  }
  .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    position: static;
    z-index: 10;
    left: 0;
    width: 100%;
    border-top: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
        display: none;
  }
  ul.hs-menu-children-wrapper>li {
    padding-left: 3%;
  }
  .header-section .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1 {
    padding-right: 0px;
  }
.hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper li a {
    width: 100%;
    padding: 10px 20px !important;
  }
  .banner-section {
    padding-top: 0;
  }
}







