/* Impala Nordic */

/* Animationer */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Arima:wght@100..700&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* Modal */
@import url('https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 130rem;

    /* 	Colors */
    --primary-color: 50, 34, 22;
    --primary-medium-color: 146, 137, 129;
    --primary-light-color: 242, 239, 235;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

    /* 	Typography */
    --base-size: 1.6rem;

    /* 	Mobile nav */
    --activate-mobile-menu: 1300;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--primary-light-color);
    --menu-color: rgb(var(--black-color));
}

/* Layout
========================================================================== */
.section-block {
    padding: 15rem 5rem;
}

.mw-none .section-block-wrapper {
    max-width: none;
}

.mw-1500 .section-block-wrapper {
    max-width: 150rem;
}

.section-block-wrapper {
    max-width: var(--section-width);
}

.mh-70 {
    max-height: 70rem;
}

/* Paddings */
.p-3 .section-block,
.p-3:not(.section-wrapper) {
    padding: 3rem;
}

.p-2 .section-block,
.p-2:not(.section-wrapper) {
    padding: 2rem;
}

.pt-2 .section-block,
.pt-2:not(.section-wrapper) {
    padding-top: 2rem;
}

.pt-3 .section-block,
.pt-3:not(.section-wrapper) {
    padding-top: 3rem;
}

.py-0 .section-block,
.py-0:not(.section-wrapper) {
    padding-top: 0;
    padding-bottom: 0;
}

.py-5 .section-block,
.py-5:not(.section-wrapper) {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
    padding-bottom: 0;
}

.pb-2 .section-block,
.pb-2:not(.section-wrapper) {
    padding-bottom: 2rem;
}

.pb-10 .section-block,
.pb-10:not(.section-wrapper) {
    padding-bottom: 10rem !important;
}

.pr-05 .section-block,
.pr-05:not(.section-wrapper) {
    padding-right: 0.5rem;
}

