.it25-barra-ist-mobile {
  top: $it25-top-bar-height-shrink;
  transition: 0.4s;
  z-index: 3;
  height: 60px;
  border-bottom: 1px solid $primary;

  .it-header-center-content-wrapper {
    padding: 0;
    .it-brand-wrapper {
      display: flex;
      img {
        height: 41px;
        @media (min-width: #{map-get($grid-breakpoints, lg)}) {
          height: 54px;
        }
        margin-right: 24px;
      }
      .it-brand-text {
        line-height: 1.555;
        font-weight: 700;
      }
      .it25-hamburger-btn-wrapper {
        margin-right: 10px;
      }
    }
    .it-search-wrapper {
      margin: 4px 0;
      border: 2px solid #cacacc;
      border-radius: $border-radius;

      input[type='search'] {
        border-bottom: 0;
      }
    }
  }

  img.it25-header-logo {
    display: none;
    @media (min-width: #{map-get($grid-breakpoints, md)}) {
      display: block;
    }
  }

  .it25-btn-menu,
  .close-menu {
    border-color: transparent !important;
    box-shadow: none !important;
  }

  .it25-close-div {
    display: none;
    .btn {
      padding: 1px 6px;
    }

    @media (min-width: #{map-get($grid-breakpoints, lg)}) {
      display: none;
    }
  }

  &.shrink {
    position: sticky;
    height: $it25-barra-ist-height-shrink;

    img.it25-header-logo {
      height: 36px;
      margin-left: 12px;
      display: block;
      @media (min-width: #{map-get($grid-breakpoints, lg)}) {
        height: 40px;
      }
    }

    &.it-header-center-wrapper {
      @media (min-width: #{map-get($grid-breakpoints, lg)}) {
        padding-top: 2px;
        padding-bottom: 2px;
      }
    }
    input[type='search'] {
      height: 1.5rem;
    }
  }

  @media (min-width: #{map-get($grid-breakpoints, lg)}) {
    .custom-navbar-toggler {
      &.it25-btn-menu {
        display: inherit;
      }
    }
  }

  .it-brand-text {
    display: flex;
    align-items: center;
    font-weight: 600 !important;
  }

  &.it25-gradient {
    border-bottom: none;
    background: transparent;
  }
}

.it25-mobile {
  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: #00335480;
    overflow-x: hidden;
    transition: 0.5s;
  }
  .overlay-content {
    position: absolute;
    top: 0;
    text-align: center;
    margin-top: 0;
    background: $white;
    height: 100%; // calc(100% - 70px);
    overflow-x: hidden;
    overflow-y: auto;
  }
  .overlay a {
    padding: 10px;
    text-decoration: none;
    font-size: 32px;
    color: #7792a3;
    display: block;
    transition: 0.4s;
  }
  .overlay a:hover,
  .overlay a:focus {
    color: #eeeeee;
  }
  .overlay .close {
    position: absolute;
    top: 10px;
    right: 35px;
    font-size: 50px;
  }
  @media screen and (max-height: 450px) {
    .overlay a {
      font-size: 20px;
    }
    .overlay .closed {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
  }

  .overlay-body {
    height: calc(100% - 70px);
  }

  .overlay-footer {
    bottom: 0;
    height: 70px;
    background: $white;
    text-align: start;
  }

  .overlay-footer,
  .overlay-content {
    width: 60%;
  }

  .close-overlay {
    position: absolute;
    right: 30%;
    top: 35px;
    z-index: 9999;
  }
}
