﻿@font-face {
    font-family: 'StenaSans';
    src: url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF2/StenaSans-Light.woff2') format('woff2'), url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF/StenaSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: 'StenaSans';
    src: url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF2/StenaSans-LightItalic.woff2') format('woff2'), url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF/StenaSans-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: auto;
}

@font-face {
    font-family: 'StenaSans';
    src: url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF2/StenaSans-Regular.woff2') format('woff2'), url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF/StenaSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: 'StenaSans';
    src: url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF2/StenaSans-RegularItalic.woff2') format('woff2'), url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF/StenaSans-RegularItalic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: auto;
}

@font-face {
    font-family: 'StenaSans';
    src: url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF2/StenaSans-Medium.woff2') format('woff2'), url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF/StenaSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: 'StenaSans';
    src: url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF2/StenaSans-MediumItalic.woff2') format('woff2'), url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF/StenaSans-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: auto;
}

@font-face {
    font-family: 'StenaSans';
    src: url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF2/StenaSans-Bold.woff2') format('woff2'), url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF/StenaSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: 'StenaSans';
    src: url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF2/StenaSans-BoldItalic.woff2') format('woff2'), url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF/StenaSans-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: auto;
}

@font-face {
    font-family: 'StenaSans';
    src: url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF2/StenaSans-Black.woff2') format('woff2'), url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF/StenaSans-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: 'StenaSans';
    src: url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF2/StenaSans-BlackItalic.woff2') format('woff2'), url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF/StenaSans-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: auto;
}

@font-face {
    font-family: 'StenaSans Display';
    src: url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF2/StenaSans-Display.woff2') format('woff2'), url('https://v.imgi.no/brandbook/StenaLine/fonts/WOFF/StenaSans-Display.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: auto;
}


/* Hover #E41F1F , Vanlig #000, Active #034592 */

/* Apply font */

* {
    font-family: 'StenaSans', Aptos, sans-serif, Arial;
}

h1, h2, h3, h4, h5, h6, h7, h8, h9, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h7 a, h8 a, h9 a {
    color: #000;
    line-height: 90%;
}

h1, h1 a {
    font-family: 'StenaSans Display', Aptos, sans-serif, Arial !important;
}

    h2, h3, h4, h5, h6, h7, h8, h9, h2 a, h3 a, h4 a, h5 a, h6 a, h7 a, h8 a, h9 a {
        font-family: 'StenaSans', Aptos, sans-serif, Arial;
        line-height: 115%;
        font-weight: 700 !important;
    }

body, p, ul, li {
    font-family: 'StenaSans', Aptos, sans-serif, Arial;
    color: #000;
    line-height: 115%;
    font-size: 16px;
}

h1 {
    font-size: 50px;
}

h2, .content .slide h2, .open-close h2 {
    font-size: 25px;

}

h3, .content .slide h3 {
    font-size: 20px;
}

.brandbooklogo {
    background: url('https://v.imgi.no/679/1603265/6-2e9a88ee-8e5d-40ac-aa5e-8a03dcb6b2f8-TOPLOGO.png') no-repeat 0 0 transparent;
    display: block;
    width: 159px;
    height: 58px;
    background-size: contain;
    margin-bottom: 15px;
    margin-left: 0px;
}

.accordion li a:hover {
    color: #E41F1F ;
}

.accordion li a {
    color: #000;
}

.accordion li.active a {
    color: #034592;
}

.accordion li.active a:hover {
    color: #E41F1F ;
}


.accordion li.active > a {
}

.accordion li.active li a {
    font-weight: normal;
    color: #034592;
}

    .accordion li.active li a.active {
        font-weight: normal;
    }

.accordion li.active li.active a:hover {
    color: #E41F1F ;
}

.accordion li.active li a:hover {
    color: #E41F1F ;
}

.content a {
    text-decoration: underline;
    color: #3344dd;
}

    .content a:visited {
        color: #3344dd;
    }

.content a:hover {
    color: #E41F1F ;
}

