@charset "UTF-8";
@import "/static/fonts/fonts.css";
.selectall {
  user-select: all;
  -webkit-user-select: all;
}

body {
  --TendrilBGColor: #CDD97E;
  --MetaTextColor: #555;
  --HeaderBgColor: #E8F0E8;
  --BgColor: #F8FCF8;
  background-color: var(--TendrilBGColor);
  font-family: var(--DisplayFont);
  user-select: none;
  -webkit-user-select: none;
  /* Background-image fix for iOS, from <https://stackoverflow.com/questions/24154666/> */
}
body:after {
  content: "";
  position: fixed; /* stretch a fixed position to the whole screen */
  top: 0;
  height: 100vh; /* fix for mobile browser address bar appearing disappearing */
  left: 0;
  right: 0;
  z-index: -1; /* needed to keep in the background */
  background: url("/static/background.jpg") center center;
  /* Current background.jpg is adapted from https://unsplash.com/photos/xpdiQC6AX_g (5/13/22) */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.modal-backdrop {
  background-color: #030;
}

button, .btn {
  font-family: var(--ButtonFont);
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

code, pre {
  color: #040;
}

.navbar, .nav-link {
  padding-top: 0;
  padding-bottom: 0;
}

main > .container {
  padding-top: 20px;
}

header + main > .container {
  padding-top: 60px; /* Leave space for the nav bar */
}

footer {
  background-color: var(--TendrilBGColor);
}
footer a {
  text-decoration: none;
}

#sync-button .spinner-border {
  visibility: hidden;
}

#sync-button.syncing .spinner-border {
  visibility: inherit;
}

/* LINKS TO PEEPS: */
a.petname, a.nickname, a.keyname, a.myname {
  text-decoration: none;
  padding: 0 2px;
  border-radius: 0.4rem;
}

a.keyname, a.nickname {
  border: 1px dashed rgba(128, 128, 128, 0.5);
  background-color: rgba(128, 128, 128, 0.12);
}

a.keyname {
  font-family: monospace;
}

a.nickname {
  font-family: var(--ContentFont);
}

a.petname, a.myname {
  font-family: var(--DisplayFont);
  font-size: 120%;
  font-weight: bold;
  letter-spacing: 0.03em;
}

a.petname {
  border: 1px solid rgba(0, 255, 0, 0.5);
  background-color: rgba(0, 255, 0, 0.12);
}
a.petname:hover {
  background-color: rgba(0, 255, 0, 0.5);
}

a.myname {
  color: rgb(192, 0, 192);
  border: 1px solid rgba(192, 0, 192, 0.5);
  background-color: rgba(192, 0, 192, 0.12);
}
a.myname:hover {
  background-color: rgba(192, 0, 192, 0.5);
}

/* AVATARS: */
/* Avatar in the page's nav header */
nav img.avatar {
  width: 1em;
  height: 1em;
  margin: 0;
  background-color: none !important;
  opacity: 50%;
}
nav .nav-link:hover img.avatar {
  opacity: 100%;
}

/* Avatar in a log page subtitle */
.log-author > img.avatar {
  width: 2em;
  height: 2em;
  margin: 0 0.5em;
}

img.avatar.petname:hover {
  border-color: rgba(0, 255, 0, 0.25);
  background-color: hsl(120deg, 100%, 99%);
}
img.avatar.myname:hover {
  border-color: hsl(300deg, 100%, 88%);
  background-color: hsl(300deg, 100%, 99%);
}
img.avatar:hover {
  background-color: white;
}

/* NOTIFICATIONS: */
#toaster {
  z-index: 11;
  position: fixed;
  top: 35px; /* height of nav bar */
  right: 0;
  padding: 1rem !important;
}
#toaster .toast { /* these settings override Bootstrap's */
  width: 250px;
  border: 1px solid gray;
  border-radius: 0.5rem;
  padding: 0.25rem;
  background-color: white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2509803922);
  opacity: 90%;
  cursor: pointer;
}
#toaster .toast-header {
  background-color: var(--HeaderBgColor);
  padding: 0 0.5rem;
  font-family: var(--DisplayFont);
  font-style: bold;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
}
#toaster .toast-avatar {
  height: 2em;
  width: 2em;
  margin-right: 0.5rem;
}
#toaster .toast-time {
  font-family: var(--BodyFont);
  font-size: 0.7rem;
}
#toaster .toast-body {
  font-family: var(--ContentFont);
  font-weight: bold;
  padding: 0 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FIRST-TIME SETUP */
#setup .modal-dialog {
  max-width: min(80%, 600px);
}
#setup .modal-title {
  font-size: 250%;
  color: green;
}
#setup .modal-body {
  font-family: var(--BodyFont);
}
#setup label {
  color: green;
}
#setup input::placeholder {
  color: lightgray;
}
#setup .peep-avatar {
  margin-right: 2rem;
}
#setup img.avatar {
  width: 64px;
  height: 64px;
}
#setup input[type=file] {
  display: none !important;
}
#setup input[type=url] {
  font-size: 80%;
}

