/* Svensk Fastighetslogistik AB */

/* Typsnitt */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap");

/* 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: 130rem;

    /* 	Colors */
    --primary-color: 3, 30, 104;
    --primary-light-color: 239, 244, 251;
    --secondary-color: 212, 38, 43;
    --secondary-dark-color: 173, 31, 35;

    --accent-green-color: 128, 152, 72;
    --accent-yellow-color: 219, 208, 83;
    --accent-blue-gray-color: 184, 189, 201;
    --theme-color: 190, 190, 190;

    --black-color: 17, 17, 17;
    --gray-dark-color: 68, 68, 68;
    --gray-light-color: 242, 242, 242;
    --white-color: 255, 255, 255;

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

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

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

.section-block-wrapper {
    max-width: var(--section-width);
}

.mw-1500 .section-block-wrapper {
    max-width: 150rem;
}

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

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

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

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

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

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

/* Margins */
.mt-3 {
    margin-top: 3rem;
}

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

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

/* Olika bredder */
.mw-70 {
    max-width: 50rem;
}

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

/* Rubriker */
.text-label {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 1em;
    color: rgb(var(--secondary-color));
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.3;
    padding-bottom: 0.5em;
    color: rgb(var(--black-color));
}

.small-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 2.1rem;
    line-height: 1.3;
    padding-bottom: 0.7em;
    color: rgb(var(--black-color));
}

.text-title {
    font-size: var(--base-size);
    font-weight: 700;
    color: rgb(var(--black-color));
    padding: 0 0 0.4em;
}

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

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

a {
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    color: var(--primary-color);
}

a:hover {
    text-decoration: none;
}

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

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

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

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

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 20rem;
    padding: 1.4rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1em;
    text-transform: uppercase;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
}

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

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

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

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

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

.btn.arrow-link {
    font-size: 1.4rem;
}

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

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

@media only screen and (max-width: 480px) {
    .btn:not(.kundzon-btn-mobile a) {
        display: block;
        width: 100%;
    }
}

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

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

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

.gradient-gray-primary {
    background-image: linear-gradient( to bottom, rgb(var(--gray-light-color)) 50%, rgb(var(--primary-color)) 50%);
}

.gradient-primary-gray {
    background-image: linear-gradient(to bottom, rgb(var(--primary-color)) 50%, rgb(var(--gray-light-color)) 50% );
}

.accent-green {
    --theme-color: var(--accent-green-color);
}

.accent-yellow {
    --theme-color: var(--accent-yellow-color);
}

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

.bg-gray-light-wave {
  background-image: url(/assets/images/topsection-divider.svg), linear-gradient(rgb(var(--white-color)), rgb(var(--white-color)));
}

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

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

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

/* Grafiska element
========================================================================== */
/* Lista check */
.list-check {
    padding: 0;
    list-style: none;
}

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

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

/* Lista piller */
.list-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100rem;
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

.list-pills li {
    display: flex;
    align-items: center;
    padding: 0.5rem 2rem 0.5rem 0.5rem;
    margin: .5rem;
    font-size: 1.5rem;
    border-radius: 4rem;
    color: rgb(var(--black-color));
    background: rgb(var(--primary-light-color));
}

