:root {
    --borderFocusColor: #a51;
    --itemIsActiveBG: #a51;
    --itemHoverBG: #aa551155;
    --height: 34px;
}

@font-face {
    font-family: 'Romanblack';
    src: url('../fonts/morrisromanblack-webfont.woff2') format('woff2'),
        url('../fonts/morrisromanblack-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Merri';
    src: url('../fonts/merriweather_light-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Merri';
    src: url('../fonts/merriweather-bold-webfont.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Ecstasy';
    src: url('../fonts/talavera_-_ecstasy-webfont.woff2') format('woff2'),
        url('../fonts/talavera_-_ecstasy-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Merri', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #222;
    padding-bottom: 120px;
    background: #efe6d7 url(../images/body-back.jpg);
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    margin: 0 0 0.5em 0;
    font-weight: 400;
    line-height: 1.2;
}

body h1 {
    font-size: 3em;
    font-family: 'Ecstasy', serif;
    color: #830;
    font-weight: 300;
    letter-spacing: 1px;
}

body h2 {
    font-size: 1.8em;
    font-family: 'Romanblack', serif;
    color: #830;
}

body h3 {
    font-size: 1.6em;
    font-family: 'Romanblack', serif;
    color: #a51;
}

body h4 {
    font-size: 1.5em;
    font-family: 'Romanblack', serif;
    color: #333;
}

body h5 {
    font-size: 1em;
    font-family: 'Merri', serif;
    color: #a51;
    font-weight: bold;
}

body h6 {
    font-size: 1em;
    font-family: 'Merri', serif;
    color: #333;
    font-weight: bold;
}

a {
    color: inherit;
}

::selection {
    background: #830;
    color: #fff;
}

::-moz-selection {
    background: #830;
    color: #fff;
}

code {
    font-family: menlo, inconsolata, monospace;
    font-size: calc(1em - 2px);
    color: #555;
    background-color: #f0f0f0;
    padding: 0.2em 0.4em;
    border-radius: 2px;
}

@media (min-width: 600px) {
    body {
        font-size: 18px;
    }
}

.pure-table.pure-table {
    width: 100% !important;
    border: none;
    table-layout: fixed;
}

.pure-g.pure-g,
.pure-g.pure-g [class*='pure-u'] {
    font-family: 'Merri', sans-serif;
}

.pure-table.pure-table thead {
    background-color: #268;
    color: #fff;
    letter-spacing: 1px;
}

label {
    font-size: 0.8rem;
}

body input,
body select {
    display: block;
    width: 100%;
    outline-color: #a51;
    color: #a51;
    font-size: 15px;
    line-height: 20px;
    font-family: 'Merri';
}

.clearSelect.clearSelect.clearSelect.clearSelect {
    font-size: 11px;
}

.selectedItem.selectedItem.selectedItem.selectedItem {
    font-family: 'Merri';
    font-size: 14px;
}

.gridbox {
    padding: 0.5em;
}

.box {
    padding: 20px 10px 10px;
}

.btn {
    display: inline-block;
    width: 100%;
}

.pure-button-primary.pure-button-primary.pure-button-primary,
.pure-button-primary.pure-button-primary.pure-button-selected,
a.pure-button-primary.pure-button-primary.pure-button-primary,
a.pure-button-primary.pure-button-primary.pure-button-selected {
    padding: 6px 1em 5px;
    background-color: #a51;
    color: #fff;
}

.a-right {
    text-align: right;
}

table.small.small th {
    font-size: 14px;
    text-align: left;
    background: #268;
    color: #fff;
    padding: 0.2em 0.4em;
    border-bottom: none;
}

table.small.small td {
    font-size: 14px;
    padding: 0.2em 0.4em;
    border-bottom: 1px solid #f0f0f0;
    cursor: default;
}

table.small.small tr:hover td {
    background: #f0f0f0;
}

table.center.center th,
table.center.center td,
table th.center.center,
table td.center.center,
.center {
    text-align: center;
}

@media (max-width: 768px) {
    .hidemobile {
        display: none;
    }

    .pure-table.pure-table th:nth-child(n + 5),
    .pure-table.pure-table td:nth-child(n + 5) {
        display: none;
    }
}

@media (max-width: 1200px) {
    .pure-table.pure-table th:nth-child(5),
    .pure-table.pure-table td:nth-child(5) {
        display: none;
    }

    .pure-table.pure-table th:nth-child(6),
    .pure-table.pure-table td:nth-child(6) {
        display: none;
    }

    .pure-table.pure-table th:nth-child(7),
    .pure-table.pure-table td:nth-child(7) {
        display: none;
    }

    .pure-table.pure-table th:nth-child(8),
    .pure-table.pure-table td:nth-child(8) {
        display: none;
    }

    .pure-table.pure-table th:last-child,
    .pure-table.pure-table td:last-child {
        display: none;
    }
}

@media (max-width: 1500px) {
    .pure-table.pure-table th:nth-child(6),
    .pure-table.pure-table td:nth-child(6) {
        display: none;
    }

    .pure-table.pure-table th:last-child,
    .pure-table.pure-table td:last-child {
        display: none;
    }
}

.toasts.toasts.toasts.toasts.toasts.toasts {
    list-style: none;
    position: fixed;
    top: 60px;
    right: 0;
    padding: 0;
    margin: 0;
    z-index: 9999;
}

.toasts.toasts.toasts.toasts.toasts.toasts > .toast.toast {
    position: relative;
    margin: 10px 0;
    min-width: 250px;
    max-width: 250px;
    position: relative;
    animation: animate-in 350ms forwards;
    color: #fff;
    font-weight: 400;
    font-size: 13px;
}

.toasts.toasts.toasts.toasts.toasts.toasts > .toast > .content {
    padding: 10px;
    display: block;
    font-weight: 500;
}

.toasts.toasts.toasts.toasts.toasts.toasts > .toast > .progress {
    position: absolute;
    bottom: 0;
    background-color: rgb(0, 0, 0, 0.08);
    height: 3px;
    width: 100%;
    animation-name: shrink;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.toasts.toasts.toasts.toasts.toasts.toasts > .toast:before,
.toasts.toasts.toasts.toasts.toasts.toasts > .toast:after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 50%;
    bottom: 0;
    left: 10px;
    right: 10px;
    border-radius: 100px / 10px;
}

.toasts.toasts.toasts.toasts.toasts.toasts > .toast:after {
    right: 10px;
    left: auto;
    transform: skew(8deg) rotate(3deg);
}

@keyframes animate-in {
    0% {
        width: 0;
        opacity: 0;
        transform: scale(1.15) translateY(20px);
    }
    100% {
        width: 250px;
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes shrink {
    0% {
        width: 250px;
    }
    100% {
        width: 0;
    }
}

.output strong {
    font-family: 'Merri', sans-serif;
    background: #183;
    color: #fff;
    display: inline-block;
    padding: 1px 12px;
    margin: 0 1px;
    border-radius: 2px;
}

.output b {
    font-weight: bold;
}

.output span {
    font-family: 'Merri', sans-serif;
    background: #d3cccc;
    color: #444;
    display: inline-block;
    padding: 1px 4px;
    border-radius: 5px;
    margin: 0 1px;
    width: 20px;
    text-align: center;
    font-weight: bold;
}

.result strong {
    font-family: 'Merri', sans-serif;
    background: #a51;
    color: #fff;
    display: inline-block;
    padding: 3px 16px;
    margin: 0 2px 2px;
    border-radius: 3px;
    font-size: 22px;
}

.result b {
    font-weight: bold;
}

.result span {
    font-family: 'Merri', sans-serif;
    background: #d3cccc;
    color: #444;
    display: inline-block;
    padding: 3px 4px;
    border-radius: 7px;
    margin: 0 2px 2px;
    width: 36px;
    text-align: center;
    font-weight: 400;
    font-size: 22px;
}

.listGroupTitle.listGroupTitle.listGroupTitle {
    color: #a51;
    font-size: 16px;
    font-family: 'Merri';
}

.listItem .item.item,
.listItem.listItem.listItem {
    font-family: 'Merri';
    font-size: 14px;
    height: var(--height, 32px);
    line-height: var(--height, 32px);
    padding: var(--itemPadding, 0 14px);
}

.listItem .item.item.hover,
.listItem .item.item:hover {
    background: #ca9;
}

.ability p {
    margin-top: 8px;
    margin-bottom: 0;
}

.ability.folded p {
    margin-top: 0;
    margin-bottom: 0;
}

.output-markdown.output-markdown.output {
    font-size: 14px;
    color: #444;
}

.output-markdown.output-markdown.output p {
    padding: 0;
    margin-top: 6px;
    margin-bottom: 6px;
}

.output-markdown.output-markdown.output h1 {
    color: #830;
    font-size: 20px;
    margin: 10px 0 5px;
    padding: 0;
    font-family: 'Merri', serif;
    text-transform: uppercase;
    font-weight: bold;
}

.output-markdown.output-markdown.output h2 {
    color: #830;
    font-size: 18px;
    margin: 10px 0 5px;
    padding: 0;
    font-family: 'Merri', serif;
    text-transform: uppercase;
    font-weight: bold;
}

.output-markdown.output-markdown.output h3 {
    color: #830;
    font-size: 15px;
    margin: 8px 0 5px;
    padding: 0;
    font-family: 'Merri', serif;
    text-transform: uppercase;
    font-weight: bold;
}

.output-markdown.output-markdown.output h4 {
    font-size: 15px;
    margin: 8px 0 5px;
    padding: 0;
    color: #a51;
    font-family: 'Merri', serif;
    font-weight: bold;
}

.output-markdown.output-markdown.output h5 {
    font-size: 15px;
    margin: 8px 0 4px;
    padding: 0;
    color: #222;
    font-weight: bold;
}

.output-markdown.output-markdown.output h6 {
    font-size: 14px;
    margin: 8px 0 4px;
    padding: 0;
    color: #222;
    font-weight: bold;
}

.output-markdown.output-markdown.output strong {
    color: currentColor;
    font-weight: bold;
    background: transparent;
    font-family: 'Merri';
    padding: 0;
}

.output-markdown.output-markdown.output img {
    width: auto;
    max-width: 100%;
}

.output-markdown.output-markdown.output pre,
.output-markdown.output-markdown.output code {
    color: #a51;
    background: #ffffff99;
    padding: 0 4px;
    border-radius: 5px;
}

.output-markdown.output-markdown.output table {
    width: 100%;
}

.output-markdown.output-markdown.output table td,
.output-markdown.output-markdown.output table th {
    text-align: left;
}

.output-markdown.output-markdown.output table th {
    border-bottom: 2px dotted #a51;
}

.output-markdown.output-markdown.output table td {
    border-bottom: 1px solid #33333333;
}

.output-markdown.output-markdown.output table tr:last-child td {
    border-bottom: none;
}

.interactive-toggle.interactive-toggle::after {
    content: '';
    background: url(../images/deco_arrow.png) no-repeat;
    width: 34px;
    height: 15px;
    transform: rotate(0deg);
    display: inline-block;
    margin-left: 9px;
    transition: all 200ms ease-in-out;
    font-family: 'Merri';
    font-size: 18px;
    font-weight: bold;
    color: #80300077;
    transform-origin: 17px 7px;
    position: relative;
    top: 1px;
}

.interactive-toggle.interactive-toggle.visible::after {
    transform: rotate(180deg);
    margin-left: 3px;
}

.interactive-toggle.interactive-toggle:hover {
    color: #a51;
}

table.info,
table.equipment {
    width: 100%;
}

table.info tr th,
table.equipment tr th,
table.info tr td,
table.equipment tr td {
    font-family: 'Merri';
    font-size: 15px;
    padding: 2px 5px;
    cursor: default;
    vertical-align: top;
    white-space: nowrap;
}

table.equipment tr td:nth-child(3) {
    white-space: normal;
}

table.info thead th,
table.equipment thead th,
table.info tbody th,
table.equipment tbody th {
    text-align: left;
}

table.info thead th,
table.equipment thead th {
    color: #333;
    border-top: none;
    border-bottom: 1px solid currentColor;
    padding-top: 3px;
}

table.info tbody th,
table.equipment tbody th {
    color: #a51;
    border-top: none;
    border-bottom: 1px dotted #a51;
    padding-top: 5px;
}

table.info tbody td,
table.equipment tbody td {
    font-size: 14px;
}

table.info tbody tr:hover td,
table.equipment tbody tr:hover td {
    color: #a51;
}

table.info.info thead th {
    color: #333;
    border-top: none;
    border-bottom: 1px solid currentColor;
    padding-top: 3px;
}

.deco {
    text-align: center;
    margin: 35px 0 15px;
}

.deco img {
    display: inline-block;
    width: auto;
    max-width: 100%;
}

.copyme::before {
    content: 'COPY';
    color: rgb(0, 70, 90);
    font-weight: bold;
    font-family: 'Merri';
    font-size: 12px;
    line-height: 1.4;
}

.copyme:hover::before {
    color: rgb(20, 120, 150);
}

.listme::before {
    content: 'LIST';
    color: rgb(0, 70, 90);
    font-weight: bold;
    font-family: 'Merri';
    font-size: 12px;
    line-height: 1.4;
}

.listme:hover::before {
    color: rgb(20, 120, 150);
}

.filter.active {
    color: #a51;
}

.filterbuttons {
    padding-top: 0;
    text-align: center;
}

.filterbuttons + .filterbuttons {
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: center;
}

.filterbuttons button {
    border: 1px solid #99777799;
    background: #99777722;
    padding: 4px 9px 3px;
    border-radius: 5px;
    font-size: 13px;
    outline: none;
    color: #333333cc;
}

.filterbuttons button.active {
    border: 1px solid #aa5511ff;
    background: #aa551133;
    color: #931;
}

.filterbuttons button:hover {
    box-shadow: 0 1px 2px #aa551133;
    color: #222;
}

.svelte-lightbox-body.svelte-lightbox-body.svelte-lightbox-body.svelte-lightbox-body
    img {
    max-width: 1950px;
}

.svelte-lightbox-header.svelte-lightbox-header.svelte-lightbox-header button {
    outline: none;
}

.svelte-lightbox-footer.svelte-lightbox-footer.svelte-lightbox-footer h5 {
    color: #b73;
    font-size: 16px;
}

div.svelte-lightbox-header.svelte-lightbox-header.svelte-lightbox-header {
    height: 1.6rem;
}

.cover.cover.cover.cover.cover {
    background-color: rgba(20, 20, 20, 0.95);
}

.selectContainer {
    z-index: 111;
}

.scrollto-btn {
    border: 1px solid #830;
    color: #830;
    width: 200px;
    text-align: center;
    padding: 5px 20px;
    margin: 10px auto;
    cursor: pointer;
    display: block;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
}

.scrollto-btn:hover {
    border-color: #610;
    color: #610;
}

#map .leaflet-control-layers label {
    display: block;
    font-family: 'Merri';
    font-size: 14px;
}

#map .leaflet-control-layers label {
    display: block;
    font-family: 'Merri';
    font-size: 14px;
}

#map .leaflet-right .leaflet-control-layers {
    margin-right: 10px;
    padding: 8px;
}

#map .leaflet-right .leaflet-control-layers-expanded {
    margin-right: 10px;
    padding: 0 8px 8px 30px;
}

#map .leaflet-control-layers-selector {
    margin-top: 0;
}

input[type='checkbox'] {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

input[type='checkbox'] + label,
input[type='checkbox'] + span {
    position: relative;
    cursor: pointer;
}

input[type='checkbox'] + label::before,
input[type='checkbox'] + span::before {
    content: '';
    position: absolute;
    left: -1.55em;
    top: 0.06em;
    width: 0.9em;
    height: 0.9em;
    border: 1px solid #830;
    display: inline-block;
}

input[type='checkbox'] + label::after,
input[type='checkbox'] + span::after {
    content: '';
}

input[type='checkbox']:checked + label::before,
input[type='checkbox']:checked + span::before {
    border-color: #061;
}

input[type='checkbox']:checked + label::after,
input[type='checkbox']:checked + span::after {
    background-color: #061;
    position: absolute;
    left: -1.325em;
    top: 0.26em;
    width: 0.6em;
    height: 0.6em;
    display: inline-block;
}

.labelshigh {
    z-index: 99 !important;
}
