/*@import url('https://fonts.googleapis.com/css?family=Lato:300,400,600,700');*/

* {
  font-family: 'Mulish', sans-serif;
}

body {
    height: 100vh;
    background: #f9f9f9;
}

#chart, .chart-box {
    padding-top: 20px;
    padding-left: 10px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 22px 35px -16px rgba(0,0,0, 0.1);
}

select.flat-select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: #008FFB url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'60px\' height=\'60px\'><polyline fill=\'white\' points=\'46.139,15.518 25.166,36.49 4.193,15.519\'/></svg>") no-repeat scroll right 2px top 9px / 16px 16px;
    border: 0 none;
    border-radius: 3px;
    color: #fff;
    font-family: arial,tahoma;
    font-size: 16px;
    font-weight: bold;
    outline: 0 none;
    height: 33px;
    padding: 5px 20px 5px 10px;
    text-align: center;
    text-indent: 0.01px;
    text-overflow: "";
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease 0s;
    width: auto;
    -webkit-transition: 0.3s ease all;
    -moz-transition: 0.3s ease all;
    -ms-transition: 0.3s ease all;
    -o-transition: 0.3s ease all;
    transition: 0.3s ease all;
  }
  select.flat-select:focus, select.flat-select:hover {
    border: 0;
    outline: 0;
  }
  

.apexcharts-canvas {
    margin: 0 auto;
}

#html {
    display: none;


}
/* Container
/* =============================================== */
#demobox {
  margin: auto; 
  min-height: 310px; 
  min-width: 800px; 
  max-width: 800px; 
  padding-left: 30px; 
  color: #333; }

#tooltip h3 {
      margin:2px;
      font-size:14px;
}
#tooltip {
      position: absolute;           
      background:rgba(255,255,255,1);
      text-align: left;
      border:1px;
      border-radius:5px;
      font: 12px sans-serif;        
      width:auto;
      padding:4px;
      color:black;
      opacity:0;
      pointer-events: none;         
}
#tooltip table{
      table-layout:fixed;
}
#tooltip tr td{
      padding:0;
      margin:0;
}
/* Register */
#registerBtn .fa-user {
  display: inline; /* Show the icon by default */
}

#registerBtn .icon-text {
  display: none; /* Hide the text by default */
}

#registerBtn:hover .fa-user {
  display: none; /* Hide the icon when hovered over */
}

#registerBtn:hover .icon-text {
  display: inline; /* Show the text when hovered over */
}

/* Login */
#loginBtn .fa-sign-in-alt {
  display: inline; /* Show the icon by default */
}

#loginBtn .icon-text {
  display: none; /* Hide the text by default */
}

#loginBtn:hover .fa-sign-in-alt {
  display: none; /* Hide the icon when hovered over */
}

#loginBtn:hover .icon-text {
  display: inline; /* Show the text when hovered over */
}

/* Help */
#helpBtn .fa-question {
  display: inline; /* Show the icon by default */
}

#helpBtn .icon-text {
  display: none; /* Hide the text by default */
}

#helpBtn:hover .fa-question {
  display: none; /* Hide the icon when hovered over */
}

#helpBtn:hover .icon-text {
  display: inline; /* Show the text when hovered over */
}
/* Define CSS styles for the heatmap */
.sector {
  fill: steelblue;
  color: white;
  font-size: 10px;
  font-weight: 12%;
  
}

.first {

border: 1px solid white; /* Add a solid black border */
padding: 0px; /* Add padding for spacing */
margin: 0px; /* Add margin for spacing */
}
/* Optional CSS styles for the heatmap grid */
#heatmapContainer {
  display: flex;
}

.heatmap-column {
  background-color: #ff5733;
  color: white;
  padding: 10px;
  border: 1px solid black;
  box-sizing: border-box;
}
.top-5{
  font-size: 10px;
}
/* Custom CSS to change the color of the dropdown caret to white */
.dropdown-toggle::after {
  border-top-color: white !important; /* Change border color to white */
}
/* Style for the unordered list */
.news {
  list-style-type:circle;
  padding: 0;
  margin: 0;
}

/* Style for list items */
.news li {

  padding: 10px; /* Padding around each list item */

}

/* Hover effect on list items */
.news li:hover {
  background-color: #e0e0e0; /* Darker background color on hover */
  cursor: pointer; /* Change cursor to pointer on hover */
} 

/* Style for the links */
.news  li a {

  font-family:Georgia, 'Times New Roman', Times, serif;
  font-weight: bold;
  text-decoration: none; /* Remove default underline */
  color: #333; /* Link color */
}

/* Styling for links on hover */
.news li a:hover {
  text-decoration: underline; /* Underline on hover */
  color: #0066cc; /* Change link color on hover */
}
/* Additional media queries for more control on different devices */
@media (max-width: 768px) {
  /* For tablets */
  img.tradeline {
      height: 60px;
      width: 300px;
  }
  
}

@media (max-width: 576px) {
  /* For mobile phones */
  img.tradeline {
      height: 40px;
      width:100%;
  }
  
}
.search-tradeline{
  padding-left: 20px;
}
.carousel {
  position: absolute; /* Position the carousel relative to the top bar */
  left: 55%; /* Move carousel to center horizontally */
  transform: translateX(-50%); /* Center the carousel */
  max-width: 95%; /* Ensure the carousel takes up the full width of the top bar */
}