/* Margins */
.mt-05 {
    margin-top: .5rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-5 {
    margin-top: 5rem;
}

.my-1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-4 {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.mb-0 {
    margin-bottom: 0;
}

.ml-auto {
    margin-left: auto;
}

/* Ovriga klasser */
.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.flex-end {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.flex-start {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.overflow-hidden {
    overflow: hidden;
}

@media only screen and (max-width: 1024px) {
    .section-block {
        padding: 8rem 3rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-block {
        padding: 5rem 2rem;
    }
}

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Rubriker */
.text-label {
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    padding-bottom: 1em;
}

.section-title {
    font-family: 'Newsreader', serif;
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.2;
    padding-bottom: .5em;
}

.small-title {
    font-family: 'Newsreader', serif;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.4;
    padding-bottom: .7em;
}

.ingress {
    font-weight: 700;
}

/* Brodtext och lankar */
p,
li {
    font-weight: 400;
    color: rgb(var(--gray-dark-color));
}

a {
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

/* Listor */
.list-bg-primary {
    list-style: none;
}

.list-bg-primary li:nth-child(odd) {
    background: rgb(var(--primary-light-color));
}

.list-bg-primary a {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    color: rgb(var(--primary-color));
}

.list-bg-primary i {
    padding-right: 1.5rem;
    font-size: 2.3rem;
}


/* Ovriga klasser */
.text-block {
    max-width: 70rem;
}

.text-block-center {
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

.text-block-center-80 {
    max-width: 60rem !important;
    margin-left: auto;
    margin-right: auto;
}

.text-bold {
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.font-sans {
    font-family: 'Montserrat', sans-serif;
}

@media only screen and (max-width: 1200px) {
    .section-title {
        font-size: 3.8rem;
    }

    .small-title {
        font-size: 2.2rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-title {
        font-size: 2.5rem;
    }

    .small-title {
        font-size: 2rem;
    }

    .text-label {
        font-size: 1.2rem;
    }
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-wrapper.center {
    justify-content: center;
}

.multiple a {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

/* Knappar */
.btn {
    min-width: 15rem;
    padding: 1.4rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

.btn-small {
    min-width: unset;
    padding: 1rem 1.5rem;
}

.btn-primary-filled {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover {
    border: 1px solid rgb(var(--primary-medium-color));
    background-color: rgb(var(--primary-medium-color));
}

.btn-primary-border {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
}

.btn-primary-border:hover {
    border: 1px solid rgb(var(--primary-medium-color));
    background-color: rgb(var(--primary-medium-color));
    color: rgb(var(--white-color));
}

.btn-white-border {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--white-color));
    background-color: transparent;
}

.btn-white-border:hover {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--white-color));
    background-color: rgb(var(--white-color));
}

/* Tillfallig knapp for en banner */
.btn-blue {
    color: rgb(var(--white-color));
    border: 1px solid rgb(85, 37, 190);
    background-color: rgb(85, 37, 190);
    border-radius: 1rem;
}

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    padding-right: 1rem;
    color: rgb(var(--gray-dark-color));
}

.arrow-link::before {
    content: ' \f061';
    display: inline-block;
    margin-right: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

.arrow-link:hover::before {
    transform: translateX(5px);
    transition: transform .4s ease;
}

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    color: rgb(var(--white-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--black-color));
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--black-color), .5);
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: var(--base-size);
}

@media only screen and (max-width: 480px) {
    .btn {
        display: block;
        width: 100%;
    }
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-primary {
    background-color: rgb(var(--primary-color));
}

.bg-primary-light {
    background-color: rgb(var(--primary-light-color));
}

.bg-primary-medium {
    background-color: rgb(var(--primary-medium-color));
}

.bg-white {
    background-color: rgb(var(--white-color));
}

/* Text */
.text-primary {
    color: rgb(var(--primary-color));
}

.text-white {
    color: rgb(var(--white-color)) !important;
}

.text-brown {
    color: rgb(68, 47, 30);
}

/* Bakgrundsbilder och videos 
========================================================================== */
.bg-image,
.bg-video {
    position: relative;
    overflow: hidden;
}

.bg-image-wrapper,
.bg-video-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video */
.bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grafiska element
========================================================================== */
/* Borders */
.border-b {
    border-bottom: 1px solid;
}

.border-primary {
    border-color: rgb(var(--primary-color));
}

.br-2 {
    border-radius: 2rem;
}

/* Line */
.line-before {
    display: flex;
}

.line-before .line {
    margin-top: 1rem;
}

.lines {
    display: flex;
    margin-top: 5rem;
}

.line {
    display: inline-block;
    flex-shrink: 0;
    width: 5rem;
    height: 1rem;
    margin-right: 1.5rem;
    background: rgb(var(--black-color));
}

.outline-white {
    outline: 1px solid rgb(var(--white-color), .5);
    outline-offset: -1rem;
}

@media only screen and (max-width: 480px) {
    .line {
        width: 2rem;
        height: 5px;
        margin-right: 0.5rem;
    }
}

/* Video ratio */
.video-wrapper {
    width: 100%;
}

.video-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-ratio video,
.video-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1rem;
    margin-right: -1rem;
    /* Gap: mellanrum på mellan kort. Y-led X-led */
    gap: 10rem 0;
}

.card-item {
    text-decoration: none;
    transition: all .3s ease;
}

/* Cards grow */
.cards-grow .card-item {
    display: flex !important;
    flex-direction: column !important;
}

.cards-grow .card-body {
    flex-grow: 1 !important;
}

/* Specifika bredder */
.cards-wrapper.w-16 .card-item {
    width: calc((100% / 6) - 2rem);
    margin: 0 1rem;
}

.cards-wrapper.w-20 .card-item {
    width: calc((100% / 5) - 2rem);
    margin: 0 1rem;
}

.cards-wrapper.w-25 .card-item {
    width: calc((100% / 4) - 2rem);
    margin: 0 1rem;
}

.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 2rem);
    margin: 0 1rem;
}

@media only screen and (max-width: 1250px) {
    .cards-wrapper.w-20 .card-item {
        width: calc((100% / 3) - 2rem);
    }
}

.cards-wrapper.w-50 .card-item {
    width: calc((100% / 2) - 2rem);
    margin: 0 1rem;
}

@media only screen and (max-width: 1050px) {
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2));
    }

    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 3) - 2rem);
        margin: 1rem;
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper.w-16 .card-item {
        width: calc((100% / 4) - 2rem);
        margin: 0 1rem;
    }
}

