﻿
@font-face {
    font-family: Inter;
    src: local("Inter"), url('/fonts/Inter-Regular.woff2') format("woff2"), sans-serif;
}

html {
    font-family: Inter, system, sans-serif;
    font-size: 15px;
    box-sizing: border-box;
    color: #0f0865;
}

body {
    margin: 0;
}

header {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
}

main {
    width: 90%;
    max-width: 960px;
}

#header-top {
    padding: 0.62em 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#header-top a {
    display: flex;
    align-items: center;
    font-weight: 600;
    gap: 1em;
    color: #0B0544;
}

#header-top a:focus, #header-top a:hover {
    text-decoration: underline;
}

header a {
    text-decoration: none;
    color: #0B0544;
}

#header-top {
    margin: 0em 0;
    padding: 0 1em;
}

#scb-logotype {
    padding: 1em 0;
}

#scb-logo-text {
    font-size: 16px;
}
#header-bottom {
    display: flex;
    justify-content: space-between;
    padding: 1.0em;
    border-bottom: 1px solid #ccc;
}

#header-bottom > [lang]{
    text-align: right;
}

#header-bottom a {
    color: inherit;
    display: inline-block;
}

#header-bottom a {
    font-size: 1.20em;
}

main {
    margin: 2.4em auto;
}

a {
    text-underline-offset: .1578em;
}
h1 {
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.25;
    margin: 0.5em 0;
}

.h3, h2 {
    font-size: 1.25em;
}

#main-intro p {
    font-size: 1.125em;
    line-height: 1.44;
}

main form {
    margin: 2em 0 4em;
}

label {
    font-size: 1.2em;
    font-weight: 600;
}

.search-bar {
    display: flex;
    gap: 0.5em;
    margin-top:0.2em;
}

.search-bar input {
    width: 60ch;
    max-width: 70%;
}

header form {
    padding: 1em 0em;
    max-width: 100%;
}

input, button {
    padding: 1em;
    background: #fafafa;
    border: 1px solid #777;
    font-size: 1em;
}

input {
    border-radius: 10px;
}

button {
    background: #1d00bd;
    color: white;
    border-radius: 2em;
    font-weight: 600;
    padding: 1em 2em;
}

table {
    border-collapse: collapse;
    margin-bottom: 2em;
    min-width: 60%;
}

tbody tr {
    background: #fff;
}

th {
    background: #1E00BE;
    color: #fff;
}

tbody tr:nth-child(2n+1) {
    background: #f8f8f8;
}

td, th {
    padding: 0.6em;
    border-right: none;
    text-align: left;
}

td.rr {
    text-align: right;
}

th.l {
    text-align: left;
}

td:first-child, th:first-child {
    border-left: none;
}

abbr {
    text-decoration: none;
}

.result {
    border-top: 1px solid #777;
    padding: 0.3em;
}

.result > a {
    text-decoration: none;
    color: #007;
    font-size: 1.2814em;
    font-weight: 600;
}

.result:focus-within, .result:hover {
    background: #f6f5fc;
}

.result a::before {
    content: "🔗";
    margin-right: 0.5em;
    display: inline-block;
}

.result a:focus, .result a:hover {
    text-decoration: underline;
}

footer {
    width: 100%;
    border-top: 1px solid #0f0865;
    position:relative;
    bottom:0;
}

nav ul {
    margin: 0; 
    padding: 0;

}
nav li {
    display: inline-block;
    background: #f5fcf0;
    color: #000;
    padding: 1em 0.5em;
}

.at {
    margin: 0.8em 0 1.4em;
}

.breadcrumb span::after {
    content: '/';
    margin: 0;
}

.breadcrumb a {
    padding: 0.3em 0.6em 0.3em 0;
}

p {
    max-width: 68ch;
}

ul {
    max-width: 62ch;
}

p a {
    font-weight: 500;
}

a:visited {
    color: #2600bb;
}

.current {
    color: #0B0544;
}

mark {
    background: inherit;
    font-weight: bold;
}

mark.part {
}

.soktips {margin-right: 3em;}


li {
    margin: 0.2em 0;
}

ul {
    padding-left: 2em;
}

li > p {
    margin: 0;
}

li:first-letter {
    text-transform: uppercase;
}

#results {
    scroll-margin-top: 18em;
}

.inverted {
    text-align: center;
    padding: 20px;
    color: white;
    background-color: #0f0865;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main{
    flex-grow:1;
}
header, footer{
    flex-grow: 0;
}

.footer-vision, .copyright img {
    margin-bottom: 1em;
}
