/* VagaVa Facelift */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 10rem;
    --menu-height-scrolled: 8rem;
    --section-width: 150rem;

    /* 	Colors */
    --primary-color: 90, 163, 206;

    --black-color: 22, 22, 22;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

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

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

/* Layout
========================================================================== */
.section-block {
    padding: 12rem 8rem;
}

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

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

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

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

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

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

/* Bredder */

.mw-1200 .section-block-wrapper,
.mw-1200:not(.section-wrapper) {
    max-width: 120rem;
}

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

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

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

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

/* Rubriker */
.section-title {
    font-size: 4.5rem;
    letter-spacing: 0rem;
    font-weight: 900;
    text-transform: unset;
    padding-bottom: 1rem;
}

.small-title {
    font-size: 3rem;
    letter-spacing: 0rem;
    font-weight: 900;
    text-transform: unset;
}

.ingress {
    font-size: 2rem;
    font-weight: 900;
}

/* Brodtext */
p,
a,
li {
    line-height: 3.5rem;
    font-size: 1.9rem;
    font-weight: 300;
    text-decoration: none;
    color: rgb(var(--black-color))
}

a:hover {
    text-decoration: underline;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

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

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


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

.text-block-center {
    margin: auto;
    text-align: center;
    max-width: 100rem;
}

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

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 20rem;
    padding: 1.2rem 1.8rem;
    margin: 7px;
    font-size: 1.5rem;
    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;
}

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

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

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

/* Bakgrundsbild/video
========================================================================== */
.bg-video,
.bg-image {
    position: relative;
    background: linear-gradient(90deg, rgba(var(--black-color), .2) 0%, rgba(var(--black-color), .5) 0%, rgba(var(--black-color), 0.0) 100%);
    overflow: hidden;
}

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

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

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

.parallax-bo {
    background-image: url('/assets/images/vaga-bo-paralax.jpg');
}

.parallax-alltjanst {
    background-image: url('/assets/images/bilmekaniker-2000px.jpg');
}

.parallax-kvinnoboende {
    background-image: url('/assets/images/vagava-kvinnoboende-parallax.jpg');
}

.parallax-behandling {
    background-image: url('/assets/images/vagava-oppenvard-hugs.jpg');
}

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Border */
.border-white {
    border: 0.5rem solid rgb(var(--white-color));
}

/* Ram inuti */
.outline-primary {
    outline: 0.1rem solid rgb(var(--primary-color));
    outline-offset: -3rem;
}

/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}
@media screen and (max-width: 580px) {
/* Ram inuti */
.outline-primary {
    outline-offset: -1rem;
}
}

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

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

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

.split-image {
    width: 50%;
}

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

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

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

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

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

    .split-content {
        padding: 3rem;
    }

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

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

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

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

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

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

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

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

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

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

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

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

    /* Paddings */
    .card-item.p-3,
    .card-item .p-3 {
        padding: 2rem;
    }
}

/* Card 2-3 */
.card-2-3 .card-item {
    border-radius: 5px;
    border: 2px solid rgb(var(--white-color));
}

.card-2-3 .card-header {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 0 1.5rem;
    margin-top: -2rem;
}

.card-2-3 .card-header.circle {
    width: 6rem;
    height: 6rem;
    margin-top: -3rem;
    border-radius: 50%;
}

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--black-color));
}

body:not(.SubPage) header:not(.scrolled, .mobile-menu) {
    background-color: transparent;
}

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

/* Nav */
.TemplateMenu a {
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
}

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

.TemplateMenu a:hover {
    color: rgb(var(--primary-color));
    text-decoration: none;
}

/* Ta bort klick */
body:not(.EditMode) .TemplateMenu a[href="/17/3/boende/"] {
    pointer-events: none;
}


/* Mobilmeny */
.mobile-menu .TemplateMenu a {
    color: rgb(var(--white-color));
}

.mobile-menu ul {
    background-color: rgb(var(--black-color));
}

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

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

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

.top-section .section-title {
    font-size: 6rem;
    line-height: 1.3;
    color: rgb(var(--white-color));
}

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

/* Boende / Oppenvard
========================================================================== */
.bg-image.boende,
.bg-image.oppenvard {
    background: none;
}

.text-block-left,
.text-block-right {
    max-width: 70rem;
    margin: 5rem;
    padding: 5rem;
    background: rgb(var(--black-color), .7);
}

.text-block-right {
    margin: 5rem 5rem 5rem auto;
}

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

    .text-block-left,
    .text-block-right {
        padding: 2rem;
        margin: 4rem 2rem;
    }
}

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

/* Hero
========================================================================== */
.hero .section-block {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 40rem;
    padding-bottom: 0;
    background-image: linear-gradient(to bottom, transparent 36rem, rgb(var(--white-color)) 36rem);
    background-color: rgb(var(--black-color), .3);
}

.hero-title-wrapper {
    max-width: 60rem;
    min-width: 30rem;
    padding: 1.5rem 3rem;
    text-align: center;
    border-radius: 1.5rem;
    border: 3px solid rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

.hero-title-wrapper .section-title {
    padding-bottom: 0;
    color: rgb(var(--white-color));
}

/* ==========================================================================
Undersida Alltjanst & Restaurang
========================================================================== */
.menu-title {
    font-size: 2.3rem;
    font-weight: 400;
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    justify-content: space-between;
}


.section-contact .col-2 {
    max-width: 50rem;
    padding: 3rem;
    background-color: rgb(var(--white-color));
    box-shadow: 0 0 20px rgb(var(--black-color), .15);
}

@media only screen and (max-width: 980px) {
    .section-contact .col-2 {
        max-width: 50rem;
        margin: 5rem auto 0;
    }
}

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

/* ==========================================================================
Footer
========================================================================== */
.footer {
    text-align: center;
    background: rgb(var(--black-color));
}

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

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

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

.footer .small-title {
    font-size: 2rem;
    letter-spacing: normal;
    color: rgb(var(--white-color));
}

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

.footer li,
.footer p,
.footer a {
    color: rgb(var(--white-color));
}

.footer em::before {
    margin-right: 1rem;
    font-size: 2.2rem;
}

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

.footer-bottom p,
.footer-bottom a {
    padding: .5rem .2rem;
    font-size: 1.4rem;
    line-height: 1.6;
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    margin: auto;
}

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

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

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

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

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

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

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

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