/**
 * Fallout visual layer for Coral Light.
 */

:root {
	--fallout-heading: #3AE603;
	--fallout-line: #A69C62;
	--fallout-outline: #000;
}

@font-face {
	font-family: 'Fallout Classic Dialog';
	src: url('../fonts/Fallout-Classic-Dialog-Regular.ttf') format('truetype');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

html {
	background-color: #fff;
}

body,
body.custom-background {
	position: relative;
	min-height: 100%;
	background: transparent !important;
	color: #404040;
}

body::before {
	position: fixed;
	z-index: 0;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background-color: #fff;
	background-image: url('../images/body1-1-white.png');
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	content: '';
	pointer-events: none;
}

#page {
	position: relative;
	z-index: 1;
	background: transparent;
}

.grid-container {
	background: rgba(0, 0, 0, 0.04) !important;
	border-right-color: var(--fallout-line) !important;
	border-left-color: var(--fallout-line) !important;
}

a,
a:visited,
a:hover,
a:focus,
a:active {
	color: #000 !important;
}

#site-navigation .sm-clean > li > a,
#site-navigation .sm-clean > li > a:hover,
#site-navigation .sm-clean > li > a:focus,
#site-navigation .sm-clean > li > a:active,
#menu-button,
#menu-button span {
	color: #111 !important;
}

#site-navigation .sm-clean > li > a.current,
#site-navigation .sm-clean > li.current-menu-item > a,
#site-navigation .sm-clean > li.current-menu-ancestor > a {
	color: var(--fallout-heading) !important;
	-webkit-text-stroke: 2px var(--fallout-outline);
	paint-order: stroke fill;
}

#site-navigation .sm-clean ul {
	background: rgba(255, 255, 255, 0.96) !important;
}

#site-navigation .sm-clean ul a,
#site-navigation .sm-clean ul a:hover,
#site-navigation .sm-clean ul a:focus,
#site-navigation .sm-clean ul a:active {
	color: #000 !important;
}

#mysticky-nav.wrapfixed,
#mysticky-nav.wrapfixed .myfixed,
#mysticky-nav.wrapfixed > ul,
#mysticky-nav.wrapfixed .sm-clean {
	background-color: #fff !important;
	background-image: none !important;
	opacity: 1 !important;
}

#mysticky-nav.wrapfixed ul li.menu-item > a,
#mysticky-nav.wrapfixed ul li.menu-item > a:hover,
#mysticky-nav.wrapfixed ul li.menu-item > a:focus,
#mysticky-nav.wrapfixed ul li.menu-item > a:active {
	color: #111 !important;
}

#mysticky-nav.wrapfixed ul li.current-menu-item > a,
#mysticky-nav.wrapfixed ul li.current-menu-ancestor > a,
#mysticky-nav.wrapfixed ul li > a.current {
	color: var(--fallout-heading) !important;
	-webkit-text-stroke: 2px var(--fallout-outline);
	paint-order: stroke fill;
}

.entry-content a,
.entry-summary a,
.comment-content a,
#secondary a,
.site-footer a {
	color: #000;
}

.entry-content a:hover,
.entry-content a:focus,
.entry-summary a:hover,
.entry-summary a:focus,
.comment-content a:hover,
.comment-content a:focus,
#secondary a:hover,
#secondary a:focus,
.site-footer a:hover,
.site-footer a:focus {
	color: #000;
}

.entry-content .skynet-subpage-links {
	color: #000 !important;
	overflow: hidden;
	padding: 0 !important;
	background: rgba(255, 255, 255, 0.32) !important;
	border: 1px solid var(--fallout-line) !important;
	box-shadow: none !important;
}

.entry-content .skynet-subpage-links__title {
	margin: 0 !important;
	padding: 0.55em 1em 0.45em !important;
	color: var(--fallout-heading) !important;
	background: rgba(166, 156, 98, 0.1) !important;
	border-bottom: 1px solid var(--fallout-line) !important;
}

.entry-content .skynet-subpage-links__list {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.15em 2em;
	margin: 0 !important;
	padding: 0.8em 1.2em 1em !important;
	list-style: none !important;
	color: #000 !important;
	background: transparent !important;
	border: 0 !important;
}

.entry-content .skynet-subpage-links__item {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	color: #000 !important;
	background: transparent !important;
	border: 0 !important;
}

.entry-content .skynet-subpage-links__item::before {
	position: absolute;
	top: 0.42em;
	left: 0.1em;
	z-index: 1;
	color: var(--fallout-heading) !important;
	content: '›' !important;
	font-weight: 700;
	pointer-events: none;
}

