/* Norrsken Städ */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 36, 108, 105;
    --primary-light-color: 38, 171, 156;
    --primary-dark-color: 9, 40, 39;

    --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: 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: 11rem 5rem;
}

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

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

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

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

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

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

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

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

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

.text-small {
    font-size: 1.5rem;
}

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

.text-block-center {
    max-width: 80rem;
    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: 1rem 2rem;
    margin: 7px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid;
    border-radius: 2rem;
    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(--black-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 {
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.arrow-link::after {
    content: ' \f061';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    color: rgb(var(--primary-color));
    transition: transform .4s ease;
}

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

/* 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(--primary-color));
    background-color: rgb(var(--white-color));
    text-decoration: none;
    transition: .3s ease;
}

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

.circle-icon em:before,
.circle-icon i:before {
    font-size: var(--base-size);
}

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

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

/* Gradients */
.gradient-primary {
    background: linear-gradient(229deg, rgba(var(--primary-light-color), 1) 0%, rgba(var(--primary-color), 1) 56%, rgba(var(--primary-dark-color), 1) 100%);
}

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

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

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

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

/* 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-100 .card-item {
    width: 100%;
    margin: 1rem 0;
}

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

@media only screen and (max-width: 1050px) {
    /* Bredder */
    .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;
    }

    /* Bredder */
    .cards-wrapper.w-25 .card-item,
    .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: 7rem;
    height: 7rem;
    margin-bottom: 2rem;
    border-radius: 50%;
    border: 1px solid rgb(var(--primary-light-color));
}

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

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

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

/* Card 3-2 */
.cards-wrapper.card-3-2 .card-item {
    margin-top: 5rem;
    border: 1px solid rgb(var(--gray-light-color));
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
    overflow: visible;
}

.cards-wrapper.card-3-2 .card-item:hover {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .05);
}

.card-3-2 .image-wrapper {
    display: inline-block;
    max-width: 20rem;
    height: 20rem;
    margin-top: -5rem;
    border-radius: 50%;
}

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

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

    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        padding: 0;
        background: transparent;
    }

    .split-content {
        width: 100%;
        max-width: 70rem;
        padding: 0 0 3rem;
        background: transparent;
    }

    .split-image {
        width: 100%;
    }

    /* Centrera content */
    .split-wrapper .align-center {
        align-self: flex-start;
    }
}
/* Modal som öppnas automatiskt
========================================================================== */
  body:not(.EditMode) .section-auto-modal {
    display: none;
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(var(--black-color),.7);
  }

  body:not(.EditMode) .section-auto-modal .section-block {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 75rem;
    max-height: 75vh;
    padding: 4rem;
    border-radius:0;
    overflow: auto;
    background: rgb(var(--white-color));
    transform: translate(-50%,-50%);
  }

  .section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
  }

  @media only screen and (max-width: 450px) {
    body:not(.EditMode) .section-auto-modal .section-block {
      padding: 3rem 2rem;
    }
  }

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

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

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

.header-logo img {
    padding: 3px 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.active>a,
.TemplateMenu a:hover {
    color: rgb(var(--primary-light-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;
    line-height: 1;
    white-space: nowrap;
}

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

.mobile-menu .TemplateMenu li {
    padding: 0 2rem;
    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;
    padding-top: calc(var(--menu-height) / 2);
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgb(var(--black-color), .5);
    background-image: url(/assets/images/graphics/wave.svg);
    background-size: 100% 10rem;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.top-section img{
    max-height: 100vh;
}

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

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

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

@media only screen and (max-width: 1060px) {
    .top-section {
        min-height: 90vh;
        background-size: 100% 5rem;
    }

    .top-section .small-title {
        font-size: 1.6rem;
    }
    
    .top-section .section-title {
        font-size: 3rem;
    }
}

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

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 65vh;
    padding-top: var(--menu-height);
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgb(var(--black-color), .5);
    background-image: url(/assets/images/graphics/wave.svg);
    background-size: 100% 10rem;
    background-repeat: no-repeat;
    background-position: center bottom;
}

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

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

@media only screen and (max-width: 780px) {
    .hero {
        min-height: 45rem;
        background-size: 100% 5rem;
    }

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

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

.section-contact .col-2 {
    width: calc(50% - 5rem);
    padding: 0;
    border-radius: 2rem;
    border: 1px solid rgb(var(--primary-light-color));
    background-color: rgb(var(--gray-light-color));
    overflow: hidden;
}

.section-contact .ContactForm {
    padding: 2rem;
}

.ContactForm p {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgb(var(--black-color));
}

.ContactForm input[type="text"],
.ContactForm input[type="number"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm textarea {
    padding: .8rem 1.5rem;
}

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

@media only screen and (max-width: 980px) {
    .section-contact .col-2 {
        width: 100%;
        margin-top: 5rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    background: linear-gradient(229deg, rgba(var(--primary-light-color), 1) 0%, rgba(var(--primary-color), 1) 56%, rgba(var(--primary-dark-color), 1) 100%);
}

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

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

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

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

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

.footer-top p:not(.text-label),
.footer-top a {
    font-size: 1.5rem;
    text-decoration: none;
    color: rgb(var(--white-color));
    transition: .3s ease;
}

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

/* 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(--white-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(--white-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;
    filter: invert();
}

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

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

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