MediaWiki:Tweeki.css

Aus Herrenhäuser
Wechseln zu: Navigation, Suche

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:wght@100;300;400;500&display=swap");

:root {
    --color-primary: #264190;
    --color-secondary: #F15025;
    --max-width: 1400px;
}

html {
    font-size: 18px;
    scroll-padding-top: 1.5rem !important;
    position: relative;
    overflow-x: hidden;;
    overflow-y: scroll;
}
body {
    font-family: "Fira Sans", Arial, Helvetica !important;
}
@media all and (max-width: 992px) {
    html {
        font-size: 16px;
    }
}
@media all and (max-width: 496px) {
    html {
        font-size: 14px;
    }
}

body.rootpage-Hauptseite #firstHeading {
    display: none;
}
body.rootpage-Häuser .mw-parser-output > p {
    border: 1px solid #C0C3C9;
    padding: 0.75rem 1rem;
}
body.rootpage-Häuser .mw-parser-output > p > a {
    font-size: 1.15rem;
}

/* table {
    border-collapse: collapse;
    row-gap: 0;
    background-color: transparent !important;
    border: none !important;
}
table tr:nth-of-type(odd) {
    background-color: #F0F1F5;
}
table th, table td {
    padding: 0.5rem 0.75rem !important;;
    background-color: transparent !important;
    border: none !important;
} */

table th, table td {
    max-width: 900px !important;
}

input, textarea {
    padding: 0.5rem;
    border: 1px solid #C0C3C9 !important;
    font-family: inherit !important;
    font-size: 0.9rem !important;
}
input:focus, textarea:focus {
    outline: none;
    box-shadow: none !important;
}

code {
    color: var(--color-secondary) !important;
}

body .oo-ui-widget-enabled [type="radio"]:hover + span,
body .oo-ui-widget-enabled [type="checkbox"]:hover + span {
    border-color: var(--color-primary) !important;
}
body .oo-ui-widget-enabled [type="radio"]:checked + span {
    border-color: var(--color-primary) !important;
}
body .oo-ui-widget-enabled [type="checkbox"]:checked + span {
    background-color: var(--color-primary) !important;
    border: none !important;
}

.oo-ui-labelElement-label:empty {
    display: none;
}

.card-body {
    padding: 0;
}

.navbar-brand {
    padding: 0;
    height: 3.4rem;

    img {
        margin: 0;
        width: auto;
        height: 100%;
    }
}
@media all and (max-width: 1400px) {
    .navbar-brand {
        --w: 2.8rem;

        width: var(--w);
        height: var(--w);
        overflow: hidden;
    }
}

.dropdown-item .fa {
    display: none !important;
    visibility: collapse !important;
}

.ui-ooMenu,
.ui-ooMenu li {
    font-size: 0.9rem !important;
    border: none !important;
}
.ui-ooMenu li {
    margin-left: 0.15rem;
}

.ui-state-hover {
    background-color: var(--color-primary) !important;
    color: white !important;
}

.btn-group > *:not(:last-child) {
    margin-right: 0.25rem;
}
.oo-ui-buttonElement-button {
    color: var(--color-primary) !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
}
.btn-primary,
.mw-ui-button,
.oo-ui-inputWidget-input.oo-ui-buttonElement-button {
    padding: 0.375rem 1.5rem !important;
    background-color: var(--color-primary) !important;
    color: white !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    line-height: 1.35em !important;
    border: none !important;
    border-radius: 0.3rem !important;
    text-transform: uppercase;
}
.mw-ui-button:hover, .mw-ui-button:active,
.btn-primary:hover, .btn-primary:active,
.oo-ui-inputWidget-input.oo-ui-buttonElement-button:hover, .oo-ui-inputWidget-input.oo-ui-buttonElement-button:active {
    background-color: var(--color-primary) !important;
    text-decoration: none !important;
    filter: brightness(0.9);
}
.oo-ui-buttonElement-button {
    background-color: white !important;
    color: var(--color-primary) !important;
}

.editOptions p {
    margin-top: 1rem;
    line-height: 1.5em;
}

