@charset "utf-8";

@font-face {
	font-family: Century Gothic;
	src: url(../fonts/GOTHIC.TTF);
}

/* Mobile Portrait Settings */
@media screen and (max-width: 576px) {
	.windowTitle {
		text-align: center !important;
		font-size: 12pt;
	}
	#chatBoxContainer {
		background-color: rgba(0,0,0,0.4);
	}

	#chatBox {
		overflow: hidden;
		overflow-y: scroll;
		font-size: 9pt;
	}

	#chatBox > p, #chatBox > p > b {
		margin-bottom: 0;
	}

	#chatBox > p {
		padding: 0 4px;
	}

	.gameForm {
		background-image: none !important;
	}

	#viewport {
		width: 768px;
		display: none;
	}

	#inventoryContainer {
		display: none;
	}

	input, select, textarea, button {
		font-size: 16px !important;
	}

	.tooltip-box {
		width: 130%;
    	font-size: 0.7rem !important;
	}
}

/* Mobile Landscape Settings */
@media screen and (min-width: 576px) {
	.windowTitle {
		font-size: 12pt;
	}
	#chatBoxContainer {
		width: 757px;
		height: 169px;
		margin-top: 9px;
		margin-left: 25px;
		background-color: rgba(0,0,0,0.4);
		border-radius: 0 0 0 10px;
	}

	#chatBox {
		overflow: hidden;
		overflow-y: scroll;
		font-size: 9pt;
	}

	#chatBox > p, #chatBox > p > b {
		margin-bottom: 0;
	}

	#chatBox > p {
		padding: 0 4px;
	}

	#viewport > canvas {
		box-shadow: 2px 2px 12px black;
		border-radius: 5px;
	}

	.gameForm {
		background-image: none !important;
	}

	#vitalStatsContainer {
		position: fixed;
		top: 0.8rem;
		right: 0.8rem;
		opacity: 0.7;
	}

	#inventoryContainer {
		position: fixed;
		top: 50vh;
		right: 0.8rem;
		display: none;
	}

	#chatBoxContainer {
        width: 768px;
        height: 169px;
        margin-top: 9px;
        margin-left: 0;
        background-color: rgba(0, 0, 0, 0.4);
        border-radius: 5px;
    }

	.tooltip-box {
		width: 200%;
    	font-size: 0.8rem !important;
	}

	#controlPanel {
		width: 792px;
	}
}

/* Desktop Settings */
@media screen and (min-width: 992px) {
	.viewport-container {
		max-width: 789px !important;
	}

	#viewport {
		margin-top: 5px;
    	margin-left: 19px;
	}

	#viewport > canvas {
		box-shadow: none;
		border-radius: 0;
	}

	.gameForm {
		background-image: url(../data/gfx/interface1.png) !important;
	}

	#vitalStatsContainer {
		position: inherit;
		opacity: 1;
	}

	#inventoryContainer {
		position: inherit;
		display: inline-block;
	}

	#chatBoxContainer {
        width: 757px;
        height: 169px;
        margin-top: 9px;
        margin-left: 25px;
        background-color: rgba(0, 0, 0, 0.4);
        border-radius: 0 0 0 10px;
    }

	input, select, textarea, button {
		font-size: 0.875rem !important;
	}

	.tooltip-box {
		width: 200%;
	}

	#controlPanel {
		width: 829px;
		margin-bottom: -2px;
	}
}

body {
	color: #999999 !important;
	background-attachment:fixed;
	background-size:cover;
	font-family: Century Gothic !important;
}

a {
	text-decoration: none !important;
}

p {
	text-shadow: 0px 1px 2px black;
}

h1 {
	font-size: 1.6rem !important;
}

h2 {
	font-size: 1.1rem !important;
}

#viewport {
	position: relative;
}

.fs-7 {
	font-size: 0.9rem !important;
}

.fs-8 {
	font-size: 0.8rem !important;
}

.control-panel-btn {
	background: linear-gradient(rgba(37, 41, 60, 0.5), rgb(34 35 54)), url(../images/background.jpg) !important;
    background-position: center !important;
    border: 1px solid #3c3c3c !important;
    border-bottom: none !important;
    border-radius: 3px 3px 0 0 !important;
}

.bg-alt {
	background-color: #363c56 !important;
}

