/* Krafft Maleri AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 0, 85, 140;
    --secondary-color: 196, 227, 246;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 246, 246, 246;
    --white-color: 255, 255, 255;

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

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

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

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

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

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

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

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

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

/* Ovriga klasser */
.align-center {
    align-items: center;
}

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

/* Rubriker */
.text-label {
    padding-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: .1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.section-title {
    padding-bottom: 3rem;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgb(var(--primary-color));
}

.small-title {
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 1rem;
}

/* Brodtext och lankar */
p,
li {
    color: rgb(var(--black-color));
    line-height: 1.8;
    font-weight: 300;
}

a {
    color: rgb(var(--primary-color));
    line-height: 1.8;
    font-weight: 400;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Listor */
ol li {
    padding-bottom: 0.5rem;
}

ol li::marker {
    font-weight: bold;
}

ul li::marker {
    color: rgb(var(--primary-color));
    font-size: 1.5em;
}

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

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

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

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

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

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

a.btn:hover {
    text-decoration: none;
}

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.8rem 4rem;
    margin: 5px;
    font-size: 1.4rem;
    font-weight: 500;
    border-radius: .6rem;
    line-height: 1.3;
    letter-spacing: 0.2rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
    text-transform: uppercase;
}

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

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

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

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

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

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

.btn-white-border {
    color: rgb(var(--white-color));
    border: 2px solid rgb(var(--white-color));
}

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

@media only screen and (max-width: 670px) {
    .btn {
        min-width: 100%;
        margin: 0;
    }
}

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

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

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

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

.circle-icon:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--white-color));
    text-decoration: none;
}

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

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

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

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

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

/* Bilder */
.parallax-kitchen {
    background-image: url('/assets/images/modernt-kok-2000px.jpg');
}

.parallax-paint-samples {
    background-image: url('/assets/images/malarprover-2000px.jpg');
}

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

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

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

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

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

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

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

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

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

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

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

.card-2-4 .card-header {
    display: inline-flex;
    align-items: center;
    width: 4rem;
    height: 6rem;
}

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

.card-2-4 .card-body {
    padding: 0 2rem;
    align-items: center;
}

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

/* Logos 1 */
.logos-1 {
    justify-content: center;
}

.logos-1 .card-item {
    text-align: center;
    margin: 0 1.5rem;
}

.logos-1 img {
    max-height: 10rem;
    transform: scale(.94);
    transition: 0.2s ease-in-out;
}

.logos-1 img:hover {
    transform: scale(1);
}

@media only screen and (max-width: 860px) {
    .logos-1 .card-item {
        width: 30%;
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .logos-1 img {
        max-height: 9rem;
    }
}

@media only screen and (max-width: 580px) {
    .logos-1 .card-item {
        width: 100%;
    }
}

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

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

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

.split-image {
    width: 50%;
}

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

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

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

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

    .split-wrapper .align-center {
        align-self: flex-start;
    }
}

/* Header / Navigation
========================================================================== */
header {
    padding: 0;
    box-shadow: 0 0.5rem 3rem rgba(var(--black-color), .04);
}

header .container {
    max-width: 100%;
}

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

.header-logo img {
    padding: 0.5rem 2rem;
    margin-left: 2rem;
}

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

.TemplateMenu a:hover {
    text-decoration: none;
}

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

.header-cta-wrapper .btn {
    min-width: unset;
    margin: 0;
    line-height: var(--menu-height);
    border-radius: 0;
    font-weight: 400;
    padding: 1.2rem 2rem;
    letter-spacing: unset;
    text-transform: unset;
}

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

/* mobilmeny */
.mobile-menu .hamburger {
    padding-right: 2rem;
}

.mobile-menu .TemplateMenu a {
    font-size: 2rem;
}

.mobile-menu .header-cta-wrapper .btn {
    padding: 0 1rem;
    border-radius: .6rem;
}

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

/* Modal
========================================================================== */
.modal {
    max-width: 75rem;
    width: 100%;
    max-height: 75vh;
    padding: 1rem;
    border-radius: 0;
    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;
}

@media only screen and (max-width: 450px) {
    .blocker {
        padding: 1rem;
    }
}

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

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

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

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

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

.top-section .text-label {
    letter-spacing: 0.3rem;
}

.top-section p {
    max-width: 60rem;
    margin: 0 auto;
}

