:root {
    --bg: #eee;
    --bg-header: #fff;
    --text: #222;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #111;
        --bg-header: #000;
        --text: #ddd;
    }
    a { color: cornflowerblue }
    a:hover { color: lightskyblue }
}

body,
nav { margin: 0 }

.ink-grid,
body,
nav { padding: 0 }

body,
tr { background-color: var(--bg) !important }

body,
#contenu,
#contenu h1,
#contenu h2,
#contenu h3 { color: var(--text) }

.doctolib-button {
    display: inline-block;
    text-align: center;
}

#contenu h1,
.doctolib-button { text-align: center }

.doctolib-button,
.doctolib-button:hover,
header a:hover { text-decoration: none }

header {
    height: 140px;
    background-color: var(--bg-header);
}

#contenu,
footer { border-top: 3px solid #cc0106 }

hr {
    width: 27%;
    margin: 2em auto;
    border: 1px solid var(--text);
    height: 1px;
}

a:focus { outline: #999 dashed 1px !important }

#bandeau,
.ink-grid {
    box-shadow:
        1px 0 0 0 rgba(255, 255, 255, 0.1) inset,
        0 0 1px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(0, 0, 0, 0.5);
}

#bandeau {
    z-index: -1;
    position: absolute;
    top: 165px;
    width: 100%;
    height: 200px;
    background: url(/assets/img/bandeau.png) repeat-x;
}

.ink-navigation { opacity: .8 }
.ink-navigation li {
    width: 20%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ink-navigation li.active,
.ink-navigation li > a:hover { background-color: #cc0106 !important }
.ink-navigation li > a:focus { color: orange !important }
nav i { line-height: 5px }

#contenu {
    background-color: var(--bg-header);
    margin-top: 0;
    min-height: 200px;
    padding: 50px 2em 2em;
    text-align: justify;
}
#contenu h2,
#contenu h3 { text-align: left }

.doctolib-button {
    padding: 6px 12px;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.42857;
    width: 230px;
    background-image: none;
    background-color: #3498db;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    vertical-align: middle;
    cursor: pointer;
    font-family: Arial;
    border: 1px solid transparent;
    border-width: medium medium 2px;
    border-style: none none solid;
    border-image: none;
    border-radius: 5px;
    border-bottom-color: #2383c4;
    user-select: none;
}
.doctolib-button:hover {
    background-color: #077ac7;
    color: #fff;
}

footer {
    background-color: var(--bg);
    padding: 20px;
    margin: 0 !important;
    font-size: 0.8em;
}

iframe { border: 1px solid var(--text) }

@media screen and (min-width: 650px) and (max-width: 959px) {
    .ink-navigation li { width: 50% }
}

@media screen and (max-width: 649px) {
    header {
        text-align: center;
        overflow: hidden;
    }
    #bandeau { display: none }
    .ink-navigation { opacity: 1 }
    .ink-navigation li { width: 100% }
    #contenu img { margin: 0 }
}
