﻿body, h1, h2, h3, h4, h5, h6, h7, h8, h9 {
    font-family: Arial, sans-serif;
    color: 0000000;
}

* {
    font-family: Arial, sans-serif;
}

.brandbooklogo {
    background: url('https://v.imgi.no/620/1567959/6-cc13e277-c47c-4477-aec5-9a51c602a735-TOPLOGO.png') no-repeat 0 0 transparent;
    display: block;
    width: 142px;
    height: 75px;
    margin-left: -16px;
    background-size: contain;
}


/*#D9001C - Hover #bb1122, vanlig #D9001C */
.accordion li a:hover {
    color: #bb1122;
}

.accordion li a {
    color: #D9001C;
}

.accordion li.active a {
    color: #bb1122;
}

.accordion li.active > a {
    color: #D9001C;
}

.accordion li.active li a {
    font-weight: normal;
    color: #D9001C;
}

    .accordion li.active li a.active {
        font-weight: normal;
    }

.accordion li.active li.active a:hover {
    color: #D9001C;
}

.accordion li.active li a:hover {
    color: #bb1122;
}

.download-as-zip, .prev, .next {
    display: none; /* Costumer specifically asked to not include the button for downloading as a zip! */
}

.content a {
    text-decoration: underline;
    color: #3344dd;
}

.content a:visited {
    color: #884488;
}

.content a:hover {
    color: #bb1122;
}

.btn.btn-primary {
    background: #D9001C;
    color: #fff;
}

    .btn.btn-primary:hover {
        background: #bb1122;
    }

#nav ul li a:hover {
    color: #bb1122;
}

#nav ul li.active a {
    color: #D9001C;
}

.accordion .slide li a.add-subpage:hover {
    color: #bb1122;
}

.accordion .slide li.active a {
    color: #D9001C;
    font-weight: 600;
}

.open-close .opener {
    color: #D9001C;
    top: 5px;
    bottom: 0;
    right: 11px;
    line-height: 1;
    width: 100%;
    position: relative;
    position: absolute;
}

    .open-close .opener:hover {
        color: #bb1122;
    }

.open-close h2 {
    color: #D9001C;
}

    .open-close h2:hover {
        color: #bb1122;
    }

.list-logo ul li a {
    color: #D9001C;
}

    .list-logo ul li a:hover {
        color: #bb1122;
    }

        .list-logo ul li a:hover i {
            color: #bb1122;
        }

.circle-list .circle.red {
    background: #D9001C;
    border-color: #D9001C;
    color: #fff;
}

.navigation-single a {
    color: #000;
}

    .navigation-single a:hover {
        color: #bb1122;
    }

.feature-section h2 a {
    color: #D9001C;
}

    .feature-section h2 a:hover {
        color: #bb1122;
    }

.feature-section .feature-box.add h2 a:hover {
    color: #bb1122;
}

.list-color .col1 {
    padding: 8px 10px 1px 0;
}
/* Styling of colorpage */

/* Container for the boxes */
.box-container {
    display: flex;
    flex-wrap: wrap; /* Allow the boxes to wrap into new rows */
    gap: 20px; /* Adds space between the boxes */
    padding: 0; /* Remove padding around the container */
    justify-content: space-between; /* Distribute items evenly across rows */
}

/* Box styling */
.box {
    width: calc(25% - 15px); /* 4 colors per row: 100% / 4 = 25%, subtract gap for spacing */
    display: flex;
    flex-direction: column;
    align-items: center; /* Align items to the center */
    margin-bottom: 20px; /* Add margin at the bottom for better row spacing */
}

/* Color box styling */
.color-box {
    width: 120px; /* Set a fixed size for the circle */
    height: 120px; /* Set a fixed size for the circle */
    border-radius: 50%; /* Make the box circular */
    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 */
}

    /* 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 */
    }


.primary-colors .color-box {
    height: 300px;
}

.tertiary-colors .color-box {
    height: 125px;
}

.extended-colors .color-box {
    height: 100px;
}


/* Text styling */
.color-text {
    margin-top: 10px;
    text-align: center;
    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 */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .box {
        width: calc(50% - 15px); /* 2 colors per row on medium screens */
    }
}

@media (max-width: 480px) {
    .box {
        width: 100%; /* 1 color per row on small screens */
    }
}
/* /Styling of color page */