/* CSS Document */

/* General Classes */

html {
	scroll-behavior: smooth;
}

noscript {
	position: fixed;
	z-index: 2;
	top: 10px;
	border: 2px solid #fff;
	border-radius: 10px;
	background-color: #666666;
	padding: 8px;
	text-align: center;
	margin-left: 25%;
	margin-right: 25%;
	width: 50%;
}

body {
	background-color: #141414;
	font-family: 'Nunito', sans-serif;
    color: #fff;
	font-size: 1em;
	font-weight: 400;
	min-width: 730px;
}

h3, h4, h5 {
	font-family: 'Nunito', sans-serif;
	font-size: 1.05em;
}

b {
	font-weight: 800;
}

a {
	color: #1e73be;
}

a:hover {
	transition-duration: 0.15s;
	filter: opacity(0.5);
}

.main-wrapper {
  width: 100%;
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
}

.svl-content {
  width: 98%;
  margin-right: auto;
  margin-left: auto;
}

section.tier-tables {
	align-content: center;
	font-family: 'Permanent Marker', cursive;
	font-size: 35px;
	line-height: 1.3;
	user-select: none;
}

#changelog {
	border-top: 2px solid #5c5c5c;
	margin: 20px 0 0;
	user-select: text;
}

.tierheading {
    font-family: 'Fredoka One', cursive;
    font-weight: 600;
    text-align: center;
    color: #fff;
    font-size: 30px;
    line-height: 1.2;
	margin-bottom: 10px;
	user-select: text;
    display: flex;
    align-items: flex-end;
    justify-content: center;
	margin-top: 40px;
}

.heading {
    font-family: 'Permanent Marker', cursive;
    font-weight: 700;
    text-align: center;
    color: #fff;
    font-size: 22px;
    line-height: 2;
    margin-bottom: 15px;
    margin-top: 40px;
}

::selection {
	color: #fff;
	background-color: #000000;
}


/* Content Elements */

.intro-text {
    text-align: center;
    font-family: 'Permanent Marker', cursive;
    font-weight: 600;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    padding: 20px 0px 10px 0px;
    margin-bottom: 10px;
}

	/* Local Navigation Menu */

.localnav {
	font-family: 'Nunito', sans-serif;
	font-size: 20px;
	background-color: #181818;
	border: 2px solid #3a3a3a;
	box-shadow: 0 0 8px #000;
	border-radius: 1em;
	text-align: center;
    text-decoration: none;
	padding: 4px 10px;
}

div .localnav {
	display: inline-block;
	margin: 5px;
}

div .localnav:hover {
	transition-duration: 0.15s;
	filter: opacity(0.5);
}

.localnav a {
	text-decoration: none;
}

	/* Milestones */

.milestones {
	font-family: 'Nunito', sans-serif;
	line-height: 1.5;
	color: #fff;
}

.milestones h3 {
	font-size: 22px;
}

.milestones td {
    font-size: 18px;
    text-align: center;
    padding-top: 10px;
    border-bottom: #323232 1px solid;
}

	/* Team Tables */

table.team-table th {
	background-color: #666666; 
	font-family: 'Fredoka One', cursive;
	font-weight: 600;
	font-size: 45px;
	line-height: 1.4;
}

table.team-table tr {
	font-family: 'Nunito', serif;
	font-weight: 700;
	text-align: center;
	color: #000000;
	font-size: 25px;
	line-height: 1.2;
}

.team-table a:hover {
	color: #14548C;
	filter: opacity(1);
}

table.team-table tr:nth-child(even) td {
	background-color: #b7b7b7;
	text-decoration: underline;
}

table.team-table tr:nth-child(odd) td {
	background-color: #999999;
	text-decoration: underline;
}

	/* Server List Classes */

#server-list div {
	display: inline-block;
	max-width: 210px;
	margin: 10px 35px;
	font-size: 22px;
}

