/*
Theme Name: PDB
Parent Theme: Ignite
Parent Theme URI: https://www.competethemes.com/ignite/
Author: Lucas Chasteen
Author URI: https://lucasc.me
Description: PDB is a hybrid blog and download catalog theme based on Ignite by Compete Themes rebuilt from the ground up just for PalmDB.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: grey, orange, silver, white, light, two-columns, left-sidebar, responsive-layout, custom-menu, featured-images, full-width-template, 
Text Domain: pdb

Ignite WordPress Theme, Copyright 2015 Compete Themes
PDB HTMLy Theme, Copyright 2020 Lucas Chasteen
*/

/*-------------------------
    Global
--------------------------*/

:root {
    --black: #000;
    --grey-dark: #33353A;
    --grey-medium: #75757D; 
	--grey-light: #EEE;
    --grey-lighter: #F0F0F0;
    --white: #FFF;
    --transparent: rgba(255, 255, 255, 0.88);
    --green: #36E636;
    --green-dark: #33BB33;
    --red: #E63636;
    --red-dark: #D53535;
    --primary: #F60;
    --primary-dark: #E50;
    --shadow-medium: 0 3px 6px 0 rgba(72, 72, 96, 0.08);
    --shadow-light: 0 2px 1px 0 rgba(0, 0, 0, 0.03);
    --shadow-heavy: var(--shadow-light), var(--shadow-medium);
    --trans: 0.2s ease-out;
    --navbar-height: 72px;
}

*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.88em;
    color: #75757D;
    color: var(--grey-medium);
    background-color: #EEE;
    background-color: var(--grey-light);
    padding: 0;
    margin: 0;
}

section, footer, header, aside, nav {
    display: block;
}

img {
    border: 0 none;
    height: auto;
    max-width: 100%;
    outline: 0 none;
}

.fa {
    display: inline;
    margin-right: 0.1em;
}


/*-------------------------
    Dark theme (Pilot Mode)
--------------------------*/

body.theme-dark {
    --black: #394236;
    --grey-dark: #868d7a;
    --grey-medium: #868d7a;
    --grey-light: #21231b;
    --grey-lighter: #868d7a;
    --white: #0C0C0A;
    --transparent: rgba(0, 0, 0, 0.88);
    --green: #36E636;
    --green-dark: #33BB33;
    --red: #AD2C2C;
    --red-dark: #862525;
    --primary: #868d7a;
    --primary-dark: #868d7a;
}

body.theme-dark a:hover {
    color: var(--primary-dark);
}

body.theme-dark img, body.theme-dark #slider .bgLayer, body.theme-dark #slider .sliderInner > div {
    filter: sepia(100%) hue-rotate(25deg) brightness(0.88);
    image-rendering: pixelated;
}

body.theme-dark #toolbar .toolbar-nav li a {
    background-color: transparent;
}

body.theme-dark .site-title img {
    filter: invert(1) sepia(100%) hue-rotate(25deg) brightness(0.88);
}

body.theme-dark #footer-wrapper {
    background-color: var(--white);
}

@media all and (max-width: 960px) {
    body.theme-dark .menu-primary {
        background-color: var(--black);
    }
}

@media (prefers-color-scheme: dark) {
    body.theme-dark {
        --black: #001306;
        --grey-dark: #6fa195;
        --grey-medium: #6fa195;
        --grey-light: #001306;
        --grey-lighter: #6fa195;
        --white: #176756;
        --transparent: rgba(23, 103, 86, 0.88);
        --green: #36E636;
        --green-dark: #35D535;
        --red: #E63636;
        --red-dark: #D53535;
        --primary: #6fa195;
        --primary-dark: #6fa195;
    }

    body.theme-dark img, body.theme-dark #slider .bgLayer, body.theme-dark #slider .sliderInner > div {
        filter: sepia(100%) hue-rotate(300deg) invert(100%);
        image-rendering: pixelated;
    }

    body.theme-dark #toolbar .toolbar-title .toolbar-icon {
        filter: sepia(100%) hue-rotate(115deg);
    }

    body.theme-dark .site-title img {
        filter: invert(1) sepia(100%) hue-rotate(115deg);
    }
}


/*-------------------------
    Headings
--------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-family: "Bai Jamjuree", sans-serif;
    color: #33353A;
    color: var(--grey-dark);
    line-height: 1.5em;
    margin: 0.5em 0;
    letter-spacing: 0.032em;
}

h1 {
    font-size: 32px;
    font-weight: 700;
}

h2 {
    font-size: 28px;
    font-weight: 600;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-family: "Inter", sans-serif;
    font-size: 1em;
    font-weight: 700;
}


/*-------------------------
    Layout
--------------------------*/

.overflow-container {
    overflow: hidden;
    height: auto;
    min-height: 100%;
}

#outer-wrapper {
    margin: 0;
    padding: 0;
    float: left;
    width: 100%;
    height: 100%;
    margin-top: 128px;
    margin-top: calc(72px * 1.75);
    margin-top: calc(var(--navbar-height) * 1.75);
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
}

#outer-wrapper > .container {
    flex: 1 0 auto;
}

.container {
    padding: 0 24px;
    width: 75%;
    max-width: 1400px;
    margin: 0 auto;
}

#content-wrapper {
    float: right;
    width: 70%;
}

#content-wrapper > .container {
    float: right;
    margin: 0;
    padding-right: 0;
    width: 90%;
}

/* screen reader styling */
.screen-reader-text {
    position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
}

/* body styles */
body.index #content, body.in-category #content, body.in-tag #content, body.in-search #content {
    display: flex;
    flex-wrap: wrap;
}

body.index #content > .post, body.in-category #content > .post, body.in-tag #content > .post, body.in-search #content > .post {
    width: 48%;
    margin: 0% 1% 2%;
    padding: 24px 32px;
    float: left;
    flex-grow: 1;
    align-content: flex-start;
}

body.fullwidth #content-wrapper, body.fullwidth #content-wrapper > .container {
    float: none;
    width: 100%;
    max-width: 960px;
    padding: 0;
    margin: auto;
}

body.fullwidth #breadcrumb-wrapper {
    text-align: center;
}

body.fullwidth .nav-tabs {
    margin-left: 32px;
    margin-top: -32px;
    margin-bottom: 48px;
}

body.fullwidth a.tab {
    border-radius: 8px;
    border-bottom: none;
}

body.fullwidth .post {
    padding-top: 0;
    background-color: transparent;
    box-shadow: none;
}

body.fullwidth .post .entry-title {
    margin-top: 0;
}

body.fullwidth #sidebar-wrapper {
    display: none;
}

body.fullwidth .breadcrumbs {
    margin: 0 0 48px;
}


/*-------------------------
    Links
--------------------------*/

a, a:visited {
    outline: none;
    color: #F60;
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-out;
    transition: all var(--trans);
}

a:hover {
    color: #000;
    color: var(--black);
    border-bottom: 2px solid #000;
    border-bottom: 2px solid var(--black);
}


/*-------------------------
    Text elements
--------------------------*/

p {
    margin: 0.75em 0;
}

ul, ol {
    padding-left: 1em;
}

ul li, ol li {
    margin: 0.5em 0;
}

/* Markup styles */
blockquote {
    position: relative;
    margin: 2em 0 2em 2em;
    padding: 1em 0 1em 2em;
    border: 1px dashed #75757D;
    border: 1px dashed var(--grey-medium);
    border-left: none;
    border-right: none;
    font-weight: 300;
}

