/* Sphinx themes
-------------------------------------------------- */
:root {
  --main-color: #006AFF;
  --hover-color: #006AFF; /*#9F2042;*/
  --main-size: 18px;
  --small-size: 14px;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  src: "url({{ pathto('_static/IBMPlexSans-Regular.ttf', 1) }})";
}

.aligncenter {
    text-align: center;
}

body {
  margin: 0;
  padding: 0;
  font-weight: 400!important;
  font-family: "IBM Plex Sans", Noto Sans,"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
  font-size: var(--main-size);
  line-height: 1.4;
  width: 100%;
  min-height: calc(100vh - 90px);
}

.css-transitions-only-after-page-load * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

#left-column {
  float: left;
  position: fixed;
  height: calc(100% - 70px);
  min-height: calc(100% - 70px);
  width: 300px;
  overflow: hidden;
  border-right: 1px #ddd solid;
  background-color: #fff;
  z-index: 2000;
}

#right-column {
  position: relative;
  padding: 20px 0px 20px 0px;
  margin-left: auto;
  max-width: 900px;
  width: 100%;
  height: auto;
  margin-right: auto;
  border-radius: 20px;
  margin-bottom: 100px;
  margin-top: 30px;
}

/* add box-shadow to gallery card */
.page-shadow {
  /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0), 0 6px 50px 0 rgba(0, 0, 0, 0.19);*/
  border: 0px;
}

#ucloud-logo {
  width: 210px;
}

a.headerlink {
  visibility: hidden;
  color: #ddd;
  padding: 0 4px;
  text-decoration: none;
}

a {
  color: #006AFF;  /*color hyperlinks #2A6496*/
}

h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
h4:hover > a.headerlink,
h5:hover > a.headerlink,
h6:hover > a.headerlink,
dt:hover > a.headerlink {
  visibility: visible;
}

h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a {
  color: #5C7C98;
}

h1, h2, h3, h4, h5, h6 {
  color: black;
  font-weight: normal;
  padding: 0;
  font-family: 'IBM Plex Sans', sans-serif!important;
}

h1, h2, h3 {
  margin-top: 30px;
  margin-bottom: 20px;
}

h1 {
  font-size: 38px;
  padding: 10px 10px 10px 45px;
  margin: 20px 0 15px -45px;
  width: calc(100% + 90px);
  padding-bottom: -29px;
}

h1 > code {
  font-size: 38px;
}

h2 {
  margin-top: 40px;
  font-size: 28px;
  padding: .2em 0;
  border-bottom: 1px solid #ddd;
}

h2 > code {
  font-size: 28px;
}

h3 {
  margin-top: 35px;
  font-size: 24px;
}

h3 > code {
  font-size: 24px;
}


h4 {
  margin-top: 30px;
  font-size: 20px;
}

h4 > code {
  font-size: 20px;
}

h5 {
  margin-top: 25px;
  font-size: 18px;
}

h5 > code {
  font-size: 18px;
}

div.clearer {
  clear: both;
}

.container-wrapper {
  padding: 0;
  position: relative;
  margin-top: -29px;
  padding-top: 29px;
}

div.related {
  display: none;
}

code {
  padding: 2px 0.7px !important;
  font-size: var(--main-size);
  font-family: Consolas, monospace;
}

pre, tt {
  font-size: 16px;
  font-family: Consolas, monospace;
}

code, tt {
  color: #cc0000!important;
}

tt {
  padding: 0 2px;
}

code, pre {
  line-height: 23px;
  margin: 20px 0;
  word-wrap: normal;
  background-color: #F9F9F9;
  color: white;
}

pre {
  color: #F5F7F9;
  background-color: #183055;  /*<<<<<<<<<<<<<<<<<<<*/
  border-color: #f7f7f7; 
  overflow: auto;
  border: 3px solid #eee;
  padding: 22px 0 22px 22px;
  padding-right: 0;
  margin: 20px 0;
}

div.highlight {
  background-color: none !important;
}

a.internal em {
  font-style: normal;
}

dl dd {
  margin: 3px 0 5px 30px;
}

dl.method,
dl.staticmethod,
dl.classmethod,
dl.attribute {
  border-bottom: 1px solid #ccc;
  margin-bottom: -30px;
}

dl.method:last-child,
dl.staticmethod:last-child,
dl.classmethod:last-child,
dl.attribute:last-child {
  border-bottom: 0px solid #fff;
}

.breadcrumb {
  font-size: 15px;
  margin-top: -20px;
  background: none;
  display: block;
  padding: 8px 15px;
  list-style: none;
  border-radius: 0px;
  border-bottom: 1px solid lightgray;
}

.breadcrumb>li {
  display: inline-block
}

.breadcrumb>li+li:before {
  content: "/\00a0";
  padding: 0 5px;
  color: #ccc
}

.breadcrumb>.active {
  color: #999
}

blockquote {
  border-width: .1em 0 .1em 0;
  border-color: #FEF9E7;
  border-style: solid;
  background-color: #FEF9E7;
  color: #000;
  margin: 20px 0;
  padding: 15px 20px;
  font-size: var(--main-size);
}

