/* XBASE AB */

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

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 170, 45, 94;
    --primary-light-color: 235, 105, 148;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 222, 224, 224;
    --gray-light-color: 247, 246, 246;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 11rem;
    --menu-height-scrolled: 8rem;
    --section-width: 150rem;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1024;
    --mobile-menu-height: 4.5rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--black-color);
}

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

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

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

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

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

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

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

.pl-0 .section-block,
.pl-0:not(.section-wrapper) {
    padding-left: 0;
}

/* Margins */
.mb-3 {
    margin-bottom: 3rem;
}

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

.mw-900 .section-block-wrapper {
    max-width: 90rem;
}

/* Ovrigt */
.display-flex {
    display: flex;
}

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

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

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Montserrat', sans-serif;
}

/* Rubriker */
.section-title {
    padding-bottom: 0.6em;
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 1.2;
}

.section-title.big {
    font-size: 5.4rem;
}

.small-title {
    padding-bottom: .5em;
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.text-label {
    padding-bottom: .9em;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ingress {
    font-size: calc(var(--base-size)* 1.2)
}

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

a {
    font-size: var(--base-size);
    line-height: 1.6;
}

/* Listor */
.list-circle {
    padding: 0;
    list-style: none;
}

.list-circle li::before {
    content: '\f111';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-light-color));
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Font Awesome 5 Pro';
}

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

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

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

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

.text-italic {
    font-style: italic;
}

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

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

@media screen and (max-width: 980px) {
    .section-title.big {
        font-size: 4.5rem;
        padding-bottom: 3rem;
    }
}

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

    .section-title.big {
        font-size: 3rem;
        padding-bottom: 2rem;
    }

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2.5rem;
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid;
    transition: all .4s ease;
}

.btn::after,
.arrow-link::after {
    content: ' \f061';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    color: rgb(var(--primary-color));
    transition: transform .4s ease;
}

.bg-primary .arrow-link::after {
    color: rgb(var(--white-color));
}

.btn-primary-filled::after {
    color: rgb(var(--white-color));
}

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

.btn-white-filled {
    color: rgb(var(--black-color));
    border-color: rgb(var(--white-color));
    background-color: rgb(var(--white-color));
}

.btn-primary-filled,
.ContactSubmit {
    color: rgb(var(--white-color));
    border-color: rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover,
.ContactSubmit:hover,
.ContactSubmit:focus {
    border-color: rgb(var(--primary-light-color));
    background-color: rgb(var(--primary-light-color));
}

/* Arrow link */
.arrow-link {
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

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

.circle-icon:hover {
    background-color: rgb(var(--primary-light-color));
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: 1.7rem;
}

/* Animation knapp */
.bouncing-btn::after {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(10px);
    }

    60% {
        transform: translateX(5px);
    }
}

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Borders */
.bl-primary-light {
    border-left: 3px solid rgb(var(--primary-light-color));
    padding-left: 5rem;
}

@media only screen and (max-width: 980px) {
    .bl-primary-light {
        padding-left: 3rem;
    }
}

@media only screen and (max-width: 580px) {
    .bl-primary-light {
        padding-left: 2rem;
    }
}

/* 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%;
}

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

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

a.card-item,
.card-item a {
    text-decoration: none;
}

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

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

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

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

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

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

@media only screen and (max-width: 1050px) {
    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 900px) {
    .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

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

    .card-item.p-4,
    .card-item .p-4 {
        padding: 2rem;
    }
}

/* Card 1-1 */
.card-1-1 .section-title {
    padding: .5rem 0 1.5rem 0;
}

/* Card 3-4 */
.card-3-4 .card-item {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card-3-4 .image-wrapper {
    width: 16rem;
    min-width: 40%;
    height: 100%;
}

.card-3-4 .card-body {
    flex: 1 1 0px;
    padding: 2rem 3rem;
}

.card-3-4 .small-title {
    font-size: 1.9rem;
}

.card-3-4 .card-body .text-label {
    font-size: 1.3rem;
    padding-bottom: 1rem;
}

.card-3-4 .contact-item a {
    font-size: 1.4rem;
}

.card-3-4 .contact-item a:hover {
    color: rgb(var(--primary-color));
}

@media only screen and (max-width: 580px) {
    .card-3-4 .card-body {
        padding: 2rem;
    }

    .card-3-4 .card-body .text-label {
        font-size: 1.1rem;
    }

    .card-3-4 .small-title {
        font-size: 1.6rem;
    }
}

/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
    min-height: 50rem;
}

.card-3-5 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-3-5 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), .3);
    transition: .3s ease-in-out;
}

