body {
  min-height: 100vh;
  font-family: 'Rajdhani', sans-serif;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

::selection {
  background-color: #ffb1b1;
}

::-moz-selection {
  background-color: #ffb1b1;
}

.divider {
  border-bottom: 4px solid #000000;
  background-color: #ffffff;
}

#header.divider {
  height: 48px;
  transition: all 0.3s;
}

#header.divider.shrink {
  height: 35px;
  transition: all 0.3s;
}

a {
  color: inherit;
  text-decoration: none;
}

a:active {
  text-shadow: 0.1px -0.1px 0px #000000;
}

a:hover, .drawing-title:hover, .post-title:hover, .post-comments:hover, .parent-post:hover {
  color: #808080;
  text-decoration: none;
}

a:focus {
  outline: none;
  color: #808080;
  text-decoration: none;
}

#profile-container {
  padding: 0px;
  flex: 1;
}

#profile-icon-row {
  min-height: fit-content;
  width: fit-content;
  margin-top: 23px;
  z-index: 4;
}

#profile-icon {
  height: 70px;
  width: 70px;
  border-color: #000000;
  border-radius: 35px;
  border-style: solid;
  border-width: 4px;
  background-color: #ffffff;
  transition: all 0.3s;
}

#diamond {
  height: 40px;
  margin-top: 5px;
  fill: #ffffff;
}

#profile-info {
  position: fixed;
  margin-top: 97px;
  transition: all 0.3s;
  z-index: 2;
}

#user-link-row {
  min-height: fit-content;
}

#profile-title {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 24px;
  font-weight: bold;
  transition: all 0.3s;
}

#name {
  font-size: 18px;
  font-weight: bold;
}

.personal-info {
  font-size: 12px;
  text-align: center;
}

#email {
  font-size: 16px;
}

.fa-star {
  margin-right: 5px;
}

#about-blurb {
  max-width: 300px;
  margin-top: 10px;
  font-style: italic;
  user-select: text;
  -webkit-user-select: text;
  word-wrap: break-word;
}

#content-area {
  max-height: 56vh;
  margin-top: 15px;
}

#content-area .menu-options {
  position: relative;
}

.left, .right {
  font-size: 30px;
  opacity: 0;
}

.display {
  opacity: 0.7 !important;
  cursor: pointer;
}

.display:hover {
  opacity: 1 !important;
}

.content-display {
  max-width: 311px;
  font-family: 'Rajdhani', sans-serif;
  text-align: center;
}

#gallery-row .content-display, #post-list-row .content-display, #comment-list-row .content-display {
  height: 100%;
  max-height: 55vh;
  overflow: scroll;
}

.drawing-container {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: 'Chathura', sans-serif;
  font-size: 25px;
}

/* Rajdhani semibold in tracked capitals, not Bungee Hairline: a hairline face's
   ~1px stems antialias to grey, so black on pink read far below its 12:1. */
button {
  border: none;
  background-color: #ffb1b1;
  /* 44px is the fleet tap-target floor; the incumbent had no size at all and
     rendered 20-26px tall. Real size, not an invisible band, so neighbours lay
     out around it and no two hit areas overlap. */
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  /* min-width replaces a flex item's automatic minimum, so without this a
     button in a narrow flex column shrinks below its own label. */
  flex-shrink: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
  cursor: pointer;
  transform: scale(1) translateZ(0);
  transition: all 0.3s;
}

button:active {
  box-shadow: 1px 1px #000000;
  background-color: rgba(0, 128, 0, 0.75);
  text-shadow: 0.1px 0.1px 0px #000000;
}

button:hover {
  background-color: rgba(0, 128, 0, 0.75);
  color: #000000; /* white on this green is 3.32:1; black is 6.32:1 */
  transform: scale(1.1) translateZ(0);
  transition: all 0.3s;
}

button:hover:disabled, button:disabled {
  background-color: #c5c5c5;
  color: #000000;
  cursor: not-allowed;
  transform: scale(1) translateZ(0);
  transition: all 0.3s;
}