blockquote::before {
    position: absolute;
    left: 0;
    content: "\f10d";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

hr {
    border-style: dashed;
    border-width: 1px;
    border-color: #EEE;
    border-color: var(--grey-light);
}

pre {
    margin: 1em 0;
    overflow: auto;
    display: block;
    line-height: 1.5em;
}

pre, code {
    color: #F60;
    color: var(--primary);
    border: 1px solid #F60;
    border: 1px solid var(--primary);
    font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
    border-radius: 0.5em;
    padding: 0.15em 0.5em;
    overflow-wrap: break-word;
}

pre code {
    border: none;
    padding: 0;
}

/* Form styles */
input {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 14px;
    outline: none !important;
    transition: all 0.2s ease-out;
    transition: all var(--trans);
}

.input-container {
    max-width: 97.5%;
    width: calc(100% - 16px);
}

.input-container p {
    margin: 1em 0 0.5em;
}

select, select option {
    font-size: 14px;
}

select option {
    padding: 0.25em;
}

input[type=text], input[type=password], input[type=email], input[type=url], input[type=checkbox], input[type=radio], input[type=date], input[type=time], select, textarea, .input-container {
    font-family: "Inter", sans-serif;
    color: #33353A;
    color: var(--grey-dark);
    padding: 6px 8px;
    background-color: #FFF;
    background-color: var(--white);
    border: 1px solid #F0F0F0;
    border: 1px solid var(--grey-lighter);
    box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16);
    box-shadow: var(--shadow-heavy);
    border-radius: 0.25em;
}

input[type=text]:hover, input[type=password]:hover, input[type=email]:hover, input[type=url]:hover, input[type=checkbox]:hover, input[type=radio]:hover, input[type=date]:hover, input[type=time]:hover, select:hover, textarea:hover {
    border: 1px solid #000;
    border: 1px solid var(--black);
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=url]:focus, input[type=checkbox]:focus, input[type=radio]:focus, input[type=date]:focus, input[type=time]:focus, select:focus, textarea:focus {
    border: 1px solid #F60;
    border: 1px solid var(--primary);
    outline: none;
}

input[type=search] {
    color: #33353A;
    color: var(--grey-dark);
}

input[type=search]::placeholder, input[type=text]::placeholder, input[type=password]::placeholder, input[type=email]::placeholder, input[type=url]::placeholder, input[type=checkbox]::placeholder, input[type=radio]::placeholder, input[type=date]::placeholder, input[type=time]::placeholder, select::placeholder, textarea::placeholder {
    color: #75757D;
    color: var(--grey-medium);
}

input[name=title] {
    font-family: "Bai Jamjuree", sans-serif;
    font-weight: 700;
    color: #33353A;
    color: var(--grey-dark);
    letter-spacing: 0.032em;
    font-size: 28px;
}

input[name=url], input[name=image], input[name*=upload_version], input[name*=upload_path] {
    font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
    font-size: 16px;
}

input[type=date], input[type=time] {
    width: 97.5%;
    width: calc(100% - 16px);
    max-width: 12em;
}

input[type=submit] {
    padding: 4px 6px;
    font-size: 14px;
    cursor: pointer;
}

input[readonly=readonly] {
    color: #75757D;
    color: var(--grey-medium);
}

input.text {
    width: 97.5%;
    width: calc(100% - 16px);
}

input.error, textarea.error {
    border: 1px solid #E63636;
    border: 1px solid var(--red);
}

textarea {
    width: 97.5%;
    width: calc(100% - 16px);
    overflow: auto;
    font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
    font-size: 16px;
    line-height: 1.5em;
}

.error-message {
    color: #FFF;
    color: var(--white);
    background-color: #D53535;
    background-color: var(--red-dark);
    padding: 1em 2em;
    margin-bottom: 2em;
    border-radius: 1em;
}

.error-message h1, .error-message h2, .error-message h3, .error-message h4, .error-message h5, .error-message h6, .error-message a {
    color: #FFF;
    color: var(--white);
}

.error-message a:not(:hover) {
    border-bottom: 2px solid #FFF;
    border-bottom: 2px solid var(--white);
}

span.required {
    color: red;
}

.help {
    color: #FFF;
    color: var(--white);
    font-size: 12px;
    font-style: italic;
    background-color: #000;
    background-color: var(--black);
    padding: 0.5em 1em 0.5em 0.5em;
    display: inline-block;
    position: relative;
    margin: 1em 0;
    box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16);
    box-shadow: var(--shadow-heavy);
    border-radius: 0.25em;
    line-height: 1.5em;
    white-space: normal;
}

.help::before {    
    content: "?";
    color: #000;
    color: var(--black);
    background-color: #FFF;
    background-color: var(--white);
    border-radius: 2em;
    display: inline-block;
    width: 1.5em;
    height: auto;
    text-align: center;
    font-family: "Bai Jamjuree", sans-serif;
    font-style: normal;
    font-weight: 700;
    margin-right: 0.5em;
    float: left;
}

.help::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 0.5em solid transparent;
    border-left: 0.5em solid transparent;
    border-right: 0.5em solid transparent;
    border-bottom: 0.5em solid #000;
    border-bottom: 0.5em solid var(--black);
    position: absolute;
    top: -1em;
    left: 2em;
}

.help.center::after {
    left: 50%;
}

.help.bottom::after {
    top: 100%;
    border-top: 0.5em solid #000;
    border-top: 0.5em solid var(--black);
    border-bottom: 0.5em solid transparent !important;
}

.help ul, .help ol {
    margin: 0;
    padding-left: 3.5em;
}

.help ul li:first-of-type, .help ol li:first-of-type {
    margin-top: 0;
}

.help ul li:last-of-type, .help ol li:last-of-type {
    margin-bottom: 0;
}

.help.error {
    background-color: #D53535;
    background-color: var(--red-dark);
}

.help.error::before {
    color: #D53535;
    color: var(--red-dark);
}

.help.error::after {
    border-bottom: 0.5em solid #D53535;
    border-bottom: 0.5em solid var(--red-dark);
}

.help.error.bottom::after {
    border-top: 0.5em solid #D53535;
    border-top: 0.5em solid var(--red-dark);
}

.category {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    display: block;
    font-size: 13px;
    margin: 20px 0;
    padding: 0 1em;
}

.tags a:after {
    content:", ";
}

.tags a:last-child:after {
    content:"";
}

.button, a.button, input[type=submit] {
    border: 1px solid #F60;
    border: 1px solid var(--primary);
    border-radius: 0.75em;
    background-color: #F60;
    background-color: var(--primary);
    color: #FFF !important;
    color: var(--white) !important;
    padding: 0.5em 1.5em;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16), inset -0.05em -1.05em 1.5em #E50;
    box-shadow: var(--shadow-medium), inset -0.05em -1.05em 1.5em var(--primary-dark);
    transition: all 0.2s ease-out;
    transition: all var(--trans);
}

.button:hover, a.button:hover, input[type=submit]:hover {
    cursor: pointer;
    text-decoration: none;
    color: #F60 !important;
    color: var(--primary) !important;
    background-color: transparent;
    box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16);
    box-shadow: var(--shadow-medium);
}


/*-------------------------
	Tables
--------------------------*/

table {
    border: none;
    width: 100%;
    margin: 1em 0;
    word-wrap: break-word;
    border-collapse: collapse;
    border-bottom: 1px solid #EEE;
    border-bottom: 1px solid var(--grey-light);
}

.entry-content table {
    border-bottom: none;
}

table h2.title {
    margin: 5px 0;
}

th, td {
    padding: 5px;
    border: none;
}

.entry-content th, .entry-content td {
    padding: 5px 10px;
}

