/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 =========================================================
 
*/
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top: none !important;
}

a:focus, a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.form-control {
	background: #fafafa;
	border: 1px solid #e3e3e3;
	color: #666;
}
.form-control:focus {
	border: 1px solid #ccc;
}

/* http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

/* http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.thumbnail {
    background-color: #f1f1f1;
    border: 1px solid #e3e3e3;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #ff0000;
}

.btn-primary {
    color: #3f6588;
    background-color: transparent;
	border-color: #3f6588;
	-moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    color: #fff !important;
    background-color: #3f6588 !important;
	border-color: #3f6588 !important;
}

.form-horizontal .control-label {
	text-align: left !important;
}

/* Responsive enhancements */
*,
*:before,
*:after {
	box-sizing: border-box;
}
html {
	min-width: 0 !important;
}
img {
	max-width: 100%;
	height: auto;
}
#header {
	padding: 40px 0 10px 0;
}
#content {
	padding: 10px 10px 0 10px;
}
#navbar {
	width: 100%;
}
#navbar .navbar-toggle {
	margin: 8px 10px;
}
#navbar .navbar-brand {
	color: #ccc;
}
#container {
	width: 100% !important;
	max-width: 1040px;
	margin: 0 auto;
}
.footer {
	width: 100% !important;
	max-width: 1040px;
}
.global-top-bar .global-top-bar-content {
	width: 100% !important;
	padding: 0 10px;
	box-sizing: border-box;
}
.header-info-container {
	width: 100% !important;
	padding: 0 10px;
	box-sizing: border-box;
}
.header-info-container .header-info .info-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0;
}
.header-info-container .header-info .info-label {
	color: #cccccc;
	flex: 0 0 auto;
}
.header-info-container .header-info .info-value {
	color: #ffffff;
	flex: 0 0 auto;
}
.rankings-table,
.general-table-ui {
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
/* News category label truncation and spacing */
.home-news-block-article .home-news-block-article-type {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.home-news-block {
	margin-bottom: 20px;
}
#navbar ul {
	padding-left: 0;
}
@media (min-width: 768px) {
	/* Ensure desktop navbar is visible and centered */
	#webengine-navbar {
		display: block !important;
		height: auto !important;
	}
	#navbar .navbar-collapse {
		text-align: center;
	}
	#navbar .navbar-nav {
		float: none;
		display: inline-block;
	}
	/* Desktop: rankings tables should occupy full width (no shrink-to-content) */
	.rankings-table,
	.general-table-ui {
		display: table;
		width: 100%;
		overflow-x: visible;
	}
	/* Restore desktop width and alignment for header info container */
	.header-info-container {
		width: 1040px !important;
		margin: 0 auto;
		padding: 0;
	}
	/* Desktop: compact font sizes and right-aligned values */
	.header-info-container .header-info .info-row {
		justify-content: space-between;
	}
	.header-info-container .header-info .info-label,
	.header-info-container .header-info .info-value {
		font-size: 12px;
	}
	.header-info-container .header-info .info-value {
		text-align: right;
	}
}
@media (max-width: 991px) {
	#navbar ul li a {
		padding: 15px 18px;
	}
	.header-info-container .header-info {
		width: 100% !important;
	}
}
@media (max-width: 767px) {
	body {
		background-size: cover;
		background-attachment: fixed;
		font-size: 16px;
	}
	/* Mobile width and padding for header info container */
	.header-info-container {
		width: 100% !important;
		padding: 0 10px;
	}
	.header-info-container .header-info .info-label,
	.header-info-container .header-info .info-value {
		font-size: 17px;
	}
	#header {
		padding: 20px 0 10px 0;
	}
	#navbar ul li {
		display: block;
	}
	#navbar ul li a {
		display: block;
		padding: 12px 16px;
		font-size: 16px;
	}
	#navbar .navbar-brand {
		padding-left: 16px;
		font-size: 18px;
	}
	.header-info-container {
		text-align: left;
	}
	.footer {
		padding: 20px !important;
	}
	.page-title { font-size: 28px; }
	.panel .panel-title { font-size: 18px; }
	.home-news-block-article .home-news-block-article-title { font-size: 16px; }
	.home-news-block-article .home-news-block-article-date { font-size: 14px; }
	.myaccount-character-name a { font-size: 18px; }
}