* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --white: #fff;
    --black: #000;
    --main-color: #f6f4ee;
    --secondary-clr: #83998d;
    --third-clr: #627369;
    --forth-clr: #a33b1a;
    --fifth-clr: #7b2c14;
    --seventh-clr: #62736a;
    --eighth-clr: #c7d1cc;
    --nineth-clr: #82998d;
    --tenth-clr: #faeacb;
    --eleventh-clr: #f7e1b3;
    --twelvth-clr: #f7e1b3;
    --thertinth-clr: #c37f6a;
    --box-border-color: #cfc6af;
    --main-font: "Source Sans 3", sans-serif;
    --secondary-font: "Roboto", sans-serif;
}

body {
    font-family: var(--main-font);
    font-size: 1em;
    color: #222;
    background: var(--main-color);
}

.container {
    max-width: 1200px;
    width: calc(100% - 30px);
    margin: auto;
}

a {
    text-decoration: none;
    line-height: inherit;
}

p a {
    color: var(--nineth-clr);
}

h1 {
    font-family: var(--secondary-font);
    font-size: 2.5em;
    font-weight: normal;
    line-height: 1.4;
    color: var(--third-clr);
    margin-bottom: 12px;
}

h2 {
    font-family: var(--main-font);
    font-size: 32px;
    font-weight: normal;
    color: var(--third-clr);
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
}

table {
    background: var(--white);
    margin-bottom: 1.25rem;
    border: solid 1px #ddd;
    table-layout: auto;
}

    table tr td {
        padding: 9px 10px;
        font-size: 14px;
        color: #222;
    }

ol {
    margin-left: 22px;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

label {
    font-size: 14px;
    color: #4d4d4d;
    cursor: pointer;
    display: block;
}

input[type="submit"]:not(.cta-button) {
    padding: 15px 20px;
    background: var(--tenth-clr);
    color: var(--black);
    border: 0;
    font-size: 12pt;
}

.contour label.fieldLabel {
    font-weight: bold;
}

.block {
    text-align: center;
    padding-top: 24px;
    padding-bottom: 24px;
}

.block__title {
    margin-top: 30px;
    margin-bottom: 27.5px;
    font-family: var(--secondary-font);
    font-size: 40px;
    line-height: 55px;
    font-weight: 600;
    color: var(--forth-clr);
}

.block__desc {
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
}

    .block__desc p {
        font-size: 20px;
    }

.section-header-bg {
    text-align: center;
    background-position: 0;
}

.section-header h2 {
    display: inline-block;
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 38px;
    font-weight: normal;
    color: var(--third-clr);
}

.textimage-block {
    margin-top: 20px;
    margin-bottom: 20px;
}

    .textimage-block .inner-container {
        display: flex;
        border: 1px solid var(--box-border-color);
    }

        .textimage-block .inner-container.reverse {
            flex-direction: row-reverse;
        }

    .textimage-block .image {
        flex-basis: 50%;
    }

    .textimage-block img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        vertical-align: middle;
    }

.textimage-block__desc {
    flex-basis: 50%;
    padding: 20px 40px;
    background-color: var(--white);
}

    .textimage-block__desc h2 {
        font-size: 26px;
        line-height: 38px;
        font-weight: 700;
        color: var(--forth-clr);
    }

    .textimage-block__desc p {
        font-size: 20px;
        margin-top: 14px;
    }

    .textimage-block__desc .cta-button {
        display: inline-block;
        margin-top: 14px;
    }

.multicol-block__list {
    display: flex;
    justify-content: space-evenly;
    margin-top: 40px;
}

.multicol-block__list-col-content {
    height: 100%;
    text-align: center;
    background-color: var(--white);
    border: 1px solid var(--box-border-color);
}

.multicol-block__list-imagearea {
    margin-bottom: 16px;
}

    .multicol-block__list-imagearea img {
        width: 100%;
        vertical-align: middle;
    }

.multicol-block__list-header {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    color: var(--forth-clr);
    padding-left: 6px;
    padding-right: 10px;
    margin-bottom: 12px;
}

.multicol-block__list-preamble {
    font-size: 17px;
    line-height: 28px;
    color: var(--black);
    margin-bottom: 24px;
    padding-left: 14px;
    padding-right: 14px;
}

