.alert {
  padding: 0.75em 1.25em;
  margin-bottom: 1em;
  border: 1px solid transparent;
  border-radius: 0.25em;
}

.alert-primary {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.btn {
  border: 1px solid transparent;
  padding: 0.375em 0.75em;
  font-size: 1em;
  line-height: 1.5;
  border-radius: 0.25em;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}
.btn.focus,
.btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2em rgba(0, 123, 255, 0.25);
}
.btn.active:not([disabled]):not(.disabled),
.btn:active:not([disabled]):not(.disabled) {
  background-image: none;
}
.btn.disabled,
.btn:disabled {
  opacity: 0.65;
}

.btn-primary,
a.btn-primary {
  text-decoration: none;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}
.btn-primary:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}
.btn-primary.active:not([disabled]):not(.disabled),
.btn-primary:active:not([disabled]):not(.disabled) {
  color: #fff;
  background-color: #0062cc;
  border-color: #005cbf;
  box-shadow: 0 0 0 0.2em rgba(0, 123, 255, 0.5);
}
.btn-primary.focus,
.btn-primary:focus {
  box-shadow: 0 0 0 0.2em rgba(0, 123, 255, 0.5);
}
.btn-primary.disabled,
.btn-primary:disabled {
  background-color: #007bff;
  border-color: #007bff;
}

.btn-secondary,
a.btn-secondary {
  text-decoration: none;
  color: #fff;
  background-color: #868e96;
  border-color: #868e96;
}
.btn-secondary:hover {
  color: #fff;
  background-color: #727b84;
  border-color: #6c757d;
}
.btn-secondary.active:not([disabled]):not(.disabled),
.btn-secondary:active:not([disabled]):not(.disabled) {
  color: #fff;
  background-color: #6c757d;
  border-color: #666e76;
  box-shadow: 0 0 0 0.2em rgba(134, 142, 150, 0.5);
}
.btn-secondary.focus,
.btn-secondary:focus {
  box-shadow: 0 0 0 0.2em rgba(134, 142, 150, 0.5);
}
.btn-secondary.disabled,
.btn-secondary:disabled {
  background-color: #868e96;
  border-color: #868e96;
}

.btn-danger,
a.btn-danger {
  text-decoration: none;
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}
.btn-danger:hover {
  color: #fff;
  background-color: #c82333;
  border-color: #bd2130;
}
.btn-danger.active:not([disabled]):not(.disabled),
.btn-danger:active:not([disabled]):not(.disabled) {
  color: #fff;
  background-color: #bd2130;
  border-color: #b21f2d;
  box-shadow: 0 0 0 0.2em rgba(220, 53, 69, 0.5);
}
.btn-danger.focus,
.btn-danger:focus {
  box-shadow: 0 0 0 0.2em rgba(220, 53, 69, 0.5);
}
.btn-danger.disabled,
.btn-danger:disabled {
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-xs {
  padding: 0.1em 0.1em;
  font-size: 0.75em;
  line-height: 1.5;
  border-radius: 0.2em;
}

.btn-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  border-bottom: 1px solid #dfdfdf;
  padding-bottom: 0.75em;
  margin-bottom: 0.75em;
}

.btn-group {
  margin-right: 0.5em;
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}

.btn-group > .btn {
  position: relative;
  flex: 0 1 auto;
}

.btn-group .btn {
  margin-right: 0;
  margin-left: 0;
}

.btn-group > .btn:first-child:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-group > .btn:not(:first-child):not(:last-child) {
  border-radius: 0;
}

.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group,
.btn-group-vertical .btn + .btn,
.btn-group-vertical .btn + .btn-group,
.btn-group-vertical .btn-group + .btn,
.btn-group-vertical .btn-group + .btn-group {
  margin-left: -1px;
}

.btn-group > .btn:first-child {
  margin-left: 0;
}

.btn-group > .btn:last-child:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.fgroup .btn + .btn,
.action-column .btn + .btn {
  margin-left: 0.25em;
}

.pages {
  margin-top: 2em;
  margin-bottom: 2em;
}
.pages ul {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25em;
  justify-content: center;
}

.pages li:first-child a {
  margin-left: 0;
  border-top-left-radius: 0.25em;
  border-bottom-left-radius: 0.25em;
}
.pages li a,
.pages li span {
  position: relative;
  display: block;
  padding: 0.5em 0.75em;
  margin-left: -1px;
  line-height: 1.25;
  background-color: #fff;
  border: 1px solid #ddd;
  text-decoration: none;
}

.pages li a:focus,
.pages li a:hover {
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #ddd;
}

.pages li.disabled a,
.pages li.disabled span {
  color: #868e96;
  pointer-events: none;
  background-color: #fff;
  border-color: #ddd;
}

