.title-container {
  text-align: center;
  margin: 60px 0px;
  width: 100%;
}
.title-container h1 {
  margin-bottom: 20px;
  font-weight: bold;
}
.title-container p {
  text-align: center;
}
.main-box-container {
  margin: 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}
.px {
  padding-left: 10%;
  padding-right: 10%;
}

/* ======== LHS BOX =========== */

.lhs-box h3,
.rhs-box h3 {
  font-weight: bold;
}
.lhs-box ul li {
  list-style-type: none;
  border-bottom: 1px solid #ddd;
  width: 100%;
}
.lhs-box ul li a img {
  width: 30px;
  height: 30px;
  padding-right: 10px;
}
.lhs-box ul li a {
  width: 100%;
  text-decoration: none;
  color: #000;
  font-size: 20px;
  text-transform: uppercase;
  display: flex;
  padding: 10px 10px;
}
/* .lhs-box ul li:last-child{border: none;} */
.lhs-box ul {
  margin-top: 40px;
  padding: 0px;
}
.lhs-box ul li:hover {
  background-color: #e0b546;
  font-weight: bold;
}
.active {
  background-color: #e0b546;
  font-weight: bold;
}
.lhs-box ul li.active img,
.lhs-box ul li:hover img {
  content: url("../images/jm-logo-4.png");
}
.lhs-box ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========== RHS Box ============= */

#menuCard-container {
  margin-top: 40px;
  background-color: #f7f7f7;
  padding: 30px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  height: 70vh;
  overflow: auto;
  align-content: start;
}
.menu-card {
  min-width: 200px;
  background-color: #ffffff;
  padding: 20px;
  position: relative;
  height: 158px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-direction: column;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}