.btn-ucloud {
  color: #ffffff;
  background-color: var(--main-color);
  border: none;
  border-radius: 5px;
}

.btn-ucloud:hover,
.btn-ucloud:focus,
.btn-ucloud:active,
.btn-ucloud.active,
.open .dropdown-toggle.btn-ucloud {
  color: #ffffff;
  background-color: var(--hover-color);
  border: none;
  transform: scale(1.03);
  transition: all 60ms cubic-bezier(0.5, 0, 0.25, 1) 0s;
}

.btn-ucloud:active,
.btn-ucloud.active,
.open .dropdown-toggle.btn-ucloud {
  background-image: none;
}

.btn-ucloud.disabled,
.btn-ucloud[disabled],
fieldset[disabled] .btn-ucloud,
.btn-ucloud.disabled:hover,
.btn-ucloud[disabled]:hover,
fieldset[disabled] .btn-ucloud:hover,
.btn-ucloud.disabled:focus,
.btn-ucloud[disabled]:focus,
fieldset[disabled] .btn-ucloud:focus,
.btn-ucloud.disabled:active,
.btn-ucloud[disabled]:active,
fieldset[disabled] .btn-ucloud:active,
.btn-ucloud.disabled.active,
.btn-ucloud[disabled].active,
fieldset[disabled] .btn-ucloud.active {
  background-color: #19B37B;
  border: none;
}

.btn-ucloud .badge {
  color: #19B37B;
  background-color: #ffffff;
}

/* References and footnotes
-------------------------------------------------- */

td.label {
  margin-top: 1px;
  display: block;
  font-size: 100%;
  font-weight: bold;
  line-height: initial;
  color: #000;
  text-align: right;
  width: 50px;
}

table.citation {
  margin-bottom: 10px;
}

table.citation td {
  padding: 0px 5px !important;
}

table.citation:target {
  background-color: #ffa;
}

/* Sphinx sidebar
-------------------------------------------------- */

.sphinxsidebar {
  background-color: #F5F7F9
}

div.sphinxsidebar {
  word-wrap: break-word;
  position: absolute;
  overflow-y: scroll;
  top: 0;
  left: 0;
  bottom: 0;
  right: -20px;
  height: 100%;
  padding-top: 29px;
}

div.sphinxsidebar .panel-default > .panel-heading {
    background-image: none;
}

.sidebar-wrapper {
  padding: 0 22px;
}

div.sphinxsidebar h3,
div.sphinxsidebar h4 {
  font-weight: normal;
  margin: 0;
  padding: 0;
}


div.sphinxsidebar h4 {
  font-size: 16px;
}

div.sphinxsidebar p {
  margin: 20px 0px 10px 21px;
  font-weight: normal;
  padding: 0;
  font-family: 'IBM Plex Sans', sans-serif!important;
  font-size: var(--main-size);
  color: var(--main-color); 
}

div.sphinxsidebar a:hover {
  text-decoration: none;
}

.sidebar-toc {
  font-size: 16px;
  position: absolute;
  width: 300px;
  margin-top: 0px; /*position of toc*/
}

div.sphinxsidebar .sidebar-toc ul {
  margin: 0 0 4px 0;
  list-style-type: none;
  color: #000;
}

div.sphinxsidebar .sidebar-toc a {
  color: #364149;
  text-decoration: none;
}

.sidebar-toc > ul {
    padding: 0 !important;
    list-style-type: none;
    margin: 0;
}

.sidebar-toc ul li a {
  display: block;
}

.sidebar-toc ul li a:hover {
  color: var(--hover-color); 
}

.sidebar-toc > ul li.current {
  list-style-type: disc;
  margin-left: 25px;
  color: var(--main-color); 
  font-size: 16px;
}

.sidebar-toc > ul li.current > a,
.sidebar-toc > ul li.current > a:hover {
  background-color: #ddd;
  color: #444;
  margin-left: -25px;
  font-size: 16px;
}

.sidebar-toc > ul > li.current > a,
.sidebar-toc > ul > li.current > a:hover {
  background-color: white;
  font-weight: 700;
  color: #444;
}

.sidebar-toc ul li.toctree-l1 a {
  padding: 5px 21px;
}

.sidebar-toc ul li.toctree-l2 a {
  padding: 5px 30px;
}

.sidebar-toc ul li.toctree-l2 {
  background-color: #f9f9f9;
}

.sidebar-toc ul li.toctree-l3 a {
  padding: 5px 75px;
}

div.sphinxsidebar ul.want-points {
  padding-left: 20px;
  margin: 0;
}

div.sphinxsidebar .sidebar-toc ul ul {
  margin: 0;
  padding: 0;
}

.sidebar-localtoc ul {
    padding-left: 24px;
}

div.sphinxsidebar input {
  border: 1px solid #ccc;
  font-family: Helvetica, arial, freesans, clean, sans-serif;
  font-size: 1em;
}

.margin-top-1em {
  margin-top: 1em;
}

.sidebar-block {
  padding: 0;
}

