/* Edres Bygg AB */

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

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* Colors */
    --primary-color: 196, 151, 74;
    --primary-light-color: 232, 201, 138;
    --secondary-color: 45, 74, 62;
    --secondary-light-color: 95, 117, 106;

    --beige-accent-color: 245, 240, 232;

    --obruten-vit: 245, 242, 236;
    --varm-vit: 237, 229, 216;
    --varm-gra: 200, 191, 176;
    --djupgron: 42, 56, 48;

    --black-color: 28, 28, 26;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 175, 175, 175;
    --gray-light-color: 237, 237, 237;
    --white-color: 255, 255, 255;

    /* Layout */
    --col-padding: 5rem;
    --menu-height: 7.5rem;
    --menu-height-scrolled: 7.5rem;
    --section-width: 160rem;

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

    /* Mobile nav */
    --activate-mobile-menu: 1200;
    --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,
.section-block-padding {
    padding: 10rem 5rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.mw-50 {
    max-width: 50rem;
}

/* Ovriga klasser */
.align-center,
.align-center .section-block-wrapper {
    align-items: center;
}

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

    .section-block,
    .section-block-padding {
        padding: 8rem 3rem;
    }
}

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

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

    /* Paddings */
    .pl-3 .section-block,
    .pl-3:not(.section-wrapper) {
        padding-left: 2rem;
    }
}

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

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgb(var(--black-color));
}

.text-label::before {
    content: '';
    position: relative;
    right: 1.3rem;
    display: inline-block;
    height: 0.1rem;
    width: 2.5rem;
    margin-bottom: .3em;
    margin-left: 1.3rem;
    border-bottom: 1px solid currentColor;
}

.section-title {
    padding-bottom: .3em;
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(var(--black-color));
}

.small-title {
    padding-bottom: .4em;
    font-size: 2.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgb(var(--black-color));
}

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

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

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

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

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

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

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

.text-uppercase {
    text-transform: uppercase;
}

/* Listor */
.list-pills {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    gap: 1.5rem;
}

.list-pills li {
    padding: .8rem 3rem;
    font-size: var(--base-size);
    border-radius: 0 0 0 1rem;
}

/* List-circle */
.list-circle {
    padding: 0;
    list-style: none;
}

.list-circle li::before {
    content: '\f111';
    padding: 0 1rem 0 0;
    font-weight: 700;
    font-size: .6rem;
    font-family: 'Font Awesome 5 Pro';
    position: relative;
    bottom: .3rem;
}

.list-circle.primary li::before {
    color: rgb(var(--primary-color))
}

.list-circle.secondary li::before {
    color: rgb(var(--secondary-color))
}

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

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

@media only screen and (max-width: 580px) {
    .text-label {
        font-size: 1.1rem;
    }

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

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

/* 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: 5px;
    font-size: 1.4rem;
    font-weight: 400;
    border-radius: 0 0 0 1rem;
    text-align: center;
    text-decoration: none;
    letter-spacing: .5px;
    transition: .3s ease;
    border: 1px solid;
}

.btn.arrow::after {
    content: '\f178';
    margin-left: .9rem;
    font-family: 'Font Awesome 5 Pro';
    position: relative;
    left: 0;
    transition: .3s ease;
}

.btn.arrow:hover::after {
    left: .7rem;
}

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

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

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

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

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

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

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

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

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

.arrow-link::after {
    content: '\f178';
    margin-left: 1rem;
    font-weight: 300;
    font-family: 'Font Awesome 5 Pro';
    position: relative;
    left: 0;
    transition: left .3s ease;
}

.arrow-link:hover::after,
a.card-item:hover .arrow-link::after {
    left: .7rem;
}

/* Arrow link med plus */
.arrow-link.plus::after {
    display: inline-block;
    content: ' \f067';
}

.arrow-link.plus:hover::after,
a.card-item:hover .arrow-link.plus::after {
    transform: rotate(45deg);
}

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

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

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

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

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

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

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

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

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

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

/* Gradient */
.gradient-beige-secondary {
    background: linear-gradient(to right, rgb(var(--beige-accent-color)) 50%, rgb(var(--secondary-color)) 50%);
}

@media only screen and (max-width: 980px) {
    .gradient-beige-secondary {
        background: linear-gradient(to right, rgb(var(--beige-accent-color)) 100%);
    }

    .gradient-beige-secondary .col-1 {
        background-color: rgb(var(--secondary-color));
        margin-top: 3rem;
        padding: 4rem;
    }
}

@media only screen and (max-width: 580px) {
    .gradient-beige-secondary .col-1 {
        padding: 2rem;
    }
}

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

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

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

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

/* Grafiska element
========================================================================== */
/* Border radius */
.br-bl-3 {
    border-bottom-left-radius: 3rem;
    overflow: hidden;
}

/* Borders */
.border-primary {
    border: 1px solid rgb(var(--primary-color));
}

.border-top-primary {
    border-top: 1px solid rgb(var(--primary-color));
}

.border-left-primary {
    border-left: 1px solid rgb(var(--primary-color));
}

@media screen and (max-width: 580px) {
    .border-left-primary {
        border-left: 2px solid rgb(var(--primary-color));
    }
}

.border-gray-dark {
    border: 1px solid rgb(var(--gray-dark-color));
}

.border-bottom-gray-dark {
    border-bottom: 1px solid rgb(var(--gray-dark-color));
}

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

.line-through-primary::before {
    position: absolute;
    content: '';
    display: block;
    height: 1px;
    top: 3.5rem;
    left: 1rem;
    right: 1rem;
    background-color: rgb(var(--primary-color));
    z-index: 0;
}

@media only screen and (max-width: 1050px) {
    .line-through-primary::before {
        content: unset;
    }
}

/* Bakgrundsbilder och videos
========================================================================== */
.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;
}

