/* Ceteri */

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

/* Hero New (sans-serif) */
@import url("https://use.typekit.net/oge8uef.css");

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

/* ==========================================================================
Typsnitt enligt grafisk profil
========================================================================== */
@font-face {
    font-family: 'Merlo Round';
    src: url('/assets/fonts/merlo-round-bold-webfont.woff2') format('woff2'),
        url('/assets/fonts/merlo-round-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merlo Round';
    src: url('/assets/fonts/merlo-round-regular-webfont.woff2') format('woff2'),
        url('/assets/fonts/merlo-round-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merlo Round';
    src: url('/assets/fonts/merlo-round-light-webfont.woff2') format('woff2'),
        url('/assets/fonts/merlo-round-light-webfont.woff') format('woff');
    font-weight: lighter;
    font-style: normal;
    font-display: swap;
}

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

    /* 	Colors */
    --primary-color: 122, 35, 46;
    --secondary-color: 201, 140, 102;
    --secondary-light-color: 241, 225, 215;
    --secondary-dark-color: 175, 119, 84;

    --black-color: 59, 60, 67;
    --gray-dark-color: 87, 87, 87;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

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

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

/* Layout
========================================================================== */
body {
    counter-reset: section;
}

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

.section-block {
    padding: 13rem 5rem;
}

/* Speciella paddings */
.p-0 {
    padding: 0 !important;
}

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

.pt-0 .section-block,
.pt-0:not(.section-wrapper) {
    padding-top: 0 !important;
}

.pt-2 {
    padding-top: 2rem;
}

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

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

.pl-1 {
    padding-left: 1rem;
}

.pl-2 {
    padding-left: 2rem;
}

.pr-1 {
    padding-right: 1rem;
}

.py-2 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Speciella margins */
.m-0 {
    margin: 0;
}

.mr-1 {
    margin-right: 1rem;
}

.my-3 {
    margin: 3rem 0;
}

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

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

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

.mb-3 {
    margin-bottom: 3rem;
}

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

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

/* Speciella bredder */
.mw-1000 .section-block-wrapper,
.mw-1000:not(.section-wrapper) {
    max-width: 100rem;
}

.mw-1300 .section-block-wrapper {
    max-width: 130rem;
}

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

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

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'Merlo Round', hero-new, sans-serif;
}

/* Rubriker */
.section-title {
    font-size: 4rem;
    padding-bottom: 2rem;
    line-height: 1.4;
    font-weight: bold;
}

.text-label {
    font-size: 2rem;
    padding-bottom: 1.2rem;
    font-weight: normal;
    color: rgb(var(--secondary-color));
    letter-spacing: .1em;
    text-transform: uppercase;
}

.small-title {
    font-size: 2.3rem;
    line-height: 1.4;
    padding-bottom: 1rem;
}

/* Brödtext och länkar */
li,
a {
    color: rgb(var(--gray-dark-color));
}

p {
    color: rgb(var(--gray-dark-color));
    font-family: hero-new, sans-serif;
    font-weight: 300;
    font-size: 1.7rem;
}

a {
    text-decoration: none;
}

p a:hover {
    color: rgb(var(--primary-color));
}

.ingress {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Övriga klasser */
.text-block {
    max-width: 80rem;
}

.text-block-center {
    max-width: 80rem;
    margin: 0 auto;
}

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

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

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

.fz-4 {
    font-size: 4rem;
}

.word-breake {
    hyphens: auto;
}

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

.list-circle li {
    position: relative;
    padding-left: 2.5rem;
}

.list-circle li::before {
    content: '\f111';
    position: absolute;
    top: 50%;
    left: -2.5rem;
    color: rgb(var(--secondary-color));
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Font Awesome 5 Pro';
    transform: translateY(-50%);
}


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

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

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


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

/* Knappar */
.btn,
.ContactSubmit {
    display: inline-block;
    padding: 1.4rem 3rem;
    border-radius: .6rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: rgb(var(--white-color));
    border: 2px solid;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.btn:hover {
    text-decoration: none;
}

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

.btn-primary-filled:hover {
    color: rgb(var(--white-color));
    background: transparent;
}

.ContactSubmit:hover,
.ContactSubmit:focus {
    color: rgb(var(--white-color));
    outline: 2px solid rgb(var(--white-color));
}

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

.btn-secondary-filled:hover {
    border-color: rgb(var(--secondary-dark-color));
    background: rgb(var(--secondary-dark-color));
}

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

.btn-white-border:hover {
    border-color: rgb(var(--secondary-color));
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
    text-decoration: none;
    color: rgb(var(--primary-color));
}

.arrow-link::after {
    content: ' \f061';
    display: inline-block;
    margin-left: .8rem;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

a.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform .4s ease;
}


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

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

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


.contact-button {
    display: none;
}

@media screen and (max-width: 600px) {
    .social-button {
        display: none;
    }

    .contact-button {
        display: block;
    }
}

/* Färger
========================================================================== */
/* Bakgrundsfärger */
.bg-primary {
    background: rgb(var(--primary-color));
}

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

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

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

.gradient-white-primary {
    background-image: linear-gradient(to bottom, rgb(var(--white-color)) 70%, rgb(var(--secondary-light-color)) 30%);
}

/* Textfärger */
.text-primary {
    color: rgb(var(--primary-color));
}

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

/* Grafiska element
========================================================================== */
/* Object fit */
.of-wrapper img.op-top {
    object-position: top;
}

/* Borders */
.bb-secondary {
    border-bottom: 2px solid rgb(var(--secondary-color));
}

hr {
    margin-top: 2rem;
    margin-bottom: 3rem;
    border-color: rgb(var(--gray-light-color));
}

/* Border radius */
.br-1 {
    border-radius: 1rem;
}

/* Box shadow */
.bs-10 {
    box-shadow: 0 0.5rem 3rem rgb(var(--black-color), .1);
}

/* Cirkel med siffra i */
.counter-circle {
    position: relative;
}

.counter-circle::after {
    z-index: 1;
    position: absolute;
    top: -1rem;
    left: -1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 6rem;
    width: 6rem;
    font-size: 3rem;
    font-weight: 500;
    color: #fff;
    border-radius: 50%;
    counter-increment: section;
    content: " 0" counter(section) " ";
    background-color: rgb(var(--primary-color));
}

/* Badge */
.badge-wrapper {
    position: relative;
}

.badge {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: .5rem 1.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    border-radius: 0 .5rem 0 0;
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

/* Bakgrundsvideo
========================================================================== */
.bg-video {
    position: relative;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(90deg, rgba(var(--black-color), .4) 0%, rgba(var(--black-color), .5) 0%, rgba(var(--black-color), 0.0) 100%);
    overflow: hidden;
}

.bg-video-wrapper video {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

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

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

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

.split-image {
    width: 50%;
    max-height: 60rem;
}

.split-image-full {
    width: 50%;
    max-height: 70rem;
}

.split-image.mh-none {
    max-height: none;
}

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

/* Speciella bredder */
.split-wrapper .w-30 {
    width: 30%;
}

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

/* Innehåll */
.split-wrapper .text-block-center {
    max-width: 70rem;
}

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

    .split-content,
    .split-wrapper .w-30,
    .split-wrapper .w-70 {
        width: 100%;
    }

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

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

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

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

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

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

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

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

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

/* Bredder för specifika cards */
.cards-wrapper .card-item.w-50 {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

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

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

    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

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

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

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

    .person-card {
        padding: 1rem !important;
    }

    .person-card a {
        font-size: 1.5rem;
    }
}

/* Cards 7*/
.cards-7 .card-item {
    background: rgb(var(--white-color));
    transition: .4s ease;
}

.cards-7 .card-item:hover {
    background: rgb(var(--gray-light-color));
}

.cards-7 .icon-wrapper img {
    display: block;
    max-width: 15rem;
    padding: 2rem 0 0;
    margin: 0 auto;
}

.cards-7 .image-wrapper img {
    height: 30rem;
    object-position: center top;
}

.cards-7 .text-wrapper {
    padding: 2rem 3rem;
}

/* Cards 16 */
.cards-16 .card-item {
    position: relative;
    width: calc((100% / 2) - 2rem);
    margin: 0 1rem;
    padding: 40rem 0 0;
    background: rgb(var(--white-color));
    transition: .3s ease;
}

.cards-16 .card-item:hover {
    padding: 38rem 0 2rem;
    transition: .3s ease;
}

.cards-16 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cards-16 .text-wrapper {
    z-index: 1;
    position: relative;
    height: 100%;
    padding: 2rem 3rem;
    background-color: rgba(var(--primary-color), .9);
}

.cards-16 .small-title {
    padding-bottom: 0;
}

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

.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));
}

.modal table {
    width: 100%;
}

.modal input[type="text"] {
    width: 100%;
    height: 4.5rem;
    padding: 0 1rem;
    margin: 1rem 0;
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--white-color));
    background-color: transparent;
}

