@font-face {
    font-family: "RO Sans";
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url("fonts/RO-SansWebText-Regular.woff") format("opentype"), url("fonts/RO-SansWebText-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "RO Sans";
    font-style: normal;
    font-weight: bold;
    font-display: auto;
    src: url("fonts/RO-SansWebText-Bold.woff") format("opentype"), url("fonts/RO-SansWebText-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "RO Serif";
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url("fonts/RO-SerifWeb-Italic.woff") format("opentype"), url("fonts/RO-SerifWeb-Italic.ttf") format("truetype");
}

@font-face {
    font-family: "RO Icons";
    font-style: normal;
    font-weight: bold;
    font-display: auto;
    src: url("fonts/ro-icons-1.11.woff") format("opentype"), url("fonts/ro-icons-1.11.ttf") format("truetype");
}

:root {
    --primary-color: #39870C;
    --hover-green-color: #275937;
    --secondary-color: #154273;
    --default-white: #FFF;
    --background-color-default: #000;
    --background-color-green: #F3F3F3;
    --background-color-grey: #E1EDDA;
    --text-color: #000;
}

/* skiplinks */
.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 {
    left: 1em;
    top: 126px;
    z-index: 1000;
}

#innercontainer li,
#innercontainer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#innerfooter,
.b_header-wrapper {
    line-height: 1.4;
}

.a-fa {
    border-bottom: 2px solid var(--default-white);
    display: inline-block;
    position: relative;
    line-height: 1.3;
    transition: .3s ease-in-out;
}

/* .a-fa:hover {
    border-bottom: 2px solid var(--hover-green-color);
    color: var(--hover-green-color);
} */

.a-fa:before {
    font-family: "Font Awesome 6 Pro";
    font-size: 18px;
    font-weight: 400;
    content: "\f33d";
    display: inline-block;
    margin-right: 10px;
}

#innerfooter .grid,
.search-main .grid {
    padding: 64px 0;
}

#scrollToTop {
    /* display: none; */
    right: -100px;
    position: absolute;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    background-color: var(--primary-color);

    @media screen and (max-width: 1380px) {
        right: 0;
    }
}

.fa-arrow-to-top::before {
    content: "\f062";
}

.scroll-up #scrollToTop {
    display: block;
}

.button-container {
    max-width: 1300px;
    width: 100%;
    transform: translateX(-50%);
    left: 50%;
    position: fixed;
    bottom: 68px;
    height: 0;
    z-index: 1;
}

.back-to-top i {
    text-shadow: none;
    font-size: 22px;
    color: #fff;
}

.b_header-wrapper, #footer {
    ul, li {
        margin: 0;
        padding: 0;
        list-style: none;
    }
}

.menu a,
#innerfooter a,
#innerfooter h2 {
    font-family: "RO Sans", Calibri, sans-serif;
}

#p1 a {
    font-family: "RO Sans";
    font-size: 25px;
    font-weight: 500;
    color: var(--default-white);
}

.menu a:hover {
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--default-white);
    text-underline-offset: 4px;
}

.menu a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    color: var(--default-white);
}

#container_menu_top,
#apptitle,
#header_top,
#pull,
.eerste-menu-item {
    display: none;
}

#innerheader p {
    margin: 0;
}

.menu li {
    display: flex;
    align-items: center;
}

#innerheader {
    margin: 0 auto;
    display: flex;
    max-width: 1200px;
    height: 125px;
    justify-content: center;
}

#innerheader a {
    height: 125px;
}

.b_menu-search-container {
    background: var(--primary-color);
    color: var(--default-white);
    height: 76px;
}

.b_menu-search-wrapper {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.menu {
    display: flex;
    flex-direction: row;
    gap: 40px;
    height: 40px;
}

#container_menu .menu {
    margin: 0;
}

#container_menu {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
}

#p1 {
    position: absolute;
    left: 0;
}

.subMenu {
    display: none;
}

#p8 a {
    display: inline-block;
    position: relative;
    line-height: 1.3;
}

.subMenu a {
    padding: 20px 15px;
    width: 100%;
}

.subMenu #p1015 a:after {
    display: inline-block !important;
    content: "\f023";
}

.subMenu a:after {
    display: none !important;
}

#p8 a:after {
    font-family: "Font Awesome 6 Pro";
    font-size: 18px;
    font-weight: 400;
    content: "\f078";
    display: inline-block;
    margin-left: 10px;
}

#p8 a[aria-expanded="true"]::after {
    content: "\f077";
}

li .subMenu.open {
    display: block;
}

.subMenu {
    display: none;
    position: absolute;
    top: 76px;
    width: 230px;
    padding: 0;
    background: var(--primary-color);
    z-index: 99;
    box-shadow: 2px 2px 10px -5px rgba(122, 122, 122, .33);
}





/* Footer - start section */
#footer {
    background: var(--secondary-color);
    margin-top: auto !important;
}

