:root {
	-webkit-font-smoothing: antialiased;
}
body {
	--violet-color: #5944b8;
	--white-color: #f4f4f4;
	--blue-color: #5221d1;
}
	#app-menu .app-chapter .inner > h2, #AKBARS h2 {
		margin-left: 40px;
		font-size: 24px;
	}

#AKBARS {
	font-family: 'Walsheim-400', sans-serif;
	color: var(--white-color);
}
#AKBARS button.no-style {
	font-family: 'Walsheim-400', sans-serif !important;
}
.font-300 {
	font-family: 'Walsheim-300', sans-serif !important;
}
.font-700 {
	font-family: 'Walsheim-700', sans-serif !important;
}
.font-800 {
	font-family: 'Walsheim-800', sans-serif !important;
}
.font-900 {
	font-family: 'Walsheim-900', sans-serif !important;
}

#AKBARS sub {
	vertical-align: super;
	font-size: 14px;
}

.custom-scroll {
	overflow-x: hidden;
	overflow-y: auto;

}
.loading-banner {
  display: block;
  position: absolute;
	top: 0;
	left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  background: #5221d1;
}
.loading-title {
  text-align: center;
  color: #fff;
	font-size: 60px;
	font-family: 'Comfortaa', cursive;
	font-weight: normal;
}
.wrap-prelogo {
  position: absolute;
  top: 30%;
  width: 100%;
  display: block;
}
.loading-text {
  position: absolute;
  width: 100%;
  bottom: 80px;
  display: block;
  color: #fff!important;
  font-size: 18px;
  text-align: center;
}
.loading-text span {
  color: #fff!important;
}

.prelogo {
  width: 224px;
  height: 208px;
  overflow: hidden;
  margin: 0 auto 30px auto;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
.prelogo img {
  width: 224px;
  height: 208px;
}

@media (max-width: 780px) {
.loading-title {
	font-size: 30px;
}
.wrap-prelogo {
  top: 30%;
}
.loading-text {
  bottom: 30px;
  font-size: 16px;
}

.prelogo {
  width: 124px;
  height: 108px;
}
.prelogo img {
  width: 124px;
  height: 108px;
}

}
@media (max-height: 400px) {
.loading-title {
	font-size: 30px;
}
.wrap-prelogo {
  top: 10%;
}
.loading-text {
  bottom: 20px;
  font-size: 16px;
}

.prelogo {
  width: 80px;
  height: auto;
}
.prelogo img {
  width: 80px;
  height: auto;
}

}

#AKBARS {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	min-height: 750px;
}
@media (max-height: 750px) {
	#AKBARS {
		min-height: calc(100vh - 64px);
	}
}
#askscreen {
	display: none;
	top: 0;
	left: 0;
	position: absolute;
	z-index: 19;
	width: 100%;
	height: 100%;
	background-color: #5221d1;
}
#askscreen img {
	width: 100px;
	height: 100px;
	margin: 0;
	position: absolute;
	top: 40%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
#askscreen h2 {
	margin-top: 50px;
	top: 45%;
	position: absolute;
	width: 100%;
	text-align: center;
	font-family: 'Comfortaa', cursive;
	font-weight: normal;
	font-size: 18px;
	color: #fff;
	font-weight: 100;
}

@media only screen and (max-device-width: 768px) and (orientation: portrait) {
  #askscreen {
    display: block !important;
  }
}
.loading-dots {
	margin-bottom: 10px;
}
.loading-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  animation: loading 1s infinite;
  margin-right: 5px;
}

@keyframes loading {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}


#modes,
#pdf {
	position: absolute;
	z-index: 10;
	background: var(--white-color);
	border-radius: 15px;
	overflow: hidden;
}
#modes .mode,
#pdf .mode {
	color: #d8d8d8;
	transition: 0.5s ease;
	cursor: pointer;
	display: block;
	text-align: center;
	font-weight: bold;
}
#modes .mode.active,
#pdf .mode.active {
	background: var(--violet-color);
	color: var(--white-color);
}

#house,
#layout-3d-three {
	display: none;
	position: relative;
	height: 100%!important;
	max-height: 750px!important;
	z-index: 5;
	top: 0;
	background: #d8d8d8;
}

#layout-3d-three canvas {
	height: 100%!important;
	max-height: 750px!important;
}
@media (max-height: 750px) {
	#house,
  #layout-3d-three  {
		min-height: calc(100vh - 64px)!important;
	}
	#layout-3d-three canvas {
	max-height: calc(100vh - 64px)!important;
}
}
#house .inner,
#layout-3d-three .inner {
	width: 100%;
	height: 100%;
	position: relative;
	background: #d8d8d8;
	overflow: hidden;
}
#house .inner .container-3d {
	display: block;
	position: relative;
	overflow: hidden;
}
#house .inner .container-3d::before {
	content: '';
	position: absolute;
	z-index: 10;
	width: 100%;
	height: 100%;
	border: 2px solid #d8d8d8;
}
#house .inner .visualization,
#house .inner .brick-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#house .inner .visualization {
	z-index: 2;
}
#house .inner .visualization img {
	width: 100%;
	height: 100%;
}
#house .inner .brick-layer {
	z-index: 1;
	width: 100%;
	height: 100%;
}
#house .inner .brick-layer .house {
	width: 100%;
	height: 100%;
	position: relative;
}

#canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%!important;
	max-height: 750px!important;
}
@media (max-height: 750px) {
	#canvas  {
		min-height: calc(100vh - 64px)!important;
	}
}
#app-menu {
	border-radius: 0px 20px 20px 0px;
	position: absolute;
	top: 0;
	left: 0;
	height: 90%;
	z-index: 15;
	background: var(--blue-color);
	clear: both;
	display: flex;
}
@media (max-height: 750px) {
	#canvas  {
		min-height: calc(100vh - 64px)!important;
	}
	#app-menu {
		height: 100%;
	}
}
#app-menu .fl {
	height: 100%;
	float: left;
	background: var(--blue-color);
}
#app-menu .app-menu-item {
	aspect-ratio: 1 / 1;
	cursor: pointer;
}
#app-menu .app-menu-item img {
	width: 60%;
	display: block;
}
#app-menu .app-menu-item.chosen {
	background: var(--violet-color);
	border-radius: 20px 0px 0px 20px;
}
#app-menu .fr {
	border-radius: 20px;
	float: right;
	background: var(--violet-color);
	padding: 15px 0px;
}
#app-menu .fd {
	border-radius: 0px 20px 20px 0px;
	height: 100%;
	background: var(--violet-color);
	padding: 20px 0px;
}
#app-menu .app-chapter {
	display: none;
}
#app-menu .app-chapter.active {
	display: block;
}
#app-menu .app-chapter .inner {
	overflow: hidden;
	height: calc(100% - 40px);
}
#app-menu .app-chapter .inner > h2, #AKBARS h2 {
	padding-top: 20px;
	color: var(--white-color);
	font-weight: bold;
	font-family: 'Comfortaa', cursive;
	font-weight: normal;
}
#app-menu .app-chapter .inner .group-items {
	position: relative;
	overflow-x: hidden;
	overflow-y: auto;
	padding-right: 20px;
}
#app-menu .app-chapter .inner .group-items.custom-scroll {
	height: 100%;
}
#app-menu  #seam .inner .group-items.custom-scroll {
	height: 100%;
}
#app-menu .app-chapter .inner .group-items .group-item {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	clear: both;
	width: 100%;
	border-radius: 15px;
}
#app-menu .app-chapter .inner .group-items .group-item:last-child {
	margin-bottom: 0px;
}
#app-menu .app-chapter .inner .group-items .group-item .img {
	border-radius: 10px;
	overflow: hidden;
	float: left;
}
#app-menu .app-chapter .inner .group-items .group-item .img.circled {
	border-radius: 50%;
}
#app-menu .app-chapter .inner .group-items .group-item > h3 {
	float: left;
}
#app-menu .app-chapter .inner .group-items .group-item .txt {
	float: left;
}
#app-menu .app-chapter .inner .group-items .group-item.active {
	background: #4d4d4d;
}

#app-menu .inner .group-items .layout-group-item {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	clear: both;
	width: 100%;
	border-radius: 15px;
}
#app-menu .inner .group-items .layout-group-item:last-child {
	margin-bottom: 0px;
}
#app-menu .inner .group-items .layout-group-item .img {
	border-radius: 10px;
	overflow: hidden;
	float: left;
}
#app-menu .inner .group-items .layout-group-item .img.circled {
	border-radius: 50%;
}
#app-menu .inner .group-items .layout-group-item > h3 {
	float: left;
}
#app-menu .inner .group-items .layout-group-item .txt {
	float: left;
}
#app-menu .inner .group-items .layout-group-item:hover {
	background: #838383;
}
#app-menu .inner .group-items .layout-group-item.active {
	background: #4d4d4d;
}

.app-chapter .inner .group-items .group-item.active .img img {
	filter: brightness(0.8);
}

.app-menu-item.flex-center.chosen img {
	filter: brightness(0.8);
}

.brick-item {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	clear: both;
	margin-bottom: 20px;
	height: 110px;
	width: 100%;
	border-radius: 15px;
	padding: 10px;
	padding: 0px;
	border: 2px solid #4d4d4d;
	box-shadow: rgb(0 0 0 / 20%) 0px 3px 5px 0px;
}
.brick-item:last-child {
	margin-bottom: 0px;
}
.brick-item.active {
	border: 2px solid #f4f4f4;
}
.brick-item img {
	border-radius: 10px;
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: relative;
}
#AKBARS .brick-item h2 {
	position: absolute;
	top: 0;
	left: 10px;
	z-index: 1;
	color: var(--white-color);
	font-size: 16px;
	height: 40px;
	line-height: 20px;
	width: 200px;
	margin: 20px;
	text-shadow: 1px 1px 2px #4d4d4d;
}

.brick-item::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
	pointer-events: none;
}