.animals-flex {
    display: flex;
    gap: 30px;
}

    .animals-flex h1 {
        text-align: left;
    }

.contentblock-left-container {
    flex-basis: 25%;
}

.contentblock-left {
    background-color: var(--seventh-clr);
    color: var(--white);
    min-width: 300px;
    padding: 25px 25px 35px 25px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.leftmenu {
    list-style: none;
}

    .leftmenu li {
        line-height: 26px;
    }

    .leftmenu > li {
        margin-top: 20px;
    }

    .leftmenu li a {
        font-family: var(--secondary-font);
        font-size: 22px;
        color: var(--white);
        display: block;
    }

        .leftmenu li a:hover {
            color: var(--eighth-clr);
        }

    .leftmenu li.active > a {
        color: var(--eighth-clr);
        font-weight: bolder;
    }

.leftmenu-inner {
    margin-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    list-style: none;
}

    .leftmenu-inner li a {
        font-family: "Roboto", sans-serif;
        font-size: 16px;
    }

.animals-content {
    flex-basis: 75%;
}

.contentblock {
    background: var(--white);
    padding: 35px;
    margin-top: 25px;
    border: 1px solid var(--box-border-color);
}

.contentblock__flex {
    display: flex;
}

    .contentblock__flex > div:first-of-type {
        flex-basis: 70%;
    }

    .contentblock__flex > div:last-of-type {
        flex-basis: 30%;
    }

.contentblock p {
    width: 85%;
    font-size: 1.3em;
    line-height: 125%;
    margin-top: 5px;
    margin-bottom: 20px;
    word-break: break-word;
}

.contentblock ul {
    margin-left: 20px;
}

.contentblock li {
    width: 85%;
    font-size: 1.3em;
    padding-left: 14px;
    margin-bottom: 10px;
}

    .contentblock p a:not(.cta-button),
    .contentblock li a {
        color: var(--nineth-clr);
        text-decoration: underline;
    }

.contentblock img {
    max-width: 100%;
}

.contentblock iframe {
    aspect-ratio: 16 / 9;
    height: 100%;
    width: 100%;
}

.factarea {
    font-size: 21px;
    border: 3px solid silver;
    padding: 20px;
    margin-bottom: 20px;
}

.subpagelist-block__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.multicol-block__list-col-content {
    text-align: center;
    background-color: var(--white);
    border: 1px solid var(--box-border-color);
}

.multicol-block__list-imagearea {
    margin-bottom: 16px;
}

.multicol-block__list-header {
    font-family: var(--secondary-font);
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    color: var(--forth-clr);
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 12px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.godparents-list {
    display: flex;
    gap: 25px;
    align-items: flex-end;
}

.godparent-item {
    width: 100%;
}

    .godparent-item a {
        display: flex;
        align-items: center;
        width: 100%;
    }

        .godparent-item a img {
            width: unset;
        }

    .godparent-item .level {
        font-family: Arial;
        font-size: 16px;
        font-weight: bold;
        text-transform: uppercase;
        display: block;
        margin-top: 10px;
    }

.level-gold {
    color: #ffd700;
}

.cta-button, .contentblock p a .cta-button {
    margin: 10px auto;
    margin-bottom: 22px;
    padding: 8px 18px;
    background-color: var(--forth-clr);
    color: var(--white);
    text-transform: uppercase;
    font-size: 17px;
    border-radius: 12px;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    color: #fff;
}

.textimage-block__cta {
    display: inline-block;
    margin: 10px auto;
    margin-top: 20px;
    margin-bottom: 14px;
    padding: 8px 18px;
    background-color: var(--forth-clr);
    color: var(--white);
    text-transform: uppercase;
    font-size: 17px;
    border-radius: 12px;
}

#map {
    height: 600px;
    border: solid 1px silver;
}

#map-content {
    zoom: 0.5;
}

#map-controls {
    margin-top: 10px;
    text-align: center;
}

#map-controls-panel {
    width: 180px;
    margin: auto;
    background: #da6021;
    border-bottom: solid 10px #ac4c1c;
    padding-left: 7px;
    padding-right: 7px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

    #map-controls-panel img {
        width: 30px;
        height: 30px;
    }