.section-wrapper:not(.mw-none) .cards-wrapper:not(.w-100, .w-25-0, .scroll-wrapper) {
    margin-left: -1rem;
    margin-right: -1rem;
}

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

/* Bredder utan margin */
.cards-wrapper.w-25-0 .card-item {
    width: calc((100% / 4));
}

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

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

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

    /* Bredder utan margin */
    .cards-wrapper.w-25-0 .card-item {
        width: calc((100% / 2));
    }
}

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

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

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

    /* Bredder utan margin */
    .cards-wrapper.w-25-0 .card-item {
        width: calc((100% / 2));
    }

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

@media only screen and (max-width: 580px) {
    .LayoutPage .section-wrapper:not(.mw-none) .cards-wrapper {
        margin-left: 0;
        margin-right: 0;
    }

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

    /* Bredder utan margin */
    .cards-wrapper.w-25-0 .card-item {
        width: 100%;
    }

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

/* Card 2-2 */
.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    transition: .3s ease;
    position: relative;
    z-index: 1;
}

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

.card-2-2 .card-header i,
.card-2-2 .card-header p {
    font-size: 2rem;
    font-weight: 200;
}

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

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
}

.card-2-4 .card-header {
    width: 4rem;
    flex-shrink: 0;
}

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

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

.card-2-4 .card-body p {
    line-height: 1;
}

/* Card 2-5 */
.card-2-5 .card-item {
    display: flex;
}

.card-2-5 .card-header {
    display: inline-flex;
    justify-content: center;
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    transition: .3s ease;
}

.card-2-5 a.card-item:hover .card-header.bg-secondary {
    background-color: rgb(var(--primary-color));
}

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

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

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

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

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

/* Fore och efter */
.split-image.image-after-before img {
    position: absolute;
    inset: 0;
}

.split-image.image-after-before img.image-before {
    z-index: 1;
    opacity: 0;
    transition: .3s ease;
}

/* Dator: hovra for att se bilden innan */
@media (hover: hover) {
    .split-image.image-after-before:hover img.image-before {
        opacity: 1;
    }
}

/* Mobil/touch: tryck for att vaxla fram och tillbaka */
@media (hover: none) {
    .split-image.image-after-before.is-active img.image-before {
        opacity: 1;
    }
}

.split-image-text {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 1rem;
    z-index: 2;
    background: rgba(var(--black-color), 0.8);
    padding: 0.5rem 1rem;
}

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

@media screen and (max-width: 1000px) {
    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

    .split-content {
        width: 100%;
        max-width: 65rem;
        padding: 0 0 3rem;
        background: transparent;
    }

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

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

    /* Fore och efter */
    .image-after-before {
        aspect-ratio: 3 / 2;
    }
}

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

header:not(.scrolled) {
    background-color: transparent;
    border: transparent;
}

