/* A Konsulterna Stockholm AB */

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

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

    /* 	Colors */
    --primary-color: 216, 179, 85;
    --primary-light-color: 243, 238, 227;

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

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

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

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

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

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

@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: 'Gantari', sans-serif;
}

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

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

.small-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    padding-bottom: .7em;
}

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

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

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.6rem 2rem;
    margin: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 1rem;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

.btn-primary-filled:hover,
.ContactSubmit:hover {
    background-color: transparent;
}

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

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

.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(--black-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

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

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

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

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

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

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

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

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    overflow: hidden;
}

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

/* Grafiska element
========================================================================== */
/* Waves-bakgrunder */
.wave-bottom::after {
    content: "";
    position: relative;
    display: block;
    width: 100%;
    height: 15rem;
    background-size: 100% 101%;
    margin-bottom: -1px;
}

.wave-primary-light::after {
    background-image: url(/assets/images/graphics/wave-primary-light.svg);
}

.wave-black::after {
    background-image: url(/assets/images/graphics/wave-black.svg);
}

.wave-white::after {
    background-image: url(/assets/images/graphics/wave-white.svg);
}

@media only screen and (max-width: 750px) {
    .wave-bottom::after {
        height: 5rem;
    }
}

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

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

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

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

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

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

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

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

/* Card 2-1 */
.card-2-1 .card-item {
    padding: 3rem 4rem 3rem 3rem;
    border-radius: 8px;
    border: 1px solid rgb(var(--primary-light-color), .15);
    background-color: rgb(var(--primary-light-color), .1);
    text-decoration: none;
    transition: .3s ease-in-out;
}

.card-2-1 a.card-item:hover {
    background: rgb(var(--primary-color));
}

.card-2-1 .card-header {
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
}

.card-2-1 .card-header::after {
    margin-left: auto;
}

.card-2-1 .small-title {
    margin-right: 1rem;
    font-size: 2.5rem;
    line-height: 1;
}

.card-2-1 .card-header i {
    margin: 0 1rem 0 0;
    width: 3rem;
    font-size: 2.3rem;
    transition: .3s ease-in-out;
}

.card-2-1 .card-item:hover .card-header i {
    color: rgb(var(--white-color));
}

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

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

    .card-2-1 .card-header i {
        width: 2.5rem;
        font-size: 2rem;
    }
}

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 8px;
    transition: .3s ease-in-out;
}

.card-2-4 a.card-item:hover {
    background: rgb(var(--gray-light-color));
}

.card-2-4 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
}

.card-2-4 .card-header i {
    font-size: 3rem;
}

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

.card-2-4 .text-small {
    font-size: 1.4rem;
}

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

.split-image img {
    clip-path: polygon(0% 0%, 33% 10%, 66% 5%, 100% 7%, 100% 100%, 0% 100%);
}

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

@media screen and (max-width: 1000px) {
    .split-content {
        width: 100%;
    }

    .split-image {
        width: 100%;
        clip-path: none;
    }

    .split-image img {
        clip-path: none;
    }
}

@media screen and (max-width: 580px) {
    .split-content {
        padding: 2rem;
    }
}

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

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

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

/* Dolj sida i nav */
body:not(.EditMode) header:not(.mobile-menu) .TemplateMenu a[href="/17/5/kontakt/"] {
    display: none;
}

/* CTA */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 4rem;
    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 .TemplateMenu a {
    padding: 0 2rem;
    text-align: center;
}

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

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-end;
    min-height: calc(100vh - var(--menu-height));
    margin-bottom: -1px;
    background-color: rgb(var(--black-color), .3);
    background-image: linear-gradient(to top, rgb(var(--black-color)), rgb(var(--black-color), 0));
    background-size: 100% 60%;
    background-repeat: no-repeat;
    background-position: center bottom;
}

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

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

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

.top-section .section-title span {
    display: block;
}

.top-section .btn:hover {
    color: rgb(var(--white-color));
}

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

@media only screen and (max-width: 650px) {
    .top-section {
        min-height: calc(100vh - var(--menu-height) - 5rem);
    }

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

/* ==========================================================================
Undersidor - Generellt
========================================================================== */

/* Hero
========================================================================== */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    min-height: 45rem;
    background-color: rgb(var(--black-color), .3);
}

.hero .section-block {
    width: 100%;
    padding-top: 15rem;
}

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

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

/* ==========================================================================
Undersida: Karriar / Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    justify-content: space-between;
}

.section-contact .col-2 {
    max-width: 55rem;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgb(var(--gray-dark-color));
    background-color: rgb(var(--black-color));
}

.ContactForm p {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgb(var(--white-color));
}

.ContactForm > div.submit-button-container {
    margin-bottom: 0;
}

.section-contact .ContactSubmit:hover {
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 980px) {
    .section-contact .col-2 {
        max-width: 100%;
        margin-top: 3rem;
    }
}

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

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

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

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

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

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

.footer-top li,
.footer-top p,
.footer-top a:not(.circle-icon) {
    color: rgb(var(--white-color));
}

/* 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 {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgb(var(--white-color));
}

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

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

@media only screen and (max-width: 1024px) {
    .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;
    }
}