.bpa-richtext>p>a {
    color: #004F80;
}

.bpa-richtext>p>a:hover {
    color: #004F80;
    text-decoration: underline;
}

.bpa-richtext > video, .bpa-richtext > img{
    max-width:100%;
}

#flatpage-content a {
  color: #004F80;
}

#flatpage-content a:hover {
  text-decoration: underline;
}


#flatpage-content ol {
    display: block;
    list-style-type: decimal;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 40px;
}

#flatpage-content pre {
    font-size: 1.3rem;
    line-height: 1.8rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
}
#flatpage-content blockquote {
    font-size: 1.3rem;
    line-height: 1.8rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 5px solid #ccc;
}

  @media only screen and (min-width: 1024px) {
    #flatpage-content pre {
      font-size: 1.2rem;
      line-height: 1.8rem;
      white-space: pre-wrap;
      word-wrap: break-word;
      overflow-x: auto;
    }

    #flatpage-content del {
      font-size: 1rem;
      line-height: 1.5rem;
      text-decoration: line-through;
    }

    #flatpage-content blockquote {
      font-size: 1.5rem;
      line-height: 2.2rem;
      margin-left: 2rem;
    }
  }
  @media only screen and (max-width: 599px) {
    #flatpage-content pre {
      font-size: 1rem;
      line-height: 1.5rem;
      overflow-x: auto;
      max-width: 100%;
    }

    #flatpage-content del {
      font-size: 0.9rem;
      line-height: 1.3rem;
    }

    #flatpage-content blockquote {
      font-size: 1.2rem;
      line-height: 1.8rem;
      margin-left: 1rem;
      padding-left: 1rem;
      border-left: 3px solid #ccc;
    }
  }
