@font-face {
	font-family: FaceYourFears;
	src: url('../fonts/FaceYourFears.ttf');
}

html {
	min-width: 1300px;
	height: 100%;
}

body {
	background: #203045 url('../img/background.jpg') no-repeat top center;
	color: #000000;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	margin: 0;
	height: 100%;
}

a {
	color: #777;
	text-decoration: none;
	-moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

a:hover {
	color: #ffffff;
}

img {
	border: 0px;
}

input[type=text], input[type=password], input[type=number] {
	background: #ffffff;
	border: 1px solid #e3e3e3;
	color: #000000;
}
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus {
	border: 1px solid #ccc;
}

#header {
	width: 100%;
	min-width: 1450px;
	margin: 0px auto;
	text-align: center;
	overflow: hidden;
	color: #000000;
	padding: 70px 0px;
}

#container {
	width: 1450px;
	height: auto;
	margin: 0px auto;
	padding: 0px 0px;
}

#content {
	width: 100%;
	overflow: auto;
	min-height: 500px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.module-contents {
	background: #ffffff;
	padding: 15px 15px 30px 15px;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
	border: 4px solid #5d8ec9;
	overflow: auto;
	min-height: 400 !important;
    height: auto !important;
}

.footer {
	font-family: 'Segoe UI', 'Lucida Sans Unicode', 'Lucida Grande', 'Tahoma', 'Arial', 'sans-serif';
	width: 100%;
	margin-left: auto;   /* Centraliza horizontalmente */
	margin-right: auto;  /* Centraliza horizontalmente */
	font-size: 14px;
	color: #aaa;
	padding: 30px 0px;
	background: #000000 url('../img/footer_background.png') no-repeat bottom center;
	overflow: auto;
	border-top: 20px solid #141f2c;
}
	.footer > .footer-container {
		width: 1300px;
		margin: 0px auto;
	}
	.footer-time {
		font-size: 45px;
		color: #ffecb2;
		font-weight: bold;
		position: relative;
		top: -10px;
	}

#navbar {
	background: #ffc375 url('../img/navbg.jpg') no-repeat top center;
	width: 1400px;
	margin-left: auto;   /* Centraliza horizontalmente */
	margin-right: auto;  /* Centraliza horizontalmente */
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
	border: 0px solid #ffecb2;
}

#navbar ul{
	text-align: center;
	margin: 0px;
	-webkit-padding-start: 0px;
}

#navbar ul li {
	font-family: 'Lato', sans-serif;
	list-style-type: none;
	display: inline-block;
	font-size: 18px;
}

#navbar ul li a {
	display: inline-block;
	color: #000000 !important;
	text-decoration: none;
	padding: 15px 15px;
	font-weight: bold;
}

#navbar ul li a:active,
#navbar ul li a:focus,
#navbar ul li a:hover {
	text-decoration: none;
	background: rgba(255, 255, 255, 0.35); /* branco com 35% de opacidade */
}



/* CASTLE SIEGE BANNER */
.castle-siege-banner {
	width: 100%;
	background: #000 url('../img/castle_siege_banner_bg.jpg') no-repeat center center;
	background-size: cover;
	margin: 0px auto -5px auto;
	padding: 15px;
	-moz-box-shadow: 0 0 10px #000;
	-webkit-box-shadow: 0 0 10px #000;
	box-shadow: 0 0 10px #000;
	overflow: auto;
	/*font-family: FaceYourFears;*/
	color: #fff;
	-webkit-border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
    -khtml-border-radius: 5px 5px 0px 0px;
}
.cs-timeleft {
	/*font-family: FaceYourFears;*/
	font-size: 32px;
	color: #fff;
}
.cs-timeleft span {
	color: #ff0000;
}
.castle-siege-banner-guildlogo {
	background: #000000;
	display: inline-block;
	border: 1px solid #555;
	padding: 5px;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
	-moz-box-shadow: 0 0 5px #000;
	-webkit-box-shadow: 0 0 5px #000;
	box-shadow: 0 0 5px #000;
}
.castle-siege-banner-title {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: bold;
	color: #d4a6ff;
	text-shadow: 1px 1px 2px #000000; 
}
.castle-siege-banner-castleowner, .castle-siege-banner-castleowner a {
	font-family: FaceYourFears;
	font-size: 35px;
	text-shadow: 1px 1px 4px #000000; 
	color: #fff;
}
.castle-siege-banner-countdown {
	font-family: FaceYourFears;
	font-size: 32px;
	text-shadow: 0px 0px 3px #000000; 
}
	.castle-siege-banner-countdown span {
		color: #ba70ff;
	}