.stat-level, .stat-hp, .stat-energy, .stat-mana {
	border-radius: 5px;
    width: 2.1rem;
    text-align: center;
    box-shadow: inset 0px 0px 5px black, 0 0 2px black;
    text-shadow: 1px 1px 1px black;
    border: 1px solid rgba(0, 0, 0, 0);
}
.stat-level {
	background-color: rgba(255,255,0,0.2);
}
.stat-hp {
	background-color: rgba(255,0,0,0.2);
}
.stat-energy {
	background-color: rgba(0,255,0,0.2);
}
.stat-mana {
	background-color: rgba(0,0,255,0.2);
}

.stat-bar-container {
	width: calc(100% - 0.14rem);
    height: 25%;
    background-image: grey;
    position: relative;
    text-align: left;
    border-radius: 0.2rem;
    overflow: hidden;
    border: 1px solid #0a0a0a;
    margin: 0.06rem 0.07rem;
}

.stat-bar-container > .stat-bar {
	box-sizing: inherit;
    height: 100%;
    width: 100%;
	transition: width 0.5s;
	box-shadow: black 0px -1px 7px inset, black 0px 0px 2px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 3px;
}

.stat-bar-container > .text-overlay {
	position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    line-height: 100%;
    font-size: 8pt;
    font-weight: bold;
    text-shadow: rgb(0, 0, 0) 0px 2px 2px;
    text-align: center;
    color: #d5d5d5;
}

.card-selection {
	transition: 0.2s ease;
	background-color: rgba(0,0,0,0.3) !important;
	box-shadow: 0px 1px 3px black;
}
.card-selection:not(.disabled):hover {
	background-color: transparent !important;
	cursor: pointer;
}
.card-selection.disabled {
	opacity: 0.6 !important;
	cursor: not-allowed;
}

.captcha-container {
	overflow: hidden;
    width: 300px;
    height: 75px;
}

.card {
	--bs-card-bg: rgba(33,37,60,0.3) !important;
}

.smallMenuTab {
	width: 50% !important;
    font-size: 10pt !important;
    text-align: center;
    float: left !important;
    border-top: none !important;
}

#loadSpinner {
	position: absolute;
    top: 23rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(0 12 36 / 80%);
    z-index: 1;
    border: 1px solid rgb(66 66 66);
}

.loadSpinner {
	width: 80px;
    height: 80px;
}

.loadSpinnerStatus {
	display: block;
}

#inventoryContainer {
	width: 238px;
	height: 204px;
	margin-top: 6px;
	margin-left: 9px;
}

.inventory-slot:first-child {
	margin-left: 0 !important;
}

.inventory-slot {
	display: inline-block;
	width: 32px;
	height: 32px;
	cursor: pointer;
}
.inventory-slot:first-child, .inventory-slot:nth-child(8n) {
	margin-left: 0 !important;
}
.inventory-slot.inventory-item {
	background: url(../data/gfx/items.png) no-repeat;
}
.inventory-slot.inventory-item:hover {
	box-shadow: inset 0 0 5px white, 0 0 5px white;
}

#vitalStatsContainer {
	width: 185px;
	height: 52px;
	margin-left: 3.76rem;
}

#vitalStatsContainer > * {
	margin-bottom: 1px;
}

.gameForm {
	background-image: url(../data/gfx/interface1.png);
	background-repeat: no-repeat;
	background-position-x: center;
	width: 1086px;
	height: 577px;
	margin-bottom: 14px;
}

.selectedTileGFX {
	width: 32px;
	height: 32px;
	margin: 2px;
	margin-left: 14px;
	margin-right: 14px;
	background-color: black;
	border: 1px solid black;
	box-shadow: 2px 2px 3px black;
}

.toolbox {
	background-color: #25293c !important;
	position: absolute !important;
	top: 30px;
	right: 30px;
	z-index: 9;
}

.toolbox > .card-header {
	cursor: move;
	z-index: 10;
	background-color: #232636;
	text-align: center;
	border-bottom: 1px solid #333333;
}

.card-header > .btn-close {
	position: absolute;
    right: 0.5rem;
}

.mapEditorTiles {
	overflow-x: hidden;
	height: 227px;
	border: 1px solid black;
	background-color: black;
	position: relative;
	cursor: pointer;
}

.layerSelected {
	background-color: #2d324b !important;
}

.layerButtons {
	margin: 8px;
	margin-top: 0;
	text-align: left;
}

.mapEditorLayerSelection {
	display: block !important;
    font-size: 9pt !important;
    padding: 0 !important;
    width: 100px;

}