.app-logo {
	aspect-ratio: 1 / 1;
	cursor: pointer;
	width: 100%;
	display: block;
}
.app-logo a {
	width: 100%;
	height: 100%;
}
.app-logo img {
	width: 60%;
	display: block;
}

.save-pdf {
	aspect-ratio: 1 / 1;
	cursor: pointer;
	width: 100%;
}
.save-pdf img {
	width: 60%;
	display: block;
}

#chosen-bricks {
	position: relative;
}
.chosen-brick {
	height: 60px;
	clear: both;
	margin-bottom: 10px;
	position: relative;
}
.chosen-brick:last-child {
	margin-bottom: 0px;
}
.no-bricks {
	border-radius: 10px;
	width: 100%;
	height: 60px;
	text-align: center;
	padding: 15px;
	color: #848484;
	background: #fff;
	position: relative;
}
.chosen-brick:not(.active) img,
.chosen-brick:not(.active) .info {
	display: none;
}
.chosen-brick.active img,
.chosen-brick.active .info {
	display: block;
	object-fit: cover;
}
.chosen-brick img {
	width: 60px;
	height: 60px;
	margin-right: 20px;
	float: left;
	border-radius: 10px;
}
.chosen-brick .info {
	height: 60px;
	width: calc(100% - 80px);
	float: left;
}
.chosen-brick .info .title {
	clear: both;
	height: 30px;
	position: relative;
}
#AKBARS .chosen-brick .info .title h2 {
	height: 30px;
	width: calc(100% - 40px);
	line-height: 15px;
	font-size: 12px;
	color: #fff;
	float: left;
	margin-right: 10px;
}
.chosen-brick .info .title i.fa-times {
	width: 30px;
	height: 30px;
	font-size: 14px;
	text-align: right;
	cursor: pointer;
	position: absolute;
    right: 0;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.chosen-brick .info .percentage {
	height: 30px;
	width: 100%;
	clear: both;
}
.chosen-brick .info .percentage b {
	float: left;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: right;
	font-size: 12px;
}
.chosen-brick .info .percentage .percent-line {
	float: left;
	width: calc(100% - 70px);
	margin-right: 20px;
	height: 30px;
}

[data-tooltip] {
	position: relative;
}
[data-tooltip]::after {
	content: attr(data-tooltip);
	position: absolute;
	width: 100px;
	left: 60px;
	top: 0;
	background: #f4f4f4;
	color: #4d4d4d;
	padding: 0.5em;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
	pointer-events: none;
	opacity: 0;
	transition: 0.5s;
	border-radius: 5px;
	z-index: 15;
}
[data-tooltip]:hover::after {
	opacity: 1;
	top: 2em;
}

#house .inner .brick-layer .house .face {
	background: #f8f8f8;
	position: absolute;
	background-repeat: repeat;
	background-position: center;
	transform-style: preserve-3d;
}

#house .inner .brick-layer .house .face-textures {
	width: 150%;
	height: 150%;
}

