/* PAGE CTA STYLINGS  */

.interactive-market-chart-banner {
  display: none;
}

#rd-page-banner {
  width: 100%;
  /* display: flex; */
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
  background-image: url("/express-img/RD Banner.webp");
  background-position: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 15px;
  margin: 20px 0 0;
  border-radius: 5px;
  cursor: pointer;
}

#market-analysis-banner {
  position: fixed;
  top: 44%;
  right: 0;
  width: 260px;
  height: auto;
  /* display: flex; */
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1;
  background-color: #141456;
  padding: 10px;
  z-index: 100;
}

#market-analysis-banner > p {
  color: white;
  font-size: 20px;
  font-family: "regular_semibold";
  text-align: center;
  margin-bottom: 0;
  line-height: normal;
}

#market-analysis-banner > p > strong {
  text-align: center;
  font-size: 22px;
  color: #f5bd07 !important;
  font-family: "regular_bold";
}

#market-analysis-banner > div {
  width: 100%;
  height: 225px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background-image: url("/express-img/sidebanner.webp");
  background-position: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 0 0 30px 35px;
}

#market-analysis-banner > div > p {
  font-size: 13px;
  line-height: normal;
  padding: 2px 5px;
  color: white;
  width: 50%;
  min-width: fit-content;
  text-align: right;
  background: #0c2343;
  margin-bottom: 0px;
}

#market-analysis-top-banner {
  position: fixed;
  top: 62px;
  left: 0;
  width: 100%;
  height: 50px;
  padding: 10px;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 1;
  background-color: #0c2343;
  color: white;
}

#market-analysis-top-banner > p {
  font-size: 18px;
  color: white !important;
  font-family: "regular_semibold";
  margin-bottom: 0;
  text-transform: uppercase;
  margin-right: 10px;
}

#market-analysis-top-banner > p > strong {
  font-size: 18px;
  color: #f5bd07 !important;
  font-family: "regular_bold";
  margin-bottom: 0;
  text-transform: uppercase;
}

#market-analysis-banner > div.right-section > div {
  display: flex;
  justify-content: center;
  width: 100%;
}

#market-analysis-banner > div.right-section > .right-align {
  text-align: left !important;
  margin-left: auto;
  width: 100%;
  justify-content: flex-start;
}

#market-analysis-banner > div.right-section > div > p {
  margin-bottom: 0px;
}

.left-section {
  width: 50%;
}

.left-section > p {
  font-size: 18px;
  line-height: normal;
  font-family: "regular_medium";
  text-align: start;
  color: white;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.left-section > p > strong {
  line-height: normal;
  font-size: 18px;
  text-align: start;
  text-transform: uppercase;
  color: #f5bd07 !important;
  font-family: "regular_bold";
}

.view-chart-btn {
  background-color: rgb(245, 189, 7) !important;
  padding: 6px 36px !important;
  font-family: "regular_bold";
  font-size: 18px !important;
  color: darkblue;
  text-align: center;
  outline: none;
  border: none;
  border-radius: 6px;
}

.view-chart-btn:disabled {
  background: #ccc !important; 
  cursor: not-allowed !important;  
}

.right-section {
  width: 45%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.right-section > div {
  display: flex;
  justify-content: flex-end;
  width: 50%;
}

.right-section > div:nth-child(even) {
  justify-content: flex-start;
  width: 50%;
  margin-left: auto;
}

.right-section > div > p {
  font-size: 13px;
  line-height: normal;
  color: white;
  background: #0c2343;
  padding: 2px 5px;
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 4px;
}

.right-align > p {
  margin: 0;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 4px;
}

/* CHART MODAL STYLING */
.interactive-market-chart-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
}

.interactive-market-chart-container {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  max-width: 98%;
  min-height: 530px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
}

.interactive-market-chart-container > div {
  height: 100%;
}

.left-container {
  width: 800px;
  max-width: 65%;
}

.title-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding: 10px 30px 10px 15px;
}

.title-container > img {
  height: 50px;
  width: 70px;
  object-fit: cover !important;
}