button:focus {
  outline: none !important;
  border: 2px solid rgba(0, 128, 0, 0.69);
  box-shadow: 0px 0px 2px 0px rgba(0, 128, 0, 0.69);
}

.delete-button {
  position: absolute;
  top: 0px;
  right: 0px; /* the 44px box now centres the glyph where right: 10px used to */
  padding: 0px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
  font-family: inherit;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  color: #000000 !important;
  opacity: 1;
  cursor: pointer;
  z-index: 1;
}

.delete-button:hover {
  color: #808080 !important;
  opacity: 1;
  transform: none;
  transition: none;
}

.drawing-title {
  width: 136px;
  line-height: 0.8;
  cursor: pointer;
}

.drawing {
  height: 136px;
  width: 136px;
  border: 8px solid rgba(0, 0, 0, 0.08);
  margin-top: 2%;
  margin-left: 10px;
  margin-right: 10px;
  background-color: #ffffff;
  transition: all 0.4s;
  cursor: pointer;
}

.drawing-info {
  width: 136px;
  display: flex;
}

.drawing-likes, .drawing-views {
  width: 31%;
  padding: 1px;
  font-size: 15px;
  text-align: left;
  text-overflow: ellipsis;
  line-height: 0.5;
  opacity: 0.6;
  cursor: default;
}

.drawing-artist {
  width: 38%;
  padding: 3px;
  text-align: right;
  text-overflow: ellipsis;
  line-height: 0.5;
  opacity: 0.6;
}

.fas.fa-heart {
  color: #ff0000;
}

.fa-heart {
  cursor: pointer;
}

.clicked {
  animation-name: pop;
  animation-duration: 0.2s;
}

@keyframes pop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.content-display text {
  padding: 3px;
  font-size: 25px;
  cursor: default;
}

.post-container, .comment-container {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: 'Cutive Mono', monospace;
}

.comment-container {
  margin-top: 1%;
}

.post-title {
  width: 140px;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 15px;
  text-align: center;
  text-overflow: ellipsis;
  line-height: 1.5;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
}

.post-board, .comment-board {
  position: relative;
  height: 125px;
  width: 140px;
  margin-bottom: 3px;
  margin-left: 10px;
  margin-right: 10px;
  outline-style: solid;
  outline-width: 2px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #000000;
  transition: all 0.4s;
}

.post-board {
  background-color: #ff90cd;
}

.comment-board {
  background-color: #cecece;
}

.comment-board .delete-button {
  right: 5px;
}

.post-content, .comment-content {
  height: 111px;
  width: 126px;
  padding: 5px;
  outline: none;
  resize: none;
  font-size: 12px;
  text-align: left;
  cursor: default;
  overflow: auto;
  user-select: text;
  -webkit-user-select: text;
}

.post-content {
  border-style: solid;
  border-width: 2px;
  background-color: #ffff00;
}

.comment-content {
  background-color: #cecece;
}

.post-content img, .comment-content img {
  max-height: 100%;
  max-width: 100%;
}

.post-info, .comment-info {
  width: 140px;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 10px;
  text-align: left;
}

.post-comments, .parent-post {
  cursor: pointer;
}

:focus {
  outline: none !important;
}

.modal-header, .modal-footer {
  border: none;
  font-family: 'Rajdhani', sans-serif;
}

.modal-title {
  font-size: 18px;
}

.modal-body {
  font-size: 14px;
}

.close {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 25px;
}

button.close:active, button.close:hover {
  background: none !important;
}

.title {
  font-family: 'Sail', cursive;
  font-size: 42px;
}

.banner {
  position: absolute;
  margin: auto;
  top: 0px;
  left: 0px;
  right: 0px;
  display: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-style: italic;
  color: #ff0000;
  text-align: center;
}

#logout,
#logout-failed {
  top: 45px;
}

