:root {
  --gnavi-main-color: #6db64f;
  --gnavi-background-color: #fff;
  --gnavi-link-color: #333;
  --gnavi-fillbutton-color: #fff;
  --gnavi-submenu-background-color: #6db64f;
  --gnavi-submenu-link-color: #fff;
  --gnavi-submenu-open-color: #aaa;
  --gnavi-submenu-close-color: #aaa;
  --gnavi-mobile-menu-open-background: #eee;

  --footer-color: #fff;
  --footer-background-color: #6db64f;
  --footer-border: solid 1px rgba(255,255,255,0.3);
}

.gnavi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--gnavi-background-color);
    padding: 0 15px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 9999;
    box-shadow: 0 0 6px rgb(0 0 0 / 30%);
    border-top: solid 10px #6db64f;
    background: #f2f2f2;    box-sizing: border-box;
  }
  
  .gnavi .the-logo {
    flex-basis: auto;
    flex-shrink: 0;
    height: 80px;
    display: flex;
    align-items: center;
  }
  
  .gnavi .the-logo img {
    width: auto;
    height: 25px;
  }
  
  .gnavi .the-links {
    flex-basis: 100%;
    flex-shrink: 1;
  }
  
  .gnavi .the-link-wrapper > div {
    padding: 0 15px;
  }
  
  .gnavi .the-link {
    height: 80px;
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .gnavi .the-button {
    height: 80px;
    display: flex;
    align-items: center;
  }
  
  .gnavi a {
    color: var(--gnavi-link-color);
    text-decoration: none;
    transition: 0.2s ease;
    position: relative;
  }
  .gnavi .the-sub-links a {
    display: flex;
    align-items: center;
  }
  
  .gnavi .the-sub-links a  > img{
    margin-left: 3px;
  }
  
  .gnavi a:hover {
    text-decoration: none;
    opacity: 0.5;
  }
  
  
  .gnavi .the-fill-button a {
    color: var(--gnavi-fillbutton-color);
    background-color: var(--gnavi-main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 15px;
    border-radius: 2px;
    text-decoration: none !important;
  }
  
  .gnavi .the-button {
    height: 80px;
    display: flex;
    align-items: center;
  }
  
  .gnavi .the-button a {
    display: flex;
    border: solid 2px var(--gnavi-main-color);
    color: var(--gnavi-main-color);
    align-items: center;
    height: 40px;
    padding: 0 15px;
    border-radius: 2px;
    text-decoration: none !important;
  }

  .gnavi-end {
    margin-top: 80px;
  }
  
  .gnavi .the-balloon {
    position: absolute;
    width: 100%;
    bottom: 0;
    visibility: hidden;
    transition: 1s ease;
    opacity: 0;
    left: 0;
  }
  
  .gnavi .the-balloon:before {
    content: "";
    position: absolute;
    top: -30px;
    border: 15px solid transparent;
    border-bottom: 15px solid var(--gnavi-submenu-background-color);
    left: 50%;
    transform: translateX(-50%);
  }
  
  .gnavi .the-sub-links {
    position: fixed;
    top: 80px;
    left: 0;
    background-color: var(--gnavi-submenu-background-color);
    visibility: hidden;
    width: 100%;
    height: 60px;
    transition: 1s ease;
    opacity: 0;
  }
  
  .gnavi .the-menu-open {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
  }

  .gnavi .the-menu-open span {
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: var(--gnavi-submenu-open-color);
    border-radius: 4px;
    left: 15px;
  }
  .gnavi .the-menu-open, .gnavi .the-menu-open span {
    display: inline-block;
  }
  .gnavi .the-menu-open span:nth-of-type(1) {
    top: 17px;
  }
  .gnavi .the-menu-open span:nth-of-type(2) {
    top: 24px;
  }
  .gnavi .the-menu-open span:nth-of-type(3) {
    bottom: 17px;
  }


  
  @media (min-width: 992px) {
  
    .gnavi .the-links {
      display: block !important;
    }
  
    .gnavi .the-menu-open {
      display: none;
    }
  
    .gnavi .the-link-wrapper {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
  
    .gnavi .the-link:hover .the-balloon,
    .gnavi .the-link:hover .the-sub-links {
      visibility: visible;
      transition: 0.5s ease;
      opacity: 1;
      z-index: 99;
    }
  
    .gnavi .the-sub-links > div {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 60px;
    } 
  
    .gnavi .the-sub-links a {
      margin: 0 20px;
      color: var(--gnavi-submenu-link-color);
    }
  
    .gnavi .the-close {
      display: none;
    }
  
  }
  
  .footer-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 12px;
    background-color: var(--footer-background-color);
    color: var(--footer-color);
  }
  
  .footer-menu > div {
    margin: 0 15px;
  }
  
  .footer-menu a {
    color: inherit;
  }
  
  @media (max-width: 991px) {
  
    .gnavi .the-links {
      display: none;
    }
  
    .gnavi .the-links {
      background-color: white;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100%;
      overflow-x: hidden;
      overflow-y: scroll;
    }
  
    .gnavi .the-links a:not(.the-submenu) {
      text-decoration: underline;
    }

    .gnavi .the-links a.the-submenu {
      pointer-events: none;
    }

    .gnavi .the-sub-links {
      position: static;
      top: auto;
      left: auto;
      background-color: transparent;
      visibility: visible;
      width: auto;
      height: auto;
      opacity: 1;
    }
  
    .gnavi .the-sub-links a {
      border-top: solid 1px #eee;
      height: 50px !important;
      padding-left: 20px;
      display: flex;
      align-items: center;
      position: relative;
      text-decoration: underline;
    }
  
    .gnavi .the-sub-links a:after {
      position: absolute;
      height: 50px;
      content: ">";
      color: #bbb;
      display: flex;
      align-items: center;
      right: 10px;
      top: 0;
    }
  
    .gnavi .the-img-button > a , .gnavi .the-button > a{
      width: 100%;
      justify-content: center;
    }
  
    .gnavi .the-link-wrapper > div {
      border-bottom: solid 1px #eee;
    }
  
    .gnavi .the-link {
      height: auto;
      display: block;
      position: static;
      height: auto;
    }
  
    .gnavi .the-link > a {
      height: 60px;
      display: flex;
      align-items: center;
      position: relative;
    }
  
    .gnavi .the-link > a:not(.the-submenu):after {
      position: absolute;
      height: 50px;
      content: ">";
      color: #bbb;
      display: flex;
      align-items: center;
      right: 10px;
      top: 0;
    }
  
    .gnavi .the-mobile-menu-open {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      height: 55px;
      background-color: var(--gnavi-mobile-menu-open-background);
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 10;
    }
  
    .gnavi .the-menu-close {
      position: relative;
      width: 50px;
      height: 50px;
      cursor: pointer;
    }
  
    .gnavi .the-menu-close span {
      position: absolute;
      left: 0;
      width: 24px;
      height: 2px;
      background-color: var(--gnavi-submenu-close-color);
      border-radius: 4px;
      left: 14px;
    }
    .gnavi .the-menu-close, .gnavi .the-menu-close span {
      display: inline-block;
    }
  
    .gnavi .the-menu-close span:nth-of-type(1) {
      -webkit-transform: translateY(27px) rotate(45deg);
      transform: translateY(25px) rotate(45deg);
    }
    .gnavi .the-menu-close span:nth-of-type(2) {
      -webkit-transform: translateY(27px) rotate(-45deg);
      transform: translateY(25px) rotate(-45deg);
    }
  
    .gnavi .the-link-wrapper {
      margin-top: 55px;
    }

    .gnavi .the-fill-button {
      padding-top: 15px !important;
      padding-bottom: 15px !important;
    }

    .gnavi .the-button {
      padding-top: 15px !important;
      padding-bottom: 15px !important;
    }
    
    .footer-menu {
      display: block;
      padding: 0;
    }
        
    .footer-menu > div { 
      padding: 15px;
    }
            
    .footer-menu > div:not(:first-child) { 
      border-top:  var(--footer-border);
    }
    
  }