/* Lean Byggprojektledning AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 0, 61, 51;

    --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: 140rem;

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

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

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

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

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

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

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

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

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

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

/* Ovriga klasser */
.justify-center {
    justify-content: center;
}

.br-03 {
    border-radius: 3px;
}

@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: 'Poppins', sans-serif;
}

/* Rubriker */
.section-title {
    padding-bottom: 0.2em;
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    color: rgb(var(--primary-color));
}

.small-title {
    padding-bottom: .3em;
    padding-top: .3em;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
    color: rgb(var(--primary-color));
}

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

/* Listor */
.list-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.list-pills.text-block-center {
    max-width: 90rem;
}

.list-pills li {
    padding: .5rem 2rem;
    margin: 3px;
    font-size: var(--base-size);
    border-radius: 2rem;
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

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

.text-block-center {
    max-width: 65rem;
    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: 3.5rem;
    }

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

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

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

/* 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;
    border-radius: .3rem;
    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-primary-filled,
.ContactSubmit {
    color: rgb(var(--white-color));
    border-color: rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

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

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

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

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

.arrow-link::after {
    display: inline-block;
    margin-left: .8rem;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

/* Arrow link right */
.arrow-link.arrow-right::after {
    content: ' \f061';
}

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

/* Arrow link down */
.arrow-link.arrow-down::after {
    content: ' \f107';
}

a.arrow-link.arrow-down:hover::after {
    transform: translateY(.3rem);
    transition: transform .4s ease;
}

a.arrow-link.arrow-down.is-clicked::after {
    transform: rotate(180deg);
}

a.arrow-link.arrow-down.is-clicked:hover::after {
    transform: rotate(180deg) translateY(.3rem);
}

/* Sektion eller kort lankar */
.section-link-target {
    scroll-margin-top: 100px;
}

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

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

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

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

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

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

/* Grafiska element
========================================================================== */

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

.parallax .section-block {
    min-height: 40rem;
    background-color: rgb(var(--black-color), .4)
}

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

.card-item {
    border-radius: 3px;
}

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

/* 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-50 .card-item {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-100 .card-item {
    width: 100%;
}

@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:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

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

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

/* Card 2-1 */
.card-2-1 .card-item {
    border-bottom: 4px solid rgb(var(--primary-color));
}

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

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

@media only screen and (max-width: 580px) {
    .card-2-1 .card-header {
        font-size: 2rem;
    }
}

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

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

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

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

@media only screen and (max-width: 580px) {
    .card-2-4 .card-item {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

/* Card 3-1 */
.card-3-1 .card-item {
    border-radius: 0 0 3px 3px;
}

.card-3-1 .image-wrapper {
    height: 25rem;
}

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

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

    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
    }

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

    .split-image {
        width: 100%;
    }

    /* 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) {
    background-color: transparent;
    border-bottom: transparent;
}

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

.header-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: rgb(var(--primary-color));
    text-transform: uppercase;
    line-height: 1;
}

.text-logo {
    display: inline-block;
    width: 14.5rem;
}

.text-logo-top {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.text-logo-bottom {
    font-family: 'Poppins', sans-serif;
    font-size: 1.28rem;
    font-weight: 400;
    padding-left: 2.5px;
}

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

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

/* Dolj hem */
body:not(.EditMode) .TemplateMenu>li:nth-child(1) {
    display: 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 4rem;
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

header.scrolled .header-cta-wrapper .btn,
header.active-menu .header-cta-wrapper .btn {
    color: rgb(var(--white-color));
    border-color: rgb(var(--primary-color));
    background: rgb(var(--primary-color));
}

header.scrolled .header-cta-wrapper .btn:hover,
header.active-menu .header-cta-wrapper .btn:hover {
    color: rgb(var(--primary-color));
    background: transparent;
}

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

.mobile-menu .TemplateMenu li {
    padding: 0;
    text-align: center;
}

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

    /* Header logo */
    .text-logo {
        width: 10rem;
    }

    .text-logo-top {
        font-size: 4.2rem;
    }

    .text-logo-bottom {
        font-size: 1.08rem;
    }
}

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

    /* CTA */
    .header-cta-wrapper {
        margin: 0 0 0 1rem;
    }

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

    /* Header logo */
    .text-logo {
        width: 8rem;
    }

    .text-logo-top {
        font-size: 3.5rem;
    }

    .text-logo-bottom {
        font-size: .89rem;
    }
}

@media only screen and (max-width: 350px) {
    .header-cta-wrapper .btn {
        padding: 0.7rem;
    }
}

/* CTA
========================================================================== */
.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-wrapper .text-block {
    max-width: 65rem;
}

.cta-wrapper .btn-wrapper {
    margin-top: 0;
}

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

    .cta-wrapper .btn-wrapper {
        margin-top: 2rem;
    }
}

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

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

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

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

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

