.main {
  padding-block: 100px;
}
.sitmap-parent {
  display: flex;
}
.content {
  width: 100%;
  flex-shrink: 0;
}
.map {
  width: 100%;
  flex-shrink: 0;
  border: 1px solid black;
  padding: 30px;
}
.map-title {
  text-align: center;
  font-size: 24px;
  color: #2cb34b;
  margin-bottom: 16px;
}
.map-main-block {
  position: relative;
  border: 1px solid black;
  border-radius: 0 0 20px;
  user-select: none;
}
.map-main-block::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 30px;
  height: 30px;
  background-color: #fff;
  display: block;
  transform: rotate(45deg);
  border-top: 1px solid black;
}
.map-front-hall {
  display: flex;
  border-top: 1px solid black;
}
.center-side {
  width: 10%;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  line-height: 10px;
  flex-shrink: 0;
  padding-top: 5px;
  position: relative;
}

.center-side::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background-color: #fff;
  top: 100%;
  z-index: 2;
}
.right-side {
  position: relative;
  width: 45%;
  flex-shrink: 0;
  border-left: 1px solid black;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 5px;
}
.right-side::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 40px;
  width: 30px;
  height: 1px;
  background-color: #fff;
  display: block;
}

.right-side::after {
  content: "Registration Booth";
  position: absolute;
  top: 100%;
  left: 10px;
  font-size: 9px;
  font-weight: 600;
  width: 60px;
  text-align: center;
}
.sit {
  border: none;
  font-weight: 600;
  color: white;
  font-size: 10px;
  flex-shrink: 0;
}

.right-side .left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.right-side .left .sit {
  background-color: #f47b21;
  flex-shrink: 0;
  padding: 15px 5px;
  writing-mode: sideways-lr;
}
.right-side .right {
  border: 1px solid #007bc3;
  writing-mode: sideways-rl;
  display: block;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding-block: 3px;
}
.right-side .center {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
}
.right-side .center div {
  display: flex;
  gap: 2px;
}
.right-side .center div .sit {
  background-color: #007bc3;
  padding: 5px 15px;
}
.entry-gate {
  position: absolute;
  bottom: 0;
  left: 50px;
  display: flex;
  align-items: center;
}
.entry-gate .entry-arrow {
  height: 40px;
  width: 10px;
  object-fit: cover;
  object-position: top;
}
.entry-gate span {
  font-size: 8px;
  writing-mode: sideways-lr;
  border: 1px solid black;
  font-weight: 700;
  padding: 2px;
}
.left-side {
  position: relative;
  width: 45%;
  flex-shrink: 0;
  border-right: 1px solid black;
  padding-bottom: 3px;
  padding-right: 5px;
  display: flex;
  flex-direction: column;
}
.left-side::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 100%;
  width: 40px;
  height: 1px;
  background-color: #fff;
  left: 30%;
}
.green-arrow {
  position: absolute;
  height: 40px;
  top: 0;
  left: 35%;
  transform: translateY(-50%);
}
.exit-gate {
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
}
.exit-text {
  margin-left: 10px;
  display: flex;
  align-items: center;
}
.exit-text span {
  font-size: 10px;
  font-weight: 600;
  writing-mode: sideways-rl;
  padding: 6px 0;
  border: 1px solid black;
}
.exit-text .exit-arrow {
  transform: rotate(180deg);
  height: 60px;
}
.exit-door {
  border: 1px solid black;
  height: 5px;
  width: 50px;
}
.left-side-top {
  height: 100%;
  display: flex;
  justify-content: space-between;
}
.left-side-top-start {
  text-align: center;
  color: #fff;
  font-weight: 600;
  background-color: #5b2d78;
  writing-mode: sideways-lr;
  font-size: 8px;
  letter-spacing: 1px;
  padding: 0 15px;
}
.left-side-top-end {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
}
.left-side-top-end .sit {
  writing-mode: sideways-rl;
  background-color: #f47b21;
  padding: 10px 5px;
}
.left-side-bottom {
  padding-right: 30px;
}
.left-side-bottom div {
  display: flex;
  justify-content: end;
}
.left-side-bottom div .sit {
  background-color: #f47b21;
  padding: 5px 10px;
}

