.card-layout {
    width: 100%;
    height: 68vh !important;
}

@media screen and (height: 1080px) {
    .card-layout {
        height: 72.5vh !important;
    }
}

.main-layout {
    width: 100%;
    height: 100%;
    position: relative;
}

.room-1{
    position: absolute;
    top: 1rem;
    left: 5%;
    width: 90%;
    content: url('../tools/room-florr.svg');
}

.main-label{
    position: absolute;
    top: 0.7rem;
    width: 100%;
    height: 38.5rem;
}

@media screen and (height: 1080px) {
    .room-1{
        top:6rem;
    }

    .main-label{
        top: 5.7rem;
    }
}

.rel{
    position: relative;
    width: 100%;
    height: 100%;
}

.main-real{
    position: absolute;
    width: 100%;
    height: 100%;
}

.action-rel{
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}

.rel .main-real[data-status=st1] .action-rel{
    display: block;
}

.rel-run{
    position: absolute;
    transform-style: preserve-3d;
	transform-origin: bottom;
}

.rel-run::after {
	content: '';
	display: flex;
	width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, transparent 0%, transparent 70%, #787676 70%, #787676 100%);
	background-size: 1rem 100%;
	animation: animate-road linear 1s infinite;
}

.main-real:nth-child(1) .action-rel .rel-run:nth-child(2){
    top: 4.7rem;
    left: 5rem;
    width: 77rem;
    height: 0.6rem;
}

.main-real:nth-child(1) .action-rel .rel-run:nth-child(2)::after{
    animation-direction: reverse;
}

.main-real:nth-child(1) .action-rel .rel-run:nth-child(3){
    top: 9rem;
    right: 3.4rem;
    width: 8rem;
    height: 0.6rem;
    transform:rotate(270deg);
}

.main-real:nth-child(1) .action-rel .rel-run:nth-child(4){
    top: 13.5rem;
    right: 7rem;
    width: 15rem;
    height: 0.6rem;
}

.main-real:nth-child(1) .action-rel .rel-run:nth-child(5){
    top: 15rem;
    right: 19.4rem;
    width: 3.5rem;
    height: 0.6rem;
    transform:rotate(270deg);
}

.main-real:nth-child(1) .action-rel .rel-run:nth-child(6){
    top: 17.3rem;
    right: 7rem;
    width: 15rem;
    height: 0.6rem;
}

.main-real:nth-child(1) .action-rel .rel-run:nth-child(6)::after{
    animation-direction: reverse;
}

.main-real:nth-child(1) .action-rel .rel-run:nth-child(7){
    top: 25rem;
    right: -0.2rem;
    width: 15rem;
    height: 0.6rem;
    transform:rotate(270deg);
}

.main-real:nth-child(1) .action-rel .rel-run:nth-child(8){
    top: 33.5rem;
    right: 7rem;
    width: 62rem;
    height: 0.6rem;
}

.main-real:nth-child(2) .action-rel .rel-run:nth-child(2){
    top: 9.8rem;
    left: 44rem;
    width: 22.5rem;
    height: 0.6rem;
}

.main-real:nth-child(2) .action-rel .rel-run:nth-child(3){
    top: 14.8rem;
    left: 61.7rem;
    width: 9.5rem;
    height: 0.6rem;
    transform:rotate(270deg);
}

.main-real:nth-child(2) .action-rel .rel-run:nth-child(3)::after{
    animation-direction: reverse;
}

.main-real:nth-child(2) .action-rel .rel-run:nth-child(4){
    top: 20.1rem;
    right: 23rem;
    width: 50rem;
    height: 0.6rem;
}

.main-real:nth-child(2) .action-rel .rel-run:nth-child(4)::after{
    animation-direction: reverse;
}

.main-real:nth-child(2) .action-rel .rel-run:nth-child(5){
    top: 18.7rem;
    left: 12rem;
    width: 4.5rem;
    height: 0.6rem;
    transform:rotate(35deg);
}