#innerfooter {
    max-width: 1200px;
    margin: 0 auto;
}

#innerfooter .grid {
    display: grid;
    justify-content: space-between;
    gap: 24px;
    grid-template-columns: 2fr 1fr 1fr;
}

.payoff {
    font-family: "RO Serif";
    color: var(--default-white);
    font-size: 32px;
}

#innerfooter .h3 {
    color: var(--default-white);
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 20px;
    font-size: 22px;
    line-height: 22px;
}

#innerfooter a {
    color: var(--default-white);
    font-size: 18px;
    border-bottom: none;
    padding: 8px 0;
    text-decoration: none;
}

#innerfooter a:hover {
    text-decoration-line: underline;
    text-underline-offset: 4px;
}

#innerfooter .a-fa:before {
    content: '\f054';
    font-size: 14px;
}

.search-container,
.search-bar {
    width: 1200px;
    margin: 0 auto;
}

/* Footer - end section */



@media screen and (max-width: 1230px) {
    .b_menu-search-container {
        padding: 0 20px;
    }
}

@media screen and (max-width: 1230px) {

    #innerfooter .grid,
    .search-main .grid {
        padding: 64px 20px;
    }
}


@media screen and (max-width: 1000px) {
    #innerfooter .grid {
        display: flex;
        row-gap: 24px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .c-1 {
        width: 100%;
    }

    .c-2 {
        width: 48%;
    }

    #innerfooter .h3 {
        margin-top: 0;
    }
}

@media screen and (max-width: 900px) {
    #p1 {
        font-size: 23px;
        color: var(--default-white);
    }

    .menu a {
        font-size: 18px;
        color: var(--default-white);
    }

    .b_menu-search-container {
        padding: 0;
        height: 76px;
        position: relative;
    }

    .b_menu-search-wrapper {
        height: 100%;
        position: static;
    }

    #container_menu {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #pull {
        color: var(--default-white);
        display: block;
        width: 40px;
        height: 40px;
        right: 15px;
        text-decoration: none;
        position: relative;
    }

    #pull:before {
        font-family: "Font Awesome 6 Pro";
        font-size: 25px;
        font-weight: 400;
        content: "\f0c9";
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #pull[aria-expanded="true"]::before {
        content: "\f00d";
    }

    .eerste-menu-item {
        text-decoration: none;
        display: block;
        color: var(--default-white);
        font-family: "RO Sans";
        font-size: 25px;
        font-weight: 500;
        position: relative;
        left: 5px;
        padding: 20.5px 15px;
    }

    .menu,
    .menu-button {
        display: none;
    }

    .b_menu-open {
        display: block;
        position: relative;
        z-index: 99;
        background: var(--primary-color);
        width: 100%;
        height: fit-content;
    }

    .menu li {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    #p1 {
        display: none;
    }

    .subMenu {
        position: relative;
        width: 100%;
        top: 0;
    }

    .b_menu-open a {
        padding: 20px;
        width: 100%;
    }

    .payoff {
        font-size: 26px;
    }
}

@media screen and (max-width: 788px) {
    .eerste-menu-item {
        font-size: 23px;
        font-weight: 600;
    }

    .b_menu-search-wrapper {
        height: 63px;
    }

    .wrapper_ballroom_ASP__homewoononderzoek_aspx .b_menu-search-container,
    .wrapper_ballroom_homewoononderzoek .b_menu-search-container {
        height: 100%;
        padding-bottom: 18px;
        min-height: 132px;
    }

    #innerfooter h2 {
        font-size: 19px;
    }

    #innerfooter .grid,
    .search-main .grid {
        padding: 64px 20px;
    }

    .b_menu-search-wrapper {
        height: 100%;
    }

    #p8 a:after {
        font-size: 16px;
    }

    #innerheader img,
    #innerheader a,
    #innerheader {
        max-height: 112px;
        height: 100%;
    }

    #container_menu {
        height: unset;
    }

    #search-header .b_menu-search-container {
        max-height: 72px;
        min-height: unset;
    }
}

@media screen and (max-width: 1000px) {
    .c-2 {
        width: 100%;
    }
}

@media screen and (max-width: 638px) {
    .intro-text .a-fa:first-of-type {
        margin-bottom: 12px;
    }
}


@media screen and (max-width: 600px) {
    #p1 {
        font-size: 20px;
        color: var(--default-white);
    }

    .menu a {
        font-size: 16px;
        color: var(--default-white);
    }
}

@media screen and (max-width: 500px) {
    .eerste-menu-item {
        font-size: 20px;
    }

    .payoff {
        font-size: 24px;
    }

    #innerfooter h2 {
        font-size: 18px;
    }

    #innerfooter .grid,
    .search-main .grid {
        padding: 32px 10px;
    }

    .b_menu-open a {
        padding: 20px 10px;
    }
}