/* Lindbil Sverige AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 121, 9, 3;

    --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: 8rem 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-1 .section-block,
.pt-1:not(.section-wrapper) {
    padding-top: 1rem;
}

.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: 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: .3em;
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 1.2;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.4;
}

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

/* List-check */
ul {
    margin: 0;
}

.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.2rem;
    font-family: 'Font Awesome 5 Pro';
}

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

.text-italic {
    font-style: italic;
}

@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;
    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;
    font-family: inherit; 
    transition: all .4s ease;
}

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

.btn-primary-filled {
    color: rgb(var(--white-color));
    border-color: rgb(var(--primary-color));
    background-color: rgb(var(--primary-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';
    transition: transform .4s ease;
}

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

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

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

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

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

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

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

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

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

/* Bredder */
.cards-wrapper.w-20 .card-item {
    width: calc((100% / 5) - 2rem);
    margin: auto;
}
.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: 1024px) {
    /* Bredder */
    .cards-wrapper.w-20 .card-item {
        width: calc((100% / 3) - 2rem);
    }
    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 3) - 2rem);
        margin: 1rem;
    }

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

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

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

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

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

/* Logos 1 */
.logos-1 .card-item {
    text-align: center;
}

.logos-1 img {
    width: 100%;
    max-height: 8rem;
    margin: auto;
}

@media only screen and (max-width: 868px) {
    .logos-1 img {
        max-height: 8rem;
    }
}
/* Card 1-1 */
.card-1-1 .card-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(70vh / 2 - 2rem);
}

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

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

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

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

@media only screen and (max-width: 580px) {
    .card-1-1 .card-item {
        min-height: unset;
        padding: 2rem;
    }

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

/* Card 2-1 */
.card-2-1 a.card-item:hover {
    background: rgb(var(--black-color));
}

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

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

.card-2-4 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 8rem;
    flex-shrink: 0; 
}

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

/* Card 3-5 */
.card-3-5 .card-item {
    position: relative; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(70vh / 2 - 2rem);
}

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

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

.card-3-5 .card-body,
.card-3-5 .card-footer {
    z-index: 1;
    position: relative;
}

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

/* Grafiska element for bilden */
.split-image.clip img {
    -webkit-clip-path: polygon(20% 0, 100% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(20% 0, 100% 0%, 100% 100%, 0% 100%);
}

/* Bredder & hojder */
.split-wrapper .w-35 {
    width: 35%;
}

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

@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%;
    }

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

    /* Grafiska element for bilden */
    .split-image.clip img {
        -webkit-clip-path: none;
        clip-path: none;
    }

    /* Bredder */
    .split-wrapper .w-35,
    .split-wrapper .w-65 {
        width: 100%;
    }

    /* Split i full-width sektion */
    .mw-none.pl-0 .split-content {
        padding: 0 3rem 3rem;
    }
}

@media screen and (max-width: 580px) {
    /* Split i full-width sektion */
    .mw-none.pl-0 .split-content {
        padding: 0 2rem 3rem;
    }
}

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

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

.EditMode.WebbEssDIY header {
    top: 10px !important;
    position: relative;
}

header .container {
    max-width: none;
}

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

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

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

.TemplateMenu>li>ul>li>a,
.TemplateMenu>li>ul>li>ul>li>a {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

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

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

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

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

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

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

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

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

.top-section .section-title {
    font-weight: 600;
}

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

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

/* Text-divider
========================================================================== */
.section-text-divider .section-block {
    padding-top: 15rem;
    padding-bottom: 15rem;
}

.section-text-divider .col-0 {
    width: calc(35% - 1.5rem);
    padding-right: 5rem;
}

.section-text-divider .col-1 {
    width: 65%;
    padding-left: 0;
}

.section-text-divider.bg-primary .arrow-link::after {
    color: rgb(var(--white-color));
}

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

    .section-text-divider .col-0 {
        width: 100%;
        padding-right: 0;
    }

    .section-text-divider .col-1 {
        width: 100%;
    }
}

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

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

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

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

.hero .section-title {
    font-size: 5.3rem;
    font-weight: 600;
    color: rgb(var(--white-color));
}

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

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

/* Hero - Split
========================================================================== */
.hero-split {
    padding-top: 0;
    min-height: unset;
    background-color: rgb(var(--black-color));
}

.EditMode .hero-split {
    padding-top: calc(var(--menu-height) + 3rem);
}

.hero-split .section-title {
    font-size: 4.3rem;
    font-weight: 300;
    color: rgb(var(--white-color));
}

.hero-split .split-image {
    height: 70vh;
}

