/* Common Styles */

.navbar .navbar-brand {
	margin-left: 0px;
	margin-right: 5px !important;
}

.navbar .divider-vertical {
	height: auto;
	margin: 0 9px;
	border-left: 1px solid #e2e2e2;
	border-right: 1px solid #ffffff;
}

.navbar .fullname {
	cursor: default;
}

.content {
	margin-top: 85px;
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
}

.working {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: fixed;
	display: none;
	opacity: 0.7;
	background-color: #fff;
	z-index: 9998;
	text-align: center;
}

.working .image {
	width: 280px;
	height: 280px;
	min-width:280px;
	min-height:280px;

	position:absolute; /*it can be fixed too*/
	left:0; right:0;
	top:0; bottom:0;
	margin:auto;

	/*this to solve "the content will not be cut when the window is smaller than the content": */
	max-width:100%;
	max-height:100%;
	overflow:auto;

	animation: rotation 2s infinite linear;
	transition: rotate 2s;

	opacity: 0.7;
	z-index: 9999;
}

.noshow {
	display: none !important;
}

.noselect {
	-webkit-touch-callout: none; /* iOS Safari */
		-webkit-user-select: none; /* Safari */
		 -khtml-user-select: none; /* Konqueror HTML */
			 -moz-user-select: none; /* Old versions of Firefox */
				-ms-user-select: none; /* Internet Explorer/Edge */
						user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.working .image:hover {
	rotate: 1 -0.5 1 180deg;
}

@keyframes rotation {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(359deg);
	}
}

.btn-dropdown-nicknames {
	display: none !important;
}

/* Home Styles */

.home {
	margin: auto;
	padding: 20px;
	max-width: 550px;
}

/* Library Styles */

.library {
	font-size: 10pt;
}

.library .header {
	font-weight: bold;
}

.library .header .nickname {
	width: 130px;
}

.library .nick {
	width: 130px;
	cursor: pointer !important;
}

.library .nick:hover {
	color: #00AAFF;
}

.library .guilds {
	width: 155px;
}

.library .entries {
	width: 100px;
}

.library .logo {
	height: 20px;
}

/* Heroes Styles */

.heroes {
	font-size: 10pt;
}

.heroes .header {
	font-weight: bold;
	cursor: pointer;
}

.heroes .sort {
	width: 20px;
}

.heroes .hero {
	width: 120px;
}

.heroes .placement {
	width: 85px;
}

.heroes .role {
	width: 75px;
}

.heroes .faction {
	width: 120px;
}

.heroes .stat {
	width: 80px;
}

.heroes .attack {
	width: 85px;
}

.heroes .buff {
	width: 250px;
}

.heroes .sets {
	width: 160px;
}

.counters .select-hero-container {
	display: flex;           /* Use flexbox to align items horizontally */
	flex-wrap: wrap;            /* Allow items to wrap to the next line */
	justify-content: flex-start; /* Align items to the left */
	gap: 10px;                  /* Add space between items (optional) */
}

.counters .select-hero {
	position: relative;
	width: 50px;  /* Set the container width to 50px */
	height: 50px; /* Set the container height to 50px */
	/* Ensuring the container behaves as a flex item */
	flex-basis: 50px; /* Ensures each item takes up the same width (50px) */
	flex-grow: 0; /* Don't let items grow */
	flex-shrink: 0; /* Don't let items shrink */
}

.counters .background, .counters .middle, .counters .border {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.counters .background {
	z-index: 1;  /* Background layer */
}

.counters .middle {
	z-index: 2;  /* Middle layer */
}

.counters .border {
	width: 56px; /* Set the border image width to 56px */
	height: 56px; /* Set the border image height to 56px */
	z-index: 3;  /* Front layer */
	top: -3px;   /* Adjust the top position to make the border image fit */
	left: -3px;  /* Adjust the left position to make the border image fit */
}

.counters img {
	width: 100%; /* Ensures images fill the container */
	height: 100%; /* Ensures images fill the container */
	object-fit: cover; /* Maintains aspect ratio */
}

/* Tooltip styling */
.counters .select-hero img {
	position: relative;
	cursor: pointer;
}

/* Tooltip styling using a span */
.counters .hero_tooltip {
	position: absolute;
	top: 50px; /* Position the tooltip above the container */
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(0, 0, 0, 0.7); /* Dark background */
	color: white; /* Text color */
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 12px; /* Increased font size */
	white-space: nowrap;
	text-align: center;
	z-index: 10; /* Ensure tooltip is on top of other elements */
	visibility: hidden; /* Hide tooltip by default */
}

/* Show tooltip when hovering over the container */
.counters .select-hero:hover .hero_tooltip {
	visibility: visible;
}

.counters .placeholders {
	position: relative;
	width: 50px;  /* Set the container width to 50px */
	height: 50px; /* Set the container height to 50px */
	/* Ensuring the container behaves as a flex item */
	flex-basis: 50px; /* Ensures each item takes up the same width (50px) */
	flex-grow: 0; /* Don't let items grow */
	flex-shrink: 0; /* Don't let items shrink */



	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.counters .placeholder {
	width: 50px;
	height: 50px;
	display: inline-block;
}

/* Semi-transparent effect when selected */
.counters .selected {
	opacity: 0.5;
}

.counters .placeholder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.counters .placeholder.full {
	border-color: #ccc;
	background-color: #e0e0e0;
}




/* Input Styles */

.input-hw-data .nav-tabs {
	border-bottom: none !important;
}

.input-players {
	padding: 10px;
}

.input-players .col-form-label {
	white-space: nowrap;
}

.input-players .dropdown-item {
	cursor: pointer;
}

.input-players .btn {
	width: 100px;
}

/* Output Styles */

/* Search Styles */

.search .btn {
	width: 100px;
}

/* Media Styles */

.media-nav .nav-tabs {
	border-bottom: none !important;
}

.media-images {
}

.media-images .images {
	display: inline-block;
	text-align: center;
}

.media-images .images img {
	width: 148px;
	height: 72px;
	margin: 10px;
}

/* Admin Styles */
