﻿


* {
    font-family: figtree;
}

.velkommen_static p  {
    margin: 0;
    max-width: 75ch;
    font-size: 16px;
    line-height: 140%;
    font-style: normal;
}

#BannerHomepage p {
   margin-bottom:8px
}

.section {
    padding: 80px;
    font-family: figtree;
}

.custom-container {
    max-width: 1400px;
    margin: 0 auto;
}

.white-bg {
    background-color: rgb(255, 255, 255);
}

.divider {
    margin: 0px 24px;
}

.heading-1 {
    margin: 0px;
    font-size: 48px;
    line-height: 110%;
    text-transform: none;
    font-weight: 600;
}

.heading-2 {
    margin: 0px;
    max-width: 75ch;
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    margin-bottom: 36px;
}

.godkjent-fellestjenester, .query, .godkjent, .header-landing-page {
    display: flex;
    justify-content: space-evenly;
    gap: 36px;
    align-items: center
}

.green-heading {
    color: rgb(30, 116, 0);
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    font-style: normal;
    margin-bottom: 8px;
}

.heading-image-wrapper {
    align-self: center;
    height: 462px;
}

.header-text-wrapper {
    max-width: 411px;
    align-self: center;
}


.heading-image {
    width: 100%;
    height: 100%;
    align-self: center;
}

#heading-price {
    font-size: 34px;
    letter-spacing: 0.02em;
    margin: 0px 0px 16px;
    font-weight: 700;
    line-height: 56px
}

    #heading-price span {
        font-size: 16px;
        font-weight: 400;
        line-height: 16px;
    }

.header-description-text {
    margin: 36px 0 80px 0 !important;
    max-width: 307px;
}

.kom-i-gang-btn-wrapper {
    display: flex;
}

.enklere-soknad {
    max-width: 972px;
}

.enklere-soknad-grid {
    display: grid;
    grid-template-columns: repeat(4, 218px);
    gap: 30px;
    -webkit-box-pack: center;
    justify-content: center;
}

    .enklere-soknad-grid a {
        border: 1px solid rgb(210, 210, 210);
        max-width: 200px;
        height: 150px;
        padding: 24px 7px 0px;
        display: flex;
        flex-direction: column;
        -webkit-box-pack: end;
        justify-content: flex-end;
        -webkit-box-align: center;
        align-items: center;
        text-align: center;
        text-decoration: none !important;
    }

        .enklere-soknad-grid a:hover {
            box-shadow: rgba(46, 45, 48, 0.15) 0px 2px 4px 1px, rgba(46, 45, 48, 0.2) 0px 1px 6px 0px;
            background: rgb(246, 250, 246);
            color: var(--green10);
            cursor: pointer;
        }

.enklere-soknad-grid-img {
    width: 55px;
    height: 66px;
}

.enklere-soknad-grid p {
    font-weight: 600;
    padding-top: 24px;
    height: 65px;
    margin-bottom: 1rem !important;
}



.aktuelt-grid {
    display: grid;
    grid-template-columns: repeat(3, 350px);
    gap: 45px;
    -webkit-box-pack: center;
    justify-content: center;
    margin-top: 80px;
}



.aktuelt-grid-item {
    border: 1px solid rgb(220, 220, 220);
    text-align: left;
    text-decoration: none;
    width: 350px;
    height: 350px;
}

    .aktuelt-grid-item:hover {
        text-decoration: none;
    }

.featured-image-wrapper {
    height: 55%;
}

    .featured-image-wrapper img {
        object-fit: cover;
        width: 350px;
        height: 100%;
    }

.aktuelt-grid-item .content-wrapper {
    padding: 24px 24px 0px;
    color: rgb(46, 45, 48);
}

.aktuelt-grid-item .blog-title {
    font-size: 20px;
    font-weight: 500;
    height: 90px;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aktuelt-grid-item .blog-date {
    font-weight: 300;
    font-size: 14px;
}

.vis-alle-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.godkjent img {
    width: 100%;
    max-width: 410px;
    height: 100%;
    object-fit: contain;
}

.godkjent ul {
    list-style-type: disc;
    list-style-position: outside;
    margin-left: 24px;
    column-count: 2
}

    .godkjent ul li::marker {
        color: rgb(30, 116, 0);
    }



.query p {
    font-size: 20px;
    line-height: 130%;
    margin: 36px 0px;
    max-width: 460px;
    padding-top: 36px;
}

.query img {
    width: 100%;
    height: 100%;
    max-width: 420px;
    object-fit: cover;
    transform: rotateY(180deg);
}

.outlined-link {
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    text-decoration: none;
    min-width: 64px;
    border-radius: 2px;
    font-size: 14px;
    text-transform: none;
    font-weight: 500;
    box-shadow: rgb(10, 128, 43) 0px 0px 0px 1px inset;
    transition: none 0s ease 0s;
    height: fit-content;
    position: relative;
    padding: 8px 12px;
    color: rgb(10, 128, 43);
    border: none;
    background-color: rgb(255, 255, 255);
}

    .outlined-link:hover {
        border: none;
        box-shadow: rgb(0, 86, 0) 0px 0px 0px 2px inset;
        color: rgb(0, 86, 0);
        background-color: rgb(255, 255, 255);
        text-decoration: none;
    }


.godkjent-fellestjenester .byggekvalitet-logo {
    width: 250px;
    height: 292px;
    align-self: center;
}


.kom-i-gang {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width:1200px ) {

    .aktuelt-grid {
        grid-template-columns: repeat(2, 350px);
    }

    .enklere-soknad-grid {
        grid-template-columns: repeat(3, 218px);
    }

    .enklere-soknad-heading-wrapper {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media screen and (max-width:960px ) {
    .heading-1 {
        font-size: 30px;
        line-height: 40px;
        letter-spacing: 0.02em;
        text-align: center;
    }


    .enklere-soknad .heading-2, .green-heading {
        text-align: center;
    }

    .heading-2 {
        font-size: 26px;
    }

    .header-text-wrapper {
        max-width: none;
    }

    .header-landing-page, .query {
        flex-direction: column
    }

    #heading-price {
        font-size: 16px;
    }

    .header-landing-page {
        text-align: center;
    }

    .header-description-text {
        width: auto;
        margin-bottom: 36px !important;
    }

    .kom-i-gang-btn-wrapper {
        justify-content: center;
        margin-bottom: 36px;
    }

    .heading-image-wrapper {
        height: auto;
    }

    .enklere-soknad-grid {
        grid-template-columns: repeat(2, 218px);
    }

    .godkjent-fellestjenester .heading-2 {
        text-align: start;
    }

    .godkjent-fellestjenester .byggekvalitet-logo {
        display: none;
    }

    .godkjent {
        flex-direction: column-reverse;
        align-items: start;
    }

        .godkjent .green-heading {
            text-align: start;
        }

        .godkjent ul {
            column-count: 1;
        }
}

@media screen and (max-width: 805px) {
    .aktuelt-grid {
        grid-template-columns: repeat(1, 350px);
    }
}

@media screen and (max-width: 568px) {
    .enklere-soknad-grid {
        grid-template-columns: repeat(1, 218px);
    }
}
