/* Wikipedia Vector Skin Clone for Binnenring Venray Mockup */

/* Reset and Base Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #f6f6f6;
    color: #202122;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

/* Links */
a {
    text-decoration: none;
    color: #0645ad;
}

a:visited {
    color: #0b0080;
}

a:hover {
    text-decoration: underline;
}

a:active {
    color: #faa700;
}

a.new {
    color: #ba0000;
}

a.external::after {
    content: " ↗";
    font-size: 10px;
    color: #72777d;
    vertical-align: super;
}

/* Page Layout */
#content {
    margin-left: 10em;
    margin-top: 5em;
    padding: 1.25em 1.5em 1.5em 1.5em;
    background-color: #ffffff;
    border-left: 1px solid #a2a9b1;
    border-top: 1px solid #a2a9b1;
    border-bottom: 1px solid #a2a9b1;
    position: relative;
    z-index: 2;
    min-height: 600px;
}

/* Headings */
h1.firstHeading {
    font-family: 'Linux Libertine', Georgia, Times, serif;
    font-size: 1.8em;
    font-weight: normal;
    margin: 0 0 0.25em 0;
    padding: 0;
    line-height: 1.3em;
    border-bottom: 1px solid #a2a9b1;
}

h2 {
    font-family: 'Linux Libertine', Georgia, Times, serif;
    font-size: 1.5em;
    font-weight: normal;
    border-bottom: 1px solid #a2a9b1;
    padding-bottom: 0.25em;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 1.2em;
    margin-bottom: 0.4em;
    border-bottom: none;
}

/* Sidebar and Navigation */
#mw-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 10em;
    z-index: 3;
}

#mw-navigation h2 {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

#mw-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 10em;
    padding-top: 160px;
}

/* Wikipedia Logo Link */
#p-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 10em;
    height: 160px;
}

.mw-wiki-logo {
    display: block;
    width: 10em;
    height: 160px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/6/61/Wikipedia-logo-v2-nl.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 135px auto;
}

/* Portlets (Sidebar Blocks) */
.portal {
    margin: 0 0.6em 1.25em 0.8em;
    padding: 0.25em 0;
    direction: ltr;
}

.portal h3 {
    font-size: 0.75em;
    font-weight: normal;
    color: #72777d;
    margin: 0 0 0.25em 0;
    padding: 0.25em 0;
    cursor: default;
    border: none;
    text-transform: uppercase;
}

.portal .body {
    font-size: 0.75em;
}

.portal ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portal li {
    margin: 0;
    padding: 0.25em 0;
    line-height: 1.2em;
}

.portal li a {
    color: #0645ad;
}

/* Top Navigation Bar */
#mw-head {
    position: absolute;
    top: 0;
    right: 0;
    left: 10em;
    height: 5em;
    z-index: 5;
}

#p-personal {
    position: absolute;
    top: 0.3em;
    right: 1.25em;
    font-size: 0.75em;
}

#p-personal h3 {
    display: none;
}

#p-personal ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}

#p-personal li {
    color: #202122;
}

#p-personal li a {
    color: #202122;
}

#p-personal li a:hover {
    color: #0645ad;
    text-decoration: underline;
}

/* Left & Right Navigation Tabs */
#left-navigation {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
}

#right-navigation {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
}

.vectorTabs {
    float: left;
    height: 2.5em;
    background-image: linear-gradient(to top, #ffffff 0%, #f6f6f6 100%);
    margin-right: 1px;
}

.vectorTabs h3 {
    display: none;
}

.vectorTabs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
}

.vectorTabs li {
    float: left;
    line-height: 1.125em;
    display: inline-block;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f6f6f6;
    border: 1px solid #a2a9b1;
    border-bottom: none;
    white-space: nowrap;
    position: relative;
    border-radius: 2px 2px 0 0;
}

.vectorTabs li.selected {
    background-color: #ffffff;
    background-image: none;
}

.vectorTabs li.selected a {
    color: #202122;
}

.vectorTabs li a {
    display: inline-block;
    height: 1.9em;
    padding: 0.5em 0.8em;
    font-size: 0.8em;
    color: #0645ad;
    cursor: pointer;
}

/* Search Box style */
.vectorSearch {
    float: left;
    margin-left: 0.5em;
    margin-right: 1.25em;
    margin-bottom: 0.3em;
}

.vectorSearch h3 {
    display: none;
}

#simpleSearch {
    position: relative;
    overflow: hidden;
    width: 250px;
    height: 1.8em;
    border: 1px solid #a2a9b1;
    background-color: #ffffff;
    border-radius: 2px;
}

#searchInput {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0 2em 0 0.4em;
    border: none;
    outline: none;
    font-size: 13px;
    background: transparent;
    color: #000000;
}

#searchButton {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    border: none;
    background: transparent url('https://nl.wikipedia.org/static/images/mobile/copyright/search.svg') no-repeat center center;
    background-size: 13px auto;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0.6;
}

#searchButton:hover {
    opacity: 1;
}