@media only screen and (max-width: 1024px) {
    .hero-split .split-content {
        padding-top: calc(var(--menu-height) + 5rem);
        padding-right: 3rem;
        padding-left: 3rem;
    }

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

@media only screen and (max-width: 580px) {
    .hero-split .split-content {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .hero-split .split-image {
        height: auto;
    }

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

/* CTA-sektion
========================================================================== */
.cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    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-direction: column;
        align-items: flex-start;
    }

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

/* ==========================================================================
Undersida: Salj bil
========================================================================== */
.section-split-form .section-block-wrapper {
    justify-content: space-between;
}

.section-split-form .col-0 {
    padding-right: 10rem; 
}

.section-split-form .col-1 {
    padding: 3rem;
    background-color: rgb(var(--white-color));
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

@media only screen and (max-width: 1400px) {
    .section-split-form .col-0 {
        padding-right: 5rem; 
    }
}

@media only screen and (max-width: 980px) {
    .section-split-form .col-0 {
        padding-right: 0; 
        margin-bottom: 3rem;
    }
}

/* ==========================================================================
Undersida: Kop bil > bilundersida
========================================================================== */

/* Hero
========================================================================== */
.hero-split .text-label {
    width: fit-content;
    padding: 1rem 2rem;
    background-color: rgb(var(--primary-color));
    margin-bottom: 2rem;
}

.price-stroke {
    margin-left: 1rem;
    font-weight: 300;
    text-decoration: line-through;
} 

/* Snabbfakta
========================================================================== */
.section-facts .section-block {
    padding-top: 0;
}

.section-facts .section-block-wrapper {
    position: relative;
    max-width: 100rem;
    padding: 2rem;
    margin-top: -4rem;
    background-color: rgb(var(--white-color));
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

.arrow-link.arrow-down::after {
    content: ' \f063';
}

.arrow-link.arrow-down:hover::after {
    transform: none;
}

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

@media only screen and (max-width: 580px) {
    .section-facts .section-block {
        padding-bottom: 0;
    }

    .section-facts .section-block-wrapper {
        margin-top: -2rem;
    }
}

/* Bildspel
========================================================================== */
.section-scroll {
    overflow: hidden;
}

.gallery-split .split-content {
    position: relative;
    z-index: 1;
    padding: 5rem;
}

.gallery-split .slick-slide {
    margin: 0 1rem;
}

.gallery-split .slick-list {
    overflow: visible;
}

/* Slick Settings */
.slick-list,
.slick-track {
    height: 100%;
}

.gallery-split .slick-list {
    width: 100%;
}

.gallery-split .slick-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    width: auto;
    padding: 0;
    margin: 0;
    background-color: rgb(var(--white-color));
    border-radius: 2rem;
    transform: translateX(-50%);
}

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

@media only screen and (max-width: 1100px) {
    .gallery-split .split-content {
        width: 100%;
        margin: 0 auto;
        padding: 0 0 5rem;
        background-color: transparent;
    }

    .gallery-split .split-image {
        height: 50rem;
    }
}

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

    .gallery-split .split-image {
        height: 25rem;
    }
}

/* Utrustning
========================================================================== */
.equipment-list {
    column-count: 4;
    column-gap: 2rem;
}

@media only screen and (max-width: 1100px) {
    .equipment-list {
        column-count: 3;
    }
}

@media only screen and (max-width: 850px) {
    .equipment-list {
        column-count: 2;
    }
}

@media only screen and (max-width: 580px) {
    .equipment-list {
        column-gap: 1rem;
    }

    .equipment-list li {
        font-size: 1.3rem;
    }

    .equipment-list li::before {
        padding: 0 6px 0 0;
        font-size: .9rem;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .section-block {
    padding-top: 0;
}

.section-contact .section-block-wrapper {
    position: relative;
    max-width: 100rem;
    padding: 4rem;
    margin-top: -10rem;
    background-color: rgb(var(--white-color));
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

.section-contact .ContactForm {
    max-width: 90rem;
    margin: 0 auto;
}

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

.ContactForm div {
    width: 49%;
}

.ContactForm .ContactFormMessage {
    width: 100%; 
} 

.ContactForm p {
    font-size: 1.4rem;
    font-weight: 400; 
}

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

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

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

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

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

.footer-menu.w-17 {
    width: 17rem; 
}

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

.footer .text-label {
    padding: 0 0 1rem;
    font-weight: 600;
    line-height: 1;
}

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

.footer-top li,
.footer-top p,
.footer-top a {
    text-decoration: none;
}

.footer a:not(.icon-links):hover {
    text-decoration: none;
    color: rgb(var(--primary-color));
}

/* Logos */
.footer-menu.logos {
    display: flex;
    flex-wrap: wrap;
}

.footer-menu.logos .logo-item {
    display: inline-block;
    margin: 0 5px 5px 0; 
}

.footer-menu.logos .logo-item.w-50 {
    width: calc(100% / 2 - 7px); 
    height: 4rem; 
}

.footer-menu.logos .text-logo {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    vertical-align: top;
}

/* Social Menu */
/* .social-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-menu li {
    margin: 1rem 1rem 1rem 0;
} */

/* 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(--primary-color));
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
    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: 1200px) {
    .footer {
        padding: 0 3rem;
    }

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

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

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

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

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
    }

    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}