.entry-content .skynet-subpage-links__link,
.entry-content .skynet-subpage-links__link:visited,
.entry-content .skynet-subpage-links__link:active {
	display: block;
	padding: 0.35em 0.55em 0.35em 1em !important;
	color: #000 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	-webkit-text-stroke: 0;
}

.entry-content .skynet-subpage-links__link:hover,
.entry-content .skynet-subpage-links__link:focus {
	color: #000 !important;
	background: rgba(58, 230, 3, 0.1) !important;
	border: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	-webkit-text-stroke: 0;
}

@media (max-width: 900px) {
	.entry-content .skynet-subpage-links__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.entry-content .skynet-subpage-links__list {
		grid-template-columns: 1fr;
	}
}

a.fswl-wiki-link,
a.fswl-wiki-link:visited,
a.fswl-wiki-link:hover,
a.fswl-wiki-link:focus,
a.fswl-wiki-link:active {
	color: inherit !important;
	background: none !important;
	border: 0 !important;
	border-bottom: 2px dotted var(--fallout-heading) !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

a.fswl-wiki-link::before,
a.fswl-wiki-link::after {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.skynet-coral-switcher,
.skynet-coral-switcher:visited {
	color: #111 !important;
	background: #fff !important;
	border-color: var(--fallout-heading) !important;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2) !important;
	-webkit-text-stroke: 0;
}

.skynet-coral-switcher:hover,
.skynet-coral-switcher:focus,
.skynet-coral-switcher:focus-visible,
.skynet-coral-switcher:active {
	color: #111 !important;
	background: var(--fallout-heading) !important;
	border-color: var(--fallout-outline) !important;
	-webkit-text-stroke: 0;
}

.skynet-coral-switcher svg {
	color: inherit !important;
	stroke: currentColor !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
b,
strong {
	color: var(--fallout-heading) !important;
	font-family: 'Fallout Classic Dialog', monospace !important;
	font-size: 100% !important;
	font-weight: 700 !important;
	-webkit-text-stroke: 2px var(--fallout-outline);
	paint-order: stroke fill;
}

@supports not (-webkit-text-stroke: 2px #000) {
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	h1 a,
	h2 a,
	h3 a,
	h4 a,
	h5 a,
	h6 a,
	b,
	strong {
		text-shadow:
			-2px -2px 0 var(--fallout-outline),
			0 -2px 0 var(--fallout-outline),
			2px -2px 0 var(--fallout-outline),
			-2px 0 0 var(--fallout-outline),
			2px 0 0 var(--fallout-outline),
			-2px 2px 0 var(--fallout-outline),
			0 2px 0 var(--fallout-outline),
			2px 2px 0 var(--fallout-outline);
	}

	#site-navigation .sm-clean > li > a.current,
	#site-navigation .sm-clean > li.current-menu-item > a,
	#site-navigation .sm-clean > li.current-menu-ancestor > a {
		text-shadow:
			-2px -2px 0 var(--fallout-outline),
			0 -2px 0 var(--fallout-outline),
			2px -2px 0 var(--fallout-outline),
			-2px 0 0 var(--fallout-outline),
			2px 0 0 var(--fallout-outline),
			-2px 2px 0 var(--fallout-outline),
			0 2px 0 var(--fallout-outline),
			2px 2px 0 var(--fallout-outline);
	}

	#mysticky-nav.wrapfixed ul li.current-menu-item > a,
	#mysticky-nav.wrapfixed ul li.current-menu-ancestor > a,
	#mysticky-nav.wrapfixed ul li > a.current {
		text-shadow:
			-2px -2px 0 var(--fallout-outline),
			0 -2px 0 var(--fallout-outline),
			2px -2px 0 var(--fallout-outline),
			-2px 0 0 var(--fallout-outline),
			2px 0 0 var(--fallout-outline),
			-2px 2px 0 var(--fallout-outline),
			0 2px 0 var(--fallout-outline),
			2px 2px 0 var(--fallout-outline);
	}
}

.fallout-site-logo {
	display: inline-block;
	line-height: 0;
}

.fallout-logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 160px;
	object-fit: contain;
}

hr {
	background-color: var(--fallout-line) !important;
	border-color: var(--fallout-line) !important;
	color: var(--fallout-line) !important;
}

table,
table th,
table td,
fieldset,
abbr,
acronym,
input,
textarea,
select,
button,
.button,
#main-menu,
#menu-button,
.sepline,
.sepline2,
#secondary .widget_nav_menu li,
#secondary h4.widget-title,
.featured-item2,
.page-links,
.comment-list .children {
	border-color: var(--fallout-line) !important;
}

table th,
table td {
	color: #404040;
}

@media screen and (max-width: 767px) {
	.fallout-site-logo {
		margin-right: auto;
		margin-left: auto;
	}

	.fallout-logo {
		max-height: 130px;
	}
}