/* <-- CASTLE SIEGE BANNER END */


.admincp-button {
	position:absolute;
	top:10px;
	right:10px;
}

.page-title {
	color: #5d8ec9;
	font-family: 'Lato', sans-serif;
	font-size: 32px;
	margin-bottom: 20px;
	font-weight: bold;
	text-align: center;
}

/* NEWS MODULE */
.panel-news {
	margin-bottom: 30px;
	color: #333;
	border: 0px;
	-moz-box-shadow: 0 0 10px #f1f1f1;
	-webkit-box-shadow: 0 0 10px #f1f1f1;
	box-shadow: 0 0 10px #f1f1f1;
}
.panel-news .panel-heading {
	padding-top: 20px;
	padding-bottom: 20px;
	background: #e1efff;
	border-bottom: 1px dotted #5d8ec9;
}
.panel-news .panel-title {
	color: #5d8ec9;
	font-family: 'Lato', sans-serif;
	text-align: center;
	font-size: 18px;
	font-weight: bold;
}
.panel-news .panel-footer {
	border-top: 1px dotted #5d8ec9;
	background: #fafafa;
	font-style: italic;
	font-size: 11px;
	height: 40px;
	color: #5d8ec9;
}

/* RANKINGS MODULE */
.rankings-table {
	width: 80%;
	border-spacing: 0;
	border-collapse: collapse;
	table-layout: fixed;
	-moz-box-shadow: 0 0 5px #e3e3e3;
	-webkit-box-shadow: 0 0 5px #e3e3e3;
	box-shadow: 0 0 5px #e3e3e3;
	margin: 0px auto;
}
.rankings-class-image {
	width: 30px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.rankings-table tr td {
	border-bottom: 1px solid #e3e3e3;
	padding: 10px;
	font-size: 18px;
	vertical-align: middle !important;
	text-align: center;
}
.rankings-table-place {
	color: #666;
	font-weight: bold;
	font-size: 24px;
	text-align: center;
}
.rankings-table tr:first-child td {
	color: #5d8ec9;
	border-bottom: 3px solid #5d8ec9;
}
.rankings-table tr td:first-child {
	width: 100px;
}
.rankings-update-time {
	text-align: right;
	font-size: 11px;
	color: #ccc;
	padding: 10px 0px;
}
.rankings_menu {
	width: 80%;
	overflow: auto;
	text-align: center;
	margin: 0px auto 20px auto;
}
.rankings_menu span {
	width: 100%;
	display: inline-block;
	padding: 10px 0px;
	color: #ccc;
	font-size: 24px;
}
.rankings_menu a {
	display: inline-block;
	width: 150px;
	border: 1px solid #e3e3e3;
	text-align: center;
	padding: 2px 0px;
	margin: 2px;
	background: #f1f1f1;
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: #ccc;
}
.rankings_menu a.active {
	color: #333;
	border-color: #333;
}
.rankings_guild_logo tr td {
	border: 0px !important;
	padding: 0px !important;
	margin: 0px !important;
}
.rankings-gens-img {
	width: auto !important;
	height: 30px !important;
	border: 0 !important;
	-moz-box-shadow: 0 0 0px #000 !important;
	-webkit-box-shadow: 0 0 0px #000 !important;
	box-shadow: 0 0 0px #000 !important;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
}

/* MY ACCOUNT MODULE */
.myaccount-table {
	width: 100%;
	background: #ffffff;
	border: 0px solid #e3e3e3;
}
.myaccount-table tr td:first-child {
	color: #666;
	font-weight: bold;
}
.myaccount-table tr td {
	border-bottom: 1px solid #e3e3e3;
	padding: 15px !important;
}
.myaccount-table tr:last-child td {
	border: 0px;
}

/* GENERAL TABLE UI */
.general-table-ui {
	width: 100%;
	table-layout: fixed;
	background: #ffffff;
	border: 1px solid #e3e3e3;
	padding: 10px;
	margin: 10px 0px;
}
.general-table-ui tr td {
	padding: 5px;
	vertical-align: middle !important;
}
.general-table-ui tr:first-child td {
	color: #ffffff;
}
.general-table-ui tr:nth-child(2n+2) td {
	background: #ffffff;
}
.general-table-ui tr td {
	text-align: center;
}
.general-table-ui img {
	width: 50px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -khtml-border-radius: 50%;
}

/* TERMS OF SERVICE PAGE */
.tos_list li {
	color: #5d8ec9;
	margin-bottom: 40px;
}
.tos_list li p {
	color: #555;
	text-align: justify;
	text-justify: inter-word;
	text-transform: none;
	padding-right: 35px;
}

/* PAYPAL */
.paypal-gateway-container {
	width: 100%;
}

.paypal-gateway-content {
	background: #fef2da;
	border: 3px solid #f79433;
	padding: 15px;
	overflow: auto;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-weight: bold;
}

.paypal-gateway-logo {
	width: 100%;
	height: 100px;
	background: #fff9ec url('../img/paypal-logo-200-68.png') no-repeat center;
	background-size: contain;
	margin-bottom: 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.paypal-gateway-conversion-rate {
	margin: 0px auto;
	text-align: center;
	color: #000;
	font-size: 18px;
	padding: 10px 0px;
}

.paypal-gateway-form {
	width: 100%;
	margin: 20px auto;
	text-align: center;
}

.paypal-gateway-form div {
	display: inline-block;
	padding: 0px 10px;
	color: #000;
	font-size: 24px;
}

.paypal-gateway-form input[type=text] {
	width: 60px;
	font-size: 24px;
	border: 3px solid #f79433;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #f79433;
}

.paypal-gateway-continue {
	margin: 0px auto;
	text-align: center;
}

.paypal-gateway-continue input[type=submit] {
	background: url('../img/paypal-submit.jpg') no-repeat;
	width: 200px;
	height: 40px;
	border: 0px;
}

.module-requirements {
	font-size: 12px;
	margin-top: 20px;
}

/* SIDEBAR */
.panel-sidebar {
	background: #ffffff;
	border: 0px solid #ffecb2;
}

.panel-sidebar > .panel-heading {
	background: #ffc375 url('../img/navbg.jpg') no-repeat top center;
	color: #ffffff;
	font-family: 'Lato', sans-serif;
	border: 0px;
	border-bottom: 1px solid #ffecb2;
}

.panel-sidebar > .panel-heading > .panel-title {
	font-weight: bold;
}

.panel-usercp {
	background: url('../img/usercp_bg.jpg') no-repeat top center;
	background-size: cover;
}

.panel-usercp ul {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

.panel-usercp ul li {
	display: table;
	width: 100%;
	vertical-align: middle;
	line-height: 30px;
}

.panel-usercp ul li a {
	color: #444 !important;
	font-weight: bold;
}
.panel-usercp ul li a:active, .panel-usercp ul li a:hover {
	color: #5d8ec9 !important;
}

.panel-usercp ul li img {
	position: relative;
	top: -2px;
	padding-right: 10px;
	width: 30px;
	height: auto;
}

.sidebar-banner {
	text-align: center;
	margin: 20px 0px;
	border: 0px;
}

.sidebar-banner img {
	border: 0px;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
	width: 100%;
	height: auto;
}

.panel-sidebar-events {
	background: #ffffff;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.panel-sidebar-events > .panel-heading {
	background: #ffc375 url('../img/navbg.jpg') no-repeat top center;
	background-size: cover;
	color: #000000;
	font-family: 'Lato', sans-serif;
	font-weight: bold;
	text-align: center;
	padding: 12px 15px;
	border-bottom: 0px solid #e3e3e3;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.panel-sidebar-events > .panel-heading > .panel-title {
	font-size: 14px;
	margin: 0;
	text-transform: uppercase;
	font-weight: bold;
}

.panel-sidebar-events > .panel-body {
	color: #333;
	padding: 15px;
	font-size: 14px;
}

.panel-sidebar-events > .panel-body > .table {
	margin-bottom: 0px !important;
	width: 100%;
}

.panel-sidebar-events .smalltext {
	font-size: 11px;
	position: relative;
	top: -5px;
	color: #777;
}

.panel-sidebar-events .table td {
	font-weight: bold; /* nomes dos eventos em bold */
	padding: 8px 5px;
}

.event-schedule-open {
	color: #2e7d32; /* verde escuro */
	font-weight: bold;
}

.event-schedule-inprogress {
	color: #f9a825; /* amarelo escuro */
	font-weight: bold;
}


/* GENERAL PANEL STYLING */
.panel-general {
	margin-bottom: 30px;
	background: #ffffff;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}

.panel-body .panel-title {
	color: #666;
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	border-bottom: 1px solid #e3e3e3;
	margin-bottom: 20px !important;
	font-weight: bold;
}

/* ADD STATS MODULE */
.panel-addstats {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}
.panel-addstats .character-avatar img {
	width: 100px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -khtml-border-radius: 50%;
}
.panel-addstats .character-name {
	color: #666;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	border-bottom: 1px solid #e3e3e3;
	padding: 20px 0px;
	margin-bottom: 20px !important;
	font-weight: bold;
}

/* HELPER CLASSES */
.rounded_corners_image {
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -khtml-border-radius: 50%;
}

/* DOWNLOADS */
.panel-downloads {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}
	.download-description {
		font-size: 11px;
		position: relative;
		top: -7px;
		color: #777;
	}

.online-status-indicator {
	margin-left: 5px;
}

/* WEBENGINE CMS */
.webengine-powered { color: #777 !important; }
.webengine-powered:active, .webengine-powered:hover { color: #ff3214 !important; }

/* LANGUAGE PICKER */
.webengine-language-switcher {
	display: inline-block;
	list-style: none;
	padding: 0px !important;
	margin: 0px !important;
	overflow: hidden;
	transition: all .3s ease;
}
	.webengine-language-switcher li {
		display: inline-block;
		list-style-type: none;
		background: #333333;
		padding: 0px 5px 2px 5px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		-khtml-border-radius: 3px;
		transition: all .3s ease;
	}
	.webengine-language-switcher li:hover {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}
	.webengine-language-switcher li a {
		color: #999999;
	}
	.webengine-language-switcher li a:hover {
		color: #ffffff !important;
	}

/* MY ACCOUNT CHARACTER LIST */
.myaccount-character-block {
	background: #333;
	border: 1px solid #666;
	padding: 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: inline-block;
	margin: 0px auto;
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
	.myaccount-character-block img {
		width: 100px;
		height: auto;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		-moz-box-shadow: 0 0 5px #000;
		-webkit-box-shadow: 0 0 5px #000;
		box-shadow: 0 0 5px #000;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}
		.myaccount-character-block img:hover {
			-webkit-filter: brightness(120%);
			filter: brightness(120%);
		}
.myaccount-character-block-location {
	font-size: 12px;
	color: #000;
	margin-bottom: 20px;
	margin-top: 2px;
	line-height: 1.2;
}
.myaccount-character-block-level {
	position: relative;
	top: -77px;
	display: inline-block;
	background: rgba(0,0,0,0.5);
	padding: 0px 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	font-size: 10px;
}
.myaccount-character-name a {
	font-weight: bold;
	color: #000;
	font-size: 16px;
}

/* RANKINGS FILTER BY CLASS */

.rankings-class-filter {
	display: inline-block;
	list-style-type: none;
	margin: 20px auto;
	padding: 10px 20px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
}

	.rankings-class-filter li {
		display: inline-block;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
		margin-bottom: 10px;
	}
	
	.rankings-class-filter li:hover {
		-webkit-filter: grayscale(0%);
		filter: grayscale(0%);
	}

.rankings-class-filter-selection {
	display: inline-block;
	width: 75px;
	text-align: center;
	color: #000000;
	font-size: 11px;
	cursor: pointer;
}

	.rankings-class-filter-selection:hover {
		color: #000000 !important;
	}

	.rankings-class-filter-selection:hover img {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}

.rankings-class-filter-selection img {
	width: 40px;
	height: auto;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	-khtml-border-radius: 50%;
	margin-bottom: 5px;
	-moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
}

.rankings-class-filter-grayscale {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

#mobile-characters {
    display: none;
}

/* MOBILE FIRST — até 768px */
@media (max-width: 768px) {
  html, body {
    min-width: auto !important;
    width: 100% !important;
  }

  #container, #header, #navbar, .footer, .footer-container, .module-contents {
    min-width: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    margin: 0 auto !important;
  }

  /* Espaço extra entre a navbar e o primeiro bloco visual (caixa de login) */
  #navbar + #container #content > div:first-child {
    margin-top: 30px !important;
  }

  /* Navbar */
  #navbar ul li {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }
  #navbar ul li a {
    padding: 10px 0 !important;
    width: 100% !important;
  }

  /* Reset de margens/paddings de blocos principais */
  #content, #sidebar-left, #sidebar-right,
  #content > div, .panel-sidebar, .sidebar-banner,
  .panel-news, .panel-general, .panel-addstats, .panel-sidebar-events,
  .panel, .well, .module-contents {
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }

  /* Margin-bottom padronizado entre blocos visuais */
  #content > div:not(:last-child),
  .panel:not(:last-child),
  .module-contents:not(:last-child),
  .sidebar-banner:not(:last-child),
  .panel-news:not(:last-child),
  .panel-general:not(:last-child),
  .panel-addstats:not(:last-child),
  .panel-sidebar-events:not(:last-child) {
    margin-bottom: 25px !important;
  }

  /* Padding para blocos importantes */
  .panel-news, .panel-general, .panel-addstats, .panel-sidebar-events,
  .panel, .well, .module-contents {
    padding: 12px !important;
  }

  /* Inputs de formulário */
  .form-control {
    width: 100% !important;
    margin-bottom: 10px !important;
  }
  .forgot-password {
    display: block !important;
    text-align: center !important;
    margin-top: 10px !important;
  }

  /* Imagens banner/side */
  .sidebar-banner img {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 0 !important;
    border-radius: 8px;
    display: block;
  }

  /* Elementos de destaque */
  .footer-time {
    font-size: 30px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  .rankings-table, .general-table-ui, .myaccount-table {
    width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
  }
}

/* MOBILE E TABLET — até 900px */
@media (max-width: 900px) {
  /* Navbar sanduíche (menu mobile) */
  #navbar ul {
    display: none !important;
    flex-direction: column !important;
    background: rgba(255,239,199, 0.82);
    position: fixed;
    top: 145px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 0.4em 0;
    z-index: 9999;
    width: 40vw;
    max-width: 320px;
    min-width: 170px;
    animation: dropdownPop .19s cubic-bezier(.8,-0.1,.27,1.3);
    backdrop-filter: blur(4px);
  }
  #navbar ul.active {
    display: flex !important;
  }
  #navbar ul li {
    text-align: center !important;
    padding: 2px 0 !important;
    width: 100% !important;
    display: block !important;
  }
  #navbar ul li a {
    width: 100% !important;
    display: block !important;
    color: #000000 !important;
    font-size: 1.0em !important;
    font-weight: 600;
    padding: 2px 0 !important;
    background: none !important;
    text-decoration: none !important;
    transition: background 0.16s;
    border-radius: 10px;
    letter-spacing: 0.5px;
  }
  #navbar ul li a:hover {
    background: rgba(255,255,255,0.83) !important;
  }

  /* Centraliza o hamburguer */
  .menu-center {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 20;
  }
  #menu-toggle {
    display: block;
    font-size: 2.3rem;
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
    margin: 0 auto;
    z-index: 1100;
    position: static !important;
    left: unset !important;
    right: unset !important;
    top: unset !important;
    transform: none !important;
  }
  #navbar {
    position: relative;
    display: block !important;
  }
  @keyframes dropdownPop {
    from { opacity: 0; transform: translateX(-50%) scale(.73);}
    to   { opacity: 1; transform: translateX(-50%) scale(1);}
  }

  /* Centraliza títulos e subtítulos do painel de notícias */
  .panel-news .panel-heading,
  .panel-news .panel-title {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .panel-news .panel-title h3 {
    text-align: center !important;
    width: 100%;
  }

  /* Centraliza o subtítulo */
  .panel-news .panel-body p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding: 0 4px !important;
    font-size: 1em !important;
  }

  /* "Leia Mais" à esquerda, data à direita */
  .panel-news .panel-footer a,
  .panel-news .panel-footer .news-readmore {
    order: 1;
    text-align: right !important;
    color: 000000 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    margin-right: 0 !important;
  }
  .panel-news .panel-footer .news-date,
  .panel-news .panel-footer span {
    order: 2;
    text-align: right !important;
    color: #000000 !important;
    font-size: 0.92em !important;
    margin-left: 0 !important;
  }

  /* Oculta banners e sidebar nas subpáginas */
  body.subpage .sidebar-banner,
  body.subpage .panel-sidebar {
    display: none !important;
  }

  /* Centraliza título "Eventos Ativos" */
  .panel-sidebar-events .panel-heading .panel-title {
    text-align: center;
    width: 100%;
    display: block;
  }

  /* Espaço entre imagens do painel do usuário */
  body.page-usercp .module-contents .row .col-xs-3.text-center img {
    margin: 0 8px !important;
    width: 80px !important;
    max-width: 100%;
    height: auto;
  }

  /* Reduz altura da caixa do painel usercp */
  body.page-usercp .module-contents,
  body.page-usercp .panel {
    min-height: unset !important;
    height: auto !important;
    padding-bottom: 24px !important;
  }
}

