/* VH MaLERI AB */

/* Typsnitt Paralucent (brodtext, lankar) Paralucent Stencil (rubriker) */
@import url("https://use.typekit.net/ttt5fyn.css");

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 7rem;

    /* 	Colors */
    --primary-color: 12, 171, 239;
    --secondary-color: 4, 61, 150;

    --black-color: 0, 0, 0;
    --gray-light-color: 242, 242, 242;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: 255, 255, 255;
}

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

.section-block-wrapper {
    max-width: 98rem;
}

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

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

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

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

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

.LayoutPage .p-3 {
    padding: 3rem;
}

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

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

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

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

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

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

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

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

/* Rubriker */
.text-label {
    position: relative;
    padding-bottom: .9em;
    font-family: paralucent, sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.section-title {
    padding-bottom: .3em;
    font-family: paralucent-stencil, sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    color: rgb(var(--black-color));
}

.small-title {
    padding-bottom: .5em;
    font-family: paralucent-stencil, sans-serif;
    font-size: 2.7rem;
    font-weight: 300;
    line-height: 1.4;
    color: rgb(var(--black-color));
}

/* Brodtext och lankar */
p {
    font-weight: 400;
    color: rgb(51, 51, 51);
}

a {
    color: rgb(var(--primary-color));
    font-size: 1.6rem;
    font-weight: 400;
    text-decoration: none;
}

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

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

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

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

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

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

    .text-label {
        font-size: 1.2rem;
    }
}

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

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

/* Knappar */
.btn {
    display: inline-block;
    min-width: 20rem;
    padding: 1.4rem 3rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    border-radius: 3rem;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.btn::after {
    content: ' \2023';
    display: inline-block;
    margin-left: .5rem;
    transition: transform .4s ease;
}

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

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

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

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

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

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

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

.arrow-link::after {
    content: ' \f178';
    display: inline-block;
    margin-left: .5rem;
    font-family: 'Font Awesome 5 Pro';
    font-size: .7em;
    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(--primary-color));
    transition: .3s ease;
}

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

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

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

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

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

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

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

/* Vit gra gradient */
.gradient-gray-white {
    background-image: linear-gradient(to bottom, rgb(var(--white-color)) 5rem, rgb(var(--gray-light-color)) 5rem);
}

/* Vit gra gradient , omvand*/
.gradient-white-gray {
    background-image: linear-gradient(to bottom, rgb(var(--gray-light-color)) 50%, rgb(var(--white-color)) 50%);
}

/* Vit bla gradient */
.gradient-white-blue {
    background-image: linear-gradient(to bottom, rgb(var(--white-color)) 50%, rgb(var(--secondary-color)) 50%);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.cards-1 .card-header {
    padding-bottom: 2rem;
}

.cards-1 .card-footer {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0 0;
    border-top: 1px dotted rgb(var(--primary-color));
}

.cards-1 .card-footer p {
    width: 60%;
    padding: 0;
    font-size: 1.6rem;
    font-style: italic;
}

/* Cards 2 */
.cards-2 .card-item {
    background-color: rgb(var(--white-color));
    border-radius: 3px;
    transition: 0.2s ease-in-out;
}

.cards-2 .image-wrapper {
    height: 15rem;
}

.cards-2 .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    margin: 0 auto 0;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 2px solid rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
}

.cards-2 .icon-wrapper i {
    color: rgb(var(--white-color));
    font-size: 4rem;
}

.cards-2 .text-wrapper {
    padding: 0 3rem 3rem;
}

/* Cards 5 */
.cards-5 .card-item {
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    padding: 3rem;
    transition: all .4s ease;
    padding-top: 0;
}

.cards-5 .icon-wrapper {
    margin-bottom: 1.5rem;
    font-size: 6rem;
    color: rgb(var(--primary-color));
    margin-top: -3rem;
}

.cards-5 p {
    font-size: 2.5rem;
}

