:root {
    --md-primary-fg-color: #03263C;
    --md-accent-fg-color: #0053A1;
}

.md-header--shadow {
    box-shadow: none;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
    color: var(--md-accent-fg-color);
}

.md-typeset h1 {
    font-weight: 400;
}

.md-typeset h2,
.md-typeset h3 {
    font-weight: 100;
}


.md-header__title {
    margin: 0;
    margin-left: 0 !important;
    padding: 0 0.2rem;
}

.md-header__topic:first-child {
    font-weight: unset;
}

.md-source {
    display: none;
}

.md-content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #FAFAFA;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg,
.md-nav__title .md-nav__button.md-logo img,
.md-nav__title .md-nav__button.md-logo svg {
    width: unset;
}

@media only screen and (max-width: 76.1875em) {
    html .md-nav--primary .md-nav__title[for=__drawer] {
        background-color: #03263C;
    }
    .md-nav__source {
        display: none;
    }
}

.md-nav__title {
    color: #777777;
}

.md-typeset a,
.md-typeset a:active,
.md-typeset a:focus,
.md-nav__item .md-nav__link--active {
    color: var(--md-accent-fg-color);
    text-decoration: none;
}

.md-typeset a:hover {
    text-decoration: underline;
}

.headerlink {
    color: #777777 !important;
}

.headerlink:hover {
    color: var(--md-accent-fg-color) !important;
    text-decoration: none !important;
}

.md-nav__link--active {
    color: var(--md-accent-fg-color);
}

/* footer style from swan */

.md-footer {
    background: transparent;
}

.md-footer-meta.md-typeset {
    background-color: #FAFAFA;
    border-top: solid 1px #DADADA;
    font-size: 13px;
    color: #777777;
}

.md-footer-meta.md-typeset img {
    margin: 14px 0;
    height: 55px;
}

.md-footer-meta.md-typeset .logo {
    float: left;
    display: inline-block;
    width: 25%;
    text-align: right;
}

.md-footer-meta.md-typeset .text {
    float: left;
    display: inline-block;
    width: 75%;
    padding-top: 12px;
}

.md-footer-meta.md-typeset p {
    margin: 0;
}

.md-footer-meta.md-typeset ul {
    padding: 0;
    margin: 0;
    margin-left: 0; /* to overwrite upstream */
}

.md-footer-meta.md-typeset ul li {
    display: inline-block;
    margin-left: 0;
}

.md-footer-meta ul li+li:before {
    content: "| ";
    margin-left: 2px;
    margin-right: 2px;
}

.poweredby {
    font-size: 0.8em;
}

html .md-footer-meta.md-typeset a,
html .md-footer-meta.md-typeset a:active,
html .md-footer-meta.md-typeset a:hover,
html .md-footer-meta.md-typeset a:visited {
    color: inherit;
}


/* footer navbar */

.md-footer__link {
    color: var(--md-accent-fg-color);
}

span.md-footer__direction {
    color: #777777;
}

@media only screen and (min-width: 76.1875em) {
    /* remove sidebar title */
    .md-sidebar--primary label.md-nav__title {
        display: none;
    }
}

.button__text {
    font-size: 0.6em;
    line-height: 29px;
    vertical-align: text-top;
}

#notebook-container {
    padding: 15px;
    background-color: #fff;
    min-height: 0;
    -webkit-box-shadow: 0px 0px 12px 1px rgba(87, 87, 87, 0.2);
    box-shadow: 0px 0px 12px 1px rgba(87, 87, 87, 0.2);
    color: #000;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.428571;
}

.gallery h1 {
    margin-top: 0;
    margin-bottom: 20px;
}

.gallery img {
    max-width: 100%;
    padding: 20px 0;
}

.gallery article {
    margin: 0 10px 30px 10px;
    width: 267px;
    display: inline-block;
    vertical-align: top;
    position: relative;
}

.gallery article img {
    object-fit: cover;
    width: 259px;
    height: 172px;
    margin: 4px;
    padding: 0;
    border: solid 1px #EEEEEE;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.gallery article a,
.gallery article a:hover,
.gallery article a:active,
.gallery article a:visited {
    text-decoration: none;
    color: inherit;
}

.gallery article h3 {
    font-size: 1.1em;
    height: 40px;
    margin-top: 7px;
    margin-bottom: 7px;
    padding-left: 0;
    padding-right: 22px;
    vertical-align: top;
    position: relative;
    left: 4px;
    overflow: hidden;
    line-height: 20px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.gallery article .background {
    opacity: 0;
    background-color: var(--md-accent-fg-color);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    -webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}

.gallery article:hover h3 {
    left: 11px;
    color: #fff;
}

.gallery article:hover .background {
    opacity: 1;
}

.gallery article:hover img {
    border-color: var(--md-accent-fg-color);
}

img.open_in_swan {
    margin: 0;
}

.md-header, .md-hero {
    background-color: var(--md-primary-fg-color);
}
.md-hero {
    overflow: hidden;
    color: var(--md-primary-bg-color);
    font-size: 1rem;
    background-color: var(--md-primary-fg-color);
    transition: background 250ms;
}

.md-hero__inner.hidden {
    transform: translateY(0.625rem);
    opacity: 0;
    transition: transform 0ms 400ms,opacity 100ms 0ms;
    pointer-events: none;
}

.md-hero--expand .md-hero__inner {
    margin-bottom: 1.2rem;
}
.md-hero__inner {
    margin-top: 1rem;
    padding: 0.8rem 0.8rem 0.4rem;
    transition: transform 400ms cubic-bezier(0.1, 0.7, 0.1, 1),opacity 250ms;
    transition-delay: 100ms;
}