@import url('https://fonts.googleapis.com/css?family=Chivo:900');

.md-typeset ol li, .md-typeset ul li {
    margin-bottom: 0;
}

:root {
    --msys2-red: #c0000d;
    --msys2-dark-bg: #333;
    --msys2-text: #444;
}

.md-typeset pre > code {
    background-color: #fafafa;
    border: 1px solid #ddd;
}

.md-typeset header h2 {
    color: #aaa !important;
    font-size: 22px;
    margin: 0;
    letter-spacing: -0.5px;
    font-weight: normal;
    line-height: 1.1em;
    padding-bottom: 0.7em;
}

.md-nav__link:hover, .md-typeset a:hover {
    color: var(--msys2-red) !important;
}

.md-typeset code {
    background-color: #fafafa;
    border: 1px solid #ddd;
    padding: 0.05em 0.25em;
    box-shadow: none;
    word-break: normal;
    color: var(--md-code-hl-name-color);
}

.md-typeset h2 {
    font-size: 1.1rem;
}

.md-typeset h3 {
    font-size: 0.9rem;
}

.md-typeset h3, .md-typeset h2 {
    color: var(--msys2-red);
    font-weight: normal;
    margin-top: 1.2rem;
}

.md-container {
    background: transparent url(highlight-bg.jpg) 50% 0 no-repeat;
}
@media only screen and (max-width:76.1875em) {
    .md-container {
        background-position: -100px 0%;
    }
}

a.button {
    border-radius: 10px;
    border-top: solid 1px #cbcbcb;
    border-left: solid 1px #b7b7b7;
    border-right: solid 1px #b7b7b7;
    border-bottom: solid 1px #b3b3b3;
    color: var(--md-typeset-a-color);
    line-height: 25px;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 15px;
    display: inline-block;
    margin-right: 14px;  
    background: #fdfdfd; /* Old browsers */
    background: linear-gradient(top,  #fdfdfd 0%,#f2f2f2 100%); /* W3C */
    -webkit-box-shadow: 10px 10px 5px #888;
    -moz-box-shadow: 10px 10px 5px #888;
    box-shadow: 0px 1px 5px #e8e8e8;
}

a.button:hover {
    border-top: solid 1px #b7b7b7;
    border-left: solid 1px #b3b3b3;
    border-right: solid 1px #b3b3b3;
    border-bottom: solid 1px #b3b3b3;
    background: #fafafa; /* Old browsers */
    background: linear-gradient(top,  #fdfdfd 0%,#f6f6f6, 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
}

table, .admonition {
    background-color: #fafafa;
}

.md-typeset table tr th {
    min-width: 0 !important;
}

.md-header, .md-footer, .md-nav__source {
    background-color: var(--msys2-dark-bg) !important;
}

@media only screen and (min-width:59.9375em) {
    .md-nav {
        background-color: initial;
    }
}

@media only screen and (max-width:76.1875em) {
    html .md-nav--primary .md-nav__title[for="__drawer"] {
        background-color: var(--msys2-dark-bg) !important;
    }

    .md-nav--primary .md-nav__title {
        background-color: #f5f5f5;
    }
}

html {
    background-color: #E8E8E8;
}

body {
    background: transparent url(body-bg.png) 0 0 repeat;
}

.md-main {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.md-sidebar {
    text-shadow: none;
}

.md-content {
    color: var(--msys2-text);
}

.md-typeset {
    font-size: 0.7rem;
}

.md-header-nav__topic {
    font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.md-typeset h1 {
    font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 900;
    color: #303030;
    font-size: 32px;
    letter-spacing: -1px;
    line-height: 1.2em;
    margin: 0;
}

.md-typeset header h1 {
    font-size: 48px;
}

:root {
    --image-external-link: url('data:image/svg+xml,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> \
        <g style="stroke:currentColor;stroke-width:1"> \
            <line x1="5" y1="5" x2="5" y2="14" /> \
            <line x1="14" y1="9" x2="14" y2="14" /> \
            <line x1="5" y1="14" x2="14" y2="14" /> \
            <line x1="5" y1="5" x2="9" y2="5"  /> \
            <line x1="10" y1="2" x2="17" y2="2"  /> \
            <line x1="17" y1="2" x2="17" y2="9" /> \
            <line x1="10" y1="9" x2="17" y2="2" style="stroke-width:1.5" /> \
        </g> \
    </svg>');
}

.md-nav a[href^="http://"]:not(.md-icon, .md-source, .md-logo):after,
.md-nav a[href^="https://"]:not(.md-icon, .md-source, .md-logo):after {
    content: '';
    background: no-repeat var(--image-external-link);
    background-size: 1em;
    padding-right: 1.1em;
    background-position: right bottom;
    opacity: 0.7;
}