.sidebar-block h2 {
  border-bottom: none;
  margin: 0 0 17px 0;
  font-size: 14px;
  font-family: "Lato", Helvetica, Arial, sans-serif;
  padding: 0 0 6px 0;
  font-weight: bold;
  text-transform: uppercase;
  color: #eee;
}

.sidebar-block .bd {
  font-size: 16px;
}

.text-logo {
  position: sticky;
  top: 0;
  overflow: hidden;
  font-size: 18px;
  height: 190px;
  z-index: 1;
  text-align: center;
  display: block;
  padding: 8px;
  color: #333;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0 0 20px 0;
  font-weight: bold;
  -o-transition:.5s;
  -ms-transition:.5s;
  -moz-transition:.5s;
  -webkit-transition:.5s;
  outline: 1px solid transparent;
  transition:.5s;
  background-color: #efefef;
}

.text-logo.active {
  height: 150px;
}

.logo {
  opacity: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  margin-top: 100px;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(.4,0,.2,1);
  outline: 1px solid transparent;
}

.logo.active {
  opacity: 1;
  width: 80%;
  margin: 0 0 0 0;
  visibility: visible;
}

.logo-small {
  width: 70%;
  opacity: 0;
  position: absolute;
  left: 50%;
  margin-top: -50px;
  transform: translateX(-50%);
  transition: all .6s cubic-bezier(.4,0,.2,1);
  outline: 1px solid transparent;
}

.logo-small.active {
  opacity: 1;
  margin: 0 0 0 0;
}

.text-logo:hover {
  color: #333;
  background: {{ theme_logo_hover_bg }};
  text-decoration: none;
}

#project-name {
  font-size: 18px;
  text-align: center;
  display: block;
  padding: 8px;
  color: #000;
  padding-bottom: 15px;
  letter-spacing: 2px;
  padding-top: 15px;
  margin-top: 0px;
  font-weight: bold;
}

.search-block {
  z-index: 1;
  margin-top: -30px;
  width: 92%;
  margin-left: 12px;
}

.nano .nano-pane {
  z-index: 3;
  background: none !important;
}

.nano .nano-slider {
  background: rgba(144, 144, 144, 0.5) !important;
}

/* Left-nav search box
-------------------------------------------------- */
.form-control:focus {
  border-color: #119a68;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(66, 164, 94, 0.6);
}

#main-search form .input-group {
  width: 100%;
  margin: 0 0 12px 0;
  padding: 0;
  border: none;
  position: unset !important;
}

#main-search form .input-group input {
  padding: 4px;
  width: 100%;
  border-radius: 20px;
  margin: 0;
  font-size: 15px;
  padding-left: 10px;
  padding-right: 10px;
}

.search-page-form {
  width: 350px;
}

/* Two-pane table list
-------------------------------------------------- */

.table-bordered>thead>tr>th,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>tbody>tr>td,
.table-bordered>tfoot>tr>td,
table.two-column.table-bordered caption+thead tr:first-child th:first-child,
table.two-column.table-bordered caption+tbody tr:first-child td:first-child,
table.two-column.table-bordered colgroup+thead tr:first-child th:first-child,
table.two-column.table-bordered colgroup+tbody tr:first-child td:first-child,
table.two-column tbody td {
  border-collapse: collapse;
  border: 0 0 0 0 solid #eee;
  border-left: none;
  padding: 8px 4px;
  font-size: 16px;
}

table.two-column {
  width: 100%;
  border: 0px none !important;
  box-shadow: none;
}
table td {
    font-size: var(--main-size);
    font-weight: unset!important;
}
table th {
    font-size: var(--main-size);
    font-weight: unset!important;
}
td {
  padding: 5px;
}
td:first-child {
    white-space: nowrap;
}

.longtable  {
    border-collapse: collapse;
    border: 1px solid #ccc;
}

.longtable tr.row-odd {
    border-bottom: 1px solid #ccc;
}

.longtable tr.row-even {
    border-bottom: 1px solid #ccc;
}

.longtable tr.row-odd > td {
    border-right: 1px solid #ccc;
}

.longtable tr.row-odd > td ~ td {
    border-right: 0px solid #fff;
}
.longtable tr.row-even > td {
    border-right: 1px solid #ccc;
}

.longtable tr.row-even > td ~ td {
    border-right: 0px solid #fff;
}

.summary-table  {
    border-collapse: collapse;
    border: 1px solid #fff;
}
.summary-table .longtable {
    border: 1px solid #fff;
}

.summary-table tr.row-odd {
    border-bottom: 1px solid #fff;
}

.summary-table tr.row-even {
    border-bottom: 1px solid #fff;
}

.summary-table tr.row-odd > td {
    border-right: 1px solid #fff;
}

.summary-table tr.row-odd > td ~ td {
    border-right: 0px solid #fff;
}
.summary-table tr.row-even > td {
    border-right: 1px solid #fff;
}

.summary-table tr.row-even > td ~ td {
    border-right: 0px solid #fff;
}

.summary-table td {
    padding: 0px 25px 1px 5px;
    font-size: 0.9rem;
}

/* Disqus comments styles
-------------------------------------------------- */

