html {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden !important;
}

@supports (font-variation-settings: normal) {
  html {
    font-family: 'Inter var', sans-serif;
  }
}

body {
  padding-top: 0 !important;
}

/* paragraph anchors as generated by markdown toc */
a.headerlink {
  color:inherit;
  text-decoration:none;
  visibility:hidden;
}
h1:hover a.headerlink,
h2:hover a.headerlink,
h3:hover a.headerlink,
h4:hover a.headerlink,
h5:hover a.headerlink,
h6:hover a.headerlink {
  visibility:visible;
}

.divider {
  border-top: 1px solid #999;
  height: 1px;
  margin-bottom: -10px;
  padding: 0;
}

.symbol {
  border-radius: 50%;
  border: 5px double white;
  display: inline-block;
  height: 30px;
  width: 30px;
}

.symbol-empty {
  background-color: #ccc;
}

.symbol-filled {
  background-color: black;
}

.dropdown-submenu:hover .dropdown-menu {
  display: block;
}

.p-breadcrumbs__link + .second-level-nav, .p-breadcrumbs__link + .second-level-nav .p-breadcrumbs__link {
  display: inline-block;
  margin-bottom: 0;
  padding-left: 0;
}

@media (max-width: 767px) {
  .p-breadcrumbs__link + .second-level-nav, .p-breadcrumbs__link + .second-level-nav .p-breadcrumbs__link {
    width: 100%;
  }
}

.second-level-nav .p-breadcrumbs__link {
  border-bottom: 0;
  padding-bottom: 0;
  padding-top: 0;
}

.dropdown-backdrop {
  display: none;
}

/* Notifications */
.p-notification__body {
  margin-top: 1rem;
  text-align: left;
}

p {
  max-width: 42em;
}

p:empty {
  display: none;
}

/* Tabs */
.tab-content {
  display: none;
}

.tab-content:target {
  display: block;
}

/* Terminal */
#tryit_accept {
  display: block;
}

#tryit_console * {
  margin-top: 0;
  line-height: 1.5;
}

#tryit_console_measurement {
  border-color: black;
  border-style: solid;
  border-width: 5px 5px 5px 5px;
  color: white;
  display: block;
  float: left;
  position: absolute;
  top: -1000px;
}

.tryit_run:hover {
  cursor: pointer;
  text-decoration: underline;
}

.terminal {
  width: 100%;
}

/* Font wrapping on large screens */
.u-wrap-content p,
.u-wrap-content li {
  max-width: 38em;
}

/* Align text in notifications */
[class^="p-notification"] {
  text-align: left;
}

/* Add spacing to pre tags */
pre {
  margin-top: .5rem;
  overflow: auto;
  max-height: 50rem;
  white-space: pre;
}

/* prevent line breaks in code blocks */
pre code {
  white-space: pre;
}

.glyphicon {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  height: 24px;
  position: relative;
  top: 1px;
  width: 24px;
}

.rating-symbol-background {
  background-image: url('/National_Library/20160930123623oe_/https://linuxcontainers.org/static/img/unstarred_24.svg');
  background-repeat: no-repeat;
}

.rating-symbol-foreground {
  background-image: url('/National_Library/20160930123623oe_/https://linuxcontainers.org/static/img/starred_24.svg');
  background-repeat: no-repeat;
  margin-top: 0;
  position: relative;
  top: 1px;
}

#tryit_feedback_submit > .p-form__group span + span {
  display: none;
}

.rating-symbol {
  cursor: pointer;
  margin-top: 1rem;
}

.js-collapsable {
  background-image: url('/National_Library/20160930123623oe_/https://linuxcontainers.org/static/img/chevron_up.svg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 14px;
  cursor: pointer;
  padding-right: 22px;
}

.js-collapsable.is-hidden {
  background-image: url('/National_Library/20160930123623oe_/https://linuxcontainers.org/static/img/chevron_down.svg');
}

.js-collapsable.is-hidden ~ .tab-content {
  display: none;
}

#tryit_feedback .js-collapsable.is-hidden ~ .panel-body {
  display: none;
}

