/* Adsum Redovisning & Affarsradgivning AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 126, 76, 130;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 135, 135, 133;
    --gray-light-color: 247, 246, 246;
    --white-color: 255, 255, 255;

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

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1024;
    --mobile-menu-height: 6rem;
    --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-1 .section-block,
.p-1:not(.section-wrapper) {
    padding: 1rem;
}

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

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

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

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

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

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

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

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

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

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

/* Ovriga klasser */
.of-hidden {
    overflow: hidden;
}

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

    .mt--4 {
        margin-top: 0rem;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    .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: 1px 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;
}

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

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

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

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

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

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

.bg-gray {
    background-color: rgb(var(--gray-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
========================================================================== */


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

.cards-wrapper:not(.w-100) {
    margin-left: -1rem;
    margin-right: -1rem;
}

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

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

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

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

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

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

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

@media only screen and (max-width: 750px) {
    .cards-wrapper {
        margin-left: 0;
        margin-right: 0;
    }

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

    /* Paddings */
    .cards-wrapper .p-4 {
        padding: 2rem;
    }
}

/* Card 3-1 */
.card-3-1 .image-wrapper {
    height: 25rem;
}

/* Card 3-4 */
.cards-wrapper.card-3-4 .card-item {
    position: relative;
    margin-top: 9rem;
}

.card-3-4 .image-wrapper {
    position: absolute;
    top: -8rem;
    right: 1rem;
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    border: 2px solid rgb(var(--gray-color));
}

.card-3-4 .card-body {
    padding: 4rem 2rem 2rem;
}

.card-3-4 .badge {
    position: absolute;
    top: -5px;
    left: -5px;
    padding: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

.card-3-4 p:not(.text-bold, .badge) {
    font-size: 1.6rem;
}

.card-3-4 a {
    word-break: break-all;
    text-decoration: none;
    transition: .3s ease;
}

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

@media screen and (max-width: 580px) {
.card-3-4 .image-wrapper {
    top: -5rem;
    width: 10rem;
    height: 10rem;
}
}

/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(70vh / 2 - 2rem);
}

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

.card-3-5 .card-body,
.card-3-5 .card-footer {
    z-index: 1;
    position: relative;
}

/* 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%;
    height: 70vh;
}

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

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

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

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

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

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

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

    .split-content {
        width: 100%;
        padding: 0 0 3rem;
        background: transparent;
        margin-top: 2rem;
    }

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

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

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


/* 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: 130rem;
    max-height: 75vh;
    padding: 0rem;
    border-radius: 0;
    overflow: auto;
    background: rgb(var(--white-color));
    transform: translate(-50%, -50%);
}

.section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
}



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

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

/* .header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo p {
    padding: 0;
    margin-left: 1rem;
}

.header-logo span {
    display: block;
    font-size: 1.4rem;
    line-height: 1.2;
    color: rgb(var(--gray-color));
    white-space: nowrap;
} */

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

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

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

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

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

    /* Header logo */
    .header-logo img {
        max-height: 7rem;
    }

    /* .header-logo span,
    header.scrolled .header-logo span {
        font-size: 1.1rem;
    } */
}

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

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

/* @media only screen and (max-width: 490px) {
    .header-logo span {
        display: none;
    }
} */

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-end;
    min-height: 75vh;
    background-color: rgb(var(--black-color), .5);
}

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

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

.top-section .section-title {
    font-size: 5rem;
    font-weight: 600;
}

.top-section p {
    font-size: 2rem;
}

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

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

    .top-section p {
        font-size: 1.6rem;
    }
}

/* Text-divider
========================================================================== */
.section-text-divider .section-block {
    padding-top: 15rem;
    padding-bottom: 15rem;
}

.section-text-divider .col-0 {
    width: calc(35% - 1.5rem);
    padding-right: 5rem;
}

.section-text-divider .col-1 {
    width: 65%;
    padding-left: 0;
}

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

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

    .section-text-divider .col-0 {
        width: 100%;
        padding-right: 0;
    }

    .section-text-divider .col-1 {
        width: 100%;
    }
}

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

/* CTA
========================================================================== */
.section-cta {
    background: rgb(var(--primary-color));
}

.cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cta-wrapper .text-block {
    max-width: 65rem;
}

.cta-wrapper .btn-wrapper {
    margin-top: 0;
}

@media only screen and (max-width: 1000px) {
    .cta-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 50vh;
    text-align: center;
    background-image: linear-gradient(to right, rgb(var(--gray-color)) 50%, rgb(var(--primary-color)) 50%);
}

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

.hero .section-title {
    font-size: 6rem;
    color: rgb(var(--white-color));
}

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

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

/* ==========================================================================
Undersida: Karriar
========================================================================== */
.section-form .section-block-wrapper {
    max-width: 100rem;
    padding: 3rem;
    border-radius: 1rem;
    background: rgb(var(--gray-color)); 
}

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

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

.section-form .ContactForm div.textarea-field,
.section-form .ContactForm div.file-field,
.section-form .ContactForm div.submit-button-container {
    width: 100%; 
}

.section-form .ContactForm p {
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 680px) {
    .section-form .ContactForm > div {
        width: 100%; 
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.contact-wrapper a {
    text-decoration: none;
}

.contact-wrapper a:hover {
    text-decoration: underline;
}

.contact-wrapper i {
    margin-right: 5px;
}

/* ==========================================================================
Footer
========================================================================== */
footer {
    padding: 0 5rem;
}

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

.footer-menu {
    width: 21%;
}

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

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

.footer-top img {
    max-width: 25rem;
}

.footer-top li {
    padding-bottom: 1.5rem;
    line-height: 1.5;
}

.footer-top a {
    text-decoration: none;
    transition: .2s ease;
}

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

/* .footer .socials {
    text-align: right;
} */

/* 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(--black-color), .5);
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* 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: 1154px) {
    .footer {
        padding: 0 3rem;
    }

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

    .footer-menu {
        width: 100%;
        margin: 0 0 5rem;
    }

    .footer-menu img {
        display: block;
        margin: 0 auto;
    }

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

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