.top-section p {
    max-width: 55rem;
}

.top-section .btn {
    margin: 1rem 2rem 2rem 0;
}

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

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

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

/* CTAs 
========================================================================== */
body:not(.EditMode) .section-ctas .cards-wrapper {
    position: relative;
}

@media only screen and (max-width: 750px) {
    body:not(.EditMode) .section-ctas .cards-wrapper.mt--7 {
        margin-top: -6rem;
    }
}

/* Tidigare projekt
========================================================================== */
.section-projects .card-1-1 .card-item {
    position: relative;
    padding: 4rem;
    min-height: calc(70vh / 2 - 2rem);
}

.section-projects .card-1-1 .card-item.bg-black:hover {
    background-color: rgb(var(--primary-color));
}

.section-projects .card-1-1 .card-item.bg-primary:hover {
    background-color: rgb(var(--black-color));
}

.section-projects .card-1-1 .icon-wrapper {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
}

.section-projects .card-1-1 .icon-wrapper i {
    opacity: .3;
    font-size: 13rem;
    transform: rotate(6deg)
}

@media only screen and (max-width: 1600px) {
    .section-projects .card-1-1 .icon-wrapper i {
        font-size: 9rem;
    }
}

@media only screen and (max-width: 1025px) {
    .section-projects .card-1-1 .card-item {
        min-height: calc(60vh / 2 - 2rem);
    }
}

@media only screen and (max-width: 750px) {
    .section-projects .card-1-1 .card-item {
        min-height: calc(45vh / 2 - 2rem);
    }

    .section-projects .card-1-1 .icon-wrapper i {
        font-size: 8rem;
    }
}

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

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

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

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

.hero .of-wrapper img {
    object-position: top;
}

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

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

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */

/* Formular
========================================================================== */
/* Generellt */
.ContactForm {
    padding: 3rem;
    background-color: rgb(var(--white-color));
    border-radius: 3px;
}

.ContactForm p {
    display: none;
}

.ContactForm input[type="text"],
.ContactForm input[type="tel"],
.ContactForm input[type="email"],
.ContactForm select,
.ContactForm textarea {
    border: none;
    border-bottom: 1px solid rgb(var(--primary-color));
}

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

/* Kontaktformular */
.section-contact .ContactForm {
    padding-top: 0;
}

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

    /* Generellt */
    .ContactForm {
        margin-top: 6rem;
    }

    /* Kontaktformular */
    .section-contact .ContactForm {
        padding: 0;
    }

    /* Jobb ansokningsformular */
    .section-career .section-block-wrapper {
        flex-direction: column-reverse;
    }
}

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

    /* Jobb ansokningsformular */
    .section-career .ContactForm {
        padding: 2rem 1rem;
    }
}

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

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

.footer-menu {
    width: 20%;
}

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

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

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

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

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

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

/* 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: 48%;
        margin: 0 0 5rem;
    }

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

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

    .footer-menu {
        width: 100%;
    }

    .footer .section-title {
        font-size: 2.8rem;
    }
}