.cards {
  margin: 0px;
  padding: 0px 10px;
}

.card {
  font-family: Verdana, sans-serif;
  display: inline-block;
  vertical-align: top;
  border: 10px solid #8b59cc;
  border-radius: 0;
  box-shadow: 10px 10px 5px silver;
  margin: 0px 10px 30px 10px;
  width: 300px;
  color: #8b59cc;
  cursor: pointer;
}

.card:hover {
  border-color: #6635a5;
  color: #6635a5;
}

.card .title {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  flex-wrap: wrap;

  text-align: center;
  font-weight: bold;
  padding: 5px;
  height: 38px;
  width: 288px;
  margin: auto;
  float: left;
}
.card.reading-mode .title {
  width: 252px;
}

.card .details-toggle {
  padding: 8px 5px 2px 5px;
  height: 38px;
  float: left;
}

.card .details-toggle a {
  font-size: x-large;
  text-decoration: none;
  border: none;
}
.card .details-toggle a::after {
  content: "◮";
  display: inline-block;
}
.card.collapsed .details-toggle a::after {
  content: "◮";
  display: inline-block;
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
}

.card.collapsed .details {
  display: none;
}
.card .details {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  clear: both;

  text-align: left;
  padding: 25px 10px;

  color: white;
  background-color: #8b59cc;
  background-size: cover;
  background-position: center;
}
.card:hover .details {
  opacity: 1.0;
  background-color: #6635a5;
}

.card .details.with-background-image {
  color: #6635a5;
  background-blend-mode: color-dodge;
  min-height: 125px;
  opacity: 0.5;
}
.card:hover .details.with-background-image {
  opacity: 1.0;
}

.card.collapsed .cta-panel {
  display: none;
}
.card .cta-panel {
  padding: 10px;
}

form#strip-access-form {
    display: inline-block;
    position: relative;
}

form#strip-access-form img {
    width: 142px;
    margin-top: 2px;
    vertical-align: top;
}

.strip-access-input-fields {
    position: relative;
    z-index: 1;
    font-weight: bold;
}

input#comments_count {
    font-weight: bold;
    text-align: center;
    font-size: 1.1rem;
    width: 3rem;
}
.page-period {
    font-size: 1.24rem;
    margin-bottom: 15px;
}

.page-nav {
    font-size: 1.1rem;
}

.page-nav .nav-link {
    margin: 0px 20px;
}

#comics-page-layout-panel {
    float: right;
    margin: 4px;
}

#comics-page-layout-panel .label {
    display: inline-block;
    line-height: 1.8rem;
    vertical-align: middle;
    padding: 4px;
    font-family: Verdana, sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
}

#comics-page-layout-panel .icon {
    display: inline-block;
    font-weight: bold;
    line-height: 1.8rem;
    vertical-align: middle;
    padding: 4px;
    margin: 0px;
    color: black;
    text-shadow: 3px 3px 3px silver;
    border-radius: 4px;
    border-bottom: none;
}
#comics-page-layout-panel .icon.selected {
    background-color: #8b59cc;
}

#comics-page-layout-panel .icon:not(.selected):hover {
    background-color: #6635a5;
}

#comics-page-layout-panel .compact.icon {
    font-size: 1.2rem;
}

#comics-page-layout-panel .wide.icon {
    font-size: 1.8rem;
}

.page {
    clear: both;
    display: block;
    margin: 15px auto 0px auto;
    padding: 0px;
}

.page .page-image {
    display: block;
    background-color: white;
    margin: 0px auto;
    padding: 5px 16px;
    max-width: 100%;
}
.page .page-image:first-child {
    padding-top: 12px;
}
.page .page-image:last-child {
    padding-bottom: 12px;
}

.page .page-image.compact {
    max-width: 70%;
    padding: 2px 8px;
}
.page .page-image.compact:first-child {
    padding-top: 6px;
}
.page .page-image.compact:last-child {
    padding-bottom: 6px;
}

.page .page-image img {
    max-width: 100%;
    min-width: 300px;
    min-height: 100px;
}

