/* Nordens Eltjanst i Stockholm AB */

/* Animationer */
@import url("https://unpkg.com/aos@2.3.1/dist/aos.css");

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

    /* Farger  */
    --primary-color: 106, 181, 42;
    --primary-light-color: 240, 243, 218;
    --secondary-color: 52, 78, 65;

    /* 	Colors */
    --black-color: 20, 20, 20;
    --gray-dark-color: 75, 75, 75;
    --gray-light-color: 240, 240, 240;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 7rem;
    --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;
}

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

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

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

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

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

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

/* Ovriga klasser */
.align-center {
    align-items: center;
}

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

@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: "Hanken Grotesk", sans-serif;
}

/* Rubriker */
.text-label {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 1em;
    color: rgb(var(--gray-dark-color));
}

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

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

.ingress {
    font-size: calc(var(--base-size) * 1.2);
    font-weight: 700;
}

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

a {
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

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

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

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

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

/* List-check */
.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';
}


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

/* 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: 17rem;
    padding: 1.4rem 2rem;
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    border-top-right-radius: 5rem;
    border-bottom-left-radius: 5rem;
    border: none;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
}

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

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

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

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

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

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

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    padding: 0;
    margin: 0.5rem;
    font-size: 0;
    color: rgb(var(--white-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: 0.3s ease;
}

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

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

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

    .circle-icon {
        width: 4rem;
        height: 4rem
    }

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

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

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

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

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

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

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

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

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

/* Bakgrunder */
.bg-wave-primary-bottom .section-block {
    background-image: url(/assets/images/wave-bottom.png);
    background-size: 100% 50rem;
    background-repeat: no-repeat;
    background-position: center bottom;
}

@media screen and (max-width: 580px) {
    .bg-wave-primary-bottom .section-block {
        background-size: 100% 20rem;
    }
}

/* Video ratio */
.video-ratio {
    padding-bottom: 56.25%;
}

.video-ratio video {
    position: absolute;
    top: 0;
    left: 0;

    height: 100%;
}

/* Bakgrundsvideo / Bakgrundsbild
========================================================================== */
.bg-video,
.bg-image {
    overflow: hidden;
    position: relative;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(90deg,
            rgba(var(--black-color), 0.2) 0%,
            rgba(var(--black-color), 0.5) 0%,
            rgba(var(--black-color), 0) 100%);
}

.bg-video-wrapper video {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

.bg-image-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.cards-wrapper a.card-item {
    text-decoration: none;
}

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

.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: 1050px) {
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}

@media only screen and (max-width: 900px) {
    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Card 2-2 */
.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7.5rem;
    height: 7.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 50%;
}

.card-2-2 .card-header img {
    filter: brightness(0) invert(1);
}

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

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

/* Card 2-4 - kontaktuppgifter */
.card-2-4 .card-item {
    display: flex;
    transition: all 0.4s ease;
}

.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: 420px) {
    .card-2-4 .card-item {
        flex-direction: column;
        align-items: flex-start;
    }

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

/* Card 3-1 - tjnaster och referernser */
.card-3-1 .image-wrapper {
    display: block;
    height: 25rem;
}

.hidden-items {
    display: 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;
}

@media screen and (max-width: 1000px) {
    .split-content {
        width: 100%;
    }

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

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

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


/* Popup-notis
========================================================================== */
.EditMode .popup-wrapper {
    display: none;
}

.popup-wrapper {
    z-index: 8;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
}

/* Knappar */
.popup-button {
    position: relative;
    width: 5rem;
    height: 5rem;
    background: rgb(var(--primary-color));
    border-radius: 50%;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    cursor: pointer;
}

.popup-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.8rem;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}

.popup-wrapper .popup-button .icon-open,
.popup-wrapper.opened .popup-button .icon-close {
    transform: translate(-50%, -50%) scale(1);
}

.popup-wrapper.opened .popup-button .icon-open,
.popup-wrapper .popup-button .icon-close {
    transform: translate(-50%, -50%) scale(0);
}

/* Innehåll */
.popup-window {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 0;
    bottom: 6rem;
    max-width: 35rem;
    max-height: calc(100vh - 12rem);
    padding: 4rem;
    margin: 0 2rem;
    background: rgb(var(--white-color));
    border-radius: 2rem;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    overflow: auto;
    transition: opacity .3s ease, bottom .3s ease;
}

.popup-wrapper.opened .popup-window {
    opacity: 1;
    visibility: visible;
    display: block;
    bottom: 10rem;
}

.icon-close-popup {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
}

@media only screen and (max-width: 450px) {
    .popup-window {
        padding: 2rem 3rem 2rem 2rem;
    }

    .icon-close-popup {
        top: 1rem;
    }
}


/* Header / Navigation
========================================================================== */
header {
    background-color: transparent;
}

header.scrolled {
    background-color: rgb(var(--white-color));
    border-bottom: 2px solid rgb(var(--primary-color));
}

header .container {
    padding: 0;
    margin: 0 auto;
}

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

.header-logo img {
    padding: 1rem 0;
}

/* Nav */
.TemplateMenu a {
    font-family: "Hanken Grotesk", sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: rgb(var(--white-color));
}

header.scrolled .TemplateMenu a {
    color: rgb(var(--black-color));
}

.TemplateMenu>li>a:hover {
    color: rgb(var(--primary-color));
}

/* CTA  */
.header-cta-wrapper {
    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 0.5rem;
}

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

/* Mobilmeny */

@media only screen and (max-width: 1024px) {
    header {
        background-color: rgb(var(--white-color));
    }

    .TemplateMenu a {
        color: rgb(var(--black-color));
    }
}

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

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

    .header-logo img {
        padding: 1.9rem 0;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    margin-top: calc(-1 * var(--menu-height) - 1px);
}

.top-section .section-block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 108vh;
    margin-top: calc(-1 * var(--menu-height));
    background-image: url(/assets/images/wave.svg);
    background-size: 100% 10rem;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-color: rgb(var(--secondary-color), 0.6);
}

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

