﻿/*

    www.digitalia.no - Style
    Design og kode av Digitalia AS, Juni 2022.

*/

body, html {
    height: 100%;
    color: #444;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

a, a:active, a:hover, a:link, a:visited {
    color: #333;
    text-decoration: underline;
    outline: 0;
}

    a.btn {
        font-weight: 400;
    }

    a, a:active, a:hover, a:link, a:visited {
        color: #333;
        text-decoration: underline;
        outline: 0;
    }

.container {
    max-width: 1140px;
}

/* Navbar  */

.navbar {
    transition: all 0.4s;
}

    .navbar .nav-link {
        color: #eee;
    }

        .navbar .nav-link:hover,
        .navbar .nav-link:focus {
            color: #fff;
            text-decoration: underline;
        }

    .navbar .navbar-brand {
        color: #fff;
    }

.logo {
    width: 150px;
}

/* Change navbar styling on scroll */
.navbar.active {
    background: #0079b2;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.1);
}

    .navbar.active .nav-link {
        color: #eee;
    }

        .navbar.active .nav-link:hover,
        .navbar.active .nav-link:focus {
            color: #aaa;
            text-decoration: none;
        }

    .navbar.active .navbar-brand {
        color: #eee;
    }

/* Change navbar styling on small viewports */
@media (max-width: 991.98px) {
    .navbar {
        background: #0079b2;
    }

        .navbar .navbar-brand, .navbar .nav-link {
            color: #eee;
        }
}

.navbar a {
    color: #eee;
}

    .navbar a:hover a:active a:focus {
        color: #aaa;
    }

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}


/*  Buttons  */

.btn-primary,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #0079b2;
    border-color: #0079b2;
    color: #efefef;
}

    .btn-primary:hover {
        background-color: #1a8fc6;
        border-color: #1a8fc6;
    }


/*  Frontpage  */
.frontpage-main {
    background: #fff;
    color: #fff;
    position: relative;
    z-index: 0;
    overflow: hidden;
    padding-bottom: 302px;
    margin-bottom: -198px
}

