﻿@font-face {
    font-family: 'InterRS';
    src: url('/static/fonts/30b6ebda6df161be.p.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* =========================
    Text
   ========================= */

.rs-text-xs {
    font-size: 0.875rem;
    line-height: 1.5;
}

.rs-text-sm {
    font-size: 1rem;
    line-height: 1.5;
}

.rs-text-base,
body {
    font-size: 1.125rem;
    line-height: 1.5;
}

.rs-text-lg,
.rs-heading-4,
.rs-heading-5,
.rs-heading-6 {
    font-size: 1.375rem;
    line-height: 1.5;
}

.rs-text-xl,
.rs-heading-2,
.rs-heading-3 {
    font-size: 1.5rem;
    line-height: 1.2;
}

.rs-text-1_5xl {
    font-size: 1.5625rem;
    line-height: 1.2;
}

.rs-text-2xl,
.rs-heading-1 {
    font-size: 1.75rem;
    line-height: 1.2;
}

.rs-text-3xl {
    font-size: 2.125rem;
    line-height: 1.2;
}

.rs-text-4xl {
    font-size: 2.5rem;
    line-height: 1.2;
}

.rs-text-4_5xl {
    font-size: 2.75rem;
    line-height: 1.2;
}

.rs-text-5xl {
    font-size: 3rem;
    line-height: 1.1;
}

/* =========================
   Rubriker
   ========================= */
.rs-heading {
    color: var(--heading);
}

.rs-heading-1,
h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: lighter;
    color: var(--white);
}

@media (min-width: 768px) {
    .rs-heading-1,
    h1 {
        font-size: 2.125rem;
    }
}

@media (min-width: 1024px) {
    .rs-heading-1,
    h1 {
        font-size: 2.5rem;
    }
}

.rs-heading-2,
h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--heading);
}

@media (min-width: 768px) {
    .rs-heading-2,
    h2 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .rs-heading-2,
    h2 {
        font-size: 2.125rem;
    }
}

.rs-heading-3,
h3 {
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--heading);
}

@media (min-width: 768px) {
    .rs-heading-3,
    h3 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
}

@media (min-width: 1024px) {
    .rs-heading-3,
    h3 {
        font-size: 1.75rem;
    }
}

.rs-heading-4,
h4 {
    color: var(--heading);
}

.rs-heading-5,
h5,
.rs-heading-6,
h6 {
    color: var(--heading);
}

/* =========================
   Grundlayout
   ========================= */
body {
    font-family: 'InterRS', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    color: var(--normal-text);
}

main {
    padding: 20px;
}

article p {
    margin-bottom: 1rem;
}

p {
    margin: 1rem 0;
}

em {
    font-style: italic;
}

strong {
    font-weight: bold;
}

small {
    font-size: 0.875em;
}

abbr,
acronym {
    border-bottom: 1px dotted;
    cursor: help;
}

del {
    text-decoration: line-through;
}

ins {
    text-decoration: underline;
    color: green;
}

kbd,
code,
samp {
    font-family: monospace;
    background-color: #eee;
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

var {
    font-style: italic;
}

q {
    quotes: "“" "”" "‘" "’";
}

sup {
    vertical-align: super;
    font-size: smaller;
}

sub {
    vertical-align: sub;
    font-size: smaller;
}

/* =========================
   Citat
   ========================= */
blockquote {
    border-left: 4px solid #ccc;
    margin: 1em 0;
    padding: 0.5em 1em;
    color: #666;
    font-style: italic;
}

    blockquote cite {
        display: block;
        text-align: right;
        font-size: 0.875rem;
        margin-top: 0.5em;
    }

/* =========================
   Tabeller
   ========================= */

.rs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background-color: var(--background) !important;
    font-size: 1.125rem;
    color: var(--foreground) !important;
    border: 1px solid var(--gray-300);
}

    .rs-table caption {
        caption-side: top;
        background-color: var(--brand);
        color: var(--brand-foreground);
        font-weight: bold;
        text-align: left;
        padding: 0.75rem 1rem;
    }

    .rs-table thead {
        background-color: var(--brand-muted) !important;
        color: var(--brand-muted-foreground) !important;
    }

        .rs-table thead th {
            padding: 0.75rem 1rem;
            text-align: left;
            font-weight: bold;
            border: 1px solid var(--gray-300);
            background-color: var(--brand-muted) !important;
            color: var(--brand-muted-foreground) !important;
        }

    .rs-table tbody tr:nth-child(odd) {
        background-color: var(--gray-200) !important;
    }

    .rs-table tbody tr:nth-child(even) {
        background-color: var(--background) !important;
    }

    .rs-table td {
        border: 1px solid var(--gray-300);
        padding: 0.75rem 1rem;
        text-align: left;
        vertical-align: top;
        color: var(--foreground);
    }

        .rs-table td a {
            color: var(--link);
            font-weight: bold;
            text-decoration: none;
        }

            .rs-table td a:hover {
                color: var(--link-hover);
                text-decoration: underline;
            }