@media only screen and (max-width: 750px) {

    .cards-wrapper.w-20 .card-item,
    .cards-wrapper.w-33 .card-item {
        width: 100%;
    }

    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 2) - 2rem);
        margin: 1rem;
    }
}

@media only screen and (max-width: 580px) {

    /* Bredder */
    .cards-wrapper.w-25 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper.w-16 .card-item {
        width: calc((100% / 2) - 2rem);
        margin: 0 1rem;
    }
}

/* Card 2-1 */
.card-2-1 {
    --base-size: 1.4rem;
}

.card-2-1 .card-body {
    margin-top: auto;
}

/* Card 3-1 */
.card-3-1 {
    --base-size: 1.4rem;
}

.card-3-1 .date {
    color: rgb(var(--gray-dark-color), .7);
    text-transform: uppercase;
}

.card-3-1-2 .image-wrapper img {
    max-height: 7rem;
}

.card-3-1 .video-wrapper {
    width: 85%;
}

.card-3-1 .hidden-text {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    padding: 1.5rem;
    height: 100%;
    --base-size: 1.2rem;
    background: rgb(var(--black-color), .8);
    overflow: auto;
    transition: .2s ease;
}

.card-3-1 .image-wrapper:hover .hidden-text {
    opacity: 1;
}

/* Card 3-3 */
.card-3-3 .card-body {
    z-index: 1;
    position: relative;
    width: 92%;
    margin: -14rem auto 0;
    padding: 2rem;
}

.card-3-3 .smaller-text {
    font-size: 1.4rem;
}


@media only screen and (max-width: 480px) {
    .card-3-3 .card-body {
        z-index: 1;
        position: relative;
        width: 90%;
        margin: -3rem auto 0;
    }
}

/* Logos */
.logos-1 {
    gap: 6rem 0;
}

.logos-1 .card-item {
    width: calc(100% / 6);
    padding: 2rem;
}

.logos-1 img {
    max-height: 5.5rem;
    /*transform: scale(.93);
    transition: 0.2s ease-in-out;
    filter: grayscale() brightness(0); */
}

/*.logos-1 img:hover {
    transform: scale(1);
}*/

@media screen and (max-width: 1300px) {
    .logos-1 .card-item {
        width: calc(100% / 5);
    }

}

@media screen and (max-width: 1100px) {
    .logos-1 .card-item {
        width: calc(100% / 4);
    }
}

@media screen and (max-width: 850px) {
    .logos-1 .card-item {
        width: calc(100% / 3);
    }

}