.ui-ooMenu a {
    font-size: 0.85rem !important;
}
.ui-ooMenu-item {
    padding: 0.05rem 0.375rem !important;
}
.ui-ooMenu-item:hover {
    background-color: var(--color-primary) !important;
}
.ui-entityselector-notfound {
    user-select: none !important;
    pointer-events: none !important;
}

.mw-editsection-visualeditor {
    color: var(--color-primary);
}
.mw-body-content {
    font-size: 0.9rem !important;
}
.mw-body-content a {
    color: var(--color-primary);
}
.mw-contributions-list li:not(:last-child) {
    margin-bottom: 0.5rem;
}
.mw-contributions-user-tools a {
    color: var(--color-primary) !important;
}

.navbar-toggler {
    padding: 0.375rem 0.5rem;
}

.oo-ui-fieldLayout-field {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.oo-ui-fieldLayout-field > * {
    width: fit-content !important;
}
.oo-ui-fieldLayout-field > .oo-ui-inputWidget,
.oo-ui-fieldLayout-field > .oo-ui-actionFieldLayout-input {
    flex: 1 0 0;
}
.oo-ui-fieldLayout-field + * > .oo-ui-labelElement-label {
    margin-left: 1.5rem;
}

.manorhouse td {
    width: 50% !important;
}

.oo-ui-panelLayout {
    border:  none !important;
}

.card-title {
    margin-top: 0 !important;
}

.mw-prefs-buttons {
    box-shadow: none;
}

.mw-changeslist table {
    margin-left: 0 !important;
}

#mw-content-text .mw-parser-output {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2.5rem;
}
#mw-content-text .subpagelist {
    width: 20%;
}
#mw-content-text .subpagelist ul {
    list-style: none !important;
    position: sticky;
    margin: 0 !important;
    padding: 0 !important;
    height: fit-content;
    font-size: 1.05rem;
}
#mw-content-text .subpagelist li {
    margin-bottom: 0.375rem;
}
#mw-content-text .subpagelist a {
    color: inherit !important;
}
#mw-content-text .subpagelist a:hover {
    text-decoration: none !important;
}
#mw-content-text .content {
    flex: 1 0 0;
}
#mw-content-text .content > p {
    max-width: none !important;
}
#mw-content-text .content iframe {
    width: 100%;
    height: 75vh;
}
*:not(.herrenhaus-root) table:not(.formtable) th,
*:not(.herrenhaus-root) table:not(.formtable) td {
    vertical-align: top !important;
    padding: 0 0 1rem 2rem !important;
}
.herrenhaus-root th, .herrenhaus-root td {
    padding: 2rem !important;
}
#mw-content-text tr {
    background-color: transparent !important;
}
#mw-content-text tr:nth-of-type(4) td .btn {
    display: block;
    flex: none;
}
#mw-content-text tr:nth-of-type(4) td small {
    display: block;
    margin-top: 1.5rem;
}
#mw-content-text tr:nth-of-type(4) td .btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
#mw-content-text tr:nth-of-type(4) .floatnone img {
    width: 100% !important;
    height: 13.75rem !important;
}
#mw-content-text td:nth-of-type(2) .image,
#mw-content-text td:nth-of-type(2) .image img {
    min-width: 20vw;
    height: auto;
}
#mw-content-text .image + .image {
    display: block;
    margin-top: 1.5em !important;
}
#mw-content-text .floatnone a,
#mw-content-text .floatnone img {
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: cover;
}
#mw-content-text ol li small {
    margin-top: 0.5rem !important;
}
#toc + h5 {
    margin-top: 0 !important;
}

#mw-context-text td > .image {
    width: 100%;
    height: auto;
}

.leaflet-popup-content p {
    display: flex;
    flex-direction: column;
}

.toclevel-1 span {
    font-size: 1rem;
}
.toclevel-2 span {
    font-size: 0.9rem;
}

*[id^="map_leaflet"] {
    border-radius: 0.5rem;
    overflow: hidden;
}

