html {
	box-sizing: border-box;
    background-color: #47484b;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
	overflow-y: auto;
}

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #000;
    background: #dedede;
    background: linear-gradient(#dedede, #fff);
    box-shadow: 0 0 10px 0 #000;
    min-height: 100vh;
    width: 1005px;
    margin: 0 auto;
    position: relative;
}

img {
	vertical-align: middle;
	max-width: 100%;
}

* {
	font-family: inherit;
	padding: 0;
	margin: 0;
	outline: none;
	border: none;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

.vortexFont {
	font-family: 'PokemonVortex', Impact, 'Anton', 'Arial Black', 'Helvetica Neue Condensed Bold', sans-serif;
	pointer-events: none;
	text-shadow: -0.05em -0.05em 0 black,
		0.05em -0.05em 0 black,
		-0.05em 0.05em 0 black,
		0.05em 0.05em 0 black,
		0.1em 0.1em 0.3em rgba(0, 0, 0, 0.5);
}

/* Header */

#top {
	width: inherit;
	margin: 0 auto;
	z-index: 100;
	position: sticky;
	top: 0;
	box-shadow: 0 1px 10px var(--black-absolute);
	background: var(--black);
}
.userbar-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	padding: 0px 5px 0px 5px;
	height: 30px;
	background-color: #37383a;
	background: linear-gradient(#37383a, #2d2e30);
	border-bottom: 1px solid #00000096;
}
.userbar-wrapper div {
	line-height: 22px;
	color: #fff;
	text-shadow: 0 0 2px #000, 0 0 1px #1a1a1a;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}
.notifications a {
	color: #fff !important;
}
.userbar-select,
.userbar-selected {
	display: inline-block;
	padding: 4px 3px 4px 3px;
	border-radius: 3px;
	font-weight: bold;
	cursor: pointer;
}
.userbar-select:hover {
	background: #272829;
}
.userbar-selected {
	background: #272829;
}
.noticecount {
	padding: 2px 5px 3px 5px;
	background: #1a1a1a;
	border-radius: 3px;
	font-size: 10px;
	box-shadow: inset 0 1px rgba(0, 0, 0, .4), 0 1px rgba(255, 255, 255, .15);
}
.socialcons a {
	font-weight: normal;
}
#userLink {
	max-width: 125px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Top Nav */

nav {
	min-height: 35px;
	background: linear-gradient(#37383a, #2d2e30);
}
.menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
	margin: 0;
}
.menu li {
    position: relative;
}
.menu li.main {
	background-color: var(--maroon);
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	margin-left: 5px;
	margin-right: 5px;
	cursor: pointer;
	text-align: center;
	width: 105px;
}
.menu a, .menu span {
    color: white;
    text-decoration: none;
    padding: 10px 0px 10px 0px;
    display: block;
	text-shadow: 1px 1px 3px #0f0f0f, 0 0 3px #1a1a1a;
}
.menu .submenu {
    display: none;
    position: absolute;
    list-style: none;
    padding: 0;
    top: 100%;
	transition: all 0.3s ease;
}
.menu li:hover > .submenu {
    display: flex;
	flex-direction: column;
}
.submenu li {
	background-color: rgba(0, 0, 0, 0.9);
	text-align: center;
    min-width: max-content;
}
.submenu li:focus {
    outline: none;
}
.submenu li a:hover {
	background: linear-gradient(#37383a, #2d2e30);
}
.submenu {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	min-width: 190px;
	position: absolute;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    padding: 0;
    white-space: nowrap;
	border-left: 2px solid var(--maroon);
    border-bottom: 2px solid var(--maroon);
    border-right: 2px solid var(--maroon);
	font-size: 10px;
	font-weight: 100;
}
.submenu li:not(:first-child) {
	border-top: 1px solid #1d1f21;
}
.burger {
    font-size: 24px;
    color: white;
    cursor: pointer;
    display: none;
	float: right;
	margin-right: 10px;
	height: 36px;
	width: 32px;
	text-align: center;
	text-shadow: 0 0 1px #0f0f0f, 0 0 3px #1a1a1a;
}
#navbar-container {
	font-family: 'Orbitron';
	color: #fff;
	font-size: 13px;
	font-weight: bold;
	border-bottom: 2px solid var(--maroon);
}
#logout {
    color: #fff;
    font-size: 18px;
    text-shadow: 0 0 1px #0f0f0f, 0 0 3px #1a1a1a;
    margin: -35px 0px 0px 0px;
    position: absolute;
	right: 20px;
	padding: 5px 5px 5px 5px;
}
#logout:hover {
	text-shadow: 0 0 10px var(--white);
}
#sub-logout {
	display: none;
}

