:root {
    /*--Farger--*/
    /*--Hoved--*/
    --purple: #5c1f30;
    --orange: #f5954b;
    --champagne: #f2d4a9;
    /*--Støtte--*/
    --light-purple: #703949;
    --pink: #ed9388;
    --light-orange: #e0af48;
    --champagne2: #f0d1a9;
    --light-yellow: #ffd786;
    --primary-background: #fcf6ef;
}

body {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    background: var(--primary-background);
    color: var(--purple);
}

h1, h2, h3, h4, h5 {
    font-family: "Work Sans", sans-serif;
    font-weight: bold;
    font-style: normal;
}

header h1 {
    font-weight: 600;
}

h2 {
    font-size: 3.5rem;
    font-weight: 600;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* HEADER MED MENY OG SØK */
header.header-main {
    background: var(--purple);
    padding: 0;
}

header.header-main {
    color: var(--orange);
}

    header.header-main .header-brand {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 3rem 0;
        color: var(--orange);
        font-family: "Poppins", sans-serif;
        font-weight: bold;
        font-style: normal;
    }

        header.header-main .header-brand .header-logo {
            display: inline-block;
            width: 8rem;
            height: 8rem;
            margin-right: 2rem;
            background-image: url(bootstrap/2019/Cultiva/assets/cultiva_logo.png);
            background-size: contain;
            background-repeat: no-repeat;
            background-position: left bottom;
        }

        header.header-main .header-brand span {
            line-height: 1;
            margin-top: 1rem;
        }

            header.header-main .header-brand span.brand-name-main {
                margin-right: 1rem;
            }

            header.header-main .header-brand span.brand-name-sub {
                font-family: "Work Sans", sans-serif;
                font-weight: normal;
            }

    header.header-main .menu-toggle {
        position: absolute;
        right: 15px;
        top: 3rem;
        width: 8rem;
        text-align: left;
        background: transparent;
        border: none;
        margin-top: 0;
        padding: 0;
    }

        header.header-main .menu-toggle:before {
            content: "meny";
            display: block;
            width: 100%;
            font-size: 1.125rem;
            line-height: 1.1;
            padding: 0 0.25rem;
            text-transform: lowercase;
            font-family: "Work Sans", sans-serif;
            background: var(--orange);
            color: var(--purple);
            border-radius: .25rem;
        }

        header.header-main .menu-toggle span.menu-bars {
            display: block;
            margin: .5rem 0;
            height: .25rem;
            padding: .5rem 0;
            border-top: .25rem solid var(--orange);
        }

            header.header-main .menu-toggle span.menu-bars:before {
                content: "";
                display: block;
                width: 100%;
                height: .25rem;
                background: var(--orange);
            }

            header.header-main .menu-toggle span.menu-bars:after {
                content: "";
                display: block;
                width: 100%;
                margin-top: .5rem;
                height: .25rem;
                background: var(--orange);
            }

.header-search {
    margin: 0 0 1rem 0;
}

.header-search .form-inline {
    justify-content: right;
}

.form-inline {
    flex-flow: nowrap;
}

.form-inline .form-control {
    height: 2.5rem;
    line-height: 2.5rem;
    color: var(--purple);
    background: none;
    border: none;
    background: var(--light-yellow);
    border: none;
    border-radius: 1rem 0 0 1rem;
    box-shadow: none;
}

    .form-inline button.btn, .form-inline button.btn:hover, .form-inline button.btn:active, .form-inline button.btn:focus {
        display: block !important;
        height: 2.5rem;
        width: 2.5rem;
        padding: 0;
        line-height: 2.5rem;
        color: var(--purple) !important;
        background: var(--light-yellow) !important;
        border: none;
        border-radius: 0 1rem 1rem 0;
    }

#main-navigation.is-active {
    position: relative;
    background: var(--purple);
    width: 100%;
    height: auto;
    text-align: right;
}

#main-navigation > .nav {
    margin: 0 0 4rem 0;
    width: 100%;
}

.nav-pills > .nav-item > .nav-link {
    text-transform: initial;
    font-size: 1.25rem;
    font-family: "Nunito", sans-serif;
}

.nav-link {
    display: block;
    padding: .5rem 2rem .5rem;
    color: var(--orange);
}

    .nav-link:hover {
        color: var(--light-yellow);
    }

.nav-pills .nav-toggle {
    padding: .5rem 0 1rem 1rem;
    text-decoration: none;
    color: var(--light-yellow);
}

    .nav-pills .nav-toggle:hover {
        color: var(--orange);
    }

