/* Lundby Konsultation & Hjalpmedel AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 62, 181, 165;

    --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: 5rem;
    --menu-height: 10rem;
    --menu-height-scrolled: 8rem;
    --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: 10rem 5rem;
}

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

.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-2 {
    margin-bottom: 2rem;
}

@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.4em;
    font-size: 3.7rem;
    font-weight: 800; 
    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-arrow */ 
.list-arrow {
    padding: 0;
    list-style: none;
}

.list-arrow li::before {
    content: '\f061';
    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: 600;  
}

@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: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 1px solid;
    border-radius: 2rem;
    font-family: inherit;
    transition: all .4s ease;
}

.btn i {
    margin-right: 5px;
}

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

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

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

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

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem; 
    margin: .5rem;
    font-size: 0;
    border-radius: 50%;
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
    text-decoration: none;
    transition: .3s ease;
}

.circle-icon:hover {
    color: rgb(var(--primary-color));
    background-color: transparent;
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: 1.8rem;
} 

/* Pulse btn */ 
.pulse-btn,
.ContactSubmit {
    box-shadow: 0 0 0 0 rgb(var(--white-color));
    -webkit-animation: pulsing 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulsing 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulsing 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulsing 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
}

@-webkit-keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(var(--white-color), 0);
    }
}

@-moz-keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(var(--white-color), 0);
    }
}

@-ms-keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(var(--white-color), 0);
    }
}

@keyframes pulsing {
    to {
        box-shadow: 0 0 0 20px rgba(var(--white-color), 0);
    }
}

/* Farger
========================================================================== */
/* Bakgrunder */
.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));
}

/* Grafiska element
========================================================================== */
/* Border radius */
.br-2 {
    border-radius: 2rem;
    overflow: hidden;
}

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

/* Play */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: .4s ease;
}

.video-wrapper:hover .play-overlay {
    opacity: 1;
    visibility: visible;
    background: rgba(var(--black-color), .7);
}

.play-overlay em {
    color: rgb(var(--white-color));
    font-size: 5rem;
    transition: .4s ease;
}

.card-item:hover .play-overlay em {
    font-size: 3.5rem;
}

.play-overlay p {
    display: inline-block;
    color: rgb(var(--white-color));
    margin-left: 1.5rem;
    font-size: 0;
    transition: .4s ease;
}

.video-wrapper:hover .play-overlay p {
    font-size: 2rem;
}

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

.cards-wrapper:not(.w-100) {
    margin-left: -1rem;
    margin-right: -1rem;
}

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

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

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

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

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

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
    align-items: center;
    border-radius: 1rem;
    border: 1px solid rgb(var(--gray-light-color));
}

.card-2-4 a.card-item:hover {
    background: rgb(var(--white-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;
}


/* 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), .3);
    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;
}
.card-3-6 .small-title{
    font-size: 2rem;
}


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

    /* Split med border radius */
    .split-wrapper.br-2,
    .split-wrapper .br-2 {
        border-radius: 0;
    }
}

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

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

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

/* 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 3px;
    line-height: 1;
    white-space: nowrap;
}

.header-cta-wrapper .circle-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 3px;
}

.header-cta-wrapper .circle-icon em:before,
.header-cta-wrapper .circle-icon i:before {
    font-size: 1.6rem;
}

@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: 80vh;
    background-color: rgb(var(--black-color), .65);
}

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

.top-section .col-1 {
    width: calc(100% - 45rem);
}

.top-section .col-2 {
    width: 45rem;
    padding: 5rem 4rem;
    border-radius: 2rem;
    border: 1px solid rgb(var(--primary-color));
    background: rgb(var(--primary-color), .8);
}

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

/* Formular */
.ContactForm p {
    display: none;
}

.section-wrapper .ContactForm input:not(.ContactSubmit),
.section-wrapper .ContactForm textarea {
    border-radius: 1.2rem;
    border: none;
}

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

@media only screen and (max-width: 1300px) {
    .top-section .col-1 {
        width: calc(100% - 35rem);
    }

    .top-section .col-2 {
        width: 35rem;
        padding: 4rem 3rem;
    }
}

@media only screen and (max-width: 1024px) {
    .top-section .col-1 {
        width: 100%
    }

    .top-section .col-2 {
        width: 50rem;
        max-width: 100%;
        margin: 5rem auto 0;
    }

    .top-section .text-block {
        max-width: 80rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

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

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

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

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

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin-bottom: 5rem;
}

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

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

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -4rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--white-color));
}

.scroll-wrapper .slick-next {
    right: 2rem;
}

.scroll-wrapper .slick-prev {
    left: auto;
    right: 6rem;
}

/* Horselstodet
========================================================================== */
.logo-text {
    display: flex;
    align-items: center;
    max-width: 80rem;
}

.logo-text .image-wrapper {
    width: 15rem;
    flex-shrink: 0;
    margin-right: 2rem;
    border-radius: 50%;
}

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

@media only screen and (max-width: 650px) {
    .logo-text {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-text .image-wrapper {
        margin: 0 0 2rem;
    }

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

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

.section-contact .col-1 {
    max-width: calc(100% - 55rem);
}

.section-contact .col-2 {
    width: 55rem;
    padding: 5rem 4rem;
    border-radius: 2rem;
    border: 1px solid rgb(var(--primary-color));
    background: rgb(var(--primary-color), .8);
}

@media only screen and (max-width: 1300px) {
    .section-contact .col-1 {
        max-width: calc(100% - 45rem);
    }

    .section-contact .col-2 {
        width: 45rem;
        padding: 4rem 3rem;
    }
}

@media only screen and (max-width: 1024px) {
    .section-contact .col-1 {
        width: 100%;
        max-width: 100%;
    }

    .section-contact .col-2 {
        width: 100%;
        max-width: 100%;
        margin-top: 3rem;
    }
}

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

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

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

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

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

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

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

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

/* Sociala medier */
.footer-socials {
    display: flex;
    align-items: center;
}

.footer-socials::before,
.footer-socials::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0%;
    border-top: 1px solid rgb(var(--black-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

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

.footer-bottom p,
.footer-bottom a {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgb(var(--gray-dark-color));
}

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

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

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

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