/* webengine */

input[type=text]:not(.form-input):not(#amount), input[type=password]:not(.form-input), input[type=number]:not(.form-input) {
	position: relative;
	border: 1px solid transparent;
	background-color: #010910;
	height: 33px;
	display: flex;
	width: 100%;
	align-items: center;
	color: #fff;
	transition: all 0.3s;
	padding: 12px;
	font-size: 14px;
	outline: none;
	clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0% 50%);
}
input[type=text]:not(.form-input):not(#amount):focus, input[type=password]:not(.form-input):focus, input[type=number]:not(.form-input):focus {
	border: 0px;
}

select {
	background: var(--webenginecolor3) !important;
	border-color: var(--webenginecolor2) !important;
	color: var(--webenginecolor5) !important;
}

.admincp-button {
	position: absolute;
	top: 80px;
	right: 10px;
	background: #ffffff !important;
	border: 2px solid #000000 !important;
	color: #000000 !important;
	font-weight: bold !important;
}

.page-title {
	margin-bottom: 20px;
	font-size: 24px;
}

.page-title:first-of-type {
	position: relative;
	top: -70px;
	left: 40px;
	z-index: 999;
	margin-bottom: 0px;
}

.page-title:first-of-type span {
	font-size: 24px;
	background-image: linear-gradient(
		0deg,
		rgba(122, 239, 255, 1) 0%,
		rgba(255, 255, 255, 0.7651435574229692) 100%
	);
	-webkit-background-clip: text;
	color: transparent;
	text-transform: uppercase;
}

/* NEWS MODULE */
.panel-news {
	margin-bottom: 30px;
	color: #ffffff;
	border: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	box-shadow: 0 0 0px #000000;
	background: transparent;
}
.panel-news .panel-heading {
	padding: 10px;
	text-align: center;
}
.panel-news .panel-title {
    padding: 0px 0px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    background-image: linear-gradient(0deg, rgba(122, 239, 255, 1) 0%, rgba(255, 255, 255, 0.7651435574229692) 100%);
    -webkit-background-clip: text;
    color: transparent;
	text-align: center;
}
.panel-news .panel-body {
	padding: 10px;
}
.panel-news .panel-footer {
	border-top: 0px solid #e7e7e7;
	background: transparent;
	font-style: italic;
	font-size: 11px;
	height: 40px;
	color: var(--webenginecolor6);
}

/* RANKINGS MODULE */
.rankings-table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

.rankings-class-image {
	width: 30px;
	height: auto;
	box-shadow: 0 0 5px var(--webenginecolor4);
	border-radius: 50%;
}
.rankings-table tr td {
	border-bottom: 1px solid var(--webenginecolor2);
	border-top: 0px;
	padding: 10px;
	font-size: 18px;
	vertical-align: middle !important;
	text-align: center;
}
.rankings-table-place {
	color: var(--webenginecolor5);
	font-weight: bold;
	font-size: 24px;
	text-align: center;
}
.rankings-table tr:first-child td {
	color: var(--webenginecolor5);
	border-bottom: 3px solid var(--webenginecolor5);
}
.rankings-update-time {
	text-align: right;
	font-size: 11px;
	color: var(--webenginecolor6);
	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: var(--webenginecolor6);
	font-size: 24px;
}
.rankings_menu a {
	display: inline-block;
	width: 150px;
	border: 1px solid var(--webenginecolor2);
	text-align: center;
	padding: 5px 0px;
	margin: 2px;
	background: var(--webenginecolor1);
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: #ccc;
}
.rankings_menu a.active {
	color: var(--webenginecolor5);
	border-color: var(--webenginecolor5);
}
.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: var(--webenginecolor1);
	border: 1px solid var(--webenginecolor2);
}
.myaccount-table tr td:first-child {
	color: #666;
	font-weight: bold;
}
.myaccount-table tr td {
	border-bottom: 1px solid var(--webenginecolor2);
	padding: 15px !important;
}
.myaccount-table tr:last-child td {
	border: 0px;
}

