/*
    This sets following values to breakpoints
    xs: 0,
    sm: 576px,
    md: 768px,
    lg: 992px,
    xl: 1160px
*/
/******* Site colors *******/
.ex-rich-text {
  /******* Site colors *******/
  /*
    This sets following values to breakpoints
    xs: 0,
    sm: 576px,
    md: 768px,
    lg: 992px,
    xl: 1160px
*/
}

.ex-rich-text .module-title {
  padding: 0 0 0.8em 0;
}

.ex-rich-text .module-title strong {
  color: #00a49a;
}

.ex-rich-text h2.double-head-lines {
  padding: 0;
  margin: 0 30px;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.ex-rich-text h2.double-head-lines strong {
  color: #00a49a;
  display: inline-block;
  line-height: 1;
  font-weight: 700;
}

@media (min-width: 768px) {
  .ex-rich-text h2.double-head-lines {
    font-size: 30px;
    margin: 0 35px;
  }
  .ex-rich-text h2.double-head-lines:before {
    content: "";
    font-size: 0;
    display: block;
    width: 100%;
    padding: 2px 0 0 0;
    border-top: 2px solid #01c7bb;
    border-bottom: 2px solid #00574f;
    position: absolute;
    top: 16px;
    left: 0;
  }
  .ex-rich-text h2.double-head-lines strong {
    position: relative;
    background: #fafafa;
    padding: 0 10px;
  }
}

@media (min-width: 992px) {
  .ex-rich-text h2.double-head-lines {
    margin: 0 45px;
  }
}

.ex-rich-text.ex-style-reference-text {
  padding: 0 25px;
  font-size: 13px;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 1140px;
}

.ex-rich-text.ex-style-reference-text ol {
  counter-reset: unb-counter;
  list-style: none;
}

.ex-rich-text.ex-style-reference-text ol li {
  padding: 0 0 0 15px;
  margin: 0;
  counter-increment: unb-counter;
}

.ex-rich-text.ex-style-reference-text ol li:before {
  display: inline-block;
  padding: 0 3px 0 0;
  margin: 0 0 0 -15px;
  content: counter(unb-counter) ".";
}

@media (min-width: 992px) {
  .ex-rich-text.ex-style-reference-text {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (min-width: 1160px) {
  .ex-rich-text.ex-style-reference-text {
    padding: 0;
    margin: 0 auto;
  }
}
