/* Sidebar */

.brand_sidebar_parent {
    font-weight: 600;
    text-transform: uppercase;
}

.brand_sidebar_nochildren .brand_sidebar_parent {
    width: 100%;
}

.brands-logo img {
    max-height: 100px;
}

.brand_sidebar_group:nth-child(n+9) {
    display: none;
}

.brands-sidebar-show-more {
    cursor: pointer;
    display: inline-block;
    margin-top: 16px;
    color: color(7);
    text-decoration: underline;
    font-weight: 400;
}

.brand-sidebar-serie-icon {
    color: color(9);
    margin: 0 2px 2px 8px;
    background: black;
    width: 5px;
    height: 5px;
    display: inline-block;
    border-radius: 100%;
    transition: 0.3s;
}

.brand-sidebar-serie-icon,
.brands-sidebar-heading-arrow {
    font-weight: 800 !important;
    font-size: 10px;
}

.brand_sidebar_heading {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
}

.brand_sidebar_accordion .brand_sidebar_heading {
    cursor: pointer;
}

.brand_sidebar_children {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}

.brand_sidebar_serie {
    display: none;
}

.brand_sidebar_children .brand_sidebar_serie:first-child {
    padding-top: 8px;
}

.brand_sidebar_serie:hover {
    color: color(7);
}

.brand_sidebar_serie:hover .brand-sidebar-serie-icon {
    background: color(7);
}

.sidebar_child_link.lnr.lnr-chevron-right {
    font-size: 10px;
    font-weight: 800;
    color: color(9);
}

.brand_sidebar_nochildren .brand_sidebar_toggle {
    display: none;
}

.brand_sidebar_accordion,
.brand_sidebar_nochildren {
    width: 85%;
    padding: 16px 0 16px 0px;
    border-bottom: 1px solid color(15);
}


/* 
.brand_sidebar_group:last-of-type .brand_sidebar_nochildren {
    border-bottom: none;
} */

.brand_sidebar_accordion .brand_sidebar_toggle {
    cursor: pointer;
    padding-left: 8px;
}

.brand_sidebar_accordion .brand_sidebar_toggle span {
    font-weight: 800 !important;
}

.brand_sidebar_accordion .brand_sidebar_toggle span.open,
.brand_sidebar_accordion.active .brand_sidebar_toggle span.closed {
    display: none;
}

.brand_sidebar_accordion.active .brand_sidebar_toggle span.open {
    display: unset;
}

@media (max-width: 991px) {

    .brand_sidebar_accordion,
    .brand_sidebar_nochildren {
        width: 100%;
    }
}

@media (max-width: 767px) {

    .brand_sidebar_group,
    .brands-sidebar-show-more {
        display: none;
    }

    .brand_sidebar_heading {
        justify-content: space-between;
    }
}


/* Hero video */

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Hero billede*/

.brand_hero_img {
    width: 100%;
    display: block;
}


/* Hero tekst */

.brands-hero-title {
    margin-bottom: 3rem !important;
    line-height: 1.2 !important;
}


/* Ikoner */

.ikoner_wrapper_heading {
    margin-bottom: 2rem;
}

.ikoner_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, 135px);
    grid-gap: 3rem;
    font-size: 12px;
    text-align: center;
    justify-content: center;
}

.ikoner_wrapper img {
    display: block;
    width: 100%;
    margin: 0!important;
}

.tax_ikon_label {
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 8px;
    word-break: keep-all;
}


/*.tax_ikon img {
    box-shadow: 0 3px 4px 0px rgb(0 0 0 / 10%);
    border-radius: 100%;
}*/

.tax_h_ikon {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0.2s;
}

.tax_ikon_wrapper {
    position: relative;
    box-shadow: 0 3px 4px 0px rgb(0 0 0 / 10%);
    border-radius: 100%;
    overflow: hidden;
}

.tax_ikon:hover .tax_h_ikon {
    opacity: 1;
}

@media (max-width: 767px) {
    .ikoner_wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Serier */

.brand_serier {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 3rem;
    width: 100%;
    justify-content: center;
}

.brands-show-more-button {
    margin-top: 4rem;
}

img.item_img_round {
    border-radius: 100%;
}

.brand_serie_heading {
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .brand_serier {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* Bottom builder */

.tax_builder_wrapper {
    margin-bottom: 3rem;
}

.tax_builder_wrapper:not(.clerkFeed) {
    display: grid !important;
    grid-gap: 3rem;
    width: 100%;
}

.tax_builder_wrapper.img_img,
.tax_builder_wrapper.text_img {
    grid-template-columns: repeat(2, 1fr);
}

.tax_builder_wrapper.text,
.tax_builder_wrapper.img {
    grid-template-columns: repeat(1, 1fr);
}

.tax_builder_wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.tax_builder_wrapper.text_img.right .tax_builder_split_img {
    order: 2;
}

.tax_builder_wrapper .tax_builder_split_text>:first-child {
    margin-top: 1.25rem;
}

.tax_builder_wrapper.clerkFeed .clerk {
    max-width: 100%;
}

.tax_builder_wrapper.img_img.ct-section-inner-wrap {
    padding-left: 0;
    padding-right: 0;
}


/* Conditional CSS */

.tax_builder_wrapper.text.colored_background {
    padding: 24px 48px;
}

.tax_builder_wrapper.text_img.left.colored_background .tax_builder_split_text {
    padding-right: 48px;
}

.tax_builder_wrapper.text_img.right.colored_background .tax_builder_split_text {
    padding-left: 48px;
}

@media (max-width: 599px) {
    .tax_builder_wrapper img {
        max-height: 300px;
        margin: 0 auto;
    }

    .tax_builder_wrapper.text_img {
        display: flex !important;
        flex-direction: column;
    }

    .tax_builder_wrapper.text_img.right .tax_builder_split_img {
        order: 0;
    }

    .tax_builder_split_text,
    .tax_builder_wrapper.text.colored_background {
        padding: 0 20px 20px 20px !important;
    }
}


/* Description */

.brands-description .archive_description_wrapper {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    border-top: 2px solid #eaeaea;
    padding: 72px 0;
}

.brands-description .archive_description {
    width: 75%;
}

/* Fixes added by NKI */

.tax-brands .tax-brands-container {
    max-width: 1200px!important;
}

.tax-brands .tax-brands-header-wrap {
    padding: 0!important;
    margin-bottom: 2rem!important;
}

.tax-brands .tax_builder_split_text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.tax-brands .tax_builder_fw_text {
    padding: 2rem 4rem;
}

.tax-brands .tax_builder_fw_text.center,
.tax-brands .tax_builder_fw_text.center * {
    text-align: center!important;
}

.tax-brands .tax_builder_fw_text > *:first-child {
    margin-top: 0!important;
}

.tax-brands .brand-title-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.tax-brands .brand-title-section > img {
    max-height: 120px;
}