/* DESKTOP — acima de 900px */
@media (min-width: 901px) {
  #menu-toggle {
    display: none !important;
  }
}

/*Painel informações Desktop */
.panel-configs {
  font-size: 13px;
}

.panel-configs table td,
.panel-configs table th {
  font-size: 13px;
  padding: 3px 3px;
}

.panel-configs strong {
  font-size: 15px;
}

.panel-configs a {
  font-size: 16px;
}

@media (max-width: 900px) {
  .panel-configs {
    font-size: 15px;
  }

  /* Centraliza o título */
  .panel-configs .panel-heading {
    text-align: center !important;
    font-size: 18px !important;
    padding: 12px 6px !important;
  }

  /* Alinha células da tabela */
  .panel-configs table td,
  .panel-configs table th {
    font-size: 15px;
    padding: 4px 4px;
    vertical-align: middle;
  }
  /* Alinha esquerda a coluna 1 e direita a coluna 2 */
  .panel-configs table td:first-child,
  .panel-configs table th:first-child {
    text-align: left !important;
  }
  .panel-configs table td:last-child,
  .panel-configs table th:last-child {
    text-align: right !important;
  }

  .panel-configs strong {
    font-size: 15px;
  }

  /* Centraliza o link na linha final */
  .panel-configs table tr:last-child td[colspan] {
    text-align: center !important;
    padding-top: 10px;
  }
  .panel-configs a {
    font-size: 15px;
    display: inline-block;
    margin: 0 auto;
  }
}


