/*############################ MEDEON2025 ############################*/

:root {
    /*
-----------------------------------------
Color declarations
-----------------------------------------
*/
    /* Main colors */
    --primary-color: #2A493B; /* Deep Forest Green */
    --secondary-color: #ECFFAD; /* Soft Lime */
    --tertiary-color: #BBCCEC; /* Soft Cornflower Blue */
    --white-color: #fff;
    --dark-color: #2D2E2E;
    --lightgrey-color: #FAF8F3; /* Ivory Tint */
    /*--grey-color: rgba(0,15,30,.5);*/
    --grey-color: #4D545A;
    --secondary-grey-color: #7F878E;
    --accent-color: #2A493B;
    /*
    -----------------------------------------
    Color applications
    -----------------------------------------
    */
    /* Text */
    --text-dark: var(--dark-color);
    --text-white: var(--white-color);
    --text-primary: var(--primary-color);
    --text-secondary: var(--secondary-color);
    --text-tertiary: var(--tertiary-color);
    /* Headlines */
    --headline-dark: #2D2E2E;
    --headline-white: var(--white-color);
    --headline-primary: var(--primary-color);
    --headline-secondary: var(--secondary-color);
    /* Hover */
    --hover-primary: #999;
    --hover-secondary: #ccc;
    /* Links */
    --link-primary: var(--primary-color);
    --link-secondary: #111;
    /* Backgrounds */
    --background-dark: #000;
    --background-white: #fff;
    --background-primary: var(--grey-color) !important;
    --background-secondary: var(--primary-color);
    /* Nav */
    --nav-primary: var(--primary-color);
    --nav-secondary: #742100;
    --nav-primary-light: #E4E4E4;
    --nav-secondary-light: #E4E4E4;
    /*
    -----------------------------------------
    Typography variables
    -----------------------------------------
    */
    --font-family-main: "Poppins", sans-serif;
    --font-family-headers: "Poppins", sans-serif;
    --font-size-small: 0.875rem;
    --font-size-base: 1rem;
    --font-size-large: 1.25rem;
    --line-height-base: 1.5;
    /*
    -----------------------------------------
    Radius variables
    -----------------------------------------
    */
    --radius-lg: 12px;
    --radius-md: 9px;
    --radius-sm: 6px;
}

@media(min-width:768px) {
    :root {
        --radius-lg: 24px;
        --radius-md: 12px;
        --radius-sm: 6px;
    }
}

@media(min-width:992px) {
    :root {
        --radius-lg: 48px;
        --radius-md: 24px;
        --radius-sm: 12px;
    }
}
/*
-----------------------------------------
Typography
-----------------------------------------
*/

body, p, li {
    font-family: var(--font-family-main);
    font-size: var(--font-size-base);
    color: var(--text-color);
    line-height: var(--line-height-base);
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--link-primary);
}

p a {
    text-decoration: underline;
}

    p a:hover {
        color: #549277;
    }

    a:hover,
    button:hover {
        text-decoration: underline;
    }

.text-dark {
    color: var(--text-dark);
}

.text-white {
    color: var(--text-white);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-tertiary {
    color: var(--tertiary-color) !important;
}

.text-gray {
    color: var(--grey-color) !important;
}

.text-lightgray {
    color: var(--lightgrey-color) !important;
}

.h-dark {
    color: var(--headline-dark);
}

.h-light {
    color: var(--headline-light);
}

/* ------ Typography ------ */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, h5, .h6 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400 !important;
    color: var(--primary-color);
}

h1, .h1 {
    font-family: var(--font-family-headers);
    font-size: clamp(2rem, 1.6786rem + 0.8929vw, 2.75rem);
    font-weight: 400 !important;
}

h2, .h2 {
    font-family: var(--font-family-headers);
    font-size: clamp(1.75rem, 1.4821rem + 0.744vw, 2.375rem);
    margin-bottom: 1rem;
    line-height: 110%;
}

h3, .h3, .mega-header {
    font-family: var(--font-family-headers);
    font-size: clamp(1.5rem, 1.4464rem + 0.1488vw, 1.625rem);
    line-height: 110%;
    font-weight: 400 !important;
    /*margin-top: 1.5em;*/
    padding-bottom: 0.175em;
}

h4, .h4 {
    font-family: var(--font-family-headers);
    /*font-size: clamp(1rem, 0.9464rem + 0.1488vw, 1.125rem);*/
    font-size: 1.25rem;
    font-weight: 500 !important;
    color: var(--headline-dark);
    line-height: 1;
    text-transform: uppercase;
    /*margin-top: 1em;*/
}

h5, .h5 {
    font-family: var(--font-family-headers);
    font-size: 1.125rem;
    font-weight: 600 !important;
    color: var(--headline-primary);
    line-height: 1;
    text-transform: uppercase;
    /*margin-top: 1em;*/
}

h6, .h6 {
    font-family: var(--font-family-headers);
    font-size: 1rem;
    font-weight: 600 !important;
    color: var(--headline-secondary);
    line-height: 1;
    text-transform: none;
    /*margin-top: 1em;*/
}

p {
    font-size: clamp(1rem, 0.9464rem + 0.1488vw, 1.125rem);
    line-height: 150%;
    font-weight: 300;
}

li {
    font-weight: 300;
}

p.ingress {
    font-size: clamp(1.25rem, 1.1964rem + 0.1488vw, 1.375rem);
}
    p.subheadline-ingress {
        font-weight: 300;
        /*font-size: 1.125rem;*/
        font-size: clamp(18px, calc(1.25rem + ((1vw - 5.76px) * 0.0977)), 19px)
    }

    p + h2, p + h3, p + h4, p + h5, p + h6 {
        margin-top: 1em;
    }


.limit-1-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

hr.divider {
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-top: 1px solid var(--primary-color);
}

/* ------ END Typography ------ */

/*
-----------------------------------------
Components
-----------------------------------------
*/

/* ---------- Buttons ---------- */
a.btn, button.btn, .btn-primary, .btn-secondary, .btn-outline, form input[type="submit"] {
    display: inline-block;
    font-size: 0.875rem;
    padding: 1.25rem 2rem;
    font-weight: 500;
    transition: all ease 0.2s;
    border: 1px solid var(--background-dark);
    width: fit-content;
    min-width: 160px;
    border-radius: 3rem;
    text-align: center;
}

a.btn-primary, button.btn-primary {
    background-color: transparent !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color);
}

a.btn-secondary, button.btn-secondary {
    background-color: var(--transparent);
    border-color: var(--white-color);
    color: var(--white-color);
}

a.btn-cta, button.btn-cta, .event-form .btn, form input[type="submit"] {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color)
}

a.btn-cta-light, button.btn-cta-light, footer form input[type="submit"] {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color)
}