th.title {
    margin: 5px 0;
    font-size: 16px;
    font-weight: normal;
}

td.title {
    font-weight: normal;
}

th {
    background-color: #75757D;
    background-color: var(--grey-medium);
    color: #FFF;
    color: var(--white);
    font-size: 16px;
}

.entry-content th {
    text-align: left;
}

td {
    border: none;
}

tr {
    line-height: 2.5em;
    background-color: #FFF;
    background-color: var(--white);
}

.entry-content tr {
    border-bottom: 1px solid #EEE;
    border-bottom: 1px solid var(--grey-light);
}

table th form, table td form {
    display: inline-block;
}

table.post-list, table.user-list, table.category-list, table.backup-list {
    font-size: 14px;
}

table .tag {
    display: inline-block;
    color: #FFF;
    color: var(--white);
    background-color: #F60;
    background-color: var(--primary);
    border: 1px solid #FFF;
    border: 1px solid var(--white);
    box-shadow: 0 0 0 2px #F60;
    box-shadow: 0 0 0 2px var(--primary);
    border-radius: 2em;
    min-width: 2.25em;
    height: 2.25em;
    line-height: 1.88em;
    text-align: center;
    font-size: 0.88em;
    margin: 0.5em;
    padding: 2px;
}

table .tag input {
    display: none;
}

table .tag:hover {
    background-color: #000;
    background-color: var(--black);
    box-shadow: 0 0 0 2px #000;
    box-shadow: 0 0 0 2px var(--black);
}

.profile .post-list a {
    font-weight: 500;
}

.profile .post-list tr {
    line-height: 2.5em;
    background-color: #FFF;
    background-color: var(--white);
}

.profile .post-list tr:nth-child(odd) {
    background-color: #EEE;
    background-color: var(--grey-light);
}


/*-------------------------
    Menus
--------------------------*/

#header-wrapper {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 998;
    background-color: rgba(255, 255, 255, 0.88);
    background-color: var(--transparent);
    backdrop-filter: blur(5px);
    box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16);
    box-shadow: var(--shadow-medium);
}

.site-header {
    min-height: 72px;
    min-height: var(--navbar-height);
    position: relative;
    font-family: "Bai Jamjuree", sans-serif;
}

.site-header:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.title-info {
    float: left;
    line-height: 72px;
    line-height: var(--navbar-height);
    display: block;
    z-index: 1;
    margin-right: 0.5em;
}

.site-title {
    margin: 0;
}

.site-title a {
    display: block;
    text-decoration: none;
    color: #33353A;
    color: var(--grey-dark);
    border-bottom: none !important;
    height: 72px;
    height: var(--navbar-height);
    line-height: 72px;
    line-height: var(--navbar-height);
}

.site-title a:link, .site-title a:visited {
    color: #33353A;
    color: var(--grey-dark);
}

.site-title a:hover, .site-title a:active, .site-title a:focus {
    color: #F60;
    color: var(--primary);
}

.site-title img {
    width: auto;
    height: 100%;
    padding: 14px;
    padding: calc(72px * 0.2);
    padding: calc(var(--navbar-height) * 0.2);
}

.site-title span {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.toggle-navigation {
    color: #33353A;
    color: var(--grey-dark);
    font-size: 24px;
    line-height: 72px;
    line-height: var(--navbar-height);
    position: absolute;
    top: auto;
    left: 0;
    padding: 0 16px;
    margin: 0;
    z-index: 1;
    background-color: transparent;
    border: none;
    transition: color 0.2s ease-out;
    transition: color var(--trans);
    display: none;
    outline: none !important;
}

.toggle-navigation:hover {
    color: #F60;
    color: var(--primary);
    cursor: pointer;
}

.menu-primary {
    position: static;
    max-width: none;
    min-height: 1px;
    width: auto;
    padding: 0;
    text-align: left;
    background-color: transparent;
    transform: none;
}

.menu-primary p {
    display: none;
}

.menu-primary-items {
    list-style: none;
    float: left;
}
    
.menu-primary-items a {
    color: #75757D;
    color: var(--grey-medium);
    margin: 0;
    padding: 0 1em;
    line-height: 72px;
    line-height: var(--navbar-height);
    height: 100%;
    display: block;
    letter-spacing: 0.1em;
    font-size: 15px;
    border-bottom: none !important;
    transition: background-color 0.2s ease-out;
    transition: background-color var(--trans);
}
    
.menu-primary-items a:hover, .menu-primary-items li:hover > a {
    color: #FFF;
    color: var(--white);
    background-color: #F60;
    background-color: var(--primary);
}

.menu-primary-items a i {
    font-size: 0.75em;
}

.menu-primary-items li {
    float: left;
    position: relative;
    margin: 0;
}

.menu-primary-items ul {
    list-style: none;
    position: absolute;
    top: -9999px;
    opacity: 0;
    margin: 0;
    padding: 0;
    z-index: 997;
    min-width: 176px;
    backface-visibility: hidden;
    background-color: #FFF;
    background-color: var(--white);
    border-top: 4px solid #F60;
    border-top: 4px solid var(--primary);
    /* remove slight wiggle caused by opacity change */
    transition: opacity 0.2s ease-out;
    transition: opacity var(--trans);
    box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16);
    box-shadow: var(--shadow-heavy);
}

.menu-primary-items > li > ul {
    margin-top: -4px;
}
    
.menu-primary-items ul:hover, .menu-primary-items a:hover + ul, .menu-primary-items a:active + ul, .menu-primary-items a:focus + ul {
    top: 72px;
    top: var(--navbar-height);
    opacity: 1;
}

.menu-primary-items ul ul {
    border-top: none;
    border-left: 4px solid #F60;
    border-left: 4px solid var(--primary);
    margin-left: -4px;
    max-height: 50vh;
    overflow-y: auto;
}

.menu-primary-items ul ul:hover {
    top: 0;
    left: 100%;
}

.menu-primary-items ul li {
    min-width: 100%;
}

.menu-primary-items ul a {
    margin-top: 0;
    font-size: 13px;
    line-height: 48px;
    line-height: calc(72px * 0.75);
    line-height: calc(var(--navbar-height) * 0.75);
    white-space: nowrap;
}

.menu-primary-items ul a:hover {
    color: #FFF;
    color: var(--white);
}

.menu-primary-items ul a > i {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.menu-primary-items ul a:hover + ul, .menu-primary-items ul a:active + ul, .menu-primary-items ul a:focus + ul {
    top: 0;
    left: 100%;
}

.social-media-icons {
    margin-top: 3em;
    float: right;
    margin: 0 !important;
}

.social-media-icons a {
    border-bottom: none !important;
}

.social-media-icons li {
    display: inline-block;
    list-style: none;
    display: inline-block;
    margin: 0 10px;
    font-size: 20px;
}

.site-header .social-media-icons {
    display: block;
    visibility: hidden;
    margin: 0;
    float: right;
    position: absolute;
    height: 72px;
    height: var(--navbar-height);
    line-height: 72px;
    line-height: var(--navbar-height);
}

.site-header .social-media-icons li a {
    color: #33353A;
    color: var(--grey-dark);
}

.site-header .social-media-icons li a:hover {
    color: #F60;
    color: var(--primary);
}

.site-header .social-media-icons li:last-child a {
    margin-right: 0;
}

.site-header .social-media-icons.visible {
    position: relative;
    visibility: visible;
}

.site-header .social-media-icons.visible-top {
    visibility: visible;
}

.social-media-icons li a {
    color: #FFF;
    color: var(--white);
    text-decoration: none;
    /* for IE9 */
}

.social-media-icons li a:hover {
    color: #F60;
    color: var(--primary);
}

.social-media-icons .discord {
    position: relative;
    top: 0.06em;
}

.site-header.toggled .menu-primary {
    transform: translateX(0);
}

/* Social media colors */

.social-media-icons a.discord:hover {
    color: #7289DA !important;
}

.social-media-icons a.twitter:hover {
    color: #1DA1F2 !important;
}

.social-media-icons a.merch:hover {
    color: #23C968 !important;
}

.social-media-icons a.support:hover {
    color: #FF7F7F !important;
}


/*-------------------------
    Posts
--------------------------*/

.excerpt, .entry {
    position: relative;
    z-index: 1;
    background-color: #FFF;
    background-color: var(--white);
    margin: 1.5em auto;
    padding: 32px 48px;
    border-radius: 16px;
    box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16);
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
}

