/* BrodÃ©ns Kakel och Murning */

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

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 217, 193, 142;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 222, 224, 224;
    --gray-light-color: 247, 246, 246;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8.5rem;
    --menu-height-scrolled: 7.5rem;
    --section-width: 150rem;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1024;
    --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: 12rem 5rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* Rubriker */
.section-title {
    padding-bottom: 0.4em; 
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
}

.small-title {
    padding-bottom: .7em;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.4;
}

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

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

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

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

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

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

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

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

    .small-title {
        font-size: 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: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid;
    transition: all .4s ease;
}

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

/* Arrow link */
.arrow-link {
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

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

.btn:hover::after,
.arrow-link:hover::after {
    transform: translateX(5px);
    transition: transform .4s ease;
}

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Borders */
.border-white {
    border: 1px solid rgb(var(--white-color));
}

.blur {
    outline-offset: -11px;
    outline: 1px solid rgb(var(--white-color));
    backdrop-filter: blur(3px);
    background: rgb(var(--white-color), .5);
}

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

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

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

/* Bilder */
.parallax-natursten {
    background-image: url('/assets/images/natursten-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;
}

.cards-wrapper .card-item {
    text-decoration: none;
}
/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

.cards-grow .card-body {
    flex-grow: 1;
}
/* Bredder */
.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: 1024px) {
    /* 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-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }

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

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

.card-2-4 a.card-item:hover {
    background: rgb(var(--gray-light-color));
}

.card-2-4 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
}

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

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

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

@media only screen and (max-width: 470px) {
    .card-2-4 .card-header {
        display: none;
    } 
}
/* Card 3-1 */
.card-3-1 .image-wrapper {
    height: 35rem;
}

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    padding: 20rem 2rem 2rem;
}

.card-3-6 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-3-6 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), .5);
    transition: .3s ease-in-out;
}

.card-3-6 a.card-item:hover .image-wrapper::after {
    background: rgba(var(--black-color), .6);
}

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
    pointer-events: none;
}


/* 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-wrapper .align-end {
    align-self: flex-end;
}

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

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

    .split-image {
        width: 100%;
    }
}

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

header:not(.scrolled) {
    background-color: rgb(var(--white-color));
    border-bottom: 1px solid transparent;
}

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

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

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

/* Hover effect */
header .TemplateMenu li.active>a,
header .TemplateMenu ul a:hover {
    color: rgb(var(--primary-color));
    text-decoration: none; 
}

header:not(.mobile-menu) .TemplateMenu>li>a:hover:before,
header:not(.mobile-menu) .TemplateMenu>li.active a:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

header:not(.mobile-menu) .TemplateMenu>li>a:before {
    visibility: hidden;
    position: absolute;
    content: "";
    height: 2px;
    top: 60px;
    width: 50%;
    left: calc(25% + 2rem);
    background-color: rgb(var(--primary-color));
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

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

/* Mobilmeny */
.mobile-menu .TemplateMenu {
    text-align: center;
}

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

/* Top-section
========================================================================== */
.top-section .section-block {
    display: flex;
    align-items: center;
    min-height: 100vh;
    margin-top: calc(var(--menu-height) * -1);
    background-color: transparent;
}

.top-section .section-block-wrapper {
    width: 100%;
    max-width: 90rem;
    padding: 10rem 3rem;
    outline-offset: -11px;
    outline: 1px solid rgb(var(--white-color));
    background: rgb(var(--white-color), .5);
}

.top-section .section-title {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.7;
} 

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

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

/* Certifikat 
========================================================================== */
.cert-wrapper {
    display: flex;
    align-items: center;
    max-width: 80rem; 
    margin: 0 auto;
    padding: 3rem;
    outline-offset: -11px;
    outline: 1px solid rgb(var(--white-color));
    background: rgb(var(--primary-color)); 
} 

.cert-wrapper .image-wrapper { 
    width: 13rem;
    flex-shrink: 0;
}

.cert-wrapper .text-wrapper {
    padding-left: 2.5rem;
}

.cert-wrapper .small-title {
    font-size: 1.9rem; 
}

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

    .cert-wrapper .image-wrapper {
        width: 11rem;
    }

    .cert-wrapper .text-wrapper {
        padding-left: 2rem;
    }

    .cert-wrapper .small-title {
        font-size: 1.6rem;
    }
}