.main-real:nth-child(2) .action-rel .rel-run:nth-child(5)::after{
    animation-direction: reverse;
}

.main-real:nth-child(2) .action-rel .rel-run:nth-child(6){
    top: 17.8rem;
    left: 4.7rem;
    width: 8rem;
    height: 0.6rem;
}

.main-real:nth-child(2) .action-rel .rel-run:nth-child(6)::after{
    animation-direction: reverse;
}

.main-real:nth-child(3) .action-rel .rel-run:nth-child(2){
    top: 4.7rem;
    left: 5rem;
    width: 77rem;
    height: 0.6rem;
}

.main-real:nth-child(3) .action-rel .rel-run:nth-child(3){
    top: 9rem;
    right: 3.4rem;
    width: 8rem;
    height: 0.6rem;
    transform:rotate(270deg);
}

.main-real:nth-child(3) .action-rel .rel-run:nth-child(3)::after{
    animation-direction: reverse;
}

.main-real:nth-child(3) .action-rel .rel-run:nth-child(4){
    top: 13.5rem;
    right: 7rem;
    width: 15rem;
    height: 0.6rem;
}

.main-real:nth-child(3) .action-rel .rel-run:nth-child(4)::after{
    animation-direction: reverse;
}

.main-real:nth-child(3) .action-rel .rel-run:nth-child(5){
    top: 15rem;
    right: 19.4rem;
    width: 3.5rem;
    height: 0.6rem;
    transform:rotate(270deg);
}

.main-real:nth-child(3) .action-rel .rel-run:nth-child(5)::after{
    animation-direction: reverse;
}

.main-real:nth-child(3) .action-rel .rel-run:nth-child(6){
    top: 17.3rem;
    right: 7rem;
    width: 15rem;
    height: 0.6rem;
}

.main-real:nth-child(3) .action-rel .rel-run:nth-child(7){
    top: 25rem;
    right: -0.2rem;
    width: 15rem;
    height: 0.6rem;
    transform:rotate(270deg);
}

.main-real:nth-child(3) .action-rel .rel-run:nth-child(7)::after{
    animation-direction: reverse;
}

.main-real:nth-child(3) .action-rel .rel-run:nth-child(8){
    top: 33.5rem;
    right: 7rem;
    width: 62rem;
    height: 0.6rem;
}

.main-real:nth-child(3) .action-rel .rel-run:nth-child(8)::after{
    animation-direction: reverse;
}

.main-real:nth-child(4) .action-rel .rel-run:nth-child(2){
    top: 9.8rem;
    left: 44rem;
    width: 22.5rem;
    height: 0.6rem;
}

.main-real:nth-child(4) .action-rel .rel-run:nth-child(2)::after{
    animation-direction: reverse;
}

.main-real:nth-child(4) .action-rel .rel-run:nth-child(3){
    top: 14.8rem;
    left: 61.7rem;
    width: 9.5rem;
    height: 0.6rem;
    transform:rotate(270deg);
}

.main-real:nth-child(4) .action-rel .rel-run:nth-child(4){
    top: 20.1rem;
    right: 23rem;
    width: 50rem;
    height: 0.6rem;
}

.main-real:nth-child(4) .action-rel .rel-run:nth-child(5){
    top: 18.7rem;
    left: 12rem;
    width: 4.5rem;
    height: 0.6rem;
    transform:rotate(35deg);
}

.main-real:nth-child(4) .action-rel .rel-run:nth-child(6){
    top: 17.8rem;
    left: 4.7rem;
    width: 8rem;
    height: 0.6rem;
}

@keyframes animate-road {
	from {
		background-position: 0;
	}
	
	to {
		background-position: 50px;
	}
}

.label-name-rel{
    position: absolute;
    background: #4CAF50;
    border: 1px solid #000000;
    text-align: center;
    padding: 0rem 0.2rem;
    color: #000000;
    font-size: 0.6rem;
    font-weight: bold;
}