#contour,
.contour {
    padding: 10px 0px 10px 0px;
}

    .contour fieldset {
        padding: 1em 1em 0em 0em;
        margin: 0 0 1.5em 0;
        border: none;
    }

    .contour input.text {
        max-width: 400px;
        width: 95%;
        padding: 5px;
        margin: 0.5em 0;
        display: block;
        border: 1px solid #bbb;
    }

.latinname {
    font-size: 26px;
    font-style: italic;
}

.slick-slider {
    position: relative;
    user-select: none;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    overflow: hidden;
}

.slick-slide img {
    vertical-align: middle;
}

.topcontainer {
    background: var(--secondary-clr);
    padding: 20px 0 15px;
}

.topcontainer__flex {
    display: flex;
    align-items: center;
}

#topbuttons {
    flex-basis: 50%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    padding: 9px 30px 5px;
    width: 26px;
    cursor: pointer;
}

    .search-btn svg,
    .search-btn img {
        width: 25px;
        height: 25px;
    }

#langchooser img {
    width: 25px;
    height: 25px;
}

.logo-container {
    flex-basis: 20.9%;
}

.logo {
    width: 195px;
}

.topcontainer__right {
    flex-basis: 50%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 2.5vw;
}

.topmenu-small {
    color: var(--white);
}

    .topmenu-small a,
    .topmenu-small a:visited,
    .topmenu-small a:link {
        color: var(--white);
        padding: 0 10px;
    }

        .topmenu-small a:hover {
            text-decoration: underline;
        }

.desktop-basket-container {
    order: 2;
}

.shopping-cart {
    width: 49px;
    height: 49px;
    background-color: var(--forth-clr);
    box-shadow: 0 4px 0 rgba(51, 51, 51, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    transition: 300ms linear all;
    background-image: url(../img/shopping-cart.svg);
    background-position: center;
    background-size: 45%;
    background-repeat: no-repeat;
    position: relative;
}

    .shopping-cart .cb-count {
        width: 25px;
        height: 25px;
        font-size: 13px;
        font-weight: bold;
        color: var(--white);
        background: var(--forth-clr);
        box-shadow: 0 4px 0 rgba(51, 51, 51, 0.25);
        border-radius: 50%;
        position: absolute;
        top: 30px;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.contain-to-grid {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--secondary-clr);
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--seventh-clr);
}

    .contain-to-grid.has-emergency-text {
        padding-top: 0;
    }

.title-area, .bottom-menu-mobile {
    display: none;
}

.menulinks {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    line-height: 30px;
}

    .menulinks a {
        font-family: var(--secondary-clr);
        font-size: 21px;
        font-weight: 600;
        color: var(--white);
    }

html[data-pagetype='startpage'] .menulinks a {
    color: var(--white);
}

.menulinks li.current a {
    color: var(--white);
    text-decoration: underline;
}

.imagecontainer {
    width: 100%;
    background: var(--third-clr);
    padding-top: 0;
    padding-bottom: 0;
}

    .imagecontainer img {
        width: 100%;
    }

    .imagecontainer .container {
        width: 100%;
    }

        .imagecontainer .container a {
            display: block;
            font-size: 0;
        }

.mainimage img {
    vertical-align: middle;
}

#search {
    margin-top: 15px;
    margin-bottom: 15px;
    display: none;
}

    #search form {
        display: flex;
        gap: 15px;
    }

    #search input[type="search"] {
        font-family: inherit;
        max-width: 500px;
        width: 100%;
        height: initial;
        font-size: 32px;
        color: rgba(0, 0, 0, 0.75);
        padding: 8px;
        border: 1px solid var(--grey);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    }

        #search input[type="search"]:focus {
            background: #fafafa;
            border-color: #999;
            outline: none;
            box-shadow: 0 0 5px #999;
        }

    #search input[type="submit"] {
        font-size: 25px;
        padding: 15px 20px;
        background: var(--tenth-clr);
        color: var(--black);
        border: 0;
    }