.nav-pills .nav-link.active {
    color: var(--orange);
}

    .nav-pills .nav-link.active:hover {
        color: var(--light-yellow);
    }

#main-navigation .nav-pills .nav-toggle .fas {
    display: block;
    font-size: 1.25rem;
    color: var(--orange);
}

#main-navigation .nav-pills .nav-toggle:hover .fas {
    color: var(--light-yellow);
}

.nav-pills .collapse .nav-link, .nav-pills .collapsing .nav-link {
    color: var(--light-yellow);
    font-size: 1.25rem;
}

.collapse .nav-link, .collapsing .nav-link {
}

@media(max-width: 992px) {

    header.header-main .header-brand span.brand-name-sub {
        display: none;
    }
}

@media(max-width: 576px) {
    header.header-main .header-brand {
        padding: 2rem;
    }

        header.header-main .header-brand .header-logo {
            width: 4rem;
            height: 4rem;
            margin-right: 1rem;
        }

        header.header-main .header-brand span {
            margin-top: .5rem;
        }

            header.header-main .header-brand span.brand-name-main {
                margin-right: 1rem;
                font-size: 2rem;
            }

    header.header-main .menu-toggle {
        position: absolute;
        right: 15px;
        top: 2.7rem;
        width: 4rem;
        text-align: left;
        background: transparent;
        border: none;
        padding: 0;
    }

        header.header-main .menu-toggle span.menu-bars {
            margin: .25rem 0;
            padding: .25rem 0;
        }

            header.header-main .menu-toggle span.menu-bars:after {
                margin-top: .25rem;
            }
}


#takeOver, #menutree-top {
    display: none;
}

.scroll-link {
    display: none !important;
}


/* CONTENT CONTAINER */
.container-main {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 1200px) {
    .container-main, .content-type-home .container-main {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

        .container-main header, .grid-section > div:not(.dark):not(.light), .content, .umb-grid .full {
            max-width: 100%;
            width: 1100px;
            margin-left: auto;
            margin-right: auto;
        }
}

/* BILDE TOPP AV CONTENT */
.carousel-one-image {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto 2rem auto;
}

    .carousel-one-image .embed-responsive {
        border-radius: 15px;
    }

.image-desc {
    display: none;
}

/* HOME PAGE SPECIFICS */
.content-type-home .container-main .grid-section .row:first-child .col-md-8.column > div,
.content-type-home .container-main .grid-section .row:first-child .col-md-8.column div.grid-image {
    height: 100%
}

    .content-type-home .container-main .grid-section .row:first-child .col-md-8.column div.grid-image img {
        object-fit: cover;
        width: 100% !important;
        height: 100% !important;
        border-radius: 1rem;
    }

.content-type-home .container-main .grid-section .row:first-child .col-md-4.column > div {
    height: 100%;
    padding: 2rem 1rem;
    background: var(--light-yellow);
    border-radius: 1rem;
}

.content-type-home .container-main .grid-section > div:first-child {
    margin-bottom: 0;
}

.custom-row-buttons a {
    display: block;
    width: 100%;
    padding: .5rem 1rem;
    background: var(--purple);
    color: var(--light-yellow);
    font-weight: bold;
    text-align: center;
    border-radius: .5rem;
}

.custom-row-buttons a:hover {
    color: var(--light-yellow);
    text-decoration: none;
}


/* PROSJEKTER */
.form-label-wrapper, .form-label-wrapper label {
    background: transparent;
    color: var(--purple);
    font-weight: 600;
}

select#year-change, select#tag-change {
    background: var(--light-yellow);
    color: var(--purple);
    border: none;
    border-radius: 1rem;
}

select#year-change:focus, select#tag-change:focus {
    border: none;
    box-shadow: none;
}


/* BUTTONS */
.btn-dark, .btn-light {
    margin: 1rem 0;
    display: inline-block;
    padding: 1rem 2rem !important;
    border-radius: 1rem;
}

.btn-dark a:hover, .btn-light a:hover {
    text-decoration: none !important;
}

.btn-dark, .btn-dark:hover {
    background: var(--purple);
    color: var(--orange);
    border: none;
}

    .btn-dark a, .btn-dark a:hover {
        color: var(--orange);
    }


.btn-light, .btn-light:hover {
    background: var(--light-yellow);
    color: var(--purple);
    border: none;
}

    .btn-light a, .btn-light a:hover {
        color: var(--purple);
    }


/* AKTUELT, PROSJEKTER - KORT */
.card {
    background: var(--light-yellow);
    border-radius: 15px;
    /*border: 1px solid var(--light-yellow);*/
    border: none;
    overflow: hidden;
}

.card-title {
    font-weight: 600;
}