a.btn-primary:hover, button.btn-primary:hover,
a.btn-secondary:hover, button.btn-secondary:hover,
a.btn-cta:hover, button.btn-cta:hover, .event-form .btn.primary:hover, form input[type="submit"].btn.primary:hover {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

a.btn-cta-light:hover, button.btn-cta-light:hover, .btn.primary:hover {
    border-color: var(--secondary-color) !important;
    background-color: transparent !important;
    color: var(--secondary-color) !important;
}

a.btn-small, button.btn-small {
    padding: .5rem 1rem;
    flex-grow: 0;
    background-color: var(--transparent);
    border-color: var(--primary-color);
    color: var(--primary-color);
    /*font-size: 1.25rem;*/
}

    a.btn-small:hover, button.btn-small:hover {
        border-color: var(--grey-color) !important;
        color: var(--grey-color) !important;
    }

/* ---------- Backgrounds ---------- */

.bg-primary {
    background-color: var(--lightgrey-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-dark {
    background-color: var(--background-dark) !important;
}

.bg-white {
    background-color: var(--background-white) !important;
}

.bg-transparent {
    background-color: var(--transparent) !important;
}

/* ---------- Borders ---------- */

.border {
    border: 2px solid !important;
}

.border-left {
    border-left: 2px solid !important;
}

.border-top {
    border-top: 2px solid !important;
}

.border-right {
    border-right: 2px solid !important;
}

.border-bottom {
    border-bottom: 2px solid !important;
}

    .border.thin,
    .border-left.thin,
    .border-top.thin,
    .border-right.thin,
    .border-bottom.thin {
        border-width: 1px !important;
    }

    .border.thick,
    .border-left.thick,
    .border-top.thick,
    .border-right.thick,
    .border-bottom.thick {
        border-width: 4px !important;
    }

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--grey-color) !important;
}

.border-tertiary {
    border-color: rgba(255, 255, 255, .2) !important;
}

.border-dark {
    border-color: var(--background-dark) !important;
}

.border-white {
    border-color: var(--background-white) !important;
}

/* ------ Spacing utilities ------ */
.container-x {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.container-y {
    padding-top: clamp(2.5rem, calc(2.5rem + ((1vw - 0.36rem) * 4.6875)), 5rem);
    padding-bottom: clamp(2.5rem, calc(2.5rem + ((1vw - 0.36rem) * 4.6875)), 5rem);
}

@media (min-width: 576px) {
    .container-x {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* ---------- Forms ---------- */

#collapseForm {
    min-width: 50%;
}

input[type="checkbox"],
input[type="radio"],
input[type="range"],
progress {
    accent-color: var(--accent-color);
}

/* ---------- Split-blocks ---------- */

.split-block {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    max-width: 1920px;
    margin: 0 auto 3rem auto;
}

    .split-block .split-block-img {
        flex-basis: 100%;
        width: 100%;
        max-height: 500px;
        /*min-height: 300px;*/
        border-radius: var(--radius-md);
        aspect-ratio: 16/10;
    }

        .split-block .split-block-img img {
            object-fit: cover;
            width: 100%;
            height: 100%;     
            aspect-ratio: 3/2;
        }

    .split-block .split-block-content {
        flex-basis: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
    }

@media screen and (min-width: 1200px) {
    .split-block .split-block-img {
        flex-basis: 50%;
        width: 50%;
        max-height: 100%;
    }

        .split-block .split-block-img img {
        }

    .split-block .split-block-content {
        flex-basis: 50%;
    }
}

/* Split-block variations */

.split-block.lg-img .split-block-img {
    flex-basis: 60%;
}

.split-block.lg-img .split-block-content {
    flex-basis: 40%;
}

@media screen and (min-width: 1200px) {
    .alternating .split-block:nth-child(even) .split-block-img {
        order: 2;
    }

    .alternating .split-block:nth-child(odd) .split-block-content {
        order: 1;
    }
}

/* Cards */
.cards-section {
    gap: 1rem;
}

    .cards-section .card {
        flex-basis: 100%;
        border: none;
    }

    .card .card-image {
        aspect-ratio: 16/9;
        border-radius: var(--radius-lg);
    }

    .cards-section.standing-imgs .card .card-image {
        aspect-ratio: 3/4;
    }

    .card .card-content {
        padding-top: 1.5rem;
    }

    a.card:hover {
        text-decoration: none !important;
    }

        a.card:hover h3 {
            text-decoration: underline !important;
        }

@media(min-width: 768px) {

    .cards-section .card,
    .cards-section.two .card,
    .cards-section.three .card,
    .cards-section.four .card,
    .cards-section.five .card {
        flex-basis: 66%;
    }
}

@media(min-width: 992px) {
    .cards-section {
        gap: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

        .cards-section .card,
        .cards-section.two .card {
            flex-basis: calc(50% - 1rem);
        }

        .cards-section.three .card {
            flex-basis: calc(33% - 1.5rem);
        }

        .cards-section.four .card {
            flex-basis: calc(25% - 1.5rem);
        }

        .cards-section.five .card {
            flex-basis: calc(20% - 2rem);
        }
}

/*
-----------------------------------------
HEADER
-----------------------------------------
*/

#header-container {
    /*background-color: #7F878E;*/
    aspect-ratio: 1/1;
    max-width: 100vw;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

    #header-container.no-bg-img {
        background-attachment: fixed;
    }

@media only screen and (min-device-width: 320px) and (max-device-width: 1112px) and (-webkit-min-device-pixel-ratio: 2) {
    #header-container.no-bg-img {
        background-attachment: scroll !important;
    }
}

@media(min-width: 576px) {
    #header-container {
        aspect-ratio: 3/2;
    }
}

@media(min-width: 992px) {
    #header-container {
        aspect-ratio: 3/1;
    }
}
    #header-container > div {
        /*height: 50vh;
        max-height: 750px;*/
    }

    #header-container.header-bg > div {        
        min-height: 400px;
    }

    #header-container .header-bg .header {
        min-height: 400px;
    }        

    .header {
        position: relative;
        flex-direction: column;
    }

/*.header-content {
    position: absolute;
    max-width: calc(100% - 2rem);
}*/

    .header-content > div {
        margin-top: auto;
    }

.header-img {
    width: 100%;
    aspect-ratio: 16/9;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
}

.header .subheadline {
    max-width: 800px;
}

/*.header-content > div > div > div {
    border-bottom: 4px solid var(--primary-color);
    padding-bottom: 1rem;
}*/

.header-img {
    height: 100%;
    width: 100%;
}

.dual-columns {
    gap: 2rem;
}

.dual-columns > div {
    flex-basis: 100%;
}

@media (min-width: 992px) {
    .dual-columns > div {
        flex-basis:calc(50% - 1rem);
    }

}

.rte-container {
    max-width: 1000px;
    margin: 0 auto;
}

/*.rte-container iframe {
    width: 100%;
    max-height: 600px;
}*/

    .rte-container iframe {
        width: 100%;
        max-height: 600px;
        height: auto;
        aspect-ratio: 16/9;
    }



/*
-----------------------------------------
FOOTER
-----------------------------------------
*/