/******** PEEPS LIST ********/
.peepcard {
  min-width: 30%;
  max-width: 30%;
  margin: 1rem 1rem 0 0;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2509803922);
  font-family: var(--BodyFont);
  font-size: 0.85rem;
}
.peepcard > .card-header, .peepcard > .card-body {
  padding: 0.25rem 0.5rem;
}
.peepcard > .card-footer {
  padding: 0 0.5rem;
}
.peepcard .peepfloat {
  float: right;
}
.peepcard .bio {
  user-select: auto;
  -webkit-user-select: auto;
  font-family: var(--ContentFont);
  padding-left: 0.6rem;
  text-indent: -0.6rem;
}
.peepcard .bio::before {
  content: "“";
}
.peepcard .bio::after {
  content: "”";
}
.peepcard img.avatar {
  width: 64px;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0 0 0.5rem 0.5rem;
}

.peepid {
  font-family: var(--BodyFont); /* var(--bs-font-monospace);*/
  font-size: 70%;
  color: lightgray;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.peepid > .prefix {
  color: gray;
}

/******** Peep info page ********/
#info-table td {
  user-select: auto;
  -webkit-user-select: auto;
}

#info-nick {
  font-family: var(--DisplayFont);
  border-radius: 0.4rem;
  border: 1px solid rgba(0, 255, 0, 0.5);
  background-color: rgba(0, 255, 0, 0.12);
}

.follow-button[active=false]::before {
  content: "Follow ";
}

.follow-button[active=true]::before {
  content: "Unfollow ";
}

#peeps-accordion {
  /* .accordion-collapse {
      background-color: #f6f9df;
  } */
}
#peeps-accordion .accordion-button {
  font-family: var(--DisplayFont);
  font-size: 1.4rem;
  padding-top: 4px;
  padding-bottom: 4px;
}
#peeps-accordion .accordion-button:not(.collapsed) {
  color: green;
  background-color: inherit;
}
#peeps-accordion .peep-list {
  padding: 0.5rem 0 1rem 3rem;
  /* background-color: #f8f8f8; */
}

/******** AVATAR ********/
.peep-info {
  min-height: 170px; /* Enough to keep peep-avatar from sticking out the bottom */
}

.topright-avatar {
  position: absolute;
  right: 4px;
  top: 0;
  padding-top: 1rem;
}

.peep-avatar {
  background: white;
}
.peep-avatar img.avatar {
  border: 1px lightgray solid;
  margin: 0 2px;
  padding: 2px;
  width: 134px; /* 128px for icon, plus 6 for border + padding */
  height: 134px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2509803922);
}
.peep-avatar figure {
  margin: 0;
}
.peep-avatar figcaption {
  font-family: var(--ContentFont);
  font-size: 80%;
  font-style: italic;
  text-align: center;
}

#prev-avatar, #next-avatar {
  height: 16px;
  visibility: hidden;
}

.avatar-editable #prev-avatar, .avatar-editable #next-avatar {
  visibility: visible;
  cursor: pointer;
}

/******** GROUPS ********/
ul.groups {
  font-family: var(--ContentFont);
  list-style: none;
  margin-bottom: 0;
}
ul.groups > li {
  margin-bottom: 2px;
}
ul.groups > li .group-name {
  font-weight: bold;
}
ul.groups > li .group-members {
  margin-left: 0.5rem;
  margin-right: 1rem;
}
ul.groups > li[Editing] .group-name, ul.groups > li[Editing] .group-members {
  user-select: auto;
  -webkit-user-select: auto;
  display: inline-block; /* otherwise min-width has no effect */
  background-color: white;
}
ul.groups > li[Editing] .group-name {
  min-width: 7em;
  margin-right: 4px;
}
ul.groups > li[Editing] .group-members {
  min-width: 20em;
}

a.fa-solid {
  text-decoration: none;
}

ul.groups > li .group-edit-button {
  visibility: hidden;
}
ul.groups > li:hover .group-edit-button {
  visibility: visible;
}
ul.groups > li[Editing] .group-edit-button {
  display: none;
}
ul.groups > li .group-button-group {
  display: none;
}
ul.groups > li[Editing] .group-button-group {
  display: inline;
}

/******** LOGS ********/
#logs-table td.follow {
  width: 2em;
}
#logs-table td.follow[active=true] a[active=false],
#logs-table td.follow[active=false] a[active=true], #logs-table[followable=false] td.follow {
  display: none;
}
#logs-table td.follow a {
  border: 1px solid gray;
  border-radius: 3px;
  padding: 2px;
}
#logs-table td.follow a:hover {
  background-color: #EEE;
}
#logs-table a[active=true] {
  color: darkorange;
}
#logs-table a[active=false] {
  color: #DDD;
}
#logs-table .log-subtitle {
  font-style: italic;
  color: gray;
}

/*# sourceMappingURL=peep.css.map */