.modal input[type="submit"] {
    display: block;
    margin: 0 auto;
    font-family: 'Merlo Round', hero-new, sans-serif;
    cursor: pointer;
    background-color: transparent;
}

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

    .blocker {
        padding: 1rem;
    }
}

/* Header / Navigation
========================================================================== */
/* header */
header {
    background: rgb(var(--black-color), .4);
}

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

header .container {
    max-width: none;
}

/* top header */
.top-header {
    width: 100%;
    height: 4rem;
    border-bottom: 1px solid rgb(var(--white-color));
    overflow: hidden;
    transition: .3s ease;
}

.SubPage .top-header {
    border-bottom: 1px solid rgba(var(--black-color), .1);
}

.scrolled .top-header {
    height: 0;
}

.top-header ul {
    display: flex;
    justify-content: flex-end;
    padding: .5rem 2rem;
    margin: 0;
    list-style: none;
}

.top-header a {
    padding: 0 1rem 0 3rem;
    font-size: 1.2rem;
    color: rgb(var(--white-color));
    white-space: nowrap;
}

.SubPage .top-header a {
    color: rgb(var(--black-color));
}

.top-header i {
    margin-right: .5rem;
}

/* Nav */
.TemplateMenu a,
.TemplateMenu ul a {
    font-size: 1.8rem;
    font-weight: 600;
    color: rgb(var(--white-color));
}

