@import url("menu.css");


@import url("https://use.typekit.net/xum4tei.css");



* {
    box-sizing: border-box;
}

#aspnetForm {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}


/* typografie */
body {
    font-family: "interstate", sans-serif;
    font-weight: 400;
    font-size: var(--font-body);
    line-height: 140%;
    color: var(--cl-default);
    margin: 0;
}


h1 {
    font-size: var(--font-h1);
}

h2 {
    font-size: var(--font-h2);

}

h3 {
    font-size: var(--font-h3);
}

h1 {
    font-weight: 900;
    font-family: "playfair-display", serif;
    color: var(--cl-default);
    line-height: 120%;
}

.page_home,
.page_homeapeldoorn {
    h2 {
        font-weight: 900;
        font-family: "playfair-display", serif;
        color: var(--cl-default);
        line-height: 120%;
    }

}


h2,
h3,
h4 {
    font-family: "interstate", sans-serif;
    line-height: 120%;
    font-weight: 600;

}

h1,
h2,
h3,
p {
    margin-top: 0;
    margin-bottom: var(--gap-txt-sm);
}


p+h2,
p+h3 {
    margin-top: var(--gap-obj-lg);
}

h1+div,
h2+div {
    margin-top: var(--gap-obj-lg);
}

label span,
label {
    font-size: 16px;
}


a {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #000;

}


.link-btn {
    text-decoration: underline;
    font-weight: 500;

    &:hover {
        text-decoration: none;
    }
}

#content h2 {
    font-size: var(--font-h3);
}



/* einde typografie */

/* componenten */

.page_home,
.page_homeapeldoorn {

    .products .tileset--content--items {
        .tile:nth-child(n+4) {
            display: none;
        }
    }

    .breadcrum_container {
        display: none;
    }

}


*:focus-visible {
    outline: currentColor solid 1px;
    outline-offset: -1px;
}

.breadcrum_container {
    max-width: 1398px;
    margin: 0 auto;
    padding: var(--pad-obj-xs) var(--pad-sec-x-md);
    width: 100%;

    ul {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
}



.b_btn {
    width: min-content;
    background: #fff;

    border: 1px solid var(--cl-button);
    color: var(--cl-button);
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    border-radius: 50px;
    padding-right: 46px;
    position: relative;
        font-family: "interstate", sans-serif;



    &::after {
        font-family: "Font Awesome 6 Pro";
        content: "\f138";
        font-size: 26px;
        position: absolute;
        right: 7px;
    }

    &:hover {
        background: var(--cl-button-hover);
        color: #fff;
        border: 1px solid var(--cl-button-hover);
        ;
    }

    &:focus-visible, &:focus {
        outline-offset: -4px;
    }
}

input.b_btn {
    padding-right: 16px;
    padding: 11px 16px;

    &::after {
        content: none;
        
    }
}


.contactinput.contactinput--button {
    position: relative;
    display: inline-block;
    margin-bottom: 0;

    &::after {
        font-family: "Font Awesome 6 Pro";
        content: "\f138";
        font-size: 26px;
        position: absolute;
        right: 9px;
        color: var(--cl-button);
        font-weight: 600;
        line-height: normal;
        top: 50%;
        transform: translateY(-50%);
    }

    &:hover::after {
        color: #fff;
    }

    .b_btn {
        padding: 11px 46px 11px 16px;
    }
}

.b_br {
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
}


.a-skiplink {
    background-color: #fff;
    border: 2px solid #999;
    display: block;
    left: -1000em;
    padding: .5em;
    position: absolute;
    z-index: 10;
    transition: none;
}
.a-skiplink:focus-visible {
    left: 1em;
    top: 126px;
    z-index: 1000;
}


a.link-extern::after {
    font-family: 'Font Awesome 6 Pro';
    content: "\f08e";
    margin-left: 6px;
    font-size: 12px;
}

.b_inputfield {
    width: 100%;
    padding: var(--pad-obj-xxs);
    margin-top: 4px;
    border:#949494 0.5px solid;
    font-size: 16px;

}

.contactinput {
    margin-bottom: var(--gap-obj-sm);
}

input.b_btn+input.b_btn {
    margin-top: var(--gap-obj-xs);
}

/* Layout */

#qs-container {
    padding-bottom: var(--pad-sec-x-md);
}

#menu_top,
#container_menu .menu,
#qs-container,
#innerfooter {
    max-width: 100%;
}