#server-list a:hover {
	filter: opacity(0.5);
	transition-duration: 0.15s;
}

	/* Mobile Trading Server Stylization Optimization */

@media only screen and (max-width: 768px) {
	
	#server-list div {
		max-width: 240px;
		margin: 0px 50px;
		font-size: 30px !important;
	}
	
	#ServersTTL {
		height: 100px;
	}
	
}

	/* Feeds /-/ Misc */

.homefeed .homefeed-cell {
	display: inline-block;
}

.advfeed {
	border: #fff 2px solid;
	border-radius: 10px;
	width: 1004px;
	padding: 5px;
	background-color: #1f1f1f;
	min-height: 145px;
	font-family: 'Nunito', sans-serif;
	font-size: 16px;
	text-align: left;
    display: flex;
}

.discordfeed {
	border: #fff 2px solid;
	border-radius: 10px;
	padding: 5px;
	padding-left: 8px;;
	background-color: #1f1f1f;
	min-height: 145px;
	font-family: 'Nunito', sans-serif;
	font-size: 16px;
	text-align: left;
}

.callout {
    width: 1000px;
    /*border: #fff 1.5px solid;*/
    margin-top: 25px;
    margin-bottom: 20px;
}

.content-ad {
	padding-top: 15px;
}

.link-table {
    padding: 20px 0px;
}


/* Header */

header {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid #666666;
    margin: 10px 0;
	width: 100%;
}

header img {
	width: 42vw;
	min-width: 520px;
}

.headertext {
    font-family: 'Fredoka One', cursive;
    font-weight: 500;
	font-size: 18px;
    color: #fff;
	line-height: 1.3;
    text-align: center;
    width: auto;
}

@media only screen and (max-width: 768px) {
	
	.headertext {
		font-size: 18px;
	}
	
}


/* Title Area Classes */

.title-img {
    display: block;
    margin-bottom: 10px;
    margin-top: 18px;
    height: 125px;
}

.home-title-img {
    display: block;
    margin-bottom: 20px;
    margin-top: 10px;
    height: 160px;
}

.title-area {
	font-family: 'Fredoka One', cursive;
	font-weight: 600;
	font-size: 35px;
	line-height: 1.3;
}

.title-area a {
	color: #1e73be;
}

	/* Mobile Title Area Stylization Optimization */

@media only screen and (max-width: 768px) {
	
	#HomeTTL {
		height: 100px;
	}
	
}

/* Items */

#search, #year {
    width: 220px;
    font-family: 'Nunito';
    background: #5b5b5b;
    margin: 8px 0 20px 0;
    padding: 5px 8px;
    border-radius: 12px;
    border: 2px solid #3a3a3a;
    box-shadow: 0 0 3px 0px #000;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

#year {
    width: 43px !important;
    margin: 8px 3px 20px 3px !important;
}

#search:focus #year:focus {
    background: #5b5b67;
}

#searchBttn, #filterBttn, #clearFiltersBttn, #stabilitySelect, #eventSelect, #sortCombinedSelect {
    font-family: 'Nunito';
    background: #262626;
    padding: 5px 8px;
    border-radius: 12px;
    margin: 0 0 0 5px;
    border: 2px solid #3a3a3a;
    box-shadow: 0 0 3px 0px #000;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    font-size: 16px;
}

#filterBttn, #clearFiltersBttn {
    margin: 0;
}

#filterBttn {
    margin: 0 0 0 10px;
    border-radius: 12px 0 0 12px;
}

#clearFiltersBttn {
    border-radius: 0 12px 12px 0;
    margin: 0 0 0 -3px;
}

#searchBttn:hover, #filterBttn:hover, #clearFiltersBttn:hover, #stabilitySelect:hover, #eventSelect:hover, #sortCombinedSelect:hover {
    opacity: 0.75;
    transition-duration: 0.15s;
}

#alert {
    color: #ff0000;
    margin: -5px 0;
    height: 20px;
}

