:root {
  --creditm-white: #fff;
  --creditm-green: #00a443;
  --creditm-green-1: #007f33;
  --creditm-green-4: #5BD38C;
  --creditm-sand: #fff5ec;
  --creditm-sand-1: #fffeff;
  --creditm-sand-3: #D8CFC7;
  --creditm-sand-7: #3A3735;
  --creditm-forest: #00402a;
  --creditm-forest-1: #DCEBE1;
  --creditm-forest-2: #A2BCB1;
  --creditm-forest-4: #2F6852;
  --creditm-sky: #0DA9FF;
  --creditm-sunset: #FF9C1A;
}

#creditm {
  width: 100%;
  max-width: 980px;
  margin: 20px auto;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  border: 1px solid var(--creditm-sand-3);
  background: var(--creditm-white);
  padding: 16px;
}

#creditm * {
  font-family: "IberPangeaText" !important;
  font-style: normal;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#creditm strong {
  font-family: "IberPangeaText Bold" !important;
  font-weight: normal;
}

#creditm h2 {
  margin-top: 0 !important;
}

#creditm ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#creditm ul li:before {
  content: none !important;
  display: none !important;
}

#creditm img {
  display: block;
  width: 100%;
}

#creditm .creditm_description {
  color: var(--creditm-forest) !important;
  font-family: "IberPangeaText" !important;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.25;
  text-align: left;
  margin-bottom: 16px;
}

#creditm .creditm_description strong {
  font-family: "IberPangeaText Bold" !important;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.25;
}

#creditm .creditm_title {
  background-color: var(--creditm-green-1);
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/ratios-crediticios/images/icon.svg');
  background-repeat: no-repeat;
  background-size: 26px auto;
  background-position: 16px center;
  padding: 10px 16px 10px 52px;
  color: var(--creditm-sand-1) !important;
  font-size: 18px;
  line-height: 1.22;
  font-style: normal;
  font-weight: normal;
  font-family: 'IberPangea Medium' !important;
  text-align: center;
  border-radius: 16px 16px 0 0;
  border: 1px solid var(--creditm-sand-3);
  border-bottom: none;
}

#creditm .creditm_graph {
  border: 1px solid var(--creditm-sand-3);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 16px;
  position: relative;
  margin-bottom: 16px;
}

#creditm .creditm_graph_tag {
  color: var(--creditm-forest) !important;
  font-family: "IberPangea Medium" !important;
  font-size: 16px;
  line-height: 1.57;
  font-style: normal;
  font-weight: normal;
  text-align: right;
  display: block;
  margin-bottom: 8px;
}

#creditm .creditm_col-2 .creditm_graph_tag {
  text-align: center;
}

#creditm .creditm_col-1 .creditm_graph_list {
  margin-bottom: 16px;
}

#creditm .creditm_graph_item {
  background-color: var(--creditm-forest-1);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 16px !important;
}

#creditm .creditm_graph_item:last-child {
  margin-bottom: 0 !important;
}

#creditm .creditm_col-2 .creditm_graph_item {
  background-color: var(--creditm-forest-2);
}

#creditm .creditm_graph_item_label {
  color: var(--creditm-forest) !important;
  font-family: "IberPangea Medium" !important;
  font-size: 16px;
  line-height: 1.37;
  font-style: normal;
  font-weight: normal;
  text-align: left;
}

#creditm .creditm_graph_item_amount {
  color: var(--creditm-forest) !important;
  font-family: "IberPangeaText Bold" !important;
  font-size: 16px;
  line-height: 1.37;
  font-style: normal;
  font-weight: normal;
  text-align: right;
  margin-left: auto;
}

#creditm .creditm_graph_item_percent {
  color: var(--creditm-forest) !important;
  font-family: "IberPangeaText Bold" !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: normal;
  text-align: center;
  margin: 0 auto;
}

#creditm .creditm_note {
  color: var(--creditm-sand-7) !important;
  font-family: "IberPangeaText" !important;
  font-size: 12px;
  line-height: 1.5;
  font-style: italic;
  font-weight: normal;
  text-align: left;
  margin-bottom: 4px;
}

#creditm .creditm_note:last-child {
  margin-bottom: 0;
}

@media (min-width: 700px) {

  #creditm {
    padding: 32px;
  }

  #creditm .creditm_description {
    font-size: 16px;
    line-height: 1.22;
  }

  #creditm .creditm_title {
    padding: 10px;
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  #creditm .creditm_title:before {
    content: '';
    display: block;
    width: 25px;
    height: 23px;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/ratios-crediticios/images/icon.svg');
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
  }

  #creditm .creditm_graph {
    display: flex;
    gap: 16px;
    padding: 24px;
  }

  #creditm .creditm_col {
    width: calc(66.66% - 8px);
  }

  #creditm .creditm_col-2 {
    width: calc(33.33% - 8px);
  }

  #creditm .creditm_graph_tag {
    font-size: 18px;
    line-height: 1.22;
    margin-bottom: 16px;
  }

  #creditm .creditm_graph_item {
    min-height: 38px;
  }

  #creditm .creditm_graph_list,
  #creditm .creditm_col-1 .creditm_graph_list {
    margin-bottom: 0;
  }

  #creditm .creditm_note {
    font-size: 14px;
    line-height: 1.28;
  }

}