.menu-card img {
  position: absolute;
  bottom: 10px;
  right: 10px;
}
.menu-card p {
  margin: 0;
  font-size: small;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.menu-card p a {
  color: #000;
  font-weight: bold;
}
.menu-card h5 {
  font-weight: bold;
  font-size: 20px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.menu-card:hover {
  background-color: #e0b546;
  cursor: pointer;
}
.menu-card:hover img {
  content: url("../images/jm-logo-2.png");
}
.rhs-title p a {
  color: #000;
  font-weight: bold;
  font-size: 18px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rhs-title p img {
  padding-right: 5px;
}
.rhs-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 20px;
  gap: 20px;
}
.rhs-title p {
  margin: 0;
}
.rhs-title h3 {
  flex: 1 !important;
}

/* =========== PDF CARD ============= */

#pdfContainer {
  margin-top: 40px;
  background-color: #f7f7f7;
  padding: 30px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.pdfCardimg {
  position: absolute;
  bottom: 10px;
  right: 10px;
}
.pdf-card {
  width: 100%;
  background-color: #ffffff;
  padding: 20px;
  position: relative;
  height: 158px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-direction: column;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}
.pdf-card:hover {
  background-color: #e0b546;
}
.pdf-card:hover img.pdfCardimg {
  content: url("../images/jm-logo-2.png");
}
.pdf-card h5 {
  font-weight: bold;
  font-size: 20px;
  margin-top: 10px;
}
.pdf-card p {
  font-size: small;
}
.pdf-card .download-icon {
  color: #000;
  font-weight: 600;
  margin: 0;
  font-size: small;
  position: absolute;
  bottom: 10px;
  left: 20px;
  border-bottom: 1px solid black;
  padding-bottom: 3px;
}
.pdf-card .download-icon a {
  color: #000;
  text-decoration: none;
}

#pdfPage {
  position: relative;
}
.pdfTitle {
  display: flex;
  gap: 30px;
  align-items: center;
}
.dropdownBox {
  cursor: pointer;
  border: 1px solid #ddd;
  padding: 12px;
  width: max-content;
  background: white;
  font-weight: bold;
}
.dropdown-menu-inv {
  border: 1px solid #ddd;
  width: max-content;
  background: white;
  display: none;
  position: absolute;
  top: 50px;
  left: 0px;
  z-index: 1;
}
.dropdown-menu-inv.open {
  display: block;
  font-weight: bold;
}
.dropdown-menu-inv div {
  padding: 10px;
  cursor: pointer;
}
.dropdown-menu-inv div:hover {
  background: #f5f5f5;
}

/* =========== PAGINATION    ============= */

.pagination {
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagination button {
  margin: 5px;
  border: none;
  cursor: pointer;
  background-color: transparent;
}
.pagination button.disabled {
  cursor: not-allowed;
}
.pagination button.active {
  background: #e0b546;
}
.page-num {
  color: #000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

/* ================== disabled ====================  */

.disabled {
  /* opacity: 0.5 !important; */
  cursor: default !important;
  /* pointer-events: none; */
}

.hidden {
  display: none;
}

.address_details p a {
  color: #2563eb !important;
}

@media screen and (max-width: 1250px) {
  #menuCard-container {
    grid-template-columns: 1fr 1fr;
  }
  #pdfContainer {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 1100px) {
  .lhs-box ul li a {
    font-size: 16px;
  }
  .px {
    padding-left: 2%;
    padding-right: 2%;
  }
  .menu-card h5 {
    font-weight: bold;
    font-size: 16px;
  }
  /* .menu-card {width: 45%;} */
  .menu-card img {
    width: 50px;
    height: auto;
  }
}

@media screen and (max-width: 800px) {
  .main-box-container {
    grid-template-columns: 1fr;
  }
  #menuCard-container {
    grid-template-columns: 1fr;
  }
  #pdfContainer {
    grid-template-columns: 1fr;
  }
  .pfdTitle {
    flex-direction: column;
  }
  .pdfTitle {
    display: block;
    text-align: center;
    position: sticky;
    top: 60px;
    z-index: 1;
    background-color: white;
    padding: 30px 30px;
  }
  .dropdownBox {
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }
  .dropdown-menu-inv {
    width: 100%;
  }
  .lhs-box ul {
    flex-direction: row;
    width: 600px;
    overflow: auto;
    white-space: nowrap;
    margin: auto;
  }
}
@media screen and (max-width: 670px) {
  .lhs-box ul {
    width: 400px;
  }
}
@media screen and (max-width: 570px) {
  /* .rhs-title{  flex-direction: column; align-items: start;} */
  .px {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}
@media screen and (max-width: 500px) {
  .lhs-box ul {
    width: 300px;
  }
}

/* ===================== MOBILE MENU   ============================ */

.mobile-lhs-box {
  display: none;
}
.lhs-box {
  display: block;
}
@media (max-width: 800px) {
  #menuCard-container {
    margin-top: 0px;
  }
  .mobile-lhs-box h3 {
    font-weight: bold;
    padding-left: 8%;
  }
  .mobile-lhs-box {
    display: block;
    position: sticky;
    top: 76px;
    background: #fff;
    z-index: 2;
  }
  .mobile-lhs-box ul {
    background: #f7f7f7;
    padding: 15px 0px;
  }
  .mobile-lhs-box ul li img {
    display: none;
  }
  #mobile-inv_menu li.active a {
    background: #d8b35a !important;
    font-weight: bold;
  }
  #mobile-inv_menu .divider {
    width: 1px;
    height: 20px;
    background: #000000;
    flex: 0 0 auto;
  }
  .lhs-box {
    display: none;
  }
  #mobile-inv_menu {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    align-items: center;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }
  #mobile-inv_menu li {
    flex: 0 0 auto;
    list-style-type: none;
    padding: 10px 14px;
  }
  #mobile-inv_menu a {
    padding: 10px 14px;
    text-decoration: none;
    font-size: 16px;
    color: #000;
  }
  #mobile-inv_menu li.active a {
    background: #d8b35a;
    font-weight: 600;
  }
  #mobile-inv_menu::-webkit-scrollbar {
    display: none;
  }
  .rhs-title {
    position: sticky;
    top: 150px;
    background-color: white;
    padding: 10px 0px;
    z-index: 1;
  }
  .title-container h1 {
    font-size: 2rem;
  }
  .rhs-title h3 {
    font-size: 1.4rem;
  }
  .rhs-box h3 {
    position: sticky;
    top: 145px;
    background: white;
    z-index: 1;
    padding: 10px 0px 20px 0px;
  }

  .main-box-container {
    margin: 20px;
  }
  .rhs-box h3 {
    font-size: 1.4rem;
  }

  /* 
  #mobile-inv_menu li {position: relative;padding-right: 14px;}
  #mobile-inv_menu li:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 16px; background: #000000;} 
  */
}