/* big hall design */
.map-big-hall {
  padding: 5px 2px 2px 3px;
  display: flex;
  position: relative;
}
.map-big-hall::before {
  content: "";
  position: absolute;
  display: block;
  height: 5px;
  width: 30px;
  border: 1px solid black;
  top: -3px;
  left: 30px;
}
.map-big-hall::after {
  content: "";
  position: absolute;
  display: block;
  height: 5px;
  width: 30px;
  border: 1px solid black;
  top: -3px;
  right: 30px;
}
.map-big-hall-left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-block: 40px 30px;
}
.map-big-hall-left div {
  display: flex;
  flex-direction: column;
}
.map-big-hall-left .sit {
  flex-shrink: 0;
  writing-mode: sideways-lr;
  background-color: #f47b21;
  padding: 10px 5px;
}
.map-big-hall-center {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.map-big-hall-center-top {
  display: flex;
  gap: 2px;
  justify-content: center;
}
.map-big-hall-center-top .sit {
  background-color: #007bc3;
  padding: 5px 15px;
}
.map-big-hall-center-top div {
  display: flex;
}
.map-big-hall-center-top div .sit {
  padding: 5px 10px;
  background-color: #f47b21;
}
.map-big-hall-center-bottom {
  display: flex;
  justify-content: end;
  gap: 35px;
  padding-right: 30px;
}
.map-big-hall-center-bottom > div {
  display: flex;
  gap: 5px;
}
.map-big-hall-center-bottom > div:first-child > .sit {
  background-color: #007bc3;
  padding: 5px 12px;
}

.map-big-hall-center-bottom > div:last-child > .sit {
  background-color: #007bc3;
  padding: 5px 16px;
}
.map-big-hall-center-bottom > div > div {
  display: flex;
}
.map-big-hall-center-bottom > div > div .sit {
  padding: 5px 10px;
  background-color: #f47b21;
}
.map-big-hall-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-block: 30px 40px;
}
.map-big-hall-right .sit {
  writing-mode: sideways-rl;
  background-color: #007bc3;
  padding: 15px 5px;
}
.map-big-hall-right div {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.map-big-hall-right div .sit {
  padding: 10px 5px;
  background-color: #f47b21;
}
.map-big-hall-center-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.map-big-hall-center-center > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-big-hall-center-center > div:first-child > span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: black;
}

.map-big-hall-center-center > div:first-child > div {
  display: flex;
  gap: 5px;
}
.map-big-hall-center-center > div:first-child > div .sit {
  background-color: transparent;
  /* border: 1px solid black; */
  color: black;
  padding: 5px 10px;
}

.map-big-hall-center-center > div:last-child {
  display: flex;
  gap: 3px;
}
.map-big-hall-center-center > div:last-child .center-left,
.map-big-hall-center-center > div:last-child .center-right {
  display: flex;
  flex-direction: column;
}
.map-big-hall-center-center > div:last-child .center-left .sit,
.map-big-hall-center-center > div:last-child .center-right .sit {
  writing-mode: sideways-lr;
  background-color: #f47b21;
  padding: 10px 5px;
  flex-grow: 1;
}
.map-big-hall-center-center > div:last-child .center-center {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
}
.map-big-hall-center-center > div:last-child .center-center > div {
  display: flex;
  gap: 3px;
  justify-content: space-between;
}
.map-big-hall-center-center > div:last-child .center-center > div > div {
  display: flex;
}
.map-big-hall-center-center > div:last-child .center-center > div > .sit {
  background-color: #007bc3;
  padding: 5px 16px;
}

.map-big-hall-center-center > div:last-child .center-center > div > div .sit {
  background-color: #f47b21;
  padding: 5px 10px;
}
.big-arrow {
  position: absolute;
  object-fit: contain;
  height: 60px;
}
.big-arrow-1 {
  right: 10%;
  bottom: 20%;
}
.big-arrow-2 {
  transform: rotate(-90deg);
  top: 10%;
  right: 20%;
}
.big-arrow-3 {
  transform: rotate(-90deg);
  top: 10%;
  right: 50%;
}
.big-arrow-4 {
  transform: rotate(-90deg);
  top: 10%;
  left: 20%;
}
.big-arrow-5 {
  transform: rotate(180deg);
  bottom: 40%;
  left: 10%;
}

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
  .map-big-hall-center-bottom .sit {
    padding-inline: 8px !important;
  }
  .map-big-hall-center-bottom > div {
    gap: 2px;
  }
  .map-big-hall-center-bottom > div > .sit {
    padding-inline: 10px !important;
  }
  .exit-gate {
    left: 40%;
  }
  .right-side::after {
    left: 5px;
  }
  .right-side .center .sit {
    padding-inline: 12px !important;
  }
  .map-big-hall-center-center {
    gap: 20px;
  }
  .big-arrow-1 {
    right: 8%;
  }
  .big-arrow-5 {
    left: 8%;
  }
  .map-big-hall-center-top .sit {
    padding-inline: 10px;
  }
  .map-big-hall::before {
    left: 20px;
  }
  .map-big-hall::after {
    right: 20px;
  }
  .center-center > div > .sit {
    padding-inline: 10px !important;
  }
  .map-big-hall-center-center > div:first-child .sit {
    padding-inline: 6px !important;
  }
}

