/*********************************************
 ** Responsive Stylesheet for Flux theme **
 *********************************************/

/* ==========================================================================
   Base Styles - Mobile First
   ========================================================================== */

.loginbox-admin-menu {
	padding-top: 5px;
	color: #94b4d5;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0 10px 20px;
	font-family: "Lucida Grande", "Lucida Sans", Verdana, Tahoma, sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: #000;
	background-color: #000000;
	background-image: url('../img/PWWALL1.png');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
}

table {
	font-family: "Lucida Grande", "Lucida Sans", Verdana, Tahoma, sans-serif;
	font-size: inherit;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
}

tr, td, th {
	vertical-align: top;
}

.horizontal-table tr, .vertical-table tr, .generic-form-table tr,
.horizontal-table td, .vertical-table td, .generic-form-table td {
	vertical-align: middle;
}

.horizontal-table th, .vertical-table th, .generic-form-table th {
	vertical-align: top;
}

h2 {
	color: #444;
	letter-spacing: -1px;
	font-size: 1.8em;
	margin: 0.5em 0;
}

h3 {
	font-weight: normal;
	font-size: 1.4em;
	color: #444;
	border-bottom: 1px dotted #ddd;
	text-transform: uppercase;
	margin: 1em 0 0.5em;
}

h3:first-letter {
	font-weight: bold;
}

h4 {
	font-size: 1.2em;
	margin: 0.8em 0 0.4em;
}

p {
	margin: 4px 0 8px 0;
	padding: 0;
}

a img {
	border: 0;
	max-width: 100%;
	height: auto;
}

a {
	color: #4083c6;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
}

input[type=text], 
input[type=password], 
input[type=file], 
input[type=email],
input[type=number],
textarea,
select {
	font-family: "Lucida Grande", "Lucida Sans", Verdana, Tahoma, sans-serif;
	padding: 8px;
	font-size: 14px;
	color: #444;
	border: 1px solid #ddd;
	outline-width: 0;
	width: 100%;
	max-width: 100%;
	border-radius: 4px;
}

label {
	display: block;
	margin-bottom: 5px;
}

label:hover {
	cursor: pointer;
}

button,
input[type=submit],
input[type=button],
input[type=reset] {
	padding: 10px 20px;
	font-size: 14px;
	border-radius: 4px;
	cursor: pointer;
	border: 1px solid #ccc;
	background-color: #eee;
	transition: all 0.3s ease;
}

button:hover,
input[type=submit]:hover,
input[type=button]:hover,
input[type=reset]:hover {
	background-color: #333;
	color: #fff;
	border-color: #111;
}

.module-name {
	font-weight: bold;
	font-size: 1.2em;
}

.message {
	display: block;
	padding: 15px;
	margin: 10px 0;
	font-weight: bold;
	font-size: 1.1em;
	color: #fff;
	background-color: #333;
	border-radius: 4px;
}

.notice {
	display: block;
	padding: 15px;
	margin: 10px 0;
	font-weight: normal;
	font-size: 1.1em;
	color: #204a87;
	background-color: #F0FFFF;
	border: 1px solid #87CEEB;
	border-radius: 4px;
}

.center {
	text-align: center;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

/* Sidebar - Mobile First */
#admin_sidebar, #sidebar {
	margin-bottom: 10px;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

#admin_sidebar img, #sidebar img {
	display: block;
	max-width: 100%;
	height: auto;
}

#admin_sidebar td, #sidebar td {
	padding: 0;
}

#admin_sidebar td.menuitem, #admin_sidebar th.menuitem {
	display: block;
	font-size: 14px;
	border-width: 0 13px 0 11px;
	border-style: solid;
	border-color: #8b8b8b;
}

#admin_sidebar th.menuitem {
	background-color: #303030;
}

#admin_sidebar th.menuitem strong {
	display: block;
	margin: 0 12px;
	padding: 10px 0 2px 0;
	font-size: 1em;
	text-align: center;
	color: #fff;
	border-bottom: 1px solid #555;
}

