.two-charts {
}

.two-charts .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: fit-content !important;
  position: relative;
  width: 100%;
  height: fit-content;
  /* background-color: blue; */
}

.outer-title-chart {
  /* background-color: green; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  margin-bottom: 10px;
}
.outer-title-chart h1 {
  padding: 0px;
  color: #31544b;
  font-size: 25px;
  font-weight: 700;
}
.outer-title-chart p {
  padding: 0px;
  color: #5e6863;
  font-weight: 200;
  font-size: 15px;
}
.outer-title-chart-p-center {
  padding: 0px;
  color: #5e6863;
  text-align: center;
  font-weight: 200;
  font-size: 15px;
  margin-top: -8px;
}

body[lang="en"] {
  .title-bar-chart {
    text-align: left !important;
    left: 25px;
  }
  @media (max-width: 568px) {
    .titles-for-chart {
      display: flex;
      align-items: flex-start;
      justify-content: flex-end !important;
      flex-direction: column;
      width: 15%;
      height: 100%;
      margin-top: -600px;
      margin-left: -100px;
    }
    .special-padding-j {
      padding-top: 600px;
    }
  }
}

.All-chart {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 49%;
  padding: 10px 35px 50px 35px !important;
}

#All-chart-one-all-width {
  width: 100%;
}

.contain-numbers-and-chart {
  display: flex;
  justify-content: center;
  align-items: center !important;
  flex-direction: row-reverse;
}

.line-and-numbers {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: column;
  gap: 1px;
  min-height: 300px;
  /* background-color: red; */
}

.line-and-numbers .number {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
  height: 100% !important;
  min-height: 100% !important;
  /* background-color: darkblue; */
  /* background-color: red; */
}

#line-and-numbers-first {
  margin-top: -2px;
  /* align-items: flex-start; */
  /* background-color: forestgreen !important; */
}
#line-and-numbers-last {
  margin-bottom: -1.5px;
  /* align-items: flex-end; */
  /* background-color: forestgreen !important; */
}

.line-and-numbers .number p {
  line-height: 1px !important;
  margin-right: 2px;
  color: #5a574f;
  font-weight: 200 !important;
}

.border-number {
  width: 10px;
  min-width: 10px;
  max-width: 10px;
  border: 1px solid #5a574f;
}

.right-chart-container {
  width: 100%;
}

.chart {
  width: 80%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  border-bottom: 2px solid #5a574f;
  border-right: 2px solid #5a574f;
  /* background-color: green; */
}

.progress-bar {
  /* background-color: chocolate; */
  width: 120px;
  height: 270px;
  position: relative;
  margin: 0px 27px 0px 27px;
}

.progress {
  /* overflow: hidden; */
  z-index: 11111 !important;
  width: 100%;
  height: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: height 1.5s ease-in-out;
}
.progress-value {
  position: absolute;
  top: -15px;
  font-weight: 600;
  left: 50%;
  transform: translateX(-50%);
  color: #31544b;
  font-size: 22px;
}
.progress-value-ouside {
  position: absolute;
  top: -40px;
  font-weight: 200;
  color: #808080;
  font-size: 15px;
}

.progress-date {
  justify-content: center;
  display: flex;
  align-items: flex-start;
  text-align: center;
  /* background: red; */
  min-width: 200px !important;
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  min-height: 50px;
  font-size: 16px;
  line-height: 20px;
  color: #5a574f;
}
.progress-date::before {
  content: "";
  position: absolute;
  top: -15px;
  border: 1px solid #5a574f;
  min-height: 10px;
  max-height: 10px;
  height: 10px;
  background-color: #5a574f;
}

/* One chart */

.one-chart {
  padding-top: 50px;
}

.one-chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #f2f2f2;
  width: 100%;
  padding: 65px 0px 0px 0px;
}

