
/* Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Modal Box */
.modal-content {
  background: #fff;
  margin: 2% auto;
  width: 90%;
  max-width: 1270px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-50px);
  opacity: 0;
  /* transition: all 60s cubic-bezier(0.22, 1, 0.36, 1); */
}

/* Header */
.modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 45px 15px 10px;

  /* border-bottom: 1px solid #ddd; */
}

.modal-header h2 {
  margin: 0;
  font-family: flamalight;
  color: #ad2132;
  font-size: 26px;
  font-weight: 600;
  margin: 9px 0 2px;
}

/* Close Button */
.close {
  position: absolute;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
  z-index:9;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  padding-bottom: 0px;
  flex-wrap: nowrap;

  gap: 20px;
  padding: 10px;
}
@media screen and (min-width: 992px) {
  .tabs {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .tabs::-webkit-scrollbar {
    height: 6px; /* horizontal scrollbar height */
  }

  .tabs::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 10px;
  }

  .tabs::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #ff7a18, #ffb347);
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .tabs::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #ff5e00, #ffa500);
  }
}

.tab {
  background: none;
  border: none;
  cursor: pointer;
  padding-bottom: 5px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 14.99px;
}

.tab.active {
  color: #ad2132;
  border-bottom: 2px solid #ad2132;
}

/* Body */
.modal-body {
  height: 73vh;
  overflow-x: auto;
  overflow-y: auto;
  padding: 20px;
}

/* Tab content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Placeholder styles */
.placeholder {
  /* height: 500px; */
  background: #eee;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 70%;
  width: 100%;
  margin: 0px auto;
  overflow: visible;
  transform-origin: top center;
}

.red-box {
  background: #8b1c13;
  height: 600px;
}

/* Header actions (icons) */
.header-actions {
  /* position: absolute; */
  right: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: right;
  border-bottom: 1px solid #ddd;
  padding: 0px 20px 10px;
}
.download i {
  color: #000;
}

/* Icons */
.icon {
  cursor: pointer;
  font-size: 16px;
  user-select: none;
}

/* Close button adjust */
.close {
  font-size: 42px;
  position: absolute;
  top: 0;
  right: 10px;
  font-weight: lighter;
}

/* Fullscreen mode */
.modal.fullscreen .modal-content {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  max-width: 100%;
  margin: 0px auto;
}

.modal.fullscreen .modal-body {
  height: calc(100vh - 120px);
}

/* Image styling */
.menu-img {
  width: 100%;
  height: auto;
  display: block;
}

.menu-pdf-viewer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
}

.menu-pdf-viewer .menu-pdf-page,
.menu-pdf-viewer .menu-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
  transform-origin: top center;
}

.menu-pdf-loading,
.menu-pdf-error {
  text-align: center;
  padding: 40px 20px;
  color: #606161;
  font-family: Verdana, Arial, sans-serif;
}
.tab-content.active .placeholder,
.tab-content.active .menu-pdf-viewer {
  transform-origin: top center;
}

.modal.fullscreen .placeholder {
  width: 67%;
}
.modal.show .modal-content {
  transform: translateY(0px);
  opacity: 1;
}
.tabMobHead {
  display: none;
}

/* Back to top button */
#backToTopBtn {
  position: absolute; /* inside modal */
  bottom: 20px;
  right: 20px;
  z-index: 10;

  display: none;
  background: #ad2132;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;

  align-items: center;
  justify-content: center;
}

/* Hover */
#backToTopBtn:hover {
  background: #ad2132;
}
#backToTopBtn {
  opacity: 0;
  transition: opacity 0.3s;
}

#backToTopBtn.show {
  opacity: 1;
  display: flex;
}
.modal-content .share-component {
  position: relative;
  top: 0px !important;
  right:0px;
}
.modal-content .share-component .share-toggle {
  color: #000;
}
.icon svg {
  vertical-align: middle;
}
.icon.hidden {
  display: none !important;
}
.modal-content {
  transform-origin: top center;
  will-change: transform; /* improves rendering */
}
.zoomDiv .icon {
    font-size: 30px;
    margin-left: 12px;
    font-weight: bold;
    color: #000;

}
.topButtonsRight {
  position: initial;
  top: 5%;
  right: 5%;
  display: flex;
  align-items: center;
}
.bookFormBtn {
  color: #ad2132;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 16px;
  border-radius: 5px;
  padding: 11px 8px;
  cursor: pointer;
  margin-right: 8px;
  font-family:flamalight;
  margin-right:0px;
  padding-right:0px;
}
.disabled-zoom {
  opacity: 0.5;
  pointer-events: none;
}

.header-actions .share-component .share-list {
  left: -15px;
  top:20px;
}
.header-actions .fa-link span{
   opacity:0;
   display:none;
   font-size:13px;
}

.active-zoom {
  opacity: 1;
  pointer-events: auto;
}
.languageChange {
  display: flex;
}

.languageChange.is-hidden {
  display: none;
}

.languagePopup {
  position: relative;
  padding-right: 10px;
  display: flex;
  gap: 5px;
  padding-top: 2px;
}
.languagePopup > i {
  padding-top: 2px;
  color: #d8741b;
}
.languageHead {
  color: #d8741b;
  cursor: pointer;
  min-width: 28px;
  text-transform: uppercase;
}

.languagePopup ul {
  list-style: none;
}
.languagePopup .languageHead:after {
  border: solid #606161;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 4px;
  position: absolute;
  content: "";
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  right: -7px;
  top: 3px;
  transition: all linear 0.3s;
}
.languagePopup .languageHead:after {
  color: #d8741b;
  border-color: #d8741b;
  top: 2px;
}
.languagePopup .languageHead.active:after {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  right: -5px;
  top: 8px;
}
.languagePopup .language-menu-popup {
  display: none;
  position: absolute;
  background: #eeeeee;
  top: 29px;
  z-index: 1;
  right: -6px;
  width: 120px;
  padding-top: 5px;
}

