
/*-------------------------
    INDICATORS
--------------------------*/

.chart-wrapper {
  background: white;
  border: 1px solid #d9d9d9;
  padding: 60px 30px 140px 30px;
  max-width: calc(1100px - 60px);
  width: calc(100% - 60px);
  margin: 0 auto  10px;
  position: relative;
  font-family: "Conv_VAGRoundedStd-Thin";
}

.fuente {
  padding: 0 30px 40px;
  font-size: 13px;
  color: #bbb;
}

.indicators-table {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  color: #333333;
  padding-left: 45px;
  height: 305px;
  margin-left: 0;
}

.indicators-table .categories1,
.indicators-table .lines {
  position: absolute;
  top: 0;
  left: 0;
}

.indicators-table .wrap-indicators {
  position: absolute;
  top: 0;
  height: 100%;
  width: calc(100% - 408px);
  padding-right: 0px;
  overflow: hidden;
  padding-bottom: 90px;
  margin-left: 0;
  padding-left: 37px;
  padding-right: 37px;
  left: calc(50% - 55px);
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  box-sizing: content-box;
}


.indicators-table .columns-chart-wrapper {
  width: auto;
  height: 100%;
}
.indicators-table .categories1{
  width: 45px;
}
.indicators-table .category1 {
  width: 100%;

  font-family: "Conv_VAGRoundedStd-Bold";
  box-sizing: border-box; 
  position: relative;
}
.indicators-table .category1 > div{
  font-size: 25px;
  position: absolute;
  top: 50%;
  right: 10px;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  
}

.indicators-table .category1 span {
  width: 40px;
  text-align: right;
  display: block;
  position: absolute;
  bottom: 0;
  line-height: 1;
  -webkit-transform: translate(0, 50%);
  -ms-transform: translate(0, 50%);
  transform: translate(0, 50%);
}

.indicators-table .categories1 {
  height: 100%;
  position: absolute;
}

.indicators-table .lines {
  position: static;
  height: 100%;
}

.indicators-table .line {
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid #f2f2f2;
}
.indicators-table .line:first-child{
  border-top: 1px solid #f2f2f2;  
}
.indicators-table .value-tip {
  position: absolute;
  left: calc(-100% - 5px);
  background: #19aa9e;
  color: white;
  padding: 5px 5px 4px 5px;
  line-height: 1;
  font-size: 12px;
  font-family: "Conv_VAGRoundedStd-Bold";
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -o-font-smoothing: antialiased;
  opacity: 0;
  top: 50%;
  transition: all 300ms ease-in-out;
}

.indicators-table .value-tip:before {
  content: "";
  width: 0;
  height: 0;
  display: block;
  border: 5px solid transparent;
  border-left-color: #19aa9e;
  position: absolute;
  top: 6px;
  right: -10px;
  line-height: 1.1;
}

.indicators-table .label-grafica {
  font-size: 12px;
  font-family: "Conv_VAGRoundedStd-Thin";
  text-align: center;
  position: absolute;
  bottom: -45px;
  height: 30px;
  width: 120px;
  left: -30px;
  box-sizing: border-box;
  padding: 0 10px;
}

.indicators-table .columns-grafica {
  box-sizing: border-box;
  width: 60px;
  float: left;
  margin-right: 60px;
  position: relative;
  height: 100%;
}

.indicators-table .columns-grafica.promedio {
  position: absolute;
  right: 47px;
  top: 0;
  height:100%;
}

.indicators-table .columns-grafica.promedio .label-grafica {
  font-family: "Conv_VAGRoundedStd-Bold";
  text-transform: uppercase;
}

.indicators-table .columns-grafica.promedio .value1 {
  /*background: #f09e0e;*/
}

.indicators-table .columns-grafica.promedio .value1 .value-tip {
  background: #19aa9e;
  opacity: 1;
  top: 0;
}

.indicators-table .columns-grafica.promedio .value1 .value-tip:before {
  border-left-color: #19aa9e;
}

.indicators-table .columns-grafica.promedio .value2 {
  background-color: rgba(0, 148, 196, 1);
  border-left: 1px solid #fff;
}

.indicators-table .columns-grafica.promedio .value2 .value-tip {
  background: rgba(0, 148, 196, 1);
  opacity: 1;
  top: 0;
}

.indicators-table .columns-grafica.promedio .value2 .value-tip:before {
  border-right-color: rgba(0, 148, 196, 1);
}

.indicators-table .columns-grafica .col {
  width: 50%;
  position: absolute;
  bottom: 0;
  height: 0%;
  cursor: pointer;
  transition: height 300ms ease-in-out;
}

.indicators-table .columns-grafica .value1 {
  background: #19aa9e;
}

.indicators-table .columns-grafica .value2 {
  left: 50%;
  background: rgba(25, 170, 158, 0.47);
}

.indicators-table .columns-grafica .value2 .value-tip {
  left: calc(100% + 10px);
  background: rgba(25, 170, 158, 1);
}

.indicators-table .columns-grafica .value2 .value-tip:before {
  border: 5px solid transparent;
  border-right-color: rgba(25, 170, 158, 1);
  right: 100%;
}