.cards-5 .card-item:hover {
    transform: translateY(-1rem);
}

@media only screen and (max-width: 750px) {
    .section-contact .cards-5 .card-item {
        margin-bottom: 4rem !important;
    }
}

/* 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%;
    border-radius: 3px;
}

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

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

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

/* Speciella margins */
.split-wrapper .ml--18rem {
    z-index: 1;
    position: relative;
    margin-left: -18rem;
    margin-right: 18rem;
}

@media screen and (min-width: 1500px) {
    .extra-padding .split-content {
        padding: 15rem 10rem;
    }
}

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

}

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

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

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

    /* Speciella margins */
    .split-wrapper .mt--20 {
        margin-top: 0;
    }

    .split-wrapper .ml--18rem {
        margin-left: 0;
        margin-right: 0;
    }
}

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

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

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(90deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 100%);
}

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

/* Bakgrundsvideo
========================================================================== */
.bg-video {
    position: relative;
}

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

.bg-video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

/* Header / Navigation
========================================================================== */
header {
    transition: all .2s ease;
}

header.scrolled {
    box-shadow: 0 1rem 3rem rgba(17, 17, 17, .1);
    transition: all .2s ease;
}

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

.header-logo a {
    font-family: paralucent-stencil, sans-serif;
    font-size: 3rem;
    font-weight: 700;
}

/* nav */
nav.mainmenu a {
    font-weight: 500;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgb(var(--black-color));
}

/* Ta bort klick */
.TemplateMenu a[href="/17/7/projekt/"] {
    pointer-events: none;
}

.mobile-menu .TemplateMenu>li>a {
    --menu-height-scrolled: 5rem;
}

nav.mainmenu a:hover,
header.scrolled nav.mainmenu a:hover {
    color: rgb(var(--primary-color));
}

/* CTA  */
.header-cta-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-basis: 0;
    flex: 1 1 0px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: .9rem 2.5rem;
    margin: 0 1rem;
}

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

/* Mobilmeny */
@media only screen and (max-width: 550px) {
    .header-cta-wrapper .btn {
        font-size: 1.3rem;
        padding: .5rem 1rem;
        margin: 0;
    }

}

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

/* Top-section
========================================================================== */
.top-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 95vh;
    background-color: rgba(0, 0, 0, .3);
    margin-top: calc(-1 * var(--menu-height));
}

.top-section::after {
    content: '';
    position: absolute;
    display: block;
    pointer-events: none;
    width: 100%;
    height: 15rem;
    bottom: -1px;
    left: 0;
    background-color: rgb(var(--white-color));
    -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0, 50% 98%);
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0, 50% 98%);
}

.top-section .section-block-wrapper {
    max-width: 100rem;
    text-align: center;
}

.top-section h1 {
    font-family: paralucent-stencil, sans-serif;
    font-size: 9rem;
    font-weight: 300;
    line-height: 1.3em;
    color: rgb(var(--white-color));
    padding-bottom: .3em;
}

.top-section p {
    color: rgb(var(--gray-light-color));
    max-width: 40ch;
    margin: 0 auto;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.4;
}

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

    .top-section .section-block-wrapper {
        max-width: 65rem;
    }

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

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

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

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


/* Sektion med overflow-hidden – instagram & omdomen
========================================================================== */
.section-insta,
.section-review {
    overflow: hidden;
}

/* Review Widget */
.review-widget {
    position: relative;
    background-color: rgb(var(--gray-light-color));
    border-radius: 3px;
    overflow: hidden;
    padding: 3rem 3rem 0;
}

.scroll-wrapper {
    padding: 2rem 0 7rem;
    overflow: hidden;
}

.scroll-wrapper .slick-list {
    overflow: visible;
}

.scroll-wrapper .card-item {
    margin: 0 1rem 0 0;
}

.slick-track {
    display: flex !important;
}

.slick-slide {
    height: auto !important;
}

