@media (max-width: 991.98px) {
  .mobile__menu_primary_search #dnn_SearchPaneMobile {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }

  /* Hide the empty DNN module anchor. */
  .mobile__menu_primary_search #dnn_SearchPaneMobile .DnnModule > a[name] {
    display: none;
  }

  .mobile__menu_primary_search .wmsearch-input .input-group {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
  }

  .mobile__menu_primary_search .wmsearch-input input.search-box {
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
    width: 0;
    height: 60px;
    margin: 0;
    padding: 0 24px;
    border: 0;
    border-bottom: 2px solid #e5e5e5;
    border-radius: 0;
    background: #fff;
    color: #212529;
  }

  .mobile__menu_primary_search .wmsearch-input input.search-box::placeholder {
    color: #c9c9c9;
    opacity: 1;
  }

  .mobile__menu_primary_search .wmsearch-input button.search-btn {
    display: flex;
    flex: 0 0 60px;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 2px solid #e5e5e5;
    border-radius: 0 0 4px 0;
    background: #e5e5e5;
    color: #000;
  }
}