.up-button {
  top: 119px;
  max-width: 300px;
  left: calc(50% - 520px);
  font-size: xx-large;
  position: fixed;
  transition-property: opacity;
  transition-duration: 1s;
  opacity: 0.5;
}

.up-button:hover {
  transition-property: opacity;
  transition-duration: 0.2s;
  opacity: 1;
  transition-timing-function: linear;
}

.up-button a {
  color: #515151;
}

.comment-container {
  width: 350px;
  top: 119px;
  max-width: 350px;
  right: calc(50% - 870px);
  position: fixed;
  transition-property: opacity;
  transition-duration: 1s;
  opacity: 0.5;
  height: 100%;
}

.comment-container:hover {
    transition-property: opacity;
    transition-duration: 0.2s;
    opacity: 1;
    transition-timing-function: linear;
}

.comment-container h3 {
  margin-top: 10px;
  color: #515151;
}

#comments > ul:first-of-type > li > a{
    display:none;
}


#comments ul > li > ul > li > ul {
    margin-top: -7px;
    margin-left: 20px;
    margin-bottom: -15px;
    font-size: smaller;
}

#comments ul > li > ul > li > ul > li {
    margin-bottom: -15px;
}

/* remove h4 headers from right toc */
#comments ul > li > ul > li > ul > li > ul > li { 
    display: none; 
}

#comments a:hover {
  text-decoration: none;
}

#comments {
  font-size: 15px;
  width: 300px;
}

#comments ul {
  margin: 0 0 10px 0;
  list-style-type: none;
  color: #000;
}

#comments a {
  font-family: "IBM Plex Sans",Noto Sans,"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
  color: #606060;
  text-decoration: none;
}

#comments p {
  font-size: 95%;
}

#comments ul {
  list-style-type: none;
  padding: 0!important;
}

#comments li {
  list-style-type: none;
  padding-bottom: 10px;
}

#comments ul li a {
display: block;
padding: 7px;
border-radius: 7px;
font-size: 15px;
}

#comments ul li a:hover {
  color: var(--hover-color);
}

#comments .caption {
  display: none;
}

#comments > ul > li:not(.current)  {
  display: none;
}

#comments > ul.current > li.current > a  {
  display: none;
}

#comments code {
  font-size: 15px;
}

/* Next and previous links
-------------------------------------------------- */

.footer-relations {
  font-size: 15px;
  display: block;
  padding: 20px 40px 0 40px;
  border-radius: 0px;
  border-top: 1px solid lightgray;
  margin-top: 80px;
}

.footer-relations > .pull-left {
  display: inline-block;
  float: left;
}

.footer-relations > .pull-right {
  display: inline-block;
  float: right;
}

.rel-spacer {
  height: 40px;
}

/* Footer styling
-------------------------------------------------- */

div.footer {
  padding: 25px;
  font-size: 14px;
  color: #888;
  text-align: right;
  max-width: 1200px;
  width: 100%;
  background: white;
}

div.footer a {
  color: #888;
}

/* -- relbar ---------------------------------------------------------------- */

div.related {
  width: 100%;
  font-size: 90%;
}

div.related h3 {
  display: none;
}

div.related ul {
  margin: 0;
  padding: 0 0 0 10px;
  list-style: none;
}

div.related li {
  display: inline;
}

div.related li.right {
  float: right;
  margin-right: 5px;
}

/* -- search page ----------------------------------------------------------- */

ul.search {
  margin: 10px 0 0 20px;
  padding: 0;
}

ul.search li {
  padding: 5px 0 5px 20px;
  background: url(file.png) no-repeat 0 7px;
}

ul.search li a {
  font-weight: bold;
}

ul.search li div.context {
  color: #888;
  margin: 2px 0 0 30px;
  text-align: left;
}

ul.keywordmatches li.goodmatch a {
  font-weight: bold;
}

/* -- general index --------------------------------------------------------- */

table {
  margin-bottom: 20px;
}

table.indextable {
  width: 100%;
}

table.indextable td {
  text-align: left;
  vertical-align: top;
}

table.indextable dl, table.indextable dd {
  margin-top: 0;
  margin-bottom: 0;
}

table.indextable tr.pcap {
  height: 10px;
}

table.indextable tr.cap {
  margin-top: 10px;
  background-color: #f2f2f2;
}

img.toggler {
  margin-right: 3px;
  margin-top: 3px;
  cursor: pointer;
}

div.modindex-jumpbox {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin: 1em 0 1em 0;
  padding: 0.4em;
}

div.genindex-jumpbox {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin: 1em 0 1em 0;
  padding: 0.4em;
}

/* -- general body styles --------------------------------------------------- */

.body {
  padding: 0 45px;
}

div.body p.caption {
  text-align: inherit;
}

