/* Header-Global */

header {
  background: #3EA966 url("../img/bg-brandingarea.png") top center / 1640px;
  color: #fff;
  margin-bottom: 24px;
  padding: 1.28rem 0;
  position: relative;
}
header > .container {
  align-items: center;
  display: flex;
  position: relative;
  z-index: 1000;
}

header h1 {
  align-items: center;
  display: flex;
  margin-right: 1.3rem;
  white-space: nowrap;
}

header h1 a {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0em;
  line-height: 2.96rem;
  text-align: left;
  text-decoration: none;
}

.description {
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0em;
  line-height: 1.6875rem;
  padding-top: 0.3rem;
  text-align: left;
  white-space: nowrap;
}




/* Mobile Menu - Global */

header > .container.container-sitetitle {
  margin: 0;
  max-width: 40rem;
  position: relative;
}

.wrapper-nav {
  height: 4rem;
  position: absolute;
  right: 0;
  top: 1.2rem;
  width: 100%;
  z-index: 300;
}

.wrapper-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}

.wrapper-nav li {
  display: flex;
  justify-content: center;
}

.wrapper-nav li a {
  display: block;
  flex: 1;
  padding: 20px;
  border-bottom: 2px solid rgb(241, 241, 241);
  text-decoration: none;
  text-align: center;
}

.wrapper-nav li.current-menu-item a,
body.body-ml-support header .menu li a[href*="/product-update/"],
body.body-makeleaps-article header .menu li a[href*="/how-to/"],
body.body-makeleaps-featuredusers header .menu li a[href*="/case-study/"],
body.body-makeleaps-news header .menu li a[href*="/news/"] {
  color: #000000CC;;
}
body.home .wrapper-nav li.current-menu-item a {
  color: #3EA966;

}

.wrapper-nav li:last-child {
  order: -1;
}

.wrapper-nav li:first-child {
  position: relative;
}


.wrapper-nav li a:hover,
.wrapper-nav .menu-btn:hover {
  color: #000000CC;;
}

.wrapper-nav li svg {
  stroke: #3EA966;

}
.wrapper-nav li a:hover svg {
  stroke: #000000CC;;
}
body.home .wrapper-nav li a:hover svg {
  stroke: #3EA966;

}

.wrapper-nav li a:last-child {
  align-items: center;
  display: flex;
  justify-content: center;
}

.wrapper-nav .icon-home svg {
  margin-right: 1rem;
  width: 1.5rem;
}

.wrapper-nav .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

.wrapper-nav .menu ul,
.wrapper-nav .menu {
  clear: both;
  display: flex;
  flex-flow: column;
  max-height: 0;
  margin-top: 1.3rem;
  transition: max-height .3s ease-out;
}

/* menu icon */

.wrapper-nav .menu-icon {
  border: 2px solid #fff;
  cursor: pointer;
  float: right;
  border-radius: .5rem;
  height: 40px;
  margin: 4px 16px;
  position: relative;
  user-select: none;
  width: 40px;
  z-index: 1000;
}

.wrapper-nav .menu-icon .navicon {
  background: #fff;
  display: block;
  height: 0.2144rem;
  position: relative;
  transition: background .3s ease-out;
  width: 1.25rem;
  top: 1rem;
  left: 0.5rem;
}

.wrapper-nav .menu-icon .navicon:before,
.wrapper-nav .menu-icon .navicon:after {
  background: #fff;
  content: '';
  display: block;
  height: 0.2144rem;
  position: absolute;
  transition: all .3s ease-out;
  width: 100%;
}

.wrapper-nav .menu-icon .navicon:before {
  top: 8px;
}

.wrapper-nav .menu-icon .navicon:after {
  top: -8px;
}

/* menu btn */

.wrapper-nav .menu-btn {
  display: none;
}

.wrapper-nav .menu-btn:checked~.menu ul,
.wrapper-nav .menu-btn:checked~.menu {
  max-height: 100vh;
}

.wrapper-nav .menu-btn:checked~.menu-icon .navicon {
  background: transparent;
}

.wrapper-nav .menu-btn:checked~.menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.wrapper-nav .menu-btn:checked~.menu-icon .navicon:after {
  transform: rotate(45deg);
}

.wrapper-nav .menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
.wrapper-nav .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* search */

.header-search {
  width: 100%;
}

.header-search form {
  max-width: 340px;
  position: relative;
  width: 100%;
}

.header-search input {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  outline: 0;
  overflow: visible;
  padding: 0;
  text-align: inherit;
  touch-action: manipulation;
  vertical-align: middle;
}

.header-search input[type="text"] {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: #3ea966;
  border: 1px solid #fff;
  border-radius: 50px;
  box-sizing: border-box;
  color: #fff;
  font-size: 16px;
  min-height: 44px;
  padding: 0.375rem 0.75rem;
  position: relative;
  transition: transform 0.3s;
  width: 100%;
}

.header-search input[type="text"]:focus {
  border-color: #fff;
  outline: none;
}

