@font-face {
    font-family: 'Inter Tight';
    font-weight: 400;
    font-display: swap;
    src: url(fonts/intertight/inter-tight-regular.woff2) format("woff2");
}
@font-face {
    font-family: 'Inter Tight';
    font-weight: 500;
    font-display: swap;
    src: url(fonts/intertight/inter-tight-medium.woff2) format("woff2");
}
@font-face {
    font-family: 'Inter Tight';
    font-weight: 700;
    font-display: swap;
    src: url(fonts/intertight/inter-tight-bold.woff2) format("woff2");
}
/****************************************/
/* Colors
/****************************************/
    :root {
    --primary: #00829b; /* linkoping blue */
    --primary-dark: #004851; /* linkoping dark blue */
    --primary-light: #cce6eb; /* linkoping light blue */
    --secondary: #fff0db; /* linkoping light yellow */
    --secondary-dark: #f2a900; /* not in use */
    --secondary-light: #fcd7b3; /* not in use */
    --graytone-dark: #878787; /* dark gray */
    --graytone-mid: #f1f1f1; /* gray linkoping web */
    --graytone-light: #f5f3ee; /* light gray */
    --complementary-1: #cce6eb; /* linkoping light blue */
    --complementary-2: #cce8d0; /* linkoping light green */
    --complementary-3: #f5d4d6; /* linkoping light pink */
    --text: #333; /* font color web */
    --anchor-text: var(--primary-dark);
    --anchor-text-light: white;
    --body-bg: white;
    --header-bg: white;
    --header-border: var(--primary);
    --header-text: var(--text);
    --header-tab-focus: var(--anchor-text);
    --path-text: var(--anchor-text);
    --path-bg: var(--graytone-mid);
    --path-border: var(--graytone-mid);
    --button-bg: var(--primary);
    --button-border: var(--primary);
    --button-text: var(--anchor-text-light);
    --menu-bg: var(--primary);
    --menu-text: var(--anchor-text-light);
    --menu-selected-bg: var(--primary-dark);
    --menu-focus-bg: var(--primary-dark);
    --submenu-bg: white;
    --submenu-border: var(--graytone-dark);
    --submenu-text: var(--text);
    --submenu-header-bg: var(--primary);
    --submenu-header-border: white;
    --submenu-header-text: var(--anchor-text-light);
    --submenu-selected-bg: var(--primary-light);
    --submenu-selected-border: var(--primary);
    --submenu-selected-text: var(--text);
    --submenu-focus-bg: var(--graytone-mid);
    --submenu-focus-border: var(--graytone-dark);
    --submenu-focus-text: var(--text);
    --tab-border: var(--primary-light);
    --tab-bg: var(--graytone-light);
    --tab-selected-border: var(--primary);
    --tab-focus-border: var(--primary);
    --tab-selected-bg: white;
    --caption-bg: var(--primary); /* Graph header */
    --caption-text: var(--anchor-text-light);
    --pageinfo-bg: var(--graytone-mid); /* Page Info, Measure areas, Activities/MeasureList */
    --pageinfo-border: var(--graytone-mid);
    --pageinfo-text: var(--text)
    --pageinfo-anchor-text: var(--primary-dark);
    --content-header-wide-bg: none;
    --content-item-border: transparent;
    --content-itemgroup-1-bg: var(--complementary-1);
    --content-itemgroup-1-item-bg: white;
    --content-itemgroup-2-bg: white;
    --content-itemgroup-2-item-bg: var(--complementary-1);
    --subcontent-wide-bg: white;
    --subcontent-itemgroup-1-bg: var(--complementary-1);
    --subcontent-itemgroup-2-bg: var(--complementary-2);
    --subcontent-itemgroup-3-bg: var(--complementary-3);
    --subcontent-itemgroup-text: var(--text);
    --subcontent-itemgroup-anchor-text: var(--anchor-text);
    --footer-bg: var(--primary-dark);
    --footer-text: var(--anchor-text-light);
    --footer-border: var(--secondary);
    --footer-tab-focus: white;
}
/****************************************/
/* Settings
/****************************************/
:root {
    --header-border-width: 3px;
    --path-border-width: 0px;
    --footer-border-width: 0px;
    --logo-max-width: 179px;
    --logo-min-widht: 107px;
    --sitename-font-size: 24px;
    --sitename-top-position: 0px;
    --sitename-left-border-widht: 0px;
}
/****************************************/
/* Logo size
/****************************************/
#mbHeader a img {
    width: clamp(var(--logo-min-widht), 20vw, var(--logo-max-width));
}
@media screen and (max-width:400px) {
    #mbHeader a strong {
        display: none;
    }
}
#mbHeader .logo strong {
    font-size: var(--sitename-font-size);
    line-height: 36px;
    padding-left: 3%;
    margin-left: 3%;
    font-weight: 600;
    border-left: var(--sitename-left-border-widht) solid #e5e2db;
    top: var(--sitename-top-position);
    position: relative;
}
@media screen and (max-width:768px) {
    #mbHeader .logo strong {
        top: var(--sitename-top-position);
        font-size: 18px;
    }
}
/****************************************/
/* Fonts
/****************************************/
body, input, button, .Item.button h3, .ItemGroup.buttons h3 {
    font-family: 'Inter Tight', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5em;
}
h1, h2, h3, h4, h5, h6, #mbHeader .logo {
    font-weight: 500;
    font-family: 'Inter Tight', Arial, sans-serif;
}
#mbHeader .logo strong {
    font-weight: 400;
}
h1 {
    font-size: 42px;
    line-height: 1.3em;
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 20px;
}
h2 {
    font-size: 30px;
    line-height: 1.2em;
    font-weight: 600;
}
#mbSubContent h2 {
    font-size: 22px;
}
h3 {
    font-size: 22px;
    line-height: 1.3em;
    font-weight: 600;
    margin: 1.5em 0 0.5em 0;
}
.mb-cards .Item h3 {
    font-size: 20px;
    margin: 0 0 0.5em 0;
    font-weight: 400;
}
h4 {
    font-size: 20px;
    line-height: 1.3em;
    font-weight: 600;
    margin: 1.5em 0 0.5em 0;
}
#mbSubContent .Item:not(.Barometer) .Caption {
    font-size: 19px;
    font-weight: 400;
}
p {
    margin-bottom: 20px;
    margin-top: 0;
}
#mbContentDescr .MeasureTool {
    margin-bottom: 20px;
}
#mbMenu, #mbSubMenu, #mbUpdated, #mbPath, .mb-cards .Item p {
    font-size: 16px;
}
#mbFooter {
    font-size: 18px;
    line-height: 27px;
}
.MB .Ingress, .MB .Ingress p,
#mbContentDescr p:first-of-type strong,
#mbContentMenuContent p:first-of-type strong {
    font-size: 24px;
    line-height: 1.5em;
    font-weight: 600;
    font-family: 'Inter Tight', Arial, sans-serif;
}
#mbMenu li a {
    font-weight: 400;
}
@media screen and (max-width:1350px) {
    h1 {
        font-size: 38px;
    }
    h2 {
        font-size: 28px;
    }
    h3 {
        font-size: 21px;
    }
    .MB .Item h3 {
        font-size: 19px;
    }
    h4 {
        font-size: 19px;
    }
    body {
        font-size: 19px;
    }
    p {
        margin-bottom: 19px;
    }
    #mbMenu, #mbSubMenu {
        font-size: 16px;
    }
}
@media screen and (max-width:768px) {
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 20px;
    }
    h4, #mbSubContent .Caption, .MB .Item h3 {
        font-size: 19px;
    }
    body {
        font-size: 18px;
    }
    p {
        margin-bottom: 18px;
    }
    .MB .Ingress, .MB .Ingress p {
        font-size: 20px;
    }
}
@media screen and (max-width:480px) {
    h1 {
        font-size: 28px;
    }
    h2, #mbSubContent h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 20px;
    }
    h4 {
        font-size: 18px;
    }
    body {
        font-size: 18px;
        line-height: 1.5em;
    }
    p {
        margin-bottom: 18px;
    }
    .MB .Ingress, .MB .Ingress p {
        font-size: 18px;
    }
}
#mbCaption {
    display: none;
}
/****************************************/
/* Footer
/****************************************/

