/*

    www.energikanalen.no - Style
    Design og kode av Digitalia AS, 2025.

*/

body,
html {
    height: 100%;
    color: #444;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

a,
a:active,
a:hover,
a:link,
a:visited {
    color: #fff;
    text-decoration: underline;
    outline: 0;
}

a.btn {
    font-weight: 400;
}

.container {
    max-width: 1140px;
}

/* Navbar  */

.navbar {
    transition: all 0.4s;
}

.navbar .nav-link {
    color: #fff6e5;
}

.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: #57b647;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.active .nav-link {
    color: #fff6e5;
}

.navbar.active .nav-link:hover,
.navbar.active .nav-link:focus {
    color: #f07a00;
    text-decoration: none;
}

.navbar.active .navbar-brand {
    color: #fff6e5;
}

/* Change navbar styling on small viewports */
@media (max-width: 991.98px) {
    .navbar {
        background: #57b647;
    }

    .navbar .navbar-brand,
    .navbar .nav-link {
        color: #eee;
    }
}

.navbar a {
    color: #eee;
}

.navbar a:hover a:active a:focus {
    color: #f07a00;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.autohide {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

.scrolled-down {
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}

.scrolled-up {
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}


/*  Buttons  */

.btn-primary,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #57b647;
    border-color: #37772c;
    color: #333;
}

.btn-primary:hover {
    background-color: #37772c;
    border-color: #37772c;
}

.btn-secondary,
.btn-secondary:active,
.btn-secondary:visited,
.btn-secondary:focus {
    background-color: #ef7b06;
    border-color: #ef7b06;
    color: #333;
}

.btn-secondary:hover {
    background-color: #ef7b06;
    border-color: #ef7b06;
}


/*  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: #fff;
        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(81.66667% - 18.66667px);
        max-width: calc(81.66667% - 18.66667px);
        width: calc(81.66667% - 18.66667px);
        margin-top: -50px;
    }

    .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 {
    padding: 40px;
    background-color: rgba(50, 50, 50, 0.9);
    color: #eee;
}



.header-topp-margin {
    margin-top: 25px
}

.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: #024975;
    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: 75px;
    height: 2px;
    background-color: rgba(233, 233, 233);
    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 a,
a:hover,
a:active,
a:visited {
    color: #666;
    text-decoration: underline;
}


/*  Callout  */

.callout {
    padding: 32px 32px 48px;
    background: #f3f3f3;
    color: #212121;
}

/* Endlist */

.endlist-bg-1 {
    background-color: #efefef;
}

.endlistimage {
    position: relative;
    top: 25px;
    left: 25px;
}

.endlist-content {
    min-height: 225px;
}

/*  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: 60px;
    height: 3px;
    background-color: #e9db1c;
    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;
}






.some-logo {
    max-height: 35px;
}


.text-list-line li {
    justify-content: space-between;
    height: 26.5px;
}

.text-list-bold li,
.text-list-line li {
    display: flex;
    margin-bottom: 5px;
}

.text-list li {
    transition: all .5s;
}

.text-list,
.text-list li {
    list-style: none;
    position: relative;
    padding: 0;
    margin: 0;
}

.text-list-line li b {
    margin-right: 5px;
    white-space: nowrap;
}



.icon-list-line li {
    justify-content: space-between;
    height: 26.5px;
}

.icon-list-bold li,
.icon-list-line li {
    display: flex;
    margin-bottom: 5px;
}

.icon-list li {
    transition: all .5s;
}

.icon-list,
.icon-list li {
    list-style: disc;
    position: relative;
    padding: 0;
    margin: 0;
}

.icon-list,
.icon-list li a {
    color: #333;
}

.icon-list,
.icon-list li a:hover {
    color: #777;
}

.icon-list-line li b {
    margin-right: 5px;
    white-space: nowrap;
}


/* Custom navbar */


.custom-navbar {
    background: #57b647 !important;
    padding-top: 20px;
    padding-bottom: 20px;
}

.custom-navbar .navbar-brand {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.custom-navbar .navbar-brand>span {
    font-size: 12px;
    opacity: .8;
}

.custom-navbar .navbar-toggler {
    border-color: transparent;
}

.custom-navbar .navbar-toggler:active,
.custom-navbar .navbar-toggler:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

@media (min-width: 992px) {
    .custom-navbar .custom-navbar-nav li {
        margin-left: 15px;
        margin-right: 15px;
    }
}

.custom-navbar .custom-navbar-nav li a {
    font-weight: 750;
    color: #000000 !important;
    opacity: .5;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    position: relative;
}

@media (min-width: 768px) {
    .custom-navbar .custom-navbar-nav li a:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 8px;
        right: 8px;
        background: #e9db1c;
        height: 5px;
        opacity: 1;
        visibility: visible;
        width: 0;
        -webkit-transition: .15s all ease-out;
        -o-transition: .15s all ease-out;
        transition: .15s all ease-out;
    }
}

.custom-navbar .custom-navbar-nav li a:hover {
    opacity: 1;
}

.custom-navbar .custom-navbar-nav li a:hover:before {
    width: calc(100% - 16px);
}

.custom-navbar .custom-navbar-nav li.active a {
    opacity: 1;
}

.custom-navbar .custom-navbar-nav li.active a:before {
    width: calc(100% - 16px);
}

.custom-navbar .custom-navbar-cta {
    margin-left: 0 !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

@media (min-width: 768px) {
    .custom-navbar .custom-navbar-cta {
        margin-left: 40px !important;
    }
}

.custom-navbar .custom-navbar-cta li {
    margin-left: 0px;
    margin-right: 0px;
}

.custom-navbar .custom-navbar-cta li:first-child {
    margin-right: 20px;
}

/* Hero */

.hero {
    background: #57b647;
    padding: calc(4rem - 30px) 0 0rem 0;
}

@media (min-width: 768px) {
    .hero {
        padding: calc(4rem - 30px) 0 4rem 0;
    }
}

@media (min-width: 992px) {
    .hero {
        padding: calc(8rem - 30px) 0 8rem 0;
    }
}

.hero .intro-excerpt {
    position: relative;
    z-index: 4;
}

@media (min-width: 992px) {
    .hero .intro-excerpt {
        max-width: 450px;
    }
}

.hero h1 {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
}

@media (min-width: 1400px) {
    .hero h1 {
        font-size: 54px;
    }
}

.hero p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
}

.hero .hero-img-wrap {
    position: relative;
}

.hero .hero-img-wrap img {
    position: relative;
    top: 0px;
    right: 0px;
    z-index: 2;
    left: -20px;
}

@media (min-width: 768px) {
    .hero .hero-img-wrap img {
        right: 0px;
        left: -100px;
    }
}

@media (min-width: 992px) {
    .hero .hero-img-wrap img {
        left: 0px;
        top: -80px;
        position: absolute;
        right: -50px;
    }
}

@media (min-width: 1200px) {
    .hero .hero-img-wrap img {
        left: 0px;
        top: -80px;
        right: -100px;
    }
}

.hero .hero-img-wrap:after {
    content: "";
    position: absolute;
    width: 255px;
    height: 217px;
    background-image: url("../images/dots-light.svg");
    background-size: contain;
    background-repeat: no-repeat;
    right: -100px;
    top: -0px;
}

@media (min-width: 1200px) {
    .hero .hero-img-wrap:after {
        top: -40px;
    }
}

.illbilde {
    width: 380px;
}