@import url('https://fonts.googleapis.com/css?family=Patua+One');

@font-face {
    font-family: 'Martel';
    src: url('martel.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body
{
	background: url(images/materia_retro2.png) no-repeat center top #0d0f12;
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
	color: #d3d3d3;
}
a
{
	text-decoration: none;
	color: #004294;
	transition: color 0.1s linear;

}
a:hover
{
	color: #ff5a00;
}
ul {
  margin: 2px 0 0 0;
  padding: 0;
}
textarea{
max-width: 530px !important;
}
ul li {
  list-style-type: none;
  margin: 0 0 6px 0;
  padding: 0 0 4px 5px;
  line-height: 1.5em;
}

ol {
  margin: 8px 0 5px 5px;
}

ol li {
  margin: 0 0 11px 0;
}

.form_settings {
  margin: 15px 0 0 0;
}

.form_settings p {
  padding: 0 0 4px 0;
}

.form_settings span {
  float: left;
  width: 200px;
  text-align: left;
}

.form_settings input, .form_settings textarea {
  padding: 5px;
  width: 299px;
  font: 100% arial;
  border: 1px solid #E5E5DB;
  background: #FFF;
  color: #47433F;
  border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  -webkit-border: 7px 7px 7px 7px;
}

.form_settings .submit {
  font: 100% arial;
  border: 0;
  width: 99px;
  margin: 0 0 0 212px;
  height: 33px;
  padding: 2px 0 3px 0;
  cursor: pointer;
  background: #3B3B3B;
  color: #FFF;
  border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  -webkit-border: 7px 7px 7px 7px;
}

.form_settings textarea, .form_settings select {
  font: 100% arial;
  width: 299px;
}

.form_settings select {
  width: 310px;
}

.form_settings .checkbox {
  margin: 4px 0;
  padding: 0;
  width: 14px;
  border: 0;
  background: none;
}

.separator {
  width: 100%;
  height: 0;
  border-top: 1px solid #D9D5CF;
  border-bottom: 1px solid #FFF;
  margin: 0 0 20px 0;
}

table {
  margin: 10px 0 5px 0;
  /*width: 100%;*/
 border-spacing: 1px;
    border-collapse: separate;
}

table tr th{
	background-color: #505050 !important;
  color: #FFF;
  padding: 7px 4px;
  text-align: left;
}

tr.yellow td {
  background: #505050;
  color: #FFF;
  padding: 7px 4px;
  text-align: left;
}
.TableContainer table{
  margin: 0 !important;
}
.TableContainer td {
  padding: 2px 3px !important;
}
table tr td img{
  max-width: 520px;
}
input.hover:hover
{
	cursor: pointer;
}
/* guild war */
tr.special:hover td {
   background: orange;
}

tr.special {
    cursor: pointer;
}

ul.war_list li {
   font-size:18px;
}

.container_main
{
	width: 1170px;
	margin: 200px auto 0 auto;
}
.container_left, .container_right
{
	width: 246px;
	float: left;
	margin: 15px 0 0 0;
}
.container_mid
{
	min-height: 200px;
	width: 648px;
	float: left;
	margin: 0 15px;
}
.left_box, .right_box, .center_box
{
	width: 100%;
	background: url(images/border_left.png) repeat-y left top, url(images/border_right.png) repeat-y right top;
	position: relative;
	margin-bottom: 18px;
}
.corner_lt, .corner_rt, .corner_rb, .corner_lb
{
	z-index: 5;
}
.corner_lt
{
	position: absolute;
	width: 64px;
	height:64px;
	background: url(images/corners.png) no-repeat 0 0;
	left: -7px;
	top: -5px;
}
.corner_rt
{
	position: absolute;
	width: 64px;
	height:64px;
	background: url(images/corners.png) no-repeat -64px 0;
	right: -7px;
	top: -5px;
}
.corner_rb
{
	position: absolute;
	width: 64px;
	height:64px;
	background: url(images/corners.png) no-repeat -64px -64px;
	right: -7px;
	bottom: -5px;
}
.corner_lb
{
	position: absolute;
	width: 64px;
	height:64px;
	background: url(images/corners.png) no-repeat 0 -64px;
	left: -7px;
	bottom: -5px;
}
.left_box .content, .right_box .content
{
	margin: -1px 20px;
	width: 200px;
	padding: 3px 3px;
	background: url(images/widget_bg.png) repeat-y;
}
.center_box .content_bg
{
	width: 608px;
	margin: -1px 20px;
	position: relative;
	background: url(images/mid_bot.png) no-repeat center bottom, url(images/mid_top.png) no-repeat center top, url(images/mid_mid.png) repeat-y center top;
	color: #531e01;
}

.center_box .content_bg .content {
    padding: 6px 8px;
    max-width: 100%;
    box-sizing: border-box;
}

.left_box .border_bottom, .right_box .border_bottom,  .center_box .border_bottom
{
	background: url(images/border_bottom.png) repeat-x center bottom;
	width: 100%;
	display: block;
	height: 20px;
}
.left_box .title, .right_box .title,  .center_box .title
{
	background: url(images/border_top.png) repeat-x center top;
	width: 100%;
	height: 45px;
	position: relative;
}
.rise-up-content
{
	position: relative;
	z-index: 10;
}
/* .left_box ul li a:after
{
	content: "";
	width: 100%;
	background: url(images/line.png) no-repeat center top;
	height: 2px;
	display: block;
	margin-left: -10px;
} */
.title span
{
	width: 100%;
	height: 45px;
	display: block;
	background-position: center center;
	background-repeat: no-repeat;
}
.title img
{
	position: absolute;
	left: 20px;
	top: 6px;
	z-index: 6;
}
.left_box ul
{
	list-style: none;
	padding: 0;
	margin: 0 0 0 8px;
}
.left_box ul li
{
	padding: 1.5px 0 2px 0;
	margin: 0;
}
.left_box ul li a
{
	display: block;
	color: #e7e7e7;
	text-shadow: 1px 1px 0 #000;
	transition: all 0.1s linear;
}
.left_box ul li a:hover
{
	color: orange;
	padding-left: 3px;

}
.inputtext
{
	width: 158px;
	height: 33px;
	background: url(images/quicklogin_input.png);
	padding: 0 10px;
	margin: 0 0 4px 11px;
	border: 0 none;
	color: #9c7d54;
	font-size: 12px;
	text-shadow: 1px 1px 0 #000;
}
.loginbtn
{
	width: 83px;
	height: 23px;
	background: url(images/login_btn.png) 0 -23px;
	padding: 0;
	margin: 0 0 4px 12px;
	border: 0 none;
	display: inline-block;
	vertical-align: middle;
}
.loginbtn:hover
{
	cursor: pointer;
	background-position: 0 0;
}
.createbtn
{
	vertical-align: middle;
	display: inline-block;
	width: 83px;
	height: 23px;
	background: url(images/register_btn.png) 0 -23px;
	padding: 0;
	margin: 0 0 4px 7px;
	border: 0 none;
}
.createbtn:hover
{
	cursor: pointer;
	background-position: 0 0;
}
.download_client
{
	display: block;
	width: 250px;
	height: 59px;
	background: url(images/download_btn.png) no-repeat 0 -59px;
	margin: 0 0 10px -2px;
}
.download_client:hover
{
	background-position: 0 0;
}
.right_box
{
	text-shadow: 0 1px 0 #000;
}
.right_box a
{
	color: #ff9000;
	transition: color 0.1s linear;
}
.right_box a:hover
{
	color: #ff4e00;
}
table.sinfotable
{
	margin: 0 8px;
	font-size: 13px;
	width: 183px;
}
table.sinfotable td
{
	border-bottom: 1px solid #4c4b46;
    border-top: 1px solid #1c1c1a;
	background: none transparent;
	color: #fff;
	padding: 4px 0;
}
ul.toplvl
{
	list-style: none;
	margin: 0 8px;
}
ul.toplvl li
{
	padding: 1px 0;
	margin: 0;
}
.lvl
{
    display: block;
    background: #cc7e0f;
    float: right;
    height: 15px;
    line-height: 14px;
    color: #fff;
    text-shadow: 0 0 5px #000;
    padding: 0px 5px;
    border-radius: 4px;
    box-shadow: 0 1px 0 #101010;
    border-top: 1px solid #ffc36d;
}
.acc_menu
{
	width: 183px;
	margin: 0 8px;
}
.acc_menu a
{
	box-sizing: border-box;
	display: inline-block;
	width: 100%;
	padding: 3px 0;
	font-size: 12px;
	text-align: center;
	background: rgba(0,0,0,0.3);
	border: 1px solid rgba(0,0,0,0.4);
	box-shadow: 0 1px 3px rgba(255,255,255,0.2) inset, 0 -1px 3px rgba(0,0,0,0.5) inset;
	border-radius: 3px;
	color: #fff;
	transition: all 0.1s linear;
	margin: 1px 0;
}
.acc_menu a:hover
{
	background: rgba(0,0,0,0.4);
}
.footer_cnt
{
	width: 1170px;
	float: left;
	margin: 20px 0 70px 0;
}



/* SLIDER */

.slider
{
	width: 207px;
    height: 100px;
    margin-left: -3px;
    margin-top: -3px;
    margin-bottom: -2px;
}

#slides
{
	display: none;
	width: 207px;
	height: 100px;
	float: left;
	z-index: 90;
	overflow: initial !important;
	position: relative;
}
.slidesjs-pagination
{
	z-index: 999;
	position: absolute;
	bottom: 5px;
	right: 5px;
}
ul.slidesjs-pagination
{
	list-style: none;
	padding: 3px;
	border-radius: 5px;
	margin: 0;
	background: rgba(0,0,0,0.5);
}
.slidesjs-pagination li
{
	float: left;
	margin: 0 3px;
	padding: 0;
}
.slidesjs-pagination li a
{
	background: rgba(255,255,255,0.3);
	display: block;
	width: 10px;
	height: 10px;
	float: left;
	overflow: hidden;
	text-indent: -999999999px;
	line-height: 99px;
	color: rgba(0,0,0,0.6);
	border-radius: 15px;
}
.slidesjs-pagination li a:hover
{
	background: rgba(255,255,255,0.5);
}
.slidesjs-pagination li a.active
{
	background: rgba(255,255,255,0.5);
}
.top-bar
{
	position: fixed;
	z-index: 200;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
	font-family: 'Patua One', cursive;
	height: 30px;
	line-height: 30px;
	background: rgba(0,0,0,0.3);
	color: #fff;
	text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, 0px 1px 0 #000, 1px 0px 0 #000, -1px 0px 0 #000, -1px 0px 0 #000;
	font-weight: normal;
	font-size: 18px;
}
.top-bar a
{
	color: #f66545;
}

.white {
	color: #EFEFEF;
	visibility: visible;
	font-size: 9pt;
}

.odd {
	background-color: #D4C0A1 !important;
	padding: 2px;
}

.even {
	background-color: #F1E0C6 !important;
	padding: 2px;
}

.vertical-menu a {
	background-color: #D4C0A1 !important;
}

.news-section {
    width: 100%;
    max-width: 608px;
    margin: 0 auto 30px auto;
    box-sizing: border-box;
}

.news-main {
    margin-bottom: 18px;
}

.news-main-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border: 2px solid #bfa14a;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
}

.news-main-overlay {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 80%, rgba(0,0,0,0.0) 100%);
    color: #ffd700;
    padding: 18px 18px 12px 18px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.news-main .news-title {
    font-size: 2.1rem;
    font-family: 'Patua One', serif;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px #000;
    margin: 0;
}
.news-readmore {
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    background: rgba(0,0,0,0.7);
    padding: 4px 12px;
    border-radius: 3px;
    margin-left: 20px;
    transition: background 0.2s;
    white-space: nowrap;
}
.news-readmore:hover {
    background: rgba(0,0,0,1);
}

.news-row {
    display: flex;
    gap: 10px;
}

.news-box {
    background: #3b240b;
    border-radius: 4px;
    box-shadow: 0 1px 4px #0004;
    flex: 1 1 0;
    min-width: 0;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.news-box-image {
    width: 100%;
    height: 110px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
}

.news-box-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.8) 100%);
    padding: 8px 10px;
    color: #ffd700;
}