.st0 {
	fill: #5221d1;
}
@media (max-width: 4096px) {
	#pdf {
		bottom: 40px;
		right: 40px;
		width: 60px;
		height: 60px;
	}

	#pdf img {
		width: 32px;
		height: 32px;
	}
	#modes {
		top: 40px;
		right: 20px;
	}
	#modes .mode {
		height: 60px;
		width: 60px;
		line-height: 60px;
		font-size: 30px;
	}
	#app-menu .app-chapter .inner .group-items,
	#chosen-bricks {
		margin: 20px 40px;

	}

	#app-menu.opened .fr {
		width: 380px;
	}
	#app-menu.opened-dop .fd {
		width: 400px;
	}
	#app-menu.opened-dop .fr {
		border-radius: 20px 0 0 20px;
	}
	#app-menu .fl {
		width: 60px;
		padding: 20px 0px;
	}
	#house {
		width: calc(100% - 60px);
		left: 60px;
	}


	#app-menu .app-chapter .inner .group-items .group-item {
		margin-bottom: 20px;
		height: 80px;
		padding: 10px;
	}

	#app-menu .app-chapter .inner .group-items .group-item .img {
		width: 60px;
		height: 60px;
		margin-right: 20px;
	}
	#app-menu .app-chapter .inner .group-items .group-item > h3 {
		width: calc(100% - 80px);
		height: 60px;
		line-height: 60px;
		font-size: 18px;
		font-family: 'Comfortaa', cursive;
		font-weight: normal;
	}
	#app-menu .app-chapter .inner .group-items .group-item .txt {
		width: calc(100% - 80px);
		height: 60px;
	}
	#app-menu .app-chapter .inner .group-items .group-item .txt h3 {
		height: 30px;
		line-height: 30px;
		font-size: 18px;
		font-family: 'Comfortaa', cursive;
		font-weight: normal;
	}
	#app-menu .app-chapter .inner .group-items .group-item .txt p {
		height: 30px;
		line-height: 30px;
		font-size: 16px;
	}

	#app-menu  .inner .group-items .layout-group-item {
		margin-bottom: 20px;
		height: 80px;
		padding: 10px;
		display: flex;
		justify-content: flex-start;
		align-items: center;
	}
	#app-menu .inner .group-items .layout-group-item .img {
		width: 40px;
		height: 40px;
		margin-right: 20px;
		border-radius: 0;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	#app-menu .inner .group-items .layout-group-item h3 {
		height: 40px;
		line-height: 40px;
		font-size: 18px;
		font-family: 'Comfortaa', cursive;
		font-weight: normal;
	}
	#app-menu .inner .group-items .layout-group-item .txt {
		height: 60px;
	}
	#app-menu .inner .group-items .layout-group-item .txt h3 {
		height: 30px;
		line-height: 30px;
		font-size: 18px;
		font-family: 'Comfortaa', cursive;
		font-weight: normal;
	}
	#app-menu .inner .group-items .layout-group-item .txt p {
		height: 30px;
		line-height: 30px;
		font-size: 16px;
	}

	.face.front .face-textures {
		transform: translateZ(0px) translateX(-104px) translateY(0px) rotateX(0deg) rotateY(359deg) rotateZ(0deg);
		background-size: 60%;
	}
	.face.side .face-textures {
		transform: translateZ(0px) translateX(0px) translateY(0px) rotateX(0deg) rotateY(5deg) rotateZ(0deg);
		background-size: 60%;
	}
	.face.gate-right .face-textures {
		transform: translateZ(0px) translateX(0px) translateY(0px) rotateX(0deg) rotateY(355deg) rotateZ(0deg);
		background-size: 80%;
	}
	.face.gate-left .face-textures {
		transform: translateZ(0px) translateX(0px) translateY(0px) rotateX(0deg) rotateY(355deg) rotateZ(0deg);
		background-size: 80%;
	}
	.face.wall1 .face-textures {
		transform: translateZ(0px) translateX(-13px) translateY(3px) rotateX(0deg) rotateY(6deg) rotateZ(-1deg);
		background-size: 354%;
	}
	.face.wall2 .face-textures {
		transform: translateZ(0px) translateX(-13px) translateY(9px) rotateX(0deg) rotateY(6deg) rotateZ(-1deg);
		background-size: 281%;
	}

	.face.front {
		width: 32%;
		right: 47%;
		z-index: -1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(6% 41%, 90% 31%, 90% 81%, 6% 79%);
		perspective: 35px;
		perspective-origin: 94% 71%;
	}
	.face.side {
		width: 28%;
		right: 19.5%;
		z-index: 1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(8% 17%, 100% 19%, 100% 77.5%, 8% 81%);
		perspective: 107px;
		perspective-origin: 47% 66%;
	}

	.face.gate-right {
		width: 22%;
		right: 0%;
		z-index: -1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(10% 59%, 100% 57%, 100% 75%, 10% 74.5%);
		perspective: 238px;
		perspective-origin: 10% 69%;
	}
	.face.gate-left {
		width: 22%;
		left: 0%;
		z-index: -1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(0% 60.5%, 90% 61.1%, 90% 78%, 0% 78%);
		perspective: 500px;
		perspective-origin: 61% 50%;
	}

	.face.wall1 {
		width: 6%;
		right: 46%;
		z-index: 0;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(15% 31%, 91% 32.3%, 15% 39.2%);
		perspective: 93px;
		perspective-origin: 37% 54%;
	}
	.face.wall2 {
		width: 6%;
		left: 32%;
		z-index: 0;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(10% 37%, 66% 38%, 66% 40%, 10% 45%);
		perspective: 93px;
		perspective-origin: 37% 54%;
	}
}

@media (max-width: 1920px) {
	.face.front .face-textures {
		transform: translateZ(0px) translateX(-104px) translateY(0px) rotateX(0deg) rotateY(359deg) rotateZ(0deg);
		background-size: 60%;
	}
	.face.side .face-textures {
		transform: translateZ(0px) translateX(0px) translateY(0px) rotateX(0deg) rotateY(5deg) rotateZ(0deg);
		background-size: 60%;
	}
	.face.gate-right .face-textures {
		transform: translateZ(0px) translateX(0px) translateY(0px) rotateX(0deg) rotateY(355deg) rotateZ(0deg);
		background-size: 80%;
	}
	.face.gate-left .face-textures {
		transform: translateZ(0px) translateX(0px) translateY(0px) rotateX(0deg) rotateY(355deg) rotateZ(0deg);
		background-size: 80%;
	}
	.face.wall1 .face-textures {
		transform: translateZ(0px) translateX(-13px) translateY(3px) rotateX(0deg) rotateY(6deg) rotateZ(-1deg);
		background-size: 354%;
	}
	.face.wall2 .face-textures {
		transform: translateZ(0px) translateX(-13px) translateY(9px) rotateX(0deg) rotateY(6deg) rotateZ(-1deg);
		background-size: 281%;
	}

	.face.front {
		width: 32%;
		right: 47%;
		z-index: -1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(6% 41%, 90% 31%, 90% 81%, 6% 79%);
		perspective: 35px;
		perspective-origin: 94% 71%;
	}
	.face.side {
		width: 28%;
		right: 19.5%;
		z-index: 1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(8% 17%, 100% 19%, 100% 77.5%, 8% 81%);
		perspective: 107px;
		perspective-origin: 47% 66%;
	}

	.face.gate-right {
		width: 22%;
		right: 0%;
		z-index: -1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(10% 59%, 100% 57%, 100% 75%, 10% 74.5%);
		perspective: 238px;
		perspective-origin: 10% 69%;
	}
	.face.gate-left {
		width: 22%;
		left: 0%;
		z-index: -1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(0% 60.5%, 90% 61.1%, 90% 78%, 0% 78%);
		perspective: 500px;
		perspective-origin: 61% 50%;
	}

	.face.wall1 {
		width: 6%;
		right: 46%;
		z-index: 0;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(15% 31%, 91% 32.3%, 15% 39.2%);
		perspective: 93px;
		perspective-origin: 37% 54%;
	}
	.face.wall2 {
		width: 6%;
		left: 32%;
		z-index: 0;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(10% 37%, 66% 38%, 66% 40%, 10% 45%);
		perspective: 93px;
		perspective-origin: 37% 54%;
	}
}

