:root {
  --copy-link: url("data:image/svg+xml, M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z");
}

html, body {
  padding: 0;
  margin: 0; }

p a[href^="http://"]:not([no-external^="true"]):after, p a[href^="https://"]:not([no-external^="true"]):after {
    content: url(external.png);
    display: inline-block;
    text-decoration: none;
    padding-left: 3px;
}

body {
  position: relative;
  background-color:#fafafa;
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
  height: 100%;
  counter-reset: h2;
    line-height: 1.5;
 }
  body header {
    background-color: #ffff; }
    body header #header-row {
      display:flex;
      align-items:center;
    }
    body header .title {
      font-size: 24px;
      padding-top: 23px;
      color: black; }
      body header .title a {
        color: black;
        text-decoration: none; }
    body header .fhir-logo {
      text-align: left;
      margin-top: 10px;
      margin-bottom: 5px; }
    body header .hl7-logo {
      text-align: right;
      margin-top: 15px; }
  body .content {
    overflow: hidden;
    min-height: 100%;
    position: relative;
    height: auto !important;
    margin-bottom: -155px;
    padding-bottom: 155px; }
  body footer {
    background-color: #fff;
    color: black;
    height: fit-content;
    position: relative;
    padding-top: 40px; }

.dynamic {
    display: none;
    background-color: transparent;
    color: transparent;
    padding: 5px;
    text-align: center;
    height: 30px;
}

    .dynamic.versions-banner.not-latest {
        background-color: #f0ad4e;
        color: #fff;
    }

    .dynamic.versions-banner.latest {
        background-color: #5cb85c;
        color: #fff;
    }


/* .content.container:has(.col-md-6) {
  width:1270px;
} */

table {
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Liberation Sans", sans-serif!important;
  overflow:unset!important;
}

table:not(.treetable) tr:nth-child(even) td {
  background-color: #f5f5f5!important;
}

.content.container[role=main]  {
  overflow:unset;
}

th {
  background-color:#e0e0e0!important;
  position: sticky!important;
  top: 0!important;
}

.navbar-default {
  background-color:#fff8eb;
  box-shadow:0 .125rem .25rem rgba(0,0,0,.075)!important;
}

.navbar-default a {
  text-decoration:none;
}

.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
  color:#6e0e50!important;
}

h2 {
  margin-top:40px;
  border-bottom:1px solid lightgrey;
  counter-reset: h3;
}

h1 {
  font-family: "Roboto Slab"
}


.kedjeikon {
    padding-left: 3px;
    visibility:hidden;
}

h3:hover .kedjeikon {
  visibility: visible;
}
h2:hover .kedjeikon {
  visibility: visible;
}
h4:hover .kedjeikon {
  visibility: visible;
}

/* .self-link .copy-link {
   background-image: var(--copy-link);
background-repeat: no-repeat;
      padding-right: calc(1.5em + 0.75rem);
      background-position: center right calc(0.375em + 0.1875rem);
      background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);

    padding-left: 3px;
    visibility:hidden;
}

.self-link:hover .copy-link {
  visibility:visible;
} */

h3 {
  margin-top:30px;
  border-bottom:1px dashed lightgray;
  counter-reset: h4;
}

h4 {
  margin-top:20px;
  counter-reset: h5;
}

h5 {
  counter-reset: h6;
}


h2:before {
    counter-increment: h2;
    content: counter(h2) ". ";
    padding-right: 5px;
}

h3:before {
    counter-increment: h3;
    content: counter(h2) "." counter(h3) ". " 
}

h4:before {
    counter-increment: h4;
    content: counter(h2) "." counter(h3) "." counter(h4) ". "
}

h5:before {
    counter-increment: h5;
    content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) ". "
}


code {
  background-color:#fff8eb;
}

table:not(.treetable) td,th {
  padding:1rem!important;
}

.treetable-wrapper {
  background-color:#fff;
  
}

.nav a {
  text-decoration:none!important;
}

a {
  color:#6e0e50;
  text-decoration:underline;  
}

a:hover {
  color: #6e0e50;
  text-decoration:none;
}

.treetable-wrapper a {
  text-decoration:none;
}

.treetable-wrapper a:hover {
  text-decoration:underline;
}

.cool-tabs .nav-tabs>li.active>a {
  background-color:#6e0e50!important;
}

div:has(.affix-top) {
  position:sticky;
  top:0;
}

.affix-top {
  background-color:#fff;
  border: 1px solid #e0e0e0;  
  border-bottom:none;
  border-radius:4px;
}

.affix-top li {
  border-bottom:1px solid #dee2e6;
}

.nav-pills>li>a {
  border-radius:0px;
}

.section-card {
  background-color:white;
  border: 1px solid #f5f5f5;
  border-radius: .3rem;
  padding:2rem;
  margin-bottom:2rem;
}

.section-card > h5 {
  padding-block:1rem;
}

.affix-top:before {
  content: "On this page";
  padding: 10px 20px;
  font-weight:600;
}

#scrollToTopBtn {
  background-color: #6e0e50;
  border: none;
  border-radius: 50%;
  height: 48px;
  width: 48px;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  cursor:pointer;
}

#scrollToTopBtn svg {
  color:white;
  display: block;
  margin: auto;
}

.crumb {
  display:inline;
}

.crumb.current {
  color:#6c757d;
}

.breadcrumb.page {
  width:fit-content;
  font-size: .875em;
}