.main-real:nth-child(1) .action-rel .label-name-rel,
.main-real:nth-child(3) .action-rel .label-name-rel{
    top: 3rem;
}

.main-real:nth-child(2) .action-rel .label-name-rel,
.main-real:nth-child(4) .action-rel .label-name-rel{
    top: 16rem;
}


.icon-rel-atas{
    position: absolute;
    content: url('../tools/rel-floorcon-1.svg');
    width: 77.5rem;
    top: 4.4rem;
    left: 4.7rem;
}

.icon-rel-bawah{
    position: absolute;
    content: url('../tools/rel-floorcon-2.svg');
    width: 62.3rem;
    top: 9.5rem;
    left: 4.5rem;
}

.gird-label{
    position: relative;
    width: 100%;
    height: 100%;
}

.label-grid{
    position: absolute;
    background: #B7B7B7;
    border: 1px solid #000000;
    text-align: center;
    padding: 0.2rem;
    color: #000000;
}

.label-grid div{
    width: auto;
    height: auto;
    position: relative;
}

.label-grid div::before{
    position: absolute;
    content: '';
    border: 3px solid #B7B7B7;
    background: #aeaeae75;
}

.label-grid:nth-child(2){
    top: 4.3rem;
    left: 10rem;
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
}

.label-grid:nth-child(3){
    top: 4.3rem;
    left: 33.6rem;
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
}

.label-grid:nth-child(4){
    top: 9.5rem;
    left: 67rem;
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
}

.label-grid:nth-child(2) div::before,
.label-grid:nth-child(3) div::before,
.label-grid:nth-child(4) div::before{
    top: -0.5rem;
    left: -2.4rem;
    width: 2rem;
    height: 2rem;
}

.label-grid:nth-child(5){
    top: 15.5rem;
    left: 68.5rem;
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
}

.label-grid:nth-child(5) div::before{
    top: 1.1rem;
    left: 2rem;
    width: 2rem;
    height: 2rem;
}

.label-grid:nth-child(6){
    top: 28.5rem;
    left: 74rem;
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
}

.label-grid:nth-child(6) div::before{
    top: -0.5rem;
    right: -2.4rem;
    width: 2rem;
    height: 2rem;
}

.label-grid:nth-child(7){
    top: 18.2rem;
    left: 16.5rem;
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
}

.label-grid:nth-child(7) div::before{
    top: 0.1rem;
    left: -3rem;
    width: 2rem;
    height: 1.8rem;
    transform:rotate(35deg);
}

.label-box{
    position: absolute;
    width: 1rem;
    height: 2rem;
    background: #D9D9D9;
    border: 1px solid #000000;
}

.box-action{
    width: 100%;
    height: 50%;
    background: transparent;
    border: 1px solid #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-action div{
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: #717171;
    font-size: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
}

.label-box[data-status=st1] .box-action:nth-child(1) div{
    background: #4CAF50;
}

.label-box[data-status=st2] .box-action:nth-child(1) div{
    background: #FE0000;
    -webkit-animation: alarm 0.6s infinite alternate;
	animation: alarm 0.6s infinite alternate;
}

.label-box[data-status=st3] .box-action:nth-child(2) div{
    background: #FE0000;
    -webkit-animation: alarm 0.6s infinite alternate;
	animation: alarm 0.6s infinite alternate;
}

.label-box:nth-child(8){
    top: 6.5rem;
    left: 13rem;
}

.label-box:nth-child(9){
    top: 6.5rem;
    left: 43rem;
}

.label-box:nth-child(10){
    top: 6.5rem;
    left: 55rem;
}

.label-box:nth-child(11){
    top: 21.3rem;
    left: 18.5rem;
}

.label-box:nth-child(12){
    top: 21.3rem;
    left: 40rem;
}

.label-box:nth-child(13){
    top: 21.3rem;
    left: 60.5rem;
}