.content,
#content,
.page_news.ballroom_nieuws #content {
    max-width: 1398px;
    margin: 0 auto;
    padding: var(--pad-sec-y-lg) var(--pad-sec-x-md);
    width: 100%;
}

.b_module-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap-obj-lg);

    .nav {
        width: 300px;

        ul {
            margin: 0;
            padding: 0;
            list-style: none;

            a {
                text-decoration: none;

            }

            li {
                margin-bottom: var(--gap-txt-xs);
            }

            .active a {
                text-decoration: underline;
            }
        }
    }

    .b_module-items {
        flex: 1;
    }

    .b_module-list li.document, li.faqitem {
        margin-bottom: var(--gap-obj-md);

        .b_meta {
            display: none;
        }
        
        .faqlistitem__answer{
            margin-top: 0;
        }

        h2 a {
            text-decoration: none;

            &:hover {
                text-decoration: underline;
            }


        }


    }

    .document h2::before {
        font-family: 'font awesome 6 pro';
        content: "\f33d";
        margin-right: 10px;
    }

    .faqs {
        h2::before {
        font-family: 'font awesome 6 pro';
        content: "\2b";
        margin-right: 10px;
        }

        .open h2::before {
             content: "\f068"
        }
    }
}

.hero {
    position: relative;
    padding-top: 150px;

    &::before {
        content: "";
        position: absolute;
        height: 250px;
        background: url(images/header.jpg) no-repeat;
        background-position-y: top;
        background-position-x: center;
        background-size: cover;
        width: 100%;
        top: 0;

    }

}

.quick-links {
    background: var(--section-bg);
    z-index: 1;
    position: relative;

    .ac-title {
        font-size: var(--font-h0);
    }



    .search {
        margin-top: var(--gap-obj-md);
    }


    .b_search-container {
        display: block;
        position: relative;

    }

    #ssr-ac-container,
    #ssr-ac-container.focus {
        position: relative;
        width: 100%;
        /* top: unset; */
        transform: unset;



            .ac-s-result {


                ul li {
                    background-color: #fff;

                    a span.direct-link {
                        color: var(--cl-linkk);
                    }

                    &:hover {
                        /* background-color: var(--color-soft-green-01); */
                    }
                }
            }

            .ac-s-container>.ac-s-input-container.focus {
                outline: 0;
            }

            .ac-s-input-container.focus+.ac-s-result ul {
                border: none;
                margin: 0;
            }

            button.btn-color {
                background-color: var(--cl-button);
                border: none;
                padding: 0 10px;
                top: 3px;
                bottom: 3px;
                right: 4px;
                height: auto;
                border-radius: 50px;
                

                span {
                    text-transform: capitalize;
                    font-family: "interstate", sans-serif;
                    font-size: var(--font-size-md);
                    font-weight: 600;
                    display: flex;
                    align-items: center;
                    font-size: 16px;


                    &::after {
                        font-family: "Font Awesome 6 Pro";
                        content: none;
                        font-size: 26px;
                        position: absolute;
                        right: 8px;
                    }
                }

                &:hover {
                    background-color: var(--cl-button-hover);
                }

                &:focus-visible {
                    outline-offset: -4px;
                }

                @media screen and (min-width: 407px) {
                        
                    span {
                        padding-right: 38px;

                        &::after {
                            content: "\f138";
                        }

                    }
                }

            }




        .ac-s-container label {
            display: block;
            font-size: 16px;
            margin-top: 12px;
            color: #595959;
            
            &.active {
                margin-top: -3px;
                font-size: 12px;
            }
        }

        .ac-s-container>.ac-s-input-container {
            outline: none;
            border: 1px solid #949494;

             i {
                    color: #595959;
                    font-size: 16px;
             }
        }

        .ac-s-container>.ac-s-input-container.focus {
            outline: 0;
        }

        .ac-s-container>.ac-s-input-container>input {
            background: #fff;
        }

        .ac-s-input-container.focus+.ac-s-result ul,
        .ac-s-input-container+.ac-s-result ul {
            background: #fff;
            margin: 0;
            margin-top: -1px;
            border: 1px solid #949494;
            border-top: none;

            li {
                background: #fff;

                a span.direct-link {
                    color: var(--cl-link);
                }

                &:hover {
                    background: var(--section-bg);
                }
            }
        }


    }

   
    



    .tilesets {
        margin-top: var(--pad-sec-y-sm);

        .tile-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: var(--gap-obj-lg);


        }

        .tile {
            border-bottom: 1px solid var(--stroke);

            &:last-child {
                border-bottom: none;
            }

            a {
                display: flex;
                font-weight: 500;
                text-decoration: none;
                padding: 8px 0;
                position: relative;
                align-items: center;
                gap: 8px;


                &::before {
                    content: "";
                    height: 18px;
                    width: 18px;
                    background: url(images/chevron.svg) no-repeat;
                }

                &:hover::before {
                    background: url(images/chevron-hover.svg) no-repeat;
                }
            }



            h2 {
                margin-bottom: var(--gap-txt-sm);
            }
        }

    }
}