#maincontentwrapper {
    padding-top: 0 !important;
}
#maincontentwrapper p a[href]:not(.btn), #maincontentwrapper blockquote a[href]:not(.btn),
#maincontentwrapper table a[href]:not(.btn),
#maincontentwrapper ul a[href]:not(.btn), #maincontentwrapper ol a[href]:not(.btn) {
    color: var(--color-primary);
}

#contentwrapper {
    margin: auto;
    padding-top: 2rem;
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100%;
    max-width: calc(var(--max-width) + 2 * 20px);
}
#contentwrapper > .row {
    display: flex;
    flex-direction: row-reverse;
}

#sidebar-right {
    position: sticky;
    top: 1rem;
    padding-top: 1.25rem;
    padding-right: 4rem;
    width: 20% !important;
    white-space: break-spaces;
}
#sidebar-right .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}
#sidebar-right .nav-link {
    margin-bottom: 0.125rem;
}
#sidebar-right .nav-link.active {
    font-weight: 500;
}

#contentSub, #contentSub a {
    margin-left: 0;
    color: var(--color-primary);
}

#mw-toc-heading {
    display: none !important;
}

#navbar {
    flex-grow: 0 !important;
}
#navbar a {
    font-size: 0.9rem;
    text-transform: uppercase;
}
#navbar a::after {
    display: none !important;
}
#navbar .nav-item {
    padding: 0.25rem 0.125rem;
}
#navbar .dropdown-item.active,
#navbar .dropdown-item:active {
    background-color: var(--color-primary);
    color: white !important;;
}
#navbar .fa + * {
    display: none;
}
#navbar > a:first-child {
    margin-right: 1rem !important;
}
#navbar ul:nth-of-type(1) {
    margin-right: 1rem !important;
}
#navbar ul:nth-of-type(2) {
    order: 1;
    margin-left: 0.5rem;
}
#navbar ul:nth-of-type(2) > li > a {
    color: var(--color-primary) !important;
}
#navbar #searchform {
    order: 0;
}
#navbar .fa-cog::before {
    content: "…";
}
@media all and (max-width: 992px) {
    #navbar {
        margin-top: 1rem;
        margin-bottom: 0;
    }
    #navbar form {
        margin-top: 0.5rem;
    }
}

#loadingMask,
.loadingImage,
.loadingImage * {
    display: none !important;
    visibility:  collapse !important;
}

#mw-navigation {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    background-color: transparent !important;
}
#mw-navigation a {
    color: #212529;
}
#mw-navigation input {
    min-width: 16em;
    font-size: 0.9em;
    font-weight: 300;
    border-width: 0.15rem !important;
    border-radius: 0 !important;
    border-color: var(--color-primary) !important;
}
#mw-navigation.fixed-top {
    position: relative;
}
#mw-navigation > .container {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 0;
    max-width: var(--max-width);
}

#firstHeading {
    text-align: left;
}

#content,
#bodyContent .row > div {
    padding: 0;
}
#bodyContent .row > div:first-child {
    padding-right: 3.5rem;
}
#bodyContent .container-fluid + .container-fluid {
    margin-top: 4rem;
}

#bodyContent h1,
#bodyContent h2,
#bodyContent h3,
#bodyContent h4,
#bodyContent h5,
#bodyContent h6 {
    transform: translateY(-0.125em);
}
#bodyContent h1:not(:first-child),
#bodyContent h2:not(:first-child),
#bodyContent h3:not(:first-child),
#bodyContent h4:not(:first-child),
#bodyContent h5:not(:first-child),
#bodyContent h6:not(:first-child) {
    margin-top: 1.25em;
}
#firstHeading,
#bodyContent h1,
#bodyContent h2,
#bodyContent h3,
#bodyContent h4,
#bodyContent h5,
#bodyContent h6 {
    font-weight: 300;
    margin-bottom: 0.75em;
}
#firstHeading,
#bodyContent h1 {
    font-size: 2.66rem;
}
#bodyContent h2,
#bodyContent h5 {
    font-size: 2rem;
}
#bodyContent h3 {
    font-size: 1.5rem;
}
#bodyContent h4 {
    font-size: 1.33rem;
}

#bodyContent p {
    font-size: 1rem;
}
#bodyContent small {
    font-size: 0.85rem;
}