#admin_sidebar td.menuitem a {
	margin: 0 auto;
	display: block;
	padding: 10px 5px 10px 18px;
	color: #fff;
	background-color: #303030;
	text-align: left;
	text-shadow: #000 1pt 1pt;
	text-decoration: none;
}

#admin_sidebar td.menuitem a:hover {
	color: #fff;
	background-color: #4a5259;
	text-shadow: #4a5259 1pt 1pt;
}

#sidebar td.sidebar-left, #sidebar td.sidebar-right {
	background-color: #e6f0fa;
}

#sidebar td.menuitem, #sidebar th.menuitem {
	display: block;
	font-size: 14px;
	border-width: 0 13px 0 11px;
	border-style: solid;
	border-color: #c4d9ee;
}

#sidebar th.menuitem {
	background-color: #94b4d5;
}

#sidebar th.menuitem strong {
	display: block;
	margin: 0 12px;
	padding: 10px 0 2px 0;
	font-size: 1em;
	text-align: center;
	color: #fff;
	border-bottom: 1px solid #c4d9ee;
}

#sidebar td.menuitem a {
	margin: 0 auto;
	display: block;
	padding: 10px 5px 10px 18px;
	color: #fff;
	background-color: #94b4d5;
	text-align: left;
	text-shadow: #708fae 1pt 1pt;
	text-decoration: none;
}

#sidebar td.menuitem a:hover {
	color: #fff;
	background-color: #708fae;
	text-shadow: #708fae 1pt 1pt;
}

#sidebar td.menuitem a span {
	display: block;
}

/* Content Area */
#content {
	color: #555;
	width: 100%;
	padding: 10px;
}

#loginbox {
	margin-bottom: 10px;
	color: #555;
	width: 100%;
}

/* ==========================================================================
   Tables - Responsive
   ========================================================================== */

.horizontal-table,
.vertical-table,
.install_table,
.woe-table {
	border-spacing: 0;
	border-collapse: collapse;
	width: 100%;
	overflow-x: auto;
	display: block;
}

.horizontal-table th,
.vertical-table th,
.install_table th {
	padding: 8px 10px;
	background-color: #eee;
	font-size: 14px;
	border: 1px solid #ddd;
}

.horizontal-table td,
.vertical-table td,
.install_table td {
	padding: 8px 10px;
	background-color: #fff;
	font-size: 14px;
	border: 1px solid #ddd;
}

.vertical-table label {
	display: block;
	padding: 5px;
}

/* Shop Table - Responsive */
.shop-table {
	width: 100%;
	color: #000;
	border-spacing: 0;
	border-collapse: collapse;
	margin: 10px 0;
}

.shop-table td {
	padding: 10px;
	background-color: #fff;
	border: 1px solid #ddd;
	display: block;
	width: 100%;
}

.shop-item-image {
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
}

.shop-item-name {
	margin: 0 0 10px 0;
	padding: 0 0 5px 0;
	font-size: 1.3em;
	color: #222;
	border-bottom: 1px solid #eee;
}

.shop-item-cost-qty {
	width: 100%;
	color: #aaa;
	text-align: center;
	margin: 10px 0;
}

.shop-item-action {
	text-align: center;
	margin-top: 10px;
}

/* Server Status Table */
#server_status {
	border-spacing: 0;
	border-collapse: collapse;
	background-color: #fff;
	border: 1px solid #ddd;
	width: 100%;
	overflow-x: auto;
	display: block;
}

#server_status th, 
#server_status td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid #ddd;
	display: block;
	width: 100%;
}

/* ==========================================================================
   Forms - Responsive
   ========================================================================== */

.generic-form,
.generic-form-div {
	padding: 15px;
	background-color: #fff;
	border: 1px solid #ddd;
	width: 100%;
	border-radius: 4px;
	margin: 10px 0;
}

.generic-form-table {
	width: 100%;
}

.generic-form-table th,
.generic-form-table td {
	display: block;
	width: 100%;
	padding: 5px 0;
}

.generic-form-table th {
	text-align: left;
	font-weight: bold;
}