.newsarticle-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.newsarticle-list__box {
    display: flex;
    gap: 33px;
    background-color: var(--white);
    text-align: left;
}

    .newsarticle-list__box > div:first-of-type {
        flex-basis: 25%;
    }

    .newsarticle-list__box figure {
        height: 100%;
    }

    .newsarticle-list__box figcaption {
        font-size: 16px;
        color: var(--third-clr);
        padding-left: 5px;
    }

    .newsarticle-list__box figure img {
        width: 100%;
        height: 80%;
        object-fit: cover;
    }

    .newsarticle-list__box > div:last-of-type {
        flex-basis: 75%;
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .newsarticle-list__box .date {
        color: var(--black);
        font-style: italic;
    }

    .newsarticle-list__box h3 {
        font-size: 25px;
        color: var(--forth-clr);
        margin-top: 10px;
    }

    .newsarticle-list__box p {
        width: 85%;
        font-size: 1.3em;
        line-height: 125%;
        color: var(--black);
        margin-top: 5px;
    }

        .newsarticle-list__box p:last-of-type {
            margin-top: 20px;
        }

.showmore-section {
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
    margin-bottom: 10px;
}

.showmore-content {
    display: flex;
    align-items: center;
}

.showmore-line {
    display: none;
}

.showmore-btn {
    font-family: var(--secondary-font);
    font-size: 20px;
    font-weight: normal;
    color: var(--nineth-clr);
}

.footer {
    width: 100%;
    background: var(--tenth-clr);
    border-top: 3px solid var(--eleventh-clr);
    padding: 50px 50px;
    margin-top: 15px;
}

.footer__container {
    max-width: 2000px;
    display: flex;
    margin: auto;
}

.footer a {
    color: var(--black);
    text-decoration: underline;
}

.footer img {
    width: auto;
}

.footer img {
    width: auto;
    vertical-align: middle;
}

.footer__container > div {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__container ul {
    margin-left: 0;
    list-style-type: none;
    margin-bottom: 20px;
}

.footer__container li {
    font-size: 18px;
    margin-bottom: 10px;
    margin-left: 0;
}

#footer-partners {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

#footer-icons {
    display: flex;
    list-style: none;
    gap: 22px;
    margin-bottom: 12px;
}

    #footer-icons img {
        width: 55px;
    }

@media screen and (max-width: 1220px) {
    .container .container {
        width: 100%;
    }

    .mainimage.container {
        width: 100%;
    }

    .textimage-block,
    .multicol-block__list {
        padding-left: 0;
        padding-right: 0;
    }

    .footer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer__container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

        .footer__container > div {
            width: 100%;
        }
}