table.field-list {
  /*border: 1px solid #ddd;*/
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

table.field-list td,
table.field-list th {
  /*border: 1px solid #ddd;*/
  padding: 8px;
  vertical-align: top;
  line-height: 1.4;
}

.field-list ul {
  padding-left: 1em;
}

.field-name {
    width: 110px;
}

.first {
  margin-top: 0 !important;
}

p.rubric {
  margin-top: 30px;
  font-weight: bold;
}

div.figure {
  padding-bottom: 10px;
  padding-top: 10px;
}

img.align-left, .figure.align-left, object.align-left {
  clear: left;
  float: left;
  margin-right: 1em;
}

img.align-right, .figure.align-right, object.align-right {
  clear: right;
  float: right;
  margin-left: 1em;
}

img.align-center, .figure.align-center, object.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

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

/* -- topics ---------------------------------------------------------------- */

div.topic {
  border: 1px solid #e8e8e8;
  padding: 7px 7px 0 7px;
  margin: 10px 0 10px 0;
  background-color: #f8f8f8;
}

p.topic-title {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 10px;
}

/* -- contents-------------------------------------------------------------- */

div.topic.contents {
    /*display: inline-block;*/
    border-radius: 3px;
    padding: 24px 36px 18px 36px;
}

div.topic.contents > ul {
    padding-left: 20px;
    padding-left: 20px;
    max-height: 100px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

div.topic.contents > ul > li {
    margin-bottom: 10px;
}

/* -- admonitions ----------------------------------------------------------- */

.admonition {
  margin: 20px 0;
  padding: 20px;
  background-color: #fff;
  /*border: 1px solid #eee;*/
  border-left-width: 0px;
  border-radius: 3px;
}

.admonition p {
  font-weight: inherit;
}

.admonition dt {
  font-weight: bold;
}

.admonition dl {
  margin-bottom: 0;
}

.admonition-title {
  margin: 0px 0 5px;
  padding: 0;
  font-weight: bold!important;
  font-size: var(--main-size);
  line-height: 1.1;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.admonition.important,
.admonition.danger {
  background-color:#f3f8f9;
  border-left: 5px solid #cc0000;
}

.admonition.important .admonition-title,
.admonition.danger .admonition-title {
  color: #cc0000;
}

.admonition.warning {
  background-color: #f3f8f9;
  border-left: 5px solid #ff6600;
}

.admonition.warning .admonition-title {
  color: #ff6600;
}

.admonition.hint {
  background-color: #f3f8f9;
  border-left: 5px solid #7700BB;
}

.admonition.hint .admonition-title {
  color: #7700BB;
}

/* terminal output style */
.admonition.tip {
  margin: -20px 0 20px;
  overflow: auto;
  border: 3px solid #eee;
  padding: 22px 0 22px 22px;
  padding-right: 0;
  background-color: #f3f8f9;
  border-radius: 0px;
  border-top: 0px;
  font-size: 16px;
  font-family: Consolas, monospace;
}

.admonition.tip .admonition-title {
  color: #2ECC71;
  display: none;
}

.admonition.note {
  background-color: #f3f8f9;
  border-left: 5px solid #006AFF;
}

.admonition.note .admonition-title {
  color: #006AFF;
}

div.body p.centered {
  text-align: center;
  margin-top: 25px;
}

div.seealso {
  background-color: #ffc;
  border: 1px solid #ff6;
  padding: 20px 10px 0 20px;
}

div.admonition tt.xref, div.admonition a tt {
  border-bottom: 1px solid #fafafa;
}

div.admonition p.last {
  margin-bottom: 0;
}

/* restructured text tables -------------------------- */

.docstable {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  border: 1px solid #fff;
}


.docstable th:first-child,
.docstable td:first-child {
  text-align: center !important;
}

.docstable tr.row-even th,
.docstable tr.row-even td{
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  text-align: center;
  vertical-align: middle;
}

.docstable tr.row-odd th,
.docstable tr.row-odd td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #fff;
  border-right: 1px solid #eee;
  text-align: center;
  vertical-align: middle;
}

.docstable th:last-child,
.docstable td:last-child {
  border-right: 1px solid #fff;
}

.docstable thead th {
  vertical-align: bottom;
  border-bottom: 2px solid {{ theme_table_header_border }} !important;
  border-right: 1px solid {{ theme_table_header_bg }} !important;
  background-color: {{ theme_table_header_bg }};
  text-align: center !important;
}

.docstable tbody + tbody {
  border-top: 2px solid #eee;
}

.docstable .docstable {
  background-color: #fff;
}

.docstable tbody tr:nth-of-type(odd) {
  background-color: #fff;
}

.docstable,
.docstable > th,
.docstable > td {
  background-color: #eee;
}

.docstable p.first {
  margin-bottom: 0 !important;
}

.docstable-nohead tr.row-even th,
.docstable-nohead tr.row-even td{
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #fff;
  border-right: 1px solid #eee;
  text-align: center;
  vertical-align: middle;
}

.docstable-nohead tr.row-odd th,
.docstable-nohead tr.row-odd td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  text-align: center;
  vertical-align: middle;
}

/* Gallery tables -------------------------- */

.gallery-table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  border: 1px solid #fff;
}

.gallery-table a {
  color: #119a68;
  font-size: 13pt;
}

.gallery-table a:hover {
  color: #119a68;
}
.gallery-table img {
  padding-bottom: 20px;
}

.gallery-table .gallery-table {
  background-color: #fff;
}

.gallery-table p.first {
  margin-bottom: 0 !important;
}

