﻿a {
    color: #436976;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#floating-scrollbar {
    border-bottom: 2px solid transparent !important;
}

.sample {
    overflow: auto;
}

    .sample + #floating-scrollbar {
    }

.sh {
    width: 42em;
}

.sh-code {
    overflow: hidden;
    background: #181818;
    border: 2px solid #181818;
    -webkit-border-radius: 12px;
}

.sh-link {
    text-align: right;
}

    .sh-link a {
        text-decoration: none;
        color: #aaa;
        background: #181818;
        padding: 0.5em 0.5em 0.2em 0.6em;
        -webkit-border-top-left-radius: 10px;
        -webkit-border-top-right-radius: 10px;
    }

        .sh-link a:hover {
            text-decoration: underline;
            color: #fff;
        }

@supports (-webkit-overflow-scrolling: touch) {
    ::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 7px;
    }

    ::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background-color: rgba(0,0,0,.5);
        -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
    }
}

@supports not (-webkit-overflow-scrolling: touch) {
    ::-webkit-scrollbar,
    .webkit-scrollbar::-webkit-scrollbar,
    .webkit-scrollbar + #floating-scrollbar::-webkit-scrollbar {
        height: 0.75em;
        width: 0.75em;
    }

    ::-webkit-scrollbar-button:start, ::-webkit-scrollbar-button:end {
        display: none;
    }

    ::-webkit-scrollbar-track-piece, ::-webkit-scrollbar-thumb {
    }

    ::-webkit-scrollbar-track-piece {
        background-color: #ccc;
    }

    ::-webkit-scrollbar-thumb:horizontal,
    ::-webkit-scrollbar-thumb:vertical {
        background-color: #40638f;
    }

    ::-webkit-scrollbar-thumb:hover {
        background-color: #32547d;
    }
}