.article-list .card .embed-responsive {
    display: none;
}

.card-text {
    /*display: none;*/
}

.btn-more {
    color: inherit;
    font-size: inherit;
    text-decoration: none;
    text-align: left;
    padding: 0;
}

    .btn-more:after {
        content: " ->";
    }

.digi-accordion {
    color: var(--light-yellow);
    background-color: var(--purple);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

    .digi-accordion .card-header {
        padding: 0.25rem .25rem;
        background: none;
    }

    .digi-accordion .card {
        background: var(--purple);
        border-radius: 5px;
    }

    .digi-accordion .btn-link {
        color: var(--light-yellow);
        width: 100%;
        text-align: left;
        font-weight: bold;
        display: flex;
    }

        .digi-accordion .btn-link:hover, .digi-accordion .btn-link:focus {
            text-decoration: none;
        }

    .digi-accordion .accordion-icon {
        margin-left: auto;
    }

    .digi-accordion .btn-link.collapsed .minus-icon {
        display: none;
    }

    .digi-accordion .btn-link:not(.collapsed) .plus-icon {
        display: none;
    }

/* --- TIMELINE - START --- */
.timeline {
    position: relative;
}
.timeline-line {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--purple);
    z-index: -1;
}
.timeline .accordion {
    margin-left: 20px;
}
.timeline-item-header {
    width: 300px;
}
.timeline-item-date {
    text-align: right;
}
.timeline-item-pin {
    position: relative;
}
.timeline-item-pin:before {
    content: "";
    height: 2px;
    background: var(--purple);
    width: 100%;
    display: block;
    margin-bottom: 10px;
}
.timeline-item-pin:after {
    content: "";
    display: block;
    border-radius: 100%;
    background: var(--purple);
    width: 15px;
    height: 15px;
    position: absolute;
    left: -7px;
    top: -7px;
}
.timeline-item-center {
    margin-left: 20px;
}
    .timeline-item-center .title {
        font-family: "Work Sans", sans-serif;
        font-weight: bold;
        margin-bottom: 5px;
    }
    .timeline-item-center .text {
        letter-spacing: -0.05rem;
    }
    @media (min-width: 800px) {
        .timeline-line {
        left: calc(50% - 1px);
    }
    .timeline-item {
        width: 50%;
    }
    .timeline-item:nth-child(odd) {
        margin-left: auto;
    }
        .timeline-item:nth-child(even) .timeline-item-header {
            margin-left: auto;
        }
        .timeline-item:nth-child(even) .timeline-item-date {
            text-align: left;
        }
        .timeline-item:nth-child(even) .timeline-item-pin::after {
            right: -7px;
            left: auto;
        }
        .timeline-item:nth-child(even) .accordion {
            margin-left: 0;
            margin-right: 20px;
        }
    .timeline-item-center {
        max-width: 600px;
        margin: auto;
        background: var(--primary-background);
        padding: 20px 0;
    }
}
/* --- TIMELINE - END --- */

/* SØKERESULTAT */
.searchresults {
    margin-top: 1rem;
}

.searchresults .search-sucess {
    font-weight: bold;
}

.searchresult {
    background: var(--light-yellow);
    border-radius: 1rem;
}

/* FOOTER */
footer {
    padding-top: 6rem;
    background: var(--purple);
    color: var(--light-yellow);
    font-family: "Nunito", sans-serif !important;
}

.footer-metric-headline {
    font-weight: 500;
}

footer .nav-tabs > li > a {
    display: inline-block;
    padding: 0.25rem 1rem;
    color: var(--pink);
    font-size: 1.5rem;
    font-family: "Nunito", sans-serif !important;
}

footer .nav-tabs > li.active a, footer .nav-tabs > li > .active {
    color: var(--light-yellow);
}

.footer-metric-value .digits .digit > svg {
    color: var(--orange);
}

/* FOOTER NYHETSBREV */
    footer #mc_embed_signup {
        background: var(--purple);
    }

#mc_embed_signup label {
    top: -30px !important;
    text-align: center;
}

#mc_embed_signup input.email {
    /*background: var(--light-yellow);*/
    margin-left: 0 !important;
    border-radius: 1rem 0 0 1rem !important;
    border: none !important;
    font-family: "Nunito", sans-serif !important;
}

#mc_embed_signup input.email:focus {
    border: none !important;
}

#mc_embed_signup input.button {
    background: var(--light-yellow) !important;
    color: var(--purple);
    font-family: "Nunito", sans-serif !important;
    border: none;
    border-radius: 0 1rem 1rem 0 !important;
    font-weight: bold;
}