.TemplateMenu ul a {
    width: 25rem;
}

header.scrolled .TemplateMenu>li>a,
.SubPage header .TemplateMenu>li>a {
    color: rgb(var(--black-color));
}

.TemplateMenu a:hover,
.TemplateMenu ul a:hover,
header.scrolled .TemplateMenu>li>a:hover,
.SubPage header .TemplateMenu>li>a:hover,
header .TemplateMenu li.active>a {
    color: rgb(var(--secondary-color));
}

/* Nav - dropdown */
.TemplateMenu ul {
    border-radius: 0.6rem;
    background: rgb(var(--primary-color));
    box-shadow: 0px 4px 6px rgb(0 0 0 / 22%);
}

.EditMode .TemplateMenu ul a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Logo */
.header-logo {
    flex-basis: 0;
    flex: 1 1 0px;
}

.header-logo svg {
    height: 4.5rem;
}

.header-logo path {
    fill: white;
    transition: .3s ease;
}

header.scrolled .header-logo .cls-1,
.SubPage header .header-logo .cls-1 {
    fill: rgb(var(--secondary-color));
}

header.scrolled .header-logo .cls-2,
.SubPage header .header-logo .cls-2 {
    fill: rgb(var(--primary-color));
}

/* CTA  */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-basis: 0;
    flex: 1 1 0px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 0.5rem 1rem;
    margin: 0 .5rem;
}

/* Mobilmeny */
.mobile-menu {
    height: auto;
}

.mobile-menu .container {
    padding: 1rem 2rem;
}

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

    /* Nav - dropdown */
    .TemplateMenu li {
        background: rgb(var(--primary-color));
    }

    .TemplateMenu>li>a {
        color: rgb(var(--white-color)) !important;
    }
}

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

    /* top header */
    .top-header a {
        padding: 0 1rem;
    }

    .header-logo svg {
        height: 3rem;
    }
}

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

/* Topsection
========================================================================== */
.topsection {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin-top: calc(-1 * var(--menu-height) - 4rem);
    overflow: hidden;
}

.topsection .section-block {
    padding: 5rem;
}

.topsection .section-title {
    font-size: 5rem;
    font-weight: 300;
}

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

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

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

    .topsection .section-title {
        font-size: 3rem;
    }
}

/* ==========================================================================
Undersidor - generellt för alla undersidor
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: flex-end;
}

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

/* Hero - Hero-text
========================================================================== */
.hero-text .section-block {
    min-height: 50rem;
    padding: 10rem 4rem 5rem;
    background-color: rgba(var(--black-color), .45);
}

/* Hero - Hero-split
========================================================================== */
.EditMode .hero-split {
    margin-top: 10rem;
}

.hero-split {
    margin-top: 0;
    background: transparent;
}

.hero-split .split-wrapper {
    padding: 5rem 2rem;
    background: linear-gradient(to left, rgba(var(--primary-color), 0.85) 70%, rgb(var(--white-color)) 40%);
}

