/*.control-group {*/
/*  color: black;*/
/*  padding-left: 10px;*/
/*  padding-right: 10px;*/
/*}*/

.control-group {
  display: flex;
  flex-direction: row;
  flex-flow: row;
  padding-top: 5px;
  pointer-events: auto;
}

.message-view {
  background-color: #c4e3f3;
  border-bottom-color: #5bc0de;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  display: flex;
  flex-flow: row;
}

.tooltip {
  position: relative;
  display: inline;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 231px;
  background-color: #555;
  color: #fff;
  text-align: start;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip-table {
  width: inherit;
  max-width: 225px;
  white-space: wrap;
  table-layout: auto;
  border-collapse: collapse;
  margin: 3px;
  font-size: x-small;
}

table.tooltip-table tr {
  width: inherit;
  flex-direction: column;
}

table.tooltip-table td {
  white-space: wrap;
}

.maplibregl-popup-close-button {
  background-color: transparent;
  border-radius: 0 3px 0 0;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  width: 16px;
  height: 16px;
  color: black;
  padding: 0;
}

div.maplibregl-popup-content table tr th {
  color: black;
  padding: 4px 8px;
  white-space: nowrap;
  text-wrap: nowrap;
  background-color: #DDD;
}

div.maplibregl-popup-content table tr td {
  color: black;
  padding: 4px 8px;
  background-color: #EEE;
}

div.maplibregl-popup-content table td div.wrappable {
  width: 125px;
  font-family: Arial;
  font-weight: lighter;
  text-wrap: wrap;
}

div.maplibregl-popup-content table tr td:first-child,
div.maplibregl-popup-content table tr th:first-child {
  white-space: nowrap;
  border-left: none;
}

div.maplibregl-popup-content table tr:first-of-type td,
div.maplibregl-popup-content table tbodytr:first-of-type th {
  border-top: none;
  white-space: nowrap;
  text-align: center;
  background-color: #EEEEEE;
}

.in-circle {
  display: inline-block;
  background: #333;
  color: #fff;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  line-height: 11px;
  text-align: center;
  font-size: 9px;
  font-family: Verdana;
  cursor: hand;
}

.tick-data {
  color: black;
}

.tick-larva {
  cursor: url("../res/infotick/tick_l.jpeg"), auto;
  width: 24px;
}

.tick-nymph {
  cursor: url("../res/infotick/tick_n.jpeg"), auto;
  width: 32px;
}

.tick-male {
  cursor: url("../res/infotick/tick_am.jpeg"), auto;
  width: 50px;
}

.tick-female {
  cursor: url("../res/infotick/tick_af.jpeg"), auto;
  width: 50px;
}

.select-source {
  pointer-events: auto;
}

.selector-point-icon {
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAALdJREFUOI1jYMAOFID4GxD/h+JvUDGiQAkQX8QifgkqhxdwAPETJP40KIaBJ1A1OMEeIGaFskFOF4Pi/1AxkNxufAbAFDoCcRySeAIQO6CpwWuABBAvQRJfCsTixBiAHHingfg+FJ9CEr+Az4AcILbCI28DxNn4DACBc3jkzhPSDAL4/IjX/zCQDMSxWMTjoHJEAWw2EWU7DOQCcToSPwMqRhL4j4NNNJAE4ttQLEGOASCwFIpxAgBU8ChLMbI4+AAAAABJRU5ErkJggg==") no-repeat center;
  padding-left:16px;
}
.selector-poly-icon {
  padding-left:16px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAA3lBMVEUAAAAzMzMUFBQzMzMzMzMmJiYTExMwMDAxMTEyMjIzMzMcHBwyMjIzMzMzMzMdHR0wMDAMDAwVFRUwMDAcHBwzMzMyMjImJiYfHx8jIyMnJycxMTEnJycMDAwODg4vLy8zMzMsLCwhISEWFhYQEBAdHR0JCQkxMTEuLi4KCgotLS0wMDAeHh4wMDAzMzMrKyszMzMZGRkoKCgyMjIUFBQUFBQeHh4bGxszMzMQEBATExMzMzMmJiYzMzMcHBwNDQ0sLCwyMjItLS0zMzMjIyMnJychISEcHBwUFBQzMzOy2E7gAAAASXRSTlMA2irU8lIXnsLc6UjN3OBIqAEXtS30vW1DUmG1YAQJnf18RhsJLQTEpgSdsk2u+4XJNmTTCx8zJvcIEt5W+iMEhc+J6kdjQTcXgxA5kQAAAJhJREFUeF5NjtUagzAMRtOtDBkw5u7u7u7r+7/QaGj5OBdJzn/zBzgRQhIQJMpYMhcPBAV9mjXtDFWEN422O1NpVhVBsY4rrzmel8wyIBX9hQ21DwgaVgsbYiBxNAU63V4fJANGAYYj8BlPVIDZ3PfFcuVOey19Y2z52u2FH4746el8Qb3e7g88KHuGOZasV+k7xPkS8uP+BxJpDX3y3etIAAAAAElFTkSuQmCC") no-repeat center;
}

.btn-active {
  border: #17234E solid thin;
  background: #17234E;
}

.btn-inactive {
  border: #FFFFFF solid thin;
}

.invisible {
  visibility: collapse;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  display: block;
  margin: 10% auto;
  max-width: 90%;
  max-height: 80%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}