#main-container {
  flex: 1;
}

.container {
  width: 300px;
  margin-right: 15px;
  margin-left: 15px;
  box-shadow: 1px 1px #000000;
}

h4 {
  margin-top: 15px;
  font-family: 'Pompiere', cursive;
  font-size: 15px;
  text-align: right;
}

h2 {
  margin-bottom: 0px;
  font-family: 'Pompiere', cursive;
  font-size: 12px;
  text-align: center;
}

/* Password recovery link on the sign-in page. Width matches the input beside it so the
   column centres identically and the text lands flush with the input's right edge; the
   vertical padding is dead space that lifts the hit area to 44px without changing the
   type size. */
#forgot-password {
  display: inline-block;
  width: 181px;
  padding: 14px 0px;
  font-family: 'Pompiere', cursive;
  font-size: 15px;
  line-height: 16px;
  text-align: right;
}

/* The ring-session bridge on the sign-in page. Empty and invisible for every
   visitor without a Crystal Prism session, which is nearly all of them - it is
   populated by main.js only on a 200 or a 409 from auth.crystalprism.io. Width
   matches the inputs and #forgot-password, and #ring-bridge-row copies that
   row's empty .col-3 so the block lands on the inputs' axis rather than the
   container's - measured identical at 390, 576, 768, 992 and 1200. The text is
   prose rather than a link, so it sets flush left where #forgot-password sets
   flush right. */
#ring-bridge {
  width: 181px;
  font-family: 'Pompiere', cursive;
  font-size: 15px;
  line-height: 16px;
  text-align: left;
  /* A requested username is one word of up to 30 characters, wider than this
     column; it breaks rather than running past the edge. */
  overflow-wrap: break-word;
}

/* Hiding the empty #ring-bridge is not enough: the row around it still breaks
   the margin collapse between the title row and the username row and pushes the
   whole form down 4px for every visitor without a ring session. The row itself
   has to go. Measured, not assumed.

   This is why #ring-bridge-row is the one row on the page without Bootstrap's
   `d-flex`: that utility is `display: flex !important` and would beat this rule.
   `.row` is already a flex container in Bootstrap 4 alpha, so the class was only
   ever redundant here. */
#ring-bridge-row:has(#ring-bridge:empty) {
  display: none;
}

#ring-bridge p {
  margin: 0px 0px 8px 0px;
}

#ring-bridge button {
  width: 181px;
  /* The house `button` rule supplies the face, colour and transition; only the
     box is set here, and 44px is the tap-target floor. */
  min-height: 44px;
}

/* "Request a username", built by main.js#showAccessForm for a ring session
   with no site username. Label over input over button, all in the bridge's
   181px column. The global `label` rule zeroes margins with !important, so the
   gap below the label is the input's margin instead. */
#access-request {
  margin: 0px 0px 8px 0px;
}

#access-request label {
  display: block;
}

#access-request input {
  display: block;
  margin-top: 4px;
  /* Bootstrap's body 1.5, as the house inputs below get it; the bridge's own
     line-height would otherwise make this one shorter than its neighbours. */
  line-height: 1.5;
}

#access-request button {
  margin-top: 8px;
}

/* The house `.warning` colour and show/hide, but the bridge's own size rather
   than `.warning`'s 9px: this line carries a server error the visitor has to
   act on, and 9px is below the fleet's 11px text floor. */
#ring-bridge #access-warning {
  margin: 4px 0px 0px 0px;
  font-size: inherit;
}

/* "or" between the password form and Google sign-in. Width matches the Google
   button below it, so the two hairlines span exactly that button. They are
   aria-hidden in the markup, and the word between them is the only part a
   screen reader hears. */
#or-separator {
  display: flex;
  align-items: center;
  width: 181px;
  font-family: 'Pompiere', cursive;
  font-size: 15px;
  line-height: 16px;
}

#or-separator .or-rule {
  flex: 1;
  border-top: 1px solid #c1c1c1; /* the inputs' own border colour */
}