#bodyContent ul,
#bodyContent ol {
    margin-left: 0.75rem;
}

#mw-createaccount-join {
    margin-top: 1rem;
}

#footer {
    background-color: var(--color-primary) !important;
    color: white !important;
    font-size: 0.9rem;
}
#footer ul * {
    color: white !important;
}
#footer ul {
    display: flex;
    gap: 1rem;
}
#footer #footer-poweredbyico {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
@media all and (max-width: 992px) {
    #footer ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
}

#footer-custom .dropdown-item {
    color: #212529 !important;
}
#footer-custom #t-tools {
    margin-right: 0.5em;
}
#footer-custom #t-tools .fa {
    display: none;
}
#footer-custom #t-tools::before {
    content: "Tools";
}
#footer-custom .dropup:not(.dropdown) {
    width: 1.5em;
    height: 1.5em;
    color: transparent !important;
    overflow: hidden;
}

#navbar .nav-item a[accesskey="o"],
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type a {
    width: 2em;
    height: 2em;
    color: transparent !important;
    overflow: hidden;
}
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type a {
    display: inline-block;
    width: 2.5em;
}
#navbar .nav-item a[accesskey="o"]::before,
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type a::before,
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type::after {
    color: var(--color-primary);
    font-family: "Font Awesome 5 Free";
}
#navbar .nav-item a[accesskey="o"]::before {
    content: "\f007";
    font-weight: 900;
}
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type a::before {
    content: "\f007";
}
#navbar .nav-item a[accesskey="o"]::before,
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type a::before {
    margin-right: 0rem;
}
#navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type::after {
    content: "+";
    display: inline-block;
    font-size: 0.8em;
    font-weight: 600;
    transform: translateX(-0.95rem) translateY(-0.65rem);
}

#ca-edit-ext {
    margin-left: 1em;
    color: var(--color-primary) !important;
}

.card-body {
    display: flex;
    flex-direction: column;
}
.card-body .btn-group {
    width: fit-content;
    align-self: center;
}

.mediawiki.mw-special-RunQuery #mw-content-text {
    display: flex !important;
    flex-direction: row !important;
    gap: 3rem !important;
    margin-right: -3rem !important;
}
.mediawiki.mw-special-RunQuery .mw-parser-output {
    flex: 1 0 auto !important;
    gap: 3rem !important;
    width: 100% !important;
    height: fit-content !important;
}
.mediawiki.mw-special-RunQuery .mw-parser-output > .nav-tabs {
    height: 2.5rem !important;
}
@media all and (max-width: 1280px) {
    .mediawiki.mw-special-RunQuery #mw-content-text {
        flex-direction: column !important;
        gap: 1.5rem !important;
        margin-right: 0 !important;
    }
    #myTabs {
        margin-bottom: -2rem !important;
    }
    .pf-runquery-formcontent .formtable {
        width: fit-content;
    }
    .pf-runquery-formcontent {
        margin-top: 2rem !important;
    }
    .pf-runquery-formcontent > h2 {
        margin-bottom: -3rem !important;
    }
}
@media all and (min-width: 1281px) {
    .mediawiki.mw-special-RunQuery .mw-parser-output {
        width: 67.5% !important;
    }
    .mediawiki.mw-special-RunQuery #pfForm .mw-parser-output {
        width: 100% !important;
    }
    .pf-runquery-formcontent .formtable th:first-of-type,
    .pf-runquery-formcontent .formtable td:first-of-type {
        vertical-align: middle !important;
    }
}