.gallery-table tr th,
.gallery-table tr td{
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  text-align: center;
  vertical-align: middle;
}

/* -- other body styles ----------------------------------------------------- */

ol.arabic {
  list-style: decimal;
}

ol.loweralpha {
  list-style: lower-alpha;
}

ol.upperalpha {
  list-style: upper-alpha;
}

ol.lowerroman {
  list-style: lower-roman;
}

ol.upperroman {
  list-style: upper-roman;
}

.highlighted {
  background-color: #fbe54e;
}

dl.glossary dt {
  font-weight: bold;
  font-size: 1.1em;
}

.field-list ul {
  margin: 0;
  padding-left: 1em;
}

.refcount {
  color: #060;
}

.optional {
  font-size: 1.3em;
}

.versionmodified {
  font-style: italic;
}

.system-message {
  background-color: #fda;
  padding: 5px;
  border: 3px solid red;
}

.footnote:target  {
  background-color: #ffa;
}

.line-block {
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
}

.line-block .line-block {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 1.5em;
}

.guilabel, .menuselection {
  font-family: sans-serif;
}

.accelerator {
  text-decoration: underline;
}

.classifier {
  font-style: oblique;
}

abbr, acronym {
  border-bottom: dotted 1px;
  cursor: help;
}

dt:target, .highlight {
  background: none !important;
}

dt:target {
    background-color: white !important;
}

dt:target code {
    background-color: white !important;
    border-bottom: 3px {{theme_download_button}} solid;
}

.method dt:target,
.attribute dt:target,
.staticmethod dt:target,
.classmethod dt:target
 {
    padding: 5px;
}

.exception > dt {
  background: #ffebee;
  border-radius: 5px;
  padding: 5px;
}

.exception > dt code {
  background: #ffebee;
}

.function > dt {
  background: #daf0e9;
  border-radius: 5px;
  padding: 5px;
}

.function > dt code {
  background: #daf0e9;
}

.function > dt::before {
  content: 'function ';
  font-style: italic;
}

.method > dt::before {
  content: 'meth ';
  font-style: italic;
}

.attribute > dt::before {
  content: 'attr ';
  font-style: italic;
}

.class > dt {
    background: #eee;
    border-radius: 5px;
    padding: 5px;
}

.class > dt code {
    background: #eee;
}

/* -- code displays --------------------------------------------------------- */

td.linenos pre {
  padding: 0px 0px;
  border: 0;
  background-color: transparent;
  color: #aaa;
}

table.highlighttable {
  width: 100%;
  margin-left: 0.5em;
}

table.highlighttable td {
  padding: 0 0 0 0;
}

tt.descname {
  background-color: transparent;
  font-weight: bold;
  padding-right: 0.08em;
}

tt.descclassname {
  background-color: transparent;
}

tt.descname, tt.descclassname {
  font-size: 0.95em;
}

code.descname {
    padding-left: 0;
}

code.descclassname {
    padding-right: 0;
}

tt.xref, a tt {
  background-color: transparent;
  font-weight: bold;
}

h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
  background-color: transparent;
}

.viewcode-link {
  float: right;
}

.viewcode-back {
  float: right;
  font-family: sans-serif;
}

div.viewcode-block:target {
  margin: -1px -10px;
  padding: 0 10px;
}

/* -- math display ---------------------------------------------------------- */

img.math {
  vertical-align: middle;
}

div.body div.math p {
  text-align: center;
}

span.eqno {
  float: right;
}

/* -- Theme specific classes - */

.overflow-height-500px {
  overflow: auto;
  height: 500px;
}

.overflow-height-250px {
  overflow: auto;
  height: 250px;
}

/* Toggle mobile view
-------------------------------------------------- */

.social-section {
  font-size: 22px;
}

.footer-heading {
  margin-bottom: -10px;
  font-size:22px;
}

.page-footer {
  z-index: 0;
  background-color: white;
  position: relative;
  color: black!important;
  padding-top: 0!important;
  margin-left: 300px;
}

.page-footer a {
  color: {{ theme_download_button }}!important;
}

.page-footer p {
  color: #808080;
}

footer.page-footer .footer-copyright {
  color: #808080!important;
  background-color: white!important;

}
/* Small screen styles
-------------------------------------------------- */

@media screen and (max-width: 560px) {
  .sphx-glr-thumbcontainer {
    width: calc(100% / 2.2);
  }

  .sphx-glr-thumbcontainer img {
    transform: scale(0.8);
  }

  .sphx-glr-thumbcontainer .figure {
    margin: 0px!important;
  }

  #ucloud-logo {
    width: 151px;
  }

}