.top-section .section-title {
    font-size: 5rem;
    font-weight: 400;
    text-align: center;
    max-width: 70rem;
    margin: 0 auto;
    color: rgb(var(--white-color));
}

.top-section p {
    max-width: 55rem;
    margin: 0 auto;
    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;
    }

    .top-section .section-block {
        background-size: 100% 5rem;
    }
}

/* Sektion Om oss
========================================================================== */
.section-about .split-image {
    border-right: 1rem solid rgb(var(--white-color));
    border-left: 1rem solid rgb(var(--white-color));
}

.section-about .card-2-4 p {
    text-decoration: underline;
}

.section-about .card-2-4 a.card-item:hover {
    background: transparent;
}

.section-about .card-2-4:hover .card-header {
    transform: scale(105%);
}

.section-about .card-2-4:hover p {
    color: rgb(239, 125, 0);
}

@media only screen and (max-width: 1024px) {
    .section-about .split-image {
        width: calc(100% + 6rem);
        margin: 0 -3rem;
        border-right: none;
        border-left: none;
        border-top: 1rem solid rgb(var(--white-color));
    }
}

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

    .section-about .split-image {
        width: calc(100% + 4rem);
        margin: 0 -2rem;
        border: 0;
    }

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

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

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

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: hidden;
}

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
}

.scroll-wrapper.cards-wrapper .card-item {
    /* display: flex; */
    height: auto;
}

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    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;
}

.slick-dots {
    margin-top: 1rem;
}


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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 50rem;
    text-align: center;
    background-image: url(/assets/images/wave.svg);
    background-size: 100% 10rem;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-color: rgb(var(--secondary-color), 0.6);
}

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

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

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

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

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

    .hero .section-block {
        background-size: 100% 5rem;
    }
}

/* CTA kontakt
========================================================================== */
.cta-wrapper {
    max-width: 100rem;
    padding: 5rem 2rem;
    margin: 0 auto;
}

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

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

.section-contact .col-2 {
    max-width: 50rem;
    padding: 3rem;
    background-color: rgb(var(--primary-light-color));
}

.ContactForm p {
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.4rem;
}

.ContactForm input:not(.illegal, .ContactSubmit),
.ContactForm select:not(.illegal),
.ContactForm textarea:not(.illegal) {
    border: none;
    background-color: rgb(var(--white-color));
}

.ContactSubmit {
    margin: 0;
}

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

    .section-contact .col-2 {
        width: 40%;
        padding: 3rem;
    }
}

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

    .section-contact .col-2 {
        width: 100%;
        max-width: none;
        padding: 5rem 2rem;
        margin: 5rem auto 0;
    }
}

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

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    padding: 8rem 0 5rem;
    border-bottom: 1px solid rgb(var(--primary-color), 0.5);
}

.footer-menu {
    width: fit-content;
    margin: 0 8rem 0 0;
}

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

.footer-menu.socials {
    display: flex;
    margin: 0 0 3rem 0;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
}

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

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

.footer-top li,
.footer-top p,
.footer-top a:not(.circle-icon) {
    color: rgb(var(--white-color));
}

/* 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.4rem;
    line-height: 1.6;
    color: rgb(var(--white-color));
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    filter: invert();
}

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

    .footer-menu.socials {
        justify-content: start;
        margin: 1rem 0;
    }
}

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

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

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