.generic-form-table th label {
	display: block;
	padding: 6px 0;
}

.generic-form-table td div {
	display: block;
	padding: 6px 0;
}

.generic-form-table td input[type=checkbox] {
	display: inline-block;
	width: auto;
	margin-top: 6px;
}

#register_form input[type=text], 
#register_form input[type=password], 
#login_form input[type=text], 
#login_form input[type=password],
#register_form select, 
#login_form select {
	width: 100%;
	max-width: 300px;
}

textarea {
	width: 100%;
	max-width: 100%;
	min-height: 120px;
	resize: vertical;
}

/* Search Forms */
.search-form, 
.search-form2 {
	display: none;
	margin: 10px 0;
	padding: 10px;
	border: 1px solid #ddd;
	background-color: #f9f9f9;
	border-radius: 4px;
}

.search-form p, 
.search-form2 p {
	margin: 0 0 10px 0;
	padding: 0;
	color: #aaa;
	text-align: left;
}

.search-form label, 
.search-form2 label {
	display: block;
	margin: 10px 0 5px 0;
	font-size: 14px;
	font-style: italic;
	color: #222;
}

.search-form input[type=text], 
.search-form2 input[type=text] {
	display: block;
	width: 100%;
	margin: 5px 0;
	padding: 8px;
	font-size: 14px;
}

.search-form input[type=submit], 
.search-form2 input[type=submit],
.search-form input[type=button], 
.search-form input[type=reset],
.search-form2 input[type=button], 
.search-form2 input[type=reset] {
	display: inline-block;
	width: auto;
	margin: 10px 5px 0 0;
	font-size: 14px;
}

.search-form select, 
.search-form2 select {
	display: block;
	width: 100%;
	margin: 5px 0;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.request, .fs-path {
	display: inline-block;
	padding: 5px 8px;
	font-family: Monaco, "Lucida Console", "Bitstream Vera Sans Mono", monospace;
	font-size: 12px;
	background-color: #fff;
	border: 1px solid #eee;
	border-radius: 3px;
	word-break: break-all;
}

.keyword {
	color: #ffba00;
	font-style: italic;
}

.red {
	display: block;
	padding: 15px;
	margin: 10px 0;
	font-weight: bold;
	font-size: 1.1em;
	color: #fff;
	background-color: #f00;
	border-radius: 4px;
}

.green {
	display: block;
	padding: 15px;
	margin: 10px 0;
	font-weight: bold;
	font-size: 1.1em;
	color: #fff;
	background-color: #0c0;
	border-radius: 4px;
}

.note {
	padding: 10px;
	color: #444;
	background-color: #eaeaea;
	font-style: italic;
	border-radius: 4px;
	margin: 10px 0;
}

.info-text {
	margin-bottom: 10px;
	padding: 10px;
	color: #666;
	background-color: #fff;
	border: 1px solid #ccc;
	text-align: center;
	border-radius: 4px;
}

/* Status Classes */
.up {
	font-weight: bold;
	color: #0f0;
	text-transform: uppercase;
}

.down {
	color: #f00;
	text-transform: uppercase;
}

.online {
	color: #000;
}

.offline {
	color: #aaa;
}

.created {
	color: green;
}

.missing {
	color: red;
}

.state-pending {
	color: orange;
}

.state-banned {
	color: red;
}

.state-permanently-banned {
	font-weight: bold;
	color: red;
}

/* Item Classes */
.normalslotted .equipped {
	color: #25292b;
}

.overslotted1 {
	color: #32cd32;
}

.overslotted2 {
	color: #00bfff;
}

.overslotted3 {
	color: #ffa500;
}

.overslotted4 {
	color: #9932cc;
}

.equipped td {
	background-color: #f1ffff;
}

.mvp {
	font-size: xx-small;
	font-weight: bold;
	color: #ff0000;
	vertical-align: top;
}

.top-ranked td {
	font-weight: bold;
	color: #000;
	background-color: #FFF8DC;
}

.top-ranked a {
	color: #000;
	border-bottom: 1px dotted #666;
}

/* ==========================================================================
   Navigation & Menus
   ========================================================================== */

.pages {
	margin-top: 20px;
	padding-top: 10px;
	color: #ccc;
	text-align: center;
	border-top: 1px solid #ddd;
}

.pages .page-prev, 
.pages .page-next {
	color: #94b4d5;
	padding: 5px 10px;
	display: inline-block;
}

.pages .page-num {
	padding: 5px;
	display: inline-block;
}

.pages .current-page {
	color: #000000;
	font-weight: bold;
}

.jump-to-page {
	margin-top: 8px;
	font-size: 14px;
	text-align: center;
}

.jump-to-page input {
	padding: 5px;
	font-size: 14px;
	width: 80px;
}

#submenu {
	color: #bbb;
	overflow-x: auto;
}

