#agreementModal .modal-title {
  color: #000;
}

#agreementModal .modal-dialog {
  max-width: 800px;
  width: 100%;
  font-family: 'Nunito',sans-serif;
  color: #333;
  font-size: 16px;
  line-height: 1.4;
}

#agreementModal .modal-dialog #licenseWrap {
  padding: 15px 15px;
  max-height: calc(100vh - 240px);
  overflow-y: auto;
  scrollbar-color: rgba(255, 255, 255, 0.5) #414042;
  scrollbar-width: thin;
}

#agreementModal .modal-dialog #licenseWrap::-webkit-scrollbar {
  width: 5px;
}

#agreementModal .modal-dialog #licenseWrap::-webkit-scrollbar-track {
  background: #ddd;
}

#agreementModal .modal-dialog #licenseWrap::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.5);
}

#agreementModal .modal-dialog p {
  margin-bottom: 1.4em;
}

#agreementModal .modal-dialog .pageId, #agreementModal .modal-dialog .bookcreator__bookbar, #agreementModal .modal-dialog .docInfo {
  display: none;
}

#agreementModal .modal-dialog h1 {
  font-size: 2em;
  margin: 0 0 .444em;
  font-weight: bold;
}

#agreementModal .modal-dialog h3 {
  font-size: 1.125em;
  margin: 0 0 .888em;
  font-weight: bold;
}

#agreementModal .modal-dialog .dokuwiki div.page {
  clear: both;
  background: #fff;
  color: inherit;
  border-radius: 2px;
  padding: 1.556em 2em 2em;
  margin-bottom: .5em;
  overflow: hidden;
  word-wrap: break-word;
}

#agreementModal .modal-dialog ol, #agreementModal .modal-dialog li {
  list-style: decimal outside;
}

.licensePanel {
  font-family: 'Nunito',sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.licensePanel #licenseWrap {
  padding: 15px 0;
}

.licensePanel p {
  margin-bottom: 1.4em;
}

.licensePanel .pageId, .licensePanel .bookcreator__bookbar, .licensePanel .docInfo {
  display: none;
}

.licensePanel h1 {
  font-size: 2em;
  margin: 0 0 .444em;
  font-weight: bold;
}

.licensePanel h3 {
  font-size: 1.125em;
  margin: 0 0 .888em;
  font-weight: bold;
}

.licensePanel div.page {
  clear: both;
  color: inherit;
  border-radius: 2px;
  padding: 1.556em 0;
  margin-bottom: .5em;
  overflow: hidden;
  word-wrap: break-word;
}

.licensePanel ol, .licensePanel li {
  list-style: decimal outside;
}

div.footnotes {
  border-top: 1px solid #aaa;
  padding: .5em 0 0 0;
  margin: 1em 0 0 0;
  clear: both;
}

div.footnotes .content {
  display: inline;
}

.agreeRadio {
  margin-bottom: 5px;
  align-items: flex-end;
}

.agreeRadio > div {
  min-width: 90px;
}
