/* App-specific styles layered on top of the ported blog theme (main.css). */

.site-nav .nav-user {
  color: #828282;
  margin-right: 10px;
}

/* Left sidebar for links common to the blog and the app (mirrored in
   blog/assets/custom.css); contextual links stay in the top-right nav. */
.layout-wrap {
  display: flex;
  align-items: flex-start;
}

.site-sidebar {
  width: 200px;
  flex-shrink: 0;
  padding: 30px 0 30px 30px;
}

.site-sidebar .page-link {
  display: block;
  margin-bottom: 10px;
  color: #111;
}

.layout-wrap .page-content {
  flex: 1;
  min-width: 0;
}

@media screen and (max-width: 600px) {
  .layout-wrap {
    display: block;
  }

  .site-sidebar {
    width: auto;
    padding: 15px 15px 0;
  }

  .site-sidebar .page-link {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 0;
  }
}

/* Category picker */
#category-search {
  width: 100%;
  max-width: 400px;
  padding: 8px 10px;
  margin-bottom: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  font: inherit;
}

.archive-group {
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  margin-bottom: 15px;
  padding: 10px 15px;
}

.archive-group legend {
  font-weight: 600;
  padding: 0 5px;
}

.category-option {
  display: inline-block;
  padding: 2px 0;
}

button[type="submit"] {
  padding: 8px 16px;
  border: 1px solid #2a7ae2;
  border-radius: 3px;
  background: #2a7ae2;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: #1756a9;
}

button[type="submit"].button-danger {
  border-color: #b00020;
  background: #b00020;
}

button[type="submit"].button-danger:disabled {
  border-color: #d9a3ae;
  background: #d9a3ae;
  cursor: not-allowed;
}

.delete-confirm {
  display: block;
  margin-bottom: 10px;
}

button[type="submit"].button-danger:hover {
  background: #7f0017;
}

/* Login page */
.button-link {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #2a7ae2;
  border-radius: 3px;
  background: #2a7ae2;
  color: #fff !important;
  text-decoration: none;
}

.button-link:hover {
  background: #1756a9;
  text-decoration: none;
}

.login-note {
  color: #828282;
  font-size: 14px;
}

/* Feed */
.feed-category {
  margin-bottom: 30px;
}

.feed-category h2 {
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 5px;
}
