#brasklapp {
    padding: 1rem;
}

#brasklapp p {
  margin:0!important;
}

#brasklapp-container {
  background-color: #fff3c6;
}

: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");
}

#header-row {
  max-height:10vh;
}

.footer-item {
  margin:1rem
}

#preview-content {
  padding-top:0!important;
}

div[role=main]:not(:has(.breadcrumb)) {
  margin-top:70px;
}

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:#ffff;
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  height: 100%;
  color:#081130;
  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: #081130; }
      body header .title a {
        color: #081130;
        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: #232948;
    color: white;
    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: "Public Sans", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "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:#e6edf3;
  border-top:solid 0.1rem #232948;
  margin-bottom:0;
}

.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:#081130!important;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #232948;
}


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

h1 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  margin-top:0;
}

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

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



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

}


h4 {
  margin-top:20px;
  counter-reset: h5;
  font-weight: 600;

}

h5 {
  counter-reset: h6;
  font-weight: 600;

}

h6 {
  font-weight: 600;
}


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:#e6edf3;
}

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

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

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

a {
  color:#022478;
  text-decoration:underline;  
}

a:hover {
  color: #0054a7;
  text-decoration:none;
}

footer a {
  color:#7ea2dc;
}

footer a:hover {
  color:#cbd9f2;
}

.treetable-wrapper a {
  text-decoration:none;
  color:#232948!important;
}

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

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

.cool-tabs .tab-pane {
  padding:1rem!important;
}

.cool-tabs .nav-tabs {
  border-bottom:unset;
  margin-left:6px;
}

.cool-tabs .nav-tabs>li {
    margin-bottom: 0px!important;
}

.cool-tabs .tab-content {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.cool-tabs .nav-tabs>li>a {
    padding: 8px 15px;
    border-radius: 4px 4px 0 0!important;
    border: 1px solid transparent;
}

.resource-validation-xml, .tab-pane.active:has(.resource-validation-xml) {
  background-color:#f3f3f3;
}

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 li>a:hover {
  background-color:#f2f5fc!important;
}

.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: #232948;
  border-radius: 50%;
  height: 48px;
  width: 48px;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  cursor:pointer;
  border: solid 0.1rem #ffff;
}

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

.crumb {
  display:inline;
}

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

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

.breadcrumb {
  margin-bottom:40px;
}