.bk-graphic__head {
  padding: 11px 30px 32px;
  border-bottom: 1px solid #d9eafa;
}

.bk-graphic__tab-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.bk-graphic__overlay-active {
  content: "";
  display: block;
  width: calc(100% / 3);
  height: 4px;
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;

  background: #00c659;
  border-radius: 3px 3px 0 0;

  transition: all 0.25s ease-in;
}

.bk-graphic__tab-row button {
  position: relative;
  z-index: 1;
  flex: 0 0 calc(100% / 3);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  height: 44px;

  font-family: "Rubik";
  font-weight: 300;
  font-size: 14px;
  line-height: 1.2;

  color: #919296;

  background-color: rgba(256, 256, 256, 0);
  border: none;
}

.bk-graphic__tab-row button:focus,
.bk-graphic__tab-row button:hover {
  cursor: pointer;
}

.bk-graphic__tab-row button.active {
  color: #262f56;
  font-weight: 500;
}

.bk-graphic__form {
  padding: 51px 17px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

  border-bottom: 1px solid #d9eafa;
}

.bk-graphic__form-bottom {
  margin-top: 40px;
  flex: 1 0 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bk-graphic__form-bottom .bk-graphic__form-item {
  margin-bottom: 0;
}

.bk-graphic__form-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 11px 0px;

  flex: 0 0 125px;

  font-family: "Rubik";
  font-weight: 500;
  font-size: 13px;
  line-height: 1;

  color: #2e384d;

  background: #ffffff;
  border: 1px solid #d9eafa;
  border-radius: 4px;

  border-right-width: 7px;
}

.bk-graphic__checkbox {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 21px;
  height: 21px;
  margin-right: 3px;

  font-family: "Betru";
  content: "\e909";

  background: #ffffff;
  border: 1px solid #d9eafa;
  box-sizing: border-box;
  border-radius: 3px;
}

.bk-graphic__form
  input[type="checkbox"]:checked
  ~ label
  .bk-graphic__checkbox::after {
  opacity: 1;
}

.bk-graphic__form input[type="checkbox"] ~ label .bk-graphic__checkbox::after {
  content: "";
  background-color: #00c659;
  border-radius: 2px;
  box-sizing: border-box;
  width: 15px;
  height: 15px;
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  opacity: 0;
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  transition: all 0.25s linear;
}

.bk-graphic__text-tab {
  display: flex;
  flex-wrap: wrap;

  padding: 0 29px;
  margin-bottom: 37px;
  border-bottom: 1px solid #d9eafa;
}

.bk-graphic__text-tab button {
  padding: 0;
  background-color: transparent;
  border: none;

  margin-right: 60px;

  position: relative;

  font-family: "Rubik";
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  color: #2e384d;

  display: none;
}

.bk-graphic__text-tab button.show {
  display: flex;
}

.bk-graphic__text-tab button:last-child {
  margin-right: 0;
}

.bk-graphic__text-tab button.active::after {
  content: "";
  left: 0;
  bottom: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 4px;

  background: #00c659;
  border-radius: 4px 4px 0 0;
}

.bk-graphic__text-tab button:focus,
.bk-graphic__text-tab button:hover {
  cursor: pointer;
  opacity: 0.6;
}

.bk-graphic__text-container {
  position: relative;
  overflow: hidden;
}

.bk-graphic__text-tab-block {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  -webkit-transition: all 0.25s ease-in;
  -moz-transition: all 0.25s ease-in;
  transition: all 0.25s ease-in;

  display: none;
}

.bk-graphic__text-tab-block.show {
  display: block;
}

.bk-graphic__text-tab-block p {
  margin: 0 31px 20px 31px;

  font-family: "Rubik";
  font-size: 14px;
  line-height: 1.7;

  color: #2e384d;
}

.bk-graphic__text-tab-block p strong {
  font-weight: 700;
}

.bk-graphic__text-tab-block.active {
  position: relative;
  opacity: 1;
  -webkit-transition: all 0.25s ease-in;
  -moz-transition: all 0.25s ease-in;
  transition: all 0.25s ease-in;
}