.label-box:nth-child(14){
    top: 21.3rem;
    left: 78rem;
}

.label-box:nth-child(15){
    top: 25.4rem;
    left: 48rem;
}

.label-box:nth-child(16){
    top: 25.4rem;
    left: 57rem;
}

.label-box:nth-child(17){
    top: 30.5rem;
    left: 31.5rem;
}

.card-nilai-ex{
    position: absolute;
    width: 7rem;
    height: auto;
    background: #E6E6E6;
    border: 1px solid #000000;
}

.card-nilai-ex .header{
    width: 100%;
    padding: 0.2rem;
    font-size: 0.6rem;
    color: #000000;
    text-align: center;
    background: #9F9F9F;
    border-bottom: 1px solid #000000;
}

.card-nilai-ex .body{
    width: 100%;
    height: auto;
    padding: 0.2rem;
}

.name-nilai-card{
    color: #000000;
    font-size: 0.6rem;
    margin: 0rem;
    width: 3rem;
}

.real-nial-card{
    color: #000000;
    font-size: 0.6rem;
    margin: 0rem;
    white-space: nowrap;
}

.card-nilai-ex:nth-child(18){
    top: 34.5rem;
    left: 23.5rem;
}

.card-nilai-ex:nth-child(19){
    top: 23rem;
    left: 5rem;
}

.atap{
    position: absolute;
    border: 2px solid #000000;
    background: transparent;
}

.atap div{
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    opacity: 0.5;
}

.atap:nth-child(5){
    top: 3.6rem;
    right: 9rem;
    width: 46.5rem;
    height: 44px;
}

.atap:nth-child(6){
    top: 18rem;
    left: 18rem;
    width: 10.9rem;
    height: 7rem;
}

.atap:nth-child(7){
    top: 32.4rem;
    right: 9rem;
    width: 46.5rem;
    height: 44px;
}

.panah{
    position: absolute;
}

.main-real:nth-child(1) .action-rel .panah:nth-child(10){
    content: url('../tools/panah-l.svg');
    width: 2rem;
    top: 4.1rem;
    left: 4rem;
}

.main-real:nth-child(1) .action-rel .panah:nth-child(11){
    content: url('../tools/panah-l.svg');
    width: 2rem;
    top: 4.1rem;
    left: 20rem;
}

.main-real:nth-child(1) .action-rel .panah:nth-child(12){
    content: url('../tools/panah-l.svg');
    width: 2rem;
    top: 4.1rem;
    left: 45rem;
}

.main-real:nth-child(1) .action-rel .panah:nth-child(13){
    content: url('../tools/panah-l.svg');
    width: 2rem;
    top: 4.1rem;
    left: 65rem;
}

.main-real:nth-child(1) .action-rel .panah:nth-child(14){
    content: url('../tools/panah-a.svg');
    width: 2rem;
    top: 9rem;
    left: 80.6rem;
}

.main-real:nth-child(1) .action-rel .panah:nth-child(15){
    content: url('../tools/panah-r.svg');
    width: 2rem;
    top: 12.8rem;
    left: 73rem;
}

.main-real:nth-child(1) .action-rel .panah:nth-child(16){
    content: url('../tools/panah-l.svg');
    width: 2rem;
    top: 16.6rem;
    left: 74rem;
}

.main-real:nth-child(1) .action-rel .panah:nth-child(17){
    content: url('../tools/panah-a.svg');
    width: 2rem;
    top: 25rem;
    left: 80.6rem;
}

.main-real:nth-child(1) .action-rel .panah:nth-child(18){
    content: url('../tools/panah-r.svg');
    width: 2rem;
    top: 32.8rem;
    left: 75rem;
}

.main-real:nth-child(1) .action-rel .panah:nth-child(19){
    content: url('../tools/panah-r.svg');
    width: 2rem;
    top: 32.8rem;
    left: 50rem;
}