.indicators-table .columns-grafica:hover .value-tip {
  opacity: 1;
  top: 0;
}

.indicators-table button {
  cursor: pointer;
  display: block;
  padding: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
  border-radius: 0;
  border: 0;
  resize: none;
  background: none;
  text-shadow: none;
  position: absolute;
  top: calc(50% + 4px);
  right: 30px;
  width: 30px;
  height: 35px;
  text-indent: -99999px;
  background: url(../img/next_arrow.svg) no-repeat;
  background-position: calc(100% - 5px) center;
  transition: background 200ms ease-in-out;
}

.indicators-table button:focus {
  outline: 0;
}

.indicators-table button:hover {
  background-position: 100% center;
}

.indicators-table button.prevbtn-indicators {
  background: url(../img/prev_arrow.svg) no-repeat 5px center;
  right: auto;
  left: 70px;
  opacity: 0.2;
}

.indicators-table button.prevbtn-indicators:hover {
  background-position: 0px center;
}

.labelsyear {
  position: absolute;
  bottom: 20px;
  text-align: center;
  width: 100%;
}

.labelsyear .actualyear,
.labelsyear .pastyear {
  display: inline-block;
  width: 150px;
  text-align: left;
}

.labelsyear .actualyear {
  margin-right: 10px;
}

.labelsyear .pastyear .color1,
.labelsyear .pastyear .color2 {
  opacity: 0.4;
}

.labelsyear .wrapcolors {
  float: left;
  margin-right: 10px;
  display: block;
  width: 20px;
  height: 20px;
  background: #19aa9e;
  margin-top: 11px;
}
.demora-consultas .labelsyear .wrapcolors{
 background-color: #19aa9e;
}
.demora-consultas .labelsyear .wrapcolors:nth-child(2){
 display: none;
}
.demora-consultas .labelsyear .textyear{
 margin-top: 0;
}
.demora-consultas .labelsyear .actualyear{
 height: 44px;
}
.labelsyear .pastyear .wrapcolors {
  background-color: rgba(0, 148, 196, 1);
}

.labelsyear .color1,
.labelsyear .color2 {
  width: 16px;
  height: 16px;
  background: #f09e0e;
  margin-bottom: 5px;
}

.labelsyear .color1 {
  background: #19aa9e;
}

.labelsyear .textyear {
  font-size: 14px;
  font-family: "VAGRoundedStd-Bold";
  font-family: "Conv_VAGRoundedStd-Bold";
  margin-top: 0px;
}

.demora-quirurgica .value-tip {
  background: #19aa9e;
}

.demora-quirurgica .value-tip:before {
  border-left-color: #0094c4;
}

.demora-quirurgica .color1 {
  background: #0094c4;
}

.demora-quirurgica .columns-grafica .value1 {
  background: #19aa9e;
}

.demora-quirurgica .columns-grafica .value2 {
  background-color: rgba(0, 148, 196, 0.47);
  border-left: 1px solid #fff;
}

.demora-quirurgica .columns-grafica .value2 .value-tip {
  background: rgba(0, 148, 196, 0.47);
}

.demora-quirurgica .columns-grafica .value2 .value-tip:before {
  border-right-color: rgba(0, 148, 196, 0.47);
}
/*----ajustes consulta especialista---*/
.demora-consultas .value1{
  display: none;
}
.demora-consultas .indicators-table .columns-grafica .col.value2{
  width: calc(50% + 10px);
  margin-left: -20px;
  background-color: #19aa9e;
}
.demora-consultas .columns-grafica.promedio .value1{
  display: block;
}
.demora-consultas .indicators-table .columns-grafica.promedio .value2{
  width: 50%;
  margin-left:0;
  background-color: rgba(240, 158, 14, 0.4);
}

/*--- correcion labels--*/
.labelsyear .actualyear, .labelsyear .pastyear{
  width: 160px;
}
.labels_color{
      width: 30px;
    float: left;
}
.textyear{
  float: left;
}
.labels_color .wrapcolors:first-child{
  margin-top: 0;

}
.labels_color .wrapcolors:nth-child(2){
  margin-top: 5px;
      background: #f09e0e!important;
      display: none;
}
.pastyear .labels_color .wrapcolors:nth-child(2){
  margin-top: 5px;
      background: rgba(240, 158, 14, 0.4)!important;
      display: none;
}
.demora-medica .pastyear .wrapcolors{
      background: rgba(240, 158, 14, 0.4)!important;
}
.demora-medica .pastyear {
    height: 44px;
}
/*----MEDIA QUERIES-----*/

@media screen and (max-width: 768px) {
  .indicators-table {
    padding-left: 30px;
  }
  .indicators-table .category1 {
    font-size: 20px;
  }
  .chart-wrapper {
    width: 165%;
    transform-origin: top;
    position: absolute;
    transform: translate(-50%, 0) scale(0.55);
    left: 50%;
  }
  .parent-container {
    height: 310px;
  }

  .indicators-table .wrap-indicators {
 
    width: calc(100% - 352px);

  }

}