::placeholder {
  color: #878787;
  opacity: 1;
}

#filterMsg {
    font-size: 18px;
    font-weight: 900;
}

#stabilitySelect, #eventSelect, #sortCombinedSelect {
    text-align: center;
    padding: 4px;
    margin: 3px;
}


	/* Item Cells */

.tier-tables > .itemcolumn {
    margin: -2px -2px;
}

.itemcolumn {
    width: 330px;
	margin: -2px 0;
	display: inline-block;
}

/* Ensure consistent spacing for dynamically sorted grids on item pages */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
    justify-content: center;
}
.itemcell {
    border: #3a3a3a 2px solid;
	border-radius: 8px;
    min-height: 135px;
    width: 330px;
	background-color: #1b1b1b;
	box-shadow: 0 0 3px 1px #000;
	user-select: text;
}

.itemcell table td {
	padding: 0px;
	vertical-align: top;
}

.itemcell table {
    padding-top: 5.5px;
    padding-bottom: 0px;
	max-width: 318px;
}

	/* Taller Item Cells [Used for Sets/Pets/Untradables] */

.itemcell-exp {
    border: #3a3a3a 2px solid;
	border-radius: 8px;
    min-height: 151px;
    width: 330px;
	background-color: #1b1b1b;
	box-shadow: 0 0 3px 1px #000;
	user-select: text;
}

.itemcell-exp table td {
	padding: 0px;
	vertical-align: top;
}

.itemcell-exp table {
    padding-top: 5.5px;
    padding-bottom: 0px;
	max-width: 318px;
}

.itemcell-exp .itemimage {
	padding-top: 5px;
}

.itemimage {
	font-family: 'Nunito', sans-serif;
    text-align: left;
	color: #fff;
	font-size: 16px;
    width: 115px !important;
    height: 115px !important;
	max-width: 122px;
	padding-top: 3px;
    padding-right: 7px;
}

.itemimage:hover {
	filter: opacity(0.9);
	transition-duration: 0.15s;
}

/* Style for clickable image button wrapper */
td.itemimage button {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	display: inline-block;
}

td.itemimage button:focus {
	outline: none;
}

.itemhead {
	font-family: 'Nunito', sans-serif;
	font-size: 17px;
	font-weight: 700;
	text-decoration: underline;
	line-height: 1.3;
	color: #fff;
	width: 190px;
	padding-top: 4px;
	text-align: left;
}

.itemhead img {
	cursor: help;
	width: 20px;
	float: right;
}

.itembody {
    font-family: 'Nunito', sans-serif;
    font-size: 11.3px;
    line-height: 1.35;
    color: #fff;
    text-align: left;
    vertical-align: middle;
}

.itembody img {
    margin: 0 1px -4px;
	max-height: 15px;
	border-radius: 50%;
}

img[src="../media/stability/Stable.png"] {
	box-shadow: 0 0 0 1px #3c3c3c;
}

img[alt="Item Badge"] {
	cursor: help;
}

sep::before {
    font-family: 'Arial';
    margin: 0 10px;
    content: '•';
}

	/* Mobile Item Text Optimization */

@media only screen and (max-width: 768px) {

	.itembody {font-size: 12px;}
	
	.itemhead {padding-top: 2px;}
	
}


/* Footer */

footer {
	clear: both;
	display: block;
    /*background-color: #131313;*/
	padding: 35px;
    margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
    border-top: 1px #666666 solid;
}

.footertext {
	font-family: 'Nunito', sans-serif;
	font-size: 21.4px;
	line-height: 1.4;
	color: #fff;
	margin-left: auto;
	margin-right: auto;
}

footer .credit {
	font-size: 20.2px;
}

footer .copyright {
	font-size: 15px;
	line-height: 1.2;
	color: #969696;
}

footer a:hover {
	filter: opacity(0.5);
	transition-duration: 0.05s;
}

