/*
 * Tweak the overal size to better match RTD.
 */
body {
    font-size: 90%;
    color: #2C3E50;
}

h2, h3, h4, h5, h6, legend {
    font-family: Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1 {
    font-size:30px;
    letter-spacing: -.5px;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    font-family: OpenSansSemiBold,sans-serif;
    color: #0077e0;
}

h2 {
    color: #56B6FF;
}

h3, h4, h5, h6 {
    /*color: #2980b9;*/
    color: #2C3E50;
    /*font-weight: 300*/
    font-weight: 600;
}

/*
 * Sphinx doesn't have support for section dividers like we do in
 * MkDocs, this styles the section titles in the nav
 *
 * https://github.com/mkdocs/mkdocs/issues/175
 */
.wy-menu-vertical span {
    line-height: 18px;
    padding: 0.4045em 1.618em;
    display: block;
    position: relative;
    font-size: 90%;
    /*color: #838383;*/
    color: #fff;
}

.side-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    width: 272px;
}
.rst-versions {
    height: 32px;
    padding-top: 4px;
    border-top-width: 3px;
}
.rst-versions.rst-badge.shift-up {
    max-width: 268px;
    height: 97px;
    bottom: 32px;
}
.rst-versions.rst-badge .rst-current-version {
    line-height: 8px;
    top: 46px;
    padding: 0;
}

.rst-versions.shift-up .rst-other-versions {
    width: 268px;
    position: absolute;
    bottom: 0;
}

.wy-side-nav-search>a {
    background-repeat: no-repeat;
    width: 258px;
}

.wy-menu-vertical .subnav a {
    padding: 0.4045em 2.427em;
}

.wy-menu-vertical li ul {
    display: inherit;
}

.wy-menu-vertical li ul.subnav ul.subnav{
    padding-left: 1em;
}

.current ul div{
    display: none;
}

.fa-angle-up {
    display: none;
}

/*#for-label:checked ~ #hidden_toctree-l4-incl {*/
    /*display: block;*/
/*}*/
.toctree-l4:hover, .toctree-l4-incl:hover,
.wy-menu-vertical li.toctree-l1 > a:hover,
.toctree-l1:hover,
ul.current span:hover{
    color: #fff !important;
    background-color: #708bb6 !important;
}

#hidden_toctree-l4-incl {
    width: 300px;
}

#hidden_toctree-l4-incl .toctree-l4-incl {
    padding-left: 50px;
}

#for-label:checked > .fa-angle-down {
    display: none;
}
#for-label:checked > .fa-angle-up {
    display: none;
}

.fa-angle-down, .fa-angle-up {
    padding-left: 5px;
}

.wy-menu-vertical li.current ul .toctree-l4:checked ~ .toctree-l4-incl{
    display: block;
}

.wy-menu-vertical li.current ul .toctree-l4 {
    color:#fff;;padding:0.4045em 2.427em; background-color:#5a6078;
    margin-bottom: 0;
    font-size: 100%;
}

.wy-menu-vertical li.current ul .toctree-l4 {
    padding-right: 2px;
}

.fa-angle-down {
    display: inline;
}

.wy-menu-vertical li.current ul .toctree-l4:not(checked) ~ .toctree-l4-incl{
    display: none;
}

/*
 * Long navigations run off the bottom of the screen as the nav
 * area doesn't scroll.
 *
 * https://github.com/mkdocs/mkdocs/pull/202
 */
.wy-nav-side.stickynav {
    height: 100%;
    overflow-y: auto;
}

.wy-nav-side,
.rst-versions,
.wy-nav-side.stickynav,
.wy-side-nav-search,
.rst-versions.shift-up .rst-other-versions {
    width: 280px;
}

/*
 * readthedocs theme hides nav items when the window height is
 * too small to contain them.
 *
 * https://github.com/mkdocs/mkdocs/issues/#348
 */
.wy-menu-vertical ul {
  margin-bottom: 2em;
}

/*
 * Fix wrapping in the code highlighting
 *
 * https://github.com/mkdocs/mkdocs/issues/233
 */
