/* 
-----------------------------------------
FONTS
-----------------------------------------
*/

@font-face {
    font-family: Maax;
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/Maax/Maax-Medium.eot);
    src: local("Maax Medium"), local("Maax-Medium"), url(../fonts/Maax/Maax-Medium.eot?#iefix) format("embedded-opentype"), url(../fonts/Maax/Maax-Medium.woff) format("woff"), url(../fonts/Maax/Maax-Medium.ttf) format("truetype")
}

@font-face {
    font-family: Maax;
    font-style: italic;
    font-weight: 400;
    src: url(../fonts/Maax/Maax-Italic.eot);
    src: local("Maax Italic"), local("Maax-Italic"), url(../fonts/Maax/Maax-Italic.eot?#iefix) format("embedded-opentype"),url(../fonts/Maax/Maax-Italic.woff) format("woff"), url(../fonts/Maax/Maax-Italic.ttf) format("truetype")
}

@font-face {
    font-family: Maax;
    font-style: italic;
    font-weight: 700;
    src: url(../fonts/Maax/Maax-BoldItalic.eot);
    src: local("Maax BoldItalic"), local("Maax-BoldItalic"), url(../fonts/Maax/Maax-BoldItalic.eot?#iefix) format("embedded-opentype"),url(../fonts/Maax/Maax-BoldItalic.woff) format("woff"), url(../fonts/Maax/Maax-BoldItalic.ttf) format("truetype")
}

@font-face {
    font-family: Maax;
    font-style: normal;
    font-weight: 900;
    src: url(../fonts/Maax/Maax-Black.eot);
    src: local("Maax Black"), local("Maax-Black"), url(../fonts/Maax/Maax-Black.eot?#iefix) format("embedded-opentype"), url(../fonts/Maax/Maax-Black.woff) format("woff"), url(../fonts/Maax/Maax-Black.ttf) format("truetype")
}

@font-face {
    font-family: Maax;
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Maax/Maax.eot);
    src: local("Maax"),url(../fonts/Maax/Maax.eot?#iefix) format("embedded-opentype"), url(../fonts/Maax/Maax.woff) format("woff"), url(../fonts/Maax/Maax.ttf) format("truetype")
}

@font-face {
    font-family: Maax;
    font-style: normal;
    font-weight: 700;
    src: url(../fonts/Maax/Maax-Bold.eot);
    src: local("Maax Bold"), local("Maax-Bold"), url(../fonts/Maax/Maax-Bold.eot?#iefix) format("embedded-opentype"), url(../fonts/Maax/Maax-Bold.woff) format("woff"), url(../fonts/Maax/Maax-Bold.ttf) format("truetype")
}

@font-face {
    font-family: Maax;
    font-style: italic;
    font-weight: 500;
    src: url(../fonts/Maax/Maax-Mediumitalic.eot);
    src: local("Maax MediumItalic"), local("Maax-Mediumitalic"), url(../fonts/Maax/Maax-Mediumitalic.eot?#iefix) format("embedded-opentype"), url(../fonts/Maax/Maax-Mediumitalic.woff) format("woff"), url(../fonts/Maax/Maax-Mediumitalic.ttf) format("truetype")
}

/* 
-----------------------------------------
COLORS
-----------------------------------------
*/

:root {
    /* Color declarations */
    --trianon-blue: #1d3f94;
    --trianon-purple: #5c67ac;
    --trianon-light-blue: #8086af;
    --offblack: #282828;
    /* Top margin */
    --top-margin-sm: 74px;
    --top-margin-lg: 142px; /* 992 px */
    /* Override Bootstrap */
    --bs-btn-active-bg: #FFFFFF;
    --bs-btn-focus-box-shadow: var(--trianon-blue);
    --bs-btn-active-color: #FFFFFF;
}

/*
-----------------------------------------
BASE
-----------------------------------------
*/

/* min: 360px */

::selection {
    background-color: #142C67;
    color: #fff;
}

a, a:link, a:active {
    color: var(--trianon-blue);
    text-decoration: none;
}

[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: none;
    appearance: none;
}

ul {
    padding-left: 1rem;
}

    ul.list-style-none {
        list-style: none;
        padding: 0;
    }

a:hover {
    color: var(--trianon-light-blue);
    text-decoration: none;
}

img {
    max-width: 100%;
}

figure {
    margin-bottom: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

body, p, li {
    font-family: 'Maax', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--offblack);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

    body.no-scroll {
        overflow: hidden;
    }

b, strong {
    font-weight: 700;
}

p.ingress {
    font-size: clamp(1.25rem, 1.149rem + 0.448vw, 1.625rem);
    line-height: 1.4;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 1.896rem + 2.687vw, 4.75rem);
    text-transform: none;
    color: var(--trianon-blue);
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.75rem, 1.531rem + 1.029vw, 2.625rem);
    text-transform: none;
    font-weight: 700;
    color: var(--trianon-blue);
    margin: 1.25em 0 0.25em;
}

h3 {
    text-transform: none;
    color: var(--trianon-blue);
    margin-top: 1.5em;
}

    h2:first-child,
    h3:first-child {
        margin-top: 0;
    }

p {
    margin-bottom: 1em;
}

    p:last-child {
        margin-bottom: 0;
    }

/*
-----------------------------------------
SPACING
-----------------------------------------
*/

/* ---------- Top margin ---------- */

.margin-top {
    margin-top: var(--top-margin-sm);
}

@media screen and (min-width: 992px) {

    .margin-top {
        margin-top: var(--top-margin-lg);
    }
}

/* ---------- Padding x space ---------- */

.padding-x-space {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 768px) {
    .padding-x-space {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1400px) {
    .padding-x-space {
        padding-left: calc(50% - 580px);
        padding-right: calc(50% - 580px);
    }
}

/* ---------- Padding y space ---------- */

.padding-y-space {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .padding-y-space {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .padding-y-space {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

@media (min-width: 1700px) {
    .padding-y-space {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* ---------- Button ---------- */

a.btn,
button.btn {
    background-color: #1d3f94;
    color: #fff;
    font-family: 'Maax', Arial, sans-serif;
    padding: 0.625rem 2rem;
    margin-top: 1rem;
    font-size: 1.125rem;
    border: none;
    position: relative;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    line-height: 1.1;
    text-decoration: none;
    transition: none;
    position: -webkit-sticky;
}

    a.btn::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: var(--trianon-blue);
        border: 2px solid var(--trianon-blue);
        border-bottom: none;
        transform-origin: top right;
        transform: skewY(1deg);
        z-index: 0;
    }

    a.btn::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: #1d3f94;
        border-top: none !important;
        border: 2px solid #1d3f94;
        transform-origin: bottom right;
        transform: skewY(-1deg);
    }

    a.btn span {
        z-index: 1;
        position: relative;
    }

    /* Hover */

    a.btn:hover,
    a.btn:hover::before,
    a.btn:hover::after,
    a.btn:focus,
    a.btn:focus::before,
    a.btn:focus::after,
    a.btn:active,
    a.btn:active::before,
    a.btn:active::after {
        background-color: transparent;
        color: var(--trianon-blue);
    }

/* White button */

a.white-btn,
button.white-btn {
    background-color: #FFFFFF;
    color: var(--trianon-blue);
}

    a.white-btn::before {
        background: #FFFFFF;
        border: 2px solid #FFFFFF;
        border-bottom: none;
    }

    a.white-btn::after {
        background: #FFFFFF;
        border-color: #FFFFFF;
        border-bottom: none;
    }

    a.white-btn:hover,
    a.white-btn:hover::before,
    a.white-btn:hover::after,
    a.white-btn:focus,
    a.white-btn:focus::before,
    a.white-btn:focus::after,
    a.white-btn:active,
    a.white-btn:active::before,
    a.white-btn:active::after {
        background-color: var(--trianon-blue);
        color: #FFFFFF;
        border-color: var(--trianon-blue);
    }

/* White outline button */

a.white-outline-btn,
a.white-outline-btn::before,
a.white-outline-btn::after {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

    a.white-outline-btn:hover,
    a.white-outline-btn:hover::before,
    a.white-outline-btn:hover::after,
    a.white-outline-btn:focus,
    a.white-outline-btn:focus::before,
    a.white-outline-btn:focus::after,
    a.white-outline-btn:active,
    a.white-outline-btn:active::before,
    a.white-outline-btn:active::after {
        background-color: #FFFFFF;
        color: var(--trianon-blue);
        border-color: #FFFFFF;
    }


/* Green button */

a.green-btn,
button.green-btn {
    background-color: #51c81a;
    color: #FFFFFF;
}

    a.green-btn::before {
        background: #51c81a;
        border: 2px solid #51c81a;
        border-bottom: none;
    }

    a.green-btn::after {
        background: #51c81a;
        border: 2px solid #51c81a;
        border-top: none;
    }

    a.green-btn:hover,
    a.green-btn:hover::before,
    a.green-btn:hover::after,
    a.green-btn:focus,
    a.green-btn:focus::before,
    a.green-btn:focus::after,
    a.green-btn:active,
    a.green-btn:active::before,
    a.green-btn:active::after {
        background-color: transparent;
        color: #51c81a;
    }

/*
-----------------------------------------
NAVBAR
-----------------------------------------
*/

.navbar {
    justify-content: space-between;
    align-items: initial;
    padding-top: 0;
    padding-bottom: 0;
    top: 0;
    height: var(--top-margin-sm);
    z-index: 1200;
    background-color: #FFFFFF;
    transition: transform .4s ease-in-out, height 0.4s ease-in-out;
    min-height: 120px;
}

@media screen and (min-width: 992px) {
    .navbar {
        height: var(--top-margin-lg);
    }
}

.navbar.scroll-down {
    transform: translateY(-100%);
}


/* ---------- Logo ---------- */

.navbar-brand {
    display: flex;
}

    .navbar-brand img {
        width: 120px;
        transition: 0.15s;
    }

@media screen and (min-width: 992px) {
    .navbar .navbar-brand img {
        width: 200px;
    }
}

/* ---------- Menu wrap ---------- */

.navbar-menu-wrap {
    display: flex;
    align-items: center;
}

/* ---------- Search ---------- */

/* Search button */

.search-toggler {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: none;
    margin-right: 2rem;
}

@media screen and (min-width: 1700px) {

    .search-toggler {
        margin-right: 2.5rem;
    }
}

/* Search modal */

.search-modal {
    background-color: var(--trianon-purple);
}

.search-modal-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

    .search-modal-content h2 {
        color: #FFFFFF;
    }

    .search-modal-content .close-button {
        position: absolute;
        top: 0;
        right: 0;
    }

.search-inputs {
    display: flex;
}

    .search-inputs input {
        border: none;
        border-bottom: 1px solid #FFFFFF;
        background-color: transparent;
        color: #FFFFFF;
        font-size: 1.25rem;
        padding: 0.5rem 0;
    }

        .search-inputs input:focus,
        .search-inputs input:focus-visible
        .search-inputs input:active {
            outline: none;
            border: none;
            border-bottom: 2px solid #FFFFFF;
        }

    .search-inputs button {
        -webkit-appearance: none;
        appearance: none;
        border: none;
        background-color: #FFFFFF;
        color: var(--trianon-blue);
        padding: 0.5rem 1rem;
        text-transform: uppercase;
        font-weight: 500;
    }


        .search-inputs button:hover,
        .search-inputs button:focus,
        .search-inputs button:focus-visible,
        .search-inputs button:active {
            outline: none;
            border: none;
            background-color: var(--trianon-blue);
            color: #FFFFFF;
        }

/* ---------- Mobile menu button ---------- */

.navbar-toggler:focus {
    outline: none;
    border: none;
}

.navbar .navbar-toggler {
    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;
    width: 32px;
    height: 22px;
    border: none;
    transition-duration: 0.075s;
    transition: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.navbar-toggler span {
    position: absolute;
    display: block;
    height: 3px;
    width: 32px;
    background: var(--trianon-blue);
    opacity: 1;
    left: 0;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    border: none;
    outline: none;
    box-shadow: none;
}

.navbar-toggler span:nth-child(1) {
    top: 2px;
    transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.navbar-toggler span:nth-child(2) {
    top: 10px;
}

.navbar-toggler span:nth-child(3) {
    top: 18px;
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19)
}

.navbar-toggler:not(.collapsed) {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

    .navbar-toggler:not(.collapsed) span:nth-child(1) {
        top: 10px;
        opacity: 0;
        transition: top 0.075s ease, opacity 0.075s 0.12s ease;
    }


    .navbar-toggler:not(.collapsed) span:nth-child(2) {
    }

    .navbar-toggler:not(.collapsed) span:nth-child(3) {
        top: 10px;
        transform: rotate(-90deg);
        transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
    }


/* ------ Toggler button Trianon IR ------ */

/* Toggler button */

.menu-btn-icon {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: none;
    transition-property: opacity;
    transition-duration: 0.15s;
    transition-timing-function: linear;
}

.menu-btn-icon-wrap {
    width: 34px;
    height: 19px;
    display: inline-block;
    position: relative;
}

.menu-btn-icon-inner {
    top: 50%;
}

    .menu-btn-icon-inner, .menu-btn-icon-inner::before, .menu-btn-icon-inner::after {
        width: 34px;
        height: 3px;
        background-color: #1D3F94;
        border-radius: 0;
        position: absolute;
        transition-property: transform;
        transition-duration: 0.15s;
        transition-timing-function: ease;
    }

        .menu-btn-icon-inner::before,
        .menu-btn-icon-inner::after {
            content: "";
            display: block;
        }

        .menu-btn-icon-inner::before {
            top: -8px;
        }

        .menu-btn-icon-inner::after {
            bottom: -8px;
        }

.menu-btn-icon-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

    .menu-btn-icon-inner::before {
        transition: top 0.075s 0.12s ease, opacity 0.075s ease;
    }

    .menu-btn-icon-inner::after {
        transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

.menu-btn-icon:not(.collapsed) .menu-btn-icon-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

    .menu-btn-icon:not(.collapsed) .menu-btn-icon-inner::before {
        top: 0;
        opacity: 0;
        transition: top 0.075s ease, opacity 0.075s 0.12s ease;
    }

    .menu-btn-icon:not(.collapsed) .menu-btn-icon-inner::after {
        bottom: 0;
        transform: rotate(-90deg);
        transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
    }


/* ----- Mega-menu ----- */

#main-menu {
    max-height: calc(100vh - 60px);
    background-color: #F5F6F7;
    margin-top: 0;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 3px 3px rgba(0,0,0,0.12);
    background-image: url(/media/ocrjclkj/trianon-watermark-menu.svg);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 60% auto;
    overflow: hidden;
}

    #main-menu.show {
        overflow-y: auto;
    }

@media screen and (min-width: 768px) {

    #main-menu {
        background-image: url(/media/ocrjclkj/trianon-watermark-menu.svg);
        background-repeat: no-repeat;
        background-position: bottom right;
        background-size: 60% auto;
    }
}

@media screen and (min-width: 992px) {

    #main-menu {
        background-size: 50% auto;
        max-height: calc(100vh - 90px);
    }
}

@media screen and (min-width: 1400px) {

    #main-menu {
        background-size: 30% auto;
        max-height: calc(100vh - 112px);
    }
}

#main-menu > ul {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 4rem;
}

    #main-menu > ul > li {
        flex-basis: 100%;
    }

@media screen and (min-width: 576px) {

    #main-menu > ul {
        margin-left: -1rem;
        margin-right: -1rem;
    }

        #main-menu > ul > li {
            flex-basis: calc(50% - 2rem);
            margin: 0 1rem 1rem;
        }
}

@media screen and (min-width: 768px) {
    #main-menu > ul > li {
        flex-basis: calc(30% - 2rem);
    }
}

@media screen and (min-width: 992px) {

    #main-menu > ul > li {
        flex-basis: calc(20% - 2rem);
        margin-bottom: 0;
    }
}

@media screen and (min-width: 1200px) {

    #main-menu > ul {
        padding-bottom: 3.5rem;
    }
}