.card-3-5 a.card-item:hover .image-wrapper::after {
    background: rgba(var(--black-color), .6);
}

.card-3-5 .card-body {
    z-index: 1;
    position: relative;
    pointer-events: none;
}

@media only screen and (max-width: 580px) {
    .card-3-5 .card-item {
        min-height: 30rem;
    }
}

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

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

.split-content {
    width: 50%;
    padding: 5rem;
}

.split-image {
    width: 50%;
}

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

/* Grafiska element for bilden */
.split-image.clip {
    clip-path: polygon(35% 0%, 100% 0%, 65% 100%, 0% 100%);
}

/* Bredder & hojder */
.split-wrapper .w-35 {
    width: 35%;
}

.split-wrapper .w-65 {
    width: 65%;
}

/* Overlay */
.split-image.overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), .2);
}

/* Text i split-image */
.split-image .text-block {
    z-index: 1;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 4rem;
}

.split-image .text-block .small-title {
    font-size: 3.2rem;
}

@media screen and (max-width: 1024px) {
    .split-wrapper {
        flex-direction: column;
    }

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

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

    .split-wrapper.reverse .split-content {
        padding: 3rem 0 0;
    }

    .split-image {
        width: 100%;
    }

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

    /* Bredder */
    .split-wrapper .w-35,
    .split-wrapper .w-65 {
        width: 100%;
    }

    /* Split i full-width sektion */
    .mw-none.pl-0 .split-content {
        padding: 0 3rem 3rem;
    }

    /* Text i split-image */
    .split-image .text-block {
        padding: 3rem;
    }

    .split-image .text-block .small-title {
        font-size: 2.8rem;
    }
}

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

    /* Split i full-width sektion */
    .mw-none.pl-0 .split-content {
        padding: 0 2rem 3rem;
    }

    /* Text i split-image */
    .split-image .text-block {
        padding: 2rem;
    }

    .split-image .text-block .small-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 580px) {
    .split-image.clip {
        clip-path: none;
    }
}

/* Modal
========================================================================== */
.modal {
    max-width: 80rem;
    width: 100%;
    max-height: 75vh;
    border-radius: 0;
    padding: 2rem;
    box-shadow: none;
    overflow: auto;
    background: transparent;
}

.modal iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
}

.blocker {
    z-index: 100;
}

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