.panel-sidebar > .panel-heading {
  background: #ffc375 url('../img/navbg.jpg') no-repeat top center;
  color: #000000;
  font-family: 'Lato', sans-serif;
  font-size: 16px;           /* Tamanho igual ao login da conta */
  text-align: center;
  font-weight: bold;
  padding: 10px 15px;        /* Espaçamento igual ao login da conta */
  border: 0;
  border-bottom: 1px solid #ffecb2;
  border-radius: 3px 3px 0 0;
  letter-spacing: 0.2px;
  box-shadow: none;
}

/* DESKTOP: fonte maior e texto justificado */
.panel-porque-jogar .panel-heading {
  background: #ffc375 url('../img/navbg.jpg') no-repeat top center;
  color: #000000;
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 15px;
  border: 0;
  border-bottom: 1px solid #ffecb2;
  border-radius: 3px 3px 0 0;
  letter-spacing: 0.2px;
}

.panel-porque-jogar .panel-body {
  background: #ffffff;
  padding: 16px 16px 10px 16px;
  border-radius: 0 0 3px 3px;
}

.porque-jogar-text {
  font-family: 'Lato', sans-serif;
  color: #000000;
  font-size: 13px;         /* maior no desktop */
  margin-bottom: 0;
  line-height: 1.45;
  text-align: justify;     /* justificado no desktop */
}

