.td-home header {
  position: sticky;
  top: 0;
  z-index: 32;
}

.td-navbar {
  height: 64px;
  padding: 20px 0;
  background-color: #fff;
  border-bottom: 1px solid #E5E7E7;

  .td-home & {
    position: static;
    font-family: "Manrope", sans-serif;
    background-color: #f7fdfd;
    border-bottom-color: #f7fdfd;

    .container-fluid {
      max-width: 1254px;
    }
  }

  @media screen and (max-width: 991.98px) {
    height: auto;
    padding: 8px 0;

    .td-navbar-nav-scroll {
      width: 100%;
      height: auto;

      .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        column-gap: 12px;
        padding-bottom: 0;
        overflow-x: auto;

        -ms-overflow-style: none;
        scrollbar-width: none;

        &::-webkit-scrollbar {
          display: none;
        }
      }

      .nav-item {
        flex-shrink: 0;
      }
    }
  }

  .navbar-brand svg {
    height: 48px;

    @media screen and (max-width: 991.98px) {
      height: 36px;
    }
  }

  .navbar-brand__name {
    display: none;
  }

  .navbar-nav {
    .nav-item:last-of-type {
      .nav-link {
        margin-left: 22px;
        @media screen and (max-width: 991.98px) {
          margin-left: 0;
        }
        padding: 12px 16px;
        font-weight: 800;
        border: 1px solid #253737;
        border-radius: 30px;
      }
    }

    .nav-link {
      padding: 12px 12px;
      color: #253737;
      font-weight: 600;
      font-size: 15px;
      line-height: 100%;

      &:hover,
      &:focus {
        color: #5c6d70;
        border-color: #5c6d70;
      }

      @media screen and (max-width: 991.98px) {
        font-size: 14px;
        padding: 14px 2px;
      }
    }

    .dropdown {
      position: relative;

      .dropdown-toggle::after {
        position: relative;
        top: 1px;
      }

      .dropdown-menu {
        position: absolute;
        top: 4px !important;
        min-width: 300px;
        padding: 4px 16px;
        background: #fff;
        border: 1px solid #e0e6f0;

        .td-home & {
          background-color: #f7fdfd;
        }
      }

      .dropdown-item {
        padding: 12px 0;
        color: #253737;
        font-size: 15px;
        line-height: 100%;

        &:hover,
        &:focus {
          color: #5c6d70;
          background: transparent;
        }
      }

      @media (max-width: 991.97px) {
        position: static;

        .dropdown-menu {
          left: 50% !important;
          transform: translate3d(-50%, 98px, 0px) !important;
          width: calc(100% - 16px);
          min-width: 0;
          margin-top: 0;
          z-index: 1000;
          max-height: calc(100vh - 100%);
          overflow-y: auto;

          @media (max-width: 767.98px) {
            transform: translate3d(-50%, 106px, 0px) !important;
          }
        }
      }
    }
  }

  .td-search {
    display: none;
  }
}