footer {
    background-color: var(--primary-color);
}

    footer .h3,
    footer svg {
        color: var(--secondary-color);
    }

    footer p,
    footer li,
    footer a,
    footer address {
        color: var(--lightgrey-color);
        font-weight: 300;
    }

    footer .copyright p,
    footer .copyright a {
        font-size: .875rem;
    }

    footer > div {
        gap: 2rem;
    }

    footer .footer-col,
    footer .copyright {
        flex-basis: 100%;
        padding-top: 1rem;
    }

    /* Nollställ ev. globala nav-regler (position, bakgrund m.m.) */
    footer nav.footer-col {
        position: static;
        background: none;
        padding-left: 0;
        padding-right: 0;
    }

    footer ul {
        padding: 0;
        margin: 0;
    }

    footer li {
        list-style: none;
        padding-bottom: 1em;
    }

    footer .footer-contact-box a {
        font-size: 1rem;
    }

    footer .footer-contact-box svg {
        height: 1rem;
    }

.sm-icons a {
    margin-right: 3rem;
    margin-top: 1rem;
    width: fit-content;
}

    .sm-icons a > div {
        border: 1px solid var(--secondary-color);
        border-radius: 5000px;
        width: 32px;
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .sm-icons a:hover svg {
        color: #fff;
    }

    .sm-icons a:hover > div {
        border-color: #fff;
    }

    .sm-icons a svg {
        width: 1rem;
        height: 1rem;
    }

@media (min-width: 576px) {
    footer .footer-col {
        flex-basis: calc(50% - 1rem);
    }
}

/*
-----------------------------------------
NAVBAR
-----------------------------------------
*/

nav.navbar {
    justify-content: center
}

.navbar {
    justify-content: space-between;
    align-items: initial;
    padding-top: 0;
    padding-bottom: 0;
    top: 0;
    transition: all ease 0.4s;
    height: 90px;
    z-index: 1200;
}

.nav-spacer {
    margin-top: 90px;
}

.navbar-light {
    background-color: var(--background-white);
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.navbar-show {
    transform: none;
}


@media screen and (min-width: 992px) {
    .navbar {
        height: 128px;
    }

    .nav-spacer {
        margin-top: 128px;
    }
}


/* ---------- Logo ---------- */

.navbar-brand {
    display: flex;
    height: 100%;
    align-items: center;
}

    .navbar-brand img {
        width: auto;
        height: 68px;
        transition: 0.15s;
        transition: filter ease-in-out .3s;
        margin-bottom: .5rem
    }

        .navbar-brand img:hover {
            filter: none;
        }

@media screen and (min-width: 992px) {
    .navbar .navbar-brand img {
        width: auto;
    }
}

.navbar-dark .logo-dark {
    display: block;
    opacity: 1;
}

.navbar-dark .logo-light {
    display: none;
    opacity: 0;
}

.navbar-light .logo-light {
    display: block;
    opacity: 1;
}

.navbar-light .logo-dark {
    display: none;
    opacity: 0;
}


/* ---------- Mobile menu button ---------- */

.navbar-toggler:focus {
    outline: none;
}

.navbar .navbar-toggler {
    width: 35px;
    height: 28px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
    border: none;
    z-index: 1032;
}

.navbar-toggler {
    position: relative;
    width: 30px;
    height: 22px;
    border: none;
    margin: auto 0;
}

    .navbar-toggler svg {
        height: 1.5em;
    }

    .navbar-toggler span {
        display: block;
        position: absolute;
        height: 2px;
        width: 30px;
        background-color: var(--text-dark);
        opacity: 1;
        left: 0;
    }

.navbar-dark .navbar-toggler span {
    background-color: var(--white-color);
}

.navbar-dark .navbar-toggler svg {
    color: var(--text-white);
}

.navbar-toggler:focus,
.navbar-toggler:active {
    border: none;
    outline: none;
    box-shadow: none;
}

.navbar-toggler span:nth-child(1) {
    top: 0;
}

.navbar-toggler span:nth-child(2) {
    top: 10px;
}

.navbar-toggler span:nth-child(3) {
    top: 20px;
}

@media screen and (min-width: 1400px) {

    .navbar-toggler {
        display: none;
    }
}

/* ----- Offcanvas mobile menu ----- */

.offcanvas-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    overflow-y: auto;
    transition: -webkit-transform .4s ease-in-out;
    transition: transform .4s ease-in-out;
    transition: transform .4s ease-in-out, -webkit-transform .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    z-index: 1032;
    overflow-x: hidden;
}

    .offcanvas-collapse.open {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        box-shadow: 0 0 40px rgba(0,0,0,0.1);
    }

#mob-nav {
    padding: 0;
    overflow: scroll;
    height: 100vh;
}

@media screen and (min-width: 400px) {

    .offcanvas-collapse {
        width: 380px;
        right: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

        .offcanvas-collapse.open {
            -webkit-transform: translateX(0);
            transform: translateX(0);
        }
}

#mobileMenu .nav-item {
    border-bottom: 1px solid var(--nav-primary-light);
}

#mobileMenu .nav-link {
    color: var(--text-dark);
    font-weight: 400;
    font-size: 1.125rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

/* Mobile menu close button */

.close-button {
    cursor: pointer;
    font-size: 32px;
    padding: 0 0.25rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    height: 30px;
    width: 30px;
    margin-right: 0.75rem;
}

.main-menu-mobile .top-nav-item {
    height: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

    .main-menu-mobile .top-nav-item svg {
        color: var(--nav-primary);
    }

    /*.main-menu-mobile .top-nav-item span {
        display: block;
        position: absolute;
        height: 2px;
        width: 30px;
        background: var(--background-primary);
        opacity: 1;
        right: 0;
    }*/

    .main-menu-mobile .top-nav-item span:nth-child(1) {
        top: 15px;
        transform: rotate(45deg);
    }

    .main-menu-mobile .top-nav-item span:nth-child(2) {
        top: 15px;
        transform: rotate(-45deg);
    }

#mobileMenu #language-menu .nav-link {
    font-weight: 400;
    opacity: 0.8;
}

/* Mobile submenu */

.main-menu-mobile .offcanvas-submenu-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 100%;
    overflow-y: auto;
    transition: all .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    z-index: 10;
    padding: 0;
    opacity: 0;
    max-width: 100%;
    background-color: var(--background-white);
}

    .main-menu-mobile .offcanvas-submenu-collapse.open {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }

    .main-menu-mobile .offcanvas-submenu-collapse .top-nav-item {
        justify-content: space-between;
    }

.main-menu-mobile .back-button {
    justify-content: flex-start;
    font-size: 30px;
    margin-left: 1rem;
    color: #000000;
}

.navbar-toggler svg,
.main-menu-mobile svg {
    color: var(--nav-primary);
}

.main-menu-mobile .submenu {
    list-style: none;
    padding-left: 0;
}

.main-menu-mobile .offcanvas-submenu-collapse .submenu:first-child .nav-item:first-child .nav-link {
    border-top: none;
}

.main-menu-mobile .submenu-submenu {
    list-style: none;
    padding-left: 0;
}