/* MOBILE: fonte menor, texto centralizado */
@media (max-width: 900px) {
  .porque-jogar-text {
    font-size: 14px;       /* menor no mobile */
    text-align: center;    /* centralizado no mobile */
    padding: 0 2px;
  }
  .panel-porque-jogar .panel-body {
    padding: 14px 7px 7px 7px;
  }
  .panel-porque-jogar .panel-heading {
    font-size: 17px;
    text-align: center;
    padding: 12px 5px 10px 5px;
  }
}

.panel-vip .panel-heading {
  background: #ffc375 url('../img/navbg.jpg') no-repeat top center;
  color: #000000;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 15px;
  border-bottom: 1px solid #ffecb2;
  border-radius: 3px 3px 0 0;
  text-align: center;
}

.panel-vip .panel-body {
  background: #ffffff;
  padding: 16px 10px 10px 10px;
  border-radius: 0 0 3px 3px;
}

.vip-table-modern {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: none;
}

.vip-col {
  width: 50%;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Lato', sans-serif;
  font-size: 13px; /* <-- Diminua aqui (por padrão estava 15px) */
}

.vip-col.vip {
  color: #000000;
}

.vip-col.free {
  color: #000000;
  border-left: 1px solid #f0e2b6;
}

.vip-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.vip-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vip-col ul li {
  margin-bottom: 3px;
  text-align: center;
}