@media screen and (max-width: 1025px) {
    .multicol-block__list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .animals-flex {
        flex-direction: column;
        gap: 0;
    }

    .contentblock__flex {
        flex-direction: column;
    }

    .contentblock p,
    .contentblock li {
        width: 100%;
    }

    .menulinks a {
        font-size: 14px;
    }

    #search input[type="search"] {
        font-size: 21px;
        color: rgba(0, 0, 0, 0.75);
    }

    #search input[type="submit"] {
        font-size: 18px;
        padding: 15px 20px;
        background-color: var(--forth-clr);
        color: var(--white);
        border: 0;
    }

    #map {
        height: 300px;
    }

    .newsarticle-list__box p {
        width: 100%;
    }

    #event-calendar {
        flex-direction: column;
    }

    .event .text-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media screen and (min-width: 576px) {
    .multicol-block__list {
        display: grid;
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .multicol-block--4 .multicol-block__list {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .multicol-block--3 .multicol-block__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .multicol-block--2 .multicol-block__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (min-width: 768px) {
    .multicol-block__list-col {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 800px) {
    #topbuttons {
        order: 3;
        flex-basis: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 750px) {
    .subpagelist-block__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .godparents-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .topcontainer {
        position: fixed;
        z-index: 2;
        background: none;
        top: -10px;
        left: 110px;
    }

    #topbuttons,
    .logo-container,
    .topcontainer__right > .topmenu-small {
        display: none;
    }

    .shopping-cart {
        width: 38px;
        height: 38px;
    }

        .shopping-cart .cb-count {
            width: 21px;
            height: 21px;
            font-weight: normal;
            top: 6px;
            right: -10px;
        }

    .top-bar {
        height: 45px;
        overflow: hidden;
    }

    .title-area {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

        .title-area .logo {
            width: unset;
            height: 40px;
            margin-left: 10px;
        }

    .mobile-basket-container {
        margin-left: 20px;
    }

    .menu-icon {
        margin-left: auto;
        margin-right: 10px;
        margin-top: 6px;
        padding: 7px;
        color: var(--white);
        cursor: pointer;
    }

        .menu-icon span {
            display: flex;
            gap: 7px;
            margin-top: -10px;
        }

            .menu-icon span::after {
                width: 16px;
                height: 0;
                margin-top: 6px;
                content: "";
                display: block;
                box-shadow: 0 0 0 1px var(--white), 0 7px 0 1px var(--white), 0 14px 0 1px var(--white);
            }

    .menulinks {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

        .menulinks .current {
            text-align: center;
        }

        .menulinks a {
            font-size: 20px;
        }

    .bottom-menu-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid #ffffff55;
    }

    #langchooser-small img {
        width: 35px;
    }

    .footer__container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 640px) {
    .block__desc {
        width: 100%;
    }

    .textimage-block .inner-container,
    .textimage-block .inner-container.reverse {
        flex-direction: column;
    }

    .contentblock {
        padding: 20px;
    }

    .newsarticle-list__box {
        margin-left: -15px;
        margin-right: -15px;
        flex-direction: column;
        gap: 10px;
    }

        .newsarticle-list__box figure {
            padding-top: 15px;
            padding-left: 15px;
            padding-right: 15px;
        }

        .newsarticle-list__box .date,
        .newsarticle-list__box h3,
        .newsarticle-list__box p {
            padding-left: 15px;
            padding-right: 15px;
        }

    .ui-datepicker-calendar td a {
        padding: 0 !important
    }

    #event-list .event.show {
        flex-direction: column;
        gap: 10px
    }
}

@media screen and (max-width: 500px) {
    .subpagelist-block__list,
    .godparents-list {
        grid-template-columns: 1fr;
    }

    table.priser-table {
        max-width: 100%;
        display: flex;
        overflow-x: auto;
        height: auto;
    }

    .priser-table td {
        width: auto !important;
        padding-left: 3px;
        padding-right: 3px;
    }
}

@media screen and (max-width: 430px) {
    .contentblock .cta-button {
        width: 100%;
        display: block;
        text-align: center;
        padding: 7px 20px;
    }

    #footer-icons {
        gap: 15px;
    }
}

.shopping-cart .cb-amount,
.shopping-cart .cb-label,
.shopping-cart .cb-label-short {
    display: none;
}

.expanded {
    height: auto;
}

.fixed {
    width: 100%;
    left: 0;
    position: fixed;
    top: 0;
    z-index: 99;
}

/* MEDIA FOLDER LIST */

.mediafolderlist {
}

    .mediafolderlist ul {
        margin: 0;
        list-style-type: none;
        overflow: hidden;
    }

        .mediafolderlist ul li {
            display: inline-block;
            width: 260px;
            height: 370px;
            margin-bottom: 25px;
            padding-left: 0;
            padding-right: 0.9rem;
        }

.mediafolderlist__title {
    font-size: 20px;
    line-height: 27px;
    padding-top: 4px;
}

.mediafolderlist__desc span {
    font-size: 18px;
    vertical-align: middle;
    display: inline-block;
    font-style: italic;
}

.mediafolderlist__desc a {
    font-size: 19px;
    display: inline-block;
}

/* EMERGENCY TEXT */

.emergency-text {
    background-color: var(--forth-clr);
    color: #f6f4ee;
    margin-bottom: 8px;
}

    .emergency-text a {
        color: var(--main-color);
        text-decoration: underline;
    }

    .emergency-text p {
        line-height: 120%;
        text-align: center;
        padding: 5px 10px;
    }

/* GODPARENTS LIST */

.animalgodparents-list,
.godparents-block .block__container {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: center;
}

@media screen and (max-width: 500px) {
    .animalgodparents-list,
    .godparents-block .block__container {
        grid-template-columns: repeat(1, 1fr);
    }
}

.godparent-item-container {
    display: block;
    padding: 20px;
    text-align: center;
}

.godparent-item img {
    width: unset;
}

.godparent-item .level {
    font-family: Arial;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-top: 10px;
}

.level-gold {
    color: #ffd700;
}