/* `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .map {
    width: 60%;
  }
  .content {
    width: 40%;
  }
}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .sitmap-parent {
    flex-wrap: wrap-reverse;
    justify-content: center;
    gap: 30px;
  }
  .content {
    width: 100%;
  }
  .map {
    width: 80%;
  }
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .map {
    width: 100%;
    padding: 0;
    border: none;
  }
  .sit {
    padding-inline: 8px !important;
  }
  .map-big-hall::before {
    width: 20px;
  }
  .map-big-hall::after {
    width: 20px;
  }
  .left-side-top-start {
    padding-inline: 20px;
  }
  .map-big-hall-center-bottom {
    padding-right: 0;
  }
  .right-side::before {
    left: 50px !important;
  }
  .right-side::after {
    left: 0px !important;
  }
  .entry-gate {
    flex-direction: row-reverse;
    left: 35px;
  }
  .right-side .left .sit {
    flex-grow: 1;
  }
}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 480px) {
  .map-title {
    font-size: 20px;
  }
  .map {
    padding: 0px;
    border: none;
    width: 331px;
  }
  .map-big-hall::before {
    left: 10px;
  }
  .map-big-hall::after {
    right: 10px;
  }
  .left-side-top-start {
    padding: 10px 0;
    font-size: 6px;
    writing-mode: unset;
    text-align: center;
  }
  .left-side-top-start span {
    transform: rotate(-90deg) !important;
    transform-origin: 60% 70%;
    display: block;
  }
  .left-side-bottom {
    padding-right: 0;
  }
  .center-side {
    font-size: 8px;
  }
  .exit-gate {
    left: 50%;
  }
  .exit-text {
    margin-left: 0 !important;
    justify-content: center;
  }
  .exit-text span {
    font-size: 7px;
    padding: 1px 3px !important;
    writing-mode: unset !important;
    transform: rotate(90deg);
  }
  .exit-arrow {
    height: 40px !important;
    object-fit: cover !important;
  }
  .exit-door {
    margin-inline: auto;
    width: 30px !important;
  }
  .left-side::before {
    width: 20px;
    left: 30%;
  }
  .green-arrow {
    left: 32.5%;
    height: 30px;
  }
  .entry-gate {
    left: 18% !important;
  }
  .entry-gate span {
    font-size: 6px;
    writing-mode: unset !important;
    transform: rotate(-90deg);
    padding: 1px 2px !important;
  }
  .entry-gate .entry-arrow {
    margin-left: -5px;
  }
  .right-side {
    gap: 5px;
  }
  .right-side::before {
    width: 20px;
    left: 35px !important;
  }
  .right-side .left .sit {
    padding-inline: 8px !important;
  }
  .right-side .right {
    font-size: 8px;
    writing-mode: unset;
    width: 20px;
  }
  .right-side .right span {
    transform: rotate(90deg);
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    transform-origin: 13px 45%;
  }
  .right-side .center .sit {
    padding-inline: 8px !important;
  }
  .right-side .center > div {
    gap: 1px;
  }
  .map-big-hall-center-bottom {
    gap: 22px;
  }
  .map-big-hall-center-bottom > div .sit {
    padding-inline: 6px !important;
  }
  .map-big-hall-center-top .sit {
    padding-inline: 6px !important;
  }
  .map-big-hall-center-center {
    gap: 15px;
  }
  .map-big-hall-center-center > div:first-child > div {
    gap: 1px;
  }
  .map-big-hall-center-center > div:first-child > div .sit {
    padding: 3px 5px !important;
  }
  .map-big-hall-center-center > div:last-child {
    gap: 1px;
  }
  .map-big-hall-center-center .sit {
    padding-inline: 5px !important;
  }
  .center-center {
    gap: 20px !important;
  }
  .center-center > div {
    gap: 1px !important;
  }
  .center-center > div > .sit {
    padding-inline: 5px !important;
  }
  .map-big-hall-left {
    gap: 3px !important;
    padding-block: 30px 20px;
  }
  .map-big-hall-right {
    gap: 3px !important;
    padding-block: 20px 10px;
  }
  .map-big-hall-right .sit {
    padding-inline: 5px !important;
  }
  .big-arrow {
    display: none !important;
  }
  .sit {
    font-size: 8px;
    writing-mode: unset !important;
    padding: 5px !important;
  }
}

/* .double-sit:hover .sit {
  background-color: #2cb34b !important;
} */

.stall-booked {
  background-color: red !important;
}
.stall-booked:hover {
  background-color: red !important;
}
.stall-booked .sit {
  background-color: red !important;
}
.stall-booked:hover .sit {
  background-color: red !important;
}


.sit-1,
.sit-2,
.sit-3,
.sit-4,
.sit-5,
.sit-6,
.sit-7,
.sit-8 {
    background-color: #9d13ec !important;
}
.sit-66,
.sit-65,
.sit-67,
.sit-35,
.sit-36,
.sit-37,
.sit-38 {
    background-color: red !important;
    color: white;
}