.vip-col .vip-price {
  font-size: 15px;
  font-weight: bold;
  margin-top: 8px;
  color: #227d32;
}
.vip-col .vip-price.free {
  color: #b52323;
}

.vip-divider {
  width: 2px;
  background: linear-gradient(to bottom, #ffe2b2 10%, #fff4db 90%);
  margin: 0 5px;
}

.vip-benefits-note {
  font-size: 13px;
  color: #000000;
  text-align: center;
  margin-top: 6px;
  font-family: 'Lato', sans-serif;
}

@media (max-width: 900px) {
  .vip-table-modern {
    flex-direction: column;
    border-radius: 8px;
  }
  .vip-col {
    width: 100%;
    padding: 4px 0;
    align-items: center;
    font-size: 13px;
    border-left: none !important;
  }
  .vip-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #ffe2b2 10%, #fff4db 90%);
    margin: 2px 0;
  }
  .vip-title {
    font-size: 15px;
  }
}
/* Reset Bootstrap grid float/margin/padding se necessário */
#content {
  display: flex;
  flex-direction: row;
  gap: 0;
}

.custom-col-3-5 {
  flex: 0 0 29.17%; /* 3.5/12 = 29.166...% */
  max-width: 29.17%;
}

.custom-col-5 {
  flex: 0 0 41.66%; /* 5/12 = 41.666...% */
  max-width: 41.66%;
}