.news-box .news-title {
    font-size: 1.05rem;
    font-family: 'Patua One', serif;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 1px 1px 3px #000;
    margin-bottom: 2px;
}

.news-date {
    display: block;
    font-size: 1.1rem;
    color: #ffe28a;
    margin-bottom: 4px;
    text-shadow: 1px 1px 2px #000;
}

.news-featured-image {
    margin: 20px 0;
    text-align: center;
    max-width: 100%;
}

.news-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 10px;
}

.news-article {
    max-width: 100%;
    box-sizing: border-box;
}

/* Downloads Page Styles */
/* Add these styles at the end of your CSS file */

/* Downloads Page Styles */
.downloads-container {
    width: 100%;
    box-sizing: border-box;
}

.download-section {
    padding: 20px 0;
}

.download-header {
    text-align: center;
    margin-bottom: 25px;
}

.download-header h2 {
    color: #531e01;
    font-size: 24px;
    font-family: 'Patua One', serif;
    margin: 0 0 10px 0;
    text-shadow: 1px 1px 0 #ffd700;
}

.version-badge {
    background: #8b4513;
    color: #ffd700;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    text-shadow: 1px 1px 0 #000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.feature-box {
    text-align: center;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #8b4513;
    border-radius: 8px;
    transition: transform 0.2s;
}