.list-pills li::before {
    content: '\f00c';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin-right: 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    font-family: 'Font Awesome 5 Pro';
    border-radius: 50%;
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

@media only screen and (max-width: 580px) {
    .list-pills li {
        width: 100%;
        padding: 1rem;
        font-size: 1.4rem;
    }
}

/* Linje genom element */
.line-through-primary {
    position: relative;
}

.line-through-primary::before {
    position: absolute;
    content: '';
    display: block;
    height: calc(100% - 4rem);
    width: 2px;
    top: 2rem;
    left: 3.5rem;
    background-color: rgb(var(--primary-color));
}

@media only screen and (max-width: 650px) {
    .line-through-primary::before {
        left: 2rem;
    }
}

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

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

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

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

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

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

/* Genrellt */
a.card-item {
    transition: .3s ease;
}

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

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

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

/* Cards 1 */
.cards-1 .card-item {
    padding: 2rem;
    border-radius: 2px;
    background-color: rgb(var(--gray-light-color));
}

/* Cards 2 */
.cards-2 .card-item {
    display: flex;
    flex-direction: column;
    padding: 2rem 4rem 4rem;
    background-color: rgb(var(--white-color));
    border-radius: 2px;
    transition: 0.3s ease-in-out;
}

.cards-2 .icon-wrapper {
    width: 100%;
    text-align: right;
    padding-bottom: 2rem;
}

.cards-2 .icon {
    font-size: 5rem;
    color: rgb(var(--secondary-color));
}

.cards-2 .btn-wrapper {
    margin-top: auto;
    padding-top: 1rem;
}

.cards-2 .arrow-link {
    padding-bottom: 0;
}

@media only screen and (max-width: 1200px) {
    .cards-2 .card-item {
        padding: 2rem 2rem 4rem;
    }

    .cards-2 .icon {
        font-size: 3rem;
    }
}

/* Card 2-5 */
.card-2-5 .card-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

.card-2-5 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background-color: rgb(var(--white-color));
    border: 2px solid rgb(var(--primary-color));
}

.card-2-5 .card-icon {
    font-size: 3rem;
}

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

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

    .card-2-5 .card-header i,
    .card-2-5 .card-header .card-icon {
        font-size: 1.8rem;
    }
}

/* Cards 4 */
.cards-4 .card-item {
    display: flex;
    flex-direction: column;
    padding: 6rem 4rem 4rem;
    background-color: rgb(var(--white-color));
    border-radius: 2px;
    transition: 0.3s ease-in-out;
}

/* Första kortet */
.cards-4 .card-item.highlighted {
    background-image: linear-gradient(   rgba(var(--secondary-color), 0.8),   rgba(var(--secondary-color), 0.8)), url(/assets/images/fastighetslogik-lagenhetshus-balkonger-500.jpg);
    background-size: cover;
}

.cards-4 .card-item.highlighted * {
    color: rgb(var(--white-color));
}

/* End första kortet */
.cards-2 a.card-item:hover,
.cards-4 a.card-item:hover {
    text-decoration: none;
    transform: translateY(-1rem);
    transition: all 0.3s ease;
}

.cards-4 .small-title {
    border-bottom: 1px solid;
    padding: 0 0 1rem;
    margin-bottom: 2rem;
}

.cards-4 p {
    font-size: 1.4rem;
}

.cards-4 .btn-wrapper {
    margin-top: auto;
    padding-top: 2rem;
}

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