@media only screen and (max-width: 1200px) {
    .top-section .text-block-center {
        max-width: 70rem;
    }

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

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

@media only screen and (max-width: 670px) {
    .top-section .section-block {
        Padding: 15rem 2rem;
    }

    .top-section .text-center {
        text-align: left;
    }

    .top-section .text-label {
        font-size: 1.5rem;
    }
}

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

/* Section-kitchen
========================================================================== */
.section-cta-kitchen .text-block-center {
    padding: 5rem;
}

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

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

/* Hero 
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 30rem;
    background-color: rgb(var(--gray-light-color));
}

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

.hero .section-title {
    font-size: 3.8rem;
    color: rgb(var(--primary-color));
}

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

/* CTA-sektion
========================================================================== */
.section-cta {
    margin: 2rem;
}

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

/* ==========================================================================
Undersida: Vara tjanster
========================================================================== */
/* Meny */
.sub-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.sub-menu ul li {
    border-right: 1px solid rgb(var(--gray-light-color));
}

.sub-menu ul li a {
    text-align: center;
    font-weight: 400;
    padding: 1rem;
    line-height: 2;
    color: rgb(var(--gray-color));
}

.sub-menu ul li a:hover {
    text-decoration: none;
}

.sub-menu .active {
    background-color: rgb(var(--primary-color));
    color: rgb(var(--white-color));
}

.sub-menu ul li a:hover {
    color: rgb(var(--primary-color));
    background-color: rgb(var(--secondary-color));
    transition: 0.2s ease-in-out;
}

@media only screen and (max-width: 1000px) {
    .sub-menu ul {
        justify-content: left;
    }
}

/* ==========================================================================
 Undersida: Vara medarbetare
========================================================================== */
.section-coworkers .cards-wrapper .small-title {
padding-bottom: 0;
}

.section-coworkers .cards-wrapper .job-title {
    color: rgb(var(--primary-color));
    font-size: 1.5rem;
    padding-top: 0;
    padding-bottom: 2rem;
}

.section-coworkers .card-item i {
    width: 2em;
    text-align: center;
    font-size: 2rem;
}

.section-coworkers .card-item a {
    font-size: 1.4rem;
    color: rgb(var(--black-color));
}

.section-coworkers .card-item a:hover {
    color: rgb(var(--primary-color));
}

/* ==========================================================================
 Undersida: Kontakta oss 
========================================================================== */
.section-contact .col-0 {
    width: 60rem;
    padding: 24rem 8rem;
    background-color: rgb(var(--secondary-color));
    display: flex;
    align-items: center;
}

.section-contact .col-1 {
    width: 50%;
    padding: 8rem;
    display: flex;
    align-items: center;
}

@media only screen and (max-width:1300px) {
    .section-contact .col-0 {
        width: 50%;
        padding: 24rem 4rem;
    }

    .section-contact .col-1 {
        padding: 10rem 4rem;
    }
}

@media only screen and (max-width:1000px) {
    .section-contact .col-0 {
        width: 100%;
        padding: 4rem;
    }

    .section-contact .col-1 {
        width: 100%;
        padding: 8rem 3rem;
    }
}

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

/*  Kontakta oss > Modal
========================================================================== */
.opening-hours .tab-container {
    padding: 3rem 2rem;
    border: 2px solid rgb(var(--primary-color));
    background-color: rgb(var(--white-color));
}

/* Innehall */
.opening-hours .tab-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px dotted rgb(var(--gray-color));
}

.opening-hours .tab-item p {
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: uppercase;
    padding-bottom: 0;
}

@media only screen and (max-width:580px) {
.opening-hours .tab-item p {
    font-size: 1.3rem;
}
}

/* ==========================================================================
Undersida: Offertforfragan
========================================================================== */
.section-form .section-block-wrapper {
    background: rgb(var(--primary-color), .9);
    padding: 6rem 3rem 2rem;
    max-width: 80rem;
}

/* Kontaktformular */
.section-form .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem;
}

.ContactForm div {
    width: 49%;
    margin-bottom: 4rem;
}

.ContactForm .ContactFormMessage,
.ContactForm .ContactFormName {
    width: 100%;
}

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

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

.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--white-color));
    border-radius: .5rem;
    border: 1px solid rgb(var(--gray-color));
}

@media only screen and (max-width: 660px) {
    .section-form .section-block {
        padding: 0;
    }

    .section-form .section-block-wrapper {
        padding: 6rem 1rem;
    }

    .ContactForm div {
        width: 100%;
        margin-bottom: 2rem;
    }
}

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

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

.footer-top .footer-menu {
    margin-bottom: 2rem;
}

.footer .text-label {
    color: rgb(var(--white-color));
    font-size: 1.7rem;
    font-weight: 600;
}

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

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

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

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

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

@media only screen and (max-width: 1080px) {
    .footer-menu {
        width: 50%;
    }
}

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

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