.featured-image {
    position: relative;
    z-index: 0;
    display: block;
    overflow: hidden;
}

.excerpt .featured-image {
    margin: -24px -32px 0;
}

.entry .featured-image {
    margin: -32px -48px 0;
}

.featured-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 66%;
    max-height: 50vh;
    background: transparent;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(0deg, var(--white) 0.5%, rgba(255, 255, 255, 0) 50%);
    user-select: none;
}

.featured-image-wrapper:hover {
    cursor: pointer;
}

.featured-image img, .featured-image iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.2s ease-out;
    transition: transform var(--trans);
}

@media all and (-ms-high-contrast:none) {
    .featured-image img, .featured-image iframe {
        height: auto;
    }
}

.post:hover .featured-image a img, .featured-image:hover > .featured-image-wrapper img {
    transform: scale(1.025);
}

#featured-image-shadowbox {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(255, 255, 255, 0.88);
    background-color: var(--transparent);
    backdrop-filter: blur(0px);
    opacity: 0;
    transition: z-index 0.2s ease-out, opacity 0.2s ease-out, backdrop-filter 0.2s ease-out, visibility 0.2s;
    transition: z-index var(--trans), opacity var(--trans), backdrop-filter var(--trans), visibility var(--trans);
    user-select: none;
}

#featured-image-shadowbox:hover {
    cursor: pointer;
}

#featured-image-shadowbox::before, #featured-image-shadowbox::after {
    content: "";
    display: block;
    position: absolute;
    top: 2.5vh;
    right: 5vw;
    width: 3px;
    height: 3vh;
    height: calc(1.5vw + 1.5vh);
    z-index: 1;
    background-color: #33353A;
    background-color: var(--grey-dark);
    transform: rotate(45deg);
}

#featured-image-shadowbox::after {
    transform: rotate(-45deg);
}

#featured-image-shadowbox.visible {
    visibility: visible;
    z-index: 999;
    backdrop-filter: blur(5px);
    opacity: 1;
    transition: opacity 0.2s ease-out, backdrop-filter 0.2s ease-out;
    transition: opacity var(--trans), backdrop-filter var(--trans);
}

#featured-image-shadowbox img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 90%;
    max-height: 90%;
    padding-bottom: 5em;
}

#featured-image-shadowbox h1 {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    z-index: 1;
    min-height: 2.5em;
    padding: 0 5%;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(0deg, var(--white) 0.5%, rgba(255, 255, 255, 0) 100%);
}

.excerpt-title, .entry-title {
    font-size: 2.5em;
    font-weight: 700;
    word-wrap: break-word;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #F60;
    border-bottom: 2px solid var(--primary);
}

.excerpt-title {
    font-size: 2.2em;
}

.excerpt-title a, .entry-title a {
    color: #33353A;
    color: var(--grey-dark);
    text-decoration: none;
    border-bottom: none !important;
}

.excerpt-title a:link, .entry-title a:link, .excerpt-title a:visited, .entry-title a:visited {
    color: #33353A;
    color: var(--grey-dark);
}

.excerpt-title a:hover, .entry-title a:hover, .excerpt-title a:active, .entry-title a:active {
    color: #F60;
    color: var(--primary);
}

a.more-link {
    display: block;
    text-align: center;
    width: 100%;
    line-height: 32px;
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 24px;
    clear: both;
}

.excerpt-categories, .entry-categories, .widget-categories,
.excerpt-tags, .entry-tags,
.excerpt-comments, .entry-comments,
.excerpt-views, .entry-views {
    color: #75757D;
    color: var(--grey-medium);
    font-size: 0.75em;
    display: inline-block;
}

.excerpt-categories p, .entry-categories p,
.excerpt-tags p, .entry-tags p,
.excerpt-comments p, .entry-comments p,
.excerpt-views p, .entry-views p {
    margin: 0.75em 0 0;
    padding-left: 1.5em;
}

.excerpt-categories i, .entry-categories i,
.excerpt-tags i, .entry-tags i,
.excerpt-comments i, .entry-comments i,
.excerpt-views i, .entry-views i {
    margin-left: -1.5em;
    margin-right: 0.5em;
}

.excerpt-categories a, .entry-categories a, .widget .widget-categories a,
.excerpt-tags a, .entry-tags a,
.excerpt-comments a, .entry-comments a,
.excerpt-views, .entry-views {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: none !important;
}

.excerpt-categories a:link, .entry-categories a:link, .widget .widget-categories a:link,
.excerpt-categories a:visited, .entry-categories a:visited, .widget .widget-categories a:visited,
.excerpt-tags a:link, .entry-tags a:link,
.excerpt-tags a:visited, .entry-tags a:visited,
.excerpt-comments a:link, .entry-comments a:link,
.excerpt-comments a:visited, .entry-comments a:visited {
    color: #75757D;
    color: var(--grey-medium);
}

.excerpt-categories a:hover, .entry-categories a:hover, .widget .widget-categories a:hover, 
.excerpt-categories a:active, .entry-categories a:active,  .widget .widget-categories a:active,
.excerpt-tags a:hover, .entry-tags a:hover, 
.excerpt-tags a:active, .entry-tags a:active,
.excerpt-comments a:hover, .entry-comments a:hover,
.excerpt-comments a:active, .entry-comments a:active {
    color: #F60;
    color: var(--primary);
}

.excerpt-comments, .entry-comments,
.excerpt-views, .entry-views {
    float: right;
}

.excerpt-comments + .excerpt-views,
.entry-comments + .entry-views {
    margin-right: 2em;
}

.excerpt-header {
    clear: both;
}

.entry-meta {
    margin-bottom: 1em;
}

.entry-meta-top {
    font-style: italic;
    font-size: small;
}

.entry-content {
    margin-top: 1.5em;
}

.entry-content img {
    display: block;
    margin: 1em auto;
    max-height: 50vh;
    border-radius: 16px;
}

.entry-content iframe {
    max-width: 100%;
}

.entry-content:after, .entry-meta-bottom::after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.entry-content h1 {
    margin-top: 2em;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
    margin-top: 1em;
}

.excerpt ul, .entry ul {
    padding-left: 2em;
}

.further-reading {
    margin: 3em 0;
    padding: 0;
    list-style: none;
}

.further-reading a {
    display: block;
    min-width: 160px;
    text-align: center;
    font-weight: 500;
}

.further-reading a i {
    font-size: 0.88em;
}

.further-reading .prev {
    float: left;
}

.further-reading .next {
    float: right;
}

.file .fa, .file .far, .file .fas {
	font-size: 1.25em;
	position: relative;
	top: 0.05em;
	margin-right: 0.15em;
	width: 0.88em;
    display: inline-block;
}


/*-------------------------
    List view
--------------------------*/