#footerbar {
	clear: both;
	text-align: center;
	padding: 12px 0px;		
	background-color: transparent;
	width: 100%;
}

.footerNav {
	width: 20%;
	border-left: 1px #323232 solid;
	padding-left: 14px;
}

	/* Mobile Footer Optimization */

@media only screen and (max-width: 768px) {

	footer .credit {
		line-height: 1.2;
		font-size: 19px;
	}
	
	footer .copyright {
		padding-top: 3px;
		line-height: 1.3;
	}
	
	.footerNav {
		font-size: 15px;
		width: 20%;
	}

}


/* SV "Broad" Classes [Information-Oriented Pages] (Not SVB as in "Supreme Values Bot" LOL) */

.svb-header {
    font-family: 'Fredoka One', cursive;
    font-weight: 500;
    text-align: center;
	text-decoration: underline;
    color: #fff;
    font-size: 30px;
	line-height: 1.5;
	margin: 40px 0px 20px 0px;
}

.svbtext {
	font-family: 'Nunito', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #fff;
	margin: 5px 0px;
	padding: 0px 60px;
}

.svbtext a {
	text-decoration: underline;
	color: #1e73be;
}

.svbtext a:hover {
	transition-duration: 0.15s;
	filter: opacity(0.5);
}


/* Pop Ups */

	/* Fixes item-image spacing when experimental features are active */

.itemcell button {
	padding: 0;
	border: none;
	background-color: transparent;
	cursor: pointer;
}

.itemcell-exp button {
	padding: 0;
	border: none;
	background-color: transparent;
	cursor: pointer;
}

	/* Experimental Features Pop-Up */

#popUp {
	z-index: 1;
	position: fixed;
	display: none;
	left: 220px;
	bottom: 5px;
	width: 300px;
	padding: 8px 10px 20px;
	overflow: hidden;
	background-color: #1b1b1b;
	color: #fff;
	border-top: 2px solid #565656;
	border-right: 2px solid #565656;
    border-bottom: 2px solid #565656;
	border-radius: 0 18px 18px 0;
	box-shadow: 0px 0px 10px #000;
	transition-duration: 0.25s;
	white-space: nowrap;
}

#popUp .hidebttn {
	font-family: 'Nunito', sans-serif;
	font-size: 45px;
	line-height: 0.6;
	padding: 0;
	color: #fff;
	background-color: transparent;
	border: none;
	transition-duration: 0.15s;
}

#popUp-itemName {
	font-size: 20px;
}

#popUpTitle {
	border-bottom: 1px solid #fff;
	color: #fff;
	font-size: 23px;
	line-height: 1.3;
	padding-bottom: 5px;
	margin-bottom: 5px;
}

	/* Mobile Pop-Up Optimization */

@media only screen and (max-width: 768px) {

	#popUp {
		left: 0;
		font-size: 22px;
		width: 400px;
		padding-bottom: 25px;
	}
	
	#popUp-itemName {
		font-size: 28px;
	}
	
	#popUpTitle {
		font-size: 33px;
	}
	
	#popUp .hidebttn {
		font-size: 65px;
	}
	
	#invCalc {
		width: 280px !important;
	}
	
	#invCalc button {
		font-size: 16px !important;
	}
	
	#invCalcTitle {
		font-size: 25px !important;
	}
	
	#invValue {
		font-size: 21px !important;
	}

}


	/* Inventory Calculator */
	
#invCalc {
	z-index: 1;
	position: fixed;
	display: block;
	right: 0;
	bottom: 5px;
	width: 200px;
	padding: 10px;
	background-color: #1b1b1b;
	color: #fff;
	border-top: 2px solid #565656;
	border-left: 2px solid #565656;
	border-bottom: 2px solid #565656;
	border-radius: 18px 0 0 18px;
	box-shadow: 0px 0px 10px #000;
}
	
#invCalc button {
	padding: 0 5px;
	font-family: 'Nunito', sans-serif;
	background-color: #3c3c3c;
	border: none;
	border-radius: 1em;
	color: #fff;
	cursor: pointer;
	user-select: none;
}
	