/* Cards 4-1*/
.card-4-1 .card-item {
    position: relative;
    width: 100%;
    padding: 2rem;
    margin: 0 0 3rem;
    background-color: rgb(var(--primary-color), 0.07);
    border-radius: 8px;
    border: 1px solid rgb(var(--primary-color), 0.3);
    box-shadow: 0 1rem 2rem rgb(var(--primary-color), 0.04);
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.card-4-1 .text-wrapper {
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.card-4-1 .small-title {
    line-height: 1;
    padding: 0;
    color: rgb(var(--primary-color));
}

.card-4-1 .small-title i {
    margin: 0 5px 0 0;
}

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

.card-4-1 .card-item:hover .small-title {
    color: rgb(var(--white-color));
}

/* Card 2-1 */
.card-2-1 .card-item {
    position: relative;
    width: 100%;
    padding: 3rem;
    background-color: rgb(var(--theme-color), 0.4);
    border-radius: 8px;
    border: 1px solid rgb(var(--theme-color), 0.3);
    box-shadow: 0 1rem 2rem rgb(var(--theme-color), 0.04);
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

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

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

.card-2-1 .small-title i {
    margin: 0 5px 0 0;
}

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

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

/* Cards 14 */
.cards-14 {
    max-width: 50rem;
}

.cards-14 .card-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding: 2rem;
    transition: all 0.3s ease;
}

.cards-14 a.card-item:hover {
    text-decoration: none;
    background-color: rgba(var(--black-color), 0.1);
    transition: all 0.3s ease;
}

.cards-14 i {
    width: 5rem;
    font-size: 3rem;
    color: rgb(var(--secondary-color));
}

.cards-14 p {
    padding-bottom: 0;
    font-size: 1.4rem;
}

.cards-14 .contact-info {
    font-size: 1.6rem;
    font-weight: 400;
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
}

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

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

.split-image {
    width: 45%;
}

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

/* Wide Split */
.wide-split .split-content {
    width: 55%;
}

.wide-split .split-image {
    width: 45%;
}

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

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

/* ALternativ split - om oss pa startsidan till exempel  */
.alternate-split .split-image {
    width: 60%;
}

.alternate-split .split-content {
    position: relative;
    z-index: 1;
    align-self: flex-end;
    width: 50%;
    margin-right: -10%;
    padding: 8rem 5rem 5rem;
    bottom: -5rem;
    background-color: rgb(var(--white-color));
}

@media only screen and (max-width: 1100px) {
    /*.split-content {
        padding: 6rem;
    }*/

    .wide-split .split-content,
    .split-wrapper .w-60,
    .split-wrapper .w-40 {
        width: 100%;
    }

    .split-content.no-bg {
        padding: 0 0 5rem;
    }

    .wide-split .split-image {
        width: 100%;
        max-height: 45rem;
    }
}

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

    .split-wrapper .w-60,
    .split-wrapper .w-40 {
        width: 100%;
    }

    .wide-split .split-content {
        padding: 5rem 2rem 3rem;
    }

    .text-split {
        padding: 5rem 2rem 3rem 2rem;
    }

    .text-split .split-content {
        padding-bottom: 2rem;
    }

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

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

    /* Alternate Split */
    .alternate-split .split-image {
        width: 100%;
        border-radius: 0;
    }

    .alternate-split .split-content {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding: 5rem 2rem 3rem;
        bottom: 0rem;
        border-radius: 0;
    }
}

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

    /* Alternate Split */
    .alternate-split .split-image {
        width: 100%;
    }

    .alternate-split .split-content {
        padding: 3rem 2rem;
    }
}

/* Header / Navigation
========================================================================== */
header .container {
    padding: 0 5rem;
    background-color: rgb(var(--white-color));
}

/* Top header */
.top-header {
    width: 100%;
    max-width: var(--section-width);
    height: 4rem;
    margin: 0 auto;
    border-bottom: 1px solid rgb(var(--gray-light-color));
    overflow: hidden;
    transition: .3s ease;
}

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

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

.top-header a {
    padding: 0 1rem;
    font-size: 1.4rem;
    text-decoration: none;
    transition: .2s ease;
}

.top-header a:hover {
    color: rgb(var(--primary-color));
}

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

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

.header-logo img {
    padding: 2rem 0;
}

/* Nav */
.mainmenu {
    width: 100%;
}

.TemplateMenu a {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0 1rem;
    color: rgb(var(--black-color));
}

.TemplateMenu > li > a:hover {
    color: rgb(var(--secondary-color));
}

/* Dropdown */
.TemplateMenu ul a {
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 3rem;
}

/* CTA  */
.cta-btn {
    display: flex;
    align-items: center;
    margin: 0 0 0 auto;
}

.TemplateMenu .cta-btn a,
header.scrolled .TemplateMenu .cta-btn a {
    line-height: 1;
    color: rgb(var(--white-color));
    padding: 1.4rem 2rem;
    min-width: unset;
}

.TemplateMenu .cta-btn a:hover {
    color: rgb(var(--white-color));
}

/* Mobilmeny */
.mobile-menu .container {
    height: var(--mobile-menu-height);
}

.mobile-menu .header-logo img {
    padding: 1.5rem 0;
}

.mobile-menu .hamburger {
    margin: 0 -1rem 0 auto;
}

