body, html {
    background: #FFFFFF !important;
}

#article-container {
    margin-top: 50px;

    .row.video-article-top-row {
        margin-top: -30px;
        margin-bottom: 20px;
    }

    #article-title-row {
        h1 {
            font-weight: 500;
            font-size: 48px;
            line-height: 125%;
            letter-spacing: 0.41px;
            color: #353430;
            margin-bottom: 30px;
            margin-top: 18px;
        }
    }

    #article-ingress-area-row.row {
        margin-bottom: 40px;
    }

    #article_date_updated {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.15px;
        color: #868583;
        margin-bottom: 30px;
        margin-top: 20px;

        .article-type {
            display: block;
            font-weight: 400;
            color: #868583;
            text-transform: none;
            margin-bottom: 6px;
        }

        .separator-bar {
            font-weight: 400;
            font-size: 14px;
            line-height: 20px;
            letter-spacing: 0.15px;
            color: #F15A22;
        }
    }

    .article-fullview-lead {
        font-weight: 400;
        font-size: 19px;
        line-height: 160%;
        letter-spacing: 0.15px;
        color: #353430;
        margin-bottom: 25px;
    }

    #article-media-container {
        img {
            border-radius: 8px;
        }

        .artikkel_bildetekst p {
            font-weight: 400;
            font-size: 14px;
            line-height: 20px;
            letter-spacing: 0.15px;
            color: #6C6C6C;
            margin-top: 15px;

            a {
                color: #1D5561;

                &:hover, &:focus {
                    color: #353430;
                }
            }
        }
    }

    #article-column-left {
        #folk_liste {
            border-top: 1px solid #DBDADA;
            border-bottom: 1px solid #DBDADA;
            padding-top: 12px;
            margin-bottom: 30px;
        }

        .person_element {
            .person_bilde_wrapper {
                width: 42px;
                height: 42px;

                .person_bilde {
                    width: 42px;
                    height: 42px;
                }
            }

            .person_info {
                width: auto;
                padding-left: 50px;

                .person_navn {
                    text-decoration: underline;
                    text-decoration-style: solid;
                    text-decoration-thickness: 0;
                    color: #1D5561;

                    &:hover, &:focus {
                        color: #353430;
                    }
                }

                .person_rolle {
                    color: #353430;
                }

                .person_navn, .person_rolle {
                    font-weight: 400;
                    font-size: 14px;
                    line-height: 20px;
                    letter-spacing: 0.15px;
                    vertical-align: middle;
                }
            }
        }

        .share_buttons {
            float: right;
            text-align: right;
            padding-top: 10px;

            .share-element-wrapper {
                font-weight: 400;
                font-size: 17px;
                line-height: 25px;
                color: #353430;
                position: relative;
                display: inline-block;
                float: none;

                .share-element-btn {
                    border: 0;
                    background: none;
                    font-weight: 400;
                    font-size: 14px;
                    line-height: 32px;
                    letter-spacing: 0.15px;
                    color: #353430;
                }

                .share-element-platforms-wrapper {
                    border: 1px solid #BBBBBB;
                    padding: 20px;
                    display: inline-block;
                    position: absolute;
                    top: -110px;
                    left: 0;
                    background: #f2f2f2;
                    visibility: hidden;
                    min-width: 135px;
                    margin-left: 0;

                    ul.share-element-platforms {
                        list-style: none;
                        padding: 0;
                        margin: 0;
                        text-align: left;

                        li {
                            margin-bottom: 10px;

                            &:last-child {
                                margin-bottom: 0;
                            }

                            a {
                                color: #353430;
                                font-size: 14px;
                            }
                        }
                    }
                }
            }

            .print-btn {
                border: 0;
                background: none;
                font-weight: 400;
                font-size: 14px;
                line-height: 32px;
                letter-spacing: 0.15px;
                color: #353430;
            }
        }

        #running-text-container {
            font-weight: 400;
            font-size: 17px;
            line-height: 160%;
            letter-spacing: 0.15px;
            color: #353430;

            h2 {
                font-weight: 500;
                font-size: 30px;
                line-height: 120%;
                letter-spacing: 0.41px;
            }

            strong a {
                font-weight: bold;
            }

            a {
                font-weight: 400;
                font-size: 17px;
                line-height: 160%;
                letter-spacing: 0.15px;
                text-decoration: underline;
                text-decoration-style: solid;
                text-decoration-thickness: 0;
                color: #1D5561;

                &:hover, &:focus {
                    color: #353430;
                }
            }

            img {
                display: block;
                max-width: 100%;
                height: auto;
                flex-shrink: 0;
                align-self: flex-start;
                border-radius: 8px;
            }

            .snippet-outer-wrapper .snippet-container .snippet-right .snippet-title {
                font-weight: 500;
                font-size: 20px;
                line-height: 151.4%;
                letter-spacing: 0.180365px;
            }

            .snippet-image {
                img {
                    border-radius: 0;
                }
            }
        }

        .faktaboks_element {
            margin-bottom: 20px;
        }

        .facts-box, .faktaboks_element {
            float: none;

            .facts-header, .faktaboks_header {
                font-weight: 600;
                font-size: 17px;
                line-height: 140%;
                letter-spacing: 0.15px;
                color: #353430;
                background: #B1C5CF;
            }

            .facts-body, .faktaboks_content {
                font-weight: 400;
                font-size: 14px;
                line-height: 20px;
                letter-spacing: 0.15px;
                color: #353430;
                background: #E0EBEF;

                a {
                    font-weight: 400;
                    font-size: 14px;
                    line-height: 20px;
                    letter-spacing: 0.15px;
                    text-decoration: underline;
                    text-decoration-style: solid;
                    text-decoration-thickness: 0;
                    color: #1D5561;

                    &:hover, &:focus {
                        color: #353430;
                    }
                }
            }
        }

        .article_image_element {
            width: 100%;
            height: 211px;
            min-height: 160px;
            opacity: 1;
            border-radius: 8px;
            background: #EFEFEE;
            float: none;
            padding: 12px;
            box-sizing: border-box;
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            overflow: auto;
            margin-bottom: 20px;

            .image_link {
                margin: 0;
                max-height: 100%;
                max-width: 100%;
                height: 100%;
                display: inline-block;

                .extra_article_image {
                    border-radius: 8px;

                    max-height: 100%;
                    max-width: 100%;
                    width: auto;
                    height: auto;
                    display: block;
                }
            }
        }
    }

    #article-column-right {
        h3:not(.article_element_title) {
            font-weight: 600;
            font-size: 17px;
            line-height: 140%;
            letter-spacing: 0.15px;
            color: #353430;
            border-top: 1px solid #DBDADA;
            border-bottom: none;
            padding-top: 17px;
            margin-top: 0;
            margin-bottom: 12px;
        }

        .theme-link-btn {
            border-radius: 10px;
            padding: 26px 20px;
            color: #353430;
            display: flex;
            background: #FFDEC7;
            flex-direction: row;
            margin-bottom: 20px;
            text-decoration: none;
            word-break: break-word;

            &:hover, &:focus {
                background: #FFB477;

                .theme-name {
                    text-decoration: underline;
                }
            }

            .theme-name-container {
                display: flex;
                flex-direction: column;
                flex: 1;
                align-items: flex-start;

                .theme-text {
                    font-weight: 600;
                    font-size: 12px;
                    line-height: 140%;
                    letter-spacing: 0.15px;
                    color: #353430;
                }

                .theme-name {
                    font-weight: 600;
                    font-size: 24px;
                    line-height: 140%;
                    letter-spacing: 0.15px;
                    color: #353430;
                }
            }
        }

        .icon.icon-down-arrow {
            display: flex;
            flex: 0.1;
            width: 14px;
            height: 16px;
            background: url("../gfx/icons/icon_arrow_right_thin2_dark.svg") 0 0 no-repeat;
            align-self: center;
            margin-left: 20px;
        }

        .article_theme_container {
            float: none;
        }

        #article_tags {
            margin-bottom: 26px;

            .tag-link {
                font-weight: 400;
                font-size: 17px;
                line-height: 160%;
                letter-spacing: 0.15px;
                text-decoration: underline;
                text-decoration-style: solid;
                color: #1D5561;
                display: inline-block;
                margin: 5px;

                &:hover, &:focus {
                    color: #353430;
                }
            }
        }
    }

    #to-archive-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        margin-top: 20px;

        #to-archive-btn {
            display: flex;
            padding: 10px 20px;
            font-weight: 500;
            font-size: 17px;
            line-height: 140%;
            letter-spacing: 0.15px;
            color: #353430;
            text-decoration: none;
            gap: 15px;
            border-radius: 8px;

            &:hover, &:focus {
                background: #FFDEC7;
                text-decoration: underline;
            }

            img {
                margin-bottom: 0;
            }
        }
    }
}