code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    white-space: pre;
    background-color: #f9f2f4;
    border-radius: 4px;
    border: none;
}

/*
 * Wrap inline code samples otherwise they shoot of the side and
 * can't be read at all.
 *
 * https://github.com/mkdocs/mkdocs/issues/313
 */
p code {
    word-wrap: break-word;
}

/*
 * The CSS classes from highlight.js seem to clash with the
 * ReadTheDocs theme causing some code to be incorrectly made
 * bold and italic.
 *
 * https://github.com/mkdocs/mkdocs/issues/411
 */
code.cs, code.c {
    font-weight: inherit;
    font-style: inherit;
}

/*
 * Fix some issues with the theme and non-highlighted code
 * samples. Without and highlighting styles attached the
 * formatting is broken.
 *
 * https://github.com/mkdocs/mkdocs/issues/319
 */
.no-highlight {
  display: block;
  padding: 0.5em;
  color: #333;
}

@media screen and (min-width: 1400px) {
    .wy-nav-content-wrap {
        background: none;
    }
}

pre code {
    font-size: 90%;
    /*background-color: #ecf0f1;*/
    background-color: #ffffff;/*rgb(243, 243, 243); /*#ecf0f1;*/
    /*border: 1px solid #ccc;*/
}

pre code.example {
    background-color: white;
}

.wy-menu-vertical .toctree-l1 a {
    color: #f6f8f7;
    padding-left: 22px;
}

.wy-nav-top {
    background-color: #868A9C;
    top: 40px;
}

.rst-content .note .admonition-title {
    background-color: #7792ac;
}

#jel {
   background-color: #E8E8E8;
   border: 1px solid #9d9da2;
}

#cs {
    border: 1px solid #9d9da2;
}

#bs-pr {
    border: 3px solid #e1e4e5;
}

#bs-pr .tr {
    border: 1px solid gray;
    padding: 8px 8px;
}

#first-col {
    font-size: 100%;
}

#table-head {
   font-size: 17px;
   background-color: #c5c5ca;
}

#cs td, #jel td {
   text-align: center;
   font-size: 13px;
   padding: 8px 8px;
}

/*
 * Additions specific to the search functionality provided by MkDocs
 */

#mkdocs-search-results article h3
{
    margin-top: 23px;
    border-top: 1px solid #E1E4E5;
    padding-top: 24px;
}

#mkdocs-search-results article:first-child h3 {
    border-top: none;
}

#mkdocs-search-query{
    width: 100%;
    border-radius: 0px;
    padding: 6px 12px;
    border-color: #ccc;
    background-color: #fff;
}

.wy-menu-vertical li ul {
    display: inherit;
}

.wy-menu-vertical li ul.subnav ul.subnav{
    padding-left: 1em;
}
.rst-versions .prew-arrows {
    width:17px; height:21px; display:block;background-image:url(../img/arrows-prew-inactive.png); display: inline-block; margin-right:15px;
}
.rst-versions .next-arrows {
    width:17px; height:21px; display:block;background-image:url(../img/arrows-next-inactive.png);  display: inline-block;
}
.rst-versions .next-arrows a, .rst-versions .prew-arrows a {
    display: block; width:17px; height:21px;
}
.rst-versions .prew-arrows:hover {
    background-image:url(../img/arrows-prew-active.png);
}
.rst-versions .next-arrows:hover {
    background-image:url(../img/arrows-next-active.png);
}
.wy-menu-vertical a:active {
    background-color: transparent;
}
.rst-versions.rst-badge.shift-up .rst-current-version {
    top: 106px;
}
.wy-nav-content {
    min-height: 100vh;
    /*padding-left: 10px;*/
}
.fa-angle-down:before,a .fa-angle-up:before {
    vertical-align: text-bottom;
}

button#copyButton {
    position: absolute;
    margin-left: 700px;
    padding-bottom: 3px;
    border: 1px solid gray;
    border-radius: 3px;
    background-color: #f0f4f7;
    opacity: 0.6;
    right: 4px;
    margin-top: 4px;
    width: 50px;
    height: 28px;
}