/* Content Menus */

.menu-container {
	background-color: #d7d7d7;
	border: 1px solid #b3b2b2;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	margin: 0px 0px 10px 0px;
}
.menu-tab {
	color: var(--black-absolute);
	cursor: pointer;
}
.menu-tab a {
	display: block;
	color: var(--black-absolute);
	padding: 10px 10px 10px 10px;
	font-weight: 400;
}
.menu-tab:hover {
	background-color: #c2c0c0;
	cursor: pointer;
}
.menu-tab-selected {
	color: var(--white);
	text-shadow: 0 0 3px #0f0f0f, 0 0 5px #1a1a1a;
	background-color: var(--maroon-darker);
	cursor: pointer;
}
.menu-tab-selected a {
	display: block;
	color: var(--white);
	padding: 10px 10px 10px 10px;
}
.sub-menu {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
	margin: 5px 5px 5px 5px;
}
.sub-menu-tab {
	background-color: #d7d7d7;
	cursor: pointer;
}
.sub-menu-tab:hover {
	background-color: #c2c0c0;
	cursor: pointer;
}
.sub-menu-tab-selected {
	color: #fff;
	text-shadow: 0 0 3px #0f0f0f, 0 0 5px #1a1a1a;
	background-color: var(--maroon-darker);
	cursor: pointer;
	font-weight: 600;
}
.sub-menu-tab,
.sub-menu-tab-selected {
	padding: 10px 10px 10px 10px;
	border-radius: 8px;
}

/* Pagination */

.pagination {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 10px 0px 10px 0px;
}
.pagination .po {
	margin: 5px 5px 0px 0px;
}
.pagination .po a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 10px;
}
.page-prev-no,
.page-next-no,
.page-num,
.page-prev,
.page-next,
.page-more {
	background: #d7d7d7;
	border-radius: 5px;
	border: 1px solid #a5a3a3;
}
.page-selected {
	background: var(--maroon);
	border-radius: 5px;
	border: 1px solid #850000;
}
.page-selected a {
	color: var(--white);
}
.page-next-no a:hover,
.page-prev-no a:hover,
.page-more a:hover,
.page-selected a:hover {
	cursor: not-allowed;
}

/* Logo */

#logo {
    position: absolute;
	margin: 3px 0px 0px 5px;
	max-height: 32px;
	pointer-events: none;
}

/* Disclaimer & Footer */

#disclaimer-container {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	gap: 5px;
    z-index: 101;
    color: #fff;
    text-shadow: 0 0 1px #0f0f0f, 0 0 3px #1a1a1a;
    background-color: #303030;
    border-top: 2px solid var(--maroon);
    width: 100%;
    padding: 10px 0 0 0;
    overflow: hidden;
	text-align: center;
	height: 125px;
}
#disclaimer-container a {
	color: #fff; font-weight: 800;
}
#footer-disclaimer {
	text-align: left;
	width: 250px;
}
#footer-service, #footer-wiki, #footer-social {
	text-align: center;
	margin-top: 4px;
}
#footer-service, #footer-wiki {
	width: 110px;
}
#footer-social {
	width: 180px;
}
#footer-logo {
	pointer-events: none;
}
#footer-links {
	border-left: 1px solid var(--maroon);
	padding-left: 15px;
	padding-right: 15px;
	float: right;
	text-align: left;
	list-style: none;
	height: fit-content;
}
#footer-links li {
	margin-bottom: 3px;
}
#footer-social a i:hover, #footer-wiki a i:hover, #footer-service a i:hover {
	color: #2D2E30;
	text-shadow: 0px 0px 3px #fff;
}

/* Content Containers */