.title-container > h2 {
  font-size: 22px !important;
  font-family: "regular_semibold" !important;
  text-align: left;
}

.title-container > h2 > strong {
  font-family: "regular_bold";
  color: #9f0606;
}

.right-container {
  width: 400px;
  max-width: 35%;
  position: relative;
  padding-top: 30px;
}

.right-container > .close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
}

.filter-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  overflow: auto hidden;
  padding: 5px 0;
}

#reset-btn {
  padding: 4px;
  cursor: pointer;
  box-sizing: content-box;
  border: 1px solid transparent;
  border-radius: 50%;
}

#reset-btn:hover {
  border-color: lightgray;
  background-color: #f5f5f5;
}

.filter {
  /* position: relative; */
  border: 2px solid lightgray;
  border-radius: 20px;
  padding: 2px 5px;
  cursor: pointer;
  user-select: none !important;
}

.filter:last-child {
  border-color: transparent;
}

.active-filter {
  background-color: #f5f5f5;
}

.filter-title {
  min-width: max-content;
  font-size: 12px !important;
  color: gray;
  cursor: pointer;
  font-family: "regular_semibold";
  width: fit-content;
  user-select: none;
  padding: 5px;
  line-height: normal;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.filter-title > img {
  rotate: 90deg;
}

.filter-options-container {
  position: absolute;
  top: 68px;
  left: 0;
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  width: max-content;
  max-width: 300px;
  max-height: 305px;
  box-shadow: 0 0 5px 0 rgb(150, 149, 149);
  cursor: auto;
  z-index: 1;
}

.filter:nth-child(2) > .filter-options-container {
  left: 32px;
}

.filter:nth-child(3) > .filter-options-container {
  left: 92px;
}

.filter-options-container:first-of-type > div:first-child {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.05);
  overflow-y: auto;
  height: 100%;
  max-height: 242px;
  max-width: 280px;
  min-width: max-content;
}

.filter-options-container > div::-webkit-scrollbar,
.filter-container::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.filter-options-container > div::-webkit-scrollbar-track,
.filter-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.filter-options-container > div::-webkit-scrollbar-thumb,
.filter-container::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.filter-options-container > div::-webkit-scrollbar-thumb:hover,
.filter-container::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

.filter-options-container > div::-webkit-scrollbar-button,
.filter-container::-webkit-scrollbar-button {
  display: none;
}

.filter-options-container > hr {
  margin: 0 !important;
}

#more-filters-options {
  left: auto;
  right: 0;
}

#more-filters-options > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding-bottom: 10px;
}

#more-filters-options > div:first-child > div {
  padding: 10px;
}

#more-filters-options > div:first-child > div:first-child {
  border-right: 1px solid lightgray;
  padding-right: 30px;
}

.hidden {
  display: none !important;
}

.filter-checkbox-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  margin: 8px 0;
}

.filter-checkbox-container > input {
  cursor: pointer;
  border: 2px solid gray;
  accent-color: #0075ff !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
  height: initial !important;
  width: initial !important;
}

.filter-checkbox-container > label {
  cursor: pointer;
  font-size: 14px;
  color: gray;
  margin-bottom: 0 !important;
  font-family: "regular_semibold";
  line-height: normal;
}

.submit-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  padding: 10px 0 0;
}

.submit-container > button {
  font-size: 14px;
  font-family: "regular_bold";
  padding: 5px 20px;
  border: 1px solid transparent;
  outline: none;
  border-radius: 4px;
  background-color: #0075ff;
  color: white;
  line-height: normal;
}

.submit-container > button:hover {
  border-color: #0075ff;
  background-color: white;
  color: #0075ff;
}

.submit-container > button:nth-child(2) {
  background-color: white;
  color: gray;
}

.submit-container > button:nth-child(2):hover {
  border-color: gray;
}

.cta-container {
  background-color: rgb(214 232 251);
  border-radius: 5px;
  padding: 10px;
  box-shadow: 1px 2px 3px 3px lightgray;
}

.cta-container > a {
  width: 100%;
  display: block;
  margin-bottom: 8px;
}