.rst-content {
    padding-top: 20px;
}

.rst-content img {
    width: initial;
}

img.clippy {
    width: 15px;
}

.icon.icon-github {
    padding-top: 7px;
    font-size: 15px;
}

h1.default, h2.default {
    color: #2C3E50
}
form#rtd-search-form {
    color: #333333;
}

.rst-versions.rst-badge.shift-up {
    background-color: rgba(31, 29,29, 0);
}

.rst-versions .rst-other-versions {
    padding: 10px;
}

.wrapper-send-report {
    background: rgba(0,0,0,.6);
    z-index: 9999;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.wrapper-send-report .popup-header h2 {
    color: #fe676c;
}

.wrapper-send-report .popup-header, .wrapper-send-report .popup-description {
    padding: 10px 15px 5px 15px;
}

.wrapper-send-report .popup-description .selected {
    background: #eee;
    padding: 5px;
    margin: 5px 0 5px 0;
}

.wrapper-send-report .popup-description .selected .text {
    display: block;
    overflow: auto;
    max-height: 100px;
}

.wrapper-send-report .successText {
    opacity: 0.8;
    padding: 20px;
}

.wrapper-send-report .popup-content, .wrapper-send-report .successText {
    margin: 0 auto 0 auto;
    min-width: 250px;
}

.wrapper-send-report .popup-content, .wrapper-send-report .successText {
    max-width: 600px;
    background: white;
    width: 50%;
}

.wrapper-send-report .popup-pane {
    padding: 0 15px 10px;
}

.wrapper-send-report .popup-pane .rst-content .admonition-title {
    margin: 0;
}

.wrapper-send-report .popup-pane .note {
    padding: 3px;
    margin-bottom: 15px;
    line-height: 16px;
}

.wrapper-send-report .popup-pane .name {
    padding-bottom: 5px;
    display: grid;
}

.wrapper-send-report .popup-pane .name .input {
    padding: 4px 0 4px 5px;
    margin-top: 5px;
    display: inline-block;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 3px #ddd;
    -webkit-transition: border 0.3s linear;
    -moz-transition: border 0.3s linear;
    transition: border 0.3s linear;
}

.wrapper-send-report .popup-pane .comment {
    padding: 4px 0 4px 5px;
    font-size: 100%;
    margin-top: 5px;
    max-height: 200px;
    min-height: 100px;
    height: 170px;
}

.wrapper-send-report .popup-pane .actions {
    margin-top: 10px;
    text-align: right;
}

.wrapper-send-report .popup-pane .markdown-icon {
    padding-top: 2px;
    float: right;
    position: relative;
}

.wrapper-send-report .popup-pane .markdown-icon:before {
    content: url(../img/markdown_icon.png);
    float: right;
}

.wrapper-send-report .popup-pane .markdown-icon:hover {
    background		: #ffffff;
    text-decoration	: none;
}

.wrapper-send-report .popup-pane .markdown-icon div {
    position: absolute;
    width: 200px;
}

.wrapper-send-report .popup-pane .markdown-icon span {
    display			: none;
    padding			: 2px 3px;
    right           : 170px;
    width			: 200px;
    font-size       : 85%;
}
.wrapper-send-report .popup-pane .markdown-icon:hover span {
    display			: inline;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius   : 3px;
    background		: #ffffff;
    border			: 1px solid #979797;
    color			: #979797;
    position: relative;
    bottom: 25px;
}

.tip:after {
    border: 6px solid transparent;
    content: "";
    height: 0;
    top: 19px;
    right: 12px;
    pointer-events: none;
    position: absolute;
    width: 0;
    z-index: 1000001;
    border-top-color: #979797;
}

.popup-pane .actions .btn.disable {
    pointer-events: none;
    opacity: 0.5;
}

.popup-pane .actions .btn {
    text-decoration: none;
}

.popup-pane .actions .btn, .popup-pane .actions .btn-back {
    padding: 8px 13px 10px 13px;
}

.not-visible {
    display: none;
}

.footer-line {
    display: flex;
}
.footer-line p {
    margin-bottom: 0;
    line-height: 48px;
}

/*.footer-line .bug-found {*/
    /*float: right;*/
    /*margin-left: auto;*/
    /*position: relative;*/
/*}*/



a:hover .buttons {
    display: block !important;
    /*background-color: #dadada;*/
    width: 90px;
    border-radius: 5px;
}

a:hover .buttons:after {
    border: 6px solid transparent;
    content: "";
    height: 0;
    right: 42px;
    pointer-events: none;
    position: absolute;
    width: 0;
    z-index: 1000001;
    bottom: 30px;
    border-bottom-color: #dadada;
}

.bug-found .buttons {
    margin-top: 5px;
    position: absolute;
    padding: 4px;
    width: 116px;
}

.bug-found .buttons .keyboard-button {
    color: #5e5b5b;
    display: inline-block;
    border: 1px solid #cccccc;
    width: 27px;
    line-height: 14px;
    height: 22px;
    border-radius: 4px 4px 4px 4px;
    padding: 2px 2px 5px;
    background: #f1f1f1;
}

.bug-found .buttons .keyboard-button.enter {
    width: 40px;
}


.bug-found:hover .tooltip {
    opacity: 1;
    padding-left: 30px;
}
.bug-found:hover .tooltip.bottom .tooltip-arrow {
    margin-left: 8px;
}

.no-scroll {
    overflow: hidden;
}


.rst-content .navigation {
    max-width: 1000px;
    z-index: 9;
    right: 0;
    left: 250px;
    height: 40px;
    position: fixed;
    top: 0;
    background-color: #fcfcfc;
}

.rst-content .navigation hr {
    margin: 3px 0;
}

.wy-breadcrumbs a {
    text-decoration: none;
    color: #2980B9;
}

@media screen and (max-width: 480px) {
    .wy-breadcrumbs li.wy-breadcrumbs-aside {
        display: block;
    }
}

@media screen and (max-width: 577px){
    .rst-content .navigation {
        left: 0 !important;
    }
    .wy-breadcrumbs li.wy-breadcrumbs-aside .icon-github,
    .wy-breadcrumbs li.wy-breadcrumbs-aside .fa-bug {
        font-size: large;
    }
    .wy-breadcrumbs li.wy-breadcrumbs-aside .icon-github span,
    .wy-breadcrumbs li.wy-breadcrumbs-aside .fa-bug span {
        display: none;
    }
    .wy-breadcrumbs li.wy-breadcrumbs-aside .fa-bug .tooltip {
        right: 0;
    }
    .wy-breadcrumbs span.page {
        text-overflow: ellipsis;
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        max-width: 150px;
        padding-top: 5px;
        height: 21px;
    }
}

@media screen and (min-width: 769px) and (max-width: 873px){
    .wy-breadcrumbs li.wy-breadcrumbs-aside .icon-github,
    .wy-breadcrumbs li.wy-breadcrumbs-aside .fa-bug {
        font-size: large;
    }
    .wy-breadcrumbs li.wy-breadcrumbs-aside .icon-github span,
    .wy-breadcrumbs li.wy-breadcrumbs-aside .fa-bug span {
        display: none;
    }
    .wy-breadcrumbs li.wy-breadcrumbs-aside .fa-bug .tooltip {
        right: 23px;
    }
    .wy-breadcrumbs-aside .bug-found {
        margin-top: 3px;
    }
}

@media screen and (max-width: 768px) {
    .rst-content .navigation {
        left: 0 !important;
        padding: 5px 1.618em 0 1.618em;
    }
}

@media screen and (min-width: 769px) and (max-width: 792px){
    .rst-content .navigation {
        padding: 5px 3.236em 0 3.236em;
    }
}

@media screen and (min-width: 793px){
    .wy-breadcrumbs li.wy-breadcrumbs-aside {
        display: block;
    }
    .rst-content .navigation {
        padding: 5px 3.236em 0 3.236em;
    }
}

@media screen and (min-width: 1000px) {
    .wy-nav-content {
        margin: 0;
    }
}