body.view-list #content > .post {
    width: 100%;
    padding: 8px 24px;
    display: flex;
    flex-direction: column-reverse;
}

body.view-list .featured-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 112px;
    height: 100%;
    margin: 0;
}

body.view-list .featured-image-wrapper {
    padding-top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(-90deg, var(--white) 0.5%, rgba(255, 255, 255, 0) 50%);
}

body.view-list .post:hover .featured-image a img {
    transform: scale(1.05);
}

@media all and (-ms-high-contrast:none) {
    body.view-list .featured-image img, body.view-list .featured-image iframe {
        width: auto;
        height: 100%;
    }
}

body.view-list .excerpt-meta,
body.view-list .excerpt-header,
body.view-list .excerpt-content {
    margin-left: 128px;
}

body.view-list .excerpt-categories,
body.view-list .excerpt-tags,
body.view-list .excerpt-comments, 
body.view-list .excerpt-views {
    float: none;
    margin-right: 2em;
}

body.view-list .excerpt-categories p, 
body.view-list .excerpt-tags p, 
body.view-list .excerpt-comments p, 
body.view-list .excerpt-views p {
    margin: 0 0 0.5em;
}

body.view-list .excerpt-header {
    max-width: 50%;
}

body.view-list .excerpt-header .excerpt-title {
    font-size: 24px;
    display: inline-block;
}
 
body.view-list .post .excerpt-content {
    display: none;
}

body.view-list .post a.more-link {
    margin: 0 24px;
    position: absolute;
    right: 0;
    width: 28%;
    top: 50%;
    transform: translateY(-50%);
}


/*-------------------------
    Pagination + Postnav
--------------------------*/

ul.pagination {
    display: inline-block;
    margin: 0 auto;
    padding: 0;
}

.pagination li {
    list-style: none;
    display: inline-block;
}

.pagination li.active a, .pagination li.active span {
    color: #F60;
    color: var(--primary);
}

.pagination li a, .pagination li span {
    color: #75757D;
    color: var(--grey-medium);
    list-style: none;
    display: inline-block;
    width: 2em;
    height: 2em;
    line-height: 1.88em;
    border: 2px solid currentColor;
    border-radius: 8px;
    margin: 0 5px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}

.pagination li a:hover {
    color: #F60;
    color: var(--primary);
}

.pagination li span:hover {
    cursor: pointer;
}

.loop-pagination-container {
    width: 100%;
}

.loop-pagination {
    padding: 0.75em;
    text-align: center;
}

.loop-pagination span,
.loop-pagination a {
    margin: 0 0.375em;
}


/*----------------------------
        Platform Icons
-----------------------------*/

#platforms + ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0px;
}

#platforms + ul li {
    flex: 1 1 216px;
    flex-flow: row nowrap;
    display: grid;
    margin-right: 5px;
    margin-bottom: 5px;
    text-align: right;
    font-size: 16px;
    line-height: 32px;
    position: relative;
    font-weight: 500;
}

#platforms + ul li a {
    display: block;
    padding: 24px 24px 24px 48px;
    color: #75757D;
    color: var(--grey-medium);
    border: 2px solid currentColor;
    border-radius: 8px;
}

#platforms + ul li a:hover {
    color: #F60;
    color: var(--primary);
}

#platforms + ul li a::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: "\f0c1";
    font-size: 32px;
    float: left;
    margin-left: -24px;
    margin-right: 8px;
}

/* Apple App Store */
#platforms + ul li a[href*="apple"]:hover, #platforms + ul li a[href*="itunes"]:hover {
    color: #DC48D7;
}
#platforms + ul li a[href*="apple"]::before, #platforms + ul li a[href*="itunes"]::before {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 500;
    content: "\f179";
}

/* GitHub */
#platforms + ul li a[href*="github"]:hover, #platforms + ul li a[href*="android"]:hover {
    color: #0366D6;
}
#platforms + ul li a[href*="github"]::before, #platforms + ul li a[href*="android"]::before {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 500;
    content: "\f09b";
}

/* GOG */
#platforms + ul li a[href*="gog.com"]:hover {
    color: #4C1679;
}
#platforms + ul li a[href*="gog.com"]::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 700;
    content: "\f11b";
}

/* Google Play */
#platforms + ul li a[href*="google"]:hover, #platforms + ul li a[href*="android"]:hover {
    color: #DB3236;
}
#platforms + ul li a[href*="google"]::before, #platforms + ul li a[href*="android"]::before {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 500;
    content: "\f1a0";
}

/* HTML5 */
#platforms + ul li a[href*="html5"]:hover {
    color: #F16529;
}
#platforms + ul li a[href*="html5"]::before {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 500;
    content: "\f13b";
}

/* Steam */
#platforms + ul li a[href*="steam"]:hover {
    color: #158;
}
#platforms + ul li a[href*="steam"]::before {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 500;
    content: "\f1b6";
}

/* Windows Store */
#platforms + ul li a[href*="microsoft"]:hover, #platforms + ul li a[href*="windows"]:hover {
    color: #04A5F0;
}
#platforms + ul li a[href*="microsoft"]::before, #platforms + ul li a[href*="windows"]::before {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 500;
    content: "\f17a";
}


/*----------------------------
	CloudPilot
-----------------------------*/

#cloudpilot {
    flex: 1 1 216px;
    flex-flow: row nowrap;
    display: grid;
    margin-right: 5px;
    margin-bottom: 5px;
    text-align: center;
    font-size: 16px;
    line-height: 32px;
    position: relative;
    font-weight: 500;
}

#cloudpilot a {
    display: block;
    padding: 24px 24px 24px 48px;
    color: var(--primary);
    color: var(--grey-medium);
    border: 2px solid currentColor;
    border-radius: 8px;
}

#cloudpilot a:hover {
    color: #F60;
    color: var(--primary);
    cursor: pointer;
}

#cloudpilot a::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: "\f144";
    font-size: 32px;
    float: left;
    margin-left: -24px;
    margin-right: 8px;
}


/*----------------------------
	Search form
-----------------------------*/

#search-wrapper {
    text-align: center;
}

#search-form {
    white-space: nowrap;
}

.error-404 .post #search-form,
.error-404-search .post #search-form {
    float: none;
}

#search-form .fa-search {
    transform: translate(1em, -50%) !important;
    font-size: 1.25em !important;
}

input.search-input {
    margin-bottom: 0;
    padding: 18px 28px !important;
    font-size: 16px !important;
    text-indent: 1.25em !important;
    border: 1px solid transparent;
    border-top-left-radius: 32px !important;
    border-bottom-left-radius: 32px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16);
    box-shadow: var(--shadow-medium);
    background: #FFF !important;
    background: var(--white) !important;
    width: 75%;
    width: calc(100% - 50px);
    color: #75757D;
    color: var(--grey-medium);
    transition: all 0.2s ease-out;
    transition: all var(--trans);
}

input.search-input:hover {
    color: #000;
    color: var(--black);
    border: 1px solid #000;
    border: 1px solid var(--black);
}

input.search-input:focus {
    color: #000;
    color: var(--black);
    border: 1px solid #F60;
    border: 1px solid var(--primary);
}

input.search-button {
    border: 1px solid #F60;
    border: 1px solid var(--primary);
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #F60;
    background-color: var(--primary);
    color: #FFF;
    color: var(--white);
    padding: 16px 16px 16px 8px !important;
    margin-left: -4px;
    font-size: 16px !important;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 0.032em;
    box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16), inset -0.05em -1.05em 1.5em #E50;
    box-shadow: var(--shadow-medium), inset -0.05em -1.05em 1.5em var(--primary-dark);
    transition: all 0.2s ease-out;
    transition: all var(--trans);
}

