/* JO Maleri */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 237, 38, 46;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 243, 241, 237;
    --white-color: 255, 255, 255;

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

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

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

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

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

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

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

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

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


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

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

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

.small-title {
    padding-bottom: .4em;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.4;
    text-decoration: none;
}

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

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

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

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

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

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

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

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

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

    .text-label {
        font-size: 1.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 2rem;
    margin: 7px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 2rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Badge */
.badge {
    position: absolute;
    bottom: -7rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25rem;
    height: 25rem;
    background-image: url(/assets/images/graphics/splash.svg);
    text-decoration: none;
    transform: rotate(-5deg);
}

.badge-content {
    text-align: center;
    padding: 2rem 4rem 2rem 5rem;
}

.badge-content p {
    font-size: 1.4rem;
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image,
.bg-video {
    position: relative;
    overflow: hidden;
}

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

/* Video */
.bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bakgrundsbilder */
.stroke-bottom-gray,
.stroke-top-gray,
.stroke-bottom-small-white {
    position: relative;
}

.stroke-top-gray {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.stroke-bottom-gray::before,
.stroke-top-gray::after,
.stroke-bottom-small-white::after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    background-size: cover;
    background-position: center top;
}

.stroke-bottom-gray::before {
    bottom: 0;
    height: 10vw;
    background-image: url(/assets/images/graphics/paintstroke-1.svg);
}

.stroke-top-gray::after {
    top: 0;
    height: 10rem;
    background-image: url(/assets/images/graphics/paintstroke-2.svg);
}

.stroke-bottom-small-white::after {
    bottom: 0;
    height: 7rem;
    background-image: url(/assets/images/graphics/paintstroke-3.svg);
}

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

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

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

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

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

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

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

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

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

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

/* Card 2-1 */
.card-2-1 a.card-item {
    border: 1px solid rgb(var(--gray-light-color));
    transition: .3s ease;
}

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

.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 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;
}

/* Split med badge i split-image */
.split-badge {
    margin-bottom: 4rem;
}

.split-badge .split-image {
    overflow: visible;
}

@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: 70rem;
        padding: 0 0 3rem;
        background: transparent;
    }

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

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

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

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

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

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

header:not(.scrolled) .top-header a {
    color: rgb(var(--white-color));
}

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

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

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

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

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

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

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

header:not(.scrolled) .header-cta-wrapper .btn:hover {
    color: rgb(var(--white-color));
}

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

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

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    margin-top: calc(var(--menu-height) * -1 - 4rem);
    background-color: rgb(var(--black-color), .1);
}

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

.top-section .section-title {
    padding-bottom: 2rem;
    font-size: 6rem;
    font-weight: 600;
}

.top-section .small-title {
    padding-bottom: 2rem;
    font-size: 2.6rem;
}

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

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

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

/* Tjanster
========================================================================== */
body:not(.EditMode) .section-services .cards-wrapper {
    position: relative;
    top: -10rem;
    margin-bottom: -10rem;
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 60vh;
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1 - 4rem);
    text-align: center;
    background-color: rgb(var(--black-color), .2);
}

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

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

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

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

/* CTA-sektion
========================================================================== */
.cta-wrapper {
    padding: 5rem;
    border-radius: 2px;
    background-image: linear-gradient(to right, rgb(var(--black-color), .3), rgb(var(--black-color), .1)), url('/assets/images/malarfarg-1500px.jpg');
    background-size: cover;
    background-position: center;
}

.cta-wrapper .btn-primary-filled:hover {
    color: rgb(var(--white-color));
}

@media screen and (max-width: 1050px) {
    .cta-wrapper {
        background-image: linear-gradient(to right, rgb(var(--black-color), .5), rgb(var(--black-color), .3)), url('/assets/images/malarfarg-1500px.jpg');
    }
}

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

/* ==========================================================================
Undersida: Galleri (finns aven på tjansteundersidorna)
========================================================================== */
.gallery-wrapper .card-item {
    position: relative;
}

.gallery-wrapper .card-body {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    background-color: rgb(var(--primary-color), .8);
    transition: .3s ease;
}

.gallery-wrapper .card-item:hover .card-body {
    bottom: 2rem;
}

.gallery-wrapper .card-body p:not(.small-title) {
    padding: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: rgb(var(--white-color));
}

/* Se fler-kort */
.gallery-wrapper .card-highlighted .card-body {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgb(var(--primary-color));
}

.gallery-wrapper .card-highlighted:hover .card-body {
    background-color: rgb(var(--gray-dark-color));
}

.gallery-wrapper .card-highlighted .card-body .small-title {
    padding: 0;
}

/* ==========================================================================
Undersida: Offertforfragan
========================================================================== */
.section-offert .ContactForm {
    max-width: 90rem;
    padding: 4rem;
    margin: 0 auto;
    background-color: rgb(var(--gray-light-color));
}

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

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

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

.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) {
    border: none;
}

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

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

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

/* ==========================================================================
Footer
========================================================================== */
.footer {
    position: relative;
    background-color: rgb(var(--gray-light-color));
    overflow: hidden;
}

.footer::after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    background-size: cover;
    background-position: center top;
}

.footer::after {
    top: 0;
    height: 10rem;
    background-image: url(/assets/images/graphics/paintstroke-2.svg);
}

.footer .container {
    padding: 10rem 5rem 0;
}

/* 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 {
    font-size: 1.5rem;
    text-decoration: none;
}

.footer-top a:hover {
    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(--black-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(--gray-dark-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;
}

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

    /* 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-menu,
    .footer-menu-large {
        width: 100%;
    }
}

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

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

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

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