/* general */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-caption * {
    opacity: 0;
}

/* Fade in */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Slide in */
.slide-in {
    animation: slideIn 1s ease forwards;
}

/* Delays */
.delay-0 { animation-delay: 0.2s; }
.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 0.8s; }
.delay-3 { animation-delay: 1.1s; }
.delay-4 { animation-delay: 1.4s; }

/* Fancy glowing button */
.fancy-button {
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff6b6b, #f06595);
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeIn 1s ease forwards, pulseGlow 2s infinite;
    cursor: pointer;
}

.fancy-button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px #f06595; }
    50% { box-shadow: 0 0 30px #ff6b6b; }
    100% { box-shadow: 0 0 15px #f06595; }
}


.admincp-button {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #ffffff !important;
	border: 2px solid #000000 !important;
	color: #000000 !important;
	font-weight: bold !important;
	z-index: 999;
}

body {
    background-image: url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/* navbar */

#navbar_main {
    z-index: 2;
    background-image: url("../img/navbar-bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#navbar_main .nav-link {
    font-family: "Open Sans Bold";
    color: #fff9da;
}

@media all and (max-width: 991px) {
    #navbar_main {
        background-image: unset !important;
        background-color: var(--main-bg-color) !important;
        background-repeat: no-repeat;
        background-position: center;
        height: 100%;
    }
    .header-content .content {
        margin-left: unset !important;
    }
    header {
        height: 50vh !important;
    }
}


/* header */

header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    z-index: 2;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: -1;
}


@media all and (max-width: 991px) {
    header {
        background-position: 26%;
    }
}

.stats .info {
    font-family: "Open Sans Regular";
    font-weight: unset !important;
}

.stats .info h3 {
    font-family: "Trajan Pro";
}

.header-content {
    height: 70%;
}

.header-content .content {
    margin-left: 10%;
}


.info strong {
    color: var(--link-hover-color);
}


/* left side */


/* login */

.login-content ul {
    list-style: none;
    padding: 0;
    font-size: 11pt;
    color: #58516c !important;
}

.login-content ul span {
    color: var(--link-hover-color);
    text-decoration: underline;
}

.input-user,
.input-lock {
    position: relative;
}

.login-content .enter-info {
    font-size: 9pt;
    text-align: center;
    color: #ffb3ae;
}

.enter-info img {
    width: 22px;
}

.enter-info a {
    padding-left: 5px;
    color: #fff9da;
}

.input-user i,
.input-lock i {
    position: absolute;
    top: 35%;
    left: 6%;
    color: var(--secondary-text-color);
    font-size: 9pt;
    color: #764c4a;
}

/* ranking */

.container-title {
    background-image: url(../img/container-header-bg.png);
    background-repeat: no-repeat;
    background-position: top center;
    height: 46px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-family: "Open Sans Bold";
    padding-top: 20px;
    position: relative;
    top: 21px;
    z-index: 2;
}

.container-title h5 {
    font-size: 9pt !important;
    padding: 0;
    margin: 0;
}

.login-options a {
    color: #664c51;
    font-family: "Open Sans Semibold";
    font-size: 9pt;
}

.login-options {
    margin-top: 5px;
}

.text-start.pointer {
    font-family: "Open Sans Regular";
    font-size: 9pt;
}

.pointer::before {
    content: url(../img/point.png);
    position: relative;
    z-index: 1;
    left: 0;
    top: -5px;
    padding: 5px;
}

.top-players-section .container-content {
    background-image: url(../img/container-big-bg.png) !important;
}

.top-players-section table.table-striped tr td {
    font-size: 11pt;
    padding-top: 2px;
    padding-bottom: 2px;
}

.top-players-section .btn-default {
    height: 53px;
    width: 50%;
}

.panel-downloads .btn-primary {
    width: 120px;
    align-content: center;
}