@media (max-width: 900px) {
  #content {
    flex-direction: column;
  }
  .custom-col-3-5,
  .custom-col-5 {
    max-width: 100%;
    flex: 0 0 100%;
  }
}

/* Remove a margin/float do Bootstrap col-xs para evitar conflito */
.col-xs-3.custom-col-3-5,
.col-xs-4.custom-col-3-5,
.col-xs-5.custom-col-5 {
  float: none !important;
  width: auto !important;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

.btn.btn-yellow {
    background: #FF6961 repeat-x center !important;
    background-size: cover !important;
    color: #fff !important;
    border: none;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    font-weight: bold;
    text-shadow: 1px 1px 2px #333;
}

#header .personagem-esquerda,
#header .personagem-direita {
    display: none;
}

@media (max-width: 900px) {
    #header {
        position: relative !important;
        height: 150px !important;
        display: block !important;
        background: transparent !important;
        padding: 0 !important;
    }

    #header .personagem-esquerda {
        display: block !important;
        position: absolute !important;
        left: 0 !important;
        top: 60% !important;
        transform: translateY(-50%) !important;
        width: 100px !important;
        height: 130px !important;
        object-fit: fill !important;
        z-index: 11 !important;
        filter: drop-shadow(0 2px 8px #0008);
        margin: 0 !important;
    }
    #header .personagem-direita {
        display: block !important;
        position: absolute !important;
        right: 0 !important;
        top: 60% !important;
        transform: translateY(-50%) !important;
        width: 90px !important;
        height: 120px !important;
        object-fit: fill !important;
        z-index: 11 !important;
        filter: drop-shadow(0 2px 8px #0008);
    }
}