.bk-graphic .highcharts-series,
.bk-graphic .highcharts-legend-item,
.bk-graphic .highcharts-markers {
  display: none;
}

.bk-graphic .highcharts-series.show,
.bk-graphic .highcharts-legend-item.show,
.bk-graphic .highcharts-markers.show {
  display: block;
}

#bk-graphic__container {
  margin-top: 25px;
}

/* .bk-graphic__head-value {
    display: none;
} */

.bk-graphic__bottom-caption {
  font-family: "Rubik";
  font-weight: 500;
  font-size: 18px;
  line-height: 1.1;
  padding: 0 31px;

  color: #262f56;

  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d9eafa;
}

.bk-graphic__bottom-caption::after {
  font-size: 18px;
  font-family: "Betru";
  font-weight: bold;
  color: #262f56;
  content: "\e934";
  transform: rotate(-90deg);
  margin-left: 9px;
  transition: all 0.2s ease-in;
}

.bk-graphic__bottom-caption:hover {
  cursor: pointer;
  opacity: 0.6;
}

.bk-graphic__bottom-caption.active::after {
  transform: rotate(90deg);
  transition: all 0.2s ease-in;
}

@media screen and (max-width: 576px) {
  .bk-graphic__overlay-active {
    display: none;
  }

  .bk-graphic__bottom-caption {
    padding: 0 16px;
  }

  /* .bk-graphic__head-value {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 19px;
        width: 100%;
        position: relative;

        font-family: "Rubik";
        font-weight: 500;
        font-size: 14px;
        line-height: 1.2;

        color: #737987;

        background-color: #FFFFFF;
        border: 1px solid #D9EAFA;
        border-radius: 8px;
        outline: none;
    } */

  /* .bk-graphic__head-value::before {
        font-family: 'Betru';
        content: '\e934';
        transform: rotate(90deg) translateY(-50%);
        position: absolute;
        font-size: 10px;
        font-weight: normal;
        right: 25px;
        top: 40%;
        color: #69707F;
    } */

  /* .bk-graphic__head-value.active {
        border-radius: 8px 8px 0 0;
    } */

  .bk-graphic__head {
    position: relative;
    padding: 11px 8px 0;
    border: none;
  }

  .bk-graphic__tab-row {
    overflow-x: auto;
    padding-bottom: 15px;
    /* display: none; */

    /* position: absolute; */
    /* z-index: 2;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 18px); */
    /* background: #FBFBFB;
        border: 1px solid #ECECEC;
        box-shadow: inset 0px 3px 10px rgb(0 0 0 / 5%);
        border-radius: 0 0 8px 8px;
        overflow: hidden; */
  }

  /* .bk-graphic__tab-row.active {
        display: block;
    } */

  .bk-graphic__tab-row button {
    /* width: 100%; */
    white-space: nowrap;
    position: relative;
  }

  /* .bk-graphic__tab-row button.active {
        background: linear-gradient(180deg, #00C659 0%, #00A94C 100%);
    } */

  .bk-graphic__tab-row button.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: 0;

    background: #00c659;
    border-radius: 3px 3px 0 0;
  }

  .bk-graphic__form {
    margin-top: 15px;
    padding: 33px 7px;
    border-top: 1px solid #d9eafa;
  }

  .bk-graphic__checkbox {
    width: 15px;
    height: 15px;
  }

  .bk-graphic__form
    input[type="checkbox"]
    ~ label
    .bk-graphic__checkbox::after {
    width: 9px;
    height: 9px;
  }

  .bk-graphic__form-item img {
    width: 65px;
    height: auto;
  }

  .bk-graphic__form-item {
    flex-basis: 95px;
    padding: 4px 0px;
    font-size: 10px;
    min-height: 32px;
    margin: 0 3px 10px;
  }

  .bk-graphic__form-bottom {
    margin-top: 23px;
  }

  .bk-graphic__form-bottom input[type="submit"] {
    width: 103px;
    height: 32px;
    padding: 0;
  }

  .bk-graphic__text-tab button {
    margin-right: 20px;
  }

  .bk-graphic__text-tab-block p {
    margin-left: 16px;
    margin-right: 16px;
  }

  .bk-graphic__text-tab {
    padding: 0 15px;
  }
}