/* =========================
   Listor
   ========================= */
ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

dl {
    margin: 1rem 0;
}

dt {
    font-weight: bold;
}

dd {
    margin-left: 1rem;
}

/* =========================
   Länkar
   ========================= */
.rs-link,
a {
    color: var(--link);
    text-decoration: underline;
}

    .rs-link:hover,
    a:hover {
        color: var(--link-hover);
    }

/* =========================
   Brand
   ========================= */
.rs-bg-brand {
    background-color: var(--brand);
    color: var(--brand-foreground);
    padding: 20px !important;
}

.rs-text-brand {
    color: var(--brand);
}

.rs-border-brand {
    border: 1px solid var(--brand);
}

/* =========================
   Standout
   ========================= */
.rs-bg-standout {
    background-color: var(--standout);
    color: white;
}

.rs-text-standout {
    color: var(--standout);
}

/* =========================
   Minimal design
   ========================= */
.rs-bg-minimal {
    background-color: var(--minimal);
}

.rs-bg-minimal-contrast {
    background-color: var(--minimal-contrast);
}

.rs-container-header {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.rs-navbar-logo {
    padding: 15px 0;
}

.rs-navbar-branding {
    border-left: 1px solid rgba(100,100,100,0.8);
    padding: 10px 20px;
}

.left-nav ul li {
    display: none;
}

    .left-nav ul li.active {
        display: list-item;
    }

/* =========================
   Inputs och knappar
   ========================= */
input {
    padding: 10px;
    font-size: 18px;
    margin-right: 10px;
}

.rs-input {
    background-color: var(--background);
    border-radius: 0.375rem;
    border: 2px solid var(--brand);
    box-sizing: border-box;
    color: var(--black);
    display: block;
    width: 100%;
    font-size: 1.125rem;
    font-weight: 400;
    min-height: 3.75rem;
    padding: .75rem 1.25rem;
}

.rs-button {
    display: inline-block;
    padding: 0.75rem 2.25rem;
    font-weight: 400;
    font-size: 1.5rem;
    width: 100%;
    min-height: 3.75rem;
    line-height: 1.5;
    cursor: pointer;
    background-color: var(--brand);
    color: white;
    text-decoration: none;
    border: 0;
    border-radius: 1.875rem;
}

    .rs-button:hover {
        background-color: var(--link-hover);
    }

    .rs-button svg {
        color: var(--blue-400);
        width: 1.25em;
        height: 1.25em;
        margin-right: .5em;
    }

    .rs-button:hover svg {
        color: var(--blue-200);
    }

/* =========================
   Övrigt
   ========================= */
hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 2rem 0;
}

address {
    font-style: normal;
    line-height: 1.5;
    margin-top: 1rem;
    white-space: pre-line;
}

figure {
    margin: 1rem 0;
    text-align: center;
}

figcaption {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

.custom-spinner {
    animation: spin 1s linear infinite;
    color: #333; /* eller anpassa efter din design */
    width: 1.25rem;
    height: 1.25rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.catalogue-area {
    display: none;
}

.beta {
    color: red;
    font-size: 1.8rem;
}

/* ===========================
   Kryssrutor
   =========================== */
.rs-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.rs-checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border: 2px solid var(--brand);
    border-radius: 4px;
    position: relative;
    margin-right: 0.5rem;
    vertical-align: middle;
}

    /* Bock */
    .rs-checkmark::after {
        content: "";
        position: absolute;
        display: none;
        left: 6px;
        top: 2px;
        width: 6px;
        height: 12px;
        border: solid var(--normal-text); /* ← här styr du färgen på bocken */
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

/* Visa bock vid checked */
.rs-checkbox:checked + .rs-checkmark::after {
    display: block;
}