/* Header logo */
header.scrolled .header-logo,
header.active-menu .header-logo {
    filter: brightness() invert();
}

.header-logo {
    flex: 1 1 0px;
}

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

header:not(.scrolled, .mobile-menu) .TemplateMenu>li:not(.active)>a:not(:hover) {
    color: rgb(var(--white-color));
}

/* Dolj hem */
body:not(.EditMode) .TemplateMenu>li:nth-child(1) {
    display: none;
}

/* Dropdown */
header:not(.mobile-menu) .TemplateMenu>li>ul {
    width: 22rem;
    background-color: rgb(var(--white-color));
    border: 1px solid rgb(var(--gray-light-color));
    border-radius: 0 0 0 1rem;
}

header:not(.mobile-menu) .TemplateMenu>li>ul a {
    padding: 1.5rem 2rem;
    line-height: 1.2;
}

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

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

/* Mobilmeny */
.mobile-menu:not(.scrolled, .active-menu) {
    --menu-color: var(--white-color);
}

.mobile-menu .TemplateMenu li {
    padding: 0 2rem;
    text-align: center;
}

.mobile-menu .TemplateMenu ul a {
    line-height: 4rem;
    text-transform: none;
}

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

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 100dvh;
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1);
    background-color: rgb(var(--black-color), .6);
    padding-bottom: 6.2rem;
}

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

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

.top-section .section-title {
    font-size: 6.5rem;
    line-height: 1.1;
}

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

@media only screen and (max-width: 1050px) {
    .top-section {
        padding-bottom: 12.2rem;
    }
}

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

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

/* Top-section med USPs (.section-usp-top-section)
========================================================================== */
body:not(.EditMode) .section-usps-top-section .cards-wrapper {
    position: relative;
    margin-top: -6.2rem;
    border-top: 1px solid rgba(var(--white-color), .3);
}

.section-usps-top-section .cards-wrapper .card-item {
    width: calc(100% / 4);
    border-right: 1px solid rgba(var(--white-color), .3);
}

.section-usps-top-section .cards-wrapper:first-child {
    border-left: 1px solid rgba(var(--white-color), .3);
}

@media only screen and (max-width: 1050px) {
    body:not(.EditMode) .section-usps-top-section .cards-wrapper {
        margin-top: -12.2rem;
    }

    .section-usps-top-section .cards-wrapper .card-item {
        width: calc(100% / 2);
    }

    .section-usps-top-section .cards-wrapper .card-item:nth-last-child(-n+2) {
        border-top: 1px solid rgba(var(--white-color), .3);
    }
}

@media only screen and (max-width: 580px) {
    body:not(.EditMode) .section-usps-top-section .cards-wrapper {
        margin-top: -24.3rem;
        border-top: none;
    }

    .section-usps-top-section .cards-wrapper .card-item {
        width: 100%;
        border-top: 1px solid rgba(var(--white-color), .3);
    }
}

/* Vilka vi ar (.section-about)
========================================================================== */
@media only screen and (max-width: 1050px) {
    .section-about .cards-wrapper.w-33.card-count {
        margin-left: 0;
        margin-right: 0;
    }

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

/* Omdomen
========================================================================== */
.section-scroll {
    overflow: hidden;
}

.quotes-wrapper .stars i {
    font-size: 2rem;
    color: rgb(var(--primary-light-color))
}

/* Split text */
.split-text {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.split-text .btn-wrapper {
    margin-top: 0;
}

@media only screen and (max-width: 1050px) {
    .split-text {
        flex-direction: column;
        align-items: flex-start;
    }

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

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin-bottom: 5rem;
}

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
}

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
}

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 0;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -4rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    opacity: 1;
    background-color: rgb(var(--secondary-color));
}

.scroll-wrapper .slick-arrow:hover {
    background-color: rgb(var(--secondary-light-color));
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--white-color));
    font-size: 2.1rem;
}

.scroll-wrapper .slick-arrow:hover::after {
    color: rgb(var(--black-color));
}

.scroll-wrapper .slick-next {
    right: 2rem;
}

.scroll-wrapper .slick-prev {
    left: auto;
    right: 6rem;
}

/* CTA-sektion
========================================================================== */
.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: 100dvh;
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1);
    background-color: rgb(var(--black-color), .6);
}

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

.hero .text-block {
    max-width: 57rem;
}