.products {
    .tileset--content--items {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--gap-obj-lg);

    }

    .tile a {
        text-decoration: none;
        display: block;

        .image {
            display: flex;

            img {
                width: 100%;
                object-fit: cover;
                border-radius: 32px;
            }
        }


        &:hover h3 {
            text-decoration: underline;
        }

        h3 {
            margin-top: var(--gap-obj-md);
        }

        &::after {
            content: none;
        }

        &.link-extern h3:after {
            font-family: 'Font Awesome 6 Pro';
            content: "\f08e";
            margin-left: 6px;
            font-size: 16px;
        }


    }
}

.page_dataproducten {
    h2 {
        display: none;
    }
}

.news .content,
.page_news #content, .page_news- #content,
.page_contact #content {
    background: var(--section-bg);
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;


    .morelink,
    .nieuwscontrol,
    .nieuwsdatum,
    .datumseparator {
        display: none;
    }

    li {

        .meta,
        .newslistitem__readmore {
            display: none;
        }

        a {
            text-decoration: none;
        }

        &:hover h3 {
            text-decoration: underline;
        }
    }

    .newslist,
    .newspreviews {
        display: grid;
        gap: var(--gap-obj-lg);
        margin-top: var(--gap-obj-lg);
    }

    .overviewheading {
        display: none;
    }
}

#nieuws #container_meta {
    display: none;
}


.section.news {
    margin-bottom: var(--pad-sec-y-lg)
}


.viewer .highlight {
    background: var(--cl-highlight);
    max-width: 834px;
    margin-bottom: var(--pad-sec-y-lg);

    .b_btn {
        margin-top: var(--gap-obj-md)
    }
}





@media screen and (min-width: 560px) {

    .quick-links,
    .products,
    .news,
    .page_news, 
    .page_news- {

        .tilesets .tile-grid,
        .tileset--content--items,
        .newslist,
        .newspreviews {
            grid-template-columns: 1fr 1fr;
        }
    }

    .products .tile a {
        .image img {
            height: 390px;
        }
    }

    .hero {
        padding-top: 183px;

        &::before {
            height: 277px;
            background: url(images/header.jpg) no-repeat;
            background-position-y: top;
            background-position-x: center;
            background-size: cover;
        }
    }



}

@media screen and (min-width: 769px) {


    .hero {
        padding-top: 350px;

        &::before {
            height: 452px;
            background: url(images/header.jpg) no-repeat;
            background-position-y: top;
            background-position-x: center;
            background-size: cover;
        }
    }

    .b_br {
        border-top-left-radius: 100px;
        border-bottom-right-radius: 100px;
    }

    .news .content,
    .page_news #content,
    .page_news- #content,
    .page_contact #content {
        border-top-right-radius: 100px;
        border-bottom-left-radius: 100px;
    }

}




@media screen and (min-width: 1025px) {

    .quick-links,
    .products,
    .news,
    .page_news, .page_news- {

        .tilesets .tile-grid,
        .tileset--content--items,
        .newslist,
        .newspreviews {
            grid-template-columns: 1fr 1fr 1fr;
        }
    }

    .b_module-wrapper {
        flex-direction: row;
    }

    .hero {


        &::before {
            height: 642px;
            background: url(images/header.jpg) no-repeat;
            background-position-y: 10%;
            background-position-x: center;
            background-size: cover;
        }
    }

}


@media screen and (min-width: 1245px) {
        .hero {


        &::before {
            height: 642px;
            background: url(images/header.jpg) no-repeat;
            background-position-y: 18%;
            background-position-x: center;
            background-size: cover;
        }
    }
}