input.search-button:hover {
    text-decoration: none;
    color: #F60;
    color: var(--primary);
    background-color: #FFF;
    background-color: var(--white);
    box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16);
    box-shadow: var(--shadow-medium);
}

/* Fixes submit button height problem in Firefox */
input.search-button::-moz-focus-inner {
    border: 0;
}


/*-------------------------
    Page view settings
--------------------------*/

#page-options-wrapper {
    text-align: right;
    margin-bottom: 18px;
    margin-right: 1%;
}

#breadcrumb-wrapper + #page-options-wrapper {
    margin-top: -64px;
}

#page-options-wrapper > * {
    display: inline-block;
}

#page-options-wrapper #page-options-title {
    margin: 0 16px;
}

#page-options-wrapper #page-options-view {
    margin-right: 16px;
}


/*-------------------------
    Sidebars
--------------------------*/

#sidebar-wrapper {
    float: left;
    width: 30%;
}

.sidebar-primary-container {
    position: relative;
    /* used to set neg z-index so main overlay covers it */
	background-color: #F0F0F0;
	background-color: var(--grey-lighter);
    transition: all 0.2s ease-out;
    transition: all var(--trans);
    /* for when the menu is toggled open */
    padding: 1.5em 11.11%;
}

.sidebar-primary-container:after {
    content: '';
    position: absolute;
    top: 0;
    /* to guarantee covering up breadcrumb trail if present*/
	left: 0;
    width: 100%;
    background-color: #33353A;
    background-color: var(--grey-dark);
    opacity: 0;
    transition: opacity 0.2s ease-out;
    transition: opacity var(--trans);
}

.widget {
    background-color: #FFF;
    background-color: var(--white);
    border-top: solid 3px #F60;
    border-top: solid 3px var(--primary);
    font-size: 0.88em;
    margin: 32px 0;
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16);
    box-shadow: var(--shadow-heavy);
}

.widget-container {
    margin-top: 32px;
}

.widget-title {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 1em;
    line-height: 1.85em;
}

.widget .list-title {
    font-family: "Bai Jamjuree", sans-serif;
    font-weight: 700;
    word-wrap: break-word;
    text-decoration: none;
    margin-bottom: 0;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #F60;
    border-bottom: 2px solid var(--primary);
}

.widget .list-title a {
    color: #33353A;
    color: var(--grey-dark);
    text-decoration: none;
    border-bottom: none !important;
}

.widget .list-title a:link,
.widget .list-title a:visited {
    color: #33353A;
    color: var(--grey-dark);
}

.widget .list-title a:hover,
.widget .list-title a:active {
    color: #F60;
    color: var(--primary);
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin: 0.5em;
}

.widget a {
    color: #F60;
    color: var(--primary);
}

.widget a:hover, .widget a:active {
    color: #000;
    color: var(--black);
}

.widget table {
    border-bottom: none;
}

.widget tr {
    line-height: 2em;
}


/*-------------------------
    Widgets
--------------------------*/

/* Author meta */
.widget_author ul, .widget_author p {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 32px;
    padding-left: 16px;
    margin: 0.5em;
}

.widget_author ul li {
    display: inline-block;
    margin-left: 0;
}

.widget_author ul a {
    font-weight: bold;
}

.widget_author ul li::after {
    content: ",";
}

.widget_author ul li:last-of-type::after {
    content: "";
}

.widget_author .about {
    font-size: 0.88em;
}

.widget_author #author-other {
    margin-top: 2em;
}

/* Categories & Tags */
.widget_filter #category {
    width: 100%;
}

.widget_filter ul li a {
    display: inline-block;
    color: #FFF;
    color: var(--white);
    background-color: #F60;
    background-color: var(--primary);
    border: 1px solid #FFF;
    border: 1px solid var(--white);
    box-shadow: 0 0 0 2px #F60;
    box-shadow: 0 0 0 2px var(--primary);
    border-radius: 2em;
    min-width: 2.75em;
    height: 2.75em;
    line-height: 2.25em;
    text-align: center;
    font-size: 0.75em;
    font-weight: 500;
    margin: 0 !important;
    padding: 2px;
}

.widget_filter ul li a:hover {
    color: #FFF;
    color: var(--white);
    background-color: #000;
    background-color: var(--black);
    box-shadow: 0 0 0 2px #000;
    box-shadow: 0 0 0 2px var(--black);
}

/* Recent Posts */
.widget_recent_entries ul li {
    display: flex;
    width: 100%;
    min-height: 64px;
    margin: 1em 0;
    padding-left: 0;
}

.widget_recent_entries .thumb {
    width: 64px;
    min-width: 64px;
    height: auto;
    aspect-ratio: 1/1;
    overflow: hidden;
    display: inline-block;
    border-radius: 8px;
    border-bottom: none !important;
    margin-right: 12px;
}

.widget_recent_entries .thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform 0.2s ease-out;
    transition: transform var(--trans);
}

.widget_recent_entries li:hover .thumb img {
    transform: scale(1.05);
}

.widget_recent_entries .list-contents {
    display: flex;
    flex-flow: column;
    -ms-flex-preferred-size: 256px;
}

/* Popular Posts */
.widget_popular_entries ul li {
    display: flex;
    width: 100%;
    min-height: 64px;
    margin: 1em 0;
}

.widget_popular_entries .thumb {
    width: 64px;
    min-width: 64px;
    height: auto;
    aspect-ratio: 1/1;
    overflow: hidden;
    display: inline-block;
    border-radius: 8px;
    border-bottom: none !important;
    margin-right: 12px;
}

.widget_popular_entries .thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform 0.2s ease-out;
    transition: transform var(--trans);
}

.widget_popular_entries li:hover .thumb img {
    transform: scale(1.05);
}

.widget_popular_entries .list-contents {
    display: flex;
    flex-flow: column;
    -ms-flex-preferred-size: 256px;
}

/* Discord Pins / Community Highlights */
.widget_discord_pins ul li {
    min-height: 64px;
    margin: 1em 0;
}

.widget_discord_pins .list-contents {
    display: flex;
    align-items: flex-start;
}

.widget_discord_pins .thumb {
    width: 40px;
    min-width: 40px;
    height: auto;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 100%;
    border-bottom: none !important;
    margin-right: 12px;
}

.widget_discord_pins .thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform 0.2s ease-out;
    transition: transform var(--trans);
}

.widget_discord_pins li:hover .thumb img {
    transform: scale(1.05);
}

.widget_discord_pins .list-entry {
    font-size: 0.88em;
    padding: 0.5em 1.25em;
    margin: 1em 0;
    overflow: hidden;
    border: 1px solid #EEE;
    border: 1px solid var(--grey-light);
    border-radius: 16px;
}

.widget_discord_pins .list-meta {
    font-size: 0.75em;
    color: #75757D;
    color: var(--grey-medium);
}

.widget_discord_pins .list-meta a {
    color: #75757D;
    color: var(--grey-medium);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: none !important;
}

.widget_discord_pins .list-meta a:hover {
    color: #F60;
    color: var(--primary);
}

.widget_discord_pins .list-meta #permalink, 
.widget_discord_pins .list-meta #timestamp {
    float: right;
}

/* Countdown Timer */
.widget_timer #clockdiv {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    display: inline-block;
    justify-content: space-evenly;
    border-bottom: none !important;
}

.widget_timer #clockdiv:hover {
    color: #F60;
    color: var(--primary);
}