.hero .section-title {
    font-size: 6.5rem;
    line-height: 1.1;
}

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

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

/* Hero - med kolumner
========================================================================== */
.hero.hero-columns .section-block {
    align-self: stretch;
}

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

.hero.hero-columns .col-0 {
    display: flex;
    align-items: center;
}

.hero.hero-columns .col-1 {
    display: flex;
    align-items: flex-end;
}

.hero.hero-columns .col-wrapper {
    width: 100%;
}

@media only screen and (max-width: 1150px) {
    .hero.hero-columns .col-0 {
        width: 100%;
        padding-right: 0;
    }

    .hero.hero-columns .col-1 {
        width: 100%;
        margin-top: 3rem;
        padding-left: 0;
    }
}

@media only screen and (max-width: 580px) {
    .hero.hero-columns .col-1 .p-3 {
        padding: 2rem;
    }
}

/* Hero - med section usp
========================================================================== */
.hero.hero-usp {
    padding-bottom: 6.2rem;
}

@media only screen and (max-width: 1050px) {
    .hero.hero-usp {
        padding-bottom: 12.2rem;
    }
}

@media only screen and (max-width: 580px) {
    .hero.hero-usp {
        padding-bottom: 24.3rem;
    }
}

/* USPs i hero (.section-usp-hero)
========================================================================== */
body:not(.EditMode) .section-usps-hero .cards-wrapper {
    position: relative;
    margin-top: -6.2rem;
    border-top: 1px solid rgba(var(--white-color), .3);
}

.section-usps-hero .cards-wrapper .card-item {
    width: calc(100% / 4);
    border-right: 1px solid rgba(var(--white-color), .3);
}

.section-usps-hero .cards-wrapper:first-child {
    border-left: 1px solid rgba(var(--white-color), .3);
}

@media only screen and (max-width: 1050px) {
    body:not(.EditMode) .section-usps-hero .cards-wrapper {
        margin-top: -12.2rem;
    }

    .section-usps-hero .cards-wrapper .card-item {
        width: calc(100% / 2);
    }

    .section-usps-hero .cards-wrapper .card-item:nth-last-child(-n+2) {
        border-top: 1px solid rgba(var(--white-color), .3);
    }
}

@media only screen and (max-width: 580px) {
    body:not(.EditMode) .section-usps-hero .cards-wrapper {
        margin-top: -24.3rem;
        border-top: none;
    }

    .section-usps-hero .cards-wrapper .card-item {
        width: 100%;
        border-top: 1px solid rgba(var(--white-color), .3);
    }
}

/* Accordion
========================================================================== */
.accordion-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.accordion-item {
    width: 100%;
    transition: .3s ease;
    border-bottom: 1px solid rgb(var(--gray-dark-color));
    cursor: pointer;
}

.accordion-header {
    position: relative;
    width: 100%;
    padding: 2rem 6rem 2rem 2rem;
    text-decoration: none;
}

.accordion-header::after {
    content: "\f067";
    position: absolute;
    top: 2.2rem;
    right: 2rem;
    font-size: 1.2rem;
    font-weight: 300;
    font-family: "Font Awesome 5 Pro";
    color: rgb(var(--primary-color));
    transition: .3s ease;
    border: 1px solid rgb(var(--gray-dark-color));
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    align-content: center;
    text-align: center;
}

.accordion-header:hover::after {
    color: rgb(var(--white-color));
    background-color: rgb(var(--gray-dark-color));
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-header p {
    transition: .3s ease;
}

.accordion-header:hover p {
    opacity: .5;
}

.accordion-body {
    padding: 0 2rem 2rem;
}

.accordion-body p {
    font-size: 1.5rem;
}

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

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

    .accordion-header::after {
        right: 0;
        top: 1.4rem;
    }

    .accordion-body {
        padding: 0 0 1.5rem;
    }
}

/* ==========================================================================
Undersida: Maleri
========================================================================== */

/* Kulorval
========================================================================== */
.obruten-vit {
    background: rgb(var(--obruten-vit));
}

.varm-vit {
    background: rgb(var(--varm-vit));
}

.varm-gra {
    background: rgb(var(--varm-gra));
}

.djupgron {
    background: rgb(var(--djupgron));
}

/* ==========================================================================
Undersida: Totalrenovering
========================================================================== */