.page .page-image .image-source {
    float: right;
    position: relative;
    margin: -18px -18px 0px 0px;
    border: none;
    opacity: 0.4;
}
.page .page-image .image-source:hover {
    opacity: 1;
}
.page .page-image .image-source::after {
    content: "\1F5E8"; /* WARNING: "\1F6C8 " for (i) does not render on Android phone; "\1F4CB " for checklist is an alternative */
    color: white;
    text-shadow: -1px -1px 0 #8b59cc, 1px -1px 0 #8b59cc, -1px 1px 0 #8b59cc, 1px 1px 0 #8b59cc; /* needed only for "\1F5E8 " as word balloon */
    vertical-align: unset; /* unset works better than middle for word balloon icon */
    margin-right: 5px;
    line-height: 1.4rem;
    font-weight: bold;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
.page .page-image .image-source:hover::after {
    color: #8b59cc;
}
@media (orientation: portrait) {
    .page .page-image .image-source::after {
        font-size: 0.8rem;
    }

    .page .page-image.compact .image-source::after {
        font-size: 0.7rem;
    }
}
@media (orientation: landscape) {
    .page .page-image .image-source::after {
        font-size: 1.2rem;
    }

    .page .page-image.compact .image-source::after {
        font-size: 1.1rem;
    }
}

.page .page-image.compact .image-source {
    float: right;
    margin: -20px -14px 0px 0px;
    border: none;
}

.comics-source {
    text-align: left;
    margin: 5px 0px 0px 5px;
}
.jungle-patrol {
    --jp-ink: #183a2c;
    --jp-leaf: #355b3c;
    --jp-gold: #f4d36a;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 16px 30px;
    color: var(--jp-ink);
    font-size: 1rem;
    text-align: left;
}

.jp-objective,
.jp-board-panel,
.jp-briefing {
    background: #fff;
    border: 1px solid #8b59cc;
    border-radius: 0;
    padding: 18px;
}

.jp-objective {
    width: 100%;
    max-width: 640px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 8px 12px;
}

.jp-briefing.content {
    width: 100%;
    max-width: 640px;
    box-sizing: border-box;
    margin: 14px auto 0;
    padding: 8px 12px;
}

.jp-briefing-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jp-briefing-list li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.jp-briefing-marker {
    font-size: 1.5rem;
    line-height: 1.2;
    text-align: center;
}

.jp-objective p {
    margin: 4px 0;
}

.jp-layout {
    display: grid;
    grid-template-columns: minmax(0, 640px);
    justify-content: center;
    align-items: start;
    gap: 14px;
    margin-top: 14px;
}

.jp-board-panel {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.jp-board {
    display: grid;
    grid-template-columns: repeat(var(--grid-size), minmax(0, 1fr));
    grid-template-rows: repeat(var(--grid-size), minmax(0, 1fr));
    gap: 5px;
    width: 100%;
    aspect-ratio: 1;
    box-sizing: border-box;
    padding: 8px;
    border-radius: 10px;
    background:
        radial-gradient(ellipse at 25% 20%, rgba(205, 224, 163, .48), transparent 32%),
        radial-gradient(ellipse at 76% 73%, rgba(135, 171, 116, .42), transparent 35%),
        linear-gradient(145deg, #263f30, #182e25);
}

.jungle-cell {
    display: flex;
    min-width: 0;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: 1px solid rgba(227, 237, 204, .48);
    border-radius: 7px;
    background: rgba(218, 230, 192, .91);
    color: #183a2c;
    font-size: clamp(.62rem, 1.8vw, .82rem);
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.jp-cell-markers {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    line-height: 1;
}

.jp-cell-characters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 3.5rem;
    line-height: 1;
}

.jp-cell-characters--stacked {
    flex-direction: row;
    gap: 2px;
}

.jp-cell-symbols {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 2px;
    white-space: nowrap;
}

.jp-cell-symbol {
    font-size: 2.5rem;
    white-space: pre-line;
}

.jungle-cell.is-hidden {
    background-color: #1d3726;
    background-image: url(/assets/jungle_patrol_canopy-213330b2aba6eae7f34b5c47925acfbf4af94591a918c4304da073a4b9dfaac6.svg);
    background-size: 200% 200%;
    background-position: var(--jp-canopy-x, 50%) var(--jp-canopy-y, 50%);
    color: #f7f5dd;
}

.jungle-cell.is-hidden:nth-child(4n + 1) {
    --jp-canopy-x: 0%;
}

.jungle-cell.is-hidden:nth-child(4n + 2) {
    --jp-canopy-x: 33%;
}

.jungle-cell.is-hidden:nth-child(4n + 3) {
    --jp-canopy-x: 66%;
}

.jungle-cell.is-hidden:nth-child(4n) {
    --jp-canopy-x: 100%;
}

.jungle-cell.is-hidden:nth-child(-n + 4) {
    --jp-canopy-y: 0%;
}

.jungle-cell.is-hidden:nth-child(n + 5):nth-child(-n + 8) {
    --jp-canopy-y: 33%;
}

.jungle-cell.is-hidden:nth-child(n + 9):nth-child(-n + 12) {
    --jp-canopy-y: 66%;
}

.jungle-cell.is-hidden:nth-child(n + 13) {
    --jp-canopy-y: 100%;
}

.jungle-cell.is-animal-danger {
    border-color: #8d1717;
    background: #b83232;
    color: #fff7f2;
    font-weight: 800;
}

.jungle-cell.is-clue-visitor {
    border-color: #397da3;
    background: #cce8f4;
    color: #174d70;
    animation: jp-status-fade-in 300ms ease-out;
}

.jungle-cell.is-clue-hazard {
    border-color: #c65a24;
    background: #f3d2b5;
    color: #6a3417;
    animation: jp-status-fade-in 300ms ease-out;
}

.jungle-cell.is-pit-flash {
    animation: jungle-patrol-pit-flash 1s ease-out var(--cell-flash-delay, 0ms);
}

.jungle-cell.is-animal-flash {
    animation: jungle-patrol-animal-flash 1s ease-out var(--cell-flash-delay, 0ms);
}

.jungle-cell.is-flare-flash {
    z-index: 1;
    animation: jungle-patrol-flare-flash 1s ease-out var(--cell-flash-delay, 0ms);
}

.jungle-cell.is-hidden.is-flare-flash {
    background-image: none;
}

.jungle-cell.is-actress-reveal {
    animation: jungle-patrol-actress-reveal 1s ease-out var(--cell-flash-delay, 0ms);
}

.jungle-cell.is-mission-success {
    animation: jungle-patrol-mission-success 1s ease-out both;
}

@keyframes jungle-patrol-actress-reveal {
    0%, 20% {
        background-color: #ed65bd;
        box-shadow: 0 0 20px 8px rgba(224, 55, 161, .9);
    }
    100% {
        background-color: rgba(218, 230, 192, .91);
        box-shadow: 0 0 0 0 rgba(224, 55, 161, 0);
    }
}

@keyframes jungle-patrol-mission-success {
    0%, 20% {
        background-color: #b9e86b;
        box-shadow: 0 0 20px 8px rgba(137, 190, 61, .9);
    }
    100% {
        background-color: #287a3f;
        color: #fff;
        border-color: #17552a;
        box-shadow: 0 0 0 0 rgba(137, 190, 61, 0);
    }
}

@keyframes jungle-patrol-pit-flash {
    0%, 18% {
        border-color: #f6cb75;
        box-shadow: 0 0 20px 8px rgba(210, 133, 47, .85);
    }
    100% {
        border-color: rgba(227, 237, 204, .48);
        box-shadow: 0 0 0 0 rgba(210, 133, 47, 0);
    }
}

@keyframes jungle-patrol-animal-flash {
    0%, 18% {
        border-color: #ffb1a5;
        box-shadow: 0 0 20px 8px rgba(193, 40, 33, .9);
    }
    100% {
        border-color: rgba(227, 237, 204, .48);
        box-shadow: 0 0 0 0 rgba(193, 40, 33, 0);
    }
}

@keyframes jungle-patrol-flare-flash {
    0%, 18% {
        border-color: #ffdf62;
        background-color: #e94a2b;
        box-shadow: 0 0 22px 9px rgba(227, 49, 24, .9), inset 0 0 0 3px #ffe36c;
    }
    42% {
        border-color: #e94a2b;
        background-color: #ffd84d;
        box-shadow: 0 0 18px 7px rgba(255, 207, 45, .95), inset 0 0 0 3px #cf2e1b;
    }
    100% {
        border-color: rgba(227, 237, 204, .48);
        box-shadow: 0 0 0 0 rgba(227, 49, 24, 0);
    }
}

.jungle-cell.is-current {
    outline: 3px solid var(--jp-gold);
    outline-offset: -3px;
    font-weight: 700;
}

.jungle-cell.is-hq {
    box-shadow: inset 0 0 0 2px #c1a6e8;
}

.jungle-cell.is-hazard-revealed {
    background: #d5b59e;
    color: #492c21;
}

.jungle-cell.is-retreating-scream {
    border-color: #ffe37d;
    background: #f2bc4d;
    color: #3b2410;
    font-weight: 800;
    animation: jungle-patrol-scream 1.8s ease-in-out var(--scream-animation-delay, 0ms) both;
}

.jungle-cell.is-retreating-scream.is-flare-flash {
    animation: jungle-patrol-flare-flash 1s ease-out var(--cell-flash-delay, 0ms);
}

@keyframes jungle-patrol-scream {
    0%, 100% {
        background-color: #f2bc4d;
        box-shadow: 0 0 0 0 rgba(255, 222, 104, .95);
    }
    25%, 65% {
        background-color: #fff2a8;
        box-shadow: 0 0 18px 8px rgba(255, 222, 104, .8);
    }
    45%, 85% {
        background-color: #dd8043;
        box-shadow: 0 0 10px 3px rgba(255, 155, 83, .7);
    }
}

@media (prefers-reduced-motion: reduce) {
    .jungle-cell {
        transition: none;
    }

    .jungle-cell.is-retreating-scream {
        animation: none;
        background: #f2bc4d;
        box-shadow: 0 0 0 4px rgba(255, 222, 104, .8);
    }

    .jungle-cell.is-retreating-scream.is-flare-flash {
        border-color: #ffdf62;
        background-color: #e94a2b;
        box-shadow: 0 0 0 4px rgba(227, 49, 24, .85), inset 0 0 0 3px #ffe36c;
    }

    .jungle-cell.is-clue-visitor,
    .jungle-cell.is-clue-hazard {
        animation: none;
    }

    .jungle-cell.is-pit-flash {
        animation: none;
        box-shadow: 0 0 0 4px rgba(210, 133, 47, .8);
    }

    .jungle-cell.is-animal-flash {
        animation: none;
        box-shadow: 0 0 0 4px rgba(193, 40, 33, .85);
    }

    .jungle-cell.is-flare-flash {
        animation: none;
        border-color: #ffdf62;
        background-color: #e94a2b;
        box-shadow: 0 0 0 4px rgba(227, 49, 24, .85), inset 0 0 0 3px #ffe36c;
    }

    .jungle-cell.is-actress-reveal {
        animation: none;
        background: #ed65bd;
        box-shadow: 0 0 0 4px rgba(224, 55, 161, .85);
    }

    .jungle-cell.is-mission-success {
        animation: none;
        background: #287a3f;
        color: #fff;
        border-color: #17552a;
        box-shadow: inset 0 0 0 3px #17552a;
    }
}

.jp-flare-target {
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 2px dashed #f4d36a;
    border-radius: 5px;
    background: #355b3c;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.jp-flare-target:hover,
.jp-flare-target:focus-visible {
    background: #24452d;
    outline: 3px solid #f4d36a;
    outline-offset: 1px;
}

.jp-flare-target.is-animal-danger,
.jp-flare-target.is-animal-danger:hover,
.jp-flare-target.is-animal-danger:focus-visible {
    border-color: #711313;
    background: #a51f1f;
    color: white;
}

.jp-turn-count,
.jp-acknowledgement {
    color: #52675a;
    font-size: 1rem;
}

.jp-control-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.jp-turn-count {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
    transition: color 180ms ease;
}

.jp-turn-count[data-outcome="lost"] {
    color: #b3261e;
}

.jp-turn-count[data-outcome="won"] {
    color: #287a3f;
}

.jp-status {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 5rem;
    box-sizing: border-box;
    margin: 0 0 8px;
    padding: 4px 8px;
    overflow: auto;
    border-left: 3px solid var(--jp-leaf);
    border-radius: 4px;
    background: #edf3e8;
    color: #183a2c;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.jp-status-content {
    flex: 1 1 auto;
    min-width: 0;
}

.jp-status-signal {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 3rem;
    line-height: 1;
}

.jp-status-signal[hidden] {
    display: none;
}

.jp-status-prefix,
.jp-status-message {
    display: block;
}

.jp-status-prefix[hidden] {
    display: none;
}

.jp-status-prefix {
    margin-bottom: 2px;
    font-style: italic;
    font-weight: 500;
}

.jp-status-message {
    font-weight: 700;
}

.jp-status.is-updating {
    animation: jp-status-fade-in 300ms ease-out;
}

@keyframes jp-status-fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.jp-status[data-tone="neutral"] {
    border-color: #8a7442;
    background: #e9dfbf;
    color: #493f27;
}

.jp-status[data-tone="danger"] {
    border-color: #b3261e;
    background: #f4dada;
    color: #b3261e;
}

.jp-status[data-tone="hazard"] {
    border-color: #c65a24;
    background: #f3d2b5;
    color: #6a3417;
}

.jp-status[data-tone="flare"] {
    border-color: #ffdf62;
    background: #e94a2b;
    color: #35120b;
}

.jp-status[data-tone="visitor"] {
    border-color: #397da3;
    background: #cce8f4;
    color: #174d70;
}

.jp-status[data-tone="success"] {
    border-color: #17552a;
    background: #287a3f;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .jp-status,
    .jp-status.is-updating {
        transition: none;
        animation: none;
    }
}

.jp-dpad {
    display: flex;
    flex: 0 0 auto;
    gap: 4px;
}

.jp-dpad button,
.jp-actions button {
    min-width: 40px;
    min-height: 40px;
    border: 1px solid #355b3c;
    border-radius: 8px;
    background: #355b3c;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
}

.jp-dpad button:hover,
.jp-actions button:hover:not(:disabled) {
    background: #24452d;
}

.jp-dpad button:focus-visible,
.jp-actions button:focus-visible {
    outline: 3px solid #9b6bd1;
    outline-offset: 2px;
}

.jp-dpad button:disabled,
.jp-actions button:disabled {
    cursor: not-allowed;
    opacity: .48;
}

.jp-actions {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    padding: 2px 0 6px;
}

.jp-active-controls {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.jp-actions button {
    flex: 0 0 auto;
    padding: 6px 10px;
}

.jp-actions [hidden] {
    display: none;
}

.jp-turn-count {
    margin: 4px 0 0;
    line-height: 1.3;
}

.jp-record {
    margin: 4px 0 0;
    color: #52675a;
    font-size: 1rem;
    line-height: 1.3;
}

.jp-acknowledgement {
    margin: 16px 4px 0;
    text-align: center;
}

@media (max-width: 680px) {
    .jungle-patrol {
        padding-right: 6px;
        padding-left: 6px;
    }

    .jp-board-panel {
        padding: 6px;
    }

    .jp-board {
        padding: 4px;
    }

    .jp-control-row {
        align-items: flex-start;
        gap: 6px;
    }

    .jp-status {
        height: 7rem;
        font-size: .875rem;
        line-height: 1.2;
    }

    .jp-status-signal {
        font-size: 1.75rem;
    }

    .jp-cell-characters {
        flex-direction: column;
        gap: 0;
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: .82;
    }

    .jp-cell-symbols {
        gap: 0;
    }

    .jp-cell-symbol {
        font-size: clamp(.85rem, 4.5vw, 1.1rem);
    }
}
.user-content-form {
    margin: 0px 0px 20px 0px;
}

.user-content-form fieldset {
    display: inline-block;
    vertical-align: top;
    border: none;
    padding: 0px;
    margin: 20px 20px 0px 0px;
}
.user-content-form fieldset:last-child {
    display: block;
}

.user-content-form label {
    display: block;
    margin: 20px 0px 0px 0px;
}
.user-content-form label:first-child {
    margin: 0px;
}

.user-content-form input, .user-content-form textarea {
    display: block;
    margin: 4px 0px 0px 0px;
    font-family: Verdana, sans-serif;
    font-size: 0.9rem;
}

.user-content-form label.protect, .user-content-form input.protect {
    display: block;
    margin: 0px;
    height: 0px;
    line-height: 0px;
    border: 0px;
    font-size: 0px;
}

.user-content-form input[type="submit"] {
    display: block;
    margin: 0px;
    padding: 8px;
    font-family: Verdana, sans-serif;
    font-size: 0.9rem;
}

.user-content {
    margin: 25px 0px 0px 0px;
    padding: 0px 0px 25px 0px;
    border-bottom: 1px solid #8b59cc;
    font-family: Verdana, sans-serif;
}
.user-content:last-child {
    border-bottom: none;
}

.user-content .text {
    margin: 0px 0px 10px 0px;
    font-size: 1rem;
}

.user-content .by {
    text-align: right;
    font-style: italic;
    font-size: 0.9rem;
}

.user-content .by .name {
    font-weight: bold;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body {
    font-family: sans-serif;
    margin: auto;
    background-color: #8b59cc;
    background-image: url(/assets/graphics/blue-paper-background-5ff6e363bfe3c733478f85aa7c9445937af6e8d54a326a7fa3345da423154b32.jpg);
    color: white;
    width: 98.2%;
}

a {
    color: #8b59cc;
    text-decoration: none;
    display: inline-block;
    border-bottom: 1px solid #8b59cc;
    padding-bottom: 0px;
    margin-bottom: 2px;
}

a:hover {
    color: #6635a5;
    border-color: #6635a5;
    text-decoration: none;
}

a[target="_blank"]::after {
    content: " \21F1";
    display: inline-block;
    margin: 0px 0px 0px 2px;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

#header {
    margin: 10px auto;
    padding: 1px 0px 20px 0px;
    text-align: center;
    background-color: black;
    opacity: 0.7;
    font-size: 1.2rem;
}
#header a {
    color: #b795e5;
}
#header a:hover {
    color: #e5d2ff;
}
#header h1 a {
    text-decoration: none;
    border-bottom: 0px;
}

#main {
    background-color: white;
    background-image: url(/assets/graphics/white-noise-background-d772ffa08c07fb6181333c9ae328039f997a8456f76d828a96dd335920713389.gif);
    text-align: center;
    margin: auto;
    padding: 20px 0px;
    color: black;
}

#footer {
    margin: 30px auto;
    width: 90%;
    text-align: center;
    font-size: .9rem;
}

#footer a {
    color: white;
    border-bottom: 1px solid white;
}