#mobileMenu .main-menu-mobile .submenu-submenu .nav-item .nav-link {
    white-space: normal;
    font-weight: 300;
}

.main-menu-mobile .submenu-submenu .nav-item:first-child .nav-link {
    border-top: none;
}

.main-menu-mobile .submenu-submenu .nav-item:first-child .nav-link {
    border-top: none;
}

.main-menu-mobile .submenu-submenu > .nav-item:last-child {
    border-bottom: 1px solid #A1B7B6;
}

.main-menu-mobile .submenu .submenu .nav-item:last-child .nav-link {
    border-bottom: none;
}

.main-menu-mobile .submenu-item .nav-link {
    text-transform: none;
}

.submenu-submenu .dropdown-sub-submenu {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 0;
}

/* ---------- Desktop menu ---------- */

/*#desktopMenu {
    display: none;
}

@media screen and (min-width: 1400px) {

    #desktopMenu {
        display: flex;
    }
}

#main-menu {
    flex-direction: row;
    align-items: center;
}

    #main-menu .nav-item {
        position: relative;
    }

    #main-menu .nav-link {
        font-weight: 400;
        color: var(--link-primary);
        padding: 0.5rem 0 0.5rem 1rem;
        transition: all ease 0.15s;
        text-transform: uppercase;
        font-size: 1rem;
    }*/

#desktopMenu {
    display: none;
}

@media (min-width: 1400px) {

    #desktopMenu {
        display: flex;
    }
}

#collapse-volito {
    width: 100%;
    background-color: var(--grey-color);
}

    #collapse-volito .mega-grid {
        column-count: 4;
        column-gap: 3rem;
    }

    #collapse-volito a,
    #collapse-volito p {
        color: var(--tertiary-color);
    }

.nav-link:hover {
    cursor: pointer;
}

#main-menu {
    flex-direction: row;
    align-items: center;
}

#main-menu ul {
    list-style: none;
}


    #main-menu .mega-menu {
        position: absolute;
        display: none;
        width: 100%;
        top: 100%;
        left: 0;
        right: 0;
        border: none;
        background-color: #fff;
        list-style: none;
        margin: 0;
        border-radius: 0;
        border: none;
        padding-bottom: 2rem;
        padding-top: 2rem;
        justify-content: space-between;
        flex-wrap: wrap;
        box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.2);
        background-color: var(--background-white);
        border-top: 1px solid #ddd;
        z-index: 1000;
    }

        #main-menu .mega-menu.show {
            display: flex;
        }

.show .mega-grid {
    column-count: 4;
    column-gap: 3rem;
}

#main-menu .mega-menu .mega-menu-desc {
    font-size: 1rem;
    padding-bottom: 1rem;
    margin-bottom: .5rem;
}

.mega-menu .dropdown-col {
    margin-right: 2rem;
    padding-top: .35rem;
    /*display: inline-block;*/
    width: 100%;
    padding-bottom: 2rem;
    break-inside: avoid;
}

    .mega-menu .dropdown-col:last-of-type {
        margin-right: 0;
    }

#main-menu .mega-menu .dropdown-col.partners {
    display: block;
    margin-right: 0;
    height: 100%;
}

    #main-menu .mega-menu .dropdown-col.partners > div {
        border-left: 1px solid #000;
        height: 100%;
        padding-left: 2rem;
    }

#main-menu .mega-menu .dropdown-col .nav-link-header {
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--grey-color) !important;
}

#main-menu .mega-menu .dropdown-submenu {
    padding-left: 0;
}

    #main-menu .mega-menu .dropdown-submenu .nav-item {
        background-color: transparent;
        padding: .25rem 0;
        border-bottom: 1px solid #E4E4E4;
    }

        #main-menu .mega-menu .dropdown-submenu .nav-item .nav-link {
            text-transform: none;
            padding: .25rem;
            font-weight: 400;
            font-family: var(--font-family-main);
            font-size: 1rem;
        }

        #main-menu .mega-menu .dropdown-submenu .nav-item::marker {
            content: none;
        }

/*#main-menu .nav-item {
        position: relative;
    }*/

.mega-header {
    font-weight: 700;
    font-size: 1.5rem;
}

/*.mega-header {
    font-weight: 400;
    font-family: var(--font-family-main);
    color: var(--grey-color);
    font-size: clamp(1.35rem, 1.1786rem + 0.4762vw, 1.75rem);
}*/

#main-menu .nav-link {
    font-weight: 400;
    /*color: var(--link-primary);*/
    padding: 0.5rem 0 0.5rem 1rem;
    transition: all ease 0.15s;
    font-size: 1.125rem;
}

#main-menu .mega-menu .selected-reference strong,
#main-menu .mega-menu .selected-reference p {
    font-size: 1rem;
}

#main-menu .mega-menu .selected-reference > a > div {
    flex-basis: 50%;
}

#main-menu .mega-menu .selected-reference .case-img {
    width: 50%;
    overflow: hidden;
}

    #main-menu .mega-menu .selected-reference .case-img img {
        object-fit: cover;
        object-position: center;
        height: 100%;
    }

#main-menu .mega-menu .other-references .cases-list {
    column-count: 3;
    column-gap: 1rem;
}

#top-nav {
    padding-top: .35rem;
}

    #top-nav .vertical-line-left {
        border-left: 1px solid var(--primary-color);
        height: 20px;
        display: inline-block;
        margin-left: 1rem;
        padding-left: 1rem !important;
    }

    #top-nav .vertical-line-right {
        border-right: 1px solid var(--secondary-color);
        height: 20px;
        display: inline-block;
        margin-right: 1rem;
        padding-right: 1rem !important;
    }

    #top-nav .nav-item .nav-link {
        font-weight: 400;
        /*font-family: var(--font-family-headers);*/
        color: var(--grey-color);
        padding: 0;
        transition: all ease 0.15s;
        font-size: 1rem;
        margin: 1rem 0 1rem 1rem;
    }

    #top-nav .nav-item:last-child .nav-link {
        margin-right: 0;
    }

.navbar-dark #top-nav .vertical-line-left,
.navbar-dark #top-nav .vertical-line-right {
    border-color: var(--secondary-color);
}

#top-nav .nav-item .sm-link {
    
    padding-top: 1px;
}

/*#top-nav .dropdown.languages .dropdown-menu {
    display: none;
}

#top-nav .dropdown.languages:hover .dropdown-menu {
    display: block;
}*/
    .navbar-dark #main-menu .nav-link:hover,
    .navbar-dark #top-nav .nav-link:hover {
    color: var(--hover-secondary);
}

.navbar-light #main-menu .nav-link:hover,
.navbar-light #top-nav .nav-link:hover {
    color: var(--hover-primary);
}

#main-menu .dropdown-menu .nav-link:hover {
    color: var(--hover-primary) !important;
}

#main-menu > .nav-item > .nav-link {
    margin-right: .5rem;
}


#main-menu > .nav-item:last-child > .nav-link {
    margin-right: 0;
}

