/*  Noce AB */

/* Typsnitt */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap');

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

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

    /* 	Colors */
    --primary-color: 241, 210, 6;

    --accent-green-color: 106, 153, 78;

    --black-color: 0, 0, 0;
    --gray-dark-color: 49, 53, 57;
    --gray-light-color: 246, 245, 230;
    --white-color: 255, 255, 255;

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

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

/* Layout
========================================================================== */
.section-block {
    padding: 10rem 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;
}

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

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

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

/* Bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}

.mw-600 .section-block-wrapper {
    max-width: 60rem !important;
}

.mw-1500 .section-block-wrapper {
    max-width: 180rem !important;
}

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

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

    /* Ovriga klasser */
    .layout-2 .col-1 {
        padding-top: 3rem;
    }
}

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

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

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

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

.small-title {
    font-size: 2.5rem;
    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: 90rem;
    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;
    }
}

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.6rem 2rem;
    margin: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 0.5rem;
    border: none;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

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

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

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

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

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

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

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

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

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

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

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

/*wave */
.section-wave-bottom .section-block {
    background-image: url(/assets/images/wave-bottom.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center bottom;
}

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    overflow: hidden;
}

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

/* Bakgrundsvideo
========================================================================== */
.bg-video {
    overflow: hidden;
    position: relative;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(90deg, rgba(var(--black-color), .2) 0%, rgba(var(--black-color), .5) 0%, rgba(var(--black-color), 0.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%);
}

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

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

/* Specifika bredder */
.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: 750px) {

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

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

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

.card-2-2 span {
    font-size: 4rem;
}

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

/* Card 2-5 */
.card-2-5 .card-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 5px;
    transition: .3s ease;
}

.card-2-5 a.card-item:hover {
    background-color: rgb(var(--gray-dark-color));
}

.card-2-5 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 5px;
}

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

.card-2-5 .card-body {
    padding: 0 2rem;
}

.card-2-5 .card-item:hover .card-body p {
    color: rgb(var(--white-color));
}

/* Card 3-1 */
.card-3-1 .card-item {
    border-radius: 5px;
    position: relative;
}

.card-3-1 .image-wrapper {
    height: 25rem;
    border-radius: 5px;
    margin-top: -5rem;
}

.card-3-1 .small-title::before {
    content: '';
    position: relative;
    right: 1.3rem;
    display: inline-block;
    height: 0.1rem;
    width: 2.5rem;
    margin-bottom: .3em;
    margin-left: 1.3rem;
    border-bottom: 2px solid rgb(var(--primary-color));
}

@media only screen and (max-width: 1050px) {
    .card-3-1 .card-item {
        margin-top: 5rem !important;
    }
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.split-wrapper.reverse {
    flex-direction: row-reverse;
}

.split-content {
    width: 50%;
    padding: 8rem;
}

.split-image,
.split-video,
.split-map {
    width: 50%;
}

/* Video / Karta */
.split-video video,
.split-video iframe,
.split-map iframe {
    width: 100%;
    height: 100%;
}

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

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

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

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

    .split-content,
    .split-video,
    .split-map {
        width: 100%;
    }

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

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

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

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

    .split-content.bg-gray-light,
    .split-content.bg-primary {
        padding: 2rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--gray-dark-color));
}

/* Logo */
.header-logo {
    margin: 0 auto 0 0;
    max-width: 11rem;
}

.header-logo a {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: rgb(var(--white-color));
}

/* Nav */
.TemplateMenu a {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgb(var(--white-color));
}

.TemplateMenu>li>a:hover {
    color: rgb(var(--accent-green-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 .5rem;
}

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

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

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

/* Top-section
========================================================================== */
.top-section {
    background-image: linear-gradient(to right, rgba(var(--black-color), 0.5), rgb(var(--black-color), 0.3));
}

.top-section .section-block {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 102vh;
    background-image: url(/assets/images/wave.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
}

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

.top-section .section-title {
    font-size: 7rem;
    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;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    background-image: linear-gradient(to right, rgba(var(--black-color), 0.5), rgb(var(--black-color), 0.3));
}

.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 50rem;
    background-image: url(/assets/images/wave.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
}

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

.hero .section-title {
    font-size: 7rem;
    color: rgb(var(--white-color));
    text-align: center;
}

.hero .bg-image-wrapper img {
    object-position: center 85%;
}

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

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

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

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

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

/* Kontaktformular */
.ContactForm p {
    padding-left: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgb(var(--white-color));
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border-radius: 5px;
}

.ContactForm .ContactSubmit {
    font-size: 1.2rem;
}

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

    .section-contact .col-2 {
        width: 100%;
        max-width: 75rem;
        padding: 3rem;
        margin: 5rem auto 0;
        background: rgb(var(--gray-dark-color));
    }

    .section-contact .cards-wrapper {
        max-width: 50rem;
    }
}

/* Karta
========================================================================== */
.section-map .layout-2 .col-0 {
    position: relative;
    padding-right: 1rem;
}

.section-map .layout-2 .col-1 {
    position: relative;
    padding-left: 1rem;
}

.map-info {
    position: absolute;
    top: 6rem;
    padding: 1.5rem 2.5rem;
    border-radius: 0 5px 5px 0;
    background: rgb(var(--gray-dark-color));
}

.map-info .text-label {
    padding: 0;
}

.section-map iframe {
    width: 100%;
    height: 50rem;
    border-radius: 5px;
}

@media only screen and (max-width: 980px) {
    .section-map .layout-2 .col-0 {
        padding: 0 0 2rem 0;
    }

    .section-map .layout-2 .col-1 {
        padding: 0;
    }
}

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

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

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

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

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

.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-logo-wrapper {
    background: rgb(var(--white-color));
    padding: 2rem;
    border-radius: 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.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: 1024px) {
    .footer {
        padding: 0 3rem;
    }

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

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

    .footer-menu-large p {
        max-width: 55rem;
    }

    .footer-logo-wrapper {
        width: 30rem;
    }
}

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

    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }

    .footer-logo-wrapper {
        width: 26rem;
    }
}

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


/* Cookies 
========================================================================== */
.cookies-notis {
    display: none;
}

.cookies-notis {
    z-index: 11;
    position: fixed;
    bottom: 0;
    width: auto;
    max-width: calc(50% - 30rem);
    padding: 2rem;
    text-align: left;
    border-radius: 1rem;
    background: rgb(var(--primary-color));
    text-align: center;
}

.cookies-notis p:not(.btn),
.cookies-notis a:not(.btn) {
    padding: 0;
    font-size: 1.6rem;
    font-weight: 400;
    color: rgb(var(--white-color));
}

.cookies-notis a:not(.btn) {
    text-decoration: underline;
}

.cookies-notis .btn {
    min-width: unset;
    padding: 1rem 3rem;
    margin-top: 2rem !important;
    cursor: pointer;
    max-width: 20rem;
    margin: auto;

}

@media only screen and (max-width:768px) {
    .cookies-notis {
        z-index: 21;
        max-width: 100%;
    }
}