.languagePopup .language-menu-popup ul li {
  display: block;
  float: none;
  padding: 3px 7.5px;
  font-size: 0.938em;
  cursor: pointer;
  white-space: nowrap;
  color: #606161;
  font-family: "Verdana", sans-serif;
}

.languagePopup .language-menu-popup ul li.is-unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.languagePopup .language-menu-popup ul li.active {
  background: #ddd;
}

@media screen and (max-width: 1600px) {
  .modal-content {
    max-width: 1100px;
  }
}
@media screen and (max-width: 991px) {
  .modal-body {
    padding: 10px 8px;
    -webkit-overflow-scrolling: touch;
  }

  .tabs {
    width: 100%;
    display: none;
  }
  .tabs .tab {
    width: 100%;
    padding: 10px 0px;
  }
  .tab.active {
    /* text-decoration:underline; */
  }
  .tabMobHead {
    border-bottom: 1px solid #000;
    padding:10px 8px;
    font-size: 17px;
    font-family: flamalight;
    font-weight: 500;
    text-align: center;
    position: relative;
    padding-right: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    color:#000;
  }
  .modal-header h2{
    font-size:24px;
  }
  .bookFormBtn{
    padding: 11px 0px;
  }
  .tabMobHead::after {
    content: "";
    border-top: 0.4em solid !important;
    border-right: 0.4em solid transparent !important;
    border-left: 0.4em solid transparent !important;
    border-bottom: 0 transparent !important;
    font-size: 1.2em;
    vertical-align: 0.1em;
    display: inline-block;
    margin-left: 0.255em;
    position: absolute;
    top: 17px;
    right: 12px;
  }

  .header-actions {
    margin-top: 10px;
  }
  .placeholder {
    max-width: 100%;
    width: 100%;
  }

  .menu-pdf-viewer {
    width: 100%;
    max-width: 100%;
  }

  .menu-pdf-viewer .menu-pdf-page,
  .menu-pdf-viewer .menu-img {
    max-width: 100%;
    height: auto;
  }

  .topButtonsRight {
    right: 60px;
  }
.topButtonsRight {
    position: absolute;
    top: 5px;
    width: 100%;
    left: 0px;
    right: 0px;
    justify-content: center;
}
.modal-content {
  width:100%;
  margin:0px;
  height:100vh;
  border-radius:0px;
}
}

.menu-tabs-navigation {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 42px;
  box-sizing: border-box;
}

/* This element must handle scrolling */
.tabs-viewport {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs-viewport::-webkit-scrollbar {
  display: none;
}

/* This element only contains the tabs */
.menu-tabs-navigation .tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 20px;

  width: max-content;
  min-width: 100%;

  padding: 10px 0 0;
  overflow: visible;
  box-sizing: border-box;
}

.menu-tabs-navigation .tab {
  flex: 0 0 auto;
  white-space: nowrap;
  border: 0;
  background: transparent;
  padding: 12px 0 8px;
  font-family: flamalight;
  font-size: 15px;
  cursor: pointer;
}

.menu-tabs-navigation .tab.active {
    color: #ad2132;
    border-bottom: 2px solid #ad2132;
}

.menu-tab-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;

  display: none;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;
  padding: 0;

  border: 0;
  background: #fff;
  color: #000;
  cursor: pointer;

  transform: translateY(-50%);
}

.menu-tab-prev {
  left: 4px;
  margin-top: 6px;
}

.menu-tab-next {
  right: 4px;
  margin-top: 6px;
}

.menu-tab-arrow.is-visible {
  display: flex;
}

.menu-tab-arrow:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.menu-tab-arrow i {
  display: block;
  font-size: 15px;
  color: #d8741b;
}
@media screen and (max-width: 991px) {
  /*
   * Keep the navigation wrapper available because the mobile
   * dropdown JavaScript opens and closes the .tabs element.
   */
  .menu-tabs-navigation {
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
  }

  /*
   * Hide desktop previous/next arrows on mobile.
   */
  .menu-tabs-navigation .menu-tab-arrow {
    display: none !important;
  }

  /*
   * The viewport should not create a horizontal slider on mobile.
   */
  .menu-tabs-navigation .tabs-viewport {
    width: 100%;
    overflow: visible;
    position: absolute;
    z-index: 9;
  }

  /*
   * Restore the old mobile dropdown state.
   * It remains hidden until .tabMobHead is clicked.
   */
  .menu-tabs-navigation .tabs {
    display: none;
    width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;

    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;

    overflow: visible;
    background: #fff;
  }

  /*
   * jQuery .toggle() adds inline display:block.
   * This converts the opened list into the required vertical layout.
   */
  .menu-tabs-navigation .tabs[style*="display: block"] {
    display: flex !important;
  }

  .menu-tabs-navigation .tabs .tab {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    white-space: normal;
    box-sizing: border-box;
  }

  .menu-tabs-navigation .tabs .tab.active {
    color: #ad2132;
    border-bottom: 1px solid #ddd;
  }

  .modal-header{
    padding: 45px 8px 10px;
  }

    .menu-tabs-navigation .tabs .tab{
    padding: 10px 8px;
  }
  .modal-header h2{
    padding:0px 8px;
  }
  .header-actions{
    padding-right: 0px;
    padding-bottom: 0px;
    margin-top:0px;
  }
}

.mobile-cta {
  z-index: 999999 !important;
}

@media only screen and (max-width: 1100px) {
}