/* Hur lang tid tar det?
========================================================================== */
.time-table .card-item {
    display: flex;
}

.time-table .card-header,
.time-table .card-footer {
    width: 15rem;
    flex-shrink: 0;
}

.time-table .card-body {
    position: relative;
    flex-grow: 1;
    width: 100%;
    height: 5rem;
    margin: 0 2rem;
}

.time-table .card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(var(--secondary-color));
}

.time-table .card-body.w-30::before {
    width: 30%;
}

.time-table .card-body.w-45::before {
    width: 45%;
}

.time-table .card-body.w-55::before {
    width: 55%;
}

.time-table .card-body.w-70::before {
    width: 70%;
}

@media only screen and (max-width: 680px) {
    .time-table .card-item {
        flex-wrap: wrap;
    }

    .time-table .card-header,
    .time-table .card-footer {
        order: 1;
        width: 50%;
    }

    .time-table .card-footer {
        text-align: right;
    }

    .time-table .card-body {
        order: 2;
        width: 100%;
        height: 4rem;
        margin: .5rem 0 0;
    }
}

/* ==========================================================================
Undersida: Ytskiktsrenovering
========================================================================== */

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

.blocker {
    z-index: 100;
}

.modal a.close-modal {
    display: none;
}

.modal .custom-close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
}

/* Modal hoger kant */
.blocker:has(.modal.modal-full-right) {
    padding: 0;
    text-align: right;
}

.modal.modal-full-right {
    height: 100vh;
    max-height: unset;
    max-width: 60rem;
}

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

    .blocker {
        padding: 1rem;
    }
}

/* Prisraknaren
========================================================================== */
.price-calculator-wrapper {
    display: flex;
    flex-direction: column;
}

/* Input */
.price-calculator-wrapper label.form-input-label {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgb(var(--black-color));
    letter-spacing: 1px;
    line-height: 1.8;
    padding-bottom: .2em;
}

.price-calculator-wrapper input[type="number"].form-input:not(.illegal) {
    background-color: transparent;
}

.price-calculator-wrapper input[type="number"].form-input {
    border: none;
    color: rgb(var(--gray-dark-color));
    border-bottom: 1px solid rgb(var(--primary-color));
}

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */
.section-contact .ContactForm {
    padding: 4rem;
    border-radius: 0 0 0 3rem;
    background-color: rgb(var(--gray-dark-color));
}

/* Formular */
.ContactForm p {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgb(var(--white-color));
    letter-spacing: 1px;
    line-height: 1.8;
    padding-bottom: .2em;
}

.asterisk p:after {
    line-height: 1;
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="number"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm input[type="date"]:not(.illegal),
.ContactForm input[type="datetime-local"]:not(.illegal),
.ContactForm select:not(.illegal),
.ContactForm textarea:not(.illegal),
.ContactForm .file-dropzone:not(.illegal) {
    background-color: transparent;
}

.ContactForm input[type="text"],
.ContactForm input[type="number"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm input[type="date"],
.ContactForm input[type="datetime-local"],
.ContactForm select,
.ContactForm option,
.ContactForm textarea {
    border: none;
    border-bottom: 1px solid rgb(var(--white-color));
    color: rgb(var(--white-color));
}

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

@media only screen and (max-width: 980px) {
    .section-contact .col-1 {
        margin-top: 4rem;
    }
}

@media only screen and (max-width: 750px) {
    .section-contact .ContactForm {
        padding: 3rem;
    }
}

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

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

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

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

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

.footer .text-label {
    padding: 0 0 1rem;
    line-height: 1;
}

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

.footer-top p,
.footer-top a:not(.btn) {
    font-size: 1.4rem;
    text-decoration: none;
    color: rgb(var(--white-color));
}

.footer-top a:hover:not(.btn) {
    color: rgb(var(--primary-color));
    text-decoration: none;
}

/* Sociala medier */
.footer-socials {
    display: flex;
    align-items: center;
}

.footer-socials::before,
.footer-socials::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0%;
    border-top: 1px solid rgb(var(--gray-dark-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

/* 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.3rem;
    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;
    opacity: .6;
    filter: invert();
}

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

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

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

    .footer-menu-large p {
        max-width: 55rem;
    }
}

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

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

    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }
}

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

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

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .webbess-stamp {
        margin: 0 auto 1rem;
    }
}