.chart-container {
  color: #000000;
  max-width: 100% !important;
  margin: 0 auto;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  height: 95%;
}

#chartBodyGsec chart-container:hover {
  box-shadow: 0 3px 14px #c2eeff;
}

#chartBodyGsec .title-dropdown-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0px;
  padding-top: 10px;
}

#chartBodyGsec .chart-title {
  position: absolute;
  border-left: 0px;
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0px;
}

#chartBodyGsec .interval-container {
  position: absolute;
  top: 16px !important;
  right: 10px;
  display: flex;
  align-items: center;
}

.interval-label {
  font-weight: bold;
  margin: 0px;
  font-size: 0.87rem;
}

#chartBodyGsec .interval-select, #myModalGsec .interval-select {
  font-size: 0.87rem;
  margin-left: 5px;
  border: 1px solid #eee;
  border-radius: 30px;
  box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  padding: 2px 10px;
}

#chartBodyGsec .expand i {
  cursor: pointer;
}

#chartBodyGsec.chart-decor h5 {
  font-weight: 600;
  color: #003267;
  font-family: "Poppins-SemiBold";
  font-size: 0.85rem;
}

/* Modal styles */
#myModalGsec.modal {
  display: none;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

#myModalGsec.popup .modal-content {
  background-color: white;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 75%;
  height: auto;
  text-align: center;
  border-radius: 8px;
  position: relative;
  top: 0;
}

/*  .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
  }

  .close:hover,
  .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
  }*/
#myModalGsec.popup .close {
  font-size: 2rem;
  opacity: 1;
  position: relative;
  top: -10px;
}

.chart-ratio {
  width: 100vw;
  height: 40vh;
}

/** #chartBodyGsec .btn {
     padding: 10px 20px;
     background-color: #007bff;
     color: white;
     border: none;
     cursor: pointer;
     border-radius: 5px;
 }

 #chartBodyGsec .btn:hover {
     background-color: #0056b3;
 } **/
#myModalGsec .canvas-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/** #myModalGsec canvas {
     width: 100% !important;
     height: 100% !important;
 } **/
#myModalGsec.modal h4::after {
  display: none;
}

.modal-chartratio {
  width: 100vw;
  height: auto;
}

.overflow-hidden-fixed {
  position: fixed;
  height: 100%;
  width: 100%;
}

@media (max-width: 767px) {
  #chartBodyGsec.chart-decor h5 {
    font-size: 0.78rem;
  }

  #myModalGsec.popup .modal-content {
    padding: 5px;
    width: 98%;
    height: auto;
    margin: 0px auto;
    top: 10%;
  }

  .gsec h4 {
    text-align: center !important;
    font-size: 1rem;
  }

  .chart-ratio {
    width: 100vw;
    height: 90vh;
  }

  .modal-chartratio {
    width: 100vw;
    height: 90vh;
  }
}