@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@500&display=swap');

body > header {
    text-align: center;
}

body > header h1 {
    display: inline-block;
    vertical-align: text-top;
}

body > header img {
    max-width: 10em;
}

body > header img:last-child {
    display: none;
}

body > header a {
    width: fit-content;
    text-decoration: none !important;
}

body > header .header-text {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

body > header .header-text h1 {
    margin: 0;
}

body > header .header-text h5 {
    margin: 0;
}

@media (min-width: 975px) {
    .layout {
     display:grid;
     grid-template-columns: 18% 56% 18% 5%;
     gap: 3%;
    }

    summary, main h1 {
        text-align: left;
    }
}

@media (min-width: 800px) {
    body > header img:last-child {
        display: inline-block;
        transform: scaleX(-1);
    }
}

@media (max-width: 470px) {
    footer img:first-child {
        display: none;
    }
}

a {
    color: black;
}

a[href^="tel:"] {
    text-decoration: none;
}


a[href^="tel:"]:hover {
    text-decoration: underline solid var(--pico-primary-underline);
}

div.non-header {
    padding-block: var(--pico-block-spacing-vertical);
}

div.attention {
    background-color: #ffffaa;
    font-weight: bold;
    width: fit-content;
    margin: 1em auto;
    padding: 0.5em 0.75em;
    border: 1px solid black;
}

aside menu {
    padding: 0.5rem;
}

summary, main h1 {
    background-color: #990000;
    padding: 1rem 0.5rem 1rem 0.5rem;
    color: white !important;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1rem;
    font-weight: 550;
}

details {
    border: thin #990000 solid;
}

h1.sponsor + table,
h1.sponsor + table th,
h1.sponsor + table tr,
h1.sponsor + table td {
    border: none;
    border-style: none;
}

h1.sponsor + table td {
    padding: 50px;
    font-family: "Cabin", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

h1.sponsor + table img {
    padding: 1.5em 0;
}

a[href^="http"]:not([href*="www.bsdcan.org"]):not(.no-arrow)::after {
    /* Non-breaking space, up-right arrow, don't make it an emoji. */
    content: "\00a0\2197\fe0e";
    font-size: 0.9em;
}

a.extra-space-above img {
    margin-top: 1.0em !important;
}

.current-link {
    text-decoration: underline solid var(--pico-primary-underline) !important;
}

.current-link:hover {
    text-decoration: underline solid var(--pico-underline) !important;
}

:root {
  --pico-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(250, 250, 250)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Override padding from pico.red.min.css. */
th, td {
  padding:calc(var(--pico-spacing)/ 4) calc(var(--pico-spacing)/2) !important;
}
