﻿/*KRISEBANNER*/

.crisis-banner {
    background-color: #F07850;
}

.crisis-banner p.paragraph, .crisis-banner h2 {
    color: #0B2251;
}

.crisis-banner .button--ghost-border {
    color: #0B2251;
    border: 2px solid #0B2251;
    font-weight: bold;
}


/*ARTIKKEL OVERKJØRING AV DESIGNSYSTEMET*/

.article-text {
    margin: auto;
    max-width: none;
}

.article-text-center {
    margin: 0 auto 2rem auto;
    max-width: 830px;
}

.article-text--left-aligned {
    margin: 0;
}

lk-feedback {
    margin-top: 0;
}

.card--navigation__title {
    font-size: 1.3125rem;
    font-weight: 700;
}


/*NEWSLETTERBLOCK OVERKJØRING AV DESIGNSYSTEMET*/

div.newsletter-section .margin--none, div.newsletter-section h2.margin--none {
    margin-bottom: 0;
}

.grid-row-gap--small {
    grid-row-gap: 0.5rem;
}

label.checkbox--trigger.interactive-checkbox, label.checkbox.checkbox--trigger {
    padding: 0.5rem;
}


/*FILTERSIDER*/

.filter-image {
    margin: 0;
    width: 260px;
}

.filter-result-list {
    margin-bottom: 1.5rem;
    /*position: relative;*/
}

.filter-result-list > a {
    grid-gap: 2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    padding: .75rem 0;
    text-decoration: none;
}

@media only screen and (max-width: 768px) {
    .filter-result-list > a {
        grid-gap: 2rem;
        display: block;
        grid-template-columns: auto 1fr;
        padding: .75rem 0;
        text-decoration: none;
    }
}


/*KONTAKTKORT BLOKK ContactCardBlock*/
.contact-card {
    display: block;
    padding: 0;
    margin-bottom: var(--fw-air-base);
}

.contact-card .contact-card__figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    width: 100%;
    line-height: 0;
}

.contact-card .contact-card__figure svg {
    height: 200%;
    margin-bottom: -50%;
}

.contact-card .contact-card__figure img {
    position: relative;
    margin-bottom: -50%;
}

.contact-card .contact-card__info {
    word-break: break-all;
    padding: var(--fw-air-base);
}

.contact-card .contact-card__name,
.contact-card .contact-card__title,
.contact-card .contact-card__title {
    display: block;
    color: white;
}

.contact-card .contact-card__phone a,
.contact-card .contact-card__email a {
    display: block;
    color: white;
}

.contact-card .contact-card__some a {
        color: white;
}

.contact-card .contact-card__some svg {
    position: relative;
    top: 3px;
    margin-right: 5px;
    height: 18px;
    width: 18px;
}

.contact-card .contact-card__some a::after {
    filter: grayscale(100%) brightness(0) invert(100%);
}

.contact-card .contact-card__some-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

@media (min-width : 600px) {
    .contact-card {
        display: grid;
        grid-template-columns: 230px auto;
    }

        .contact-card .contact-card__figure {
            display: inline-block;
            width: 230px;
            height: 230px;
        }

        .contact-card .contact-card__info {
            display: inline-block;
            vertical-align: top;
        }

        .contact-card .contact-card__figure svg {
            height: 100%;
            margin-bottom: 0;
        }

        .contact-card .contact-card__figure img {
            width: 100%;
            margin-bottom: 0;
        }
}

/*SEARCH/ARCHIVE LIST PAGE STYLING*/

.article-preview-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-preview-list .article-preview-list__item {
    margin-bottom: var(--fw-air-base);
}

.article-preview-list .article-preview-list__item dd {
    margin-inline-start: 5px;
    color: var(--fw-blue--deep);
}

/* SEARCH-BLOCK
    //todo Should moved search behavior and styling out of designsystemet
*/

.search__header {
    max-width: 768px; /* Viewport tablet */
    margin: 0 auto;
}

/* Fleetwood body, header, footer override */
.site-body {
    display: block;
}

.site-header {
    display: grid;
    grid-template-rows: auto 100px;
}

.site-header__wrapper {
    height: 100px;
    justify-content: flex-end;
}

/* Search content */
.search-section:empty {
    padding: 0;
}