.feature-box:hover {
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    background: rgba(139, 69, 19, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 24px;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.feature-box:hover .feature-icon i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-box h3 {
    color: #531e01;
    margin: 0 0 10px 0;
    font-family: 'Patua One', serif;
    text-shadow: 1px 1px 0 #ffd700;
}

.feature-box p {
    color: #531e01;
    font-size: 13px;
    line-height: 1.4;
}

.fancy-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    padding: 15px 25px;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(to bottom, #8b4513, #654321);
    border: 2px solid #ffd700;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.fancy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background: linear-gradient(to bottom, #9b5523, #755331);
}

.fancy-button .button-title {
    display: block;
    color: #ffd700;
    font-size: 18px;
    font-family: 'Patua One', serif;
    text-shadow: 1px 1px 2px #000;
}

.fancy-button .button-subtitle {
    display: block;
    color: #fff;
    font-size: 12px;
    opacity: 0.9;
    margin-top: 5px;
}

.fancy-button.secondary {
    background: linear-gradient(to bottom, #654321, #433121);
}

.minimap-info {
    text-align: center;
    color: #531e01;
    margin: 20px 0;
    line-height: 1.6;
}

.install-steps {
    max-width: 400px;
    margin: 20px auto;
    text-align: left;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #8b4513;
    border-radius: 8px;
    padding: 15px 25px;
}

.install-steps ol {
    margin: 10px 0;
    padding-left: 20px;
}

.install-steps li {
    margin-bottom: 8px;
    color: #531e01;
}

.minimap-info code {
    background: rgba(139, 69, 19, 0.2);
    padding: 3px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #531e01;
    border: 1px solid #8b4513;
}

.separator-new {
    width: 85%;
    margin: 30px auto;
    height: 1px;
    position: relative;
    background: linear-gradient(
        to right,
        transparent,
        #8b4513 20%,
        #8b4513 80%,
        transparent
    );
}

.separator-new::before,
.separator-new::after {
    content: '';
    position: absolute;
    top: -1px;
    width: 6px;
    height: 3px;
    border-radius: 50%;
    background: #8b4513;
}

.separator-new::before {
    left: calc(20% - 3px);
}

.separator-new::after {
    right: calc(20% - 3px);
}



/* Replace or update the existing .left_box ul li a styles */
.left_box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.left_box ul li {
    position: relative;
    padding: 0;
    margin: 0;
}

.left_box ul li:after {
    content: "";
    display: block;
    height: 2px;
    background: url(images/line.png) no-repeat center top;
    margin: 0 -10px;
}

.left_box ul li:last-child:after {
    display: none;
}

.left_box ul li a {
    display: flex;
    align-items: center;
    padding: 4px 10px;
    color: #e7e7e7;
    text-decoration: none;
    text-shadow: 1px 1px 0 #000;
    transition: all 0.1s linear;
}

.left_box ul li a i {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    flex-shrink: 0;
}

.left_box ul li a .menu-text {
    flex-grow: 1;
    color: #e7e7e7;
}

.left_box ul li a:hover {
    color: orange;
    padding-left: 13px;
}

.left_box ul li a:hover i {
    color: #ff5a00;
}

.left_box ul li a:hover .menu-text {
    color: #ff5a00;
}

.logo-title {
    margin-top: 110px;
    text-align: center;
    font-size: 4rem;
    color: #FFD700;
    font-weight: 700;
    text-shadow:
        2px 2px 4px #000,
        -2px -2px 4px #000,
        2px -2px 4px #000,
        -2px 2px 4px #000;
    font-family: 'Martel', serif;
}