/* GENERAL TABLE UI */
.general-table-ui {
	width: 100%;
	table-layout: fixed;
	background: var(--webenginecolor1);
	border: 1px solid var(--webenginecolor2);
	padding: 10px;
	margin: 10px 0px;
}
.general-table-ui tr td {
	padding: 5px;
	vertical-align: middle !important;
}
.general-table-ui tr:first-child td {
	color: #3f6588;
}
.general-table-ui tr:nth-child(2n+2) td {
	background: var(--webenginecolor3);
}
.general-table-ui tr td {
	text-align: center;
}
.general-table-ui img {
	width: 50px;
	height: auto;
	box-shadow: 0 0 5px var(--webenginecolor4);
	border-radius: 50%;
}

/* 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: 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;
	color: var(--webenginecolor6);
}

/* GENERAL PANEL STYLING */
.panel-general {
	margin-bottom: 30px;
	background: var(--webenginecolor1);
	border: 1px solid var(--webenginecolor2);
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: var(--webenginecolor5);
}

.panel-body .panel-title {
	color: var(--webenginecolor5);
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	border-bottom: 1px solid var(--webenginecolor2);
	margin-bottom: 20px !important;
	font-weight: bold;
}

/* ADD STATS MODULE */
.panel-addstats {
	margin-bottom: 30px;
	background: var(--webenginecolor1);
	border: 1px solid var(--webenginecolor2);
	border-radius: 0px;
	color: var(--webenginecolor5);
}
.panel-addstats .character-avatar img {
	width: 100px;
	height: auto;
	box-shadow: 0 0 5px var(--webenginecolor4);
	border-radius: 10px;
}
.panel-addstats .character-name {
	color: var(--webenginecolor5);
	font-family: 'PT Sans', sans-serif;
	font-size: 18px;
	border-bottom: 1px solid var(--webenginecolor2);
	padding: 20px 0px;
	margin-bottom: 20px !important;
	font-weight: bold;
}

/* DOWNLOADS */
.panel-downloads {
	margin-bottom: 30px;
	background: var(--webenginecolor1);
	border: 1px solid var(--webenginecolor2);
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: var(--webenginecolor5);
}
	.download-description {
		font-size: 11px;
		position: relative;
		top: -7px;
		color: var(--webenginecolor6);
	}

.online-status-indicator {
	margin-left: 5px;
}

/* WEBENGINE CMS */
.webengine-powered { color: var(--webenginecolor6) !important; }
.webengine-powered:active, .webengine-powered: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;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
	.myaccount-character-block img {
		width: 100px;
		height: auto;
		border-radius: 3px;
		box-shadow: 0 0 5px #000;
		transition: all 0.3s ease;
	}
		.myaccount-character-block img:hover {
			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: var(--webenginecolor6);
	font-size: 11px;
	cursor: pointer;
}

	.rankings-class-filter-selection:hover {
		color: var(--webenginecolor5) !important;
	}

	.rankings-class-filter-selection:hover img {
		filter: brightness(120%);
	}

.rankings-class-filter-selection img {
	width: 40px;
	height: auto;
	border-radius: 50%;
	margin-bottom: 5px;
    transition: all 0.3s ease;
	box-shadow: 0px 0px 10px 0px var(--webenginecolor4);
}

.rankings-class-filter-grayscale {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

/* Override */

.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: var(--webenginecolor1);
    border: 1px solid var(--webenginecolor2);
}
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;
}

.table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
    border: 1px solid var(--webenginecolor2) !important;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: var(--webenginecolor1) !important;
}

.table-hover>tbody>tr:hover {
    background-color: var(--webenginecolor3) !important;
}

/* Profiles */