#or-separator .or-rule:first-child {
  margin-right: 8px;
}

#or-separator .or-rule:last-child {
  margin-left: 8px;
}

/* A link that looks like the house `button`: Google sign-in navigates away, so
   it is an <a>, but it should read as the same kind of control as Submit.
   Face, colour, hover and focus are copied from `button` rather than shared,
   because the `a`, `a:hover` and `a:focus` rules above would otherwise turn the
   label grey and drop the focus ring. 181px matches the inputs; 44px is the
   tap-target floor. */
.button-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 181px;
  min-height: 44px;
  padding: 0 16px;
  background-color: #ffb1b1;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
  cursor: pointer;
  transform: scale(1) translateZ(0);
  transition: all 0.3s;
}

.button-link:active {
  box-shadow: 1px 1px #000000;
  background-color: rgba(0, 128, 0, 0.75);
  text-shadow: 0.1px 0.1px 0px #000000;
}

.button-link:hover {
  background-color: rgba(0, 128, 0, 0.75);
  color: #000000; /* as `button:hover` - black on this green is 6.32:1 */
  transform: scale(1.1) translateZ(0);
  transition: all 0.3s;
}

.button-link:focus {
  outline: none;
  color: #000000;
  border: 2px solid rgba(0, 128, 0, 0.69);
  box-shadow: 0px 0px 2px 0px rgba(0, 128, 0, 0.69);
}

input {
  width: 181px;
  border-color: #c1c1c1;
  border-style: solid;
  border-width: 1px;
  font-family: 'Pompiere', cursive;
  font-size: 15px;
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
}

input:focus, button:focus {
  border: 2px solid rgba(0, 128, 0, 0.69);
  box-shadow: 0px 0px 2px 0px rgba(0, 128, 0, 0.69);
}

.tooltip > .tooltip-inner {
  width: 130px !important;
}

.warning {
  max-width: 181px;
  margin-top: 3px;
  display: none;
  font-size: 9px;
  /* #ff0000 was 4.0:1 on white; #cc0000 is 5.9:1 and clears AA. */
  color: #cc0000;
  text-align: left;
}

/* my-account's warnings sit on the visitor's own profile colour, and no red
   ink passes on every one of those: on a mid grey (#777777) black is 4.7:1 and
   white 4.5:1, and any red scores below both. So the warning carries its own
   white ground, the same white as the editing input above it, where #cc0000 is
   5.9:1 whatever colour the profile is. #last-name-blank is only an &nbsp;
   spacer that keeps the name row level, so it stays unbacked. */
#profile-background .warning:not(#last-name-blank) {
  align-self: flex-start;
  padding: 1px 4px;
  background-color: #ffffff;
}

#verify-password-input {
  font-size: 15px;
}

#zip-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

#zip-container a {
  margin-left: 8px;
  font-size: 20px;
}

#success {
  margin-top: 3px;
}

#title {
  position: absolute;
  height: 70px;
  width: fit-content;
  margin: auto;
  top: 0px;
  left: 0px;
  right: 0px;
  margin-top: 28px;
  font-family: 'Sail', cursive;
  font-size: 42px !important;
  text-align: center;
  z-index: 1;
}

#my-account-container {
  flex: 1;
  font-family: 'Pompiere', cursive !important;
}

#navbar {
  position: fixed;
  padding: 0px;
  top: 76px;
  background-color: #ffffff;
  align-items: center;
  font-variant: all-small-caps;
  z-index: 1;
}

.nav-link {
  font-size: 12px !important;
  color: #000000 !important;
  text-align: center;
  letter-spacing: 3px;
  transition: all 0.3s;
}

.nav-link:hover {
  text-shadow: 0.1px 0.1px #000000;
  transition: all 0.3s;
}

.nav-link.active {
  background-color: #ffffff !important;
  font-weight: bold;
  color: #000000 !important;
  text-shadow: 0.2px 0.2px #000000;
}

