@font-face {
    font-family: 'PTSans';
    src: url('/font/PT-Sans_Bold.woff2') format('woff2'), url('~/font/PT-Sans_Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'PTSans';
    src: url('/font/PT-Sans_Italic.woff2') format('woff2'), url('~/font/PT-Sans_Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'PTSans';
    src: url('/font/PT-Sans_Regular.woff2') format('woff2'), url('~/font/PT-Sans_Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --scarlet: #811426;
    --bg-color: #1E1F1D;
    --bg-color-raised: #292929;
    --text-color-emphasis: #FFF;
    --text-color-primary: #E7E7E7;
    --text-color-secondary: #CCC;
    --text-color-tertiary: #888;
    --text-color-link-unv: #5B82E5;
    --text-color-link-vis: #985BE5;
    font-family: PTSans, sans-serif;
    overflow-wrap: break-word;
}

.bg-primary {
    background-color: var(--scarlet);
    color: var(--text-color-emphasis);
}
.grid-container { display: grid; }
.flex-container { display: flex; }
.text-center { text-align: center; }
.margin-top-n { margin-top: 0; }
.margin-bot-n { margin-bottom: 0; }
.text-primary { color: var(--text-color-primary); }
.text-secondary { color: var(--text-color-secondary); }
.text-tertiary { color: var(--text-color-tertiary); }

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
    margin: 0 0 60px 0;
    background-color: var(--bg-color);
    color: var(--text-color-primary);
    max-width: 100%;
    overflow-x: hidden;
}

.wrapper12col {
    display: grid;
    grid-template-columns: repeat(12, [col-start] 1fr);
    gap: 20px;
}

.wrapper12col > * { grid-column: col-start / span 12; }
.main-body {
    margin-left: 10px;
    margin-right: 10px;
}

@media (min-width: 768px) {
    .wrapper12col > * { grid-column: col-start 2 / span 10; }
    .fullwidth { grid-column: col-start / span 12; }
}

.flex-onerow
{
    justify-content: space-between;
    
}
.flex-onerow-side
{
    flex-grow: 1;
    flex-basis: 0;
}

h1, h2, h3 {
    font-family: PTSans, sans-serif;
}
.text-l1 { font-size: 36pt; }
.text-l2 { font-size: 28pt; }
.text-l3 { font-size: 20pt; }

code {
    font-family: 'Cascadia Mono', Consolas, monospace;
    background-color: var(--bg-color-raised);
}

a { color: var(--text-color-link-unv); }
a:visited { color: var(--text-color-link-vis); }

.navbar {
    padding: 10px 30px 10px 30px;
    border-bottom: 4px solid black;
    margin-bottom: 40px;
}
.navbar-brand {
    align-content: center;
    font-size: 24px;
}
.navbar-brand { color: var(--text-color-emphasis) !important; text-decoration: none !important; }
.navbar-title {
    align-self: center;
    text-align: center;
    font-size: 24px;
}

ul {
    list-style: none;
    padding: 0;
}

.card-list
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
}

.card-item-outer {
    border: 1px solid white;
    border-radius: 15px;
    min-height: 150px;
    min-width: min(100%, 350px);
    max-width: 600px;
    flex-grow: 1;
    padding: 10px;
    display: flex;
    position: relative;
    background-color: var(--bg-color-raised);
}

div.card-item-inner a.card-item-full-link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.card-item-inner {
    margin: auto;
    text-align: center;
}

@media (min-width: 768px) {
    .pane-benchmarks {
        grid-column: col-start 1 / span 6;
        grid-row: 1;
    }
    .pane-execution {
        grid-column: col-start 7 / span 6;
        grid-row: 1;
    }
    .pane-instructions {
        grid-column: col-start 1 / span 6;
        grid-row: 2;
    }
    .pane-sizes {
        grid-column: col-start 7 / span 6;
        grid-row: 2;
    }
    .pane-commits {
        grid-column: col-start 1 / span 4;
    }
}

@media (min-width: 1600px) {
    .pane-benchmarks {
        grid-column: col-start 1 / span 3;
        grid-row: 1;
    }

    .pane-execution {
        grid-column: col-start 4 / span 3;
        grid-row: 1;
    }

    .pane-instructions {
        grid-column: col-start 7 / span 3;
        grid-row: 1;
    }

    .pane-sizes {
        grid-column: col-start 10 / span 3;
        grid-row: 1;
    }
}

.metric-pane {
    border: 1px solid var(--text-color-secondary);
    border-radius: 15px;
    padding: 10px 15px 15px 15px;
}

.metric-list-item:not(:last-child), .commit-list-item:not(:last-child) {
    border-bottom: 1px solid var(--text-color-tertiary);
    padding-bottom: 0.5em;
}
.metric-list-item:not(:first-child), .commit-list-item:not(:first-child) {
    padding-top: 0.5em;
}
.commit-list-item-title {
    font-size: 18px;
}

.scroll-pane-v {
    overflow-y: auto;
}

.axis-line {
    stroke: #777;
    stroke-width: 1px;
}

.axis-base {
    stroke: #FFF;
    stroke-width: 1.5px;
}

.axis-label {
    fill: #CCC;
    font-size: 15pt;
}
.y-axis-label {dominant-baseline: middle;}

svg {
    overflow: visible;
}

.series-line {
    fill:none;
    stroke-width: 2pt;
    vector-effect: non-scaling-stroke;
}
.series-area {
    stroke-width: 2pt;
    vector-effect: non-scaling-stroke;
}
.graph-dashed { stroke-dasharray: 8 8; }
.series-0 { stroke: #74F; }
.series-0-marker { fill: #74F; }
.series-0-outer { stroke: #8274DA; }
.series-0-area {
    stroke: #8274DA;
    fill: #74F;
    fill-opacity: 0.15;
    stroke-dasharray: 2 2;
}
.series-mini-bad { stroke: #D62; }
.series-mini-good { stroke: #6C4; }
.series-mini-neutral { stroke: #6BE; }

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    line-height: 30px;
    border-top: 1px solid var(--text-color-tertiary);
    color: var(--text-color-tertiary);
    text-align: center;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


