html, body {
  padding: 0;
  margin: 0; }
header {
  z-index: 1000;
  height: 300px;
  top: 0px;
  display: initial;
  position: sticky;
}

.imageflex { 
  display: flex;
  justify-content: center;
}
.flagimg {
  margin: unset !important; 
}
.imageflexcontent { 
  margin-left: 5px; 
  margin-top: 0; 
  justify-content: center;
}

#toc {
    display: block !important;
    --toc-width: 200px;
    /* margin-top: 30px; */
    min-width: var(--toc-width) !important;
    padding-bottom: 10px !important;
    color: black !important;
    margin-right: 30px !important;
    position: fixed !important;
    height: max-content !important;
    width: var(--toc-width) !important;
    /* white-space: nowrap; */
    margin-top: 100px;
    top: 103px;
}
.PG-links:hover {
    background-color: black !important;
    color: white !important;
    cursor: pointer;
    font-weight: bold !important;
}
.PG-links{
    padding-left: 30px!important;
}
.PG-linksShown {
    background-color: black !important;
    color: white !important;
    cursor: pointer;
    font-weight: bold !important;
}
#viewer-container {
  max-width: 100% !important;
  width: 100% !important
}
#main-viewer{
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
#right-box{
  flex-grow: 1;
  margin-left: 200px;
}
#header-container{
  width: 100% !important;
  max-width: 100% !important;
}
#navbar-container{
  max-width: 100%;
  width: 100%;
}
img {
  display: block !important;
  margin-right: 30% !important;
}
/* container for top nav bar contents */
@media all and (min-width: 765px) {
.navbar > div:nth-child(1) {
  margin-left: 220px;
  }
}
/* container for breadcrumb nav bar contents */
@media all and (min-width:765px){
#segment-breadcrumb > div:nth-child(1) {
  margin-left:220px;
  }
}
#segment-breadcrumb{
  height: 30px !important;
  max-width: 100% !important;
  width: 100% !important;
  background-color: #f5f5f5;
  align-content: center;
}
#breadcrumb-container{
  height: 20px;
  align-content: left;
  background: transparent;
  vertical-align: center;
  border-radius: 0px !important;
}
.breadcrumb{
  padding: 0px 6px !important;
}
#lower-header {
  max-width: 100% !important;
  width: 100% !important;
}
#inner-breadcrumb-container {
  align-content: center;
  vertical-align: center;
  background: transparent;
  overflow: unset;
}
#hl7-nav{
  margin-left: 30px;
}
#family-nav{
  margin-right: 30px;
}
#segment-footer{
  background-color: var(--footer-container-bg-color);
}

table.guide, table.guide th, table.guide td
{ border-collapse:collapse;
 padding:5px; 
border:1px solid #ccc; 
border-top:none; }
table.guide th
{ background-color:#f5f5f5!important; color:black; border:1px solid #ccc; }
#mPage {
    padding-left: 50px;
    width: 80%;
}
@media all and (min-width: 765px) {
#footer-container {
  margin-left:210px;
}
}
@media all and (max-width: 765px) {
/* container for footer content*/
div.inner-wrapper:nth-child(1) {
  margin-left: 225px;
  }
}

body {
  position: relative;
  height: 100%; }
  body header {
    background-color: #f5f5f5; }
    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: #636363;
    color: #E0E0E0;
    height: 155px;
    position: center;
    padding-top: 40px; }