.cta-container > a > h3 {
  display: inline;
  font-family: "regular_bold" !important;
  font-size: 15px;
  color: black;
}

.redirect-icon {
  height: 16px;
  width: 16px;
  margin-left: 4px;
  margin-bottom: 3px;
  background-color: white;
  cursor: pointer;
}

.cta-container > table {
  background-color: white;
}

.cta-container > table td {
  border: 1px solid rgb(205, 205, 205);
  padding: 5px;
  font-size: 14px;
  line-height: normal;
  font-family: "regular_semibold";
  min-width: 120px;
  text-align: start;
}

.cta {
  padding: 10px 0;
}

.cta > h3 {
  text-align: center;
  font-family: "regular_bold" !important;
  font-size: 15px;
  color: black;
  margin-bottom: 8px;
}

.cta > form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 12px;
}

.cta > form > button {
  border: none;
  padding: 6px 10px;
  font-family: "regular_bold";
  border-radius: 8px;
  background-color: #9f0606;
  color: white;
  text-transform: uppercase;
  margin-top: 5px;
}

.cta > form > .phone_container > div,
.cta > form input {
  border: none;
  box-shadow: 1px 1px 4px 1px #ccc !important;
}

.cta .interactive_chart_country_code,
.cta .phneNum-input {
  box-shadow: none !important;
}

.cta > form input:focus,
.cta > form > .phone_container > div:has(input:focus) {
  box-shadow: none !important;
  outline: none;
  border: 1px solid #0075ff;
  border-radius: 4px;
}

.interactive_chart_email {
  width: 100%;
}

.cta .phneNum-input:focus {
  border: none;
}

.cta > form input {
  padding: 5px 10px;
  border-radius: 5px;
  font-family: "regular_regular";
  font-size: 14px !important;
}

#loading-modal {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 99;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading-modal > .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.invalid-click-wrapper,
.successfull-lead-submission-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  text-align: center;
  min-height: 530px;
  width: 100%;
  font-family: "regular_semibold";
  font-size: 20px;
  padding: 20px;
}

.invalid-click-wrapper > img {
  height: 120px;
}

.successfull-lead-submission-wrapper > img {
  height: 120px;
  width: max-content;
  margin: 0 auto;
}

.successfull-lead-submission-wrapper > h2 {
  font-size: 32px;
  font-family: "regular_semibold" !important;
}

.successfull-lead-submission-wrapper > p {
  color: gray;
}

#interactive-chart-download-sample:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.cta .phone,
.cta .phone > input,
.cta .phone > div > div.input-group-text,
.cta .phone > div > div.input-group-text > input {
  border: none;
  background-color: white !important;
}

.phone > div > div.input-group-text {
  padding: 0 10px;
}

.phone {
  border-radius: 5px;
}

.phone > hr {
  height: 30px;
  margin: auto;
  border-right: 1px solid lightgray;
}

div.graph-options {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
  gap: 15px;
}

div.graph-options > div > label {
  padding-left: 5px;
  color: gray;
  font-size: 14px;
  font-family: "regular_semibold";
  margin-bottom: 0px !important;
}

div.graph-options > div > label,
.graph-options > div > input {
  cursor: pointer;
}

.graph-options > div > input {
  accent-color: #0075ff !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
  height: initial !important;
  width: initial !important;
}

.lead-error-msg,
.interactive-chart-download-email-err,
.interactive-chart-download-phone-err {
  color: #f44336;
  font-family: "regular_medium";
  margin: 5px 0;
  font-size: 14px !important;
  line-height: normal;
}
.interactive-chart-clickcountryImg {
  width: 20px;
  height: 10px;
}

@media (max-width: 1800px) {
  #market-analysis-banner {
    display: none !important;
  }
}

@media (max-width: 1049px), (max-height: 680px) {
  #rd-page-banner,
  #market-analysis-top-banner,
  #market-analysis-banner {
    display: none !important;
  }

  .interactive-market-chart-wrapper {
    display: none !important;
  }

  .interactive-market-chart-container {
    display: none !important;
  }
}