.profiles_guild_card {
	width: 100%;
	background: #000000 url('../img/profiles/guild.jpg') no-repeat;
	background-size: cover;
	overflow: auto;
    border-radius: 10px;
	border: 1px solid var(--webenginecolor2);
	box-shadow: 0 0 10px var(--webenginecolor4);
	padding: 40px;
	color: #ffffff;
	text-shadow: 1px 1px 1px #000;
}
	.profiles_guild_card .guild_logo img {
		clip-path: inset(2px);
	}
	.profiles_guild_card .guild_name {
		font-size: 24px;
		color: var(--webenginecolor5);
		font-weight: bold;
	}
	.profiles_guild_card table {
		table-layout: fixed;
	}
	.profiles_guild_card hr {
		border-top: 1px solid var(--webenginecolor2);
		margin-top: 30px;
		margin-bottom: 30px;
	}
	.profiles_guild_card .guild_members {
		font-size: 24px;
		color: var(--webenginecolor5);
		font-weight: bold;
	}
	.profiles_guild_card .guild_members_list {
		margin-top: 30px;
	}

/* PLAYER PROFILES */
.profiles_player_card {
	width: 100%;
	overflow: auto;
    border-radius: 10px;
	border: 1px solid var(--webenginecolor2);
	box-shadow: 0 0 10px var(--webenginecolor4);
	padding: 20px;
}

	.DW.profiles_player_card, .SM.profiles_player_card, .GM.profiles_player_card, .SW.profiles_player_card, .DSW.profiles_player_card { background: url('../img/profiles/wiz.jpg') no-repeat; background-size: cover; }
	.DK.profiles_player_card, .BK.profiles_player_card, .BM.profiles_player_card, .DGK.profiles_player_card, .IGK.profiles_player_card { background: url('../img/profiles/knight.jpg') no-repeat; background-size: cover; }
	.ELF.profiles_player_card, .ME.profiles_player_card, .HE.profiles_player_card, .NE.profiles_player_card, .RYE.profiles_player_card { background: url('../img/profiles/elf.jpg') no-repeat; background-size: cover; }
	.MG.profiles_player_card, .DM.profiles_player_card, .MK.profiles_player_card, .DPK.profiles_player_card { background: url('../img/profiles/mg.jpg') no-repeat; background-size: cover; }
	.DL.profiles_player_card, .LE.profiles_player_card, .EL.profiles_player_card, .FCE.profiles_player_card { background: url('../img/profiles/dl.jpg') no-repeat; background-size: cover; }
	.SUM.profiles_player_card, .BS.profiles_player_card, .DSM.profiles_player_card, .DS.profiles_player_card, .ESUM.profiles_player_card { background: url('../img/profiles/sum.jpg') no-repeat; background-size: cover; }
	.RF.profiles_player_card, .FM.profiles_player_card, .FB.profiles_player_card, .BF.profiles_player_card { background: url('../img/profiles/rf.jpg') no-repeat; background-size: cover; }
	.GL.profiles_player_card, .ML.profiles_player_card, .SL.profiles_player_card, .AL.profiles_player_card { background: url('../img/profiles/gl.jpg') no-repeat; background-size: cover; }
	.RW.profiles_player_card, .RSM.profiles_player_card, .GRM.profiles_player_card, .MRW.profiles_player_card, .IRW.profiles_player_card { background: url('../img/profiles/rw.jpg') no-repeat; background-size: cover; }
	.SLR.profiles_player_card, .SLRR.profiles_player_card, .MSLR.profiles_player_card, .SLTR.profiles_player_card, .RS.profiles_player_card { background: url('../img/profiles/sl.jpg') no-repeat; background-size: cover; }
	.GC.profiles_player_card, .GB.profiles_player_card, .MGB.profiles_player_card, .HGC.profiles_player_card, .MGC.profiles_player_card { background: url('../img/profiles/gc.jpg') no-repeat; background-size: cover; }
	.LIW.profiles_player_card, .LIM.profiles_player_card, .SHW.profiles_player_card, .LUW.profiles_player_card, .GLW.profiles_player_card { background: url('../img/profiles/liw.jpg') no-repeat; background-size: cover; }
	.LEM.profiles_player_card, .WAM.profiles_player_card, .ARM.profiles_player_card, .MYM.profiles_player_card, .BAM.profiles_player_card { background: url('../img/profiles/lem.jpg') no-repeat; background-size: cover; }
	.IK.profiles_player_card, .MIK.profiles_player_card, .IM.profiles_player_card, .MYK.profiles_player_card, .PPK.profiles_player_card { background: url('../img/profiles/ik.jpg') no-repeat; background-size: cover; }
	.ALC.profiles_player_card, .ALMN.profiles_player_card, .ALMTR.profiles_player_card, .ALFC.profiles_player_card, .CRE.profiles_player_card { background: url('../img/profiles/alc.jpg') no-repeat; background-size: cover; }