@media screen and (max-width: 768px) {

  body {
    padding: 0px;
    margin: 0px;
    background-color: #fff;
    font-size: var(--small-size);
  }

/*
h1 {
  font-size: 38px;
  padding: 10px 10px 10px 45px;
  margin: 20px 0 15px -45px;
  width: calc(100% + 90px);
  padding-bottom: -29px;
}

h1 > code {
  font-size: 38px;
}

h2 {
  margin-top: 40px;
  font-size: 28px;
  padding: .2em 0;
  border-bottom: 1px solid #ddd;
}

h2 > code {
  font-size: 28px;
}

h3 {
  margin-top: 35px;
  font-size: 24px;
}

h3 > code {
  font-size: 24px;
}


h4 {
  margin-top: 30px;
  font-size: 20px;
}

h4 > code {
  font-size: 20px;
}

h5 {
  margin-top: 25px;
  font-size: 18px;
}

h5 > code {
  font-size: 18px;

*/

  h1 {
    margin-left: 0;
    width: 100%;
    padding: 10px;
    font-size: 30px;
  }

  h1 > code {
    font-size: 30px;
  }

  h2 {
    margin-top: 20px;
    font-size: 22px;
  }

  h2 > code {
    font-size: 22px;
  }

  h3 {
    font-size: 19px;
  }

  h3 > code {
    font-size: 19px;
  }

  h4 {
    font-size: 15px;
  }

  h4 > code {
    font-size: 15px;
  }

  h5 {
    font-size: var(--small-size);
  }

  h5 > code {
    font-size: var(--small-size);
  }

  #mobile-toggle {
    display: block;
    width: 56px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    box-shadow: none;
    font-size: unset;
    padding: unset;
  }

  .container-wrapper {
    margin-top: -29px;
  }

  #left-column {
    position: relative;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    float: none;
    margin-left: 0;
    box-shadow: none!important;
  }

  blockquote {
    font-size: var(--small-size);
  }

  .sidebar-toc {
    position: relative;
  }

  .nano .nano-content {
    position: relative;
  }

  div.sphinxsidebar {
    word-wrap: break-word;
    position: relative;
    overflow-y: scroll;
    top: 0;
    left: 0;
    bottom: 0;
    right: -20px;
    height: 100%;
  }

  .admonition-title {
    font-size: var(--small-size);
  }

  .admonition.tip {
    font-size: 13px;
    padding: 2px 0 2px 2px;
  }

  #showsource {
    display: none;
  }

  .footer-relations {
    padding: 12px 10px 12px 10px;
    left: 0;
  }

  #right-column {
    margin-left: 0;
    margin-top: -30px;
    padding: 50px 20px 80px 20px;
    width: 100%;
    float: none;
    margin-bottom: -25px;
  }

  .comment-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    position: inherit;
    float: none;
    margin-top: unset;
    margin-bottom: unset;
  }

  .comment-container {
    display: none;
  }

  #bottom-dl {
    display: block !important;
  }

  .document {
    position: relative;
    padding: 0;
    width: 100%
  }

  .body {
    padding: 0px;
  }

  p {
    padding: 0;
  }

  p.lead.black-text {
    font-size: var(--small-size);
  }

  table td {
    font-size: var(--small-size);
    font-weight: unset!important;
  }

  table th {
    font-size: var(--small-size);
    font-weight: unset!important;
  }

 /* .xanadu-call-to-action-links {
    display: none;
  }*/

  .gallery-grid {
    justify-content: center!important;
  }

  .nav-item.active {
      font-weight: bold;
  }

  .nav-item:hover:after,
  .nav-item.active:after {
      border-bottom: 0px!important;
  }

  code {
    font-size: var(--small-size);
  }

  pre, tt {
    font-size: 13px;
  }

  pre {
    padding: 2px 0 2px 2px;
    line-height: 20px;
  }

  .footer-heading {
    font-weight: unset!important;
    font-size: 18px!important;
  }

  footer.page-footer .footer-copyright {
    font-size: x-small;
  }

  .page-footer {
    margin-left: 0;
  }


}

/* Account for when the left column is closed then page is expanded.
-------------------------------------------------- */

@media screen and (min-width: 768px) {
  #left-column {
    display: block !important;
  }

  #showsource {
    display: block !important;
  }
}

@media screen and (max-width: 968px) {
  .navbar {
    box-shadow: none!important;
    border-bottom: 1px #ddd solid;
  }

  .nav-item.active {
      font-weight: bold;
  }

  .nav-item:hover:after,
  .nav-item.active:after {
      border-bottom: 0px!important;
  }

}

@media screen and (max-width: 1500px) and (min-width: 768px){
  .comment-container {
    margin-left: calc(50% - 300px);
    padding-left: 0;
    padding-right: 0;
    max-width: 900px;
    width: -webkit-calc(100% - 300px);
    width:    -moz-calc(100% - 300px);
    width:         calc(100% - 300px);
    position: inherit;
    float: left;
    margin-top: unset;
    margin-bottom: unset;
  }

  .container-wrapper {
    margin-top: -29px;
  }

  .page-footer {
    margin-left: 260px;
  }

 /* .xanadu-call-to-action-links {
    display: none;
  }*/

  #right-column {
    width: -webkit-calc(100% - 260px);
    width:    -moz-calc(100% - 260px);
    width:         calc(100% - 260px);
    margin: -30px 0 -20px 260px;
    padding: 50px 20px 80px 20px;
    float: none;
  }

  .comment-container {
    display: none;
  }

  #bottom-dl {
    display: flex !important;
  }

  #mobile-toggle {
    display: none;
  }

  .navbar {
    box-shadow: none!important;
    border-bottom: 1px #ddd solid;
  }

  #left-column {
    box-shadow: none!important;
    border-right: 1px #ddd solid;
    width: 260px;
  }

  .sidebar-toc {
    width: 260px;
  }

}

