@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,500,600&display=swap');

/* Matches the What's New panel: Tailwind's default gray scale with a blue
   highlight, written out as plain CSS because this page has no build step. */

body {
  margin: 0;
  background: #fff;
  color: #374151;
  font-family: 'Open Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  -webkit-font-smoothing: antialiased;
}

.support-container {
  box-sizing: border-box;
  max-width: 768px;
  margin: 0 auto;
  padding: 0 24px 24px;
}

@media (max-width: 480px) {
  .support-container {
    padding: 0 16px 16px;
  }
}

/* Search */

.support-search {
  padding: 20px 0 8px;
}

.support-search-input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 8px 12px 8px 36px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat 10px center / 18px 18px;
  color: #111827;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
}

.support-search-input::placeholder {
  color: #9ca3af;
}

.support-search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

.support-loading {
  padding: 24px 0;
  color: #6b7280;
}

/* Results */

.support-articlepreview {
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
  cursor: pointer;
}

.support-articlepreview:first-child {
  border-top: 0;
}

.support-articlepreview .support-article-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.support-articlepreview:hover .support-article-title a {
  color: #2563eb;
}

/* Previews are the start of the article body, so keep them to plain text. */
.support-articlepreview .support-article-content {
  max-height: 100px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent);
  mask-image: linear-gradient(to bottom, black 60%, transparent);
}

.support-articlepreview .support-article-content img,
.support-articlepreview .support-article-content table,
.support-articlepreview .support-article-content pre {
  display: none;
}

.support-articlepreview .support-article-content :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
}

/* Article */

.support-backtoresults {
  display: block;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #2563eb;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.support-backtoresults:hover {
  color: #1e40af;
}

.support-article {
  padding-top: 20px;
}

.support-article .support-article-title {
  margin: 0 0 16px;
  color: #111827;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.support-article-title a {
  color: #111827;
  text-decoration: none;
}

.support-article .support-article-content {
  font-size: 15px;
  line-height: 24px;
}

/* Article bodies are Markdown rendered to HTML. */

.support-article-content > :first-child {
  margin-top: 0;
}

.support-article-content > * {
  margin: 12px 0 0;
}

.support-article-content :is(h1, h2, h3, h4, h5, h6) {
  color: #111827;
  font-weight: 600;
}

.support-article-content > :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 28px;
}

.support-article-content :is(h1, h2) {
  font-size: 18px;
  line-height: 28px;
}

.support-article-content h3 {
  font-size: 16px;
  line-height: 24px;
}

.support-article-content :is(h4, h5, h6) {
  font-size: 15px;
  line-height: 24px;
}

.support-article-content p {
  margin-bottom: 0;
}

.support-article-content ul,
.support-article-content ol {
  margin-bottom: 0;
  padding-left: 20px;
}

.support-article-content ul {
  list-style: disc;
}

.support-article-content ol {
  list-style: decimal;
}

.support-article-content li + li,
.support-article-content li > ul,
.support-article-content li > ol {
  margin-top: 4px;
}

.support-article-content li > p {
  margin: 0;
}

.support-article-content a {
  color: #2563eb;
  text-decoration: underline;
}

.support-article-content a:hover {
  color: #1e40af;
}

.support-article-content strong,
.support-article-content b {
  color: #111827;
  font-weight: 600;
}

.support-article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.support-article-content p > img {
  margin: 4px 0;
}

.support-article-content hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.support-article-content blockquote {
  margin-left: 0;
  margin-right: 0;
  padding-left: 12px;
  border-left: 4px solid #e5e7eb;
  color: #4b5563;
  font-style: italic;
}

.support-article-content blockquote > :first-child {
  margin-top: 0;
}

.support-article-content code {
  padding: 2px 4px;
  border-radius: 4px;
  background: #f3f4f6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 12px;
  line-height: 16px;
}

.support-article-content pre {
  overflow-x: auto;
  padding: 12px;
  border-radius: 4px;
  background: #f3f4f6;
}

.support-article-content pre code {
  padding: 0;
  background: transparent;
}

.support-article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 20px;
}

.support-article-content th,
.support-article-content td {
  padding: 8px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

.support-article-content th {
  background: #f9fafb;
  color: #111827;
  font-weight: 600;
}

.support-article-content-footer {
  margin-top: 32px !important;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 14px;
  line-height: 20px;
}

.support-footer {
  margin: 32px 0 8px;
  color: #6b7280;
  text-align: center;
}

.support-footer-logo {
  display: block;
  text-align: center;
}

.support-footer-logo img {
  width: 40px;
  height: 40px;
  opacity: 0.6;
}

.support-footer a {
  color: #2563eb;
}