.full-width-one-chart {
  position: relative;
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.full-width-one-chart .chart {
  margin: 70px 0px 0px 0px;
}
.full-width-one-chart .progress-bar {
  width: 45px;
  height: 350px;
  /* border: 1px solid #ccc; */
  position: relative;
  margin: 4px 4px 0px 4px;
}
.min-bar {
  position: absolute;
  top: -15px;
  left: -3px;
  width: 5px;
  height: 2px !important;
  min-height: 2px !important;
  max-height: 2px !important;
  background-color: black;
}

.one-chart-container-data {
  height: fit-content;
  width: 100%;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.box-one-chart-container-data {
  width: fit-content;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 27px;
}
.box-one-chart-container-data p {
  font-weight: bold;
}
.color-box {
  width: 20px;
  height: 20px;
  margin-left: 10px;
}

body[lang="en"] {
  .box-one-chart-container-data {
    justify-content: center;
    margin-left: 0px;
    margin-right: 27px;
  }
  .color-box {
    margin-left: 0px;
    margin-right: 10px;
  }
  .chart {
    border-left: 2px solid #5a574f;
    border-right: none;
    /* background-color: green; */
  }
}

/* ALL charts beside each other */

/* @media screen and (max-width: 768px) {
  .container{
    overflow: hidden !important;
  }
  .one-chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #f2f2f2;
    width: 100%;
    padding: 20px 0px 0px 0px;
  }
  .one-chart-container .title-bar-chart {
    color: #5e6863;
    text-align: right !important;
    width: 100%;
    position: absolute;
    top: 40px;
    left: -20px;
    font-size: 13px;
  }

  .full-width-one-chart {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .full-width-one-chart .chart {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 50px 30px 0px 30px;
  }
  .full-width-one-chart .progress-bar {
    width: 40px;
    height: 350px;
    margin: 15px 15px 0px 15px;
  }
  .tow-charts-two-col {
    flex-direction: column;
  }
  .one-chart {
    width: 100%;
  }
  .one-chart-two-col {
    width: 100%;
  }
  .two-charts .container {
    flex-direction: column;
  }
  .outer-title-chart {
    margin-right: 0px;
  }
  .right-chart-container {
    width: 100%;
  }
  .second-chart-for-mobile {
    margin-top: 100px;
  }
  .left-chart-container {
    width: 100%;
  }
  .progress-bar {
    width: 40px;
    height: 350px;
    margin: 15px 15px 0px 15px;
  }
} */

/*  right bar  */

.chart-container {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 10px 35px 50px 35px !important;
  margin-top: 22px;
}
.chart-title {
  text-align: right;
  font-size: 20px;
  font-weight: bold;
  color: #1f3d3a;
  margin-bottom: 10px;
}
.chart-subtitle {
  text-align: right;
  font-size: 12px;
  color: #888;
  margin-bottom: 20px;
}
canvas {
  max-height: 400px;
}

.one-charts .container {
  width: 100%;
  /* background-color: blue; */
}
.one-charts .container .All-chart {
  width: 100%;
  /* background-color: red; */
}
.one-charts .container .chart {
  width: 100%;
}

.one-charts .container .contain-numbers-and-chart {
  display: flex;
  justify-content: center;
  /* background-color: blue; */
  align-items: center !important;
}

.chart .group {
  margin: 0px 25px;
  display: flex;
  /* background-color: violet; */
  position: relative;
}
.chart .group .progress-bar {
  width: 80px;
  height: 270px;
  position: relative;
  margin: 0px 3px 0px 3px;
  /* background-color: chocolate !important; */
}
.chart .group .progress {
  overflow: visible;
}

.chart .group .progress-date {
  bottom: -30%;
}
.chart .group .progress-value {
  position: absolute;
  top: -50px;
  font-weight: 600;
  left: 50%;
  transform: translateX(-50%);
  color: #31544b;
  font-size: 20px;
}

.contain-numbers-and-chart .fix-chart {
  width: 85%;
  /* background-color: sandybrown; */
  display: flex;
  justify-content: center;
  align-items: center !important;
}

.titles-for-chart {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  width: 15%;
  height: 100%;
  margin-top: -100px;
}
.titles-for-chart .title-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 30px;
}
.titles-for-chart .title-color {
  width: 18px;
  height: 18px;
  margin-left: 10px;
}
.titles-for-chart p {
  color: #4e6a63;
  font-weight: 200;
  font-size: 14px;
}

.two-charts-next-to-each-other {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 40px 10px 40px;
}

.one-chart-from-two {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  width: 48%;
}

.one-chart-from-two > .contain-numbers-and-chart > .chart {
  width: 96%;
}

.title-for-chart-for-one-two-beside-with-value-outside {
  color: #4e6a63;
  font-size: 14px;
  text-align: right;
  display: flex;
  justify-content: flex-start;
}

body[lang="en"] {
  .title-for-chart-for-one-two-beside-with-value-outside {
    text-align: left !important;
    font-size: 14px;
  }
  /* .contain-numbers-and-chart {
    flex-direction: row-reverse;
  } */
  .number {
    flex-direction: row-reverse;
  }

  .line-and-numbers {
    align-items: flex-end;
  }
}

@media screen and (max-width: 768px) {
  .All-chart {
    width: 100%; /* changedK */
  }
  .line-and-numbers {
    min-height: 456px; /* changedK */
  }

  .container {
    overflow: hidden !important;
  }
  .left-chart-container {
    width: 100%;
  }
  .right-chart-container {
    width: 100%;
    margin-top: 50px;
  }
  .right-chart .chart .progress-bar {
    margin: 27px 10px 0px 10px !important;
  }
  .left-chart .chart .progress-bar {
    margin: 27px 10px 0px 10px !important;
  }
  .two-charts .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: fit-content !important;
    padding-bottom: 50px;
    position: relative;
    flex-direction: column;
  }

  .chart {
    position: relative;
    display: flex;
    justify-content: space-evenly; /* changedK */
    align-items: center;
    width: 100%;
    padding: 0px 0px 0px 0px !important;
  }

  /* added */

  .long-chart .chart .progress-bar {
    width: 20px !important; /* changedK */
    height: 480px;
  }
  .long-chart .chart {
    justify-content: center; /* changedK */
  }
  .long-chart .chart .progress-date {
    font-size: 16px;
    bottom: -18%;
  }
  /* .long-chart .chart .group{
    margin: 0px 40px;
  } */
  .long-chart .progress {
    width: 12px !important; /* changedK */
  }
  .long-chart .line-and-numbers {
    min-height: 537px;
  }
  .long-chart .chart .group .progress-value {
    font-size: 13px;
    left: 60% !important;
    transform: translateX(-55%) rotate(-90deg);
  }

  .long-chart .chart .group .progress .progress-value {
    font-size: 12px;

    left: 60% !important;
    top: -40px;
  }

  .long-chart .contain-numbers-and-chart {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding-top: 100px;
    justify-content: space-between;
    align-items: center;
    line-height: 15px;
  }
  .long-chart .titles-for-chart .title-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 300px;
    height: 40px;
  }
  .two-charts-next-to-each-other {
    flex-direction: column;
    gap: 40px;
  }
  .one-chart-from-two {
    width: 100%;
  }
  .two-charts-next-to-each-other .one-chart-from-two .progress-date {
    /* color: red !important; */
    line-height: 17px;
  }
  .outer-title-chart {
    /* background-color: green; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin-bottom: 10px;
    text-align: center;
  }

  /* added */

  .progress-bar {
    width: 50px !important; /* changedK */

    height: 400px;
    position: relative;
    margin: 27px 1px 0px 1px !important;
  }

  .progress {
    width: 100%;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: height 1.5s ease-in-out;
  }
  .progress-value {
    position: absolute;
    top: -10px;
    font-weight: 600;
    left: 50%;
    transform: translateX(-50%);
    color: #163029;
    font-size: 12px;
  }

  .progress-date {
    min-width: 100% !important;
    justify-content: center;
    display: flex;
    align-items: flex-start;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px; /* changedK */
    min-height: 50px;
    line-height: 12px;
    bottom: -22%; /* changedK */
  }
  .one-chart-container-data {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 100% !important;
    margin-top: 40px;
  }
  .box-one-chart-container-data {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content !important ;
  }
  .box-one-chart-container-data p {
    font-weight: bold;
    font-size: 13px;
  }
  .color-box {
    width: 15px;
    height: 15px;
    margin-left: 5px;
  }
}