#invCalc button:hover {
	filter: opacity(0.5);
	transition-duration: 0.15s;
}
	
#invCalcTitle {
	font-size: 18px;
	font-weight: 800;
	text-decoration: underline;
}
	
#invValue {
	font-size: 16px;
    padding: 2px 0;
}

.itemvalue {
    margin-right: 1px;
}

.addvalue, .removevalue, .customvalue {
	background-color: #3c3c3c !important;
	height: 14px;
	font-size: 11px;
    font-family: 'Nunito', sans-serif;
	font-weight: 600;
    line-height: 1.25;
	border: 1px solid #141414 !important;
	color: #fff;
	user-select: none;
}

.addvalue, .removevalue {
	width: 20px;
	border-radius: 5px;
}

.customvalue {
    width: 14px;
    border-radius: 0 5px 5px 0;
}
	
.addvalue:hover, .removevalue:hover, .customvalue:hover {
	filter: opacity(0.5);
	transition-duration: 0.15s;
}

.itembody input {
    background-color: #6B6B6B;
    text-align: right;
    color: #fff;
    width: 24px;
    max-height: 12px;
    font-size: 11px;
    font-weight: 700;
    border: none;
    border-radius: 5px 0 0 5px;
    padding: 0 3px;
    margin: 0 0 0 2px;
}
	

/* Sidebar All */

.sidebar {
	position: fixed;
	overflow-x: hidden;
	z-index: 2;
	width: 0px;
	transition: 0.25s;
	background-color: #141414;
	filter: drop-shadow(5px 0px 5px #0a0a0a);
	top: 0px;
	left: 0px;
}

	/* Close/Hide Button [Navigation] */

.sidebar .hidebttn {
	position: absolute;
	padding: 0px 10px 0px 10px;
	top: 0;
	text-decoration: none;
	text-align: left;
	color: #fff;
	font-weight: 700;
	transition-duration: 0.15s;
}

.hidebttn:hover {
	filter: opacity(0.5);
	cursor: pointer;
}

	/* View Button [Navigation] */

.viewbttn {
	position: fixed;
	z-index: 1;
	background-color: #1b1b1b;
	color: #fff;
	border: 2px #3a3a3a solid;
	border-radius: 50%;
    box-shadow: 0 0 4px 1px #000;
	float: left;
	transition-duration: 0.15s;
	cursor: pointer;
}

.viewbttn:hover {
	filter: opacity(0.7);
}

.viewbttn div {
	background-color: #fff;
	margin: 8px 0;
    border-radius: 5px;
}

	/* Sidebar CSS [Navigation] */

nav {
	padding-top: 0px;
	margin-top: 0px;
}

nav table {
    padding: 0 0 0 2px;
}

nav ul a {
    display: block;
    width: 205px;
	text-decoration: none;
}

nav ul > span {
    display: block;
    width: 205px;
}

nav ul {
    list-style-type: none;
    padding-left: 0px;
}

nav ul li a {
    color: #fff;
}

nav ul li {
	display: flex;
	align-items: center;
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	color: #fff;
	border-bottom: 1px #2c2c2c solid;
	white-space: nowrap;
}

nav ul li:hover span {
	transition-duration: 0.15s;
	filter: opacity(0.4);
}

nav ul li:hover img {
	transition-duration: 0.15s;
	filter: opacity(0.4);
}

		/* Sidebar CSS 768px+ */

@media only screen and (min-width: 769px) {
	
	#navSidebar {
		width: 220px;
	}
	
	#main {
		width: calc(98% - 220px);
		margin-left: calc(1% + 220px);
	}
	
	#body {
		min-width: 1125px;
	}
	
	.sidebar {
		height: calc(100% - 50px);
		padding-top: 50px;
	}
	
	.sidebar .hidebttn {
		font-size: 45px;
	}
	
	.viewbttn {
		font-size: 39px;
		padding: 18px 24px;
	}
	
	.viewbttn div {
		height: 4px;
		width: 30px;
	}

	nav ul li {
		padding: 0px 20px 0px 10px;
	    font-size: 19px;
	    line-height: 1.7;
	}

	nav ul li img {
		padding-right: 12px;
		height: 20px !important;
	}

	h3.sidebar-header {
	    font-family: 'Nunito', sans-serif;
	    font-weight: 900;
	    color: #fff;
	    font-size: 20px;
	    line-height: 0;
		padding-left: 10px;
		text-decoration: underline;
	}

}

		/* Sidebar CSS <768px */

