/*------------------------------------------------------------------

    2023 specific CSS -- This file was written using pure CSS, 
    i.e. it is not generated from LESS 

-------------------------------------------------------------------*/


/*----------------------------

    Typography

------------------------------*/
h1, .h1, .hero__inner h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    line-height: 1.2;
    font-weight: bold !important;
}

h1, .h1, .hero__inner h1 {
    font-size: 6rem;
}

h2, .h2 {
    font-size: 3rem;
}

h3, .h3, .grid-item h3, .pod__text h3 {
    font-size: 2rem;
}

h4, .h4 {
    font-size: 1.5rem;
}

h5, .h5 {
    font-size: 1.125rem;
}

h6, .h6 {
    font-size: 1rem;
}

/*----------------------------

    Sub grid bug fix

------------------------------*/

.sub-grid {
    display: flex;
}

/*---------------------------------------------

    main-nav element media query overrides

-----------------------------------------------*/
.main-nav {
    position: fixed;
    bottom: 0;
    overflow-y: auto;
    transition: all 0.15s ease;
    visibility: hidden;
    min-width: 274px;
}

.main-nav__a {
    font-size: 1.2rem;
}

@media screen and (min-width: 1200px) {
    .main-nav__ul--first > .main-nav__li > .main-nav__a {
        line-height: 60px !important;
        height: 60px !important;
    }
}

.top-inner .main-nav {
    width: 40%;
    top: 0;
    right: 0;
}

.mobile-nav-visible .main-nav {
    transform: translateX(0);
    visibility: visible;
}

.top--light .main-nav {
    background: white;
}

@media screen and (max-width: 992px) {
    .top-inner .main-nav {
        width: 100%;
    }
}

/*---------------------------------------------

    main-nav__ul media query overrides

-----------------------------------------------*/
.main-nav__ul--first {
    flex-direction: column;
    flex-wrap: wrap;
}

.main-nav__ul {
    width: 100%;
}

.main-nav__ul:not(.main-nav__ul--second) {
    padding-top: 122px;
}

/*---------------------------------------------

    hamburger

-----------------------------------------------*/
@media screen and (min-width: 1000px) {
    .mobile-nav-visible .top--scroll-light .hamburger-inner,
    .mobile-nav-visible .top--scroll-light .hamburger-inner::before,
    .mobile-nav-visible .top--scroll-light .hamburger-inner::after {
        background-color: black;
    }
}

.mobile-actions {
    display: block;
    z-index: 99999;
    position: absolute;
    right: 72px;
}

@media screen and (max-width: 1200px) {
    .mobile-actions {
        right: 30px;
    }
}

@media screen and (max-width: 992px) {
    .mobile-actions {
        right: 10px;
    }
}
/*---------------------------------------------

    always hide pre-top

-----------------------------------------------*/
.pre-top {
    display: none;
}
/*---------------------------------------------

    do show rapportarkiv in menu on desktop

-----------------------------------------------*/
.main-nav .show--m {
    display: block !important;
}
/*---------------------------------------------

    li overrides

-----------------------------------------------*/

.top--scroll-light .main-nav > ul > li > .main-nav__a {
    color: black;
}

.main-nav__li--lang > .main-nav__a img,
.main-nav__li--lang .main-nav__ul--second .main-nav__a img {
    display: none;
}
.main-nav__li--lang > .main-nav__a span {
    display: block;
}

.main-nav__li:not(.main-nav__li--lang) {
    border-bottom: 1px solid #b5b5b5;
}

.main-nav__ul.main-nav__ul--first > .main-nav__li > .main-nav__a,
.top-nav-mobile .main-nav__ul--second .main-nav__a,
.main-nav__li--lang .main-nav__ul--second .main-nav__a {
    padding-left: 52px;
}

.top--light .main-nav__ul--second,
.top--light .main-nav__ul--third {
    box-shadow: none;
}
/* ---------------------------------------------

    Desktop plus icon

------------------------------------------------*/
.main-nav__li .desktop-expand {
    display: none;
}
@media screen and (min-width: 1200px) {
    .main-nav {
        /*overflow: hidden;*/
    }
    .main-nav__li .desktop-expand {
        display: block;
        position: absolute;
        right: 92px;
        top: 16px;
        color: #e3000b;
    }
    .main-nav__li .desktop-expand.open i {
        transform: rotate(45deg);
    }
    .main-nav__li .desktop-expand i {
        transition: transform 0.2s linear;
    }
}
/* ---------------------------------------------

    Mobile plus icon

------------------------------------------------*/

@media screen and (max-width: 1200px) {
    .top--light .main-nav .main-nav__li .expand {
        background-color: white;
        height: 43px;
    }
    .top--light .main-nav .main-nav__li .main-nav__li--lang .expand {
        border-bottom: 1px solid black;
    }
}

@media screen and (max-width: 992px) {
    .top--light .main-nav .main-nav__li .expand {
        height: 41px;
    }
}

@media screen and (min-width: 1200px) {
    .main-nav__li > .main-nav__ul,
    .main-nav__li > .main-nav__ul {
        display: block !important;
        position: relative;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        overflow: hidden;
        height: 0;
    }

    .mobile-open {
        height: auto !important;
    }
    .top--light .main-nav__li:hover {
        background: transparent;
    }
}

.main-nav__li--lang .main-nav__ul--second .main-nav__li,
.top-nav-mobile .main-nav__ul--second .main-nav__li,
.main-nav__li.main-nav__li--btn {
    border-bottom: none;
}

.top--light .main-nav .main-nav__a {
    border: none;
}

.main-nav__li--btn .button {
    bottom: 32px;
    margin-top: 40px;
    margin-left: 40px;
    border-collapse: separate;
    border-radius: 10px;
}

@media screen and (max-width: 1200px) {
    .main-nav__li.main-nav__li--btn {
        text-align: left;
        padding: 0;
    }

    .main-nav__li--btn .button {
        margin-left: 24px;
    }
}

.main-nav__li--lang > .main-nav__a {
    min-width: 100%;
}

.main-nav__li,
.main-nav__li > .main-nav__a,
.main-nav__li--btn > a {
    transition: none;
}


/*------------------------------------------------------

    HERO

--------------------------------------------------------*/

@media only screen and (max-width: 1200px) {
    .pre-top + .top + .hero .hero__background,
    .pre-top + .top + .hero .hero__video {
        top: 0 !important;
    }
}

/*------------------------------------------------------

    Fixed background image

--------------------------------------------------------*/

.background-media__2023 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: -33;
}

@media screen and (max-width: 1700px) {
    .background-media__2023 {
        max-width: 300%;
    }
}

@media screen and (max-width: 1700px) {
    .background-media__2023 {
        width: 115%;
    }
}

@media screen and (max-width: 1600px) {
    .background-media__2023 {
        width: 130%;
    }
}

@media screen and (max-width: 1250px) {
    .background-media__2023 {
        width: 170%;
    }
}

@media screen and (max-width: 1000px) {
    .background-media__2023 {
        width: 240%;
    }
}

@media screen and (max-width: 800px) {
    .background-media__2023 {
        width: 250%;
        transform: translate(-50%, -56%);
    }
}

@media screen and (max-width: 600px) {
    .background-media__2023 {
        width: 300%;
    }
}

.grid__2023 {
    clip-path: inset(0);
}