/* Main Content Text Styles */
#siteSub {
    font-size: 0.8em;
    color: #54595d;
    margin-top: 0.2em;
    margin-bottom: 1.4em;
}

.mw-jump {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

p {
    margin: 0.5em 0 1em 0;
}

/* Warning Banner Alert */
.wikipedia-banner-alert {
    background-color: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-left: 4px solid #36c;
    padding: 12px 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.wikipedia-banner-alert .banner-icon {
    font-size: 24px;
}

.wikipedia-banner-alert .banner-content {
    font-size: 0.9em;
    line-height: 1.45em;
    color: #202122;
}

/* Infobox Geography Styles */
.infobox {
    border: 1px solid #a2a9b1;
    border-collapse: collapse;
    background-color: #f8f9fa;
    color: #202122;
    margin: 0.5em 0 1em 1.5em;
    float: right;
    clear: right;
    width: 22em;
    font-size: 88%;
}

.infobox th, .infobox td {
    padding: 0.4em 0.6em;
    vertical-align: top;
}

.infobox th {
    font-weight: bold;
}

.infobox .mergedtoprow {
    border-top: 1px solid #a2a9b1;
}

.infobox .mergedrow {
    border: none;
}

.infobox td {
    border: none;
}

.infobox img {
    border: 1px solid #c8ccd1;
    max-width: 100%;
    height: auto;
}

/* Table of Contents (TOC) */
.toc {
    background-color: #f8f9fa;
    border: 1px solid #a2a9b1;
    padding: 15px;
    display: inline-block;
    font-size: 95%;
    margin-top: 10px;
    margin-bottom: 25px;
    border-radius: 2px;
}

.toctitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #a2a9b1;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.toctitle h2 {
    font-size: 1em;
    font-family: sans-serif;
    font-weight: bold;
    border: none;
    padding: 0;
    margin: 0;
}

.toctogglespan {
    font-size: 85%;
}

.toctogglespan::before {
    content: "[";
}

.toctogglespan::after {
    content: "]";
}

.toctogglelabel {
    color: #0645ad;
    cursor: pointer;
}

.toctogglelabel::after {
    content: "verbergen";
}

#toctogglecheckbox:checked ~ .toctitle .toctogglelabel::after {
    content: "weergeven";
}

#toctogglecheckbox:checked ~ ul {
    display: none;
}

.toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc li {
    margin-bottom: 4px;
}

.toc li ul {
    margin-left: 20px;
    margin-top: 4px;
}

.toc .tocnumber {
    color: #202122;
    padding-right: 0.5em;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid #eaecf0;
    padding: 5px 15px;
    margin: 15px 35px;
    font-style: italic;
    background: #f8f9fa;
}

/* References Section */
ol.references {
    font-size: 90%;
    margin-left: 2em;
    padding-left: 0;
}

ol.references li {
    margin-bottom: 0.5em;
}

.mw-cite-backlink {
    font-family: monospace;
    font-size: 90%;
    margin-right: 0.4em;
}

.reference-text {
    line-height: 1.4em;
}

.reference {
    font-size: 85%;
    font-weight: normal;
    font-style: normal;
    vertical-align: super;
    line-height: 1;
    padding-left: 0.1em;
}

/* Categories Footer Box */
.catlinks {
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    padding: 10px;
    margin-top: 30px;
    clear: both;
    font-size: 0.85em;
    border-radius: 2px;
}

.catlinks ul {
    display: inline;
    margin: 0;
    padding: 0;
    list-style: none;
}

.catlinks li {
    display: inline;
    margin: 0;
    padding: 0 0.6em;
    border-left: 1px solid #a2a9b1;
}

.catlinks li:first-child {
    border-left: none;
    padding-left: 0;
}

/* Footer style */
#footer {
    margin-left: 10em;
    margin-top: 0;
    padding: 1.25em 1.5em 1.5em 1.5em;
    border-top: 1px solid #a2a9b1;
    direction: ltr;
    clear: both;
}

#footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer li {
    color: #202122;
    margin: 0;
    padding: 0.5em 0;
    font-size: 0.75em;
}

#footer-info li {
    line-height: 1.4em;
}

#footer-places {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

#footer-places li {
    padding: 0;
}

#footer-places a {
    color: #0645ad;
}

#footer-icons {
    float: right;
    margin-top: -30px;
    display: flex;
    gap: 10px;
}

/* Responsive elements */
@media (max-width: 980px) {
    #content, #footer {
        margin-left: 0;
        border-left: none;
    }
    #mw-panel {
        display: none;
    }
    #mw-head {
        left: 0;
    }
    #p-personal {
        position: relative;
        right: auto;
        top: auto;
        padding: 5px 15px;
        background: #f6f6f6;
        border-bottom: 1px solid #a2a9b1;
    }
    #p-personal ul {
        justify-content: flex-end;
    }
    .infobox {
        width: 100%;
        float: none;
        margin: 1em 0;
    }
    .toc {
        width: 100%;
        box-sizing: border-box;
    }
}