.navbar-dark #main-menu .nav-link, .navbar-dark #top-nav .nav-link {
    color: var(--secondary-color);
}

.navbar-light #main-menu .nav-link, .navbar-light #top-nav .nav-link {
    color: var(--primary-color);
}

@media screen and (min-width: 1700px) {


    #main-menu > .nav-item > .nav-link {
        margin-right: 1rem;
    }
}

/* Desktop dropdown menus */

#main-menu .dropdown-toggle::after {
    display: none;
}

#main-menu .dropdown:hover .dropdown-menu {
    display: block;
}

#main-menu .dropdown-menu,
#top-nav .dropdown-menu {
    border: none;
    border-radius: 0;
    position: absolute;
    top: calc(100% - 2px);
    padding: 0;
    width: fit-content;
    /*box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);*/
    margin-top: 2px;
    min-width: 8rem;
}

    #main-menu .dropdown-menu.mega-menu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw !important;
    }

@media (min-width: 1400px) {
    /* Add a small delay to prevent unwanted opening/closing on quick mouse movement */
    .dropdown-menu.mega-menu {
        transition-delay: 0.1s;
    }

    /* Ensure the menu stays open when hovering */
    .nav-item:hover .dropdown-menu.mega-menu.show {
        display: flex;
    }
}

#top-nav .dropdown-menu {
    z-index: 9999;
}

    #main-menu .dropdown-menu.mega-menu {
        width: 100%;
    }


    #main-menu .dropdown-menu .nav-link {
        font-size: 1rem;
        font-weight: 500; 
        line-height: 1;
    }

#main-menu .dropdown-menu .nav-link {
    font-weight: 700;
}

#top-nav .dropdown-menu .nav-link {
    font-weight: 400;
    margin: 0;
}

#main-menu .dropdown-menu .nav-item {
    padding: .75rem;
    border-bottom: 1px solid var(--lightgrey-color);
    background-color: rgba(0, 0, 0, .1);
}

    #main-menu .dropdown-menu .nav-item:last-child .nav-link {
        border-bottom: none;
    }


/* Desktop language menu */

#desktopMenu #language-menu {
    flex-direction: row;
}

    #desktopMenu #language-menu .nav-link {
        font-weight: 400;
        font-size: 0.875rem;
        color: #000000;
        padding: 0.5rem 1.5rem 0.5rem 0;
        transition: all ease 0.15s;
    }

    #desktopMenu #language-menu .nav-item:last-child .nav-link {
        padding-right: 0;
    }

.navbar-dark #desktopMenu #language-menu .nav-link {
    color: var(--text-white);
}

@media screen and (min-width: 1700px) {

    #desktopMenu #language-menu .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1.875rem 0.5rem 0;
    }
}


/* ---------- Desktop menu ---------- */

/*#desktopMenu {
    display: none;
}

@media screen and (min-width: 1400px) {

    #desktopMenu {
        display: flex;
    }
}

#main-menu {
    flex-direction: row;
    align-items: center;
}

    #main-menu .nav-item {
        position: relative;
    }

    #main-menu .nav-link {
        font-weight: 400;
        color: var(--link-primary);
        padding: 0.5rem 0 0.5rem 1rem;
        transition: all ease 0.15s;
        text-transform: uppercase;
        font-size: 1rem;
    }

#top-menu {
}

    #top-menu .nav-item {*/
        /*margin: 1rem 0;*/
        /*padding: 0 1rem;
        font-size: .875rem;
    }

        #top-menu .nav-item.sm-item {
            margin: auto 0;
            padding-right: 0;
            display: flex;
            justify-content:center;
            align-items: center;
            height: 1rem;
        }

        #top-menu .nav-item .nav-link.sm-link {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0;
            padding-right: 1rem;*/
            /*margin: .5rem 0;*/
            /*border-right: 1px solid #fff;
            font-size: .875rem;
            height: 1rem;
        }

        #top-menu .nav-item .nav-link svg {
            font-size: 1rem;
            margin: .25rem 0;*/
            /*margin-top: .5rem;*/
        /*}*/

/*#top-nav .nav-link {
    font-weight: 500;
    color: var(--link-primary);
    padding: 0.5rem 0;
    transition: all ease 0.15s;
    text-transform: uppercase;
    font-size: .875rem;
}*/

/*.navbar-light #top-menu .nav-item .nav-link.sm-link {
    border-color: var(--text-dark);
}

.navbar-dark #main-menu .nav-link:hover {
    color: var(--hover-secondary);
}

.navbar-light #main-menu .nav-link:hover,
.navbar-light #top-nav .nav-link:hover {
    color: var(--hover-primary);
}

#main-menu .dropdown-menu .nav-link:hover {
    color: var(--hover-primary) !important;
}

#main-menu > .nav-item > .nav-link {
    margin-right: .5rem;
}


#main-menu > .nav-item:last-child > .nav-link {
    margin-right: 0;
}

.navbar-dark #main-menu .nav-link,
.navbar-dark #top-nav .nav-link {
    color: var(--text-white);
}

.navbar-light #main-menu .nav-link,
.navbar-light #top-nav .nav-link {
    color: var(--text-dark);
}

@media screen and (min-width: 1700px) {


    #main-menu > .nav-item > .nav-link {
        margin-right: 1rem;
    }
}*/

/* Desktop dropdown menus */

/*#main-menu .dropdown-toggle::after {
    display: none;
}

#main-menu .dropdown:hover .dropdown-menu {
    display: block;
}

#main-menu .dropdown-menu {
    background-color: var(--background-white);
    border: none;
    border-radius: 0;
    position: absolute;
    top: calc(100% - 2px);
    padding: 0;
    width: fit-content;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
    margin-top: 2px;
}

.navbar-dark #main-menu .dropdown-menu {
    background-color: var(--overlay-primary);
    box-shadow: none;
}

    .navbar-dark #main-menu .dropdown-menu .nav-link {
        color: var(--text-white)
    }

#main-menu .dropdown-menu .nav-link {
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 1rem;
    border-bottom: 1px solid var(--lightgrey-color);
    line-height: 1;
}

#main-menu .dropdown-menu .nav-item:last-child .nav-link {
    border-bottom: none;
}*/




/* Desktop language menu */


/*#desktopMenu #language-menu {
    flex-direction: row;
}

    #desktopMenu #language-menu .nav-link {
        font-weight: 400;
        font-size: 0.875rem;
        color: #000000;
        padding: 0.5rem 1.5rem 0.5rem 0;
        transition: all ease 0.15s;
    }

    #desktopMenu #language-menu .nav-item:last-child .nav-link {
        padding-right: 0;
    }

.navbar-dark #desktopMenu #language-menu .nav-link {
    color: var(--text-white);
}

@media screen and (min-width: 1700px) {

    #desktopMenu #language-menu .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1.875rem 0.5rem 0;
    }
}*/

/* 
-----------------------------------------
HOMEPAGE
-----------------------------------------
*/

/* Hero */