*:not(.country-map) > #myTabs {
    margin-left: 0 !important;
}
*:not(.country-map) > #myTabs,
*:not(.country-map) > #myTabs .tab-content,
#map_leaflet_1 {
    width: 100% !important;
}
*:not(.country-map) > #myTabs + div {
    width: 100%;
}
.pf-runquery-formcontent h2 {
    display: none !important;
}
.pf-runquery-formcontent .formtable tr {
    display: block !important;
    height: fit-content !important;
}
.pf-runquery-formcontent .formtable tr:not(:last-of-type) {
    height: 4rem !important;
}
.pf-runquery-formcontent .formtable th,
.pf-runquery-formcontent .formtable td {
    width: 100% !important;
    text-align: left !important;
    vertical-align: middle !important;
}
.pf-runquery-formcontent .formtable th:first-of-type,
.pf-runquery-formcontent .formtable td:first-of-type {
    white-space: break-spaces;
    text-align: left !important;
    vertical-align: middle !important;
}
.pf-runquery-formcontent .formtable .oo-ui-selectWidget {
    text-align: left !important;
}
.pf-runquery-formcontent .oo-ui-inputWidget-input {
    margin-left: 1.25rem !important;
    width: 100%;
    height: calc(1.5em + 0.7rem) !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.pf-runquery-formcontent .oo-ui-inputWidget-input input,
.pf-runquery-formcontent .oo-ui-inputWidget-input span,
.pf-runquery-formcontent .oo-ui-inputWidget-input .oo-ui-inputWidget {
    width: 100% !important;
}
.pf-runquery-formcontent .oo-ui-fieldLayout.oo-ui-fieldLayout-align-left {
    margin: auto !important;
}
.pf-runquery-formcontent .comboboxSpan {
    display: block;
    width: 100%;
}
.pf-runquery-formcontent .formtable th,
.pf-runquery-formcontent .formtable td {
    padding: 0 !important;
}
.pf-runquery-formcontent .formtable th {
    width: fit-content !important;
}
.pf-runquery-formcontent .formtable td,
.pf-runquery-formcontent .formtable .oo-ui-inputWidget-input,
.pf-runquery-formcontent .formtable .oo-ui-comboBoxInputWidget-field {
    width: 100% !important;
    border: none !important;
}
.pf-runquery-formcontent .formtable .oo-ui-inputWidget {
    width: 100% !important;
    border: 2px solid var(--color-primary);
    border-radius: 0.3rem;
}
.pf-runquery-formcontent .formtable .oo-ui-buttonElement-button,
.pf-runquery-formcontent .formtable .oo-ui-inputWidget-input {
    border: none !important;
}
.pf-runquery-formcontent .formtable .oo-ui-comboBoxInputWidget-field > input {
    margin-left: 0 !important;
}
.pf-runquery-formcontent .formtable + p {
    display: none !important;
}
.pf-runquery-formcontent .formtable ~ .oo-ui-fieldLayout {
    display: flex;
    justify-content: center;
    width: 100% !important;
}
.pf-runquery-formcontent .oo-ui-iconElement-icon.oo-ui-icon-search {
    display: none !important;
}
#pfForm input[type="hidden"] {
    visibility: collapse !important;
    display: none !important;
}
#pfForm .mw-parser-output {
    margin-top: -1.75em !important;
}

#myTabs + div > .tab-content {
    margin-top: -2.5rem !important;
}
#myTabs + div > #map_leaflet_1 {
    margin-top: 2.5rem !important;
}
#wpRunQuery {
    margin: auto !important;
}
#wpRunQuery button[name="wpRunQuery"] {
    display: inline-flex;
    margin-top: -3em !important;
    margin-left: 0 !important;
    border-radius: 0.3rem !important;
}
#wpRunQuery button[name="wpRunQuery"] .oo-ui-icon-search {
    width: 1rem !important;
}
#wpRunQuery button[name="wpRunQuery"] .oo-ui-labelElement-label {
    margin-left: 0 !important;
}
#myTabs + .wikitable th {
    min-width: 12.5em !important;
    padding-left: 0 !important;
    text-align: left !important;
}
#myTabs #wikiPreview + p {
    display: none;
}

#mw-special-RequestAccount input {
    margin-left: 1rem !important;
}

.sitedir-ltr #contwentwrapper table {
    table-layout: fixed;
}

#ca-views {
    display: none;
}

#userloginForm .mw-secure {
    display: none;
}

label + .mw-input {
    margin-top: 0.5em;
}

.mw-category-group > h3 {
    margin-bottom: 0.125em !important;
}
.mw-category-group + .mw-category-group {
    margin-top: 1.5em;
}

