ul.off-canvas-social-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.navigation-primary .submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation-primary .submenu a,
.navigation-primary .submenu p {
  text-decoration: none;
}

.triangle {
  display: none;
}

.submenu-toggle {
  display: none;
}
.submenu.level-1 > li.has-submenu {
  position: relative;
}

.submenu.level-1 > .has-submenu > .menu-arrow {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid black;
  display: block;
  height: 0;
  margin-left: 1px;
  position: absolute;
  right: 5px;
  top: 30px;
  width: 0;
}

.submenu.level-2 {
  border: 1.79px solid #D1D6DC;
  border-radius: 6px;
  -webkit-box-shadow: 0 2px 9px 0 rgba(0,0,0,0.2);
  box-shadow: 0 2px 9px 0 rgba(0,0,0,0.2);
  font-weight: 500;
  left: 50%;
  opacity: 0;
  position: absolute;
  text-transform: none;
  top: 75px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: visibility 0s, opacity 0.3s;
  -o-transition: visibility 0s, opacity 0.3s;
  transition: visibility 0s, opacity 0.3s;
  visibility: hidden;
  width: 270px;
}

.triangle-container.level-2 {
  display: block;
  height: 25px;
  left: 105px;
  overflow: hidden;
  position: absolute;
  top: -25px;
  width: 60px;
}

.triangle.level-2 {
  background-color: #FFF;
  border: 1.79px solid #494A52;
  border-radius: 6px;
  -webkit-box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  display: block;
  height: 30px;
  margin-left: 20px;
  margin-top: 12px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
  width: 30px;
}

.triangle-container.level-2.hover .triangle {
  background-color: rgba(208, 210, 212, 1.0);
  -webkit-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.submenu.level-2 > li {
  border-bottom: 1px solid #D1D6DC;
  padding: 0;
}

.submenu.level-2 .menu-item .menu-link {
  display: block;
  padding: 10px 30px;
  -webkit-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.submenu.level-2 .menu-item:first-of-type,
.submenu.level-2 .menu-item:first-of-type .menu-link {
  border-radius: 6px 6px 0 0;
}

.submenu.level-2 .menu-item:last-of-type,
.submenu.level-2 .menu-item:last-of-type .menu-link {
  border-radius: 0 0 6px 6px;
}

.submenu.level-2 > li:last-child,
.submenu.level-2 > li:last-child .submenu {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}

.submenu.level-2 .menu-item .menu-link:hover,
.submenu.level-2 .menu-item .menu-link:focus {
  cursor: pointer;
  -webkit-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.submenu.level-3 .menu-item .menu-link {
  padding-left: 60px;
}

.submenu.level-1 > li.has-submenu:hover .submenu.level-2,
.submenu.level-1 > li.has-submenu.focus .submenu.level-2 {
  opacity: 1;
  -webkit-transition: visibility 0s, opacity 0.3s;
  -o-transition: visibility 0s, opacity 0.3s;
  transition: visibility 0s, opacity 0.3s;
  visibility: visible;
}

/* Hide navigation dropdown in the inline editor */
.hs-inline-edit .submenu.level-1 > li.has-submenu:hover .submenu.level-2,
.hs-inline-edit > li.has-submenu.focus .submenu.level-2 {
  visibility: hidden;
}

  .submenu > .has-submenu {
    position: relative;
  }
  .submenu.level-1 {
    width: 100%;
  }

  .submenu.level-1 > .has-submenu > .menu-arrow,
  .submenu > .has-submenu > .menu-arrow,
  .submenu .menu-arrow {
    background-position: center right 30px;
    background-repeat: no-repeat;
    background-size: 20px;
    border: none;
    cursor: pointer;
    height: 45px;
    padding: 30px 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 17%;
  }

  .submenu.level-1 > .has-submenu > .menu-arrow-bg,
  .submenu > .has-submenu > .menu-arrow-bg,
  .submenu .menu-arrow-bg {
    display: block;
    height: 20px;
    margin-left: auto;
    margin-right: 30px;
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    -o-transition: transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
    width: 20px;
    width: 20px;
    font-size: 40px;
    line-height:13px;
  }

  .triangle-container.level-2 {
    display: none;
  }

  .submenu.level-2 {
    display:none;
  }
  input[type="checkbox"]:checked ~ .submenu.level-2 {
    display: block;
  }

  input[type="checkbox"]:checked ~ .menu-arrow .menu-arrow-bg {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    -o-transition: transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
  }

  .submenu.level-2 {
    border: none;
    box-shadow: none;
    opacity: 1;
    position: static;
    -webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
    visibility: visible;
    width: 100%;
  }

  .submenu.level-2 .menu-item {
    border-bottom: none;
    border-top: 2px solid #EBEFF3;
    padding: 0;
  }

  .submenu.level-2 .menu-item .menu-link {
    padding: 7px 20px;
  }


  .submenu.level-3 {
    background-color: inherit;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .submenu.level-3 > li {
    background-color: inherit;
    padding: 0;
  }

  .submenu.level-3 .menu-item .menu-link {
    padding: 7px 90px;
  }


@media (max-width:690px) {
  .submenu.level-1>.has-submenu>.menu-arrow, .submenu>.has-submenu>.menu-arrow, .submenu .menu-arrow {
      padding: 15px 0;
  }
}