/* -------------------------------------------------------- */
body {
  padding: 1% 0%;
  background-color: rgb(170, 187, 204, 0.05);
  color: rgb(52, 58, 64);
  overflow: hidden;
}
#outer_container {
  background-color: #ffffff;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  max-width: 1280px;
  position: relative;
}

/* -------------- Header ------------------------------------------ */
#controls a {
  display: inline-block;
}
#controls a i {
  color: rgb(52, 58, 64);
}

/* -------------- Main ------------------------------------------ */
#canvas_container {
  height: auto;
  padding: 1% 4%; /*ZOI*/
}
#inner_container {
  /* height: 55%; */
  overflow: auto;
}
#container_wrapper {
  width: inherit;
  height: inherit;
}
#myImage {
  display: block;
  -webkit-user-select: none;
  margin: auto;
  cursor: zoom-in;
  background-color: #ffffff;
  width: 100%; /*ZOI*/
  height: 100%;
  object-fit: contain;
}

/* -------------------------------------------------------- */
.btn-move-down:active {
  transform: translateY(4px);
  transition: 0.3s;
}
.text-just {
  text-align: justify;
}

/* -------------- Scroll Bars ------------------------------------------ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #f5f5f5;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: rgb(109, 117, 125, 0.7);
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgb(109, 117, 125, 0.8);
}
::-webkit-scrollbar-thumb:active {
  background-color: rgb(109, 117, 125);
}

/*
* {
	font-size: calc(0.7vmin + 0.04rem);
}
*/

#mySVG, #svg_area {
  opacity: 0;
  top: 0;
  left: 0;
  background: transparent;
  width: 100%; /*ZOI*/
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.hovered #mySVG g {
  stroke-width: 5;
  stroke: red;
  /* fill: red;
  fill-opacity: 0.2; */
}

.hovered #svg_area g:not(.hovered) {
  fill: red;
  fill-opacity: 0.2;
}

#svg_area g.hovered {
  stroke-width: 2;
  stroke: #000;
  fill: rgb(241, 233, 204);
  fill-opacity: 0.6;
}

.lezanta {
  top: 0;
  left: 0;
  /* transform: translate(-50%, -50%); */
  background: white;
  padding: 0.5em;
  border: 1px solid black;
  font-size: .7em !important;
  line-height: 1em !important;
  width: max-content;
  z-index: 1000;
}
.lezanta span{
  font-size: 1em !important;
  line-height: 1em !important;
}

.hovered .lezanta {
  z-index: 100;
}