#menu-container {
  position: fixed;
  height: 87vh;
  top: 106px;
  left: 0px;
}

#menu-scroll-area {
  position: relative;
  height: 100%;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
}

.menu-section {
  height: 400px;
  transform: rotateY(0deg);
  transition: all 1s;
}

.menu-section.flip {
  transform: rotateY(180deg);
  transition: all 1s;
}

#personal-menu {
  background-color: #f1958a;
}

.main-link {
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 18px;
  font-weight: bold;
}

#personal-menu .row {
  width: 100%;
}

.front-menu {
  font-family: 'Sail', cursive;
  font-size: 65px;
  color: #ffffff;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s linear;
  transition-delay: 0.3s;
  z-index: 2;
}

.flip > .front-menu {
  opacity: 0 !important;
  transition-delay: 0.1s !important;
  z-index: 1 !important;
}

.back-menu {
  position: absolute;
  margin: 0px;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  font-size: 12px;
  text-align: left;
  opacity: 0;
  transform: matrix3d(-1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  transition: opacity 0.3s linear;
  transition-delay: 0s;
  z-index: 1;
}

.flip > .back-menu {
  opacity: 1 !important;
  transition-delay: 0.3s !important;
  z-index: 2 !important;
}

.back-button {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 30px;
  opacity: 0.7;
  cursor: pointer;
}

.back-button:hover {
  opacity: 1;
}

#profile-background {
  width: 90%;
  max-width: 500px;
  padding-bottom: 5px;
  border: 4px solid #000000;
  margin-top: 25px;
  background-color: #ffffff;
}

#profile-background.editing, #profile-icon.editing {
  cursor: pointer;
}

.dark {
  color: #000000;
}

.light {
  color: #ffffff;
}

/* A row at the foot of the card, not a stack pinned top-right: at 44px each
   the three links stood 132px tall and ran over the About field. The
   !importants beat Bootstrap's `.flex-column` utility on the element. */
#account-buttons {
  order: 1;
  flex-direction: row !important;
  flex-wrap: wrap;
  column-gap: 16px;
  margin-top: 8px;
}

.account-button {
  border: none !important;
  box-shadow: none !important;
  background-color: rgba(0, 0, 0, 0);
  font-size: 12px;
  text-align: right;
  transform: none !important;
  transition: none !important;
}

.account-button:active {
  box-shadow: none;
  background-color: rgba(0, 0, 0, 0);
}

.account-button:hover {
  background-color: rgba(0, 0, 0, 0);
  color: #808080;
  transform: none;
}

.account-button:focus {
  outline: none !important;
  background-color: rgba(0, 0, 0, 0);
  color: #808080;
}

.account-button:hover.light, .account-button:focus.light {
  color: #cacaca;
}

#profile-icon-container {
  margin-top: -25px !important;
}

.my-row {
  margin-top: 4px;
  margin-bottom: 4px;
}

#icon-color-picker, #background-color-picker {
  height: 1px;
  width: 1px;
  padding: 0px !important;
  border: 0px !important;
  margin: 0px;
  top: 0%;
  opacity: 0;
  z-index: 0;
}

#icon-color-picker:focus {
  opacity: 0 !important;
  z-index: 0;
}

#diamond-svg.editing {
  cursor: pointer;
}

.user-data textarea {
  text-align: center;
}

