/* Extend screen to larger usable area */
.wy-nav-content {
    max-width: 85%;
}

/* override table width restrictions */
@media screen and (min-width: 767px) {

   .wy-table-responsive table td {
      /* !important prevents the common CSS stylesheets from overriding
         this as on RTD they are loaded after this stylesheet */
      white-space: normal !important;
   }

   .wy-table-responsive {
      overflow: visible !important;
   }
}

/* Hack level >4 ToC issues */
.wy-menu-vertical li.toctree-l3 li.toctree-l4 li.toctree-l5                                                         > a { padding-left:  7em; background: #ddd; }
.wy-menu-vertical li.toctree-l3 li.toctree-l4 li.toctree-l5 li.toctree-l6                                           > a { padding-left:  8em; background: #ccc; }
.wy-menu-vertical li.toctree-l3 li.toctree-l4 li.toctree-l5 li.toctree-l6 li.toctree-l7                             > a { padding-left:  9em; background: #bbb; }
.wy-menu-vertical li.toctree-l3 li.toctree-l4 li.toctree-l5 li.toctree-l6 li.toctree-l7 li.toctree-l8               > a { padding-left: 10em; background: #aaa; }
.wy-menu-vertical li.toctree-l3 li.toctree-l4 li.toctree-l5 li.toctree-l6 li.toctree-l7 li.toctree-l8 li.toctree-l9 > a { padding-left: 11em; background: #999; }

.rst-content code.literal {
   color: inherit;
}


kbd
{
  -moz-border-radius:3px;
  -moz-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
  -webkit-border-radius:3px;
  -webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
  background-color:#f7f7f7;
  border:1px solid #ccc;
  border-radius:3px;
  box-shadow:0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
  color:#333;
  display:inline-block;
  font-family:Arial,Helvetica,sans-serif;
  font-size:11px;
  line-height:1.4;
  margin:0 .1em;
  padding:.1em .6em;
  text-shadow:0 1px 0 #fff;
}

/* Override Pygments highlighting for "error" elements in code blocks */
.highlight .err {
    color: inherit !important; /* Change to inherit the normal code text color */
    background-color: transparent !important; /* Remove the red background */
}

/* Hide the entire Read the Docs version selector */
.rst-versions {
    display: none !important;
    visibility: hidden !important; /* Ensure it's not just off-screen */
    opacity: 0 !important;       /* Make it fully transparent */
    height: 0 !important;        /* Collapse its space */
    padding: 0 !important;       /* Remove any padding */
    margin: 0 !important;        /* Remove any margin */
    border: none !important;     /* Remove any borders */
    overflow: hidden !important; /* Hide any overflowing content */
    pointer-events: none !important; /* Disable any interaction */
}

.switch-menus {
    display: none !important;
    visibility: hidden !important; /* Ensure it's not just off-screen */
    opacity: 0 !important;       /* Make it fully transparent */
    height: 0 !important;        /* Collapse its space */
    padding: 0 !important;       /* Remove any padding */
    margin: 0 !important;        /* Remove any margin */
    border: none !important;     /* Remove any borders */
    overflow: hidden !important; /* Hide any overflowing content */
    pointer-events: none !important; /* Disable any interaction */
}

.rst-current-version {
    display: none !important;
    visibility: hidden !important; /* Add visibility hidden as well */
    opacity: 0 !important; /* Fade out if it's animating */
    pointer-events: none !important; /* Disable interaction */
}

.rst-other-versions {
    display: none !important;
    visibility: hidden !important; /* Add visibility hidden as well */
    opacity: 0 !important; /* Fade out if it's animating */
    pointer-events: none !important; /* Disable interaction */
}

.version-switch {
    display: none !important;
    visibility: hidden !important; /* Add visibility hidden as well */
    opacity: 0 !important; /* Fade out if it's animating */
    pointer-events: none !important; /* Disable interaction */
}


/* Hide "GitHub" sections from versions menu */
div.rst-versions > div.rst-other-versions > div.injected > dl:nth-child(3) {
    display: none;
}
div.rst-versions > div.rst-other-versions > div.injected > dl:nth-child(4) {
    display: none;
}

