/* Lindbergs Entreprenad & Konsult AB */

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

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

    /* 	Colors */
    --primary-dark-color: 27, 38, 59;
    --primary-color: 65, 90, 119;
    --primary-light-color: 206, 216, 228;

    --black-color: 33, 37, 41;
    --gray-dark-color: 73, 80, 87;
    --gray-color: 173, 181, 189;
    --gray-light-color: 233, 236, 239;
    --white-color: 255, 255, 255;

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

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

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

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

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

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

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

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

/* margins */

.m-0 {
    margin: 0rem !important;
}

.ml-1 {
    margin-left: 1rem;
}

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

/* Bredder */
.mw-1000 .section-block-wrapper {
    max-width: 100rem;
}

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

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

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

/* Rubriker */
.text-label {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 1em;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: .5em;
}

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

/* Brodtext och lankar */
p,
li {
    font-weight: 400;
    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-bold {
    font-weight: 700;
}

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.4rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 4rem;
    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 {
    border: 1px solid rgb(var(--primary-color));
    background-color: transparent;
    color: rgb(var(--primary-color));
}

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    padding-right: 1rem;
    color: rgb(var(--gray-dark-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;
}

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

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

.bg-primary-light {
    background-color: rgb(var(--primary-light-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
========================================================================== */
/* Badge */
.badge-wrapper {
    position: relative;
}

.badge {
    background-color: rgb(var(--primary-color));
    color: rgb(var(--white-color));
    position: absolute;
    top: 1rem;
    left: 0;
    padding: .5rem 1.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    border-radius: 0 .5rem .5rem 0;
}

/* Borders */
.border-top-primary {
    border-top: 1px solid rgb(var(--primary-color));
}

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

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

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

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1rem;
    margin-right: -1rem;
}

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

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

.cards-grow .card-body {
    flex-grow: 1;
}

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

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

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

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

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

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

/* Card 1-1 Modal kort for tidigare arbeten*/
.card-1-1 {
    padding: 0;
}

/* Card 2-1 */
.card-2-1 .card-item {
    border-radius: 2rem;
}

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

.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 5rem;
}

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

/* Card 2-2 */
.card-2-2 .card-item {
    border-radius: 2rem;
}

.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
}

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

.card-2-2 .card-footer {
    padding-top: 2rem;
}

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

.card-3-1 a:hover {
    background: rgb(var(--primary-light-color));
}

/* 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: 1000px) {
    .split-content {
        width: 100%;
        padding: 3rem;
    }

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

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

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

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

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

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

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

.header-cta-wrapper li {
    margin: 0 .5rem;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    line-height: 1;
}

@media only screen and (max-width: 580px) {
    /* CTA */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

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

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

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

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

.top-section .section-title {
    font-size: 6rem;
    font-weight: 400;
}

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

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

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

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

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

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 40rem;
    background-color: rgb(var(--black-color), .5);
}

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

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

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

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

/* ==========================================================================
Undersida: Tidigare arbeten
========================================================================== */

.fancybox-caption__body {
    max-width: 60rem;
    margin: auto;
    font-size: 1.6rem;
}


/* Modal
========================================================================== */
.modal {
    max-width: 110rem;
    width: 100%;
    max-height: 86vh;
    padding: 4rem;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
    border-radius: 1rem;
    box-shadow: none;
    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) {
    .modal {
        padding: 3rem 2rem;
    }

    .blocker {
        padding: 1rem;
    }
}


.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    display: block;
    width: 100%;
    height: auto;
}

.overlay-text {
    position: absolute;
    top: 81%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #00000091;
    padding: 0.5rem;
    width: 100%;
}

.overlay-text-top {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.5rem;
    width: 100%;
    text-align: center;
}

.overlay-text-top p {
    color: #fff;
    font-size: 2rem;
}

.overlay-text p {
    color: #fff;
    font-size: 1.3rem;
}

.project-text {
    font-size: 1.3rem;
}

.project-logo {
    max-width: 15rem;
    margin: auto;
}

@media only screen and (max-width: 600px) {
    .project-text {
        padding: 1rem;
    }
}

/* ==========================================================================
Undersida: Bestall material
========================================================================== */
.section-order .col-1 {
    background: rgb(var(--gray-light-color));
    padding: 4rem;
}

.section-order .ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-order .ContactForm div {
    width: 49%;
}

.section-order .ContactForm div.file-field,
.section-order .ContactForm .file-field div,
.section-order .ContactForm div.submit-button-container {
    width: 100%;
}

@media only screen and (max-width: 600px) {
    .section-order .ContactForm div {
        width: 100%;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-map {
    font-size: 0;
}

.map-container {
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 50rem;
    border: none;
}

.map-info {
    z-index: 1;
    position: absolute;
    top: 0;
    right: 3rem;
    width: 30rem;
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 0 0 2rem 2rem;
}

@media only screen and (max-width: 1000px) {
    .map-info {
        position: static;
        width: 100%;
        padding: 3rem 2rem;
        border-radius: 0;
    }
}

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

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

.footer-menu {
    margin: 0 0 3rem;
}

.footer-menu-large {
    --base-size: 1.3rem;
    width: 30%;
}

.footer .text-label {
    color: rgb(var(--black-color));
    padding: 0 0 1rem;
    line-height: 1;
}

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

.footer-top li,
.footer-top p,
.footer-top a {
    color: rgb(var(--black-color), .6);
    text-decoration: none;
}

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

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: var(--base-size);
}

.webbess-stamp img {
    width: 2rem;
    margin-left: 1rem;
    opacity: .6;
}

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

    /* 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 {
        width: 100%;
        order: 0;
    }

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

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

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

    /* Footer bottom */
    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}