.classSpriteContainer {
	width: 32px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 25px;
    box-shadow: 0px 0px 29px 8px;
}

.radio-container {
	padding-left: 12px;
	display: inline;
}

.spriteFrame {
	border: 2px solid rgba(84,84,84,0.6);
    border-radius: 10px;
    width: 45px;
    height: 45px;
    margin: auto;
    display: grid;
    text-align: center;
}

.characterInfo > table, .classInfo {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.characterName, .className {
	text-align: center;
    background-color: #25293c;
    border-bottom: 1px solid #444444;
    font-size: 11pt;
}

.characterSprite, .classSprite {
	height: 32px;
    width: 32px;
    background-image: url(../data/gfx/sprites.png);
    background-position-x: -96px;
    background-position-y: -64px;
    margin: auto;
}

.statLabel {
	font-size: 9pt;
	text-align: right;
}

.stat, .classStat {
	font-size: 9pt;
	text-align: center;
	color: aliceblue;
	padding-left: 3px;
	padding-right: 3px;
	margin-left: 3px;
	margin-right: 3px;
}

.success {
	background-color: #25293c;
    border-radius: 18px;
    box-shadow: 1px 5px 7px 0px rgba(0,0,0,0.5);
    border: 1px solid seagreen;
    color: darkseagreen;
    opacity: 0;
    transition: 10s ease-out;
}

.full-opacity {
	opacity: 100%;
}

.characterTable, .newCharacterTable {
	border-collapse: initial;
	border-spacing: 10px;
}

.newCharacterTable {
	max-width: 426px;
	padding-bottom: 26px;
}

.empty-slot {
	text-align: center;
	font-size: 58pt;
	color: rgba(0,0,0,0.5);
	display: table-cell;
}

.slot-selected {
	border: 1px solid lightsalmon !important;
	background-color: transparent !important;
}

.serverInfo {
	border-radius: 5px;
	background-color: rgba(0,0,0,0.4);
	text-shadow: 2px 2px 2px #000000;
}

.valign-center {
	display: table-cell;
	vertical-align: middle;
}

.news-header, .card-header, .modal-header {
	background-color: rgba(9, 24, 54, 0.5) !important;
	color: #737373 !important;
	text-shadow: 2px 2px 2px #000000 !important;
	font-weight: bold;
}


.table-header {
	margin-top: 0;
}

.error {
    font-size: 9pt;
    color: red;
    text-shadow: 1px 1px 1px #000000;
}

.form-box {
	margin-bottom: 24px;
}

.form-box > tr > td {
	margin-bottom: 8px;
}

.mainWindow {
	background-color: rgba(67,65,100, 0.3);
	border: 1px solid rgba(23,23,23,1);
}

.mainWindowTitle {
	width: 812px;
	height: 60px;
	margin: 0 auto;
	padding: 0;
	line-height: 56px;
	text-align: center;
	background-image: url(../images/title.png);
	background-size: cover;
}

.windowTitle {
	background-color: #25293c;
	border: 1px solid rgba(73,73,73, 0.5);
	border-right: none;
	border-left: none;
	text-shadow: 2px 2px 2px #000000;
}

.mainMenuWrapper {
	background-color: #25293c;
	border: 1px solid rgba(73,73,73, 0.5);
	border-right: none;
	border-left: none;
	padding: 0;
	margin: 0;
	height: 100%;
	width: 100%;
	position: absolute;
    z-index: -1;
}

.mainTitleStatus > p {
	text-align: center;
}

.tab-menu {
	overflow: hidden;
    width: 100%;
    height: 100%;
	background-color: #25293c;
}

.tab-menu > .tab-menu-item {
	list-style-type: none;
	background-color: #25293c;
	font-size: 10pt;
	color: #999999;
	text-shadow: 2px 2px 2px #000000;
	cursor: pointer;
	transition: 0.4s ease-out;
}

.tab-menu > .tab-menu-item:hover:not(.selected) {
	background-color: #2d324b !important;
	border-color: #555555 !important;
}

.tab-menu-item.selected {
	background-color: #363c5a !important;
}


.tab-menu-bg {
	border-top: 1px solid rgba(73,73,73, 0.5);
    border-bottom: 1px solid rgba(73,73,73, 0.5);
    height: 100%;
    width: 25%;
    display: inline-block;
}

.mnuSelected {
	background-color: #2d324b !important;
	border-color: #555555 !important;
}

.boxLabel {
	width: 145px;
	padding: 0;
	padding-right: 5px;
	color: #999999;
	text-shadow: 2px 2px 2px #000;
	font-size: 12pt;
	text-align: right;
	line-height: 33px;
}

.custom-btn, .btn-small {
	padding: 4px;
	padding-left: 16px;
	padding-right: 16px;
	display: table-cell;
	background-color: #25293c;
	border: 1px solid rgba(73,73,73, 0.5);
	border-radius: 25px;
	font-family: Century Gothic;
	font-size: 12pt;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	color: #999999;
	text-shadow: 2px 2px 6px #000;
	cursor: pointer;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
	text-shadow: 2px 2px 3px rgba(0,0,0,1);
	outline: none;
	margin: 8px;
}

.btn-small {
	float: right;
	margin: 4px !important;
	margin-top: 2px;
	margin-right: 15px;
	font-size: 9pt;
	padding-left: 12px;
    padding-right: 12px;
    line-height: 12px;
}

.custom-btn:hover, .btn-small:hover {
	background-color: #2d324b;
	border-color: #555555;
	transition: 0.4s ease;
}

.leftTab {
	border-radius: 5px 0 0 0;
}

.rightTab {
	border-radius: 0 5px 0 0;
}

.mainMenuList {
	float: left;
}

li.mainMenuList > a {
	position: relative;
}

.mainMenuButton, .mainMenuButtonSelected {
	font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
	background-size: cover;
	font-weight:bold;
	text-decoration:none;
	color:#C2CAD6;
	width:135px;
	height: 34px;
	background-image: url(../images/menu-button.png);
	padding: 0px;
	margin: 0px;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	font-size: 13px;
	background-repeat: no-repeat;
}

.mainMenuButtonSelected {
	background-image: url(../images/menu-button-light.png);
}

.mainMenuButton:hover {
	transition: .5s ease;
	background-image: url(../images/menu-button-mid.png);
}

.header-bg {
	background-image: url(../images/title.png);
    background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	height: 85px;
}

.header-bg > div {
	background-color: rgba(0,0,0,0.3);
    border-radius: 8px;
}

.mainTitle {
	display: table;
	position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.mainTitleStatus {
	height: 100%;
    display: table-cell;
    vertical-align: middle;
}

.mainFooter {
	background-color:#071418;
	border-top-width:1px;
	font-family:Tahoma;
	font-size:11px;
	font-weight:bold;
	position:fixed;
	bottom:0px;
	border-top-style: solid;
	border-top-color: #666;
	padding: 3px;
	width: 100%;
	margin: 0px;
	left: 0px;
	text-align: center;
	z-index: 2;
}

.inner-container {
	padding: 1rem;
}

.fs-8 {
	font-size: 0.7rem !important;
}

.online {
	color: green;
}
.offline {
	color: red;
}

@keyframes hostile {
	0% {
		color: rgb(122, 0, 0);
	}
	50% {
		color: red;
	}
	100% {
		color: rgb(122, 0, 0);
	}
}

.hostile {
	animation-name: hostile;
	animation-duration: 1s;
	animation-iteration-count: infinite;
}

.friendly {
	color: aquamarine !important;
}

#mapEditor {
	width: 262px;
}

.btn {
	font-size: 0.7rem !important;
	border: 1px solid rgb(71 86 125);
	box-shadow: inset 0px 0px 3px black, 1px 2px 3px rgba(0, 0, 0, 0.4);
}

#controlPanel > div > button, .min-width {
	min-width: 80px !important
}