.table-configs-bordered {
  border-collapse: collapse;
  width: 100%;
}

.table-configs-bordered td {
  padding: 6px 8px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(0,0,0,0.1); /* separador sutil */
}

.table-configs-bordered tr:last-child td {
  border-bottom: none;
}

.vip-flex-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 6px;
}

.vip-row {
    display: flex;
    border-bottom: 1px solid #e3e3e3;
    padding: 6px 0;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.vip-label {
    flex: 1.3;
    text-align: left;
    font-weight: bold;
    color: #000;
}

.vip-vip, .vip-free {
    flex: 1;
    text-align: center;
    color: #000;
}

.vip-vip-title, .vip-free-title {
    flex: 1;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    color: #000;
}

.vip-header {
    border-bottom: none;
    margin-bottom: -4px;
    margin-top: 4px;
    padding-bottom: 0;
}

.vip-price {
    font-weight: bold;
    color: #2e7d32;
}

.vip-price.free {
    color: #b52323;
}

.panel-title {
    text-align: center;
    font-weight: bold;
}




/* Painéis da página VIP com visual do navbar */
.panel-vip {
    border: 1px solid #ffc375;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.panel-vip .panel-heading {
    background: #ffc375 url('../img/navbg.jpg') no-repeat top center;
    background-size: cover;
    color: #000000;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    border-bottom: 1px solid #ffecb2;
    border-radius: 3px 3px 0 0;
    text-align: center;
}

/* Botão personalizado para WhatsApp ou compra VIP */
.btn-vip {
    background-color: #ffc375;
    border: none;
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
}

.btn-vip:hover {
    background-color: #ffaa33;
    color: #fff;
}

/* Centralização das células da tabela */
.table th,
.table td {
    text-align: center;
    vertical-align: middle;
}

@media (max-width: 900px) {
  .module-contents,
  .panel-news,
  .panel-news .panel-body {
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }
}

/* DESKTOP: aumenta logo */
#header .logo-site {
    max-width: 450px !important;
    width: 100% !important;
    height: auto !important;
}

/* MOBILE: aumenta também */
@media (max-width: 900px) {
    #header .logo-site {
        max-width: 200px !important; /* era 130px */
    }
}



