/* -------------- Basic map styling -------------- */

html, body {
  height: 100%;
}

.title {
  display: none;
}

body {
  background: black;
  margin: 0;
  padding: 0;
}

#map {
  width: 100%;
  height: 100%;
  background: black;
  margin: 0 auto;
  z-index: 1;
}

/* Tooltip styling */

.guild-name, p a {
  background: transparent !important;
  border: transparent !important;
  color: white !important;
  box-shadow: none !important;
  text-align: center !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  width: 75px;
}

.territory-tooltip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.name-res-holder {
  display: flex;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.identifier {
  font-weight: bold !important;
  margin: 0 0 0 0 !important;
}

.leaflet-tooltip-left.guild-name::before {
  border-left-color: transparent !important;
}

.leaflet-tooltip-right.guild-name::before {
  border-right-color: transparent !important;
}

/* -------------- Info overlay styling --------------- */

#info {
  position: fixed;
  /* Sit on top of the page content */
  width: 100%;
  /* Full width (cover the whole page) */
  height: 10%;
  /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
}

#info span {
  margin: 0 auto;
}

/* -------------- Menu overlay styling  -------------- */

#menu {
  position: fixed;
  /* Sit on top of the page content */
  width: 15%;
  /* Full width (cover the whole page) */
  height: 100%;
  /* Full height (cover the whole page) */
  overflow-y: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(255, 255, 255, 0.1);
  /* White background with opacity */
  z-index: 2;
}

.menu-text, p a {
  text-align: left !important;
  font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
  width: 100%;
}

p a {
  text-decoration: none;
}

.menu-title {
  font-weight: bolder;
  font-size: 20px;
  text-shadow: 0px 0px 3px white, -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

#guild-leaderboard {
  max-height: 200px;
  overflow-y: auto;
}

.leaderboard-item {
  margin-bottom: 8px;
  margin-top: 8px;
}

.guild-input {
  width: 90%;
}

/* Slider styling */

.slidecontainer {
  width: 100%;
}

.slider {
  width: 85%;
  margin-right: 5%;
  -webkit-appearance: none;
  /* Override default CSS styles */
  appearance: none;
  height: 7px;
  /* Specified height */
  border-radius: 10px;
  background: #d3d3d3;
  /* Grey background */
  outline: none;
  /* Remove outline */
  opacity: 0.7;
  /* Set transparency (for mouse-over effects on hover) */
  -webkit-transition: .2s;
  /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
  /* Fully shown on mouse-over */
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  /* Override default look */
  appearance: none;
  width: 15px;
  /* Set a specific slider handle width */
  height: 15px;
  /* Slider handle height */
  border-radius: 50%;
  background: grey;
  /* Green background */
  cursor: pointer;
  /* Cursor on hover */
}

.slider::-moz-range-thumb {
  width: 15px;
  /* Set a specific slider handle width */
  height: 15px;
  /* Slider handle height */
  border-radius: 50%;
  background: grey;
  /* Green background */
  cursor: pointer;
  /* Cursor on hover */
}

input[type=text], button, input[type=button] {
  padding: 5px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 1px solid #555;
  border-radius: 3px;
  outline: none;
}

button, input[type=button], input[type=color] {
  cursor: pointer;
}

.button-group {
  display: flex;
  align-items: center;
}

#reset-custom-colors {
  background-color: #c55661;
  color: #fbe6e8;
}

/* Scrollbar */

/* width */

::-webkit-scrollbar {
  width: 10px;
}

/* Track */

::-webkit-scrollbar-track {
  background: #f2f2f2;
}

/* Handle */

::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#coord-box {
  position: fixed;
  bottom: 0;
  left: 47%;
  z-index: 10;
  background-color: gray;
  color: #111111;
  border-radius: 2px;
  padding: 3px;
  font: 14px "Helvetica Neue", Arial, Helvetica, sans-serif;
}

#alert-message-container {
  z-index: 10;
  position: fixed;
  left: 0;
  top: 20px;
  width: 100%;
  display: none;
  justify-content: center;
  font: 20px "Helvetica Neue", Arial, Helvetica, sans-serif;
}

#alert-message {
  z-index: 10;
  background-color: white;
  color: black;
  border-radius: 2px;
  padding: 5px;
}