#footer .smallprint {
    font-size: .65rem;
}

.heading {
    display: inline-block;
    margin-bottom: 20px;
}

.heading h1 {
    display: inline-block;
    margin-bottom: 5px;
}

.heading-tagline {
    display: block;
    text-align: left;
    font-size: 1.1rem;
}

.content {
    display: block;
    color: black;
    background-color: white;
    border: 1px solid #8b59cc;
    padding: 10px 30px;
    margin: 0px auto 30px auto;
    width: 80%;
    text-align: justify;
}

.content.secondary {
    background-color: transparent;
}

.success {
    display: block;
    color: white;
    background-color: green;
    border: 1px solid green;
    padding: 10px 30px;
    margin: 0px auto 30px auto;
    width: 80%;
    font-family: Verdana, sans-serif;
}
.success:not(.without_icon)::before {
    content: "\2713";
    color: green; text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.1rem;
    vertical-align: text-bottom;
    margin-right: 10px;
}

.error {
    display: block;
    color: white;
    background-color: #cd1818;
    border: 1px solid #cd1818;
    padding: 10px 30px;
    margin: 0px auto 30px auto;
    width: 80%;
    font-family: Verdana, sans-serif;
}
.error:not(.without_icon)::before {
    content: "\2715";
    color: #cd1818; text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.1rem;
    vertical-align: text-bottom;
    margin-right: 10px;
}

