/* Local bridge shared by the source-matched middle-page templates. */
.source-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 3px;
  background: #222;
  color: #fff;
  font: 14px/1.5 Arial, sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.source-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.source-page button,
.source-page input[type="button"],
.source-page input[type="submit"] {
  cursor: pointer;
}

@media (max-width: 768px) {
  .search-main {
    display: block;
    position: static;
    height: 64px;
    padding: 10px 12px;
    background: #fff;
  }

  .search-main .container {
    width: 100%;
    padding: 0;
  }

  .search-main .navleft {
    display: none;
  }

  .search-main-right {
    width: 100%;
  }

  .topsearch {
    height: 42px;
    border: 1px solid #019961;
    border-radius: 2px;
    box-shadow: none;
  }

  .topsearch input {
    width: 80%;
    height: 40px;
    padding: 0 14px;
  }

  .topsearch button {
    width: 20%;
    height: 40px;
    border-radius: 0;
    background: #019961;
    color: #fff;
    font-size: 0;
  }

  .topsearch button::before {
    content: "Search";
    font: 16px Arial, sans-serif;
  }

  .source-toast {
    right: 16px;
    bottom: 16px;
  }
}