@media only screen and (max-width: 480px) {
    .cert-wrapper .image-wrapper {
        width: 7rem;
    }

    .cert-wrapper .small-title {
        font-size: 1.4rem;
    }
} 

/* FAQ 
========================================================================== */
.section-faq-contact .section-block-wrapper {
    justify-content: space-between;
    align-items: center;
}

.section-faq-contact .col-2 {
    width: 60rem;
    max-width: 50%;
}

.accordion-wrapper {
    display: flex;
    flex-wrap: wrap;
}

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

.accordion-item {
    width: 100%;
    margin-bottom: 1rem;
    transition: .3s ease;
}

.accordion-wrapper .accordion-item:last-of-type {
    margin-bottom: 0;
}

.accordion-item:hover,
.accordion-item.active {
    background: rgb(var(--gray-light-color));
}

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

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: 2rem;
    right: 1rem;
    font-size: 1.7rem;
    font-weight: 700;
    font-family: "Font Awesome 5 Pro";
    transition: .5s ease;
}

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

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

.accordion-item p {
    font-size: 1.4rem;
}

@media only screen and (max-width: 980px) {
    .section-faq-contact .col-2 {
        width: 100%;
        max-width: 100%;
        margin-top: 3rem;
    }

    .accordion-wrapper.w-50 .accordion-item {
        width: 100%;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: flex-end;
    min-height: 60vh;
    padding-top: var(--menu-height);
    margin-top: calc(-1 * var(--menu-height));

}

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

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

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

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

/* ==========================================================================
Undersida: Referensjobb
========================================================================== */
.scroll-container {
    overflow: hidden;
}

.scroll-wrapper.cards-wrapper {
    margin: 0 16rem 3rem;
}

.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;
    margin: 0 2rem;
    transition: all .3s ease;
}

.scroll-wrapper.cards-wrapper .card-item[aria-hidden="true"] {
    opacity: .5;
}

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

/* Slick dots */
.scroll-wrapper .slick-dots {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    padding: 0;
    margin: 0;
    transform: translateX(-50%);
}

.slick-dots li::before {
    content: '\f0c8';
    font-size: 1.2rem;
    color: rgb(var(--gray-color));
}

.scroll-wrapper li.slick-active::before {
    opacity: 1;
    color: rgb(var(--primary-color));
    transition: all .2s ease;
}

@media only screen and (max-width: 1300px) {
    .scroll-wrapper.cards-wrapper {
        margin: 0 4rem 3rem;
    }
}

@media only screen and (max-width: 750px) {
    .scroll-wrapper.cards-wrapper {
        margin: 0 2rem 3rem;
    }

    .scroll-wrapper.cards-wrapper .card-item {
        margin: 0 5px;
    }
}

@media only screen and (max-width: 520px) {
    .scroll-wrapper.cards-wrapper {
        margin: 0 1rem 3rem;
    }
}

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

.section-contact.flex-end .section-block-wrapper {
    align-items: flex-end;
}

.section-contact .col-2 {
    max-width: 50rem; 
    padding: 0;
    background-image: url('/assets/images/natursten-2000px.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
 
.section-contact .col-2 .col-wrapper {
    padding: 5.5rem 4rem 6.5rem 4rem;
    outline-offset: -11px;
    outline: 1px solid rgb(var(--white-color));
    background: rgb(var(--white-color), .25);
}

.ContactForm p {
    display: none;
}

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

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

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

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap; 
    padding: 13rem 0 8rem;
}

.footer-menu {
    width: 50%; 
}

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

.footer-menu-large .section-title {
    max-width: 50rem;
}

.footer-top .btn-wrapper {
    margin-top: 1rem;
}

.footer-top a {
    text-decoration: none;
    transition: .2s ease;
}

.footer a:not(.circle-icon, .arrow-link):hover {
    color: rgb(var(--primary-color));
}

.footer .socials {
    text-align: right;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgb(var(--black-color), .5);
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* 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: 1024px) {
    .footer {
        padding: 0 3rem;
    }

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

    .footer-menu {
        width: 100%;
        margin: 0 0 5rem;
    } 
}

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