.header-search input[type="text"]:focus::placeholder {
  color: transparent;
}

.header-search input[type="text"]::placeholder {
  color: #fff;
}

.header-search input[type="text"]::-ms-clear {
  visibility: hidden;
}

.header-search input[type="submit"] {
  background: url("../img/icon-search.svg") transparent no-repeat center center / 16px;
  background-color: transparent;
  color: transparent;
  cursor: pointer;
  font-size: 10px;
  height: 44px;
  margin-top: -22px;
  position: absolute;
  right: 0;
  text-decoration: none;
  top: 50%;
  width: 44px;
}

.header-search input[type="submit"]:hover {
  color: transparent;
  text-decoration: none;
}

.header-search input[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

.mobile-search-btn {
  display: none;
}

@media screen and (min-width: 1020px) {
  .header-search {
    display: flex !important;
    justify-content: flex-end;
    margin-left: auto;
  }

  .description {
    margin-right: 1.3rem;
  }
}

@media screen and (max-width: 1019px) {
  header > .container {
    flex-wrap: wrap;
  }

  .header-search {
    box-sizing: border-box;
    height: 0;
    transition: all .3s ease-out;
  }

  .header-search.show {
    height: 55px;
    margin-top: 1.3rem;
  }

  .header-search form {
    display: none;
    max-width: none;
    width: calc(100vw - 6.25rem);
  }

  .header-search.show form {
    display: block;
  }

  .mobile-search-btn {
    background: url("../img/icon-search.svg") transparent no-repeat center center / 30px;
    color: transparent;
    display: block;
    height: 44px;
    position: absolute;
    right: 70px;
    text-decoration: none;
    top: 22px;
    width: 44px;
    z-index: 1001;
  }

  .mobile-search-btn:hover, .mobile-search-btn:active, .mobile-search-btn:focus {
    color: transparent;
    text-decoration: none;
  }

  .mobile-search-btn span {
    border: 0;
    clip: rect(0,0,0,0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
}

@media screen and (max-width: 1000px) {
  .header-search form {
    width: calc(100vw - 80px);
  }
}

/*  Responsive */

@media screen and (max-width: 1152px) {
  .wrapper-nav .menu ul {
    width: 100%;
  }

  .description {
    font-size: 1rem;
    font-weight: 500;
    line-height: 23.68px;
  }
}

@media screen and (max-width: 700px) {

  header {
    padding: 15px 0 21px;
  }

  header>.container.container.container-sitetitle {
    align-items: flex-start;
    display: flex;
    flex-flow: column;
    gap: 0;
    max-width: 10rem;
    position: relative;
  }
  .wrapper-nav .menu-icon {
    margin: 7px 16px 4px;
  }
  header h1 a {
    font-size: 24px;
    line-height: 35px;
  }

  .description {
    font-size: 12px;
    font-weight: 500;
    line-height: 17.76px;
  }

  .wrapper-nav .menu ul,
  .wrapper-nav .menu {
    margin-top: 1.5rem;
  }

  .wrapper-nav li a {
    background: linear-gradient(0deg, rgba(236, 245, 240, 0.4), rgba(236, 245, 240, 0.4)),
    #FFFFFF;
    border: 1px solid #EDEDED;
    font-weight: 500;
    line-height: 23.68px;
  }

  .header-search.show {
    height: 45px;
  }

  .header-search form {
    width: calc(100vw - 40px);
  }
}

@media screen and (min-width: 1020px) {

  header {
    background-size: cover;
  }

  header > .container.container-sitetitle {
    margin: 0 auto;
    max-width: 72rem;
  }

  .wrapper-nav {
    z-index: 0;
  }

  header h1 a {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0em;
    line-height: 3.7rem;
    text-align: left;
    text-decoration: none;
  }

  header {
    margin-bottom: 3.56rem;
    padding: 2rem 0 3.7rem;
  }
  .wrapper-nav .menu-icon {
    display: none;
  }

  .wrapper-nav .menu ul,
  .wrapper-nav .menu {
    clear: both;
    display: flex;
    flex-flow: row;
    justify-content: center;
    margin: 5.5rem auto 0;
    max-height: unset;
    padding: 0 3.1875rem;
    transition: max-height .2s ease-out;
  }

  .wrapper-nav .menu ul {
    border-radius: 1rem;
    border: 0.0625rem solid rgb(221, 221, 221);
    box-shadow: 0rem 0rem 0.625rem 0.125rem rgba(0, 0, 0, 0.2);
    margin: 0 auto;
  }

  .wrapper-nav li a {
    border-bottom: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.875rem;
    padding: 1.3125rem 1rem;
    text-align: center;
  }

  .wrapper-nav li {
    position: relative;
  }

  .wrapper-nav li:after {
    content: "";
    top: 27%;
    left: 0;
    height: 50%;
    width: 1px;
    position: absolute;
    border-left: 1px solid #f4f4f4;
  }

  .wrapper-nav li:last-child::after {
    border-left: 0;
  }
}