#pagemenu {
	margin-top: 5px;
	padding: 10px 0;
	font-size: 13px;
	color: #888;
	border-width: 1px 0;
	border-style: dotted;
	border-color: #ddd;
	overflow-x: auto;
}

#pagemenu a {
	color: #777974;
	text-decoration: underline;
	display: inline-block;
	padding: 5px;
}

#pagemenu a:hover {
	color: #729fcf;
}

/* ==========================================================================
   Shopping Cart & Credits
   ========================================================================== */

.credit-balance {
	display: block;
	width: 100%;
	padding: 15px;
	margin: 10px 0;
	color: #000;
	background-color: #eee;
	border: 1px dotted #ddd;
	border-radius: 4px;
	text-align: center;
}

.credit-balance .balance-text {
	display: block;
	margin-bottom: 5px;
	color: #bbb;
	text-transform: uppercase;
}

.credit-balance .balance-amount {
	font-weight: bold;
	font-size: 1.5em;
}

.cart-items-text {
	margin: 0 0 10px 0;
	padding: 15px;
	color: #ddd;
	background-color: #888;
	border: 5px solid #777;
	border-radius: 4px;
}

.cart {
	width: 100%;
	overflow-x: auto;
}

.cost {
	color: #000;
	font-size: 1.2em;
	font-weight: bold;
	text-transform: uppercase;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#copyright p {
	margin-top: 10px;
	margin-bottom: 0px;
	font-style: italic;
	font-size: 12px;
	color: #000;
	text-align: center;
}

#copyright p a {
	color: #000;
	text-decoration: none;
}

#copyright p a:hover {
	color: #000;
	text-decoration: none;
}

#info p {
	margin-top: 10px;
	margin-bottom: 0px;
	font-style: italic;
	font-size: 12px;
	color: #000;
	text-align: center;
}

#info p strong {
	color: #000;
	font-weight: normal;
}

/* ==========================================================================
   Character Stats
   ========================================================================== */

.character-stats {
	border-spacing: 0;
	border-collapse: collapse;
	color: #ccc;
	width: 100%;
	margin: 10px 0;
}

.character-stats td {
	padding: 5px 10px;
	border: 0;
	text-align: center;
}

.character-stats .stat-name {
	color: #666;
	font-weight: bold;
}

.character-stats .stat-value {
	color: #000;
	font-size: 1.1em;
}

/* ==========================================================================
   Miscellaneous
   ========================================================================== */

.raw-txn-log {
	padding: 10px;
	font-family: "Monaco", "Lucida Console", "Courier New", monospace;
	background-color: #fff;
	border: 1px solid #ddd;
	width: 100%;
	overflow-x: auto;
	font-size: 12px;
	border-radius: 4px;
}

.script-line {
	font-family: Monaco, "Lucida Console", monospace;
	font-size: 12px;
}

.script {
	width: 100%;
	overflow-x: auto;
}

.security-code {
	margin: 10px auto;
	text-align: center;
	max-width: 145px;
	height: auto;
}

.action {
	color: #ddd;
}

.action a, 
.action span.anchor {
	color: #80a2c8;
	border-bottom: 1px solid #eee;
	cursor: pointer;
}

