/* Advokatgruppen i Stockholm AB (Facelift 2022, augusti) */

@font-face {
    font-family: "krona_oneregular";
    src: url("/assets/fonts/kronaone-regular-webfont.woff2") format("woff2"),
        url("/assets/fonts/kronaone-regular-webfont.woff") format("woff"),
        url("/assets/fonts/kronaone-regular-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* 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: 201, 164, 70;
    --primary-light-color: 239, 203, 119;
    --secondary-color: 0, 38, 62;

    --black-color: 20, 20, 20;
    --gray-dark-color: 75, 75, 75;
    --gray-color: 220, 220, 220;
    --gray-light-color: 245, 245, 245;
    --white-color: 255, 255, 255;

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

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

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

/* Specifika paddings */
.pr-0 .section-block {
    padding-right: 0;
}

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

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

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

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

.pt-0 .section-block {
    padding-top: 0;
}

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

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

/* Specifika margins */
.mt-5 {
    margin-top: 5rem;
}

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

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

@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: "Roboto", sans-serif;
}

/* Rubriker */
.text-label {
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 0 0.5em;
}

.section-title {
    padding-bottom: 0.5em;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: "krona_oneregular", sans-serif;
}

.small-title {
    padding-bottom: 0.3em;
    font-size: 2.4rem;
    line-height: 1.3;
    font-weight: 400;
}

/* Brodtext och lankar */
p,
li {
    font-weight: 300;
}

a {
    color: inherit;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
}

/* speciella fonter */
.font-krona {
    font-family: "krona_oneregular", sans-serif;
}

/* ovriga klasser */
.text-bold {
    font-weight: 700;
}

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

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

.text-block {
    max-width: 90rem;
}

/* listor */
.list-cv {
    list-style: none;
    padding-inline-start: initial;
    margin: 1rem 0;
}

.list-cv li {
    color: rgb(var(--white-color));
}

.list-cv li:not(:last-child) {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgb(var(--white-color), 0.1);
}

/* List-check */
.list-check {
    list-style: none;
}

.list-check {
    padding: 0;
}

.list-check li {
    padding-bottom: 1rem;
}

.list-check li::before {
    content: "\f00c";
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: 1.2rem;
    font-family: "Font Awesome 5 Pro";
}

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

    .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 {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

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

.btn-wrapper.multiple .btn:not(:last-child) {
    margin-right: 2rem;
}

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

/* Knappar */
.btn,
.ContactSubmit {
    display: inline-block;
    min-width: 15rem;
    padding: 1.4rem 2rem;
    font-size: 1.4rem;
    font-weight: 500;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.btn i {
    padding-right: 0.5rem;
}

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

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

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

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

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

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

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

.btn-white-filled:hover {
    color: rgb(var(--secondary-color));
    border: 1px solid rgb(var(--gray-light-color));
    background-color: rgb(var(--gray-light-color));
}

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
}

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

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

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

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

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

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

    .btn-wrapper.multiple .btn:not(:last-child) {
        margin-right: 0rem;
        margin-bottom: 2rem;
    }
}

@media only screen and (max-width: 400px) {
    .btn-wrapper em {
        display: none;
    }
}

@media only screen and (max-width: 360px) {
    .btn-wrapper .btn {
        font-size: 1.2rem;
    }
}

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

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

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

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

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

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

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

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

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    background: linear-gradient(90deg,
            rgba(var(--black-color), 0.2) 0%,
            rgba(var(--black-color), 0.5) 0%,
            rgba(var(--black-color), 0) 100%);
}

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

/* Parallax
========================================================================== */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax .section-block {
    background-color: rgba(var(--black-color), 0.4);
}

@media only screen and (hover: none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1rem;
    margin-right: -1rem;
}

.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-100 .card-item {
    width: 100%;
    margin-bottom: 2rem;
}

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

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

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

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

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

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

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

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

/* Cards 2 */
.card-2-1 .card-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    background-color: rgb(var(--white-color), 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

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

.card-2-1 .card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    border-radius: 5px;
}

.card-2-1.contact .card-header {
    width: 8rem;
    height: 8rem;
}

.card-2-1 .card-header img {
    width: 3rem;
}

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

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

.card-2-1 .small-title {
    padding: 0;
}

@media only screen and (max-width:450px) {
    .card-2-1.contact .card-header {
        width: 4rem;
        height: 4rem;
    }

    .card-2-1.contact .card-header i {
        font-size: 1.8rem;
    }

    .card-2-1.contact .card-body {
        padding: 1.5rem 0 0 0rem;
    }

    .card-2-1.contact .card-item {
        display: block;
        padding: 2rem;
        background-color: rgb(var(--white-color), 0.1);
    }
}

/* Card 2-2 */
.card-2-2 .card-item {
    border-radius: 5px;
}

.card-2-2 p {
    font-size: 1.5rem;
}

.card-2-2 .small-title {
    padding-bottom: 1rem;
}

.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
    padding: 1rem;
    margin: 0 2rem;
    border-radius: 0 0 1rem 1rem;
}

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