#footer {
    width: 100% !important;
}
#footer .footer,
#footer .container, #footer .row,
#footer .footer-widget {
    width: 100% !important;
    max-width: var(--max-width) !important;
}
#footer > .container > .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#footer > .container,
#footer > .container > .row > .footer-widget {
    padding: 0 !important;
}
#footer .footer-top:nth-of-type(2) > div {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
}
#footer .footer-affiliates {
    display: flex !important;
    gap: 1rem;
}
#footer .footer-top:nth-of-type(1) > div {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    width: 100%;
}
#footer .footer-top:nth-of-type(1) a {
    text-transform: uppercase;
    text-decoration: underline;
}
#footer .footer-top:nth-of-type(1) a:not(:last-child) {
    margin-right: 0.75rem;
}
#footer  .footer-affiliates img {
    width: 100%;
}
#footer .footer-top:nth-of-type(2) > div > .footer-affiliates:first-child > a:first-of-type img {
    max-width: 277px;
}
#footer .footer-top:nth-of-type(2) > div > .footer-affiliates:first-child img {
    max-width: 250px;
}
#footer .footer-top:nth-of-type(2) > div > .footer-affiliates:not(:first-child) a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25em;
    width: auto;
    background-color: white;
    border-radius: 0.25rem;
    overflow: hidden;
}
#footer .footer-top:nth-of-type(2) .footer-affiliates:last-child a {
    max-width: 240px;
}
#footer .footer-affiliates--v {
    flex-direction: column;
}
#footer .footer-affiliates--h {
    flex-direction: row;
}
#footer .footer-affiliates--v > *,
#footer .footer-affiliates--v img {
    width: 100% !important;
}
#footer .footer-top:nth-of-type(2) p:first-of-type {
    text-transform: uppercase;
}
#footer #t-tools {
    margin-left: 1em;
}
@media all and (max-width: 1280px) {
    #footer .footer-top:nth-of-type(2) > div {
        flex-direction: column;
    }
    #footer .footer-top:nth-of-type(2) > div > .footer-affiliates:first-child img {
        width: 100% !important;
    }
    #footer .footer-top:nth-of-type(2) > div > .footer-affiliates:nth-child(2) img {
        width: 30% !important;
    }
}

.nav-tabs {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    border-bottom: none !important;
}
.nav-tabs > * {
    flex: 1 0 auto !important;
    width: auto !important;
}
.nav-tabs .tab-toggle {
    text-align: center;
    border: none !important;
    border-bottom: 0.2em solid #E0E0E0 !important;
}
.nav-tabs .tab-toggle.active {
    border-color: var(--color-primary) !important;
}
.nav-tabs a {
    color: #212529 !important;
}

#tab1 #map_leaflet_1 {
    margin-top: 1rem !important;
}

#searchform {
    position: relative;
}
#searchform::before {
    content: "";
    position: absolute;
    display: block;
    margin-top: -0.55em;
    margin-left: 0.5em;
    top: 50%;
    left: 0;
    width: 1.1em;
    height: 1.1em;
    background-image: url(/load.php?modules=oojs-ui.styles.icons-interactions&image=search&variant=invert&format=rasterized&skin=tweeki&version=1ir13);
    background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E search %3C/title%3E%3Cg fill=%22%23264190%22%3E%3Cpath d=%22M12.2 13.6a7 7 0 1 1 1.4-1.4l5.4 5.4-1.4 1.4-5.4-5.4zM3 8a5 5 0 1 0 10 0A5 5 0 1 0 3 8z%22/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 1.1em;
    background-position: center;
}
#searchform #searchInput {
    padding-left: 2rem;
    padding-right: 0.5em;
}

#pfForm ~ hr {
    display: none !important;
}

.image, .thumb {
    float: right !important;
}
.thumbinner {
    padding: 0 !important;
    width: auto !important;
    border: none !important;
    background-color: transparent !important;
}
.thumbcaption {
    transform: translateY(0.25em);
}
img.image,
.image img, .thumb img {
    width: 100% !important;
    max-width: 24.5rem !important;
    height: auto !important;
}
.manorhouse img {
    max-width: none !important;
}
.manorhouse .image {
    margin-bottom: 1rem;
}
.manorhouse small {
    padding-bottom: 1rem;
}