.action a:hover,
.action span.anchor:hover {
	border-bottom: 1px solid #80a2c8;
}

.block-link {
	display: block;
	padding: 5px;
	color: #80a2c8;
	border-bottom: 1px solid #eee;
}

.toggler {
	font-weight: bold;
	font-style: italic;
}

.toggler a {
	color: #26a;
}

/* ==========================================================================
   Media Queries - Tablet
   ========================================================================== */

@media screen and (min-width: 768px) {
	body {
		font-size: 10pt;
		padding: 0 20px 20px;
	}
	
	#content {
		padding: 15px;
	}
	
	.shop-table {
		border-spacing: 0 10px;
		border-collapse: separate;
	}
	
	.shop-table td {
		display: table-cell;
		width: auto;
	}
	
	.shop-item-image {
		width: 75px;
		height: 100px;
		text-align: center;
	}
	
	.shop-item-cost-qty {
		width: 150px;
	}
	
	#server_status th,
	#server_status td {
		display: table-cell;
		width: auto;
	}
	
	.generic-form-table th,
	.generic-form-table td {
		display: table-cell;
		width: auto;
		padding: 5px 10px;
	}
	
	.generic-form-table th {
		text-align: right;
		white-space: nowrap;
	}
	
	.credit-balance {
		float: right;
		display: inline-block;
		width: auto;
		text-align: left;
	}
	
	.credit-balance .balance-text {
		display: inline-block;
		margin-right: 5px;
		margin-bottom: 0;
	}
	
	#copyright p,
	#info p {
		text-align: right;
	}
	
	input[type=text], 
	input[type=password], 
	input[type=file], 
	input[type=email],
	input[type=number],
	select {
		width: auto;
	}
	
	.search-form input[type=text], 
	.search-form2 input[type=text] {
		display: inline-block;
		width: 150px;
	}
	
	.search-form label, 
	.search-form2 label {
		display: inline-block;
		margin: 0 10px 0 0;
	}
}

/* ==========================================================================
   Media Queries - Desktop
   ========================================================================== */

@media screen and (min-width: 1024px) {
	body {
		font-size: 9pt;
		padding: 0;
		margin: 0 0 20px 0;
	}
	
	#content {
		padding: 20px;
	}
	
	.horizontal-table,
	.vertical-table,
	.install_table,
	.woe-table,
	#server_status {
		display: table;
	}
	
	textarea {
		width: 320px;
		max-width: 500px;
	}
	
	.generic-form,
	.generic-form-div {
		width: auto;
		max-width: 800px;
	}
	
	#register_form input[type=text], 
	#register_form input[type=password], 
	#login_form input[type=text], 
	#login_form input[type=password] {
		width: 140px;
	}
	
	#register_form select, 
	#login_form select {
		width: 147px;
	}
	
	.search-form input[type=text], 
	.search-form2 input[type=text] {
		width: 80px;
	}
	
	.short {
		width: 40px;
	}
	
	.block {
		display: block;
		width: 80%;
		height: 40px;
	}
}

/* ==========================================================================
   Media Queries - Large Desktop
   ========================================================================== */

@media screen and (min-width: 1440px) {
	body {
		background-size: contain;
	}
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
	body {
		background: white;
		color: black;
	}
	
	#sidebar,
	#admin_sidebar,
	#pagemenu,
	.search-form,
	.search-form2,
	.action,
	.button-action {
		display: none;
	}
	
	a {
		text-decoration: underline;
		color: black;
	}
	
	.horizontal-table,
	.vertical-table {
		page-break-inside: avoid;
	}
}

/* ==========================================================================
   Accessibility Improvements
   ========================================================================== */

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
	outline: 2px solid #4083c6;
	outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
	position: absolute;
	left: -9999px;
	z-index: 999;
}

.skip-to-content:focus {
	left: 0;
	top: 0;
	background: #fff;
	padding: 10px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	body {
		background-color: #000;
		color: #fff;
	}
	
	a {
		color: #4d94ff;
		text-decoration: underline;
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}