/* -------------------------------------------------------- */
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);
}
*/
#container_wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: inherit;
    height: inherit;
	position: relative;
}

#brics_svg {
	width: 100%;
}

#brics{
	fill: #1b63ce;
}

#climax{
	position: absolute;
	width: 10%;
	bottom: 5%;
	left: 5%;
}

.path{
	cursor: pointer;
	opacity: 0.01;
	transition:0.3s ease-in-out;

}

.path.visible{
	opacity: 1;
}

.path:hover{
	opacity: 1;
	stroke: white;
	stroke-width: 1;
}

#labels {
	display: flex;
	justify-content: center;
	width: 100%;
}

#brics_box {
	width: 1.5em;
	height: 1.5em;
	display: block;
	cursor: pointer;
	border-radius: 5px;
	text-align: center;
}


.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;
	width: auto;
	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%);
}

.bi-eye-fill,
.bi-eye-slash-fill {
	font-size: 1em !important;
}


details p{
	position: absolute;
	transform: translate(-50%, 5%);
	background-color: #ffffffd3;
	padding: 1em;
	border-radius: 5px;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}
@media screen and (max-width: 1025px) {

	/* #climax{
		position: absolute;
		width: 30%;
		top: 40%;
		left: 35%;
	} */

	details p{
		width: 85%;
		transform: translate(-70%, 5%);
	}
}

#memo {
	position: absolute;
	bottom: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: 20%;
}
#memo.portrait {
	flex-direction: row;
    width: 80%;
}

#memo img {
	width: 100%;
	height: auto;
	object-fit: contain;
	margin: 0 !important;
	border: 0 !important;
}

#memo.portrait img {
	width: 50%;
}