.widget_timer #clockdiv > div {
    display: inline-block;
    min-width: 20%;
}

.widget_timer #clockdiv > div > span {
    font-family: "Bai Jamjuree", sans-serif;
    color: #F60;
    color: var(--primary);
    font-size: 24px;
    line-height: 48px;
}

.widget_timer #clockdiv > div > .smalltext {
    color: #75757D;
    color: var(--grey-medium);
    font-size: 12px;
}

@supports (justify-content: space-evenly) {
    .widget_timer #clockdiv {
        display: flex;
    }

    .widget_timer #clockdiv > div {
        min-width: 1em;
    }
}


/*-------------------------
    Comments
--------------------------*/

.comments {
    margin: 2em 0;
    outline: none !important;
}

#disqus_thread iframe:not(iframe[src*="embed"]) {
    display: none;
}


/*-------------------------
    Cookie Consent
--------------------------*/

@keyframes cookie-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

#cookie-wrapper {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    background-color: #000;
    background-color: var(--black);
    color: #FFF;
    color: var(--white);
    animation: cookie-fade 0.5s linear forwards;
}

#cookie-wrapper table {
    border-bottom: none;
}

#cookie-wrapper tr {
    background-color: transparent;
}

#cookie-wrapper td {
    padding: 12px 2.5%;
}

#cookie-wrapper a {
    border-bottom: 2px solid transparent;
    white-space: pre;
}

#cookie-wrapper a:hover {
    color: #FFF;
    color: var(--white);
    border-bottom: 2px solid #FFF;
    border-bottom: 2px solid var(--white);
    cursor: pointer;
}

#cookie-wrapper #cookie-info {
    max-width: 60%;
}

#cookie-wrapper #cookie-info #cookie-links {
    white-space: pre;
}

#cookie-wrapper #cookie-response {
    max-width: 30%;
    text-align: right;
}

#cookie-wrapper #cookie-response a {
    display: inline-block;
    margin-left: 2em;
    height: 100%;
    padding: 0 2em;
    background-color: #F60;
    background-color: var(--primary);
    color: #FFF;
    color: var(--white);
    border: 1px solid #F60;
    border: 1px solid var(--primary);
}

#cookie-wrapper #cookie-response a:hover {
    background-color: #FFF;
    background-color: var(--white);
    border: 1px solid #F60;
    border: 1px solid var(--primary);
    color: #F60;
    color: var(--primary);
}


/*-------------------------
    Footer
--------------------------*/

#footer-wrapper {
    position: relative;
    padding: 32px 0 48px;
    float: left;
    width: 100%;
    color: #75757D;
    color: var(--grey-medium);
    background-color: #33353A;
    background-color: var(--grey-dark);
    font-size: 14px;
    margin-top: 64px;
    flex-shrink: 0;
}

#footer a {
    color: #75757D;
    color: var(--grey-medium);
}

#footer a:hover {
    color: #F60;
    color: var(--primary);
    border-bottom: 2px solid transparent;
}

#footer ul {
    margin: 0.5em 0;
}

#footer section:nth-child(odd) {
    margin: 32px 0;
}

.site-footer {
    padding: 1.5em 7.407% 0;
}

.column {
    float: left;
    width: 25%;
}

.recent ul {
    padding-left: 20px;
    width: 85%;
}

.archive .toggle {
    font-size: 16px;
}

.tagcloud ul {
    padding: 0;
    margin: 0;
}

.tagcloud ul li {
    float: left;
    list-style: none;
    margin-right: 10px;
}

.copyright {
    font-size: 14px;
    float: left;
    width: 100%;
    line-height: 2em;
}

.copyright p {
    margin: 0.5em 0;
    line-height: 1.25em;
}


/*----------------------------
    	Breadcrumbs
-----------------------------*/

.breadcrumbs {
    font-size: 28px;
    font-weight: 300;
    color: #75757D;
    color: var(--grey-medium);
    letter-spacing: 0.032em;
    line-height: 2em;
    padding: 0 8px;
    margin: 0 0 64px;
}

#breadcrumb-wrapper ~ .breadcrumbs {
    margin: 0;
}


/*----------------------------
    	Tabs
-----------------------------*/

.nav-tabs {
    margin-top: -2em;
    margin-bottom: 32px;
}

.nav-tabs + .post {
    margin-top: -32px;
}

a.tab {
    background: #FFF;
    background: var(--white);
    border-radius: 0.5em 0.5em 0 0;
    text-align: center;
    padding: 0.75em 1em calc(0.75em - 2px);
    display: inline;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16);
    box-shadow: var(--shadow-heavy);
    margin-left: 1em;
}

a.tab:hover {
    cursor: pointer;
}

a.tab.active {
    color: #000;
    color: var(--black);
}

/* Custom */

.menu-primary-items .active > a {
    background-color: #F60;
    background-color: var(--primary);
    color: #FFF;
    color: var(--white);
}

.featured-quote, .featured-link {
    margin-bottom: 5%;
    font-size:24px;
}

.featured-quote blockquote {
    margin: 0;
    padding-left: 0;
    border: none;
}

.design-credit p {
    font-size: 10px;
    margin: 0;
}

.credit p {
    display: inline;
    line-height: 1em;
}


/*----------------------------
    404 Page not found
-----------------------------*/

body.error-404 #breadcrumb-wrapper {
    display: none;
}

body.error-404 #content {
    position: relative;
    max-width: 48em;
    margin: auto;
}

body.error-404 #content::after {
    display: block;
    content: "Fatal Alert";
    color: #FFF;
    color: var(--white);
    font-family: monospace;
    font-weight: bold;
    font-size: 3em;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    line-height: 2em;
    z-index: 1;
    text-align: center;
    background-color: #000;
    background-color: var(--black);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

body.error-404 #content .post {
    color: #000;
    color: var(--black);
    border: 0.25em solid #000;
    border: 0.25em solid var(--black);
    padding-top: 7em;
    background-color: #FFF;
    background-color: var(--white);
}

body.error-404 #content .entry-title {
    font-family: monospace;
    font-size: 2em;
}

body.error-404 #content a.button {
    color: #000 !important;
    color: var(--black) !important;
    font-family: monospace;
    font-size: 1.5em;
    padding: 0.25em 0.5em;
    border-radius: 0.5em;
    background-color: transparent;
    box-shadow: none !important;
    letter-spacing: normal;
    border: 2px solid #000;
    border: 2px solid var(--black);
}

body.error-404 #content a.button:hover {
    color: #FFF !important;
    color: var(--white) !important;
    background-color: #000;
    background-color: var(--black);
}


/*----------------------------
    Media queries
-----------------------------*/

@media all and (max-width: 1680px) {
    .container {
        width: 85%;
    }
}

@media all and (max-width: 1440px) {
    body {
        font-size: 15px;
    }

    p {
        margin: 1em 0;
    }

    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 21px;
    }
    
    h4 {
        font-size: 18px;
    }
    
    h5 {
        font-size: 16px;
    }

    #content-wrapper {
        width: 68%;
    }

    #content-wrapper > .container {
        width: 98%;
    }

    #sidebar-wrapper {
        width: 32%;
    }

    .social-media-icons li {
        margin: 0 0.4em;
    }
}

@media all and (max-width: 1368px) {
    .menu-primary-items a {
        font-size: 14px;
    }

    .container {
        width: 90%;
    }
}

@media all and (max-width: 1280px) {
    #content-wrapper > .container {
        width: 99%;
    }

    .container {
        width: 95%;
    }

    body.view-list .excerpt-header {
        max-width: 45%;
    }

    .social-media-icons li {
        margin: 0 0.3em;
    }
}