@media only screen and (max-width: 768px) {

	#navSidebar {
		filter: drop-shadow(15px 0px 12px #000);
	}

	.sidebar {
		height: calc(100% - 112px);
		padding-top: 112px;
	}
	
	.sidebar .hidebttn {
		font-size: 100px;
	}
	
	.viewbttn {
		font-size: 65px;
		padding: 24px 28px;
	}
	
	.viewbttn div {
		height: 5px;
		width: 35px;
	}
    
    nav ul a {
        width: 425px !important;
    }

	nav ul li {
		padding: 0px 18px;
	    font-size: 40px;
	    line-height: 1.7;
	}

	nav ul li img {
		padding-right: 20px;
		height: 45px !important;
	}

	h3.sidebar-header {
	    font-family: 'Nunito', sans-serif;
	    font-weight: 900;
	    color: #fff;
	    font-size: 42px;
	    line-height: 0;
		padding-left: 10px;
		text-decoration: underline;
	}

}


/* Scrollbar */

	/* Firefox */

* {
	scrollbar-width: thin;
	scrollbar-color: #818181 #141414;
}

.sidebar:hover {
	scrollbar-color: #979797 #141414;
}

	/* Chrome, Edge, and Safari */

*::-webkit-scrollbar-thumb:hover {
	background-color: #979797;
}

.sidebar::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

.sidebar::-webkit-scrollbar-track {
	background: #141414;
	border: none;
}

.sidebar:hover::-webkit-scrollbar-thumb {
	background-color: #979797;
}

.sidebar:hover::-webkit-scrollbar-thumb:hover {
	background-color: #a3a3a3;
}
	
*::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

*::-webkit-scrollbar-track {
	background: #141414;
	border-left: 1px solid #222222;
}

*::-webkit-scrollbar-thumb {
	background-color: #818181;
	border-radius: 6px;
	border: 2px solid #141414;
}

::-webkit-outer-spin-button, ::-webkit-inner-spin-button {
    display: none;
}


/* Breakpoint Classes */

	/* Mobile */
	
@media only screen and (max-width: 768px) {
	
	.otherDisp {display: none;}
	
	html {
		float: left;
	}
	
	#shout {
		font-size: 10px !important;
	}
	
	#tagline {
		margin-top: 15px;
		font-size: 20px !important;
	}
    
    .customvalue, .itembody input {
        display: none;
    }
	
	.content-ad ins {
		width: 468px !important;
		height: 90px !important;
	}
	
	.content-ad {
		padding-left: calc(50% - 248px);
		padding-right: calc(50% - 248px);
	}
	
}

	/* Other */
	
@media only screen and (min-width: 768px) {
	
	.mobDisp {display: none;}
	
}

/* PlayWire */

	#shout {
		margin: 0 0 10px;
	}
	
	div[data-pw-desk="leaderboard_btf"], div[data-pw-mobi="leaderboard_btf"], div[data-pw-mobi="leaderboard_atf"], #leaderboard_atf {
		padding: 10px 0;
		line-height: 0;
	}
	
	@media only screen and (min-width: 768px) {
	
		div[data-pw-mobi="leaderboard_btf"], #pwMobiLbAtf {
			display: none;
		}
	
	}