@media (max-width: 1600px) {
	.face.front .face-textures {
		transform: translateZ(0px) translateX(-104px) translateY(0px) rotateX(0deg) rotateY(359deg) rotateZ(0deg);
		background-size: 60%;
	}
	.face.side .face-textures {
		transform: translateZ(0px) translateX(0px) translateY(0px) rotateX(0deg) rotateY(5deg) rotateZ(0deg);
		background-size: 60%;
	}
	.face.gate-right .face-textures {
		transform: translateZ(0px) translateX(0px) translateY(0px) rotateX(0deg) rotateY(355deg) rotateZ(0deg);
		background-size: 80%;
	}
	.face.gate-left .face-textures {
		transform: translateZ(0px) translateX(0px) translateY(0px) rotateX(0deg) rotateY(355deg) rotateZ(0deg);
		background-size: 80%;
	}
	.face.wall1 .face-textures {
		transform: translateZ(0px) translateX(-13px) translateY(3px) rotateX(0deg) rotateY(6deg) rotateZ(-1deg);
		background-size: 354%;
	}
	.face.wall2 .face-textures {
		transform: translateZ(0px) translateX(-13px) translateY(9px) rotateX(0deg) rotateY(6deg) rotateZ(-1deg);
		background-size: 281%;
	}

	.face.front {
		width: 32%;
		right: 47%;
		z-index: -1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(6% 41%, 90% 31%, 90% 81%, 6% 79%);
		perspective: 26px;
		perspective-origin: 94% 71%;
	}
	.face.side {
		width: 28%;
		right: 19.5%;
		z-index: 1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(8% 17%, 100% 19%, 100% 77.5%, 8% 81%);
		perspective: 107px;
		perspective-origin: 47% 66%;
	}

	.face.gate-right {
		width: 22%;
		right: 0%;
		z-index: -1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(10% 59%, 100% 57%, 100% 75%, 10% 74.5%);
		perspective: 238px;
		perspective-origin: 10% 69%;
	}
	.face.gate-left {
		width: 22%;
		left: 0%;
		z-index: -1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(0% 60.5%, 90% 61.1%, 90% 78%, 0% 78%);
		perspective: 500px;
		perspective-origin: 61% 50%;
	}

	.face.wall1 {
		width: 6%;
		right: 46%;
		z-index: 0;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(15% 31%, 91% 32.3%, 15% 39.2%);
		perspective: 93px;
		perspective-origin: 37% 54%;
	}
	.face.wall2 {
		width: 6%;
		left: 32%;
		z-index: 0;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(10% 37%, 66% 38%, 66% 40%, 10% 45%);
		perspective: 93px;
		perspective-origin: 37% 54%;
	}
}

