/* -------------------------------------------------------- */
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 ------------------------------------------ */
/*
header {
	border-bottom: 1px solid #ddd;
}
*/
#controls a {
  display: inline-block;
}
#controls a i {
	color: rgb(52, 58, 64);
}

/* -------------- Main ------------------------------------------ */
#main {
  max-width: 1280px;
}
#canvas_container {
  height: auto;
	padding: 2% 4%;
}
#inner_container {
	/* height: 55%; */
	overflow-y: hidden;
}
#inner_container img {
	border-radius: 4px;
	max-width: 100%;
	height: auto;
	margin: 20px 0px;
}
ol li {
	margin: 10px;
}

/* -------------------------------------------------------- */
.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);
}
*/

.imageContainer {
	display: flex;
	width: 70%;
	justify-content: center;
	gap: 20px;
	position: relative;
	left: 15%;
  }

.imageContainer img {
	width: 100%;
	height: 100%;
}

#svg1{
	position: absolute;
	top: 2.4%;
	width: 100%;
	height: 100%;
}

#svg1 .path {
    cursor: pointer;
    opacity: 0.01;
    transition: opacity 0.3s;
}

/* Hover effect */
#svg1 .path:hover {
    opacity: 1;
}

/* Visible state controlled by JavaScript */
#svg1 .path.visible {
    opacity: 1;
    pointer-events: auto; /* Enable pointer events when visible */
}
#labels{
	position: absolute;
	bottom: 1em;
	left: 0;
	display: flex;
	justify-content: space-around;
	width: 100%;
}

#labels .colored-box{
	width: 20px;
	height: 20px;
	display: block;
	margin-right: 5px;
	margin-top: 5px;
	cursor: pointer;
}

#labels p{
	font-size: 0.8em !important;
    line-height: 1.25em !important;
}

#unric{
	background-color: #1b63ce;
}

#council{
	background-color: #9abdff;
}

#outside{
	background-color: #f6e5d4;
}

.tooltip {
	visibility: hidden;
	background-color: rgba(0, 0, 0, 0.8);
	color: #fff;
	border: 2px solid white;
	text-align: center;
	border-radius: 5px;
	padding: 5px;
	position: absolute;
	z-index: 1;
	opacity: 0;
	max-width: calc(100% - 60px);
	transition: opacity 0.3s;
	white-space: wrap;
	pointer-events: none; /* Prevents the tooltip from capturing mouse events */
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	transform: translate(-50%, 0%);
  }


  @media screen and (max-width: 500px){

	#labels{
		display: block;
		width: 90%;
		left: 5%;
		bottom: 20%;
	}

	#klimakas{
		transform: matrix(3, 0, 0, 3, 240, -600);
		position: absolute;
		z-index: 10;
	}
	#labels p{
		font-size: 1.2em !important;
	}

	#labels .colored-box{
		margin-right: 15px;
		margin-top: 0px;
	}
	 
  }
	