#contentad {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-height: 160px;
	max-width: 100%;
	text-shadow: none;
	padding: 10px 10px 0px 10px;
	overflow: hidden;
	align-content: center;
}
#content {
    text-align: center;
    height: auto;
	min-height: 100vh;
    max-width: 100%;
    padding: 5px;
    overflow: hidden;
}
.content-container {
	background-color: #d7d7d7;
	border: 1px solid;
	border-color: #e5e6e9 #dfe0e4 #d0d1d5;
	border-radius: 10px;
	padding: 5px;
}
.pokeball-small {
	background-image: url('https://static.pokemon-vortex.com/v6/layout/images/pokeball_small.png');
	background-repeat: no-repeat;
	background-position: center;
	height: 100px;
}
.pokeball-big {
	background-image: url('https://static.pokemon-vortex.com/v6/layout/images/pokeball_big.png');
	background-repeat: no-repeat;
	background-position: center;
	height: 150px;
	padding-top: 30px;
}
#mapOverlayContent {
	position: fixed;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 10px;
	width: 480px;
	max-width: 98%;
	color: #fff;
	text-shadow: 1px 1px 1px #000;
	font-size: 14px;
	background: #000000db;
	border: 2px solid var(--maroon);
	border-radius: 15px;
}
#homeImg {
	max-width: 100vw;
	position: absolute;
	top: -170px;
	pointer-events: none;
}
.fallbackBg {
	display: none;
	background-image: url('https://static.pokemon-vortex.com/v6/layout/images/outer_game/vortex-citadel.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-color: rgba(0, 0, 0, 0.5);
	background-blend-mode: multiply;
	width: 100vw;
	height: 100vh;
}
.homeInfo {
	text-align: center;
	padding: 20px 20px 0px 20px;
}
.homeInfo b {
	text-shadow: 0px 0px 10px var(--maroon);
}
#homeButtons {
	text-align: center;
	padding-top: 10px;
}
#homeButtons button {
	margin: 0px 10px 20px 10px;
}
.news-container {
	text-align: left;
	height: auto;
	width: 100%;
	overflow: hidden;
}
.article-container {
	height: 140px;
	/*border-top: 1px solid #cacaca;*/
}
.article-thumbnail {
	border: 1px solid #c2c0c0;
	border-radius: 15%;
	float: left;
	overflow: hidden;
	position: relative;
	display: block;
	margin: 5px 10px 0px 0px;
}

/* Outer-Game Pokedex */

.bug-dex { background: var(--grass); }
.electric-dex { background: var(--electric); }
.dark-dex { background: var(--dark); }
.psychic-dex { background: var(--psychic); }
.normal-dex { background: var(--normal); }
.fighting-dex { background: var(--fighting); }
.flying-dex { background: var(--flying); }
.poison-dex { background: var(--poison); }
.ground-dex { background: var(--ground); }
.rock-dex { background: var(--rock); }
.ghost-dex { background: var(--ghost); }
.dragon-dex { background: var(--dragon); }
.fairy-dex { background: var(--fairy); }
.grass-dex { background: var(--grass); }
.steel-dex { background: var(--steel); }
.ice-dex { background: var(--ice); }
.fire-dex { background: var(--fire); }
.water-dex { background: var(--water); }
.unknown-dex { background: var(--unknown); }

.bug-dex:hover,
.electric-dex:hover,
.dark-dex:hover,
.psychic-dex:hover,
.normal-dex:hover,
.fighting-dex:hover,
.flying-dex:hover,
.poison-dex:hover,
.ground-dex:hover,
.rock-dex:hover,
.ghost-dex:hover,
.dragon-dex:hover,
.fairy-dex:hover,
.grass-dex:hover,
.steel-dex:hover,
.ice-dex:hover,
.fire-dex:hover,
.water-dex:hover,
.unknown-dex:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}

.bug-dex,
.electric-dex,
.dark-dex,
.psychic-dex,
.normal-dex,
.fighting-dex,
.flying-dex,
.poison-dex,
.ground-dex,
.rock-dex,
.ghost-dex,
.dragon-dex,
.fairy-dex,
.grass-dex,
.steel-dex,
.ice-dex,
.fire-dex,
.water-dex,
.unknown-dex {
	border: 3px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	opacity: 0.9;
	filter: alpha(opacity=90);
}