@media screen and (min-width: 1700px) {

    #main-menu > ul {
        padding-bottom: 4rem;
    }

    #main-menu > ul {
        padding-left: calc(50% - 800px);
        padding-right: calc(50% - 800px);
    }
}

#main-menu > ul > li.nav-item {
    padding-bottom: 2rem;
    break-inside: avoid;
}

#main-menu h3 a.nav-link {
    font-family: 'Maax', Arial, sans-serif;
    font-weight: 700;
    color: #1D3F94;
    margin-top: 0;
    font-size: 1.25rem;
}

#main-menu a.nav-link {
    padding: .25rem 0;
    color: #677278;
    text-decoration: none;
    font-size: 1rem;
}


/* ----- Offcanvas mobile menu ----- */

#mob-nav {
    padding: 0;
    background-color: var(--trianon-blue);
    transition: all 0.5s ease-in-out;
}

#mobileMenu .nav-link {
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    #mobileMenu .nav-link:hover {
        color: #FFFFFF;
        text-decoration: underline;
    }

/* Mobile menu close button */

.close-button {
    cursor: pointer;
    font-size: 36px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    color: #000000;
    height: 30px;
    width: 30px;
    margin-right: 1.5rem;
    margin-top: 1rem;
}

.main-menu-mobile .top-nav-item {
    height: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.close-button span {
    display: block;
    position: absolute;
    height: 3px;
    width: 30px;
    background: #FFFFFF;
    opacity: 1;
    right: 0;
}

    .close-button span:nth-child(1) {
        top: 15px;
        transform: rotate(45deg);
    }

    .close-button 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;
}

    .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;
}