@media (min-width:768px) {
    .frontpage-main {
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

@media (max-width:767px) {
    .frontpage-main:before {
        content: "";
        background: #75051b;
        position: absolute;
        bottom: 0;
        z-index: 2;
        width: 100%;
        height: 134px
    }
}

@media (min-width:768px) {
    .frontpage-main .frontpage-main-wrapper {
        position: relative;
    }
}

@media (min-width:768px) {
    .frontpage-main .frontpage-main-wrapper:before {
        content: "";
        display: block;
        width: 100%;
        padding-top: 47.2222%;
        min-height: 580px
    }
}

.frontpage-main .frontpage-main-wrapper .frontpage-main-image {
    width: 100%;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    height: 1280px
}

@media (min-width:768px) {
    .frontpage-main .frontpage-main-wrapper .frontpage-main-image {
        height: 100%
    }
}

.frontpage-main .frontpage-main-wrapper .frontpage-main-image picture {
    display: block;
    height: 100%;
    width: 100%
}

.frontpage-main .frontpage-main-wrapper .frontpage-main-image img {
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    max-width: none;
    width: 100%;
    height: 100%
}

.frontpage-main .frontpage-main-wrapper .frontpage-main-inner {
    margin-right: auto;
    margin-left: auto;
    padding: 0 32px;
    width: 100%;
    max-width: 1200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    z-index: 3
}

@media (min-width:768px) {
    .frontpage-main .frontpage-main-wrapper .frontpage-main-inner {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0
    }
}

.frontpage-main .frontpage-main-wrapper .frontpage-main-inner .frontpage-main-content {
    margin-top: 120px
}

@media (min-width:768px) {
    .frontpage-main .frontpage-main-wrapper .frontpage-main-inner .frontpage-main-content {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: calc(41.66667% - 18.66667px);
        max-width: calc(41.66667% - 18.66667px);
        width: calc(41.66667% - 18.66667px);
        margin-top: 0
    }

        .frontpage-main .frontpage-main-wrapper .frontpage-main-inner .frontpage-main-content:nth-child(1n) {
            margin-right: 32px;
            margin-left: 0
        }

        .frontpage-main .frontpage-main-wrapper .frontpage-main-inner .frontpage-main-content:last-child {
            margin-right: 0
        }

        .frontpage-main .frontpage-main-wrapper .frontpage-main-inner .frontpage-main-content:nth-child(12n) {
            margin-right: 0;
            margin-left: auto
        }
}

.frontpage-main .frontpage-main-wrapper .frontpage-main-inner .frontpage-main-content .frontpage-main-heading {
    margin-top: 25px
}


@media (max-width:1280px) {
    .frontpage-main .frontpage-main-wrapper .frontpage-main-inner .frontpage-main-content .frontpage-main-heading {
        margin-top: 75px
    }
}

.frontpage-main-content {
    background-color: #fff;
    padding: 50px;
}


.header-topp-margin {
    margin-top: 50px
}

.header-image {
    max-height: 500px;
}

/*

    Main table

*/

main > section.section-base {
    background-color: #FFF;
}

main > section {
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}


.table-grid td > img {
    max-width: 100%;
    display: block;
}

.table-logos img {
    width: 140px;
    margin: 0 auto 0 auto;
}

.table-grid td, .table-grid.table-border tbody tr td:first-child, .table-grid.table-border tbody tr:last-child td {
    padding: 30px;
}

.table-border tbody tr:last-child td {
    border-bottom: none;
    padding-bottom: 0;
}

.table-border tbody tr td:first-child, .table-border thead tr:first-child th:first-child {
    border-left: none;
    padding-left: 0;
}

.table-grid td, .table-border td, .table-border th {
    border-color: rgb(188, 206, 216);
}

.table-border td, .table-border th, .table-full-border td, .table-full-border th {
    border-style: solid;
    border-width: 1px;
    border-right: none;
    border-top: none;
    padding: 10px;
}

.table th, .table td {
    text-align: left;
    padding: 5px 10px;
}

.logo-grid {
    height: 40px;
}


/*  Components  */

.content-bg-2 {
    width: 100%;
    background-image: -ms-linear-gradient(top, #015C93 0%, #003869 100%);
    background-image: -moz-linear-gradient(top, #015C93 0%, #003869 100%);
    background-image: -o-linear-gradient(top, #015C93 0%, #003869 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #015C93), color-stop(100, #003869));
    background-image: -webkit-linear-gradient(top, #015C93 0%, #003869 100%);
    background-image: linear-gradient(to bottom, #015C93 0%, #003869 100%);
    position: relative;
}

.content-bg-3 {
    width: 100%;
    background-color: #fff;
    position: relative;
}

.content-bg-4 {
    width: 100%;
    background-color: #444;
    position: relative;
}

.content-bg-5 {
    width: 100%;
    background-color: #015b92;
    position: relative;
}

.content-bg-6 {
    width: 100%;
    background-color: #cdcdcd;
    position: relative;
}

.text-light-c {
    color: #ccc;
}

.text-light-a {
    color: #aaa;
}

.content-widget h2:before {
    position: absolute;
    content: " ";
    width: 40px;
    height: 2px;
    background-color: #0079b2;
    bottom: 0;
}

.content-widget h2 {
    color: #000;
    margin: 0;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/*  Card  */

.card-bg {
    background-color: rgba(233,233,233);
    height: 100%;
}

.card-content {
    padding: 32px;
}

/*  Sections  */

.maincontent {
}

    .maincontent a, a:hover, a:active, a:visited {
        color: #666;
        text-decoration: underline;
    }


/*  Callout  */

.callout {
    padding: 32px 32px 48px;
    background: #f3f3f3;
    color: #212121;
}


/* Focus */

.Focus_block {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    color: #121212;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    font-family: Graphik,sans-serif;
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
    margin-left: calc(8.33333% + 2.66667px) !important;
    -webkit-box-flex: 0;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(83.33333% - 5.33333px);
    max-width: calc(83.33333% - 5.33333px);
    width: calc(83.33333% - 5.33333px);
    position: relative;
    display: flex;
    margin-right: 0;
}

.Focus_image {
    position: relative;
}

.Focus .Focus_image > * {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.Focus_picture img {
    margin-top: 25px;
}

.Focus .Focus_image:nth-child(1n) {
    margin-right: 32px;
    margin-left: 0;
}

.Focus_content {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    color: #121212;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
    background-color: #f3f3f3;
    -webkit-box-flex: 0;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(80% - 6.4px);
    max-width: calc(80% - 6.4px);
    width: calc(80% - 6.4px);
    margin-left: calc(-10% - 3.2px) !important;
    min-height: 256px;
    padding: 80px 0;
    margin-right: 0;
}

.Focus_contentInner {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    color: #121212;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
    margin-left: calc(12.5% + 20px) !important;
    -webkit-box-flex: 0;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(75% - 8px);
    max-width: calc(75% - 8px);
    width: calc(75% - 8px);
    margin-right: 0;
}

/*  Animation  */

.come-in {
    transform: translateY(150px);
    animation: come-in 0.8s ease forwards;
}

    .come-in:nth-child(odd) {
        animation-duration: 0.6s;
    }

.already-visible {
    transform: translateY(0);
    animation: none;
}

@keyframes come-in {
    to {
        transform: translateY(0);
    }
}

/*  Footer  */

#footer {
    padding: 40px 0 30px;
    background-color: #303030;
    overflow: hidden;
}

.footer-widget h4:before {
    position: absolute;
    content: " ";
    width: 40px;
    height: 2px;
    background-color: #0079b2;
    bottom: 0;
}

.footer-widget h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget ul li {
    font-size: 15px;
    font-weight: 300;
    padding-bottom: 4px;
}

.footer-widget ul {
    margin: 20px 0 40px;
    padding: 0;
    list-style: none;
}

    .footer-widget ul li a {
        color: rgba(233,233,233,.8);
        -webkit-transition: color .25s;
        transition: color .25s;
        border-bottom: 1px solid rgba(233,233,233,.8);
        display: block;
        margin: 2px 0;
        padding-bottom: 5px;
        text-decoration: none;
    }

.footer-about {
    color: #fff;
}

    .footer-about p {
        margin-top: 20px;
        color: rgba(233,233,233,.8);
    }

    .footer-about a {
        color: #efefef;
        text-decoration: none;
        outline: 0;
    }


#copyright {
    padding: 20px 0 18px;
    color: #fff;
    background-color: #222;
    text-align: center;
}

    #copyright p a {
        display: inline-block;
        margin-top: 5px;
        color: #0079b2;
        font-weight: 700;
    }