/* Navbar */

.section::before {
  content: "";
  display: block;
  height: 50px; 
  margin: -70px 0 0; 
}

.navbar {
  background-color: var(--main-color);
  z-index: 10000;
  box-shadow: -1px 14px 30px -20px rgba(0,0,0,0.61);
}

.navbar-brand {
  padding-bottom: 0px;
}

.navbar-nav {
  padding-bottom: 1px;
  padding-left: 30px;
}


.navbar .navbar-nav > li {
    transition-duration: 0s;
    margin-left: 20px;
    font-size: initial;
    color: black;
    font-family: 'IBM Plex Sans', sans-serif!important;
    font-size: 19px; /*<<<<<<<<<<<<<<<*/
    margin-bottom: -9px;
    border-bottom: 3px solid;
    border-bottom-color: var(--main-color);
}

.nav-item:hover,
.nav-item.active {
  position: relative;
}

.nav-item:hover:after {
  border-bottom-color: var(--main-color);
}
.nav-item.active:after {
    border-bottom: 3px solid;
    content: "";
    border-bottom-color: white;
    position: absolute;
    bottom: -3px;
    width: 80%;
    left: 10%;
}

.navbar.navbar-light .breadcrumb .nav-item .nav-link, .navbar.navbar-light .navbar-nav .nav-item .nav-link {
    color: white; /*color text nav bar*/
    font-weight: normal;
    transition: 0s;
}

.nav-link:hover {
    color: white!important; /*hover text nav bar*/
}

.navbar.navbar-light .breadcrumb .nav-item.active > .nav-link, .navbar.navbar-light .navbar-nav .nav-item.active > .nav-link {
    background-color: inherit!important;
}


.card {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.05),0 2px 25px 2px rgba(0,0,0,.05)!important;
    border: 0;
    border-radius: 10px!important;
    transition-duration: 0.4s;
    background-color: white;
}


.card:hover {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.05),0 2px 25px 2px rgba(0,0,0,.2)!important;
    border: 0;
    transition-duration: 0.4s;
    border-radius: 10px!important;
}

/* Input text
-----------------------------------------*/
.md-input {
  position:relative;
  left: -10px;
}

.md-input input {
  font-size: 18px;
  padding: 15px 10px 10px 20px;
  display:block;
  width: 109%;
  border:none!important;
  border-bottom:1px solid #ddd!important;
  font-family: unset;
  background-color: #f9f9f9;
}

.md-input input:focus {
  outline:none;
}

.md-input label {
  color: #999;
  font-size: 18px;
  font-weight: 300;
  position: absolute;
  pointer-events: none;
  left: 20px;
  top: 15px;
  transition:0.2s ease all;
  -moz-transition:0.2s ease all;
  -webkit-transition:0.2s ease all;
}

/* active state */
.md-input input:focus ~ label,
.md-input input:valid ~ label {
  top: 4px;
  font-size: 10px;
  color: #5264AE;
}

.md-input input:invalid {
  box-shadow: none;
}

.md-input .bar {
  position:relative;
  display:block;
  width:300px;
}

.md-input .bar:before,
.md-input .bar:after {
  content:'';
  height:1px;
  width:0;
  bottom:1px;
  position:absolute;
  background: {{ theme_download_button }};
  transition:0.2s ease all;
  -moz-transition:0.2s ease all;
  -webkit-transition:0.2s ease all;
  opacity: 0;
}

.md-input .bar:before {
  left:50%;
}

.md-input .bar:after {
  right:50%;
}

.md-input input:focus ~ .bar:before,
.md-input input:focus ~ .bar:after {
  width:50%;
  opacity: 1;
}

div.body > div > span,
.section > span {
    display: block;
    position: relative;
    top: -40px;
    visibility: hidden;
}

dl.attribute > dt:before,
dl.staticmethod > dt:before,
dl.classmethod > dt:before,
dl.method > dt:before {
    content: '';
    display: block;
    position: relative;
    width: 0;
    margin-top: 60px
}

dl.class {
  padding-bottom: 20px;
}

dl.class dd > .rubric {
  margin-top: 60px;
}

dl.class dd > .rubric:last-of-type {
  margin-bottom: -40px;
}

dl.class > dd > table.docutils {
    margin-bottom: -40px;
}

dd > .collapse-header:first-of-type > h2 {
  margin-top: 70px;
}


dd > .collapse-header {
  margin-top: 60px;
}

.rotate {
    -moz-transition: all .1s linear;
    -webkit-transition: all .1s linear;
    transition: all .1s linear;
}
.rotate.up {
    -moz-transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
    transform:rotate(180deg);
}

.o-tooltip--left::after {
  top: -2px;
  left: -10px;
  font-size: 12px;
}

a.copybtn {
  top: 20px;
  right: 14px;
  opacity: 0.5;
  padding: 0;
  font-size: 15px;
}