.info {
    display: block;
    color: #8b59cc;
    background-color: white;
    border: 1px solid #8b59cc;
    padding: 10px 30px;
    margin: 0px auto 30px auto;
    width: 80%;
    font-family: Verdana, sans-serif;
}
.info:not(.without_icon)::before {
    content: "\1F5E8"; /* WARNING: "\1F6C8 " for (i) does not render on Android phone; "\1F4CB " for checklist is an alternative */
    color: white; text-shadow: -1px -1px 0 #8b59cc, 1px -1px 0 #8b59cc, -1px 1px 0 #8b59cc, 1px 1px 0 #8b59cc; /* needed only for "\1F5E8 " as word balloon */
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.1rem;
    vertical-align: unset; /* unset works better than middle for word balloon icon */
    margin-right: 10px;
}

.warning {
    display: block;
    color: orange;
    background-color: white;
    border: 1px solid orange;
    padding: 10px 30px;
    margin: 0px auto 30px auto;
    width: 80%;
    font-family: Verdana, sans-serif;
}
.warning:not(.without_icon)::before {
    content: "\26A0";
    font-size: 1.8rem;
    font-weight: normal;
    line-height: 1.1rem;
    vertical-align: text-bottom;
    margin-right: 2px;
}

.note {
    color: grey;
}