.outGamePokedexSearch {
	width: 300px;
	text-align: center;
	margin-top: 10px;
}
.outGamePokedexResults {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	margin-bottom: 10px;
}
.outGameDexSlot {
	width: 140px;
	height: 90px;
	margin: 5px 5px 5px 5px;
	transition: all 0.5s;
}
.outGameDexSlot:hover {
	transform: translateY(-10px);
    box-shadow: 0px 14px 10px -8px #000;
}
.outGameDexSprite {
	height: 40px;
	width: 100%;
}
.outGameDexSlotInner {
	padding: 5px 10px 10px 10px;
}
.outGameDexSlotInner h4,
.outGameDexSlotInner span {
	background: #0000007a;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	padding: 2px 2px 2px 2px;
	text-shadow: 1px 1px #000;
	font-weight: 100;
	margin-bottom: 0px;
}
.outGameDexSlot,
.outGameDexSlot a {
	color: var(--white);
}
.outGameDexMiddle,
.outGameDexNav {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: center;
	justify-content: space-around;
	align-items: flex-start;
}
.outGameDexBlock {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	position: relative;
}
.outGameDexBlock span.male {
	position: absolute;
	left: 0;
}
.outGameDexBlock span.female {
	position: absolute;
	right: 0;
}

/* Genders & Gender Ratio Bars */

.male { color: var(--male); }
.female { color: var(--female); }

.male,
.female {
	font-size: 11px;
}

.genderBar {
	max-width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	width: 200px;
}

.statbarLeft,
.statbarRight,
.genderless,
.femaleOnly,
.maleOnly {
	height: 10px;
	overflow: hidden;
}

.statbarLeft {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}
.statbarRight {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.maleOnly { background: var(--male); }
.femaleOnly { background: var(--female); }
.genderless { background: var(--genderless); }

.male87 {
	background: var(--male);
	width: 87.5%;
}
.male75 {
	background: var(--male);
	width: 75%;
}
.male50 {
	background: var(--male);
	width: 50%;
}
.male25 {
	background: var(--male);
	width: 25%;
}
.female12 {
	background: var(--female);
	width: 12.5%;
}
.female25 {
	background: var(--female);
	width: 25%;
}
.female50 {
	background: var(--female);
	width: 50%;
}
.female75 {
	background: var(--female);
	width: 75%;
}
.genderless,
.femaleOnly,
.maleOnly {
	width: 100%;
	border-radius: 5px;
}

/* Popup Windows */

.popup-container {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.6);
	text-align: center;
}
.popup-wrapper {
	margin: 0 auto;
	padding: 10px;
	position: relative;
	height: auto;
	width: 735px;
	overflow: hidden;
}
.popup-header {
	padding: 0 10px 0 10px;
	height: 30px;
	background: #37383a;
	background: url('https://static.pokemon-vortex.com/v6/layout/images/misc/popup_header.png'), linear-gradient(#37383a, #2d2e30);
	background-repeat: no-repeat;
	background-position: top left;
	border-bottom: 2px solid var(--maroon);
	border-top: 1px solid #494a4c;
	border-radius: 10px 10px 0 0;
	line-height: 30px;
	color: #fff;
}
.popup-title {
	position: absolute;
	left: 90px;
	font-size: 13px;
	font-weight: 800;
	font-family: orbitron;
	text-align: left;
}
.popup-content {
	max-height: 84%;
	width: 715px;
	background: #e2e2e2;
	padding: 10px;
	overflow-y: scroll;
	overflow-x: hidden;
	border-radius: 0 0 10px 10px;
	position: fixed;
}
.popupTitleImg {
	margin-bottom: 10px;
	pointer-events: none;
}
.popup-close {
	font-size: 18px;
	position: absolute;
	right: 0;
	margin-right: 10px;
	padding: 5px 10px 5px 5px;
	cursor: pointer;
	text-shadow: 0 0 1px #000, 0 0 1px #1a1a1a;
}
.popup-close:hover {
	color: var(--maroon);
	text-shadow: 0 0 1px maroon, 0 0 1px var(--maroon);
}
.login-bg, .pikachar-bg, .darkrown-bg {
	background-repeat: no-repeat;
	background-position: center;
}
.pikachar-bg {
	background-image: url('https://static.pokemon-vortex.com/v6/layout/images/outer_game/charmander-pikachu.png');
}
.darkrown-bg {
	background-image: url('https://static.pokemon-vortex.com/v6/layout/images/outer_game/darkrown.png');
}
.signup-select {
	text-shadow: 0 0 1px #0f0f0f, 0 0 3px #1a1a1a;
	box-shadow: 0 1px 1px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,0.1) inset;
	background: #d7d7d7;
	background: linear-gradient(#d7d7d7, #c9c8c8);
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 4px;
}
.signup-select:hover {
	background: #c9c8c8;
	background: linear-gradient(#c9c8c8, #bcbbbb);
}
.signup-selected {
	text-shadow: 0 0 1px #0f0f0f, 0 0 3px #1a1a1a;
	box-shadow: 0 1px 1px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,0.1) inset;
	background: var(--maroon);
	background: var(--maroon-gradient);
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 4px;
}
#signupForm,
#loginForm,
#pwresetForm,
#changepwForm,
#usernameRetrieval {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	align-items: center;
}
#signupForm input,
#signupForm select,
#loginForm input,
#pwresetForm input,
#changepwForm input,
#usernameRetrieval input {
	text-align: center;
	width: 300px;
	max-width: 100%;
	height: 30px;
}