@media (max-width: 850px) {
	#app-menu .fl {
		width: 50px;
		padding: 20px 0px;
	}
	#app-menu.opened .fr {
		width: calc(100% - 50px);
	}
	#house {
		width: calc(100% - 50px);
		left: 50px;
	}

	#modes {
		top: 20px;
		right: 20px;
	}
	#modes .mode {
		height: 40px;
		width: 40px;
		line-height: 40px;
		font-size: 20px;
	}
	#app-menu .app-chapter .inner .group-items,
	#chosen-bricks {
		margin: 15px;
	}

	#app-menu .app-chapter .inner > h2, #AKBARS h2 {
		margin-left: 15px;
		font-size: 18px;
	}

	.bricks-list::after {
		content: '';
		height: 100px;
		display: block;
	}
	#app-menu .app-chapter .inner .group-items .group-item {
		margin-bottom: 10px;
		height: 60px;
	}
	.bricks-list::after {
		content: '';
		height: 100px;
		display: block;
	}
	#app-menu .app-chapter .inner .group-items .layout-group-item {
		margin-bottom: 10px;
		height: 60px;
	}

	#app-menu .app-chapter .inner .group-items .group-item .img {
		width: 40px;
		height: 40px;
		margin-right: 10px;
	}
	#app-menu .app-chapter .inner .group-items .group-item > h3 {
		width: calc(100% - 50px);
		height: 40px;
		line-height: 40px;
		font-size: 18px;
	}
	#app-menu .app-chapter .inner .group-items .group-item .txt {
		width: calc(100% - 50px);
		height: 40px;
	}
	#app-menu .app-chapter .inner .group-items .group-item .txt h3 {
		height: 20px;
		line-height: 20px;
		font-size: 16px;
	}
	#app-menu .app-chapter .inner .group-items .group-item .txt p {
		height: 20px;
		line-height: 20px;
		font-size: 12px;
	}

	#app-menu .app-chapter .inner .group-items .layout-group-item .img {
		width: 40px;
		height: 40px;
		margin-right: 10px;
	}
	#app-menu .app-chapter .inner .group-items .layout-group-item > h3 {
		width: calc(100% - 50px);
		height: 40px;
		line-height: 40px;
		font-size: 18px;
	}
	#app-menu .app-chapter .inner .group-items .layout-group-item .txt {
		width: calc(100% - 50px);
		height: 40px;
	}
	#app-menu .app-chapter .inner .group-items .layout-group-item .txt h3 {
		height: 20px;
		line-height: 20px;
		font-size: 16px;
	}
	#app-menu .app-chapter .inner .group-items .layout-group-item .txt p {
		height: 20px;
		line-height: 20px;
		font-size: 12px;
	}

	.seam-list {
		max-height: calc(100% - 350px) !important;
	}
	.seam-list::after {
		content: '';
		height: 50px;
		display: block;
	}
}

@media (max-width: 500px) {
	.face.front .face-textures {
		transform: translateZ(0px) translateX(-26px) translateY(0px) rotateX(0deg) rotateY(359deg) rotateZ(0deg);
		background-size: 20%;
	}
	.face.side .face-textures {
		transform: translateZ(0px) translateX(0px) translateY(0px) rotateX(0deg) rotateY(5deg) rotateZ(0deg);
		background-size: 20%;
	}
	.face.gate-right .face-textures {
		transform: translateZ(0px) translateX(0px) translateY(0px) rotateX(0deg) rotateY(355deg) rotateZ(0deg);
		background-size: 30%;
	}
	.face.gate-left .face-textures {
		transform: translateZ(0px) translateX(0px) translateY(0px) rotateX(0deg) rotateY(355deg) rotateZ(0deg);
		background-size: 30%;
	}
	.face.wall1 .face-textures {
		transform: translateZ(0px) translateX(-6px) translateY(3px) rotateX(0deg) rotateY(6deg) rotateZ(-1deg);
		background-size: 107%;
	}
	.face.wall2 .face-textures {
		transform: translateZ(0px) translateX(-13px) translateY(9px) rotateX(0deg) rotateY(6deg) rotateZ(-1deg);
		background-size: 102%;
	}

	.face.front {
		width: 32%;
		right: 47%;
		z-index: -1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(6% 41%, 90% 31%, 90% 81%, 6% 79%);
		perspective: 7px;
		perspective-origin: 94% 71%;
	}
	.face.side {
		width: 28%;
		right: 19.5%;
		z-index: 1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(8% 17%, 100% 19%, 100% 77.5%, 8% 81%);
		perspective: 35px;
		perspective-origin: 47% 66%;
	}

	.face.gate-right {
		width: 22%;
		right: 0%;
		z-index: -1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(10% 59%, 100% 57%, 100% 75%, 10% 74.5%);
		perspective: 75px;
		perspective-origin: 10% 69%;
	}
	.face.gate-left {
		width: 22%;
		left: 0%;
		z-index: -1;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(0% 60.5%, 90% 61.1%, 90% 78%, 0% 78%);
		perspective: 500px;
		perspective-origin: 61% 50%;
	}

	.face.wall1 {
		width: 6%;
		right: 46%;
		z-index: 0;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(15% 31%, 91% 32.3%, 15% 39.2%);
		perspective: 25px;
		perspective-origin: 37% 54%;
	}
	.face.wall2 {
		width: 6%;
		left: 32%;
		z-index: 0;
		height: 100%;
		overflow: hidden;
		clip-path: polygon(10% 37%, 66% 38%, 66% 40%, 10% 45%);
		perspective: 21px;
		perspective-origin: 37% 54%;
	}
}
#modes .mode {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.mode svg {
	width: 32px;
	height: 32px;
}

.mode.active svg path {
	fill: #fff;
}