.smallprint {
    font-size: .80rem;
}

.success a, .error a, .warning a, .info a, .note a, .smallprint a {
    color: inherit;
    border-color: inherit;
}

.cta {
  font-size: 0.9rem;
  cursor: pointer;
}

.cta.primary {
  background-color: #8b59cc;
  color: white;
  border: 5px solid #8b59cc;
  border-radius: 10px;
  box-shadow: 5px 5px 5px silver;
  padding: 3px 10px;
}
.cta.primary:hover {
  background-color: #6635a5;
  color: white;
  border: 5px solid #6635a5;
}

.cta.secondary {
  background-color: white;
  color: #8b59cc;
  border: 2px solid #8b59cc;
  border-radius: 8px;
  box-shadow: 3px 3px 3px silver;
  padding: 5px 10px;
}
.cta.secondary:hover {
  background-color: #6635a5;
  color: white;
  border: 2px solid #6635a5;
} 

@media (orientation: portrait) {
    .portrait-orientation.warning {
        display: block;
    }
}

@media (orientation: landscape) {
    .portrait-orientation.warning {
        display: none;
    }
}

.portrait-orientation.warning {
    margin: 10px auto;
}

.portrait-orientation.warning img {
    float: left;
    margin: -5px 5px 0px -5px;
    padding: 0px;
    opacity: .8
}

#spinner {
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5em;
    text-shadow: 3px 3px 3px silver;
}

/* Source: https://codepen.io/lodybo/pen/povbPXP */
/* Add spinner symbol */
.spinner::before {
	/* You can choose from a few below */
	--lighthouse-symbol: "\26EF";
	--dotted-circle: "\25CC";
	--hourglass: "\23F3";
	
	/* Assign the spinner icon as content for the pseudo element */
	content: var(--hourglass);
}
.spinner {
	/* In our demo, the spinner uses an <i/> tag which by default has font-styling. We reset that here */
	font-style: normal;
	
	/* Increase font size to make it more appealing */
	font-size: 5em;
	
	/* Add infinite rotation animation */
	animation: rotation 4s infinite linear;
}

/* Specify rotation */
@keyframes rotation {
	from {
		transform: rotate(0deg);
	}
	
	to {
		transform: rotate(359deg);
	}
}
