.wy-nav-content {
   max-width: 1050px
}

/* font color */

.red {
    color: red;
	font-weight: bolder;
    }
.blue {
    color: blue;
	font-weight: bolder;
    }
.green {
    color: green;
	font-weight: bolder;
    }
.red {
    color: red;
	font-weight: bolder;
    }
.yellow {
    color: yellow;
	font-weight: bolder;
    }
.orange {
    color: orange;
	font-weight: bolder;
    }

/* background color */	
	
.background-red {
    background-color: red;
	color: black;
    }
.background-blue {
    background-color: blue;
	color: black;
    }
.background-green {
    background-color: green;
	color: black;
    }
.background-red {
    background-color: red;
	color: black;
    }
.background-yellow {
    background-color: yellow;
	color: black;
    }
.background-orange {
    background-color: orange;
	color: black;
    }

/* sphinx-tabs */

.sphinx-tabs {
  margin-bottom: 1rem;
}
[role="tablist"] {
  border-bottom: 1px solid #a0b3bf;
}
.sphinx-tabs-tab {
  position: relative;
  font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
  color: #1D5C87;
  line-height: 24px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 5px 5px 0 0;
  border: 0;
  padding: 1rem 1.5rem;
  margin-bottom: 0;
}
.sphinx-tabs-tab[aria-selected="true"] {
  font-weight: 700;
  border: 1px solid #a0b3bf;
  border-bottom: 1px solid white;
  margin: -1px;
  background-color: white;
}
.sphinx-tabs-tab:focus {
  z-index: 1;
  outline-offset: 1px;
}
.sphinx-tabs-panel {
  position: relative;
  padding: 1rem;
  border: 1px solid #a0b3bf;
  margin: 0px -1px -1px -1px;
  border-radius: 0 0 5px 5px;
  border-top: 0;
  background: white;
}
.sphinx-tabs-panel.code-tab {
  padding: 0.4rem;
}
.sphinx-tab img {
	margin-bottom: 24 px;
}

/* Copy buttons */
button.copybtn {
    position: absolute;
    display: flex;
    top: .3em;
    right: .3em;
    width: 1.7em;
    height: 1.7em;
	opacity: 0;
    transition: opacity 0.3s, border .3s, background-color .3s;
    user-select: none;
    padding: 0;
    border: none;
    outline: none;
    border-radius: 0.4em;
    /* The colors that GitHub uses */
    border: #1b1f2426 1px solid;
    background-color: #f6f8fa;
    color: #57606a;
}

button.copybtn.success {
    border-color: #22863a;
    color: #22863a;
}

button.copybtn svg {
    stroke: currentColor;
    width: 1.5em;
    height: 1.5em;
    padding: 0.1em;
}

div.highlight  {
    position: relative;
}

.highlight:hover button.copybtn {
	opacity: 1;
}

.highlight button.copybtn:hover {
    background-color: rgb(235, 235, 235);
}

.highlight button.copybtn:active {
    background-color: rgb(187, 187, 187);
}

/**
 * A minimal CSS-only tooltip copied from:
 *   https://codepen.io/mildrenben/pen/rVBrpK
 *
 * To use, write HTML like the following:
 *
 * <p class="o-tooltip--left" data-tooltip="Hey">Short</p>
 */
 .o-tooltip--left {
  position: relative;
 }

 .o-tooltip--left:after {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    content: attr(data-tooltip);
    padding: .2em;
    font-size: .8em;
    left: -.2em;
    background: grey;
    color: white;
    white-space: nowrap;
    z-index: 2;
    border-radius: 2px;
    transform: translateX(-102%) translateY(0);
    transition: opacity 0.2s cubic-bezier(0.64, 0.09, 0.08, 1), transform 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
}

.o-tooltip--left:hover:after {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-100%) translateY(0);
    transition: opacity 0.2s cubic-bezier(0.64, 0.09, 0.08, 1), transform 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);
    transition-delay: .5s;
}

/* By default the copy button shouldn't show up when printing a page */
@media print {
    button.copybtn {
        display: none;
    }
}
