button[data-md-color-primary='bule'] {
    background-color: #076cd7;
}

[data-md-color-primary='bule'] .md-typeset a {
    color: #076cd7;
}

[data-md-color-primary='bule'] .md-header,
[data-md-color-primary='bule'] .md-hero {
    background-color: #076cd7;
}

[data-md-color-primary='bule'] .md-nav__link--active,
[data-md-color-primary='bule'] .md-nav__link:active {
    color: #076cd7;
}

@media only screen and (max-width: 76.1875em) {
    html [data-md-color-primary='bule'] .md-nav--primary .md-nav__title--site {
        background-color: #076cd7;
    }
}

@media only screen and (min-width: 76.25em) {
    [data-md-color-primary='bule'] .md-tabs {
        background-color: #076cd7;
    }
}

@media only screen and (max-width: 59.9375em) {
    [data-md-color-primary='bule'] .md-nav__source {
        background-color: rgba(9, 24, 182, 0.968);
    }
}

[data-md-color-primary='bule'] .md-nav__extra_link:active {
    color: #076cd7;
}

.md-nav span.caption {
    text-transform: uppercase;
}

.md-header[data-md-state=''] img,
.md-header img {
    height: 48px !important;
}

.md-header[data-md-state=''] .md-header-nav__topic,
.md-header .md-header-nav__topic {
    margin: 0.2em !important;
    padding: 0.4em !important;
    font-size: 1.1em !important;
}

.md-header[data-md-state='shadow'] img {
    height: 26px !important;
}

.md-header[data-md-state='shadow'] .md-header-nav__topic {
    margin: inherit !important;
    padding: inherit !important;
    font-size: inherit !important;
}

.md-footer-nav {
    background-color: inherit !important;
    color: #076cd7 !important;
    font-weight: 600 !important;
}

.md-footer-nav__direction {
    color: #076cd7e0 !important;
}

/* This update the sphinx_design2 tab colors */
:root {
    --sd-color-tabs-label-active: #076cd7;
    --sd-color-tabs-label-hover: #076cd7;
    --sd-color-tabs-underline-active: #076cd7;
    --sd-color-tabs-underline-hover: rgba(217, 30, 42, 0.22);
}

@media only screen and (min-width: 150rem) {
    .md-grid {
        max-width: 85rem;
    }

    .md-sidebar--secondary {
        margin-left: 88.5rem;
    }

    .md-sidebar {
        width: 16rem;
    }

    .md-content {
        margin-left: 16rem;
    }
}

.dropdown {
    width: 100% !important;
}

button.copybtn {
    cursor: pointer;
}

details > summary:before {
    content: none !important;
}

.breadcrumbs {
    clear: both;
    position: relative;
}

@media (max-width: 45em) {
    .breadcrumbs {
        font-size: 0.5rem !important;
    }
}

.breadcrumbs li {
    list-style: none;
    float: left;
    padding-right: 10px;
}
.breadcrumbs ul.breadcrumb {
    background-color: #dcdcdc;
    padding: 0 1.5em;
    clear: both;
    height: 40px;
    margin-right: 0.625em;
}
.breadcrumbs ul.breadcrumb li {
    background-color: #dcdcdc;
    border-right: 3px solid #fff;
    transform: skewX(-25deg);
    height: 40px;
    padding: 0 20px;
    position: relative;
    top: 0;
    line-height: 40px;
}
.breadcrumbs ul.breadcrumb li:first-child {
    display: none;
}
.breadcrumbs ul.breadcrumb li:nth-child(2) {
    border-left: 3px solid #fff;
}
.breadcrumbs ul.breadcrumb li:last-child {
    border-right: none;
}
.breadcrumbs ul.breadcrumb li a {
    transform: skewX(25deg);
    display: inline-block;
    color: rgba(0, 0, 0, 0.54);
}
.breadcrumbs ul.breadcrumb li a:hover,
ul.breadcrumb li a:focus {
    text-decoration: none;
    color: #0091ea;
}
.breadcrumbs ul.breadcrumb i {
    position: relative;
    top: 6px;
    float: none;
}