@media screen and (max-width: 600px) {
    .logos-1 .card-item {
        width: calc(100% / 2);
    }

    .logos-1 {
        gap: 2rem 0;
    }
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.split-wrapper.reverse {
    flex-direction: row-reverse;
}

.split-content,
.split-image-content {
    width: 50%;
    padding: 8rem;
}

.split-image {
    width: 50%;
}

.split-image div {
    height: 100%;
}

.split-image-content img {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Centrera content */
.split-wrapper .align-center {
    align-self: center;
}

@media screen and (max-width: 1300px) {

    .split-content,
    .split-image-content {
        padding: 5rem;
    }
}

@media screen and (max-width: 1000px) {
    .split-wrapper {
        background: transparent;
    }

    .split-content {
        width: 100%;
        padding: 0 0 3rem;
    }

    .split-image-content {
        width: 100%;
        padding: 3rem 2rem;
    }

    .split-image {
        width: 100%;
        min-height: 20rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--primary-light-color));
    padding: 0 5rem;
}

.EditMode header {
    position: relative;
}

header.scrolled,
.SubPage header {
    background-color: rgb(var(--white-color));
}

header .container {
    max-width: var(--section-width);
    padding: 0;
    margin: 0 auto;
}

.EditMode header .container {
    max-width: none;
}

/* Logo */
.header-logo {
    margin: 0 auto 0 0;
}

.header-logo img {
    width: 25rem;
}

/* Ta bort klick */
body:not(.EditMode) .TemplateMenu a[href="/17/36/intervjuer/"] {
    pointer-events: none;
}

/* Nav */
.TemplateMenu a {
    font-family: 'Newsreader', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: rgb(var(--black-color));
}

.TemplateMenu>li>a:hover {
    color: rgb(var(--primary-color));
}

.TemplateMenu ul a {
    line-height: 1.5;
    padding: 1rem 2rem;
}

/* CTA  */
.header-cta-wrapper {
    position: relative;
    z-index: 9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 2rem;
    list-style: none;
}

.header-cta-wrapper li {
    margin: 0 .5rem;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    line-height: 1;
}

/* Mobilmeny */
.mobile-menu .container {
    height: var(--mobile-menu-height);
}

.mobile-menu .hamburger {
    margin: 0 -1rem 0 1rem;
}

@media only screen and (max-width: 1024px) {
    header {
        padding: 0 2rem;
    }
}

@media only screen and (max-width: 580px) {
    header {
        padding: 0 2rem;
    }

    .header-logo img {
        width: 15rem;
    }

    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
        letter-spacing: 0;
        font-size: 0.9rem;
    }
}

/* Modal som öppnas automatiskt
========================================================================== */
body:not(.EditMode) .section-auto-modal {
    display: none;
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(var(--black-color), .7);
}

body:not(.EditMode) .section-auto-modal .section-block {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 100rem;
    max-height: 75vh;
    padding: 0rem;
    border-radius: 0;
    overflow: auto;
    background: rgb(var(--white-color), .9);
    transform: translate(-50%, -50%);
}

.section-auto-modal .close-modal {
    position: absolute;
    top: .3rem;
    right: 3rem;
    font-size: 3rem;
    cursor: pointer;
    color: rgb(var(--black-color));
}

.section-auto-modal p {
    font-size: 1.4rem;
}

/*@media only screen and (max-width: 450px) {
    body:not(.EditMode) .section-auto-modal .section-block {
      padding: 3rem 2rem;
    }
  }*/


/* ==========================================================================
Startsida
========================================================================== */

/* Top-section
========================================================================== */
.top-section {
    background-color: transparent;
}

.top-section .section-block {
    display: flex;
    align-items: center;
    min-height: 80vh;
    background-color: rgb(var(--black-color), .3);
    padding-bottom: 7.5rem;
}

.top-section .section-block-wrapper {
    width: 100%;
}

.top-section .text-block {
    max-width: 75rem;
}

.top-section .section-title {
    font-size: 4rem;
    color: #F2EFEB;
}

.top-section p {
    max-width: 55rem;
    margin: 0 auto;
}

@media only screen and (max-width: 1200px) {
    .top-section .section-title {
        font-size: 4.5rem;
    }
}

@media only screen and (max-width: 580px) {
    .top-section .section-title {
        font-size: 3rem;
    }
}

/* Sektion Om
========================================================================== */

.split-graphic {
    --expand: -3rem;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    width: 50%;
    overflow: hidden;
    padding: 8rem;
}

.split-graphic.one-row {
    grid-template-rows: 1fr;
}

.split-graphic .item {
    position: relative;
    z-index: 1;
    text-align: center;
    background-color: rgb(var(--primary-color));
    outline: 3px solid rgb(var(--white-color));
    transition: all .3s ease;
    text-decoration: none;
}

.split-graphic a.item:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
}

.split-graphic .item-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3rem;
}

.split-graphic .item:nth-child(1) {
    grid-column: 1 / 2;
}

.split-graphic .item:nth-child(2) {
    grid-column: 2 / 3;
    margin-top: var(--expand);
    left: var(--expand);
}

.split-graphic .item:nth-child(3) {
    grid-row: 2;
    grid-column: 1 / 2;
    margin-top: var(--expand);
    right: var(--expand);
}