.wrap-item {
  position: relative;
  padding-right: 20px;
	margin: 20px 40px;

}
.item {
  position: relative;
  margin: 20px 10px;
  padding: 0;
  display: block;
  height: 165px;
  background-color: #fff;
  width: 100%;
  background-size: cover;
  border-radius: 15px;
  -webkit-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
  background-position: center;
}
.item .title_item {
  position: relative;
  opacity: 0;
  left: 0;
  top: 10px;
  width: 180px;
  padding: 5px;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 10px #000;
  display: block;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.item:hover {
  cursor: pointer;
}
 .item:hover .title_item {
  opacity: 1;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.image-items {
	position: relative;
	margin: 20px 40px;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.image-item {
	flex: 0 0 auto;
	position: relative;
	width: 100%;
  height: 180px;
  padding: 5px;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 10px #000;
  display: block;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
	background-position: center center;
	background-size: cover;
}
.image-item:hover {
  cursor: pointer;
}

.btn-item {
  background: #fff;
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  text-align: center;
  line-height: 30px;
  height: 40px;
  border-radius: 50%;
  text-transform: lowercase;
  transition: all 0.2s;
}
.active >  .btn-item {
  background: #5221d1;
}


.checked {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 50%;
  transition: all 0.2s;
}
.checked:after {
  content: "";
  position: absolute;
  top: 4px;
  right: 14px;
  display: inline-block;
  width: 12px;
  height: 24px;
  border: solid #fff;
  border-width: 0 6px 6px 0;
  transform: rotate(45deg);
  display: none;
  animation: checkedAfter 0.2s ease;
  transition: all 0.2s;
}
.active >  .btn-item .checked:after {
  display: block;
}
.active >  .btn-item {
  box-shadow: none;
}
.active > .btn-item {
  border: 0 solid transparent;
  animation: checked 0.2s ease;
  transition: all 0.2s;
}
@keyframes checked {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes checkedAfter {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}


.sidebar-export {
	position: absolute;
	bottom: 40px;
	right: 20px;
	z-index: 15;

	border-radius: 15px;
  overflow: hidden;
}
.sidebar-export__item {
	cursor: pointer;
	padding: 14px;
	background: white;
	transition: all 0.2s ease;

}
.sidebar-export__item svg {
	width: 32px;
	height: 32px;

}
.sidebar-export__item svg path {
	fill: var(--blue-color);
	transition: all 0.2s ease;
}
.sidebar-export__item:hover {
	background: var(--blue-color);
}
.sidebar-export__item:hover svg path {
	fill: white
}
.sidebar-social {
	position: absolute;
	bottom: 200px;
	right: 20px;
	z-index: 15;

	border-radius: 15px;
  overflow: hidden;
}
.sidebar-social__item {
	cursor: pointer;
	padding: 14px;
	background: white;
	transition: all 0.2s ease;

}
.sidebar-social__item svg {
	width: 32px;
	height: 32px;

}
.sidebar-social__item svg path {
	fill: var(--blue-color);
	transition: all 0.2s ease;
}
.sidebar-social__item:hover {
	background: var(--blue-color);
}
.sidebar-social__item:hover svg path {
	fill: white
}

@media (max-width: 700px) {
	.sidebar-export {
		bottom: 20px;
		right: 20px;
	}
	.sidebar-export__item {
		padding: 4px;
		width: 40px;
		height: 40px;
	}
	.sidebar-export__item svg {
		width: 25px;
		height: 25px;
	}

	.sidebar-social {
		bottom: 120px;
		right: 20px;
	}
	.sidebar-social__item {
		padding: 4px;
		width: 40px;
		height: 40px;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.sidebar-social__item svg {
		width: 25px;
		height: 25px;
	}
}


@media (max-height: 560px) {
	#app-menu .fl {
		padding: 5px 0;
	}
	.sidebar-export {
		bottom: 20px;
		right: 20px;
	}
	.sidebar-export__item {
		padding: 4px;
		width: 40px;
		height: 40px;
	}
	.sidebar-export__item svg {
		width: 25px;
		height: 25px;
	}

	.sidebar-social {
		bottom: 120px;
		right: 20px;
	}
	.sidebar-social__item {
		padding: 4px;
		width: 40px;
		height: 40px;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.sidebar-social__item svg {
		width: 25px;
		height: 25px;
	}
	#modes {
		top: 20px;
		right: 20px;
	}
	#modes .mode {
		height: 40px;
		width: 40px;
		line-height: 40px;
		font-size: 20px;
	}
}

@media (max-height: 400px) {
	.sidebar-export {
		display: flex;
		align-items: center;
	}
	.sidebar-export__item {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.sidebar-social {
		bottom: 80px;
		right: 20px;
	}
}

/* Стили для всплывающего окна */
#image-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: white;
  padding: 15px;
	border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 16;
  max-width: 80%;
  max-height: 80%;
  text-align: center;
	visibility: hidden;
  transform: translate(-50%, -50%);
}
#image-popup.active {
	visibility: visible;
}
#popup-image {
  max-width: 100%;
  max-height: 100%;
  margin-bottom: 10px;
}

/* Стили для кнопок внутри всплывающего окна */
#download-button,
#cancel-button{
  background-color: #5221d1;
  color: white;
  border: none;
	font-size: 18px;
  padding: 15px 25px;
  margin-right: 10px;
  cursor: pointer;
	border-radius: 8px;
}

