@charset "utf-8";

@import url("themes.css");
@import url("icons.css");
@import url("donate.css");

@font-face {
    font-family: 'PowerPuff';
    src: url('/images/themes/1.0/powerpuff.ttf') format('truetype');
}

body {
    margin: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #000000;
    background: url(/images/themes/1.0/ground.gif) no-repeat fixed bottom left;
    background-color: #a5bde7;
    font-size: 11px;
}

img {
    box-sizing: border-box;
    max-width: 100%;
    vertical-align: middle;
    height: auto;
}

x-image {
    display: block;
}

video {
    box-sizing: border-box;
    max-width: 100%;
    height: auto;
}

a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}

a:hover {
    color: #FFCC33;
}

.caption {
    text-align: center;
}

/* Well this is hideous and needs killing */
.post-list {
    padding: 0;
}

.site-header {
    padding: 10px;
    margin: 30px auto;
    margin-bottom: -12px;
    border-bottom: 0;
    padding-bottom: 12px;
    width: 670px;
}

.site-header .wrapper::before {
    content: " ";
    display: block;
    height: 59px;
    width: 100%;
    text-align: center;
    background: url(/images/themes/1.0/title.gif) no-repeat;
    background-position: center right;
    position: absolute;
    top: 0;
    right: 0;
}

.page-content {
    padding: 10px;
    margin: 30px auto;
    margin-bottom: 10px;
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
    margin-left: 200px;
    max-width: 800px;
}

.page-content .wrapper {
    text-align: left;
    padding: 20px;
    padding-top: 0;
    padding-right: 25px;
    width: 580px;
}

.sidebar {
    display: none;
}

.site-footer {
    text-align: center;
}

.post-content {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 11px;
}

.post-content img,
.post-content video {
    border: 1px solid #000;
}

h1 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}

h1 a {
    text-decoration: none;
}

hr {
    border: 0;
    border-bottom: 1px solid #ddd;
}

:root {
    --spacing-unit: 20px;
    --placeholder-background-color: #eee;
    --media-border-radius: 0;
}

.photo-container {
    margin-bottom: calc(var(--spacing-unit) / 2);
    background-color: var(--placeholder-background-color);
    border-radius: var(--media-border-radius);
    text-align: center;
    line-height: 0;
    overflow: hidden;
}

img.transition {
    opacity: 1;
    transition: opacity 0.7s;
}

img.transition.loading {
    opacity: 0;
    transition: opacity 0.7s;
}

ul.photos {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--spacing-unit) / 4);
    margin-right: calc(-1 * var(--spacing-unit) / 4);
    margin-left: calc(-1 * var(--spacing-unit) / 4);
    margin-bottom: 0;
}

ul.photos > li:before {
    display: none;
}

ul.photos > li {
    padding: 0;
    text-indent: 0;
    text-align: center;
    box-sizing: border-box;
    border: calc(var(--spacing-unit) / 4) solid transparent;
    display: block;
    min-width: 280px;
}

.software-image img {
    border: 0;
}

.grid {
    list-style: none;
    display: grid;
    grid-gap: 1em;
    margin: 0 0 0 0;
    margin-bottom: var(--spacing-unit);
    padding: 0;
}

.grid.prefer-2-columns {
    grid-template-columns: 1fr 1fr 1fr;
}

.grid.prefer-3-columns {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid.prefer-4-columns {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.aspect {
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 75%;
}

.aspect.square {
    padding-bottom: 100%;
}

.aspect.ratio-4-3 {
    padding-bottom: 75%;
}

.aspect.ratio-16-9 {
    padding-bottom: 56.25%;
}

.aspect.ratio-3-2 {
    padding-bottom: 66.66%;
}

.aspect img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.site-header ul::before {
    content: " ";
    display: block;
    background: url(/images/themes/1.0/stripes.gif);
    height: 59px;
    width: 100vw;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}

/* Make this a nav element. */
.site-header ul {
    list-style: none;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    width: 200px;
    padding: 0;
    margin: 0;
    font-family: PowerPuff;
    font-size: 32px;
    color: white;
    -webkit-text-stroke: 2px black;
    line-height: 1.4em;
    padding-top: 59px;
    background: url(/images/themes/1.0/stars.gif) no-repeat;
}

.site-header a {
    text-decoration: none;
    color: #fff;
}

.site-header a:hover {
    color: #fecb31;
}

/* Software */

.software {
    text-align: center;
}

/* Icons */

.icon {
    width: 96px;
    height: 96px;
}

.icon img {
    border: 0;
}

/* Grid */

/* Photos */

ul.photos {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    margin: -4px;
}

ul.photos > li:before {
    display: none;
}

ul.photos > li {
    padding: 0;
    text-indent: 0;
    text-align: center;
    box-sizing: border-box;
    border: 4px solid transparent;
    display: block;
    min-width: 160px;
}

ul.photos > li a {
    display: block;
    border: 0;
    position: relative;
    background-color: #eee;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

ul.photos > li img,
ul.photos > li video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}


/* Tags */

.header-tags,
.tags > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.header-tags > li,
.tags > ul li {
    display: inline-block;
}

.header-tags > li::after,
.tags > ul li::after {
    content: ",";
}

.header-tags > li:last-child::after,
.tags > ul li:last-child::after {
    content: "";
}

/* Map */

.map {
    width: 100%;
    height: 450px;
    /* margin-bottom: 20px; */
    border: 1px solid #000;
}

.border {
    border: 1px solid #000;
}

#places-map {
    width: 100%;
    height: 100%;
    width: 100%;
    height: 400px;
    border: 1px solid #000;
}

x-map, .location {
    display: block;
    width: 100%;
    height: 200px;
    border: 1px solid #000;
}

x-map.large {
    height: 400px;
}

x-chart {
    max-height: 400px;
}

.actions {
    list-style: none;
    padding: 0;
}

.actions li {
    display: inline-block;
}

code, .hljs {
    background-color: #7b9cd3;
}

.hljs {
    border: 1px solid #000;
}