.split-graphic .item:nth-child(4) {
    grid-row: 2;
    grid-column: 2 / 3;
    margin-bottom: var(--expand);
}

.split-graphic .section-title {
    padding: 0;
    font-size: 2.2rem;
}

@media only screen and (max-width: 1200px) {
    .split-graphic {
        width: 100%;
        padding: 5rem;
        --expand: -1.5rem;
        padding: 3rem;
    }
}

@media only screen and (max-width: 580px) {
    .split-graphic {
        display: block;
    }
}

/* Sektion Nyheter
========================================================================== */
.section-news-index .slick-track {
    display: flex;
}

.section-news-index .card-item {
    height: auto;
}

.section-news-index .card-footer {
    padding-bottom: 2rem;
}

/* .section-news-index .card-item {
    display: none;
}

.section-news-index .card-item:nth-child(-n+4) {
    display: flex; 
}

.section-news-index .card-body {
    min-height: 29rem;
}

.news-btn .btn {
    margin: 0 0 0 auto;
}

@media only screen and (max-width: 580px) {
    .news-btn {
        padding-left: 0;
        justify-content: center;
    }
} */

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    padding: 8rem 10rem 0;
}

.hero.pb .section-block {
    display: flex;
    align-items: center;
    padding-bottom: 8rem;
}

.hero .section-title {
    font-size: 6rem;
}

.hero .split-content .text-block {
    max-width: 60rem;
    margin: 0 0 0 auto;
}

.hero .split-graphic {
    width: 100%;
    max-width: 50rem;
    margin: 0 auto;
    padding: 5rem 0 0;
}

.hero .split-graphic .item {
    background-color: rgb(var(--primary-light-color));
    outline-color: rgb(var(--white-color));
}

@media only screen and (max-width: 1000px) {
    .hero .section-block {
        padding: 0;
    }

    .hero .split-content {
        padding: 5rem 2rem;
    }
}

@media only screen and (max-width: 580px) {
    .hero .section-block {
        min-height: 30rem;
    }

    .hero .section-title {
        font-size: 3rem;
    }
    .hero.pb .section-block {
    padding-bottom: 3rem;
}
}

/* CTA
========================================================================== */
.cta-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10rem;
}

/* ==========================================================================
Undersida: Podcasts
========================================================================== */
.styled-link {
    font-size: 1.2rem;
    text-transform: uppercase;
    text-underline-offset: 2px;
    color: rgb(var(--gray-dark-color), .7);
    margin: 0 1rem 0 0;
}

/* ==========================================================================
Undersida: Heta Stolen > Intervju
========================================================================== */
.hero-logo {
    max-width: 26rem;
    margin: 0 auto 2rem;
}

.interview .text-block-center {
    max-width: 100rem;
}

.interview p {
    padding: 0 0 2em;
    line-height: 1.9;
}

.interview-small-padding {
    padding: 0 0 1em !important;
}

.interview .text-bold {
    padding-bottom: 1em;
}

.interview .figure {
    margin: 0 3rem 3rem;
    padding: 0;
}

.interview .figure img {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.interview .figure figcaption {
    font-size: 1.4rem;
    font-style: italic;
    padding: 1rem 0 0;
}

.article-footer {
    display: flex;
    align-items: center;
    padding: 3rem;
    gap: 3rem;
}

.article-footer p {
    flex: 1 1 0%;
}

.article-footer .footer-figure {
    margin: 0;
    padding: 0;
    width: 20rem;
}

.article-footer .footer-figure figcaption {
    font-size: 1.4rem;
    padding: 1rem 0 0;
    text-align: center;
}

.disclaimer {
    font-size: 1.3rem;
}

/* ==========================================================================
Undersida: Om oss
========================================================================== */
/* Sektion Vid vi erbjuder
========================================================================== */
.section-scroll {
    overflow: hidden;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin: 3rem 0 5rem 0;
}

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
    margin: 0;
}

/* Card item */
.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
    flex-direction: column;
    margin: 0 2rem 0 0;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--white-color));
}

.scroll-wrapper .slick-next {
    right: 2rem;
}