.highlight-shell.notranslate {
    padding-left: 0em;
    padding-right: 0em;
    border: 1px #ccc solid;
    background-color: #f7f7f7;
    border-left-color: green;
    border-left-width: medium;
}

.highlight-shell.notranslate .highlight pre {
    background-color: #f7f7f7 !important;
}

@media (max-width: 45em) {
    .md-typeset pre {
        margin: 0em !important;
    }
}

.slideshow-iframe {
    width: 100%;
    border-radius: 20px;
    height: 75vw;
    max-height: 600px;
}

.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    padding: 1rem 0.5rem;
    background: #fff;
    z-index: 1030;
    color: #000;
    font-size: 14px;
    margin: 0;
    border-top: 2px solid #076cd7;
    display: none;
}
.privacy-banner-wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    position: relative;
    align-items: center;
}
.privacy-banner p {
    margin: 0;
    color: #000;
    text-align: left;
}
.privacy-banner .privacy-banner-wrapper p {
    padding-right: 3rem;
}

.privacy-policy {
    color: #076cd7;
}

.privacy-banner-accept {
    padding: 7px 15px;
    color: #fff;
    border-radius: 5px;
    background: #076cd7;
}
@media (max-width: 700px) {
    .privacy-banner-wrapper {
        display: inherit;
    }
    .privacy-banner .privacy-banner-wrapper p {
        padding-right: 0rem;
        margin-bottom: 15px;
    }
    .privacy-banner-accept {
        position: inherit;
    }
}

.model-diagram img {
    max-height: 300px;
    margin: auto;
    display: block;
}

.model-diagram p {
    text-align: center;
}

.survey-container {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 40vw;
    min-width: 450px;
    height: 40vh;
    min-height: 300px;
    background: #fff;
    z-index: 1029;
    color: rgba(0, 0, 0, 0.54);
    font-size: 28px;
    margin: 0;
    display: none;
}

.survey-container .close {
    position: absolute;
    top: 2px;
    right: 10px;
    z-index: 1;
    padding: 10px;
    padding-left: 30px;
    margin-right: 10px;
    background-color: white;
}

.survey-container .msg {
    position: absolute;
    top: 2px;
    left: 10px;
    padding: 10px;
    margin-right: 10px;
    font-size: 0.6em;
    width: 80%;
    background-color: white;
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.survey-container .close:hover,
.close:focus {
    cursor: pointer;
    text-decoration: none;
    color: rgba(0, 0, 0, 1);
}

@media (max-width: 45em) {
    /* Disabling the feedback dialog on mobile for now */
    .survey-container {
        display: none !important;
    }

    .feedback-button {
        display: none !important;
    }
}

/* Then style the iframe to fit in the container div with full height and width */
.survey-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.feedback-button {
    height: 40px;
    border: solid 1px #076cd7;
    background: white;
    width: 100px;
    line-height: 32px;
    color: #076cd7;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    text-align: center;
    font-size: 17px;
    position: fixed;
    right: -28px;
    bottom: 25%;
    z-index: 999;
}

.feedback-button:hover {
    transform: rotate(-90deg) scale(1.1);
}

.go-top {
    position: fixed;
    bottom: 20px;
    display: none;
    color: #076cd7;
    font-size: 1.5em;
    right: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    min-width: 150px;
    max-width: 220px;
    white-space: nowrap;
    text-decoration: none;
    padding: 5px;
    background-color: white;
    border-radius: 10px;
    border-color: #076cd7;
    border-style: solid;
    border-width: 1px;
    z-index: 999;
}

a.go-top:hover {
    background-color: #076cd7;
    color: white;
}

.longtable tr {
    border: none !important;
}

.md-typeset__table table {
    border: none !important;
}