/* slick knappar */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: 1rem;
    width: 4rem;
    height: 4rem;
    font-size: 0;
    background-color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
    border-radius: 50%;
    cursor: pointer;
    transition: .4s;
}

.scroll-wrapper .slick-arrow:not(.slick-disabled):hover,
.scroll-wrapper .slick-arrow:not(.slick-disabled):focus {
    background-color: transparent;
}

.scroll-wrapper .slick-arrow.slick-disabled {
    opacity: .5;
}

.scroll-wrapper .slick-prev {
    left: 0;
}

.scroll-wrapper .slick-next {
    left: 5rem;
}

.scroll-wrapper .slick-prev:before,
.scroll-wrapper .slick-next:before {
    color: rgb(var(--secondary-color));
    font-size: 2rem;
    font-family: 'Font Awesome 5 Pro';
}

.scroll-wrapper .slick-prev::before {
    content: '\f104';
}

.scroll-wrapper .slick-next::before {
    content: '\f105';
}

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

/* Sektion Call to action (.section-cta)
========================================================================== */
.cta-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    text-align: left;
}

.EditMode .cta-wrapper {
    transform: none;
}

.cta-content {
    max-width: 70rem;
    padding: 0 5rem 0 0;
}

.cta-wrapper .btn-wrapper {
    align-self: center;
    justify-content: flex-end;
    margin: 0;
    flex: 1 1 0%;
}

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

@media only screen and (max-width: 1300px) {
    .cta-wrapper {
        transform: translateY(-1rem);
    }
}

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

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

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

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

/* Hero-1 (kontakt)
========================================================================== */
.hero-1 {
    position: relative;
    min-height: 40rem;
}

.hero-1 .section-title {
    padding-top: 6rem;
}

.hero-1::after {
    content: '';
    position: absolute;
    display: block;
    pointer-events: none;
    width: 100%;
    height: 15rem;
    bottom: -1px;
    left: 0;
    background-color: rgb(var(--white-color));
    -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0, 50% 98%);
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0, 50% 98%);
}


@media only screen and (max-width: 768px) {
    .hero-1::after {
        height: 10rem;
    }

    .hero-1 {
        min-height: 30rem;
    }
}

/* Hero 2, bakgrundsvideo
========================================================================== */
.hero .section-block {
    min-height: 50rem;
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    display: block;
    pointer-events: none;
    width: 100%;
    height: 15rem;
    bottom: -1px;
    left: 0;
    background-color: rgb(var(--white-color));
    -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0, 50% 98%);
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0, 50% 98%);
}

.hero .section-block-wrapper {
    margin: 0;
}

.hero .section-title {
    font-size: 5rem;
    padding-top: 6rem;
    text-align: center;
}

.hero p {
    color: rgb(var(--white-color));
    font-size: 1.6rem;
    max-width: 65ch;
    line-height: 1.6;
}

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

    .hero .section-block {
        min-height: 40rem;
    }
}

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

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

    .hero::after {
        height: 10rem;
    }
}


/* ==========================================================================
Undersida – Kontakta oss
========================================================================== */
.map {
    font-size: 0;
}

@media only screen and (max-width: 480px) {
    .map iframe {
        max-height: 35rem;
    }
}

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

.footer-container {
    max-width: 160rem;
    padding: 0 2rem;
    margin: 0 auto;
}

.footer :is(p, a, li) {
    color: rgba(17, 17, 17, 0.7);
}

.footer a:hover {
    color: rgb(var(--black-color));
}

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

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

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

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

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

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

.footer-bottom p {
    font-size: 1.4rem;
}

.footer-bottom .circle-icon {
    width: 3rem;
    height: 3rem;
    color: rgb(var(--white-color));
}

.footer-bottom .circle-icon:hover {
    color: rgb(var(--white-color));
}

.footer-bottom em::before {
    font-size: 1.4rem;
}

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

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

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

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

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

    .footer-bottom .socials {
        margin-bottom: 1.5rem;
    }

}

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

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

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