.carousel-inner {
  width: 95%; /* Ensure the carousel inner also takes up the full width */
}

.carousel-item img {
  max-width: 95%; /* Make sure images inside carousel items are horizontally oriented */
  height: auto; /* Ensure aspect ratio is maintained */
  /* margin-top: 20px; /* Add top margin */
  /* margin-bottom: 20px; Add bottom margin  */
}

 /* CSS for ticker container */
.ticker {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ticker:hover {
  white-space: normal;
  overflow: visible;
  z-index: 9999;
  position: relative;
}
.select2-results__option {
  cursor: pointer;
  color: blue; /* Change the color to your preference */
  text-decoration: underline; /* Underline the text to indicate it's a link */
}

.switch {
  position: relative;
  display: inline-block;
  width: 63px;
  height: 20px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 4px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #28a745; /* Green background color for NSE */
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  top: 1px;
  height: 12px;
  width: 12px;
  left: 15px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #28a745; /* Green background color for BSE */
}

input:focus + .slider {
  background-color: #28a745; /* Green background color for BSE */
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
.toggle-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 12px;
  display: none;
}

.toggle-label.left {
  left: 10px; /* Adjust spacing as needed */
}

.toggle-label.right {
  right: 10px; /* Adjust spacing as needed */
}

.switch input:checked + .slider .toggle-label.left {
  display: inline-block;
}

.switch input:not(:checked) + .slider .toggle-label.right {
  display: inline-block;
}
/* chart analisis for perticular ticker */
.candlestick-chart-container {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 550px; /* Set a maximum height to prevent excessive stretching on large screens */
}

.buttons-container {
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
  padding: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  position: sticky;
  top: 0;
  z-index: 100;
}

.buttons-container button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}
#candleChartStock{

  width: auto; 
  height: 490px;
}  
.heatmap-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* 12 grid units */
  gap: 0px;  /* Adjust gap as necessary */
  padding: 10px;  /* Add padding if necessary */
  height: auto;
  width: auto;
}
.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 9999;
    white-space: nowrap;
}
.sector-container {
  position: relative;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  background-color: #fff;
  border: 1px solid #e9eff5; /* Add border to each sector container */
}
.sector-header {
  text-align: center;
  font-weight: bold;
  font-size:9px;
  padding: 8px;
  background: linear-gradient(135deg, #253342, #253342); /* Reverse gradient on hover */
  color: white;
  border-bottom: 1px solid #ddd;
  height: auto;
  width: auto;
 
}
.treemap {
  position: absolute;
  top: 30px;  /* Adjust based on header height */
  left: 0;
  right: 0;
  bottom: 0;
}
.stock {
  position: absolute;
  text-align: center;
  overflow: hidden;
  font-size: 0.5em;  /* Adjust font size as necessary */
  display: flex;
  align-items: center;
  justify-content: center;
  
}

#loading-spinner {
  animation: spin 0.6s linear infinite; /* Fast rotation */
}
.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 5px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

h2 {
  color: #404245;
  border-bottom: 3px solid #404245;
  padding-bottom: 5px;
  text-align: center;
}
h3 {
  color: #333;
}

.section {
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-left: 5px solid #343435;
  border-radius: 5px;
}
.highlight {
  font-weight: bold;
  color: #9b4fd9;
}

.positive {
  color: green;
  font-weight: bold;
}

.negative {
  color: red;
  font-weight: bold;
}

.link {
  display: inline-block;
  background: linear-gradient(135deg, #1C2833, #2C3E50); /* Reverse gradient on hover */
  color: white; /* White text */
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px; /* Rounded corners */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.link:hover {
  background: linear-gradient(135deg, #1C2833, #2C3E50); /* Reverse gradient on hover */
  transform: scale(1.05); /* Slight zoom effect */
  color: white; /* White text */
}

.link:active {
  background: linear-gradient(135deg, #1C2833, #2C3E50); /* Reverse gradient on hover */
  transform: scale(0.98); /* Slight shrink effect */
}
.card-bg{
  background: linear-gradient(135deg, #253342, #253342); /* Reverse gradient on hover */
}

.dashboard-img {
  width: 700px;  /* Default for large screens */
  height: 500px;
  max-width: 100%; /* Ensures it doesn't exceed the parent container */
  object-fit: cover; /* Ensures the image fills the space without stretching */
  margin: 0%;
}
.dashboard-img img{
  margin: 0;
  border-radius: 4% !important;
  border: 2px solid rgb(50, 48, 50) !important;
}


/* Medium Devices (Tablets, 992px and below) */
@media (max-width: 992px) {
  .dashboard-img {
      width: 600px;
      height: 450px;
  }
}

/* Small Devices (Mobile, 768px and below) */
@media (max-width: 768px) {
  .dashboard-img {
      width: 500px;
      height: 400px;
  }
}

/* Extra Small Devices (Phones, below 576px) */
@media (max-width: 576px) {
  .dashboard-img {
      width: 100%; /* Full width on small screens */
      height: auto; /* Auto height to maintain aspect ratio */
  }
}
.card .adsbygoogle {
  display: none !important;
}