@media all and (max-width: 1152px) {
    #content-wrapper {
        width: 60%;
    }

    #content-wrapper > .container {
        width: 96%;
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 40%;
    }

    body.index #content > .post, body.in-category #content > .post, body.in-tag #content > .post, body.in-search #content > .post {
        width: 100%;
        margin: 0% 1% 5%;
    }

    .site-header .menu-primary-items {
        padding-left: 0;
    }

    .site-header .social-media-icons {
        display: none;
    }

    .social-media-icons li {
        margin: 0 12px;
        font-size: 22px;
    }

    body.view-list .post .excerpt-header {
        max-width: 90%;
        max-width: calc(100% - 64px);
    }

    body.view-list .post a.more-link {
        display: none;
    }
}

@media all and (max-width: 960px) {
    body {
        font-size: 16px;
    } 

    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    h4 {
        font-size: 18px;
    }
    
    h5 {
        font-size: 16px;
    }

    .container, #content-wrapper, #content-wrapper > .container, #sidebar-wrapper {
        width: 100%;
    }

    #header-wrapper > .container {
        padding: 0;
    }

    .toggle-navigation {
        display: inline-block;
    }

    .site-header {
        text-align: center;
        line-height: 1;
    }

    .title-info {
        float: none;
        margin: 0 auto;
        display: inline-block;
    }

    .menu-primary {
        transform: translateZ(0);
        background-color: #33353A;
        background-color: var(--grey-dark);
        width: 100%;
        height: 100vh !important;
        max-height: 90vh;
        max-height: calc(100vh - var(--toolbar-height));
        max-width: 480px;
        overflow-y: scroll;
        position: absolute;
        top: auto;
        left: 0;
        text-align: center;
        transform: translateX(-100%);
        transition: transform 0.2s ease-out;
        transition: transform var(--trans);
        box-shadow: 0 3px 6px 0 rgba(72, 72, 96, 0.16);
        box-shadow: var(--shadow-heavy);
    }

    .menu-primary-items, .menu-primary-items li {
        padding-top: 0.5em;
        padding-left: 0;
        float: none;
    }

    .menu-primary-items a {
        text-decoration: none;
        color: #FFF;
        color: var(--white);
        margin: 1.5em 0;
        padding: 0;
        display: block;
    }
    
    .menu-primary-items li:hover > a, .menu-primary-items li a[href="#"]:hover {
        color: #FFF;
        color: var(--white);
        background-color: inherit;
    }

    .menu-primary-items li a:hover {
        background-color: #F60;
        background-color: var(--primary);
    }

    .menu-primary-items a:hover + ul, .menu-primary-items a:active + ul, .menu-primary-items a:focus + ul {
        top: 0;
    }

    .menu-primary-items a i {
        display: none;
    }

    .menu-primary-items ul {
        position: static;
        top: 0;
        margin: 0;
        opacity: 1;
        background-color: transparent;
        transition: none;
        box-shadow: none;
        border-top: none;
    }

    .menu-primary-items ul ul {
        margin: 0;
        border-left: none;
        max-height: none;
        overflow: visible;
    }

    .menu-primary-items li > a, .menu-primary-items a[href="#"] {
        font-size: 0.813em;
        color: #FFF;
        color: var(--white);
        margin-top: -1.5em;
    }

    .menu-primary-items ul a {
        color: #75757D;
        color: var(--grey-medium);
    }

    /* Use hidden icons as padding to show all nav links */
    .site-header .social-media-icons.visible {
        display: block;
        visibility: hidden;
    }

    #breadcrumb-wrapper, #breadcrumb-wrapper ~ .breadcrumbs {
        text-align: center;
    }

    .breadcrumbs {
        margin: 0 0 64px;
    }

    #breadcrumb-wrapper + #page-options-wrapper {
        margin-top: 0;
    }

    #page-options-wrapper {
        text-align: center;
        margin-left: 1%;
        margin-top: 8px;
    }

    #content-wrapper > .container {
        margin-top: 160px;
    }

    #sidebar-wrapper {
        margin-top: 8px;
    }

    #search-wrapper {
        position: absolute;
        top: 72px;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        padding: 24px 5%;
        margin-top: 72px;
        margin-top: var(--navbar-height);
    }

    #search-wrapper > span {
        position: relative;
        top: 16px;
    }

    .excerpt, .entry {
        padding: 24px;
    }

    .entry-content img {
        max-height: 66vh;
    }

    body.view-list .post .excerpt-header {
        max-width: 46%;
    }

    body.view-list .post a.more-link {
        display: inline-block;
    }

    body.fullwidth .nav-tabs {
        margin-left: 8px;
    }
}

@media all and (max-width: 768px) {
    p {
        margin: 1.5em 0;
    }

    .site-footer {
        padding: 0;
    }

    body.view-list .post .excerpt-header {
        max-width: 42%;
    }
}

@media all and (max-width: 640px) {
    .entry-content td {
        padding: 5px;
    }

    body.view-list .post .excerpt-header {
        max-width: 90%;
        max-width: calc(100% - 64px);
    }

    body.view-list .post a.more-link {
        display: none;
    }

    .social-media-icons li {
        margin: 0 0.5em;
        font-size: 1.5em;
    }

    #footer {
        text-align: center;
    }

    #footer .social-media-icons {
        display: block;
        width: 100%;
        padding: 3em 0;
    }
}

@media all and (max-width: 540px) {
    .container {
        padding: 0 8px;
    }

    .breadcrumbs {
        margin: 0 0 72px;
    }

    .entry-meta .entry-categories {
        display: block;
        width: 100%;
    }

    .entry-meta .entry-comments {
        float: none;
    }

    .entry-meta .entry-views {
        margin-right: 0;
    }

    .entry-content .files {
        font-size: 90%;
    }

    body.index #content > .post, body.in-category #content > .post, body.in-tag #content > .post, body.in-search #content > .post {
        padding: 24px;
    }

    body.view-list #content > .post {
        padding: 8px 24px;
    }

    body.view-list .excerpt-views {
        display: none;
    }

    #cookie-wrapper td {
        display: block;
        max-width: 100% !important;
        text-align: center !important;
    }

    #cookie-wrapper #cookie-response a {
        margin: 0;
        width: 100%;
    }

    .pagination li {
        float: left;
    }

    .pagination li:nth-child(6) {
        clear: both;
    }
}

@media all and (max-width: 480px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 21px;
    }
    
    h4 {
        font-size: 18px;
    }
    
    h5 {
        font-size: 16px;
    }

    body.view-list #content > .post {
        padding: 8px 16px 16px;
    }

    body.index #content > .post, body.in-category #content > .post, body.in-tag #content > .post, body.in-search #content > .post {
        margin: 0% 1% 8%;
    }

    body.view-list .post .excerpt-title {
        font-size: 21px;
    }

    .entry-content .files .full {
        display: none;
    }
}

@media all and (max-width: 384px) {
    body {
        font-size: 14px;
        line-height: 2em;
    }

    #search-wrapper span[style*="x-small"] {
        font-size: xx-small !important;
    }

    body.index #content > .post, body.in-category #content > .post, body.in-tag #content > .post, body.in-search #content > .post {
        margin: 0% 0% 6%;
    }

    .entry-content th, .entry-content td {
        padding: 4px;
    }

    .widget_author ul, .widget_author p {
        padding-inline-start: 16px;
        padding-left: 8px;
    }

    .further-reading a {
        min-width: 128px;
    }
}

@media all and (max-width: 320px) {
    .pagination li {
        float: none;
    }
}