.hero {
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-inner {
    display: flex;
    position: relative;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 10;
}

    .hero-inner h1 {
        font-size: clamp(3rem, 2.5714rem + 1.1905vw, 4rem);
        color: #FFF;
        font-style: normal;
        font-weight: 300 !important;
        line-height: 110%; /* 3.85rem */
    }

        .hero-inner h1.text-secondary {
            color: var(--secondary-color);
        }

.hero-video {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
}

.hero-video-inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.30) 100%);
}

.hero-content {
    flex-basis: 100%;
}

.hero #heroCarousel,
.hero #heroCarousel .carousel-inner,
.hero #heroCarousel .carousel-inner .carousel-item,
.hero #heroCarousel .carousel-inner .carousel-item img {
    height: 100%;
    width: 100%;
}

    .hero #heroCarousel .carousel-indicators {
        z-index: 1100;
    }

    .hero #heroCarousel .carousel-indicators button {
        background-color: var(--secondary-color);
        border-radius: 3px;
    }

    .hero #heroCarousel .carousel-inner .carousel-item img {
        object-fit: cover;
        object-position: center;
    }

.hero-image {
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .hero-content {
        flex-basis: 75%;
    }
}

@media (min-width: 1200px) {
    .hero-content {
        flex-basis: 60%;
    }
}

@media (min-width: 1600px) {
    .hero-content {
        flex-basis: 50%;
    }
}

/* Company info section */

.company-info-section {
    background-color: var(--lightgrey-color);
}

    .company-info-section .key-values {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin: 0;
    }

        .company-info-section .key-values .key-value {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex-basis: 100%;
            border: none;
            border-radius: 1.5rem;
            padding: 1rem;
            background-color: var(--white-color);
        }

            .company-info-section .key-values .key-value > div {
                border-bottom: 1px solid var(--primary-color);
                width: 100px;
            }

            .company-info-section .key-values .key-value .key-number {
                margin: 0;
                margin-bottom: .5rem;
                padding-bottom: 0;
                font-size: 4rem;
                color: var(--primary-color);
                font-weight: 300;
            }



    .company-info-section .key-values .key-value p {
        font-size: 1rem;
        color: var(--primary-color);
        font-weight: 500;
    }

@media (min-width: 450px) {
    .company-info-section .key-values .key-value {
        flex-basis: calc(50% - 1rem);
    }
}

@media (min-width: 992px) {
    .company-info-section .key-values {
        gap: 2rem;
    }

        .company-info-section .key-values .key-value .key-number {
            font-size: 3rem;
        }
}

/* Link blocks section */

.link-blocks {

}

    .link-blocks .blocks {
        gap: 2rem;
    }

        .link-blocks .blocks .main-block {

        }

        .link-blocks .blocks .main-block > div {
            flex-basis: 100%;
        }

            .link-blocks .blocks .main-block .main-block-content a.btn-outline {
                padding-top: 1rem;
            }

        .link-blocks .blocks .main-block .main-block-img {
            aspect-ratio: 3/2;
            background-repeat: no-repeat; 
            background-size: cover;
            background-position: center;
            border-radius: var(--radius-lg);
        }

        .link-blocks .blocks .sub-blocks {
            gap: 2rem;
        }

            .link-blocks .blocks .sub-blocks > a {
                flex-basis: 100%;
                border-radius: var(--radius-md);
                background: #FFF;
                box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
                overflow: hidden;
            }

                .link-blocks .blocks .sub-blocks > a:hover {
                    text-decoration: none !important;
                }

                .link-blocks .blocks .sub-blocks > a .link-img {
                    aspect-ratio: 16/9;
                    background-repeat: no-repeat;
                    background-size: cover;
                    background-position: center;

                }

            .link-blocks .blocks .sub-blocks > a .link-name {
                text-decoration: none !important;
            }

                .link-blocks .blocks .sub-blocks > a:hover .link-name {
                    text-decoration: none !important;
                    background-color: var(--secondary-color) !important;
                }

@media (min-width: 992px) {
    .link-blocks .blocks .main-block > div {
        flex-basis: 50%;
    }

    .link-blocks .blocks .sub-blocks > a {
        flex-basis: calc(33% - 1.5rem);
    }
}


/* Blog Section */

.blog > div {
    gap: 2rem;
}

.blog .news-link {
    flex-basis: 100%;
    text-decoration: none;
    border-radius: var(--radius-md);
    overflow: hidden;
}
    .blog .news-link:hover {
        background-color: var(--secondary-color) !important;
        box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
    }

    .blog .news-link .h3 {
        color: var(--primary-color) !important;
    }

    .blog .news-link .news-img img {
        width: 100%;
        height: 100%;
        aspect-ratio: 16/9;
        object-fit: cover;
        object-position: center;
        border-radius: var(--radius-md);
    }

    .blog.news-link p.date {
        font-size: .875rem;
    }

@media (min-width: 992px) {
    .blog .news-link {
        flex-basis: calc(33% - 1.5rem);
    }
}

/* 
-----------------------------------------
NEWSFEEDPAGE
-----------------------------------------
*/

#newsfeed .newsfeed-item {
    margin-top: 1rem;
    border-top: 1px solid #ccc;
    padding-top: 1rem;
}

#newsfeed .newsfeed-item .date{
    font-size: .875rem;
}


/* 
-----------------------------------------
TEXTPAGE
-----------------------------------------
*/

/* Additional Content */
@media(max-width: 1600px) {
    .additional-content-container {
        overflow-x: hidden;
    }
}