.btn-container > .btn {
	min-width: 6.8rem !important;
}

.btn-dark {
	--bs-btn-bg: #28314a !important;
	--bs-btn-hover-bg: #2f3956 !important;
}

.btn-check:checked+.btn {
	background-color: #353f5f !important;
}

.top-25 {
	top: 25%;
}

#godPanel {
	position: fixed;
    top: 0;
    right: 0;
    background-color: #25293c;
    border-bottom-left-radius: 0.2rem;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
	padding: 0.2rem 0.5rem;
}

#godPanel > button {
	margin: 0.3rem 0;
    min-width: 6rem !important;
	width: 100%;
}

.modal-header {
	padding: 0.6rem !important;
    background-color: #232636;
    text-align: center;
	font-weight: bold;
}

.box-fade {
	background-color: rgba(0, 0, 0, 0.5);
}
  
/* Style the tooltip box */
.tooltip-box {
	visibility: hidden;  /* Initially hidden */
	background-color: #25293c;
	color: #fff;
	text-align: center;
	padding: 5px 0;
	border-radius: 4px;
	border: 1px solid #353b58;
  
	/* Positioning */
	position: absolute;
	bottom: 100%; /* Show above the element */
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 10px; /* Space between the element and the tooltip */
  
	/* Tooltip arrow */
	opacity: 0; /* Make it invisible initially */
	transition: opacity 0.3s; /* Smooth transition */
	text-shadow:  1px 2px 3px black;
	box-shadow: 0 0 6px black;
}
  