.modal .custom-close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: rgb(var(--white-color));
}

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

    .blocker {
        padding: 1rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

header:not(.scrolled) {
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

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

.header-logo img {
    max-width: 30rem;
}

/* Nav */
.TemplateMenu a {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgb(var(--black-color));
}

header:not(.scrolled, .mobile-menu) .TemplateMenu>li>a:not(:hover) {
    color: rgb(var(--white-color));
}

/* Ta bort klick */
body:not(.EditMode) .TemplateMenu a[href="/17/5/om-xbase/"],
body:not(.EditMode) .TemplateMenu a[href="/17/7/vara-tjanster/"] {
    pointer-events: none;
}

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

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

header.scrolled .header-cta-wrapper .btn,
header.active-menu .header-cta-wrapper .btn {
    color: rgb(var(--white-color));
    border-color: rgb(var(--black-color));
    background: rgb(var(--black-color));
}

/* Mobilmeny */
.mobile-menu .TemplateMenu {
    text-align: center;
}

.mobile-menu .TemplateMenu li {
    padding-left: 0;
}

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

    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgb(var(--black-color), .5);
}

.top-section .section-block {
    display: flex;
    align-items: flex-end;
    min-height: 70vh;
    padding: 13rem 4rem;
    background: linear-gradient(to bottom right, rgb(var(--white-color), .4) 0%, transparent 50%, rgb(var(--white-color), .1) 100%);
}

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

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

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

/* Text-divider
========================================================================== */
.section-text-divider .col-0 {
    align-content: center;
}

.section-text-divider.bg-primary .section-block {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

@media only screen and (max-width: 580px) {
    .section-text-divider.bg-primary .section-block {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* Referenser
========================================================================== */
.scroll-container {
    overflow: hidden;
}

.scroll-wrapper.cards-wrapper {
    margin: 0 16rem 5rem;
}

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

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

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
    margin: 0 2rem;
    transition: all .3s ease;
}

.scroll-wrapper.cards-wrapper .card-item[aria-hidden="true"] {
    opacity: .5;
}

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

/* Slick dots */
.scroll-wrapper .slick-dots {
    position: absolute;
    bottom: -5rem;
    left: 50%;
    padding: 0;
    margin: 0;
    transform: translateX(-50%);
}

.scroll-wrapper .slick-dots li::before {
    content: '\f111';
    font-size: 1.2rem;
    color: rgb(var(--gray-dark-color));
}

.scroll-wrapper li.slick-active::before {
    opacity: 1;
    color: rgb(var(--primary-color));
    transition: all .2s ease;
}

@media only screen and (max-width: 1300px) {
    .scroll-wrapper.cards-wrapper {
        margin: 0 4rem 5rem;
    }
}

@media only screen and (max-width: 750px) {
    .scroll-wrapper.cards-wrapper {
        margin: 0 2rem 3rem;
    }

    .scroll-wrapper.cards-wrapper .card-item {
        margin: 0 5px;
    }
}

@media only screen and (max-width: 520px) {
    .scroll-wrapper.cards-wrapper {
        margin: 0 1rem 3rem;
    }

    .scroll-wrapper .slick-dots {
        bottom: -3rem;
    }

    .scroll-wrapper .slick-dots li::before {
        font-size: .9rem;
    }
}

/* CTA
========================================================================== */
.section-cta {
    margin-bottom: 5rem;
}

.section-cta .section-block {
    padding-top: 0;
    padding-bottom: 0;
}

.section-cta .block-object {
    display: flex;
}

.section-cta .split-wrapper {
    max-width: 100rem;
}

.section-cta .btn-wrapper {
    height: fit-content;
    margin: auto;
}

.section-cta .btn {
    min-width: 24rem;
    margin: 0;
}

@media only screen and (max-width: 1024px) {
    .section-cta .block-object {
        flex-direction: column;
        justify-content: end;
    }

    .section-cta .split-wrapper {
        flex-direction: row;
    }

    .section-cta .split-content,
    .section-cta .split-image {
        width: 50%;
    }

    .section-cta .split-content {
        padding: 5rem 5rem 5rem 0;
        align-self: center;
    }

    .section-cta .btn-wrapper {
        position: absolute;
        align-self: end;
        margin: 1rem;
    }
}

@media only screen and (max-width: 750px) {
    .section-cta .split-wrapper {
        flex-direction: column;
    }

    .section-cta .split-content,
    .section-cta .split-image {
        width: 100%;
    }

    .section-cta .split-content {
        padding: 5rem 5rem 3rem 0;
        align-self: center;
    }

    .section-cta .btn-wrapper {
        margin-bottom: -2rem;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: flex-end;
    min-height: 55vh;
    padding-top: var(--menu-height);
    margin-top: calc(-1 * var(--menu-height));
}

.hero .section-block {
    width: 100%;
}

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

/* Intro (.section-intro)
========================================================================== */
.section-intro .col-1 {
    align-content: center;
    padding: 0;
}

/* ==========================================================================
Undersida: Radgivning
========================================================================== */
.list-cols-2 {
    column-count: 2;
}

@media only screen and (max-width: 580px) {
    .list-cols-2 {
        column-count: 1;
    }
}

/* ==========================================================================
Undersida: Vi som jobbar har
========================================================================== */
@media only screen and (max-width: 580px) {
    .section-team .section-block {
        padding: 2rem 0;
    }

    .section-team .card-3-4 .card-item {
        flex-direction: row-reverse;
    }
}

/* ==========================================================================
Undersida: Referenser
========================================================================== */
.video-wrapper {
    position: relative;
}

.video-wrapper .image-wrapper {
    filter: grayscale() brightness(2);
}

.video-wrapper .small-title {
    position: relative;
    z-index: 2;
    width: fit-content;
    padding: 2rem 3rem 2rem 2rem;
    background-color: rgb(var(--gray-dark-color));
    color: rgb(var(--gray-light-color));
}

.video-wrapper:hover .small-title {
    color: rgb(var(--white-color));
}

/* Play */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), .1);
    pointer-events: none;
    transition: .4s ease;
}

.video-wrapper:hover .play-overlay {
    opacity: 1;
    visibility: visible;
    background: rgba(var(--black-color), .2);
}

.play-overlay em {
    color: rgb(var(--white-color));
    font-size: 6rem;
    transition: .4s ease;
}

.video-wrapper:hover .play-overlay em {
    font-size: 3.5rem;
}

.play-overlay p {
    display: inline-block;
    color: rgb(var(--white-color));
    margin-left: 1.5rem;
    font-size: 0;
    transition: .4s ease;
}

.video-wrapper:hover .play-overlay p {
    font-size: 2rem;
}

@media only screen and (max-width: 580px) {
    .video-wrapper .small-title {
        padding: 1rem 2rem 1rem 1rem;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .circle-icon {
    margin-right: 1.5rem;
}

.section-contact .card-item .text-label {
    font-size: 1.7rem;
}

.section-contact a.card-item:hover .text-label {
    color: rgb(var(--primary-color));
}

/* Formular */
.ContactForm p {
    position: relative;
    left: 10px;
    bottom: -13px;
    display: inline-block;
    padding: 5px 3px;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: rgb(var(--gray-dark-color));
    background-color: rgb(var(--white-color));
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--white-color));
}

.ContactSentMessage {
    max-width: 100%;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0;
    background-color: rgb(0, 128, 1);
    background-image: none;
}

.ContactSentMessage p {
    color: rgb(var(--white-color))
}

.section-map .section-block-wrapper {
    font-size: 0;
}

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

.footer-container {
    background-image: url(/assets/images/graphics/x.svg);
    background-size: 50%;
    background-position: 0% 50%;
    background-repeat: no-repeat;
}

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

.footer-menu {
    width: 16%;
}

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

.footer-menu-large .text-label,
.footer-menu-large a {
    font-size: 2rem;
}

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

.footer-top p,
.footer-top a {
    text-decoration: none;
    transition: .2s ease;
    color: rgb(var(--white-color));
}

.footer a:not(.circle-icon, .arrow-link):hover {
    color: rgb(var(--primary-light-color));
}

.footer .footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer .footer-logos img {
    max-width: 11rem;
    max-height: 8rem;
    margin-bottom: 2rem;
}

/* Sociala medier */
.footer .socials {
    width: fit-content;
}

.footer .socials .circle-icon {
    background-color: rgb(var(--primary-light-color));
}

.footer .socials .circle-icon:hover {
    background-color: rgb(var(--white-color));
    color: rgb(var(--primary-light-color));
}

/* Visselblasning */
.footer .external {
    width: 100%;
    margin-bottom: 2rem;
}

.footer .external a {
    padding: 1rem;
    font-size: 1.4rem;
    color: rgb(var(--primary-light-color));
    line-height: 1;
    border-radius: 2rem;
    border: 1px solid rgb(var(--primary-light-color));
    text-decoration: none;
    transition: all .3s ease;
}

.footer .external a:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-light-color));
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgb(var(--primary-light-color));
}

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

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

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

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

@media only screen and (max-width: 980px) {
    .footer-container {
        background-position: 90% 90%;
    }

    .footer .footer-logos {
    align-items: flex-start;
}

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

    .footer-menu-large,
    .footer-menu:not(.socials, .external) {
        width: 100%;
        margin: 0 0 3rem 1rem;
    }

    .footer .socials .footer-submenu {
        display: flex;
        padding-bottom: 2rem;
    }
}

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