@media screen and (max-width: 1100px) {
    .hero-split .split-wrapper {
        padding: 0 2rem 5rem 2rem;
        background: rgba(var(--primary-color), 0.85);
    }
}

/* ==========================================================================
Undersida: Vara tjanster > undersidor > Formular
========================================================================== */
.section-form .col-0 {
    max-width: 65rem;
    padding: 4rem;
    margin: 0 auto;
}

.section-form .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-form .ContactForm input,
.section-form .ContactForm input:focus,
.section-form .ContactForm textarea,
.section-form .ContactForm textarea:focus {
    background: transparent;
}

.section-form .ContactSubmit {
    background: rgb(var(--primary-color)) !important;
}

.section-form .ContactForm input,
.section-form .ContactForm input:focus,
.section-form .ContactForm textarea,
.section-form .ContactForm textarea:focus {
    background: rgb(var(--white-color));
}

.section-form .ContactForm input.illegal,
.section-form .ContactForm textarea.illegal {
    background-color: #FFECEC;
}

.section-form p {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: "Lato", sans-serif;
}

.section-form .ContactForm>div {
    width: 100%;
}

.section-form p {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.section-form .ContactForm select,
.ContactForm input {
    height: 3rem;
    border-radius: 0.5rem;
}

.section-form .ContactSubmit {
    height: 5rem;
}

.section-form .ContactForm input.illegal,
.section-form .ContactForm textarea.illegal {
    border: 0.1rem solid rgb(254, 100, 100);
}

/* ==========================================================================
Undersida: Vara tjanster > Finansiell radgivning
========================================================================== */
.timeline-wrapper {
    position: relative;
    overflow: hidden;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: .2rem;
    border-radius: 4rem;
    background-color: rgb(var(--primary-color));
}

.timeline-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10rem;
}

.timeline-item .text-wrapper,
.timeline-item .image-wrapper {
    width: 45%;
}

.timeline-item.item-right .image-wrapper {
    order: 1;
    justify-content: flex-end;
}

.timeline-item img {
    display: block;
    margin: 0 auto;
    max-height: 30rem;
}


.timeline-item .text-wrapper {
    padding-left: 3rem;
}

.timeline-item .text-wrapper::before {
    content: '';
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgb(var(--primary-color));
    -webkit-box-shadow: 0 0 0 4px rgb(var(--primary-color));
    box-shadow: 0 0 0 4px rgb(var(--primary-color));
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

@media only screen and (max-width: 1024px) {
    .timeline-item {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-left: 6rem;
        margin-bottom: 2rem;
    }

    .timeline-wrapper::before {
        top: 3rem;
        left: 2rem;
    }

    .timeline-item .text-wrapper,
    .timeline-item .image-wrapper {
        width: 100%;
        max-width: 60rem;
    }

    .timeline-item.item-left .image-wrapper {
        order: 1;
    }

    .timeline-item .text-wrapper {
        padding: 2rem 0;
    }

    .timeline-item .text-wrapper::before {
        left: 2rem;
    }
}

/* ==========================================================================
Undersida: Ovriga Tjanster
========================================================================== */

.tjanster-button {
    background: rgb(var(--primary-color));
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

.tjanster-button:hover {
    background: rgb(var(--primary-color), .8);
}

.tjanster-button p {
    padding-bottom: 0;
}

.big-title {
    font-size: 5rem !important;
}

@media only screen and (max-width: 1100px) {
    .ovriga-tjanster .split-wrapper.reverse {
        flex-direction: column-reverse !important;

    }

    .ovriga-tjanster .split-image {
        min-height: 1rem !important;
    }

    .ovriga-tjanster .split-content {
        padding-top: 1rem !important;
    }

    .big-title {
        font-size: 4rem !important;
        margin-top: 5rem;
    }
}

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

/* ==========================================================================
Undersida: Våra tjänster > Pension & försäkring
========================================================================== */
.section-calculator .input-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.section-calculator p {
    width: 100%;
}

.section-calculator input[type=number] {
    width: 20%;
    padding: 1rem;
}

.section-calculator input[type=range] {
    width: 75%;
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    box-shadow: none;
    background: rgb(var(--secondary-color));
    border-radius: 1.3px;
    border: none;
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: none;
    border: 2px solid rgb(var(--secondary-color));
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -14px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: rgb(var(--secondary-color));
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    box-shadow: 1px 1px 1px rgb(var(--black-color)), 0px 0px 1px rgb(var(--black-color));
    background: #3071a9;
    border-radius: 1.3px;
    border: 0.2px solid rgb(var(--black-color));
}

input[type=range]::-moz-range-thumb {
    box-shadow: 1px 1px 1px rgb(var(--black-color)), 0px 0px 1px rgb(var(--black-color));
    border: 1px solid rgb(var(--black-color));
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: rgb(var(--white-color));
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-ms-thumb {
    box-shadow: 1px 1px 1px rgb(var(--black-color)), 0px 0px 1px rgb(var(--black-color));
    border: 1px solid rgb(var(--black-color));
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: rgb(var(--white-color));
    cursor: pointer;
    height: 8.4px;
}

input[type=range]:focus::-ms-fill-lower,
input[type=range]:focus::-ms-fill-upper {
    border: 0.2px solid rgb(var(--black-color));
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px rgb(var(--black-color)), 0px 0px 1px rgb(var(--black-color));
    background: #367ebd;
}

@media only screen and (max-width: 580px) {
    .section-calculator p {
        text-align: center;
    }

    .section-calculator input[type=number] {
        width: 100%;
        text-align: center;
    }

    .section-calculator input[type=range] {
        width: 100%;
        margin: 4rem 0 2rem 0;
        text-align: center;
    }
}

/* ==========================================================================
Undersida: Nyheter
========================================================================== */
/* Paginering */
#pagination {
    margin-top: 3rem;
}

#pagination ul li:nth-child(1),
#pagination ul li:last-of-type {
    display: none;
}

#pagination a,
#pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
}