.container-content {
    background-image: url(../img/container-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    height: auto;
    color: var(--secondary-text-color);
}

.container-content table {
    width: 100%;
    text-align: center;
}

.top-player {
    height: 77px;
    margin: 10px;
    background-image: url(../img/top-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.top-player .info p {
    font-size: 10pt;
}

/*mid side*/

main.main-content {
    position: relative;
    top: -50px;
    z-index: 2;
}

/* Characters Userpanel */

.table-striped thead tr td{
    font-size: 15px !important;
    font-weight: bold;
}

.table-striped .gold-row { background-color: #FFD70033 !important; color: #FFD700 !important;}
.table-striped .silver-row { background-color: #C0C0C033 !important; color: #C0C0C0 !important;}
.table-striped .bronze-row { background-color: #CD7F3233 !important; color: #CD7F32 !important;}
.table-striped .medal {
    width: 20px;
    vertical-align: middle;
    margin-right: 5px;
}
    
.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: rgb(245 64 114 / 12%);
}

.rank-img {
    width: 30px;
    padding: 2px 0px;
}

/* Common */

.left-side,
.right-side {
    margin-top: -46px;
}

@media all and (max-width: 991px) {

    .left-side,
    .right-side {
        margin-top: unset;
    }
}

.ranking-content table th,
.ranking-content table td {
    color: var(--secondary-text-color);
}

.characters-table th,
.characters-table td,
.downloads-table th,
.downloads-table td,
.notice-list th,
.notice-list td {
    color: var(--secondary-text-color);
}

.page-content {
    background-color: var(--secondary-bg-color);
    width: 100%;
}

.page-content h4 {
    color: #fff;
    font-family: var(--secondary-font);
}

.page-content .info p {
    color: #fff;
    font-family: var(--primary-font);
    background-color: var(--primary-text-color);
    border-radius: 5px;
}

.page-content label {
    color: var(--secondary-text-color);
    font-family: var(--primary-font);
}


/*LOGO*/
.logo-h {
  transition: filter 0.5s ease;
}

.logo-h:hover {
  filter: brightness(1.5);
  transition: filter 0.5s ease;
}

/*slider*/
/* Slider */

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 11px !important;
    height: 11px !important;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: transparent !important;
    background-image: url("../img/slider/pointer.png") !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity .6s ease;
}

.carousel-indicators {
    right: unset !important;
    margin-right: unset !important;
    margin-bottom: 5rem !important;
    margin-left: 5% !important;
    left: 0px !important;
    bottom: unset !important;
    top: 14px !important;
}

.carousel-caption {
    top: 25px !important;
    width: 100%;
    height: auto;
    right: unset !important;
    left: 7px !important;
    background-color: transparent !important;
    text-align: unset !important;
    padding-left: 15px;
}

.carousel-caption h3 {
    font-size: 13pt !important;
    margin: 0 !important;
    padding: 0 !important;
}

.carousel-caption h2 {
    font-size: 21pt !important;
    margin: 0 !important;
    padding: 0 !important;
}

.btn-default.slider {
    height: 43px;
    width: 21%;
    display: block;
}

.carousel-caption span {
    margin-top: 9px;
    color: #cfcbc0;
    font-family: "Open Sans";
    font-size: 9pt;
    display: inline-block;
    width: 45ch;
    word-wrap: break-word;
}

.carousel-caption p strong {
    color: var(--secondary-text-color);
    font-family: var(--primary-font);
}

.carousel-indicators .active {
    background-image: url("../img/slider/pointer-active.png") !important;
}

.carousel-control-next,
.carousel-control-prev {
    top: -160px !important;
}

.carousel-control-prev {
    left: 510px !important;
}


/*news*/
.news-title {
    font-family: var(--secondary-font);
    color: #fff;
}

.news-content {
    background-image: url("../img/container-news-bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-bottom: 25px;
}

.news-content .dropdown-toggle {
    font-family: "Open Sans Regular";
    color: #d0b7b7;
    font-size: 9pt;
}

.news-text hr {
    padding: 0px;
    margin: 5px;
}

.news-list .listed {
    background-color: rgb(0 0 0 / 39%);
    font-size: 0.72em;
    color: #eceae5;
    transition: ease 250ms;
}

.discord-info-text p {
    color: #d0b7b7;
    font-family: "Open Sans Semibold";
    font-size: 10pt;
}

.discord-info-text a {
    color: #ff7777;
    text-decoration: underline;
    font-family: "Open Sans Semibold";
    font-size: 10pt;
}

.news-list a:hover .listed {
    color: #d91532 !important;
}

.news-text h5 {
    margin: 0;
    padding: 0;
    color: #fff;
}

.news-text p {
    margin: 0;
    padding: 0;
    color: #cfcbc0;
    font-size: 10pt;
}
.news-text span {
    margin: 0;
    padding: 0;
    color: #cfcbc0;
    font-size: 10pt;
}

.news-content hr {
    background-color: var(--link-hover-color);
}

.notice-title {
    background-color: var(--slider-text-color);
}

.notice-title h5 {
    color: #fff;
}

.notice-title span {
    color: #645477;
}

.notice-title strong {
    color: var(--secondary-link-color);
}

.notice-text p {
    color: var(--notice-text-color);
    text-align: justify;
    line-height: 18px;
    font-family: "Open Sans";
    font-size: 10pt;
}

/*right side*/
/*stats*/
.refresh {
    text-align: center;
    font-size: 9pt;
    color: #727272;
}

.refresh span {
    color: #bcc0b3;
}

/* footer */

.copyright-text,
.developers-text {
    color: #fff;
}

.links {
    font-family: "Open Sans Bold";
}

.links .nav-link:hover {
    text-shadow: 1px 1px 6px #d85350, 1px 1px 8px #d85350;
}

.developers-text span,
.copyright-text span {
    color: var(--link-hover-color);
}

.footer {
    text-align: center;
    margin: 0 auto;
    background-image: url("../img/footer.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-size: 10pt;
}

.footer img {
    height: 35px;
}

/**/

/* RANKINGS MODULE */
.rankings-table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

.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: #fff;
	font-weight: bold;
	font-size: 24px;
	text-align: center;
}
.rankings-table tr:first-child td {
	color: #950011;
	border-bottom: 3px solid #950011;
}

.rankings-table a {
    color: #1eebda;
}

.rankings-update-time {
	text-align: right;
	font-size: 11px;
	color: #ccc;
	padding: 10px 0px;
}
.rankings_menu {
	width: 100%;
	overflow: auto;
	text-align: center;
	margin-bottom: 10px;
}
.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 #380006;
	text-align: center;
	padding: 2px 0px;
	margin: 2px;
	background: #950011;
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: #fff;
}
.rankings_menu a.active {
	color: #d5d5d5;
	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;
}


.page-title {
    color: #b70025;
    font-family: 'PT Sans', sans-serif;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

/* MY ACCOUNT MODULE */
.myaccount-table {
	width: 100%;
	background: #3d0007;
	border: 1px solid #7d000e;
}
.myaccount-table tr td:first-child {
	color: #dcdcdc;
}
.myaccount-table tr td {
	border-bottom: 1px solid #e3e3e3;
	padding: 15px !important;
	color: #b0b0b0;
}
.myaccount-table tr:last-child td {
	border: 0px;
}

/* GENERAL TABLE UI */
.general-table-ui {
	width: 100%;
	table-layout: fixed;
	background: #f1f1f1;
	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: #ff0000;
}
.general-table-ui tr:nth-child(2n+2) td {
	background: #fafafa;
}
.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: 0px;
	border-radius: 0px;
}

/* TERMS OF SERVICE PAGE */
.tos_list li {
	color: #aa0000;
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 40px;
}
.tos_list li p {
	color: #444;
	text-align: justify;
	text-justify: inter-word;
	text-transform: none;
	padding-right: 35px;
	font-size: 14px;
	font-weight: normal;
}



/* PAYPAL */
.paypal-gateway-container {
    width: 50%;
    margin-bottom: 40px;
    height: 220px;
}

.paypal-gateway-container .pay{
background: url(../img/sidebar-button.png) no-repeat;
    width: 188px;
    height: 80px;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
	line-height: 85px;
	border:none !important;
	color: white;
}



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

.paypal-gateway-content img{
    width: 100px;
}

.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: 5px auto;
	text-align: center;
}

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

.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;
}


/* DOWNLOADS */
.panel-downloads {
    margin-bottom: 30px;
    background: #3d0007;
    border: 1px solid #7d000e;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #e1e1e1;
    padding: 10px;
}
.download-description {
	font-size: 11px;
	position: relative;
	top: -7px;
	color: #e1e1e1;
}
.panel-downloads tr{
    vertical-align: middle;
}

.panel-downloads td{
    color: #e1e1e1;
}

.panel-downloads .table{
    border-color: #e1e1e1 !important;
}

.form-group {
    padding: 10px 0px;
}
/* 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: #c2c2c2;
	font-size: 11px;
	cursor: pointer;
}

	.rankings-class-filter-selection:hover {
		color: #fff !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%);
}

.table-bordered thead {
    color: #fff;
}

.table-bordered tbody {
    color: #fff;
}

.table-bordered>tbody>tr:hover{
    color: #e0e0e0;
}

.table-bordered>tbody>tr:nth-of-type(odd) {
    color: #fff;
}

.info{
    color: #fff;
}