.main-real:nth-child(1) .action-rel .panah:nth-child(20){
    content: url('../tools/panah-r.svg');
    width: 2rem;
    top: 32.8rem;
    left: 19rem;
}

.main-real:nth-child(2) .action-rel .panah:nth-child(8){
    content: url('../tools/panah-l.svg');
    width: 2rem;
    top: 17.1rem;
    left: 4rem;
}

.main-real:nth-child(2) .action-rel .panah:nth-child(9){
    content: url('../tools/panah-l.svg');
    width: 2rem;
    top: 19.4rem;
    left: 40rem;
}

.main-real:nth-child(2) .action-rel .panah:nth-child(10){
    content: url('../tools/panah-b.svg');
    width: 2rem;
    top: 14rem;
    left: 65.2rem;
}

.main-real:nth-child(2) .action-rel .panah:nth-child(11){
    content: url('../tools/panah-r.svg');
    width: 2rem;
    top: 9rem;
    left: 45rem;
}

.main-real:nth-child(3) .action-rel .panah:nth-child(10){
    content: url('../tools/panah-r.svg');
    width: 2rem;
    top: 4.1rem;
    left: 4rem;
}

.main-real:nth-child(3) .action-rel .panah:nth-child(11){
    content: url('../tools/panah-r.svg');
    width: 2rem;
    top: 4.1rem;
    left: 20rem;
}

.main-real:nth-child(3) .action-rel .panah:nth-child(12){
    content: url('../tools/panah-r.svg');
    width: 2rem;
    top: 4.1rem;
    left: 45rem;
}

.main-real:nth-child(3) .action-rel .panah:nth-child(13){
    content: url('../tools/panah-r.svg');
    width: 2rem;
    top: 4.1rem;
    left: 65rem;
}

.main-real:nth-child(3) .action-rel .panah:nth-child(14){
    content: url('../tools/panah-b.svg');
    width: 2rem;
    top: 9rem;
    left: 80.6rem;
}

.main-real:nth-child(3) .action-rel .panah:nth-child(15){
    content: url('../tools/panah-l.svg');
    width: 2rem;
    top: 12.8rem;
    left: 73rem;
}

.main-real:nth-child(3) .action-rel .panah:nth-child(16){
    content: url('../tools/panah-r.svg');
    width: 2rem;
    top: 16.6rem;
    left: 74rem;
}

.main-real:nth-child(3) .action-rel .panah:nth-child(17){
    content: url('../tools/panah-b.svg');
    width: 2rem;
    top: 25rem;
    left: 80.6rem;
}

.main-real:nth-child(3) .action-rel .panah:nth-child(18){
    content: url('../tools/panah-l.svg');
    width: 2rem;
    top: 32.8rem;
    left: 75rem;
}

.main-real:nth-child(3) .action-rel .panah:nth-child(19){
    content: url('../tools/panah-l.svg');
    width: 2rem;
    top: 32.8rem;
    left: 50rem;
}

.main-real:nth-child(3) .action-rel .panah:nth-child(20){
    content: url('../tools/panah-l.svg');
    width: 2rem;
    top: 32.8rem;
    left: 19rem;
}

.main-real:nth-child(4) .action-rel .panah:nth-child(8){
    content: url('../tools/panah-r.svg');
    width: 2rem;
    top: 17.1rem;
    left: 4rem;
}

.main-real:nth-child(4) .action-rel .panah:nth-child(9){
    content: url('../tools/panah-r.svg');
    width: 2rem;
    top: 19.4rem;
    left: 40rem;
}

.main-real:nth-child(4) .action-rel .panah:nth-child(10){
    content: url('../tools/panah-a.svg');
    width: 2rem;
    top: 14rem;
    left: 65.2rem;
}

.main-real:nth-child(4) .action-rel .panah:nth-child(11){
    content: url('../tools/panah-l.svg');
    width: 2rem;
    top: 9rem;
    left: 45rem;
}