#pagination .current {
    background: rgb(var(--primary-color));
    border-color: rgb(var(--primary-color));
}


@media only screen and (max-width: 1350px) {
    .section-news .split-wrapper .w-30 {
        width: 50%;
    }

    .section-news .split-wrapper .w-70 {
        width: 50%;
    }
}

@media only screen and (max-width: 1024px) {
    .section-news .split-wrapper .w-30 {
        width: 100%;
        max-width: 50rem;
    }

    .section-news .split-wrapper .w-70 {
        width: 100%;
        padding: 3rem 0;
    }
}

/* ==========================================================================
Undersida: Artiklar - Utkast
========================================================================== */
.article-wrapper {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
    padding: 2rem;
}

.article-wrapper p {
    font-size: 1.4rem;
}

.article-wrapper a {
    font-size: 1.4rem !important;
}

.article-wrapper a:hover {
    color: rgb(var(--white-color));
    text-decoration: underline;
}

.drop-cap::first-letter {
    -webkit-initial-letter: 2;
    initial-letter: 2;
    color: rgb(var(--primary-color));
    font-weight: bold;
    margin-right: .75em;
}

.article-wrapper .cards-wrapper.w-50 .card-item:first-child {
    margin-left: 0rem;
}


/* ==========================================================================
Undersida: Nyhetsundersida
========================================================================== */
.news-banner {
    max-width: 60rem;
    height: 30rem;
    margin: 0 auto 10rem;
}

.news-banner-wide {
    max-width: 60rem;

    margin: 0 auto 10rem;
}

.section-newsitem .split-wrapper {
    padding: 2rem 0;
}

.section-newsitem .split-content {
    width: 70%;
    padding: 0 0 0 4rem;
}

.section-newsitem .split-image {
    width: 30%;
}

.section-newsitem strong {
    color: rgb(var(--primary-color));
}

.section-newsitem .image-wrapper,
.section-newsitem .images-2-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2rem 0;
}

.section-newsitem .image-wrapper {
    justify-content: center;
}

.section-newsitem .images-2-wrapper img {
    width: 48%;
}

.section-newsitem a {
    font-weight: 600;
}


.img-news-center {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;

}

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

    .section-newsitem .split-wrapper,
    .section-newsitem .split-content {
        padding: 0 0 2rem;
    }

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

    .section-newsitem .split-image {
        width: 50%;
        margin: auto;
    }
}


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

    .section-newsitem .split-image {
        width: 100%;
        margin: auto;
    }
}


/* ==========================================================================
Undersida: Vi stödjer
========================================================================== */

#samarbetspartners .section-block {
    padding: 50px 0 !important;
}

#samarbetspartners .code-part .block-object {
    font-size: 0;
    text-align: center;
}

#samarbetspartners .partner {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 230px;
    height: 230px;
}

#samarbetspartners .partner img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 95%;
    max-width: 200px !important;
    transform: translate(-50%, -50%);
}