.user-data textarea, .user-data input {
  height: 100%;
  padding: 5px !important;
  border: none !important;
  outline: none !important;
  resize: none !important;
  background-color: rgba(0, 0, 0, 0) !important;
  font-family: 'Pompiere', cursive !important;
  line-height: 1.5 !important;
  cursor: default !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.user-data textarea::placeholder, .user-data input::placeholder {
  opacity: 0.6 !important;
}

.user-data textarea.dark::placeholder, .user-data input.dark::placeholder {
  color: #000000;
}

.user-data textarea.light::placeholder, .user-data input.light::placeholder {
  color: #ffffff;
}

.user-data textarea.dark.editing::placeholder, .user-data input.dark.editing::placeholder, .user-data textarea.light.editing::placeholder, .user-data input.light.editing::placeholder {
  color: #000000 !important;
}

.user-data textarea.editing, .user-data input.editing, span.editing {
  border: 1px solid #000000 !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}

.form-control {
  font-size: 12px;
}

.field-title {
  width: 100px;
  padding-left: 10px;
  padding-right: 10px;
  font-weight: bold;
  display: flex;
  cursor: default;
  z-index: 2;
}

.col-5 {
  max-width: 350px !important;
}

.user-data {
  height: 100%;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 2.5px;
  padding-right: 2.5px;
  text-align: center;
}

.col-1 {
  min-width: 40px;
  max-width: 100px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.col-2 {
  max-width: 150px !important;
}

.col-3 {
  max-width: 200px !important;
}

.public-text {
  font-size: 11px;
  cursor: default;
}

.public-text.editing {
  cursor: pointer;
}

label {
  min-height: unset !important;
  padding: 0px !important;
  margin: 0px !important;
  cursor: default !important;
}

label.editing {
  cursor: pointer !important;
}

.dark .custom-checkbox .custom-control-input:checked~.custom-control-indicator {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000000' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
}

.light .custom-checkbox .custom-control-input:checked~.custom-control-indicator {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23ffffff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
}

.editing.custom-checkbox .custom-control-input:checked~.custom-control-indicator {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23000000' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E") !important;
}

.public {
  position: relative;
  margin-top: -4px;
  background-color: rgba(0, 0, 0, 0) !important;
  cursor: default !important;
}

#button-row {
  width: unset !important;
  min-width: 100%;
  margin-top: 10px;
}

.form-button {
  border-color: #000000;
  border-radius: 2px;
  border-style: solid;
  border-width: 1px;
  outline: none;
  background-color: rgba(0, 0, 0, 0);
  font-size: 11px;
  font-variant: small-caps;
  font-weight: bold;
  text-shadow: 0.2px 0.2px #000000;
  cursor: pointer;
}

.form-button:active {
  outline: none;
  box-shadow: 0.3px 0.3px #000000;
}

.form-button:hover, .form-button:focus {
  outline: none !important;
  background-color: #f37c6e;
  color: #000000;
}

#cancel, #save {
  margin-right: 15px;
  display: none;
}

#scores-menu {
  background-color: #b2e389;
}

#scores-menu .col-1 {
  padding: 0px !important;
  text-align: right;
}

.arrow-container {
  width: min-content;
  width: -moz-min-content;
}

.up {
  top: 40%;
  font-size: 30px;
  opacity: 0;
}

.down {
  top: 50%;
  font-size: 30px;
  opacity: 0;
}

.score-area {
  padding: 0px;
  height: 90%;
  max-width: 300px;
  font-family: 'Wire One', sans-serif;
  font-size: 15px;
  text-align: center;
}

.score-area .row {
  position: relative;
  margin-top: 5px;
  margin-bottom: 5px;
}

#rhythm-link, #rhythm-error a, #rhythm-no-scores a {
  font-family: 'Tangerine', cursive;
  font-size: 24px;
}

#rhythm-link, #shapes-link {
  height: 35px;
}

.header {
  font-weight: bold;
}

#rhythm-error, #rhythm-no-scores, #shapes-error, #shapes-no-scores {
  font-size: 24px;
}

#rhythm-score-data .delete-button {
  top: unset;
  right: -10px;
  align-self: center;
}

#shapes-link, #shapes-error a, #shapes-no-scores a {
  font-family: 'Bungee Shade';
  font-size: 10px;
  line-height: 4;
}

#shapes-score-data .delete-button {
  top: unset;
  right: -5px;
  align-self: center;
}

#shapes-up-arrow, #shapes-down-arrow {
  right: 0px;
  left: unset;
}