.mobile-menu .TemplateMenu,
.mobile-menu .Padding {
    flex-direction: column;
    height: 100%;
    padding-bottom: 2.5rem;
}

.mobile-menu .TemplateMenu a {
    padding: 0 2rem;
}

.mobile-menu .TemplateMenu .cta-btn {
    margin-top: auto;
    padding: 0 2rem;
}

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

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

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

/* Top-section
========================================================================== */
.top-section {
    z-index: 1;
    height: auto;
    min-height: calc(95vh - var(--menu-height));
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to left, rgb(var(--black-color), .4),   rgba(var(--primary-color), 0.9) ),
        url(/assets/images/fastighetslogik-cover.jpg);
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

.top-section:after {
    content: "";
    display: block;
    position: absolute;
    width: 100vw;
    height: 30rem;
    background: url(/assets/images/topsection-divider.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    left: 0;
    bottom: -1px;
    z-index: 0;
    pointer-events: none;
}

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

.top-section .text-block {
    max-width: 120rem;
    padding: 0 5rem;
}

.top-section .section-title {
    font-size: 6rem;
    font-weight: 400;
    color: rgb(var(--white-color));
    padding: 0 0 0.5em;
    line-height: 1.2em;
}

@media only screen and (max-width: 1200px) {
    .top-section .text-block {
        max-width: 100rem;
        padding: 0 2rem;
    }

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

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

    .top-section:after {
        height: 10rem;
    }
}

@media only screen and (max-width: 580px) {
    .top-section:after {
        height: 5rem;
    }

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

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

/* Sektion Klienter (.section-clients)
========================================================================== */
.section-clients .cards-wrapper {
    position: relative;
    z-index: 1;
    top: -20rem;
    margin: 0 -1rem -10rem;
}

@media only screen and (max-width: 1000px) {
    .section-clients .cards-wrapper {
        top: -9rem;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Sektion Kontkat CTA - boka ett mÃ¶te
========================================================================== */
.section-cta .section-block {
    padding-top: 10rem;
    padding-bottom: 0;
    position: relative;
    /*background-image: linear-gradient(
        to bottom,
        rgb(var(--gray-light-color)) 60%,
        rgb(var(--primary-color)) 60%
    );*/
}

.cta-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: rgb(var(--white-color));
    width: 100%;
    padding: 5rem 4rem;
    border-radius: 8px;
    text-align: left;
}

.cta-content {
    width: calc(100% - 26rem);
}

.cta-wrapper .btn-wrapper {
    align-self: center;
    margin: 0;
    width: 26rem;
    padding-left: 4rem;
}

.cta-title {
    padding-bottom: 1rem;
}

@media only screen and (max-width: 1000px) {
    .cta-wrapper {
        flex-wrap: wrap;
    }

    .cta-content {
        padding: 0 0 2rem;
    }

    .cta-content {
        width: 100%;
    }

    .cta-wrapper .btn-wrapper {
        width: 100%;
    }

    .section-cta.padding .section-block {
        padding-top: 5rem;
    }
}

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

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

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

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

/* Hero
========================================================================== */
.hero .section-block {
    padding: 20rem 5rem 10rem;
    background-image: linear-gradient(
        to left,
        rgba(var(--black-color), 0.4),
        rgba(var(--primary-color), 0.9)
    );
}

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

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

@media only screen and (max-width: 1200px) {
    .hero .section-title {
        font-size: 5rem;
    }
    .hero .small-title {
        font-size: 2rem;
    }
}

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

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

@media only screen and (max-width: 580px) {
    .hero .section-block {
        padding: 15rem 2rem 5rem;
    }
    .hero .section-title {
        font-size: 3rem;
    }
    .hero .small-title {
        font-size: var(--base-size);;
    }
}

/* Sektion Galleri
========================================================================== */
.gallery-wrapper {
    display: flex;
}

.gallery-wrapper .image-wrapper {
    position: relative;
    padding: 0;
    margin: 0;
}

@media only screen and (max-width: 1200px) {
    .gallery-wrapper {
        flex-wrap: wrap;
    }

    .gallery-wrapper .image-wrapper {
        width: calc(100% / 3);
    }
}

@media only screen and (max-width: 600px) {
    .gallery-wrapper .image-wrapper {
        width: calc(100% / 2);
    }
}

/* ==========================================================================
Undersida: Underhållsplan
========================================================================== */
/* Logga i text */
.logo-in-text {
    max-width: 20rem;
}

@media only screen and (max-width: 580px) {
.logo-in-text {
        max-width: 15rem;
    }
}

/* ==========================================================================
Undersida: Vanliga fragor
========================================================================== */

.accordion-wrapper {
    max-width: 90rem;
    margin: 0rem auto 0;
}

.accordion-item {
    margin: 0 0 2rem;
    align-self: flex-start;
    background-color: rgb(var(--primary-light-color));
    border-radius: 5px;
}

.accordion-header {
    z-index: 2;
    position: relative;
    cursor: pointer;
    padding: 2rem 9rem 2rem 2rem;
    background-color: rgb(var(--primary-color));
    border-radius: 5px;
}

.accordion-button {
    display: flex;
    justify-content: center;
    align-items: center;
    appearance: none;
    font-size: 0;
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 5rem;
    cursor: pointer;
    background-color: rgb(var(--primary-light-color));
    color: rgb(var(--primary-color));
    border: none;
}

.accordion-button::before {
    content: "\f078";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 1.6rem;
    display: block;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-button::before {
    transition: all 0.3s ease;
    transform: rotate(180deg);
}

.accordion-content {
    padding: 2.5rem 4rem;
}

.accordion ul {
    margin: 0;
    padding: 2rem 0 0;
    columns: 2;
}

.accordion li {
    font-size: 1.4rem;
    line-height: 1.8;
    padding-bottom: 1rem;
    margin: 0;
}

@media only screen and (max-width: 580px) {
    .accordion-header {
        padding: 1.5rem 5rem 1.5rem 1rem;
    }

    .accordion-title {
        font-size: 1.6rem;
    }

    .accordion-content {
        padding: 2.5rem 1rem;
        column-count: 1;
        column-gap: 0;
    }

    .accordion-button {
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }

    .accordion-button::before,
    .accordion-button::after {
        font-size: 1rem;
    }

    .accordion ul {
        columns: 1;
    }
}

.section-form .layout-2 .col-1 {
    position: relative;
    padding: 3rem;
    background-color: rgb(var(--white-color));
    border-radius: 1rem;
    margin-top: -15rem;
    box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 7%);
}

.section-form.p-0 .layout-2 .col-1 {
    padding: 3rem;
    background-color: rgb(var(--white-color));
    border-radius: 1rem;
    margin-top: 0rem;
    box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 7%);
}

@media only screen and (max-width: 1100px) {
    .section-form .layout-2 .col-0 {
        width: 100%;
    }

    .section-form .layout-2 .col-1 {
        width: 100%;
        padding: 3rem;
        background-color: rgb(var(--white-color));
        border-radius: 1rem;
        margin-top: 3rem;
        box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 7%);
    }
}

@media only screen and (max-width: 580px) {
    .section-form .layout-2 .col-1 {
        padding: 2rem;
    }
}

/* ==========================================================================
Undersida: Anmalan
========================================================================== */
.sub-anmalan {
    background-color: rgb(var(--gray-light-color));
}

/* Header
========================================================================== */
.sub-anmalan header {
    display: none;
}

/* Hero
========================================================================== */
.sub-anmalan .hero h1 {
    margin-bottom: 5rem;
    text-align: center;
}

/* Anmalan
========================================================================== */
.sub-anmalan .section-block-wrapper {
    justify-content: space-between;
    max-width: 140rem;
}

.sub-anmalan .section-form .col-0 {
    width: 50%;
}

.sub-anmalan .section-form .col-1 {
    max-width: 60rem;
    width: 50%;
    margin-top: 0;
}

@media only screen and (max-width: 1350px) {
    .sub-anmalan .section-form .col-1 {
        max-width: 45rem;
    }
    
    .sub-anmalan .section-form .col-1 .mb-3 {
        margin-bottom: 0;
    }
    
    .sub-anmalan .section-form .col-1 iframe {
        margin-top: -4rem;
    }
}

@media only screen and (max-width: 980px) {
    .sub-anmalan .section-form .col-0 {
        width: 100%;
    }
    
    .sub-anmalan .section-form .col-1 {
        max-width: none;
        width: 100%;
        margin-top: 5rem;
    } 
}

/* Footer
========================================================================== */
.sub-anmalan footer {
    display: none;
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ContactForm div {
    width: 49%;
}

.ContactForm .ContactFormField:has(.field-4),
.ContactForm .ContactFormField:has(textarea),
.ContactForm .checkbox-field,
.ContactForm .checkbox-field .group-wrapper,
.ContactForm .checkbox-field .group-wrapper .checkbox-option {
    width: 100%;
}

.ContactForm textarea {
    height: 15rem
}

input[type="radio"], input[type="checkbox"] {
    margin: 0 2rem 0 0.3rem;
}

.ContactForm p {
    color: rgb(var(--primary-color));
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.ContactForm input[type="text"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm input[type="number"],
.ContactForm textarea {
    border: 1px solid rgb(var(--accent-blue-gray-color));
    border-radius: 4px;
}

.ContactForm input[type="text"]:hover,
.ContactForm input[type="email"]:hover,
.ContactForm input[type="tel"]:hover,
.ContactForm input[type="number"]:hover,
.ContactForm textarea:hover {
    border: 1px solid rgb(var(--primary-color));
}
  
.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm input[type="number"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--gray-light-color));
}

.ContactForm .submit-button-container {
    width: 100%;
    text-align: center;
}

.ContactSubmit {
    margin: 0;
    width: 49%;
}

.ContactSentMessage {
    padding: 1rem;
    text-align: center;
}

@media only screen and (max-width: 600px) {
    .ContactForm div {
        width: 100%;
    }
    .ContactSubmit {
        width: 100%;
    }
}

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

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

/* 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), 0.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));
    text-decoration: none;
}

.footer a:not(.circle-icon):hover {
    text-decoration: underline;
    transition: 0.3s ease;
}

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

/* ==========================================================================
Undersida: Kundzon
========================================================================== */

/* Generellt
========================================================================== */
.kundzon header,
.kundzon .footer {
    display: none;
}

.EditMode.kundzon header {
    display: block;
}

.kundzon .section-block {
    padding: 5rem 3rem;
}

.kundzon .section-title,
.kundzon .small-title {
    font-weight: 700;
}

.long-form-text p {
    font-size: 1.8rem;
    line-height: 2;
    padding: 0 0 1em;
}

/* Layout */
.kundzon .LayoutPage {
    margin-left: 20rem;
}

.EditMode.kundzon .LayoutPage {
    margin-left: 0;
}

.kundzon .menu-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 20rem;
    background-color: rgb(var(--primary-light-color));
    border-right: 1px solid rgb(var(--primary-color), 0.1);
}

.EditMode.kundzon .menu-area {
    position: relative;
    width: auto;
}

.kundzon .menu-area .section-block {
    padding: 0;
}

.portal-main-section .col-1 {
    position: relative;
}

.portal-main-section .col-1::after {
    position: absolute;
    content: "";
    display: block;
    height: 100%;
    width: 1px;
    background-color: rgb(var(--primary-color), 0.5);
    left: 0;
    top: 0;
}

@media only screen and (max-width: 1100px) {
    .portal-main-section.aside-before .col-block {
        width: 100%;
    }

    .aside-before .col-0 {
        order: 1;
    }

    .aside-before .col-1 {
        order: 0;
    }

    .portal-main-section.aside-before .col-1 {
        padding-top: 0;
        padding-bottom: 2rem;
        margin-bottom: 3rem;
        margin-top: 0;
    }

    .portal-main-section.aside-before .col-1::after {
        bottom: 0;
        top: auto;
    }
}

@media only screen and (max-width: 980px) {
    .kundzon .LayoutPage {
        margin: 0;
    }

    .kundzon .section-block {
        padding: 5rem 2rem;
    }

    .kundzon .menu-area {
        width: 100%;
        position: -webkit-sticky;
        position: sticky;
        z-index: 10;
        top: 0;
        align-self: flex-start;
    }

    .portal-main-section .col-1 {
        padding-top: 2rem;
        margin-top: 3rem;
    }

    .portal-main-section .col-1::after {
        width: 100%;
        height: 1px;
    }
}

/* Hero
========================================================================== */
.portal-hero .section-block {
    padding: 15rem 3rem 0;
}

.portal-hero .section-block-wrapper {
    padding-bottom: 10rem;
}

.portal-hero.bg-image .section-block {
    background-color: rgb(var(--primary-color), 0.3);
    padding: 25rem 3rem 0;
}

.portal-hero.has-graphics {
    position: relative;
}

.portal-hero.has-graphics::after {
    position: absolute;
    content: "";
    display: block;
    height: 100%;
    width: 40%;
    right: 0;
    top: 0;
    background-image: url(/assets/images/kundzon/anslutna-bostadshus-1920.jpg);
    background-size: cover;
    background-position: center;
    clip-path: polygon(5rem 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Rubrik */
.portal-hero h1 {
    padding: 0;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: rgb(var(--white-color));
    text-align: left;
    font-size: 4rem;
}

.portal-hero p {
    color: rgb(var(--white-color));
    max-width: 65rem;
    padding: 1em 0 0;
}

@media only screen and (max-width: 1000px) {
    .portal-hero.bg-image .section-block {
        padding: 10rem 2rem 0;
    }

    .portal-hero .section-block-wrapper {
        padding-bottom: 3rem;
    }

    /* Rubrik */
    .portal-hero h1 {
        font-size: 2.5rem;
    }
}

@media only screen and (max-width: 750px) {
    .portal-hero.has-graphics::after {
        display: none;
    }
}

/* Meny
========================================================================== */
.portal-menu {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 3rem;
    overflow: auto;
}

.portal-logo {
    margin: 0 0 5rem;
}

.portal-nav {
    margin: 0 0 auto 0;
    width: 100%;
}

.portal-nav ul {
    position: relative;
    list-style: none;
    margin: 0 -3rem 0 -2rem;
    padding: 0;
}

.portal-nav ul a {
    display: block;
    text-decoration: none;
    font-size: 1.4rem;
    padding: 5px 3rem 3px 1rem;
    margin: 0 0 1rem;
    border-radius: 2rem 0 0 2rem;
}

.portal-nav ul a:hover {
    color: rgb(var(--primary-color));
}

.portal-nav ul a.active {
    color: rgb(var(--secondary-color));
    background-color: rgb(var(--white-color));
    font-weight: 700;
}

.portal-nav ul a i {
    width: 3rem;
    text-align: center;
}

.portal-nav ul a.active i::before {
    font-weight: 700;
}

.portal-menu .back-btn {
    text-decoration: none;
    font-size: 1.2rem;
}

.portal-menu .back-btn i {
    color: rgb(var(--secondary-color));
}

.portal-menu .back-btn:hover i::before {
    font-weight: 700;
}

@media only screen and (max-width: 980px) {
    .portal-menu {
        height: auto;
        padding: 1rem 2rem;
        overflow: hidden;
    }

    .portal-logo {
        border-bottom: 1px solid rgb(var(--primary-color), 0.1);
        padding: 0 0 1rem;
        margin: 0 0 1rem;
    }

    .portal-logo a {
        width: 10rem;
    }

    .portal-nav {
        width: auto;
        margin: 0 -2rem;
        overflow: auto;
    }

    .portal-nav ul {
        margin: 0;
        padding: 0 2rem;
        display: flex;
    }

    .portal-nav ul a {
        display: flex;
        align-items: center;
        white-space: nowrap;
        padding: 2px 10px;
        border-radius: 2rem;
    }

    .portal-menu-footer {
        display: none;
    }
}

/* Popout
========================================================================== */
.popout {
    --base-size: 1.4rem;

    position: fixed;
    z-index: 5;
    bottom: 3rem;
    right: 0;
    display: flex;
    flex-direction: row-reverse;
    padding: 0 2rem;
}

.popout .text-wrapper {
    position: relative;
    right: 0;
    padding: 1rem;
    margin: 0 1rem 0 0;
    border-radius: 3px;
    box-shadow: 0 1rem 2rem rgb(var(--black-color), 0.1);
    background-color: rgb(var(--white-color));
    transition: all 0.5s ease;
    opacity: 1;
}

header.scrolled + main .popout .text-wrapper {
    right: -100%;
    transition: all 0.5s ease;
    opacity: 0;
}

header.scrolled + main .popout .image-wrapper:hover + .text-wrapper {
    right: 0;
    transition: all 0.5s ease;
    opacity: 1;
}

.popout .text-wrapper p {
    font-size: 1.2rem;
    padding: 0;
}

.popout .image-wrapper {
    position: relative;
    z-index: 2;
    width: 8rem;
    height: 8rem;
    padding: 3px;
    border-radius: 50%;
    background-color: rgb(var(--white-color));
    box-shadow: 0 1rem 2rem rgb(var(--black-color), 0.1);
}

.popout .image-wrapper img {
    border-radius: 50%;
}

/* Kundzon Startsida
========================================================================== */
/* Nyheter */
.portal-news {
    margin: 0;

    --base-size: 1.4rem;
}

.portal-news .card-item {
    margin: 0 0 1rem;
}

/* ==========================================================================
Undersida: Kundzon > Formularsidor 
========================================================================== */
.form-container {
    max-width: 65rem;
    margin: 0;
    border: 1px solid rgb(var(--gray-light-color));
    padding: 3rem;
}

/* ==========================================================================
Undersida: Tips och rad > Enskild undersida
========================================================================== */
/* Article figure */
.article-figure {
    position: relative;
    border-radius: 3px;
    margin: 2rem 0 1rem;
    padding: 3rem;
    background-color: rgb(var(--primary-light-color));
}

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

.article-figure figcaption {
    font-size: 1.4rem;
    margin: 1rem auto 0;
    text-align: center;
    color: rgb(var(--primary-color));
}

/* ==========================================================================
Undersida: Kundzon > Prislista 
========================================================================== */
/* Prislista */
.price-wrapper {
    padding-bottom: 4rem;
}

.price-wrapper .price-item {
    padding-bottom: 3rem;
}

.price-item h3 {
    display: flex;
    justify-content: space-between;
    border-bottom: 0.5px dotted rgb(var(--secondary-color));
    font-size: 1.6rem;
}

.price-item .price-description {
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.8em;
    color: rgb(var(--gray-dark-color));
    font-style: italic;
}

.price-item .grid-price {
    font-weight: 400;
    color: rgb(var(--gray-dark-color));
}

/* ==========================================================================
Undersida: Kundzon > Entreprenadlistan 
========================================================================== */

.partners .card-item {
    margin-bottom: 3rem;
    padding: 2rem;
    border: 1px solid rgb(var(--gray-light-color));
}

.partners .image-wrapper {
    width: 10rem;
    margin: 0 0 3rem;
}

.partners .small-title {
    padding: 0 0 5px;
    margin: 0 0 5px;
    border-color: rgb(var(--gray-light-color));
}

.partners button.arrow-link {
    appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    margin: 1rem 0 0;
    font-size: 1.4rem;
}


/* ==========================================================================
Undersida: Underhållsplan ny desaign
========================================================================== */


/* Split
========================================================================== */

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

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

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

  .ny-design .split-content {
    padding: 3rem 2rem 3rem 2rem;
  }
}