.btn.btn-primary {
    background: #034592;
    color: #FFF;
}

    .btn.btn-primary {
        text-decoration: none;
    }

    .btn.btn-primary:hover {
        background: #E41F1F ;
    }

.btn.download-as-zip:hover {
    background: #E41F1F ;
    color: #FFF;
}

#nav ul li a:hover {
    color: #E41F1F ;
}

#nav ul li.active a {
    color: #034592;
}

#nav ul li.active a:hover {
    color: #E41F1F;
}

.accordion .slide li a.add-subpage:hover {
    color: #E41F1F ;
}

.accordion .slide li.active a {
    color: #034592;
    font-weight: 600;
}

.open-close .opener {
    color: #000;
    top: 5px;
    bottom: 0;
    right: 11px;
    line-height: 1;
    width: 100%;
    position: relative;
    position: absolute;
}

    .open-close .opener:hover {
        color: #E41F1F ;
    }

.open-close h2 {
    color: #000;
}

.list-logo ul li a {
    color: #000;
}

    .list-logo ul li a:hover {
        color: #E41F1F ;
    }

        .list-logo ul li a:hover i {
            color: #E41F1F ;
        }

.circle-list .circle.red {
    background: #000;
    border-color: #000;
    color: #000;
}

.navigation-single a {
    color: #000;
}

    .navigation-single a:hover {
        color: #E41F1F ;
    }

.feature-section h2 a {
    color: #000;
}

    .feature-section h2 a:hover {
        color: #E41F1F ;
    }

.feature-section .feature-box.add h2 a:hover {
    color: #E41F1F ;
}

.spalter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Avstand mellom spaltene */
}

    .spalter > div {
        flex: 1; /* Sørger for at alle spalter er like brede */
        padding: 10px;
        position: relative;
    }

        .spalter > div:not(:first-child)::before {
            content: "";
            position: absolute;
            left: -5px; /* Plasserer skillestreken mellom elementene */
            top: 0;
            bottom: 0;
            width: 1px;
            background-color: #034592; /* Farge på skillestreken */
        }

/* Mobil: Spalter skal vises under hverandre */
@media (max-width: 768px) {
    .spalter {
        flex-direction: column;
    }

        .spalter > div:not(:first-child)::before {
            content: none; /* Fjerner skillestreken på mobil */
        }
}

.paragraph2 {
    font-size: 15px;
    color: #000;
}

.quote {
    font-size: 25px;
    font-weight: bold;
    color: #000;
}

.list-color, .list-color strong {
    color: #000;
}

#previousNext a {
    text-decoration: none;
}
/* Colors */
/* Container for the boxes */
.box-container {
    display: flex;
    flex-wrap: nowrap; /* Ensure boxes stay on the same row */
    gap: 20px; /* Adds space between the boxes */
    padding: 0; /* Remove padding around the container */
}

/* Box styling */
.box {
    flex: 1; /* Ensure all boxes have equal width */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns items to the start of the container */
}

/* Color box styling */
.color-box {
    width: 100%;
    height: 200px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 3D shadow effect */
    border: 2px solid #ccc; /* Light border for definition */
    transition: box-shadow 0.3s ease, border-color 0.3s ease; /* Smooth transition for effects */
}

.primary-colors .color-box {
    height: 300px;
}

.tertiary-colors .color-box {
    height: 125px;
}

.extended-colors .color-box {
    height: 100px;
}

/* Color box hover effect */
.color-box:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* More pronounced shadow on hover */
    border-color: #999; /* Darker border color on hover */
}

/* Text styling */
.color-text {
    margin-top: 10px;
    text-align: left;
    width: 100%; /* Ensure text block aligns with the width of the box */
    font-size: 14px;
}

.primary-colors .color-text {
    font-size: 18px;
}

.secondary-colors .color-text {
    font-size: 17px;
}

.tertiary-colors .color-text {
    font-size: 16px;
}

/* Color name styling */
.color-name {
    font-weight: 600;
    display: block; /* Ensures padding is applied correctly */
    padding: 7px 0; /* Adds 7px padding both above and below the name */
    padding-top: 15px; /* Additional top padding */
}