#drawings-menu {
  background-color: #78d9f1;
}

#drawings-menu .main-link {
  font-family: 'League Script', cursive;
}

.menu-options {
  position: absolute;
  height: 26px;
  margin-top: 3px;
  /* The tabs are 44px tall now; lifting the row by half the growth keeps the
     labels exactly where the 20px tabs had them. */
  top: -12px;
}

.menu-options button {
  border: none;
  outline: none;
  padding: 0px;
  margin: 5px;
  background-color: rgba(0, 0, 0, 0);
  font-size: 13px;
  font-weight: normal;
  transform: none;
}

.menu-options button:hover {
  font-weight: bold;
  color: #000000;
}

.menu-options button.selected, .menu-options button:focus, .menu-options button:active {
  /* An underline, not a bottom border: the border would sit at the foot of the
     44px box, a tab-height below the label it marks. */
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  outline: none !important;
  box-shadow: none !important;
  font-weight: bold;
  text-shadow: 0.2px 0.2px 0px #000000;
}

.content-container, .canvashare-link-container, .thought-writer-link-container {
  height: 100%;
  max-height: 365px;
  width: 100%;
  max-width: 600px;
  text-align: center;
  overflow: scroll;
}

.content-container {
  position: relative;
}

#gallery-container, .canvashare-link-container {
  font-family: 'Chathura', sans-serif;
}

.content-container .content-display {
  height: 100%;
}

.content-container text {
  padding: 3px;
  font-size: 25px;
}

.canvashare-link-container, .thought-writer-link-container {
  position: absolute;
}

.canvashare-link-container {
  font-size: 20px;
}

.canvashare-link {
  font-family: 'League Script', cursive;
  font-size: 30px;
  font-weight: bold;
}

#my-account-container .left {
  position: absolute;
  top: 45%;
  left: 0px;
  font-size: 30px;
  opacity: 0;
}

#my-account-container .right {
  position: absolute;
  top: 45%;
  right: 0px;
  font-size: 30px;
  opacity: 0;
}

#posts-menu {
  background-color: #b096eb;
}

#posts-menu .main-link {
  font-family: 'Share', cursive;
  font-variant: small-caps;
}

#post-list-container, .thought-writer-link-container {
  font-family: 'Cutive Mono', monospace;
}

.thought-writer-link {
  font-family: 'Share', cursive;
  font-size: 25px;
  font-variant: small-caps;
}

#stats-menu {
  background-color: #d594eb;
}

@media only screen and (min-width: 576px) {
  .content-display {
    max-width: 500px;
  }

  #gallery-row .content-display, #post-list-row .content-display, #comment-list-row .content-display {
    overflow: unset;
  }

  button {
    font-size: 16px;
  }

  .title {
    font-size: 78px;
  }

  .container {
    width: 540px;
  }

  h4 {
    margin-top: 30px;
    font-size: 18px;
  }

  h2 {
    font-size: 24px;
  }

  #forgot-password {
    font-size: 18px;
    line-height: 19px;
  }

  #ring-bridge {
    font-size: 18px;
    line-height: 19px;
  }

  .warning {
    font-size: 10px;
  }

  .front-menu {
    font-size: 110px;
  }

  .back-menu {
    font-size: 18px;
  }

  .back-button {
    font-size: 40px;
  }

  #profile-background {
    max-width: 600px;
  }

  .account-button {
    font-size: 12px;
  }

  .form-control {
    font-size: 14px;
  }

  .field-title {
    width: 150px;
  }

  .public-text {
    font-size: 13px;
  }

  .form-button {
    font-size: 13px;
  }

  .score-area {
    font-size: 18px;
  }

  .score-area .row {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  #rhythm-link, #rhythm-error a, #rhythm-no-scores a {
    font-size: 31px;
  }

  #rhythm-link, #shapes-link {
    height: 47px;
  }

  #rhythm-score-data .delete-button {
    right: 20px;
  }

  #shapes-link, #shapes-error a, #shapes-no-scores a {
    font-size: 16px;
    line-height: 3;
  }

  #shapes-score-data .delete-button {
    right: 30px;
  }

  #shapes-up-arrow, #shapes-down-arrow {
    right: unset;
  }

  .content-container, .content-container .content-display {
    overflow: unset;
  }

  .content-container text {
    font-size: 25px;
  }
}