.country-map {
    display: flex;
    flex-direction: row;
}
.country-map > .nav:first-child {
    visibility: collapse !important;
}
.country-map > div:first-of-type {
    position: sticky !important;
    margin-bottom: 2rem;
    top: 1rem !important;
}
.country-map #map_leaflet_1 {
    height: 75vh !important;
}

.HouseTimeline {
    --housetimeline-dotsize: 1.25em;
    position: relative;
}
.HouseTimeline:before {
    content: "";
    position: absolute;
    display: block;
    top: 1%;
    left: calc((var(--housetimeline-dotsize) / 2) - (0.175em / 2));
    width: 0.175em;
    height: 98%;
    background-color: var(--color-primary);
}
.HouseTimeline .row,
.HouseTimeline .row > .col:first-of-type {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 0;
}
.HouseTimeline .row:not(:last-child) {
    margin-bottom: 1em;
}
.HouseTimeline .row > .col {
    padding: 0 !important;
}
.HouseTimeline .row > .col:first-of-type::before {
    content: "";
    display: block;
    margin-right: 0.75em;
    width: var(--housetimeline-dotsize);
    height: var(--housetimeline-dotsize);
    background-color: white;
    border: 0.175em solid var(--color-primary);
    border-radius: 100%;
}

#timeline {
    display: none;
}
#Infobox {
    display: none;
}

@media all and (min-width: 841px) {
    p:first-child + .subpagelist {
        margin-left: -2.25rem !important;
    }
}

#mw-navigation
.footer > .container,
#maincontentwrapper {
    width: 100%;
    max-width: var(--max-width) !important;
}

#maincontentwrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.house-tiles {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 1rem !important;
}
.house-tile {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    width: 100% !important;
    max-width: 17.5rem !important;
    border: none !important;
}
.house-tile small {
    margin-top: 1em;
}
.house-tile p {
    font-size: 0.95em !important;
}
.house-tile .btn-group {
    align-self: center;
}
.house-tile .btn {
    align-self: center;
}
.house-tile .card-img-top {
    margin-bottom: 1rem;
}
.house-tile .card-title {
    margin-bottom: 0.125em !important;
}

.country-map {
    display: flex;
    align-items: flex-start;
    gap: 3.25em;
}
.country-map > .nav-tabs:first-child {
    display: none !important;
}
.country-map > div:first-of-type {
    display: block;
    flex:  1 0 auto;
    height: 70vh;
    width: 50% !important;
}
.country-map #myTabs + div > .tab-content {
    margin-top: 0 !important;
}

#contentwrapper > .row {
    width: 100% !important;
    margin: 0;
}

#mw-navigation,
#footer-custom {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

#mw-content-text .content iframe,
#map_leaflet_1, #map_leaflet_2 {
    width: 100% !important;
    height: 60vh !important;
}

@media all and (max-width: 520px) {
    #mw-content-text .content iframe,
    #map_leaflet_1, #map_leaflet_2 {
        height: 80vh !important;
    }
}

#map_leaflet_2 {
    margin-top: -3rem !important;
}

.thumbinner {
    display: flex;
    flex-direction: column;
    width: fit-content !important;
    max-width: 17.5rem;
}
.thumbinner .image,
.thumbinner .image img {
    min-width: 0 !important;
}
.thumb {
    margin-top: 0 !important;
    margin-left: 0 !important;
}

.subpagelist {
    padding-top: 0 !important;
}

.mw-references-columns {
    padding-left: 2rem !important;
}

tr > td:first-child:last-child {
    padding-left: 0 !important;
}
tr > td:last-child {
    padding-right: 0 !important;
}

th.Wikibase-item,
th.headerSort, th.headerSort a {
    color: #212529 !important;
    white-space: nowrap;
    font-style: normal;
}

th::first-letter, th a::first-letter, th strong::first-letter,
td::first-letter, td p::first-letter {
    text-transform: capitalize;
}

.leaflet-control a {
    color: #212529 !important;
}