.scroll-wrapper .slick-prev {
    left: auto;
    right: 6rem;
}

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */

/* Medarbetare
========================================================================== */
.coworkers .image-wrapper {
    position: relative;
    overflow: hidden;
}

.coworkers .expanding-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90%;
    overflow: auto;
}

#mc_embed_signup .button {
    width: 100% !important;
    margin: auto !important;
    text-align: center !important;
}

#mc_embed_signup img {
    display: none !important;
}

#mc_embed_signup .foot {
    display: grid;
    grid-template-columns: 2fr 0fr !important;
}

@media only screen and (max-width: 1290px) {
    .coworkers.w-20 .card-item {
        width: calc((100% / 4) - 2rem);
    }
}

@media only screen and (max-width: 1060px) {
    .coworkers.w-20 .card-item {
        width: calc((100% / 3) - 2rem);
    }
}

@media only screen and (max-width: 800px) {
    .coworkers.w-20 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}

@media only screen and (max-width: 540px) {
    .coworkers.w-20 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* ==========================================================================
Undersida: Foretag
========================================================================== */
.section-foretag.hero .section-block {
    padding: 8rem;
}

.company-logo-wrapper {
    max-width: 30rem;
    margin: auto;
}

.section-foretag a {
    text-decoration: none;
}

.section-foretag a:hover {
    text-decoration: underline;
}

@media only screen and (max-width:580px) {
.company-logo-wrapper {
    margin-top: 3rem;
}
}

/* Sok + filtrering
========================================================================== */
/* Sok */
.search-wrapper {
    position: relative;
    margin-bottom: 3rem;
}

.search-wrapper em {
    position: absolute;
    left: 2rem;
    top: 50%;
    font-size: 2rem;
    transform: translateY(-50%);
}

.search-wrapper input {
    width: 20rem;
    height: 4rem;
    padding: 0 2rem 0 5rem;
    margin: 0 .6rem;
    border: none;
    border-radius: 5rem;
    box-shadow: 1px 1px 5px rgb(var(--black-color), .2);
    transition: .5s ease;
}

.search-wrapper input:focus {
    width: calc(100% - 1.2rem);
    outline: unset;
}

.card-item.hidden-search-item {
    display: none;
}

/* Taggar */
.tags-heading {
    display: none;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    padding: .3rem 1.5rem;
    margin: .6rem .5rem;
    font-size: 1.5rem;
    border: 1px solid rgb(var(--primary-color));
    border-radius: 2rem;
    cursor: pointer;
    transition: .5s ease;
}

.tag:hover,
.tag.tag-picked {
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

@media only screen and (max-width:580px) {

    /* Sok */
    .search-wrapper input {
        width: 100%;
    }

    /* Taggar */
    .tags-wrapper {
        position: relative;
        max-width: 25rem;
        background: rgb(var(--primary-color));
        cursor: pointer;
    }

    .tags-heading {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
    }

    .tags-heading p {
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
        color: rgb(var(--white-color));
    }

    .tags-heading i {
        margin-left: 2rem;
    }

    .tags-list {
        display: none;
        z-index: 1;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        text-align: left;
        background: rgb(var(--white-color));
        box-shadow: 1px 1px 10px rgba(var(--black-color), .1);
    }

    .tags-wrapper.opened .tags-list {
        display: block;
    }

    .tags-wrapper .tag {
        display: block;
        padding: 1rem 2rem;
        margin: 0;
        letter-spacing: normal;
        text-transform: initial;
        box-shadow: none;
        border-radius: 0;
    }
}


.foretag-img-cards {
    height: 30rem;
    display: flex;
}

.foretag-img-cards img {
    margin: auto;
}

/* ==========================================================================
Undersida: Julkalender
========================================================================== */
.julkalender .section-title {
    font-size: 4rem;
    color: rgb(68, 47, 30);
}

.julkalender .section-block {
    align-items: center;
}

/* .julkalender .flip-card:hover {
    transform: scale(102%);
    transition: all .2s ease-in-out;
} */

.flip-card {
    display: block;
    position: relative;
    height: 100px;
    color: rgb(var(--white-color));
    cursor: pointer;
    float: left;
    font-weight: bold;
    margin: 10px;
    text-align: center;
    text-transform: uppercase;
    width: calc((100% / 6) - 2rem);
}

/* Framsidan */
.flip-card .card-front {
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
}

/* Baksida */
.card-back {
    display: none;
}

.flip-card.past .card-back {
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
}

.flip-card.past .card-front {
    display: none;
}

.advent-date,
.advent-heading {
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 5rem;
    width: 70%;
}

.advent-date-past {
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 1rem;
    padding-bottom: 0.2rem;
}

.advent-date {
    position: relative;
    z-index: 2;
}

.past .advent-date {
    display: none;
}

.today .advent-date-past,
.disabled .advent-date-past {
    display: none;
}

.advent-date-past {
    opacity: 0.2;
}

.advent-heading {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    -webkit-font-smoothing: unset;
}

.flip-card.today {
    border: 5px dotted rgb(68, 47, 30);
    animation: pulseBorder 1.5s infinite;
}

@keyframes pulseBorder {
    0% {
        border-color: rgb(178, 0, 26);
        transform: scale(1);
    }

    50% {
        border-color: rgb(230, 13, 38);
        transform: scale(1.02);
    }

    100% {
        border-color: rgb(178, 0, 26);
        transform: scale(1);
    }
}

/* Farger */
.flip-card-brown {
    background: rgb(68, 47, 30);
}

.flip-card-brown .advent-date,
.flip-card-brown .advent-date-past,
.flip-card-brown .advent-heading {
    color: rgb(225, 221, 215);
}

.flip-card-taube {
    background: rgb(189, 163, 140);
}

.flip-card-taube .advent-date,
.flip-card-taube .advent-date-past,
.flip-card-taube .advent-heading {
    color: rgb(146, 16, 23);
}

.flip-card-white {
    background: rgb(225, 221, 215);
}

.flip-card-white .advent-date,
.flip-card-white .advent-date-past,
.flip-card-white .advent-heading {
    color: rgb(26, 73, 39);
}

/* Piff */
.flip-card::after {
    z-index: 2;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
}

.snow-left::after {
    top: -1.3rem;
    left: -4px;
    width: 100%;
    height: 2.5rem;
    background-image: url(/assets/images/julkalender/snow-left.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0% 0%;
}

.snow-middle::after {
    top: -8px;
    left: unset;
    right: 0;
    width: 100%;
    height: 2.5rem;
    background-image: url(/assets/images/julkalender/snow-middle.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 0%;
}

.rosett::after {
    width: 100%;
    height: 100%;
    background-image: url(/assets/images/julkalender/rosett-small.png);
    background-size: cover;
    background-position: 50% 70%;
}

.rosett-gran::after {
    width: 100%;
    height: 100%;
    background-image: url(/assets/images/julkalender/rosett-gran.png);
    background-size: cover;
    background-position: 50% 10%;
}

.rosett-rod::after {
    width: 45%;
    height: 100%;
    background-image: url(/assets/images/julkalender/rosett-rod.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0% 0%;
}

.flip-card.tomte {
    z-index: 2;
}

.tomte::after {
    top: -1rem;
    left: unset;
    right: -4.2rem;
    width: 5rem;
    height: 100%;
    background-image: url(/assets/images/julkalender/tomte.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0% 0%;
}

.flip-card.tomteluva {
    z-index: 2;
}

.tomteluva::after {
    top: -1.8rem;
    left: unset;
    right: -3.9rem;
    width: 7rem;
    height: 100%;
    background-image: url(/assets/images/julkalender/tomteluva.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0% 0%;
}

.flip-card.julkrans {
    z-index: 2;
}

.julkrans::after {
    top: -1.2rem;
    left: unset;
    right: 0;
    width: 100%;
    height: 3rem;
    background-image: url(/assets/images/julkalender/julkrans.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 0%;
}

.tomte-skorsten::after {
    top: unset;
    bottom: 0;
    left: 1rem;
    width: 5rem;
    height: 100%;
    background-image: url(/assets/images/julkalender/tomte-skorsten.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 100%;
}

.flip-card.past:not(.snow-left, .snow-middle, .tomte, .tomteluva, .julkrans)::after {
    opacity: 0.4;
}

.disabled {
    pointer-events: none;
    /* Förhindra klick */
}

@media only screen and (max-width: 1200px) {
    .julkalender .section-block-wrapper {
        flex-direction: column;
    }

    .julkalender .col-0,
    .julkalender .col-1 {
        width: 100%;
        padding: 0;
    }

    .julkalender .viewport {
        margin-right: -1rem;
        margin-left: -1rem;
    }

    .flip-card {
        width: calc((100% / 6) - 2rem);
    }
}

@media only screen and (max-width: 980px) {
    .flip-card {
        width: calc((100% / 4) - 2rem);
    }
}

@media only screen and (max-width: 750px) {
    .julkalender .bg-video-wrapper video {
        object-position: 0% 0%;
    }

    .julkalender .section-title {
        font-size: 3.5rem;
    }

    .flip-card {
        width: calc((100% / 3) - 2rem);
    }
}

@media only screen and (max-width: 580px) {
    .advent-heading {
        font-size: 1.1rem;
    }

    .tomte::after {
        right: -3.4rem;
        width: 4rem;
    }

    .julkrans::after {
        top: -0.6rem;
    }

    .tomte-skorsten::after {
        left: .5rem;
        width: 3.5rem;
    }
}

/* Modal
========================================================================== */
.modal {
    max-width: 75rem;
    width: 100%;
    max-height: 75vh;
    padding: 4rem;
    border-radius: 0;
    box-shadow: none;
    overflow: auto;
    /* background-image: url(https://media.gettyimages.com/id/888150888/vector/silver-winter-christmas-background-with-snowflakes.jpg?s=1024x1024&w=gi&k=20&c=xUiC0T1Dg4gzTvhrT76fM-0IrYcDXcj0JiJezayuC7g=); */
    background: #EFEEEB;
}

.blocker {
    z-index: 100;
}

.modal a.close-modal {
    display: none;
}

.modal .custom-close-modal {
    position: absolute;
    top: .4rem;
    right: 1rem;
    font-size: 2.5rem;
}

.number-intro {
    float: left;
    width: fit-content;
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 8rem;
    line-height: 80%;
    color: rgb(146, 16, 23);
    margin-right: 1rem;
}

@media only screen and (max-width: 450px) {
    .modal {
        padding: 3rem 2rem;
    }

    .blocker {
        padding: 1rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--primary-light-color));
    padding: 0 5rem;
    --base-size: 1.4rem;
}

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 0 5rem;
}

.footer-menu {
    width: 20%;
    margin: 0 0 3rem;
}

.footer-menu-large {
    width: 30%;
}

.footer .text-label {
    color: rgb(var(--black-color));
    padding: 0 0 1rem;
    line-height: 1;
}

.footer-submenu {
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}

.footer-top li {
    padding: 0 0 1rem;
}

.footer-top p,
.footer-top a {
    color: rgb(var(--black-color), .6);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: none;
    color: rgb(var(--black-color));
}

/* Sociala medier */
.footer-socials {
    display: flex;
    align-items: center;
}

.footer-socials::before,
.footer-socials::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0%;
    border-top: 1px solid rgb(var(--black-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-bottom p,
.footer-bottom a,
.footer-disclaimer p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgb(var(--black-color), .6);
}

.footer-disclaimer {
    padding: 2rem 0;
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    opacity: .6;
}

@media only screen and (max-width: 1200px) {
    .footer {
        padding: 0 3rem;
    }

    /* Footer top */
    .footer-menu {
        width: 48%;
    }

    .footer-menu-large {
        width: 100%;
    }

    .footer-menu-large p {
        max-width: 55rem;
    }
}

@media only screen and (max-width: 750px) {

    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }
}

@media only screen and (max-width: 580px) {
    .footer {
        padding: 0 2rem;
    }

    .footer-top {
        padding: 5rem 0;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}