#samarbetspartners .partner:hover .overlay {
    opacity: 1;
}

#samarbetspartners .partner .overlay {
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, .6);
    transition: all .5s ease;
}

#samarbetspartners .partner p {
    font-size: 20px;
    text-align: center !important;
    color: #FFF;
    line-height: 40px;
}

/* ==========================================================================
 Undersida: Kontakt med radgivare
========================================================================== */
.section-form .ContactForm,
.section-form .image-wrapper {
    padding: 0 3rem 0 0;
}

.section-form .ContactForm .ContactFormMessage {
    display: none;
}

.form-split .col-0 {
    padding-right: 2rem;
    margin: auto;
    padding-left: 5rem;
}

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

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

    .section-form .ContactForm,
    .section-form .image-wrapper {
        padding: 3rem 0 3rem 0;
    }

    .form-split .col-0 {
        padding-left: 0rem;
        padding-right: 0;
    }
}

/* ==========================================================================
 Undersida: Intranät
========================================================================== */

.section-name .col-0 {
    width: 40rem;
    padding: 5rem;
    background-color: rgb(var(--gray-light-color));
}

.section-name .col-1 {
    width: calc(100% - 40rem);
    padding: 5rem 10rem;
}

/* Submeny */
.dropdown-head {
    display: none;
}

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

.submenu a {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin: 0 0 1rem 0;
    border-radius: 3px;
}

.submenu i {
    width: 2.5rem;
    margin-right: 1.5rem;
    font-size: 2rem;
    transition: .3s ease;
}

.submenu a:hover i {
    font-weight: 600;
    color: rgb(var(--secondary-color));
}

@media only screen and (max-width: 1450px) {
    .section-name .col-0 {
        width: 30rem;
        padding: 5rem 2rem;
    }

    .section-name .col-1 {
        width: calc(100% - 30rem);
        padding: 5rem;
    }
}

@media only screen and (max-width: 980px) {
    .section-name .col-0 {
        width: 100%;
        padding: 0;
    }

    .section-name .col-1 {
        width: 100%;
        padding: 5rem 2rem;
    }

    /* Submeny */
    .dropdown-wrapper {
        position: relative;
        max-width: 100%;
        cursor: pointer;
    }

    .dropdown-head {
        display: block;
        padding: 1rem 2rem;
        background: rgb(var(--gray-light-color));
    }

    .dropdown-head p {
        display: flex;
        justify-content: space-between;
        padding-bottom: 0;
    }

    .dropdown-head i {
        margin-left: 2rem;
    }

    .submenu {
        display: none;
        z-index: 1;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 1px 1px 4px rgb(var(--black-color), .1);
    }

    .submenu.opened {
        display: block;
    }

    .submenu a {
        display: block;
        padding: 1rem 1.5rem;
        margin: 0;
        border-radius: 0;
        background: rgb(var(--white-color));
        transition: .3s ease;
    }

    .submenu i {
        width: 1.5rem;
        margin-right: 1rem;
        font-size: 1.4rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer-container {
    max-width: 160rem;
    padding: 0 2rem;
    margin: 0 auto;
    font-family: hero-new, sans-serif;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 2rem 4rem 2rem;
    border-bottom: 1px solid rgb(var(--black-color));
}

.footer-menu {
    width: calc((100% / 3) - 2rem);
    margin: 1.5rem 0;
}

.footer-menu:nth-child(4) {
    width: 6rem;
    text-align: right;
}

.footer .small-title {
    font-weight: 500;
    font-size: 1.6rem;
    color: #7a232e;
    letter-spacing: .1em;
    text-transform: none;
}

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

.footer p,
.footer a {
    font-size: 1.2rem;
}

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

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

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.2rem;
    font-weight: normal;
}

.webbess-stamp img {
    width: 2.3rem;
    margin-left: 1rem;
}

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

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

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

    /* Footer top */
    .footer-top {
        padding: 8rem 0 4rem;
    }

    .footer-menu {
        width: 100%;
    }

    .footer-socials {
        display: flex;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 0;
    }

    .footer-bottom p,
    .footer-bottom a {
        margin-bottom: .5rem;
    }

    /* WebbEss Stamp  */
    .footer .webbess-stamp {
        margin-top: .5rem;
    }
}

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

    /* Footer top */
    .footer-top {
        padding: 8rem 0 4rem 0;
    }

    /* Footer bottom */
    .footer-bottom {
        padding: 2rem 0;
    }
}