.HouseInfobox .row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
.HouseInfobox .row:not(:last-child) {
    margin-bottom: 1em;
}
.HouseInfobox .row .col {
    padding-right: 0 !important;
    width: fit-content !important;
}
.HouseInfobox .row > .col:first-of-type {
    padding-right: 0.75em !important;
}

.manorhouse tr:first-of-type th .image img {
    max-width: none !important;
}

.country-content {
    width: 100% !important;
}

.house-tiles > script, .house-tiles > p:empty,
#mw-content-text.mw-content-ltr > .mw-parser-output > p:first-child:empty {
    display: none !important;
}

.manorhouse tr th:first-of-type, .manorhouse tr td:first-of-type {
    padding-left: 0 !important;
}
.manorhouse tr th:last-of-type, .manorhouse tr td:last-of-type {
    padding-right: 0 !important;
}

.footer-affiliates a {
    max-width: 20rem;
}

@media all and (max-width: 840px) {
    .mw-parser-output {
        flex-direction: column !important;
    }
    .mw-parser-output > .subpagelist {
        margin-top: -4rem;
        margin-bottom: 1rem;
        width: 100% !important;
    }
}

h1:not(:first-child), h2:not(:first-child), h3:not(:first-child), h4:not(:first-child), h5:not(:first-child), h6:not(:first-child) {
    padding-top: 0.25em;
}
h1, h2, h3, h4, h5, h6 {
    padding-bottom: 0.5em;
}
h1 {
    font-size: 2.66rem;
}
h2 {
    font-size: 2.33rem;
}
h3 {
    font-size: 2rem;
}
h4 {
    font-size: 1.66rem;
}
h5 {
    font-size: 1.33rem;
}
h6 {
    font-size: 1rem;
    font-weight: 500;
}
h1, h2, h3, h4, h5, h6,
p {
    margin: 0 !important;
}

#footer-custom {
    flex-direction: column !important;
}
#t-tools {
    margin-left: 0 !important;
}

@media all and (max-width: 991px) {
    p > br ~ br {
        display: none !important;
    }
    iframe:not(:last-child) {
        margin-bottom: 2rem !important;
    }
    #navbar .nav-item a[accesskey="o"],
    #navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type a {
        width: auto;
        color: var(--color-primary) !important;
    }
    #navbar .nav-item a[accesskey="o"]::before,
    #navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type a::before {
        margin-right: 1em !important;
    }
    #navbar .navbar-nav:nth-of-type(2) .nav-item:not(.dropdown):last-of-type::after {
        display: none !important;
    }
    #mw-content-text .content iframe,
    #map_leaflet_1, #map_leaflet_2 {
        height: 70vh !important;
    }
    #searchform {
        margin-top: 2rem !important;
    }
    #bodyContent .row > div:first-child {
        padding-bottom: 2rem;
        padding-right: 0;
    }
    #bodyContent .container-fluid + .container-fluid {
        margin-top: 0;
    }
    .formtable {
        margin-top: -3rem !important;
    }
    #myTabs, #tab2 {
        display: none !important;
    }
    #tab1 {
        margin-top: -2rem !important;
    }
    .country-map {
        flex-direction: column;
    }
    .country-map > div:first-of-type {
        width: 100% !important;
    }
    .country-map .house-tiles {
        align-items: center;
        margin-bottom: -2rem !important;
        padding-top: 2rem;
        width: 100%;
        background-color: white;
        z-index: 10;
    }
    .country-map .house-tiles .house-tile {
        margin-top: 1.25rem;
        width: 100% !important;
    }
    .card-title {
        padding-bottom: 0 !important;
    }
    h5.card-title + #map_leaflet_2 {
        margin-top: 0 !important;
    }
    .card-text:not(:last-child) {
        margin-bottom: 0.75em !important;
    }
    #footer .container {
        margin-left: 20px !important;
        padding-right: 0 !important;
        width: 95vw !important;
    }
    #footer p + * {
        margin-top: 1rem;
    }
    .footer-affiliates a, .footer-affiliates img {
        max-width: 200px !important;
    }
}