article.pytorch-article table tr th:first-of-type,
article.pytorch-article table tr td:first-of-type {
  width: 17px;
}

div.container a.header-logo {
  height: 80px;
  width: 220px;
  background-image: url("../img/logo.svg");
  background-size: 220px;
  /*padding: 60px;*/
  /*padding-top: 80px;*/
}

.rst-versions {
  position: fixed;
  bottom: 0;
  left: 0;
  width: inherit;
  min-width: 300px;
  color: #fcfcfc;
  font-family: FreightSans, Helvetica Neue, Helvetica, Arial, sans-serif;
  background: #d1d2d5;
  z-index: 400;
}

.rst-versions.rst-badge {
     bottom: 0 !important;
}

.rst-versions.shift-up {
  height: auto;
  max-height: 100%;
  overflow-y: scroll;
}

.rst-versions.shift-up .rst-other-versions {
  /*display: block;*/
  display: contents;
  width: inherit;
}

.rst-versions .rst-other-versions {
  font-size: 90%;
  padding: 12px;
  color: #6c6c6d;
  background: #f2f3f7;
  display: none;
}

.injected {
  display: block;
  width: inherit;
}

.rst-versions .rst-current-version {
  padding: 12px;
  background-color: #e2e3e6;
  display: block;
  text-align: right;
  font-size: 90%;
  cursor: pointer;
  color: #ee4c2c;
}

.rst-other-versions dl {
    margin: 5% !important;
}

.rst-other-versions small {
    margin: 5% !important;
}

.rst-versions .rst-other-versions dd {
  display: inline-block;
  margin: 0;
}

.rst-versions .rst-other-versions dd a {
  display: inline-block;
  padding: 6px;
  color: #454545;
}

.rst-versions a {
  color: #2980b9;
  text-decoration: none;
}

.rst-versions .rst-current-version:after,
.rst-versions .rst-current-version:before {
  display: table;
  content: "";
}

.rst-versions .rst-current-version:after {
  clear: both;
  content: "";
  display: block;
}

.rst-versions .rst-current-version .fa-book,
.rst-versions .rst-current-version .icon-book {
  float: left;
}

.rst-versions .rst-current-version .fa {
  color: #454545;
}

.rst-versions .rst-current-version .fa-book,
.rst-versions .rst-current-version .icon-book {
  float: left;
}

.rst-other-versions dt {
  font-weight: normal;
}

.fa {
  font-family: inherit;
  display: inline-block;
  /* font: normal normal normal 14px/1 FontAweSome; */
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-book:before, .icon-book: before {
  content: "\f02d";
}

.fa-caret-down:before {
  content: "▼";
  color: #ee4c2c;
}

.fa:before,
a .fa,
li .fa {
  text-decoration: inherit;
}

.fa:before {
  font-family: FontAwesome;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

/* automatically generated toctree tables */

article.pytorch-article table.longtable.docutils.align-default colgroup {
  display: none;
}

article.pytorch-article
  table.longtable.docutils.align-default
  tbody
  td:first-child {
  width: 40%;
}

article.pytorch-article table.longtable.docutils.align-default tbody td {
  padding: 0.25rem;
}

article.pytorch-article table.longtable.docutils.align-default tbody td p {
  margin-block-start: 0.1em;
  margin-block-end: 0.1em;
}

article.pytorch-article div.highlight pre {
  white-space: pre;
}

/* versionadded, versionchanged, deprecated directive */

.versionmodified {
  font-style: italic;
  font-weight: bold;
}

/* code block */
.highlight .o {
  font-weight: lighter !important;
}

.highlight .n {
  color: #000000;
  font-weight: lighter !important;
}

.highlight .p {
  color: #000000;
  font-weight: lighter !important;
}

/* Footer */

footer table {
  width: 100%;
  margin-bottom: 1rem;
}

/* remove gray footer */
.pytorch-body .docs-tutorials-resources {
  padding: 0cm !important;
}

/* dim out pytorch header
algolia searchbox has z-index of 200
so make sure not to go above that value */
.header-holder {
  z-index: 100 !important;
}

:root {
  --docsearch-primary-color: #D3D3D3 !important;
}

.DocSearch-Button {
  border-radius: 0 !important;
  width: 100% !important;
  height: 2.75rem !important;
  margin: 0 !important;
  background: var(--docsearch-searchbox-focus-background) !important;
}

.DocSearch-Button .DocSearch-Search-Icon {
  color: var(--docsearch-primary-color) !important;
}

.DocSearch-Button-Key {
  box-shadow: none !important;
}

@media(max-width: 750px) {
  .DocSearch-Button-Key, .DocSearch-Button-KeySeparator, .DocSearch-Button-Placeholder {
    display: block !important;
  }
}
/* docsearch end */