@media only screen and (max-width: 480px) {
    .card-2-2 .card-header {
        width: 4rem;
        height: 4rem;
    }

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

/* Cards 3-1 */
.card-3-1 .card-item {
    background-color: rgb(var(--secondary-color));
    display: flex;
    flex-direction: column;
}

.card-3-1 .card-body {
    flex-grow: 1;
    padding: 2rem;
}

.card-3-1 .small-title {
    font-size: 1.9rem;
    color: rgb(var(--white-color));
    padding-bottom: 0.5rem;
}

.card-3-1 .text-label {
    color: rgb(var(--primary-color));
    padding-bottom: 1rem;
}

.card-3-1 p,
.card-3-1 a {
    padding-bottom: 0.3rem;
    font-size: 1.5rem;
    text-decoration: none;
    color: rgb(var(--gray-color));
    font-weight: 300;
}

.card-3-1 em {
    margin-right: 0.5rem;
}

.card-3-1 .card-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card-3-1 .card-footer .link {
    padding: 2rem;
}

.card-3-1 .card-footer .link:hover {
    color: rgb(var(--primary-color));
}

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

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

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

.split-image {
    width: 50%;
}

.split-image img {
    object-fit: cover !important;
}

/* speciella klasser */
.split-image.ratio {
    padding-top: 62.5%;
    position: relative;
}

.split-image.ratio img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

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

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

    .split-content {
        padding: 4rem;
    }

    .split-image {
        width: 100%;
    }

    .split-image.ratio {
        padding-top: 130%;
    }

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

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

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

/* Header / Navigation
========================================================================== */

/* header */
header {
    background-color: transparent;
}

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

header .container {
    margin: 0 auto;
}

/* logo */
.header-logo {
    padding-right: 2rem;
    flex-basis: 0;
    flex: 1 1 0px;
}

.header-logo a {
    color: #dcdcdc;
    text-transform: uppercase;
}

.header-logo a .logo-bottom {
    display: block;
}

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

/* Dropdown */
.TemplateMenu ul {
    background-color: rgb(var(--secondary-color));
    border-bottom: 2px solid rgb(var(--primary-color));
    width: 30rem;
}

/* nav */
.TemplateMenu {
    align-items: center;
}

.TemplateMenu a {
    font-weight: 300;
    font-size: 1.5rem;
    color: rgb(var(--gray-color));
}

.TemplateMenu li:last-child a:before {
    display: none;
}

.TemplateMenu li.active a {
    color: rgb(var(--white-color));
}

/* hover effect */
.TemplateMenu a:hover:before,
.TemplateMenu li.active a:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.TemplateMenu a:before {
    background-color: rgb(var(--primary-color));
    visibility: hidden;
    position: absolute;
    content: "";
    height: 2px;
    bottom: 2rem;
    width: 60%;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.TemplateMenu a.expandable:before,
.TemplateMenu ul a:before {
    display: none;
}


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

    /* Header logo */
    .header-logo a {
        font-size: 1.2rem;
    }

    /* Nav */
    .TemplateMenu a:hover:before,
    .TemplateMenu li.active a:before {
        visibility: hidden;
    }

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin-top: calc(-1 * var(--menu-height));
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    overflow: hidden;
}

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

.top-section .section-title {
    font-size: 5.5rem;
    padding-bottom: 3rem;
    font-weight: 600;
    max-width: 140rem;
    font-family: "Barlow", sans-serif;
    text-shadow: 0px 0px 20px rgba(var(--black-color), .4);
}

.top-section p {
    padding: 0;
    font-weight: 600;
    font-family: "krona_oneregular", sans-serif;
    text-shadow: 0px 0px 20px rgba(var(--black-color), .4);
}

.top-section hr {
    max-width: 20rem;
    margin: 4rem auto 3rem auto;
}

.top-section .btn-wrapper {
    margin-top: 1rem;
}

.top-section .arrow-link {
    min-width: unset;
}

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

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

/* CTA-sektion
========================================================================== */
.section-cta {
    background-image: url("/assets/images/sthlm-2000px.jpg");
}

.section-cta .text-block {
    padding: 5rem 4rem;
    border-radius: 1rem;
}

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

/* Offert/Kontaktformular
========================================================================== */
.section-contact .section-block-wrapper {
    justify-content: space-between;
}

.section-contact .col-0 {
    width: 60rem;
    max-width: calc(100% - 60rem);
}

.section-contact .col-1 {
    width: 100%;
    max-width: 55rem;
    padding: 3rem;
    border-radius: 1rem;
    background-color: rgb(var(--white-color));
}

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

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
}

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

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

/* ==========================================================================
Undersida: Medarbetarsidor
========================================================================== */
.section-coworker p {
    color: rgb(var(--white-color));
}

/* ==========================================================================
Undersida: Integritetspolicy
========================================================================== */
.section-info .text-block-center {
    max-width: 100rem;
}

@media only screen and (max-width: 580px) {
    .mearbetare-wrapper .card-body {
        padding: 1rem;
    }

    .mearbetare-wrapper .small-title {
        font-size: 1.6rem;
    }

    .mearbetare-wrapper .text-label {
        font-size: 1.3rem;
    }

    .mearbetare-wrapper .card-footer .link {
        padding: 1rem;
    }

    .mearbetare-wrapper a {
        font-size: 1.3rem;
    }
}

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

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

.footer-menu {
    margin: 1.5rem 0;
}

.footer-menu .list-links {
    column-count: 2;
    column-gap: 6rem;
}

.footer-menu:last-child {
    width: 15%;
}

.footer-menu:last-child {
    width: auto;
}

.footer p,
.footer a,
.footer li {
    color: rgba(var(--gray-color));
    font-weight: 400;
    font-size: 1.4rem;
}

.footer .small-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: rgb(var(--primary-color));
}

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

.footer a:hover {
    text-decoration: underline;
}

.footer .circle-icon {
    display: flex;
    width: 3.5rem;
    height: 3.5rem;
    color: rgb(var(--secondary-color));
}

.footer .circle-icon em {
    font-size: 0;
}

.footer .circle-icon:hover {
    text-decoration: none;
}

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

.footer-bottom p {
    font-size: 1.3rem;
    opacity: 0.8;
}

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

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

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

    .footer-top {
        justify-content: flex-start;
    }

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

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

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

    .footer .circle-icon {
        display: inline-flex;
    }

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

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

@media only screen and (max-width: 360px) {
    .footer-menu .list-links {
        column-count: 1;
    }
}