#mbFooter {
    overflow: hidden;
    font-weight: 400;
}
#mbFooter ul {
    margin: 2em 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#mbFooter li {
    list-style: none;
    padding: 0;
}
#mbFooter img {
    width: 133.5px;
}
@media screen and (max-width:900px) {
    #mbFooter ul {
        flex-direction: column;
        align-items: flex-start;
    }
}
/****************************************/
/* Section templates
/****************************************/

#mbSubContent .ItemGroup.blue {
    background-color: var(--complementary-2); /* Light blue */
}
#mbSubContent .ItemGroup.green {
    background-color: var(--complementary-1); /* Light green */
}
#mbSubContent .ItemGroup.pink {
    background-color: var(--complementary-3); /* Pink */
}
#mbSubContent .ItemGroup.yellow {
    background-color: var(--secondary); /* Light yellow */
}
#mbSubContent .ItemGroup.gray {
    background-color: var(--graytone-light); /* Light gray */
}
#mbSubContent .ItemGroup.white {
    background-color: White;
}
#mbSubContent .ItemGroup.transparent {
    background-color: transparent;
}
/****************************************/
/* Page customizations
/****************************************/
@media screen and (min-width:700px) {
    .mb-img-left #mbContentImage {
        float: left;
        width: 30%;
        margin-right: 1em;
    }
    .mb-img-right #mbContentImage {
        float: right;
        width: 30%;
        margin-left: 1em;
    }
    .mb-img-left #mbContentImage img,
    .mb-img-right #mbContentImage img {
        object-fit: contain;
        height: auto;
    }
    .xmb-wide.mb-img-left #mbContentHeader,
    .xmb-wide.mb-img-right #mbContentHeader {
        max-width: 1000px;
        overflow: hidden;
    }
}