#usernameAvailabilityResult > .available {
	color: #017a01;
}
#usernameAvailabilityResult > .notAvailable {
	color: var(--red);
}
.inputContainer {
	position: relative;
	display: inline-block;
	margin-bottom: 10px;
	max-width: 100%;
}
.inputContainer input {
	padding-right: 35px;
}
.togglePw,
.inputIcon {
	position: absolute;
	right: 0px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	width: 35px;
	height: 30px;
	line-height: 30px !important;
	font-size: 20px;
	opacity: 0.5;
	z-index: 1;
	text-align: center;
}

/* Ajax */

#ajax {
    text-align: center;
}

#loading {
    width: 100%;
    height: inherit;
    position: absolute;
	left: 0;
    background-image: url('https://static.pokemon-vortex.com/v6/layout/images/whiteout.gif');
    background-repeat: repeat;
    visibility: hidden;
    z-index: 50;
}
#sideTabLoad {
	/*margin: 150px 0px 0px 0px;*/
}
#mainLoad {
	
}
#sideTabLoad,
#mainLoad {
	font-weight: 600;
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-wrap: nowrap;
	align-items: center;
	pointer-events: none;
	position: relative;
	top: 50%;
}
#scroll {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}


/* Scrollbar */

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(255, 0, 0, 0.3);
}

/* Tables */

.darktablerow,
.lighttablerow,
.selftablerow {
	border: 1px dotted black;
}
.darktablerow { background-color: #EEEEEE; }
.lighttablerow { background-color: #F9F9F9; }
.selftablerow { background-color: #c35959; }

/* Misc */

hr {
	border-top: 1px solid #b3b2b2;
	border-bottom: 1px solid #d7d7d7;
	opacity: 0.5;
}

img.bw {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.hvr-float { transition: transform 0.5s; }
.hvr-float:hover { transform: translateY(-10px); }

.textTrim {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hapHeart,
.sun,
.moon {
	padding: 0px 2px 0px 2px;
	text-shadow: 1px 1px 1px #000;
	font-size: 12px;
}

.heart { color: #ea94bb; }
.maxHeart { color: #1475bb; }
.sun { color: #efc610; }
.moon { color: #5d5d5d; }

.navAvatar {
	height: 20px;
	width: 20px;
	border-radius: 50%;
}

.userFlag { height: 25px; }

.typeImg {
	border: 2px solid #00000033;
	border-radius: 5px;
	pointer-events: none;
}

.checkbox {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	font: inherit;
	color: var(--maroon-darker);
	background-color: var(--white);
	width: 20px;
	height: 20px;
	border: 1px solid var(--maroon-darker);
	border-radius: 4px;
	transform: translateY(-0.075em);
	display: grid;
	place-content: center;
}
.checkbox::before {
	content: "";
	width: 1.4em;
	height: 1.4em;
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
	transform: scale(0);
	transform-origin: bottom left;
	transition: 120ms transform ease-in-out;
	background-color: var(--maroon-darker);
}
.checkbox:checked::before {
	transform: scale(1);
}
.checkbox:disabled {
	opacity: 0.3;
}