#download-button:hover,
#cancel-button:hover {
  background-color: #5944b8;
}
/* Стили для кнопки закрытия */
#close-button {
  position: absolute;
  top: -20px;
  right: -20px;
  cursor: pointer;
  font-size: 20px;
  border: none;
  outline: none;
  padding: 0;
	background: #5221d1;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 100%;
}

#close-button:hover {
  background: #5944b8;
}

/* Стили для кнопки закрытия */
.close-button {
  position: absolute;
	width: 40px;
	height: auto;
  top: 25px;
  right: -35px;
  cursor: pointer;
	background: transparent;
	border: none;
	box-shadow: none;
	background: #5221d1;
	padding: 10px;
	border-radius: 0 20px 20px 0;
	z-index: -1;
	display: none;
	justify-content: center;
	align-items: center;
}
.close-button svg {
	width: 20px;
	height: 20px;
}
#app-menu.opened .close-button, #app-menu.opened-dop .close-button {
	display: flex;
}

#app-menu {
	zoom: 0.92;
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
	border-radius: 20px;
}
#app-menu .fl {
border-radius: 20px;
display: flex;
    flex-direction: column;

}
.tab-menu-footer {
	margin-top: auto;
}

.wrap-checkbox {
  display: flex;
  align-items: center;
	justify-content: space-between;
	padding: 20px 15px;
	background: #5221d1;
	border-radius: 8px;
}

.wrap-checkbox h4 {
	font-size: 18px;
  margin-right: 10px;
}

.item-checkbox input[type="checkbox"] {
  display: none;
}

.item-checkbox label {
	cursor: pointer;
  position: relative;
  display: inline-block;
  width: 60px;
  height: 28px;
  background-color: #d9d9d9;
  border-radius: 28px;
}


.item-checkbox label:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 3px solid #d9d9d9;
  background-color: #5221d1;
  border-radius: 50%;
  transform: translateX(0);
  transition: transform 0.2s;
}

.item-checkbox input[type="checkbox"]:checked + label:after {
	border: 3px solid #fff;
  transform: translateX(32px);
}
.item-checkbox input[type="checkbox"]:checked + label {
	background-color: #fff;
}
.g-4 {
	display: flex;
	flex-direction: column;
	gap: 20px;
}




@media (max-width: 850px) {
	#app-menu {
	zoom: 1;
  top: 0;
  left: 0px;
  transform: translateY(0);
  border-radius: 0px;
}
#app-menu .fl {
	gap: 10px;
	padding: 20px 0;
}
#app-menu .app-menu-item {
	aspect-ratio: 0;
	flex: 0 0 auto;
	height: 56px;
	padding: 5px 0;
}
#app-menu .app-menu-item.chosen {
border-radius: 0
}
#app-menu .app-chapter .inner > h2, #AKBARS h2 {
	padding-top: 5px;
	font-size: 16px;
}
#app-menu.opened .fr {
	width: 200px;
}
#app-menu.opened-dop .fd {
	width: 250px;
}
#app-menu .app-chapter .inner .group-items {
	padding-right: 0;
}
#app-menu .inner .group-items .layout-group-item h3, #app-menu .app-chapter .inner .group-items .layout-group-item > h3, #app-menu .app-chapter .inner .group-items .group-item > h3 {
	font-size: 14px;
	line-height: 16px;
	height: auto;
}
#app-menu .app-chapter .inner .group-items .group-item {
	height: auto;
	display: flex;
	align-items: center;
}
.layout-group-item .val {
	font-size: 10px;
	opacity: 0.8;
}
sub {
	font-size: 8px;
}
#app-menu .app-chapter .inner .group-items .layout-group-item {
	height: auto;
}
#app-menu .fr {
	border-radius: 0;
}
#app-menu .app-chapter .inner .group-items .layout-group-item .img {
	width: 25px;
	height: 25px;
	margin-right: 10px;
}
.wrap-item {
	margin: 10px 10px;
	padding-right: 0;
}
.item {
	  margin: 10px 0px;
    padding: 0;
    height: 112px;
}
.btn-item {
    background: #fff;
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
		height: 20px;
}
.checked:after {
	zoom: 0.5
}


.wrap-checkbox {
	padding: 20px 10px;
}

.wrap-checkbox h4 {
	font-size: 14px;
  margin-right: 10px;
}


.item-checkbox label {
  width: 30px;
  height: 14px;
}


.item-checkbox label:after {
  width: 14px;
  height: 14px;
  border: 1px solid #d9d9d9;
}

.item-checkbox input[type="checkbox"]:checked + label:after {
	border: 1px solid #fff;
  transform: translateX(15px);
}
.g-4 {
	gap: 10px;
}

.sidebar-social, .sidebar-export, #modes, #pdf {
	border-radius: 8px;
}

}
.empty-items {
padding: 0 40px;
    width: 100%;
    font-size: 16px;
    line-height: 1.4;

}