.person-container {
    display: flex; 
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-card {
    background-color: var(--lightgrey-color);
    /*padding: 1.5rem;*/
    display: flex;
    /*flex-wrap: wrap;*/
    flex-basis: 100%;
    width: fit-content;
    flex-wrap: wrap;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.contact-card > div {
    flex-basis: 100%;
}

.contact-card .person-image-container {
    height: 200px;
    padding-top: 2rem;
    display: flex;
    justify-content: center;
}

    .contact-card .person-image-container img {
        height: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
        object-position:center;
       /* border-radius: 5000px;*/
    }

    .contact-card .person-content-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        width: 550px;
    }

    .contact-card p {
        margin: 0;
    }


.text-split-block {
    display: flex;
    flex-direction: column;
}

    .text-split-block.d-flex.align-items-center {
        align-items: stretch !important;
    }

    .text-split-block .split-block-content {
        display: flex;
        flex-direction: column;
        min-height: 300px;
    }

        .text-split-block .split-block-content > div {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

@media (max-width: 767px) {
    .text-split-block .split-block-content .border-left {
        /*padding-top: 1rem;*/
    }
}

@media (max-width: 1199px) {
    .text-split-block .split-block-content .border-left {
        border-left: none !important;
        border-top: 2px solid;
        /*padding-top: 3rem;*/
    }
}

@media (min-width: 768px) {
    .contact-card {
        flex-wrap: nowrap;
    }

    .contact-card .person-image-container {
        height: 200px;
        padding-top: 0;
        display: flex;
        justify-content: start;
        flex: 0 1 auto;
    }
}

@media (min-width: 1200px) {
    .contact-card {
        flex-basis: calc(50% - .75rem);
    }

    .text-split-block {
        flex-direction: row;
        min-height: 50vh;
    }

        .text-split-block .split-block-content.h-100 {
            height: 100% !important;
        }

        .text-split-block .split-block-content {
            flex: 1 0 50%;
            height: auto;
            min-height: unset;
        }

            .text-split-block .split-block-content .border-left {
                
                border-top: none;
                /*padding-top: 0;*/
            }
}

.documents-section > div.d-flex {
    gap: 1rem;
}

.documents-section a {
    width: fit-content;
}

    .documents-section a .doc-desc {
        text-decoration: none !important;
    }

.documents-section a:hover .doc-desc {
    text-decoration: none !important;
}

.documents-section .doc-preview {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    width: 150px;
    border: 1px solid #ccc;
}

.documents-section a.btn-small {
    flex-basis: unset;
}

.documents-section .doc-title {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.125rem;
}

.documents-section .doc {
    /*flex-basis: calc(50% - 1rem);*/
    flex-basis: 100%;
}

.image-collection img {
    width: 100%; 
    height: auto;
    border-radius: var(--radius-lg);
    max-width: 800px !important;
    margin: 0 auto;
}

.navigation-links {
    gap:1rem;
}

    .navigation-links a {
        flex-basis: 100%;
        text-decoration: none !important;
    }

        .navigation-links a h3 {            
            color: var(--primary-color) !important;
            border-color: var(--primary-color) !important;
        }

        .navigation-links a:hover h3 {
            color: rgba(171,202,55,1) !important;
            border-color: rgba(171,202,55,1) !important;
        }

        .navigation-links a > div {
            background-position: center;
            background-size: cover;
            aspect-ratio:21/9;

        }

@media (min-width: 768px) {
    .navigation-links a {
        flex-basis: calc(33% - .46rem);
    }
}

.right-content h2 {
    margin-top: 0;
}

.info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.info-list ul {
    flex-basis: 100%;
    margin: 0;
}

.info-list p.ingress {
    margin:0;
}

@media (min-width: 768px) {
    .info-list {
        gap: 2rem;
    }

    .info-list ul {
        flex-basis: calc(50% - 1rem);
    }
}

@media (min-width: 1200px) {
    .documents-section a {
        flex-basis: calc(50% - .5rem);
    }
}

.text-box {
    margin: 1rem 0;
    border-radius: var(--radius-md);
}

.text-box img {
    border-radius: var(--radius-md);
}

.text-box img,
.rte-container img {
    object-fit: contain;
    max-width: 100%;
}

/* Partners */

.partner-category {

}

    .partner-category .partner {
        
    }

        .partner-category .partner .partner-info {
            flex-basis: calc(100% - 225px);
            flex-grow: 2;
            flex-shrink: 0;
        }

        .partner-category .partner .partner-img {
            width: 200px;
            height: auto;
        }

            .partner-category .partner .partner-img img {
                width: 200px;
                height: auto;
            }



/* 
-----------------------------------------
COMPANIES
-----------------------------------------
*/

/* Companies page */

.companies-tags > div {
    padding-right: .5rem;
}

.companies-tags > div:after {
    content: "|";
}

    .companies-tags > div a {
        color: var(--primary-color);
        margin-right: .5rem;
    }

       /* .companies-tags > div a:hover {
            font-weight: 500;
        }*/

        .companies-tags > div a.active {
            border-bottom: 1px solid var(--text-dark);
            font-weight: 500;
            color: var(--text-dark);
            text-decoration: none;
        }

#companies-container > div {
    gap: 2rem;
}

#companies-container .company {
    flex-basis: 100%;
    /*opacity: 1;
    transition: opacity 0.3s ease-in-out;*/
    padding: 2rem;
    background: #fff;
    opacity: 1;
    visibility: visible;
    position: relative;
    transition: opacity 0.3s ease-in-out;
    border-radius: var(--radius-md);
}

        #companies-container .company ul,
        .companies-tags {
            list-style: none;
            padding-left: 0;
        }

        #companies-container .company .company-link {
            text-decoration: none;
        }

            #companies-container .company .company-link > div {
                /*border: 1px solid rgba(0,0,0,0.1);*/
                width: 100%;
                height: 200px;
                overflow: hidden;
                display: flex;
                align-items: center;
            }

            #companies-container .company .company-link h3 {
                margin-bottom: 1px;
            }

            #companies-container .company .company-link:hover h3 {
                border-width: 2px !important;
                border-color: var(--secondary-color) !important;
                /*color: var(--secondary-color);*/
                margin-bottom: 0;
            }

            #companies-container .company a img{
                width: 100%;
                height: auto;
                flex: 1 1 auto;
            }

        #companies-container .company > div, 
        #companies-container .company > a {
            max-width: 400px;
            width: 100%;
            height: auto;
        }

@media (min-width: 992px) {
    #companies-container .company {
        flex-basis: calc(50% - 1rem);
    }
}

@media (min-width: 1200px) {
    #companies-container .company {
        flex-basis: calc(33% - 1.1rem);
    }
}

/* Company page */

.company-page .company-logo-container  {

}

.company-logo {
    border: 1px solid var(--grey-color);
    width: 400px;
    height: auto;
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .company-page .company-logo-container {
        order: 2;
        display: flex; 
        justify-content: center;
    }
}

/* 
-----------------------------------------
BANNERS
-----------------------------------------
*/

/* Contact Banner */

.contact-banner {
}

.contact-banner > div {
    margin: 0 auto;
}


    .contact-banner .contact-image {
        aspect-ratio: 4/3;
        border-radius: var(--radius-lg);
        overflow: hidden;
        max-width: calc(100% - 2rem);
    }

    .contact-banner .contact-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .contact-banner span {
        font-weight: 600;
        margin-right: 1rem;
    }

    .contact-banner h2,
    .contact-banner h3,
    .contact-banner p,
    .contact-banner a,
    .contact-banner svg {
        color: var(--primary-color);
    }

@media(min-width: 768px) {
    .contact-banner .contact-image {
        max-width: 40%;
    }
}

/* Testimonials */

#testimonials .quote-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

#testimonials .quote-container .quote {
    padding: 1rem 0;
    max-width: calc(100vw - 2rem);
}

    #testimonials .quote-container .quote-name {
        font-weight: 600;
        padding-top: 1rem;
    }

#testimonials p {
    margin-bottom: 0;
    color: var(--primary-color);
}

.additional-content .testimonials {
    margin: 0 -100%;
}

@media(min-width: 576px) {
    #testimonials .quote-container .quote {
        max-width: calc(100vw - 6rem);
    }
}

@media (min-width: 1600px) {
    .testimonials {
        padding: 5.25rem !important;
    }
}

/* 
-----------------------------------------
EVENTS
-----------------------------------------
*/

/* ---------------- Medeon Aktuellt ----------------- */

.event-table td {
    font-weight: 300;
    font-size: 1.125rem;
}