.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: 400;
}

.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;
}


/* ---------- Desktop menu ---------- */

#desktopMenu {
    display: none;
}

@media screen and (min-width: 992px) {

    #desktopMenu {
        display: flex;
    }
}

#top-menu {
    flex-direction: row;
    align-items: center;
}

    #top-menu .nav-item {
        position: relative;
    }

    #top-menu .nav-link {
        font-weight: 500;
        color: var(--trianon-blue);
        padding: 0.5rem 0;
        transition: all ease 0.15s;
        font-size: 1.25rem;
    }

        #top-menu .nav-link:hover {
            color: var(--trianon-light-blue);
        }

    #top-menu .dropdown-menu .nav-link:hover {
        color: var(--trianon-light-blue);
    }

    #top-menu > .nav-item > .nav-link {
        margin-right: 1.5rem;
    }

@media screen and (min-width: 1700px) {

    #top-menu > .nav-item > .nav-link {
        margin-right: 2rem;
    }
}

#top-menu button.nav-link {
    background-color: transparent;
    border: none;
    appearance: none;
}

#top-menu .dropdown-menu {
    position: absolute;
    border-radius: 0;
    background-color: #F5F6F7;
    border: none;
    box-shadow: 0 3px 3px rgba(0,0,0,0.12);
}

#top-menu .dropdown-toggle::after {
    display: none;
}

#top-menu .dropdown-menu .nav-link{
    padding: 0.5rem 1rem;
    font-weight: 400;
    font-size: 1.125rem;
}

/*
-----------------------------------------
FOOTER
-----------------------------------------
*/

footer > div {
    flex: 100% 0 0;
}