@media (min-width: 768px) {
    #article-container {
        #article-column-left {
            #article-boxes {
                .article_image_element {
                    flex-direction: row;
                    align-items: center;
                }

                .image_link {
                    width: 170px;
                    height: 100%;
                }

                .extra_article_image {
                    max-width: 170px;
                }

                .artikkel_bildetekst {
                    flex: 1;
                    text-align: left;
                    max-height: 100%;
                    overflow: auto;
                }
            }
        }
    }
}

@media (max-width: 767px) {
    #article-container {
        margin-top: 100px;

        .row.video-article-top-row {
            margin-top: -18px;
            margin-bottom: 30px;
        }

        #article-title-row h1 {
            margin-top: initial;
            word-wrap: break-word;
            font-size: 38px;
            line-height: 44px;
        }

        #article_date_updated {
            margin-top: 0;
        }

        #article-column-left {
            .share_buttons {
                float: left;
                text-align: left;
            }

            #article-boxes {
                .article_image_element {
                    flex-direction: column;
                    align-items: center;
                    height: auto;
                    gap: 20px;
                }

                .image_link {
                    width: 100%;
                    height: auto;
                    text-align: center;
                }

                .extra_article_image {
                    max-height: 211px;
                    display: inline-block;
                }

                .artikkel_bildetekst {
                    width: 100%;
                }
            }
        }
    }
}

@media print {
    #article-container {
        margin-top: 0;

        #article-title-row {
            h1 {
                margin-top: 20px;
            }
        }

        #article-ingress-area {
            width: 100%;

            .article_date_updated {
                clear: both;
                display: flex;
                width: 100%;
                margin-bottom: 10px;
            }

            .article-fullview-lead {
                display: flex;
                width: 100%;
                margin-top: 10px;
            }
        }

        #article-media-container {
            .notVisible {
                max-height: inherit;
            }

            .imageTextHint, .imageTextIcon {
                display: none;
            }
        }

        #article-column-right,
        #to-archive-row,
        #footer-articles-container {
            display: none;
        }

        .person_element {
            margin-top: 0;
            margin-bottom: 0;
        }
    }
}