/*
 * forms
 */

.fgroup {
  margin-bottom: 1.25em;
}

.fgroup label {
  display: block;
  margin-bottom: 0.25em;
}

.fgroup input,
.fgroup textarea {
  display: block;
  width: 100%;
  padding: 0.375em 0.75em;
  font-size: 1em;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-image: none;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25em;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.fgroup input[type="checkbox"],
.fgroup input[type="radio"] {
  display: inline;
  width: 1em;
  box-sizing: border-box;
}

textarea.post-content {
  height: 80vh;
  max-height: 40em;
}

textarea.post-excerpt {
  height: 30vh;
  max-height: 15em;
}

.fgroup .error-text {
  margin-top: 0.25em;
  font-size: 0.875em;
  color: #dc3545;
  display: block;
}

.fgroup input:invalid,
.fgroup textarea:invalid,
.fgroup input.invalid,
.fgroup textarea.invalid {
  border-color: #dc3545;
}

.fgroup .comment {
  height: 30vh;
  max-height: 15em;
}

.fgroup .help-block {
  font-size: 0.8em;
  display: block;
}

.post {
  max-width: 50em;
  margin-left: auto;
  margin-right: auto;
}
.post header {
  margin-bottom: 1.5em;
}
.post header h2 {
  text-align: left;
  margin-bottom: 0;
}

.post header .tags ul {
  display: inline;
  padding-left: 0;
  list-style-type: none;
}

.post header .tags li {
  display: inline;
}

.post header .tags li::after {
  content: ", ";
}

.post header .tags li:last-of-type::after {
  content: "";
}

.comments header img {
  float: right;
}

.comments header h4,
.comments header details,
.comments header summary {
  display: inline;
}

.comment {
  margin-bottom: 0.75em;
  padding-bottom: 0.75em;
  border-bottom: 1px solid #dfdfdf;
}

.comment:before,
.comment:after {
  content: "";
  display: table;
}
.comment:after {
  clear: both;
}
.comment {
  zoom: 1;
}

.section-divider {
  margin-top: 0.75em;
  padding-top: 0.75em;
  border-top: 1px solid #dfdfdf;

  margin-bottom: 0.75em;
  padding-bottom: 0.75em;
  border-bottom: 1px solid #dfdfdf;
}

.index-table {
  width: 100%;
  border-collapse: collapse;
}

.index-table .action-column,
.index-table .numeric,
.index-table .date,
.index-table .right {
  text-align: right;
}

.index-table thead th {
  border-bottom: 1px solid #dfdfdf;
}

.index-table th,
.index-table td {
  border-right: 1px solid #dfdfdf;
  padding: 0.125em 0.25em;
}

.index-table th:last-of-type,
.index-table td:last-of-type {
  border-right: 0;
  padding-right: 0;
}

.index-table th:first-of-type,
.index-table td:first-of-type {
  padding-left: 0;
}

*{box-sizing:border-box}html,body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";color:#1a1a1a;background-color:#fafafa;min-height:100vh;margin:0;padding:0;font-size:1em;font-size:clamp(.9em,2.5vw,1.1em)}a{color:#1a1a1a}a:active,a:focus{font-weight:bold}a:visited{color:#666}body{display:flex;flex-direction:column}#site-header,footer{margin:.25em;flex:0 1 auto}main{margin:0 .25em .25em;flex:1 1 auto}main>h2:first-child,main>header>h2:first-child{margin-top:0}#site-header{text-align:center;margin-bottom:.75em;padding-bottom:.75em;border-bottom:1px solid #dfdfdf;display:flex;justify-content:center}#site-header h1{margin:0}#site-header p{margin:0}#site-header h1 a{color:inherit;text-decoration:none}#site-header h1 a:hover,#site-header h1 a:active,#site-header h1 a:focus{text-decoration:underline}#site-header div{flex:0 1 auto}#site-header .logo img{width:25vw;max-width:150px;border-radius:.25em;margin-right:.5em}footer{margin-top:.75em;border-top:1px solid #dfdfdf;margin-bottom:0;padding:.75em .25em .5em}footer p{margin:0}footer .about{margin-top:.8em;font-size:.8em}footer .admin-nav{font-size:.7em;float:right}footer .admin-nav a+a{margin-left:.25em}h2{text-align:center}#comment-preview,#comment-preview-heading{display:none}#comment-preview.visible,#comment-preview-heading.visible{display:block}@media only screen and (min-width: 30em){#site-header,footer,main{width:100%;max-width:75em;margin-left:auto;margin-right:auto}.action-column{white-space:nowrap}#site-header .logo img{max-width:75px}}