/* Show the tooltip when hovering */
.hover-element:hover .tooltip-box {
	visibility: visible;
	opacity: 1; /* Fade it in */
}
  
  /* Optional: Add an arrow below the tooltip */
.tooltip-box::after {
	content: "";
	position: absolute;
	top: 100%; /* Position arrow below the tooltip */
	left: 50%;
	margin-left: -8px;
	border-width: 8px;
	border-style: solid;
	border-color: #25293c transparent transparent transparent; /* Black arrow */
}

.layer-selected {
	background-color: #2d324b;
}

/* The selection outline */
.tile-outline {
	top: 0;
	position: absolute;
	width: 32px;
	height: 32px;
	border: 1px solid rgb(255, 255, 255); /* Outline color */
	pointer-events: none; /* Ignore pointer events on this element */
}

.item-container, .monster-container {
	border: 1px solid grey;
    background-color: black;
    overflow-y: scroll;
	position: relative;
	cursor: pointer;
}

.item-container {
	width: 500px;
    height: 192px;
}

.monster-container {
    height: 323px;
}

.item-outline {
	position: absolute;
	width: 32px;
	height: 32px;
	border: 1px solid white;
}

#itemInfoContainer {
    z-index: 3;
	position: absolute;
	background-color: #25293c;
	padding: 5px 0;
	border-radius: 4px;
	border: 1px solid #353b58;
	text-shadow:  1px 2px 3px black;
	box-shadow: 0 0 6px black;
	min-width: 13.5rem;
	max-width: 15rem;
}

#itemInfoPicture {
	background-color: rgba(0,0,0,0.5);
}
#itemInfoPicture > div {
	background-image: url(../data/gfx/items.png);
    width: 32px;
    height: 32px;
}

#scriptSearchResult {
	list-style-type: none;
    padding: 0;
    background-color: #141929 !important;
    cursor: pointer;
    border-radius: 0 0 0.25rem 0.25rem;
    position: absolute;
    width: calc(100% - 6.5rem);
    z-index: 6;
    border: 1px solid #4f4f4f;
    border-top: none;
    font-size: 10pt;
}

#scriptSearchResult > li {
	border-bottom: 1px solid #393939;
    padding: 0 0.5rem;
}

#scriptSearchResult > li:hover {
	color: white;
}

#scriptSearchResult > li:last-child {
	border-bottom: none;
}

.progress {
	--bs-progress-bar-transition: none !important;
}

#loadProgress > span {
	position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.title-bar {
	background-image: url(../images/new-eden-map.png);
	min-height: 80px;
    border: 1px solid #313131;
    border-bottom: none;
}

.title-img {
	width: 20rem;
}

.form-check-input {
	font-size: 1rem !important;
}

.list-group {
	cursor: pointer;
}

.tile {
	width: 32px;
	height: 32px;
}

.items-spritesheet {
	background-image: url(../data/gfx/items.png);
}

.monsters-spritesheet {
	background-image: url(../data/gfx/sprites.png);
}

#infoTextContainer {
	width: 300px;
	min-height: 50px;
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: rgba(20, 20, 20, 0.8);
	border: 1px solid #556070;
	transform: translate(-50%, -50%);
}

@keyframes moveFade {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) translateY(10px);
	}
	15% {
		opacity: 1;
		transform: translate(-50%, -50%) translateY(0);
	}
	85% {
		opacity: 1;
		transform: translate(-50%, -50%) translateY(0);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -50%) translateY(-10px);
	}
}

.animate-level-up {
  	animation: moveFade 5s ease-in-out forwards;
}

.modal-dialog-centered {
	min-height: calc(800px - var(--bs-modal-margin) * 2) !important;
}