@media only screen and (min-width: 768px) {
  .main-link {
    font-size: 23px;
  }

  #profile-icon {
    height: 90px;
    width: 90px;
    border-radius: 45px;
  }

  #diamond {
    height: 60px;
    margin-top: 6px;
  }

  #profile-info {
    margin-top: 118px;
  }

  #profile-title {
    font-size: 30px;
  }

  #content-area {
    max-height: 55vh;
  }

  .content-display {
    max-width: 700px;
  }

  .drawing-container {
    margin-bottom: 1%;
  }

  .delete-button {
    top: -2px;
    font-size: 30px;
    opacity: 0;
  }

  .drawing-container:hover .delete-button {
    opacity: 1;
  }

  .drawing-title {
    width: 181px;
    font-size: 30px;
  }

  .drawing {
    height: 178px;
    width: 181px;
  }

  .drawing-info {
    width: 181px;
  }

  .drawing-likes, .drawing-views {
    width: 25%;
  }

  .drawing-artist {
    width: 50%;
  }

  .post-container:hover .delete-button {
    opacity: 1;
  }

  .post-title {
    width: 181px;
    font-size: 18px;
  }

  .post-board, .comment-board {
    height: 164px;
    width: 181px;
  }

  .comment-board:hover .delete-button {
    opacity: 1;
  }

  .post-content, .comment-content {
    height: 143px;
    width: 160px;
    font-size: 20px;
  }

  .post-info, .comment-info {
    width: 181px;
    font-size: 12px;
  }

  .title {
    max-width: 35vw;
    font-size: 90px;
  }

  #title {
    font-size: 54px !important;
    z-index: 4;
  }

  .banner {
    font-size: 19px;
  }

  #navbar {
    top: 100px;
  }

  .nav-link {
    font-size: 15px !important;
  }

  #menu-container {
    height: 83vh;
    top: 139px;
  }

  .menu-section {
    height: 500px;
  }

  .front-menu {
    font-size: 160px;
  }

  #profile-background {
    margin-top: 20px;
    max-width: 700px;
  }

  #profile-icon-container {
    margin-top: -30px !important;
  }

  .my-row {
    margin-top: 6px;
    margin-bottom: 6px;
  }

  .score-area {
    font-size: 24px;
  }

  #rhythm-link, #rhythm-error a, #rhythm-no-scores a {
    font-size: 34px;
  }

  #rhythm-score-data .row:hover .delete-button {
    opacity: 1;
  }

  #shapes-link, #shapes-error a, #shapes-no-scores a {
    font-size: 25px;
    line-height: 2;
  }

  #shapes-score-data .row:hover .delete-button {
    opacity: 1;
  }

  .menu-options button {
    font-size: 15px;
  }

  .content-container, .canvashare-link-container, .thought-writer-link-container {
    max-height: 460px;
    max-width: 800px;
    overflow: unset;
  }

  .canvashare-link-container {
    font-size: 30px;
  }

  .canvashare-link {
    font-size: 45px;
  }

  .thought-writer-link {
    font-size: 35px;
  }
}

@media only screen and (min-width: 992px) {
  #profile-background {
    max-width: 750px;
  }

  .my-row {
    margin-top: 12px;
    margin-bottom: 12px;
  }

  /* The Personal card's seven rows at 12px ran 47px past the 500px section,
     clipping the profile icon and the Edit button; keep the 768px spacing. */
  #personal-menu .my-row {
    margin-top: 6px;
    margin-bottom: 6px;
  }
}
