@font-face {
    font-family: 'Source Sans';
    font-weight: 400;
    font-display: swap;
    src: url(fonts/sourcesans/source-sans-pro-regular.woff2) format("woff2");
}
@font-face {
    font-family: 'Source Sans';
    font-weight: 600;
    font-display: swap;
    src: url(fonts/sourcesans/source-sans-pro-semibold.woff2) format("woff2");
}
@font-face {
    font-family: 'Source Sans';
    font-weight: 700;
    font-display: swap;
    src: url(fonts/sourcesans/source-sans-pro-bold.woff2) format("woff2");
}
/****************************************/
/* Colors
/****************************************/
    :root {
    --primary: #0074a3; /* blue */
    --primary-dark: #00264f;
    --primary-light: #00baff; /* blue lighter */
    --secondary: #edf7fa; /* light blue */
    --secondary-dark: #009dcc; /* blue */
    --secondary-light: #f7f2ed; /* light gray footer */
    --graytone-dark: #878787; /* dark gray */
    --graytone-mid: #e4e4e4; /* gray */
    --graytone-light: #f7f2f0; /* light gray */
    --complementary-1: var(--graytone-light); /*  */
    --complementary-2: #edf7fa; /* light blue web */
    --complementary-3: #ffd4cb; /* light pink web */
    --text: black; /* font color web */
    --anchor-text: #006281; /* blue web */
    --anchor-text-light: white;
    --body-bg: white;
    --header-bg: var(--graytone-light);
    --header-border: var(--graytone-mid);
    --header-text: var(--text);
    --header-tab-focus: var(--anchor-text);
    --path-text: var(--anchor-text);
    --path-bg: white;
    --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-mid);
    --submenu-text: var(--text);
    --submenu-header-bg: var(--primary);
    --submenu-header-border: white;
    --submenu-header-text: var(--anchor-text-light);
    --submenu-selected-bg: var(--graytone-light);
    --submenu-selected-border: var(--primary);
    --submenu-selected-text: var(--text);
    --submenu-focus-bg: var(--graytone-light);
    --submenu-focus-border: var(--primary-light);
    --submenu-focus-text: var(--text);
    --tab-border: var(--graytone-dark);
    --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);
    --table-bg: white;
    --table-head-bg: var(--graytone-light);
    --table-head-text: var(--text);
    --pageinfo-bg: var(--secondary); /* Page Info, Measure areas, Activities/MeasureList */
    --pageinfo-border: var(--secondary);
    --pageinfo-text: var(--text);
    --pageinfo-anchor-text: var(--anchor-text);
    --barometer-bg: var(--pageinfo-bg);
    --blockquote-bg: white;
    --blockquote-border: white;
    --content-header-wide-bg: transparent;
    --content-item-border: var(--primary-dark);
    --content-itemgroup-1-bg: var(--primary);
    --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);
    --footer-text: var(--anchor-text-light);
    --footer-border: var(--secondary);
    --footer-tab-focus: #ffcf35;
}
/****************************************/
/* Settings
/****************************************/
:root {
    --header-border-width: 1px;
    --path-border-width: 0px;
    --footer-border-width: 0px;
    --logo-max-width: 205px;
    --logo-min-widht: 160px;
    --sitename-font-size: 30px;
    --sitename-top-position: 0px;
    --sitename-left-border-widht: 0;
    --card-content-padding: 0.5em 1em;
    --card-border-width: 1px;
    --card-header-align: center;
    --text-max-widht: 950px;
    --footer-border-width: 0px;
}
/****************************************/
/* Logo size
/****************************************/
#mbHeader a img {
    width: clamp(var(--logo-min-widht), 20vw, var(--logo-max-width));
}
@media screen and (max-width:100px) {
    #mbHeader a strong {
        display: none;
    }
}
#mbHeader .logo strong {
    font-size: var(--sitename-font-size);
    line-height: 36px;
    padding-left: 0;
    margin-left: 0;
    font-weight: 600;
    border-left: var(--sitename-left-border-widht) solid var(--graytone-dark);
    top: var(--sitename-top-position);
    position: relative;
}
@media screen and (max-width:768px) {
    #mbHeader .logo strong {
        top: var(--sitename-top-position);
        font-size: 22px;
    }
}
.vattensamverkan {
    background-color: var(--primary);
    background-image: url(images/vattensamverkan/waves.png);
    background-repeat: no-repeat;
    background-position: 40px center;
    background-size: 40px;
    padding: 1em 1em 1em 90px;
    color: var(--anchor-text-light)
}
.vattensamverkan span {
    margin-left: 0.3em;
}
@media screen and (max-width:600px) {
    .vattensamverkan span {
        display: none;
    }
}
/****************************************/
/* Fonts
/****************************************/
body, input, button, .Item.button h3, .ItemGroup.buttons h3 {
    font-family: 'Source Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5em;
}
h1, h2, h3, h4, h5, h6, #mbHeader .logo {
    font-weight: 600;
    font-family: 'Source Sans', Arial, sans-serif;
}
#mbHeader .logo strong {
    font-weight: 400;
}
h1 {
    font-size: 42px;
    line-height: 1.3em;
    font-weight: 600;
    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;
}
.mb-cards .Item .Description {
    font-size: 20px;
    margin: 0 0 0.5em 0;
}
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;
}
blockquote p:first-child {
    margin-top: 20px;
}
#mbContentDescr .MeasureTool {
    margin-bottom: 20px;
}
#mbMenu, #mbSubMenu, #mbUpdated, #mbPath, .mb-cards .Item p {
    font-size: 17px;
}
#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: 21px;
    line-height: 1.5em;
    font-weight: 600;
}
#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;
    }
    table {
        font-size: 16px;
    }
    .Grid td {
        overflow-wrap: anywhere;
    }
}
/* Link-decoration */
#mbFooter a:after,
.Item:not(.Internal):not(.Barometer):not(.button) H3.Caption:after,
#mbSubContent .Item img + div.Content .Caption:after,
.BarTable a:after,
.Item.Preformatted h3 a:after {
    border-style: solid;
    border-width: 0 .125em .125em 0;
    content: "";
    display: inline-block;
    margin-bottom: .0625em;
    margin-left: .125em;
    padding: .125em;
    transform: rotate(-45deg);
}
.Item:not(.Barometer):not(.button) H3.Caption {
    text-decoration: underline;
}
a {
    text-decoration: underline;
}
#mbCaption {
    display: none;
}
/****************************************/
/* Footer
/****************************************/
#mbFooter {
    overflow: hidden;
    font-weight: 600;
}
#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;
    }
}
/****************************************/
/* Other
/****************************************/
div.Map {
    height: 420px;
}
.mb-cards #mbContent .Item .ItemImage {
    max-height: 128px;
}