.profiles_player_content {
	float: right;
	width: 50%;
	color: #fff;
}

.profiles_player_table {
	width: 100%;
}

.profiles_player_table tr td {
	border: 0px;
}

.profiles_player_table .cname {
	text-align: center;
	font-size: 24px;
	color: #fff;
	font-weight: bold;
}

.profiles_player_table .cclass {
	text-align: center;
	font-size: 11px;
	color: #eee;
}

.profiles_player_table .isoffline {
	color: #ff0000;
}

.profiles_player_table .isonline {
	color: #00ff00;
}

.profiles_player_table_info {
	table-layout: fixed;
	margin-top: 10px;
}
.profiles_player_table_info tr td {
	padding: 3px 10px;
}
.profiles_player_table_info tr td:first-child {
	text-align: right;
}

/* Castle Siege */


.castle-siege-block .castle-owner-panel {
	background: #000 url('../img/castle_owner_bg.jpg') no-repeat;
	background-size: cover;
	color: #ffffff;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
	border: 1px solid #333;
	-moz-box-shadow: 0 0 10px #555;
	-webkit-box-shadow: 0 0 10px #555;
	box-shadow: 0 0 10px #555;
	padding: 20px;
	text-shadow: 1px 1px 1px #000;
	transition: 0.3s;
}
.castle-siege-block .castle-owner-panel:hover {
	-webkit-filter: brightness(120%);
	filter: brightness(120%);
}
.castle-siege-block .castle-owner-panel a {
	color: #cccccc;
}
.castle-siege-block .castle-owner-panel a:hover, .castle-siege-block .castle-owner-panel a:active {
	color: #ffffff;
}
.castle-siege-block .castle-owner-panel .panel-body .castle-owner-name, .castle-siege-block .castle-owner-panel .panel-body .castle-owner-name a {
	color: #ffffff;
	display: block;
	padding: 5px;
	font-size: 24px;
	font-weight: bold;
}
.castle-siege-block .castle-owner-panel .panel-body .castle-owner-ally-title {
	margin-top: 20px;
}
.castle-siege-block .castle-owner-panel .panel-body .castle-owner-ally {
	padding: 5px 0px;
}
.castle-siege-block .castle-owner-panel .panel-body h4 {
	color: #ffcc00 !important;
}

.castle-siege-block #siegeTimer {
	font-size: 48px;
	font-weight: bold;
}
.castle-siege-block #siegeTimer span {
	color: #aaaaaa;
	font-size: 26px;
}

.castle-owner-widget {
	background: #000 url('../img/castle_owner_bg.jpg') no-repeat top right;
	background-size: cover;
	color: #cccccc;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
	border: 1px solid #333;
	-moz-box-shadow: 0 0 10px #555;
	-webkit-box-shadow: 0 0 10px #555;
	box-shadow: 0 0 10px #555;
	padding: 20px;
	text-shadow: 1px 1px 1px #000;
	transition: 0.3s;
}
.castle-owner-widget:hover {
	-webkit-filter: brightness(120%);
	filter: brightness(120%);
}
	.castle-owner-widget .panel-heading {
		text-align: center;
	}
		.castle-owner-widget .panel-heading .panel-title {
			font-size: 28px;
			font-weight: bold;
		}
	.castle-owner-widget .panel-body span.alt {
		color: #cf7957;
		font-weight: bold;
	}
	.castle-owner-widget .panel-body a {
		color: #ffffff;
	}
	
	.btn-castlewidget {
		color: #ffffff;
		background-color: transparent;
		border-color: #ffffff;
		-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;
		text-shadow: none;
	}
	.btn-castlewidget:active, .btn-castlewidget:focus, .btn-castlewidget:hover {
		color: #000000 !important;
		background-color: #ffffff !important;
		border-color: #ffffff !important;
	}