@media (min-width: 769px) {
  .p-language-switcher {
    margin-left: auto;
  }
}

/* Custom strip */
.is-x-shallow {
  padding: .5rem 0;
}

/* Override for wider notifications - specifically for the Try-It terminal */
.p-notification__response {
    max-width: none;
}

/*admonition*/
.admonition {
    margin-left: 15px;
    width: 80%;
    border: 1px solid #d9d9d9;
    border-radius: 0 .125rem .125rem 0;
    position:relative;
    background-position: 1rem 1.15rem;
    background-repeat: no-repeat;
    background-size: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: calc(.5rem - 1px);
    padding-left: 3rem;
    padding-right: 2rem;
    padding-top: calc(.5rem - 1px);
}

.admonition.note {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 1a7 7 0 110 14A7 7 0 018 1zm0 1.5a5.5 5.5 0 100 11 5.5 5.5 0 000-11zM8.75 7v5.02h-1.5V7h1.5zM8.5 3.944a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1z' fill='%23666' fill-rule='nonzero'/%3E%3C/svg%3E");
}

.admonition.warning {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M9.34 1.2l5.842 11.627A1.5 1.5 0 0113.842 15H2.158a1.5 1.5 0 01-1.34-2.173L6.66 1.2a1.5 1.5 0 012.68 0z' fill='%23f99b11'/%3E%3Cpath d='M8.5 11a.5.5 0 01.492.41L9 11.5v1a.5.5 0 01-.41.492L8.5 13h-1a.5.5 0 01-.492-.41L7 12.5v-1a.5.5 0 01.41-.492L7.5 11h1zM9 5v4.5H7V5h2z' fill='%23FFF'/%3E%3C/g%3E%3C/svg%3E");
}

.admonition::before {
    height: auto;
    width: .1875rem;
    bottom: -1px;
    top: -1px;
    z-index: 1;
    left: 0;
    background-color: #24598f;
    content: '';
    position: absolute;
}

.admonition.warning::before {
    background-color: #f99b11;
}

.admonition-title {
   font-weight: 400;
   line-height: 1.5rem;
   margin-top: 0;
   padding-top: .4005rem;
}

code {
  background-color: #f7f7f7;
  padding: 3px;
}

h1 code, h2 code, h3 code, h4 code {
  background-color: inherit;
}

#startpage-heading {
  font-size: 2.6rem;
}

iframe {
  margin-left: 0;
}

.toc ul {
  list-style-type: none;
  margin-left: 0;
  list-style-position: inside;
}

.toc ul li {
  margin-top: .7em;
}

.toc ul a {
  color: #111111;
}

.toctitle {
  font-weight: 400;
}

.toc-link {
  text-align: right;
}

/* CSS for tabs */

.tabbed-set {
  display: flex;
  position: relative;
  flex-wrap: wrap;
}

.tabbed-set .tabbed-content {
  display: none;
  order: 99;
  width: 100%;
  border-top: 1px solid #d9d9d9;
  margin-top: -3px;
  padding-top: 1rem;
}

.tabbed-set label {
  width: auto;
  background-color: #fff;
  border: 0;
  padding: .3375rem 1rem;
  margin-bottom: 1px;
}

.tabbed-set label:hover {
  background-color: #eeeeee;
}

.tabbed-set input {
  position: absolute;
  opacity: 0;
}

.tabbed-set input:nth-child(n+1) {
  color: #333333;
}

.tabbed-set input:nth-child(n+1):checked + label {
    background-color: #d9d9d9;
    border-color: #d9d9d9;
    border-bottom: 3px solid #333;
    z-index: 10;
}

.tabbed-set input:nth-child(n+1):checked + label + .tabbed-content {
    display: block;
}

/* add space below a details block */
summary {
  margin-bottom: 2rem;
}

.p-navigation__image {
  max-height: 2.5rem;
}

.p-footer {
  padding-bottom: 4rem;
  padding-top: 4rem;
}

.p-footer {
  border-top: 1px solid #cdcdcd;
  position: relative;
}