/* Kalendarium table */
.responsive-table {
    overflow-x: auto;
    border-radius: 0;
}
/* L�gger till en horisontell scroll om sk�rmen �r f�r liten */
.responsive-table table {
    border-collapse: collapse;
    width: 100%;
    font-size: 1em;
    background-color: #fff;
}

.responsive-table th {
    text-transform: uppercase;
    padding: .5rem 1rem;
    color: var(--secondary-color);
    font-weight: 500;
    line-height: 1;
    /*background-color: rgba(171,202,55,1);*/
    background-color: var(--primary-color);
}

.responsive-table tr.no-border {
    border: none !important;
}

    .responsive-table tr th:first-child {
        border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    }

    .responsive-table tr th:last-child {
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    }

    .responsive-table tr.external-events th {
        background-color: var(--secondary-color);
        color: var(--primary-color);
    }

    .responsive-table th:first-child {
        width: 55%;
    }

.responsive-table tfoot {
    background-color: rgba(171,202,55,.2);
    border-bottom: 3px solid rgba(171,202,55,1);
}

.responsive-table td {
    padding: 1.5em 1rem;
    line-height: 1;
    vertical-align: top;
}

    .responsive-table td svg {
        display: none;
    }

@media(min-width: 576px) {
    .responsive-table td {
        width: 20%;
    }

    .responsive-table td svg {
        display: inline;
    }
}
    .responsive-table td a {
        color: #333;
    }

    .responsive-table td p {
        font-weight: 400;
    }

    .responsive-table td:nth-of-type(2) {
        padding-left: 0;
        /*width: 80%;*/
    }

    .responsive-table td:first-child {
        width: 80%;
    }

    .responsive-table td:last-child {
        min-width: 150px;
    }

.responsive-table tfoot td {
    padding: 1.25rem 1rem .5rem;
}

.responsive-table tfoot tr:last-child td {
    padding-top: 0;
    padding-bottom: 1rem;
}

.responsive-table tr {
    border-bottom: 1px solid #ccc;
}

.responsive-table tfoot tr {
    border-bottom: none;
}

.responsive-table td .fa {
    font-size: 1.25rem;
    color: rgba(171,202,55,1);
    margin-right: 0;
    margin-top: -5px;
}

.responsive-table td .fa-globe {
    color: rgba(0,15,30,.35);
}

.responsive-table td .fa-info-circle {
    color: rgba(48,172,215,1);
    font-size: 1rem;
}

.fa {
    margin-right: 0.5rem;
}

.responsive-table.grey th {
    background: #ccc;
}

/* Event form */

#collapseForm {
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.event-form-accordion {
    max-width: 600px;
    --accent-color: #30ACD7;
    margin-top: 2rem;
}

    .event-form-accordion .accordion-item {
        border: 1px solid #30ACD7;
    }

    .event-form-accordion .accordion-button {
        box-shadow: none;
    }

        .event-form-accordion .accordion-button:not(.collapsed) {
            color: #fff;
            background-color: #30ACD7;
            box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
        }

    .event-form-accordion .accordion-item > div {
        padding: 2rem;
        background-color: #F2F3F4;
    }

.event-form h2,
.event-form h3 {
    margin-top: 0;
}

.event-form .umbraco-forms-page {
    border-radius: 0;
    background-color: transparent;
    padding: 0;
}

.event-form .umbraco-forms-hidden input {
    display: none;
}

.umbraco-forms-page .headline label {
    display: none;
}

.umbraco-forms-page .umbraco-forms-field {
    padding-bottom: 1rem;
}

footer .umbraco-forms-page .umbraco-forms-field {
    padding-bottom: 0;
}

.umbraco-forms-hidden[aria-hidden="true"] {
    display: none;
}

.event-form label {
    margin-top: .5rem;
}


.event-list h2 {
    margin: 0;
    font-size: 20px;
}

    .event-list h2 a {
        color: rgba(0,15,30,1);
    }

.eventdate, .newsdate {
    margin: 1rem 0 0 0;
    border-top: 1px solid #ccc;
    padding-top: 1rem;
}

.more-events-list {
    margin-left: 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--primary-color);
    list-style: none;
}

    .more-events-list a {
        color: var(--text-dark);
        font-weight: 400;
        display: block;
        margin-bottom: 0.75rem;
    }


    .more-events-list .blog-date {
        margin-bottom: 0;
    }

.umbraco-forms-navigation input[type="submit"] {
    margin-top: 1rem;
    width: 100%;
}

footer .umbraco-forms-navigation input[type="submit"] {
    margin-top: 0;
    width: fit-content;
}

.dataconsent > label {
    display: none;
}

.dataconsent > div {
    display: flex;
    margin-top: 1rem;
    gap:.5rem;
}

.dataconsent > div > input[type="checkbox"] {
    margin-bottom: auto;
    margin-top: .35rem;
}

    .dataconsent > div > label {
        margin-top:0;
    }


/* 
-----------------------------------------
CONTACT
-----------------------------------------
*/

.contact-map iframe {
    width: 100%;
}

/* 
-----------------------------------------
NEWS
-----------------------------------------
*/

.news-items {
    gap: 2rem;
}

    .news-items .news-date {
        font-size: .875rem;
        margin-bottom: .5rem;
    }

    .news-items > a {
        flex-basis: 100%;
    }

    .news-items > div {
        flex-basis: 100%;
    }

    .news-items .page-item .page-link {
        color: var(--primary-color);
    }

    .news-items .page-item.active .page-link {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        color: var(--text-white);
    }

@media (min-width: 576px) {
    .news-items > a {
        flex-basis: calc(50% - 1rem);
    }
}

@media (min-width: 992px) {
    .news-items > a {
        flex-basis: calc(33% - 1.33rem);
    }
}

.news-items .news-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--radius-md);
}

.news-page .news-img {
    max-width: 100%;
}

.news-items > a:hover {
    text-decoration: none;
}

.news-items > a:hover h3 {
    text-decoration: underline;
}

.news-page .news-text {
    background: var(--lightgrey-color);
}

.news-page .news-item:hover h3,
.news-page .news-item:hover p {
    color: var(--hover-primary);
}

.news-page .news-text h3 {
    line-height: 1;
}

.news-page .news-text p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-page .pagination .active > .page-link, .page-link.active {
    color: var(--text-white);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.news-page .pagination .page-link {
    color: var(--accent-color);
}

.news-item-page img {
    border-radius: var(--radius-lg);
}

footer .umbraco-forms-submitmessage {
    color: #fff;
}

/*
Umbraco forms
*/

.event-registration .umbraco-forms-form input.text, 
.event-registration .umbraco-forms-form textarea {
    width: 100%;
    max-width: 100% !important;
}

.event-registration .umbraco-forms-form input.text,
.event-registration .umbraco-forms-form input.title,
.event-registration .umbraco-forms-form select,
.event-registration .umbraco-forms-form textarea {
    margin: .5em 0;
    border: 1px solid #bbb;
}