@media screen and (min-width: 768px) {

    footer > div:first-child {
        flex-basis: 45%;
    }

    footer > div:last-child {
        flex-basis: 55%;
    }
}

footer > div:first-child {
    background-color: var(--trianon-purple);
}

footer > div:last-child {
    background-color: var(--trianon-blue);
}

@media screen and (min-width: 768px) {

    footer > div:first-child {
        padding-right: 2.5rem;
    }

    footer > div:last-child {
        padding-left: 2.5rem;
    }
}

@media screen and (min-width: 1700px) {

    footer > div:first-child {
        padding-right: 6rem;
    }

    footer > div:last-child {
        padding-left: 6rem;
    }
}

.footer-right-column > div {
    flex: 100% 0 0;
}

@media screen and (min-width: 1200px) {

    .footer-right-column > div:nth-child(1),
    .footer-right-column > div:nth-child(2) {
        flex-basis: calc(50% - 1rem);
    }
}


footer,
footer a:not(.btn),
footer a:not(.btn):link,
footer li,
footer p {
    color: #FFFFFF;
}

    footer a:not(.btn):hover {
        color: #FFFFFF;
        text-decoration: underline;
    }

    footer h2 {
        font-size: 1.25rem;
        color: #FFFFFF;
        font-weight: 500;
        margin-bottom: 0.5em;
    }

.footer-sm-icons-wrap {
    margin-top: 2rem;
}

    .footer-sm-icons-wrap svg {
        font-size: 1.5rem;
    }

    .footer-sm-icons-wrap a + a {
        margin-left: 0.75rem;
    }

p.footer-copyright {
    opacity: 0.5;
    margin-top: 2rem;
}

/*
-----------------------------------------
START PAGE
-----------------------------------------
*/

.hero-section {
    position: relative;
    margin-top: 70px;
    height: calc(100dvh - 70px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) {
    .hero-section {
        margin-top: 142px;
        height: calc(100dvh - 142px);
    }

    header .navbar {
        height: 142px;
        justify-content: space-between;
    }
}

.hero-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-section .hero-overlay {
    position: absolute;
    width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    z-index: 10;
}

.hero-section .hero-caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: min(max(1rem, calc(1rem + ((1vw - 0.35rem) * 12.9412))), 12rem);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    width: 100%;
    min-width: fit-content;
    background-color: rgba(255, 255, 255, 0.6);
    color: #1d3f94;
    clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%);
}

    .hero-section .hero-caption h1 {
        font-size: clamp(2.5rem, 1.4751rem + 2.847vw, 4.5rem);
        font-weight: 800;
        line-height: 1;
        max-width: 30ch;
    }

/* ------- Mina sidor ------- */

