/* ind-text-visulisation */

:root {
  --section-border-color: #eaeaea;
  --opt-disable-bgcolor: #cccccc;
  --opt-disable-color: #ffffff;
  --opt-yes-enable-bg: #4cb050;
  --opt-no-enable-bg: #f75757;
}

.text-ind-section-block {
  width: 100%;
}

.ind-text-visualisation {
  padding: 40px;
  width: 100%;
  border: 1px solid var(--section-border-color);
  border-radius: 10px;
}

.ind-text-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.ind-text-options .ind-text-opt {
  margin-right: 20px;
  height: 34px;
  width: 85px;
  padding: 5px;
  background: var(--opt-disable-bgcolor);
  color: var(--opt-disable-color);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  border-radius: 50px;
  justify-content: space-between;
  position: relative;
  padding: 0 5px 0 20px;
  text-transform: uppercase;
}

.ind-text-options .ind-text-opt:last-child {
  margin-right: 0px;
}

.ind-text-options .ind-text-opt:after {
  content: "";
  width: 1px;
  height: 100%;
  background: var(--section-border-color);
  position: absolute;
  right: -10px;
  top: 0;
}

.ind-text-options .ind-text-opt:last-child:after {
  display: none;
}

.ind-text-opt .ind-opt-icon {
  width: 23px;
  height: 23px;
  background: none no-repeat center center transparent;
}

.ind-text-opt.opt-yes.opt-selected {
  background: var(--opt-yes-enable-bg);
}

.ind-text-opt.opt-yes .ind-opt-icon {
  background-image: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/ind-text-visulisation/green-disable.png);
}

.opt-yes.opt-selected .ind-opt-icon {
  background-image: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/ind-text-visulisation/green-tick.png);
}

.ind-text-opt.opt-no.opt-selected {
  background: var(--opt-no-enable-bg);
}

.ind-text-opt.opt-no .ind-opt-icon {
  background-image: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/ind-text-visulisation/close-disable.png);
}

.opt-no.opt-selected .ind-opt-icon {
  background-image: url(/themes/custom/gff/components/inner-pages/visualization/css/../img/ind-text-visulisation/close-icon.png);
}

.ind-text-visualisation .ind-value-from {
  position: absolute;
  top: 100%;
  color: #4d4d4d;
  font-size: 12px;
  font-weight: 400;
  left: 0;
  margin: 5px 0 0 0;
  width: 100%;
  text-align: center;
  display: none;
  text-transform: capitalize;
}

.ind-text-visualisation .opt-selected .ind-value-from {
  display: block;
}

/* description */
.with-text-description-option {
  border: none;
  padding: 20px 40px;
  background: rgba(31, 162, 156, 0.12);
}

.ind-text-visualisation-description {
  width: 100%;
  font-size: 13px;
  line-height: 19px;
  color: #1fa29c;
  text-align: center;
  font-weight: 600;
}

/* text-ind-section-mobile */

.text-ind-section-mobile {
  width: 100%;
  display: none;
}

.text-ind-section-mobile .map-chart-title {
  text-align: left;
  padding-bottom: 10px;
}

/* responsive */

@media only screen and (max-width: 1200px) {
  .ind-text-visualisation {
    padding: 40px 20px;
  }
}

@media only screen and (max-width: 991px) {

  .text-ind-section-mobile {
    display: block;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
    padding-bottom: 20px;
  }

  .text-ind-section-desktop {
    display: none;
  }

}

@media only screen and (max-width: 767px) {
  .ind-text-visualisation {
    padding: 30px 15px;
  }
}