.my-pages-section {
    background-color: #33529e;
    background-image: url(https://ir.trianon.se/media/2jkbqsov/trianon-watermark-footer.svg);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: auto 80%;
}

.my-pages-section h2 {
    color: #ffffff;
}

.my-pages-section p {
    color: #ffffff;
    font-size: 1.125rem;
    max-width: 70ch
}

/* ------- Focus areas ------- */

.focus-areas > div {
    flex: 100% 0 0;
}

@media screen and (min-width: 640px) {

    .focus-areas > div {
        flex-basis: 50%;
    }
}

@media screen and (min-width: 900px) {

    .focus-areas > div {
        flex-basis: 25%;
    }
}

.focus-area {
    padding: 1.5rem 1rem 3rem;
    text-align: center;
}


    .focus-area img {
        width: 100px;
        height: 100px;
    }

    .focus-area h2 {
        font-size: 1.875rem;
        color: #FFFFFF;
        font-weight: 400;
        margin-top: 1rem;
    }

    .focus-area a.btn {
        margin-top: 1.5rem;
    }

p.focus-area-text {
    display: none;
    margin-top: 2rem;
    color: #FFFFFF;
}

@media screen and (min-width: 640px) {

    .focus-area {
        text-align: left;
    }

    p.focus-area-text {
        display: block;
    }
}

@media screen and (min-width: 900px) {

    .focus-area {
        padding: 1.5rem 1.25rem 3rem;
    }

    p.focus-area-text {
        display: block;
    }
}


@media screen and (min-width: 1200px) {

    .focus-area {
        padding: clamp(1rem, -1.25rem + 4vw, 3rem) clamp(1.75rem, 1.549rem + 0.896vw, 2.5rem) 3rem;
    }
}

/* ------- Sustainability section ------- */

.substainability-section {
    background-color: #f5faf3;
}

.sustainability-text-blocks > div {
    flex: 100% 0 0;
}

@media screen and (min-width: 600px) {

    .sustainability-text-blocks {
        margin-right: -1rem;
        margin-left: -1rem;
    }

        .sustainability-text-blocks > div {
            flex-basis: calc(33.333% - 2rem);
            max-width: calc(33.333% - 2rem);
            margin: 0 1rem;
        }
}


.sustainability-text-blocks {
    margin-top: 3rem;
}

.sustainability-text-block {
    text-align: center;
}

    .sustainability-text-block img {
        display: block;
        height: 124px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .sustainability-text-block h3 {
        font-weight: 700;
        color: #51c81a;
        margin-top: 2rem;
        font-size: clamp(1.25rem, 0.977rem + 0.727vw, 1.75rem);
    }

    .sustainability-text-block + .sustainability-text-block {
        margin-top: 2rem;
    }

@media screen and (min-width: 600px) {


    .sustainability-text-block + .sustainability-text-block {
        margin-top: 0;
    }
}

/* ------- News header ------- */

.news-section-header p {
    display: none;
}

@media screen and (min-width: 768px) {

    .news-section-header p {
        display: block;
    }
}

/* ------- News carousel desktop ------- */

.news-carousel-desktop {
    display: none;
}

@media screen and (min-width: 992px) and (pointer: fine) {

    .news-carousel-desktop {
        display: block;
    }
}

.news-carousel-wrap {
    position: relative;
    max-width: 100%;
}

.news-carousel-scroller {
    scroll-snap-type: x mandatory;
    overflow-y: hidden;
    display: flex;
    align-items: flex-start;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.news-carousel::-webkit-scrollbar {
    display: none;
}

.news-carousel-box {
    scroll-snap-align: start;
    margin: 0;
    padding-right: 2rem;
    position: relative;
    border-radius: 10px;
    flex: 40vw 0 0;
    transition: flex-basis ease 0.15s;
}

.news-carousel-box-active ~ .news-carousel-box {
    flex-basis: 21vw
}

.news-carousel::-webkit-scrollbar {
    display: none;
}


/* Prev and next buttons */

.news-btn {
    -webkit-appearance: none;
    appearance: none;
    background-color: #FFFFFF;
    border-radius: 50%;
    z-index: 1;
    height: 50px;
    width: 50px;
    border: 1px solid #1570af;
    color: #1570af;
    margin: 0 0.375rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .news-btn:hover {
        background-color: #1570af;
        color: #FFFFFF;
    }


    .news-btn.disabled {
        opacity: 0.5;
        cursor: default;
    }

        .news-btn.disabled:hover {
            background-color: #FFFFFF;
            color: #1570af;
        }


/* News box content */

.news-carousel-box h2 {
    font-size: 1.25rem;
}

.news-carousel-box-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    transition: all ease 0.4s;
}

.news-carousel-box-active .news-carousel-box-image {
    aspect-ratio: 3 / 2;
}

/* ------- News carousel mobile ------- */

@media screen and (min-width: 768px) {

    .news-carousel-mobile .carousel {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 992px) and (pointer: fine) {

    .news-carousel-mobile {
        display: none;
    }
}

@media screen and (min-width: 992px) and (pointer: coarse) {

    .news-carousel-mobile {
        display: block;
    }
}

.carousel-control-next, .carousel-control-prev {
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    background-color: #FFFFFF;
    border-radius: 50%;
    z-index: 1;
    height: 50px;
    width: 50px;
    border: 1px solid #1570af;
    color: #1570af;
    margin: 0 0.375rem;
    opacity: 1;
}

    .carousel-control-next:hover,
    .carousel-control-prev:hover,
    .carousel-control-next:focus-visible,
    .carousel-control-prev:focus-visible,
    .carousel-control-next:active,
    .carousel-control-prev:active {
        background-color: #1570af;
    }

    .carousel-control-next:focus,
    .carousel-control-prev:focus {
        color: #1570af;
        background-color: #FFFFFF;
    }

        .carousel-control-next:focus:hover,
        .carousel-control-prev:focus:hover {
            background-color: #1570af;
            color: #FFFFFF;
        }

/* ------- Sustainability section ------- */

.footer-image-section {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    display: flex;
    align-items: center;
}

    .footer-image-section > img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.footer-image-caption {
    position: relative;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.6);
    flex-basis: fit-content;
}


@media screen and (min-width: 1200px) {

    .footer-image-section {
        aspect-ratio: 3 / 1;
    }

    .footer-image-caption {
        flex-basis: 50%;
    }
}

@media screen and (min-width: 1700px) {
    .footer-image-caption {
        margin-left: calc(50% - 800px);
        flex-basis: 800px;
    }
}

/*
-----------------------------------------
CONTENT BLOCKS
-----------------------------------------
*/

.content-block > div {
    flex: 100% 0 0;
}

@media screen and (min-width: 576px) {

    .content-block > div {
        flex-basis: calc(50% - 1rem)
    }
}

.content-block + .content-block {
    margin-top: 2rem;
}

@media screen and (min-width: 576px) {

    .content-block + .content-block {
        margin-top: 4rem;
    }
}

/* Image block */

.image-content-block img {
    width: 100%;
}

/* Iframe block */

.content-iframe-block > div {
    flex-basis: 100%;
}

/* Document grid */

.content-document-grid-block {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

    .content-document-grid-block > a {
        flex: calc(100% - 1rem) 0 0;
        margin: 0 0.5rem 1rem;
    }


@media screen and (min-width: 500px) {

    .content-document-grid-block > a {
        flex: calc(50% - 1rem) 0 0;
        margin: 0 0.5rem 1rem;
    }
}


@media screen and (min-width: 768px) {

    .content-document-grid-block > a {
        flex-basis: calc(33.33% - 1rem);
    }
}

@media screen and (min-width: 992px) {

    .content-document-grid-block > a {
        flex-basis: calc(25% - 1rem);
    }
}

@media screen and (min-width: 1200px) {

    .content-document-grid-blocks {
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .content-document-grid-block > a {
        flex-basis: calc(25% - 2rem);
        margin: 0 1rem 2rem;
    }
}

a.document-block {
    border: 1px solid var(--trianon-blue);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    aspect-ratio: 5 / 2;
}

    a.document-block:hover {
        background-color: var(--trianon-blue);
        color: #FFFFFF;
    }

        a.document-block:hover * {
            background-color: var(--trianon-blue);
            color: #FFFFFF;
        }

@media screen and (min-width: 500px) {

    a.document-block {
        aspect-ratio: 1 / 1;
    }
}

a.document-block h3 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0;
}

a.document-block p {
    color: var(--trianon-blue);
    font-weight: 400;
    margin-top: 1em;
    font-size: 1.125rem;
    display: none;
}

a.document-block:hover p {
    display: block;
}

/* Youtube block */

.content-youtube-block iframe {
    height: unset !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
}

/* Typography */

.content-block a:not(.btn):not(.document-block) {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

/*
-----------------------------------------
SUBPAGES
-----------------------------------------
*/

.subpage-header {
    background-color: var(--trianon-light-blue);
    background-position: center;
    background-size: cover;
    width: 100%;
    aspect-ratio: 4 / 3;
}

@media screen and (min-width: 992px) {

    .subpage-header {
        aspect-ratio: 3 / 1;
    }
}

.subpage-header-caption {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    flex-basis: calc(100% - 3rem);
    flex-grow: 0;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.6);
    flex-basis: fit-content;
}

@media screen and (min-width: 1400px) {

    .subpage-header-caption {
        max-width: 60%;
    }
}

@media screen and (min-width: 1700px) {

    .subpage-header-caption {
        padding-left: calc(50% - 800px);
        padding-right: calc(50% - 800px);
    }
}

.subpage-header-caption h1 {
    color: var(--trianon-blue);
    margin-bottom: 0;
}

nav.breadcrumb-navigation {
    background-color: #F8F8F8;
}

.breadcrumb li {
    font-weight: 500;
}

    .breadcrumb li .divider {
        margin: 0 .375em;
        font-weight: 400;
    }

/*
-----------------------------------------
NEWS MAIN PAGE
-----------------------------------------
*/

.news-page-categories ul {
    list-style: none;
    display: flex;
    margin: 0 0 1.5rem;
    padding: 0;
}

.news-page-categories a {
    position: relative;
    padding-left: 24px;
    margin-right: 1.25em;
}


    .news-page-categories a:hover {
        color: var(--trianon-blue);
    }


    .news-page-categories a::before {
        content: "";
        display: block;
        height: 16px;
        width: 16px;
        border-radius: 50%;
        border: 2px solid var(--trianon-blue);
        position: absolute;
        left: 0;
        top: 0;
    }

    .news-page-categories a.active::before,
    .news-page-categories a:focus::before {
        background-color: var(--trianon-blue);
    }

.news-page-boxes > a {
    flex: 0 0 100%;
    margin-bottom: 2.5rem;
}

@media screen and (min-width: 576px) {

    .news-page-boxes {
        margin-left: -1rem;
        margin-right: -1rem;
    }

        .news-page-boxes > a {
            flex-basis: calc(50% - 2rem);
            max-width: calc(50% - 2rem);
            margin: 0 1rem 3rem;
        }
}

@media screen and (min-width: 768px) {

    .news-page-boxes > a {
        flex-basis: calc(33.33% - 2rem);
        max-width: calc(33.33% - 2rem);
        margin: 0 1rem 3rem;
    }
}

@media screen and (min-width: 1700px) {

    .news-page-boxes {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

        .news-page-boxes > a {
            flex-basis: calc(33.33% - 3rem);
            max-width: calc(33.33% - 3rem);
            margin: 0 1.5rem 4rem;
        }
}

a.news-item-box {
    display: block;
    position: relative;
}

    a.news-item-box::after {
        content: "Läs mer";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--trianon-purple);
        color: #FFFFFF;
        font-size: 1.625rem;
        font-weight: 600;
        transition: .1s ease-in-out;
        z-index: 1;
        opacity: 0;
        cursor: pointer;
    }

    a.news-item-box:hover::after {
        opacity: 1;
    }

    a.news-item-box:hover,
    a.news-item-box:hover * {
        text-decoration: none;
    }

.news-item-box-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

.news-item-box-caption {
    margin-top: 1rem;
}

    .news-item-box-caption h2 {
        margin: 0 0 1rem;
        line-height: 1.1;
        font-size: clamp(1.25rem, 0.417rem + 3.704vw, 1.75rem);
    }

@media screen and (min-width: 576px) {

    .news-item-box-caption h2 {
        font-size: clamp(1.25rem, -0.25rem + 4.167vw, 1.75rem);
    }
}

@media screen and (min-width: 768px) {

    .news-item-box-caption h2 {
        font-size: clamp(1.25rem, 0.735rem + 1.073vw, 1.875rem);
    }
}

p.news-item-box-date {
    margin-bottom: 0.25em;
}

span.news-item-box-category {
    display: inline-block;
    padding: 0.25em 1em;
    color: #FFFFFF;
    background-color: #64767D;
}

span.news-item-box-category {
    display: inline-block;
    padding: 0.25em 1em;
    color: #FFFFFF;
}

span.category-press-release {
    background-color: #64767D;
}

span.category-news {
    background-color: var(--trianon-blue);
}

/* ------- Pagination ------- */

.page-link {
    border: 1px solid var(--trianon-blue);
    color: var(--offblack);
    font-weight: 500;
    padding: 0.5em 1em;
}

    .page-link:hover,
    .page-link:focus,
    .page-link:active,
    .page-link:focus-visible {
        background-color: #cfd1e1;
        color: var(--offblack);
        border: 1px solid var(--trianon-blue);
        box-shadow: none;
        outline: none;
    }

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-radius: 0;
}

.active > .page-link,
.page-link.active,
.active > .page-link:hover,
.page-link.active:hover {
    background-color: var(--trianon-blue);
    border: 1px solid var(--trianon-blue);
    color: #FFFFFF;
}

/*
-----------------------------------------
NEWS ITEM PAGE
-----------------------------------------
*/

.news-image {
    width: 100%;
    aspect-ratio: 5 / 2;
    object-fit: cover;
    position: center;
}

.news-item-header h1 {
    margin: 0;
    font-size: clamp(2.125rem, 1.42rem + 3.134vw, 4.75rem);
}

@media screen and (min-width: 1400px) {

    .news-item-text {
        padding-left: calc(50% - 450px);
        padding-right: calc(50% - 450px);
    }
}

.news-item-text h2 {
    font-size: clamp(1.75rem, 1.663rem + 0.385vw, 2rem);
}

.news-item-text h3 {
    font-size: clamp(1.25rem, 1.163rem + 0.385vw, 1.5rem);
}

.news-item-text a.news-carousel-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    -webkit-appearance: none;
    appearance: none;
    background-color: #FFFFFF;
    border-radius: 50%;
    z-index: 1;
    height: 50px;
    width: 50px;
    border: 1px solid #1570af;
    color: #1570af;
}

    .news-item-text a.news-carousel-btn:hover {
        background-color: #1570af;
        color: #FFFFFF;
    }

.news-page-top-headline {
    font-size: clamp(1.125rem, 0.89rem + 1.045vw, 2rem);
    font-weight: 500;
    color: var(--trianon-blue);
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

/*
-----------------------------------------
SEARCH PAGE
-----------------------------------------
*/

.search-results-header h1 {
    font-size: 2.75rem;
}

.search-results-input {
    padding: 2rem 0;
}

    .search-results-input input {
        border-radius: 0;
        box-shadow: none;
        font-size: 1.25rem;
        height: 3.5rem;
        margin: 0;
        padding: .5rem 1rem;
        border: 2px solid var(--trianon-blue);
        color: #333;
        flex-grow: 1;
    }

    .search-results-input button {
        border: none;
        border-radius: 0;
        box-shadow: none;
        font-size: 1.25rem;
        height: 3.5rem;
        margin: 0;
        padding: .5rem 1rem;
        background-color: var(--trianon-blue);
        color: #FFFFFF;
    }

.search-results-items {
    margin-top: 2rem;
}

.search-results-item + .search-results-item {
    margin-top: 2rem;
}

.search-results-item h2 {
    margin-bottom: 0;
}


/*
-----------------------------------------
CONTACT PAGE
-----------------------------------------
*/

/* ------- Contact form ------- */

.umbraco-forms-field-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.umbraco-forms-field label {
    font-weight: 500;
}

.umbraco-forms-field-wrapper input,
.umbraco-forms-field-wrapper textarea {
    border: none;
    border-bottom: 1px solid #000000;
    width: 100%;
    padding: 0 0 0.25rem 0;
    margin-top: 0.25rem;
}

.umbraco-forms-field-wrapper textarea {
    overflow-y: hidden;
}

    .umbraco-forms-field-wrapper input:focus,
    .umbraco-forms-field-wrapper input:focus-visible,
    .umbraco-forms-field-wrapper textarea:focus,
    .umbraco-forms-field-wrapper textarea:focus-visible {
        outline: none;
    }

.umbraco-forms-hidden {
    display: none;
}

/* GDPR checkbox */

.dataconsent {
    position: relative;
}

    .dataconsent label {
        display: none;
    }

.content-block-form input[type="checkbox"] {
    position: absolute;
    top: 0.13em;
    left: 0;
    appearance: none;
    border: 1px solid #000000;
    background-color: #FFFFFF;
    margin: 0;
    font: inherit;
    width: 25px;
    height: 25px;
    padding: 0 !important;
    border-radius: 0;
}

    .content-block-form input[type="checkbox"]::before {
        content: "";
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FFFFFF;
        position: absolute;
        top: 0;
        left: 0;
        box-shadow: inset 1em 1em #FFFFFF;
        transform: scale(0);
        transform-origin: center;
        clip-path: polygon(37% 65%, 85% 12%, 95% 21%, 38% 81%, 0 48%, 8% 39%);
    }

    .content-block-form input[type="checkbox"]:checked {
        background-color: var(--trianon-blue);
        border-color: var(--trianon-blue);
    }

        .content-block-form input[type="checkbox"]:checked::before {
            transform: scale(0.75);
        }

.content-block-form .dataconsentlink {
    padding-left: 38px;
    margin-top: 2px;
    margin-left: 0;
}

/* Submit */

.content-block-form input[type="submit"] {
    z-index: 1;
    position: relative;
    color: #FFFFFF;
    font-family: 'Maax', Arial, sans-serif;
    font-weight: 500;
    line-height: 1.1;
    font-size: 1.125rem;
    padding: 0;
    transition: none;
}

.umbraco-forms-navigation {
    position: relative;
    background-color: var(--trianon-blue);
    width: fit-content;
    background-color: #1d3f94;
    padding: 0.625rem 3rem;
    margin-top: 1rem;
    border: none;
    position: relative;
    cursor: pointer;
    display: inline-flex;
    text-decoration: none;
    transition: none;
}

    .umbraco-forms-navigation::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: var(--trianon-blue);
        border: 2px solid var(--trianon-blue);
        border-bottom: none;
        transform-origin: top right;
        transform: skewY(1deg);
        z-index: 0;
    }

    .umbraco-forms-navigation::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: #1d3f94;
        border-top: none !important;
        border: 2px solid var(--trianon-blue);
        transform-origin: bottom right;
        transform: skewY(-1deg);
    }

    .umbraco-forms-navigation:hover {
        background-color: transparent;
    }

        .umbraco-forms-navigation:hover::before,
        .umbraco-forms-navigation:hover::after {
            background-color: transparent;
            color: var(--trianon-blue);
        }

        .umbraco-forms-navigation:hover input[type="submit"] {
            color: var(--trianon-blue);
        }

/* ------- Coworkers ------- */

.coworkers-section {
    background-color: #f1f4f2;
}

.coworkers-block + .coworkers-block {
    border-top: 1px solid #444444;
    margin-top: 1.5rem;
}

@media screen and (min-width: 1200px) {

    .coworkers-block + .coworkers-block {
        margin-top: 3rem;
    }
}

.coworkers-block h3 {
    color: var(--trianon-blue);
    margin-bottom: 1em;
}

.coworkers-boxes {
    margin-bottom: -2rem;
}

    .coworkers-boxes > div {
        flex: 100% 0 0;
        margin-bottom: 2rem;
        max-width: 225px;
        margin-left: auto;
        margin-right: auto;
    }

@media screen and (min-width: 400px) {

    .coworkers-boxes {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        margin-bottom: -1rem;
    }

        .coworkers-boxes > div {
            flex-basis: calc(50% - 1rem);
            ;
            margin: 0 0.5rem 2.5rem;
            max-width: calc(50% - 1rem);
        }
}

@media screen and (min-width: 600px) {

    .coworkers-boxes > div {
        flex-basis: calc(33.33% - 1rem);
        max-width: calc(33.33% - 1rem);
        margin: 0 0.5rem 1rem;
    }
}

@media screen and (min-width: 800px) {

    .coworkers-boxes > div {
        flex-basis: calc(25% - 1rem);
        max-width: calc(25% - 1rem);
    }
}

@media screen and (min-width: 1200px) {

    .coworkers-boxes {
        margin-left: -1.625rem;
        margin-right: -1.625rem;
        margin-bottom: -3.25rem;
    }

        .coworkers-boxes > div {
            flex-basis: calc(25% - 3.25rem);
            max-width: calc(25% - 3.25rem);
            margin: 0 1.625rem 3.25rem;
        }
}

.coworker-box > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.coworker-info {
    margin-top: 1rem;
}

    .coworker-info h4 {
        font-weight: 600;
        color: var(--trianon-blue);
        margin-bottom: unset;
    }

    .coworker-info p {
        margin-bottom: 0;
    }

        .coworker-info p.coworker-title {
            font-size: 1.125rem;
            margin: 0.25em 0 0.5em;
            font-weight: 500;
            line-height: 1.3;
        }

p.coworker-email {
    max-width: 100%;
}

.janitors-section img + img {
    margin-top: 1.5rem;
}


/*
-----------------------------------------
VÅRA FASTIGHETER
-----------------------------------------
*/

.properties-list-filter {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.properties-dropdown {
    background-color: #FFFFFF;
    cursor: pointer;
    min-width: 240px;
    margin-right: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

button.properties-dropdown-btn {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    border: 2px solid var(--trianon-blue);
    text-align: left;
    color: var(--offblack);
}

    button.properties-dropdown-btn::after {
        display: none;
    }

    button.properties-dropdown-btn span {
        /* min-height: 2rem; */
        display: inline-flex;
        align-items: center;
        text-align: left;
        white-space: wrap;
        color: var(--offblack);
    }

        button.properties-dropdown-btn span:first-child {
            padding-right: 1rem;
        }

        button.properties-dropdown-btn span:last-child {
            border-left: 1px solid var(--trianon-light-blue);
            height: 2rem;
            width: 2rem;
            padding-left: 0.625rem;
        }

ul.properties-dropdown-list {
    list-style: none;
    padding: 1rem;
    width: 100%;
    border: 2px solid var(--trianon-blue);
    border-radius: 0;
    transform: translateY(-1px);
}

    ul.properties-dropdown-list li a {
        display: block;
        color: #141414;
        padding: 0.5rem 0;
    }

        ul.properties-dropdown-list li a.active {
            font-weight: 600;
        }

.properties-list > div {
    flex: 100% 0 0;
    margin-bottom: 2rem;
}

@media screen and (min-width: 600px) {

    .properties-list {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

        .properties-list > div {
            flex-basis: calc(50% - 1rem);
            margin: 0 0.5rem 3rem;
        }
}

@media screen and (min-width: 768px) {

    .properties-list {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

        .properties-list > div {
            flex-basis: calc(50% - 3rem);
            margin: 0 1.5rem 4rem;
        }
}

.property-box {
    display: flex;
    flex-direction: column;
}

    .property-box > div {
        flex-grow: 0;
    }

        .property-box > div.property-box-info {
            flex-grow: 1;
        }

    .property-box > .property-box-image {
        position: relative;
        overflow: hidden;
        flex-grow: 1;
        background-color: var(--trianon-blue);
    }

.property-box-image > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

.property-box-info {
    background-color: var(--trianon-blue);
    padding: 1.5rem;
}

@media screen and (min-width: 1200px) {

    .property-box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .property-box-info {
        position: absolute;
        width: 50%;
        top: 0;
        right: 0;
        bottom: 0;
    }

    .property-box > .property-box-image {
        flex-grow: 0;
    }

    .property-box-image > img {
        width: 50%;
        height: 100%;
        aspect-ratio: 4 / 6;
        object-fit: cover;
        object-position: center;
    }
}

.property-box-info * {
    color: #FFFFFF;
}

.property-box-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.property-box-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
    break-inside: avoid;
}

.property-box-info li {
    break-inside: avoid;
    margin-bottom: 0.5rem;
}

    .property-box-info li span {
        display: block;
        font-weight: 500;
    }

.property-box-header {
    margin-bottom: 1rem;
}

    .property-box-header h2 {
        font-size: 1.75rem;
    }

    .property-box-header p {
        font-size: 1.25rem;
    }


@media screen and (min-width: 400px) {

    .property-box-info ul {
        column-count: 2;
        column-gap: 2rem;
    }
}

@media screen and (min-width: 1200px) {

    .property-box-info ul {
        column-count: 1;
    }

    .property-box > .property-box-header {
        flex-grow: 1;
    }
}


/*
-----------------------------------------
VI UTVECKLAR
-----------------------------------------
*/

.development-projects-section .news-item-box-caption {
    margin-top: 1.5rem;
}

    .development-projects-section .news-item-box-caption h3 {
        font-weight: 600;
    }


/*
-----------------------------------------
FRÅGOR OCH SVAR
-----------------------------------------
*/

/* ------- FAQ list ------- */

/* Tabs */

.faq-tabs {
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: none;
}

    .faq-tabs button.faq-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 2px solid transparent !important;
        border-radius: 0;
        flex-basis: calc(50% - 1rem);
        margin-bottom: 2rem;
    }

        .faq-tabs button.faq-tab:hover,
        .faq-tabs button.faq-tab.active {
            border: 2px solid var(--trianon-blue) !important;
            border-radius: 0;
        }

        .faq-tabs button.faq-tab img {
            height: 60px;
            width: auto;
            margin-bottom: 1rem;
        }

        .faq-tabs button.faq-tab p {
            color: var(--trianon-blue);
            font-weight: 500;
            font-size: 1.125rem;
        }

@media screen and (min-width: 600px) {

    .faq-tabs button.faq-tab {
        flex-basis: calc(25% - 1rem);
    }
}

@media screen and (min-width: 992px) {

    .faq-tabs {
        justify-content: space-around;
    }

        .faq-tabs button.faq-tab {
            flex-basis: 160px;
        }

            .faq-tabs button.faq-tab img {
                height: 120px;
            }
}

/* Accordions */

.faq-list .accordion-item {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--offblack);
}

.faq-list .accordion-button {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 0 !important;
    border: none;
    background-color: transparent;
    box-shadow: none;
    font-weight: 500;
    font-size: 1.125rem;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid transparent;
}

    .faq-list .accordion-button:not(.collapsed) {
        color: var(--offblack);
        background-color: rgba(29,63,148,.2);
    }

    .faq-list .accordion-button:focus,
    .faq-list .accordion-button:hover,
    .faq-list .accordion-button:focus-visible {
        outline: none;
        box-shadow: none;
        background-color: rgba(29,63,148,.2);
    }

    .faq-list .accordion-button::after {
        display: none;
    }

    .faq-list .accordion-button svg {
        margin-left: 2rem;
    }

    .faq-list .accordion-button:not(.collapsed) svg.fa-plus {
        display: none;
    }

    .faq-list .accordion-button.collapsed svg.fa-minus {
        display: none;
    }

    .faq-list .accordion-button:not(.collapsed) svg.fa-minus {
        display: block;
    }

.faq-list .accordion-collapse {
    border: none;
}

.faq-list-item {
    scroll-margin-top: 142px;
}

.accordion-body {
    padding: 1rem 0;
}

.copy-link-btn {
    background-color: transparent;
    appearance: none;
    border: none;
    padding: 0;
    color: var(--trianon-blue);
    transition: all ease 0.2s;
}

.copy-link-btn:hover {
    color: #5c67ac;
}

/* Google translate */
.gt_switcher_wrapper .fa-globe {
    color: var(--trianon-blue);

}
.gt_switcher_wrapper .svg-inline--fa {
    vertical-align: middle;
}
.gt_switcher_wrapper .select-lang-info {
    color: var(--trianon-blue);
    font-size: 15px;
    vertical-align: middle;
    padding: 0.5rem 0.5rem 0.5rem 0.25rem;
    font-weight: 500;
}
.gt_container-unisv1 a.glink img {
    height:15px;
}
.gt_container-unisv1 a.glink span {
    font-weight: 500;
    color: var(--trianon-blue);
    padding: 0.5rem 0;
    transition: all ease 0.15s;
    font-size: .875rem;
}

.gt_white_content {
    padding: 2rem !important;
}

.gt_switcher_wrapper {
    top: 0.5rem !important;
    right: 1.25rem !important;
}

@media (min-width: 768px) {
    .gt_switcher_wrapper {
        right: 2rem !important;
    }
}

@media (min-width: 1400px) {
    .gt_switcher_wrapper {
        right: calc(50% - 580px) !important;
    }
}

.gt-disclaimer {
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--trianon-blue);
    font-size: 1.125rem;
}
