html {
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 430px; /* Margin bottom by footer height */
    overflow-x: hidden;
}

#navbar-container {
    z-index: 1000;
}

.sticky {
    position: fixed;
    top: 0px!important;
    left:0px;
    width: 100%;
    z-index:4000;
    margin-top:0px !important;
    box-shadow:0px 0px 10px rgba(0, 0, 0, 0.53);
    transition: 0s;
    /*padding:15px !important;*/
}


/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .contentpadding {
    padding-top: 111px !important;
}

.navbar-brand {
    transition: width 0.3s ease;
    /*width: 75%;*/
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
}

.footer A {
    color:#FFF;
}

.footer A:hover {
    text-decoration: none;
}

.footerlink A:hover {
    color: var(--secondary);
}

/* adds some margin below the link sets  */
.navbar .dropdown-menu div[class*="col"] {
    margin-bottom:1rem;
}

.navbar .dropdown-menu A {
    color: var(--primary);
}

.carousel-inner {
    position: relative;
    overflow: visible;
}

.carousel-item {
    height: calc(100vh - 60px); /* Maak ruimte voor de blauwe balk om uit te steken */
}
.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.slidetitle {
    display: inline-block;
    text-align: start;
}

.slidetitle h1 {
    color: #fff;
    text-align: start;
    text-transform: uppercase;
    text-wrap: nowrap;
    padding: 0 0 0 30px;
}

.slidetitle:hover {
    text-decoration: none;

}



.bg-light-footer {
    background-image: url('/images/bkgnd_lg.jpg');

}

.bg-footer {
    background-color: #005696;
    border-radius: 20px 0 0 20px;
    margin-top: -50px;
    position: relative;
    z-index: 99;
    right: 0;
}

.bg-footer::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 9999px;
    background-color: #005696;
}


.bg-lichtblauw {
    background-color: #E0F1FA;
}

.bg-blauw-header {
    position: absolute;
    right: 0;
    background-image: url('/images/bkgnd_lg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px 0 0 0;
    padding: 20px 100px 0px 20px;
    margin-top: -50px; /* Dit kan aangepast worden afhankelijk van de gewenste uitlijning */
    margin-bottom: -15px; /* Dit kan aangepast worden afhankelijk van de gewenste uitlijning */
    height: 90px;
}

.bg-home-slideshow {
    background-color: #006AA6;
    height: 30px;
    width: 50%;
    border-radius: 0 20px 20px 0;
    margin-left: 0;
    position: absolute;
    bottom: -30px; /* Zorg ervoor dat de balk zichtbaar onder de carousel */
    display: flex;
    align-items: center;
    z-index: 100;

}


.bg-default-top {
    background-color: #006AA6;
    height: 40px;
    width: 50%;
    border-radius: 0 0 20px 0;
    margin-left: 0px;
}

.bg-home-rij-1 {
    position: relative; /* Verander naar relatieve positionering */
    background-image: url('/images/bkgnd_lg.jpg');
    background-size: cover;
    height: 75px;
    border-radius: 0 0 0 20px;
    z-index: 99;
    margin-top: -20px;
    right: 0;
}

.bg-home-rij-1::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 9999px; /* Een grote waarde om de balk door te laten lopen tot aan het einde van het scherm */
    background-image: url('/images/bkgnd_lg.jpg');
    z-index: 98;
}

.bg-home-rij-2 {
    background-image: url('/images/bkgnd_light.png');
    width: 95%;
    height: 100%;
    border-radius: 10px 10px 10px 10px;
    position: absolute;
    margin-right: -15px;
    right: 0px;
}


.bg-home-rij-4 {
    background-image: url('/images/bkgnd_lg_2.jpg');
    background-size: cover;
    /*background-position: center;*/
    border-radius: 0px 20px 20px 0px ;
}

.bg-grey-gradient {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgb(255, 255, 255));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative; /* Verander naar relatieve positionering */
    z-index: 99;
    margin-right: -50px;
    margin-left: -50px;
}

.bg-grey-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    /*width: 9999px; !* Een grote waarde om de balk door te laten lopen tot aan het einde van het scherm *!*/
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgb(255, 255, 255));
    z-index: 98;

}

.bg-default-contact {
    background-image: url('/images/bkgnd_lg_2.jpg');
    background-size: cover;
    background-position: left;
    border-radius: 20px;
    margin-bottom: 100px;
}

.default-contact-foto {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px 0 0 20px;

}

.afb-home-rij-1 {
    z-index: 100;
    position: absolute;
    width: 100%;
    height: 300px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.afb-home-rij-2 {
    width: 100%;
    height: 300px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.afb-home-rij-4 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px 0 0 20px;
}

.projecten-thumbnail {
    z-index: 100;
}

.btn-contact {
    width: 60%;
    border-radius: 0px;
}

.titel-home-rij-2 {
}

.usp-header {
    font-size: 18px;
    margin-top: 10px;
}

.carousel-item {
    height: 600px;
}

.container-onze-bouwstijlen{
    margin-top: 100px;
}

.onze-bouwstijlen .card {
    border: none;
    color: var(--secondary);
}

.onze-bouwstijlen .card:hover {
    filter: none;
    transform: scale(110%) ;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: 0.5s;
    text-decoration: none;
    cursor: pointer;
}

.default-contactgegevens a {
    color: #fff;
    font-size: 16px;
}

.default-contactgegevens{
    padding-top: 60px;
}

.leesMeer {
    color: var(--primary);
    background-color: transparent;
    border: none;
}

.swiper-slide {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.swiper-container {
    width: 100%;
    min-width: 400px;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}
.gallery-top {
    height: 80%;
    width: 100%;
}

.gallery-thumbs {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

.gallery-thumbs .swiper-slide {
    background-size:cover;
}

.gallery-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}


.gallery-top .swiper-wrapper {
    height:400px !important;
}
.gallery-thumbs .swiper-wrapper {
    height:150px !important;
}


.col-slideshow {
    min-height: 400px;
    overflow: hidden;
    padding: 0px;
}

.bg-rij-projecten {
    background-image: url('/images/bkgnd_light.png');
    border-radius: 10px 10px 10px 10px;
    padding: 20px 20px 50px 0;
    position: absolute;
    width: 90%;
    right: 0px;
    height: 100%;
}

.bg-rij-projecten-maps {
    background-image: url('/images/bkgnd_light.png');
    border-radius: 10px;
    position: absolute;
    width: 90%;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    z-index: 0;
}

.project-tile:hover{
    cursor: pointer;
}

.content-wrapper {
    position: relative;
    width: 95%;
    margin-left: auto; /* Lijnt uit met de achtergrond */
    z-index: 1;
}


.filter-projecten {
    position: relative;
    background-color: var(--primary);
    border-radius: 20px 0 0 0;
    display: flex;
    align-items: center;
    padding-left: 20px;

    /* Toevoegingen */
    margin-right: calc(-50vw + 50%); /* duwt het blok naar buiten */
    padding-right: calc(50vw - 50%); /* behoud padding tot rand */
}

.projectlijst {
    height: 600px;
    overflow-y: auto;
    display: block
}

.rounded-img {
    border-radius: 10px 0 0 10px;
}

.btn-darkblue {
    background-color: #004f8d;
    color: #fff;
}

.btn-lightblue {
    background-color: #44b2ef;
    color: #fff;
}

#map {
    margin-top: 100px;
}

@media screen and (min-width: 1200px) {
    .navbar .dropdown-menu {
        /*left: 0;*/
        /*right: 0;*/
        /*  height of nav-item  */
        top: 50px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        border-radius: 0;
        display: block;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s, opacity 0.3s linear;
        background-color: #fff;
    }

}

@media (max-width: 1240px) {

    .bg-home-slideshow {
        width: 65%;
    }
}

@media screen and (min-width: 576px) {


    /* breakpoint and up - mega dropdown styles */
    @media screen and (min-width: 992px) {


        /* remove the padding from the navbar so the dropdown hover state is not broken */
        .navbar {
            padding-top: 0px;
            padding-bottom: 0px;
        }

        /* remove the padding from the nav-item and add some margin to give some breathing room on hovers */
        /*.navbar .nav-item {*/
        /*    padding: 1.1rem .5rem;*/
        /*    margin: 0 .25rem;*/
        /*}*/

        .navbar-brand {
            width: 75%;
        }

         a:hover {
            color: var(--secondary);!important;
        }

        .dropdown-menu .nav-item {
            padding: 10px 0px;
            margin: 0 .25rem;
            text-transform: none;

        }



        /* shows the dropdown menu on hover */
        .navbar .dropdown:hover .dropdown-menu, .navbar .dropdown .dropdown-menu:hover {
            display: block;
            visibility: visible;
            opacity: 1;
            transition: visibility 0s, opacity 0.3s linear;
        }



    }

    .nav-link {
        white-space: nowrap;;
        font-size: 14px;
    }

    .navbar-collapse.show .nav-link, .navbar-collapse.collapsing .nav-link {
        padding-left: 20px;
    }

    .navbar {
        padding: 0px;
    }

    .nav-item-title {
        font-weight: bold;
        font-size: 1.5rem;
    }

    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary);!important;
        font-weight: bold;
    }

    .navbar-nav > .nav-item {
        transition: all 0.3s;
    }

    .dropdown-menu .nav-link {
        padding: 0px;
    }

    .dropdown-menu .nav-link:hover {
        color: var(--secondary);
    }

    .dropdown-menu {
        border: none;
    }

}

@media (min-width: 769px) and (max-width: 867px) {
    .slidetitle h1 {
        font-size: 30px;
    }
}


@media (max-width: 992px) {
    .projectlijst {
        height: 100%;
        margin-bottom: 100px;
    }
}

@media (max-width: 768px) {

    .bg-footer::before {
        width: 0px;
    }

    .bg-rij-projecten {
        background-image: url('/images/bkgnd_light.png');
        border-radius: 10px 10px 10px 10px;
        padding: 20px 20px 50px 0;
        position: absolute;
        width: 95%;
        right: 0px;
        height: 100%;
    }

    .filter-projecten {
        /*display: block;*/
    }

    .bg-rij-projecten-maps {
        width: 100%;
    }

    .img-projecten-maps {
        justify-content: center;
        margin-top: 10px;
    }

    body {
        margin-bottom: 0px;
    }

    .navbar-brand {
        width: 50%;
    }

    .navbar .dropdown-menu {
        border: none;
    }

    .slidetitle h1 {
        text-transform: none;
        font-size: 24px;
        text-wrap: nowrap;
        margin-bottom: 10px;
    }

    .bg-home-slideshow {
        width:75%;
    }

    .dropdown-menu .nav-item {
        padding: 0px 10px;
    }

    .navbar-toggler {
        color: var(--secondary);
    }

    .bg-lichtblauw-nav {
        padding: 10px 0 0 0;
        position: relative;
    }

    .bg-blauw-header {
        margin-top: 0;
        margin-bottom: 0;
        position: relative;
        width: 100%;
        /*padding-bottom: 100px;*/
        border-radius: 0;
        text-align: center;

    }

    .usp-header {
        text-align: center;
    }

    .carousel-item {
        height: 300px;
    }

    .bg-home-rij-1 {
        margin-top: 250px;
    }

    .bg-home-rij-2 {
        width: 100%;
        top: 0;
        text-align: center;
    }

    .bg-home-rij-4 {
        border-radius: 0px 0px 20px 20px;
    }

    .btn-contact {
        align-items: center;

    }

    .tekst-home-rij-2 {
        margin: 0;
    }

    .afb-home-rij-2 {
        position: relative;
        margin: 20px 0 0 0;
    }

    .container-onze-bouwstijlen {
        margin-top: 50px;
    }

    .afb-home-rij-4 {
        height: 200px;
        border-radius: 20px 20px 0px 0px;
    }

    .bg-footer {
        /*border-radius: 0px;*/
    }

    .footer {
        position: relative;
    }

    .default-contact-foto {
        height: 200px;
        border-radius: 0px;
    }

    .default-contactgegevens{
        padding-top: 0px;
    }

    .bg-default-contact {
        border-radius: 0px;
        margin-bottom: 0px;
    }

}

@media (max-width: 575px) {

    .bg-home-rij-2 {
        border-radius: 10px 0px 0px 10px;
    }

}
@media (max-width: 500px) {

    .bg-home-slideshow {
        width: 90%;
    }

    .slidetitle h1 {
        padding: 0;
    }

    .bg-home-slideshow h1 {
        font-size: 20px;
        padding-left: 0;
    }


    .navbar-brand .img-fluid {
        max-width: 200px;
    }

}

@media (max-width: 457px) {

    .usp-header h5 {
        font-size: 16px;
    }

    .bg-blauw-header {
        padding-bottom: 80px;
    }

}

@media (max-width: 360px) {

    .usp-header h5 {
        font-size: 14px;
        margin-top: -10px;
    }


}

@media (min-width: 768px) and (max-width: 775px) {

    .usp-header h5 {
        font-size: 16px;
    }
}


@media (min-width: 768px) and (max-width: 992px) {

    body {
        margin-bottom: 575px; /* Margin bottom by footer height */
        overflow-x: hidden;
    }

    .dropdown-menu .nav-item {
        padding: 5px 10px;
    }

    .footer {
        /*position: relative;*/
        /*bottom: 0px;*/
    }

    .bg-home-slideshow {
        width:75%;
    }

    .navbar-brand {
        width: 50%;
    }

    .toggler-tablet {
        margin-top: -20px;
    }

    .bg-blauw-header {
        margin-top: -25px;
        margin-bottom: -15px;
        right: 0;
        position: absolute;
        width: 100%;
        border-radius: 20px 0 0 0;
        text-align: center;
        padding: 20px 100px 20px 20px;
        display: flex;
        vertical-align: middle;
    }

    .bg-blauw-header-mobiel {
        max-width: 780px;!important;

    }

    .usp-header {
        /*font-size: 16px;*/
        margin-top: 0px;
    }

    .bg-home-rij-1 {
        margin-top: -40px;
    }


    .btn-contact {
        width: 40%;
        margin-left: 80px;

    }

    .titel-home-rij-2 {
        margin-left: 40px;

    }

    .tekst-home-rij-2 {
        text-align: center;
        margin-left: 80px;
    }

    .afb-home-rij-4 {
        border-radius: 0px 0px 20px 20px;
        height: 200px;

    }

    .bg-home-rij-4 {
        border-radius: 20px 20px 0px 0px;
    }

    .default-contact-foto {
        border-radius: 20px 0px 0px 20px;
        height: 250px;
    }

    .bg-default-contact {
        margin-bottom: 150px;!important;
    }

}

.pagecontent .img-fluid {
    margin-bottom: 15px;
}


.swiper-button-next:after, .swiper-button-prev:after {
    content:'' !important;
}


.pagecontent .row:nth-child(2n+3) .row {
    background:#007FC6;
    color:#FFF !important;
    border-radius:15px;

    vertical-align: center;
    background-image: url('/images/bkgnd_lg_2.jpg');
}

.pagecontent .row:nth-child(2n+3) .row A{
    color: #fff;
    text-decoration: underline;
}


.defaultpagecontent .img-fluid {
    margin-bottom:0px !important;
}
.defaultpagecontent .row:nth-child(2n+3) .row div {
    padding:15px;


}

.defaultpagecontent .row:nth-child(2n+3) .row div:first-child {
    padding:0px 0px 0px 0px !important;;
    overflow:hidden;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;

}


.defaultpagecontent .row:nth-child(even) .row div:last-child {


    overflow:hidden;


}

.defaultpagecontent .row:nth-child(even) .row .col-md-6:last-child, .defaultpagecontent .row:nth-child(even) .row .col-md-5:last-child {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    padding-right:0px !important;;
}
.defaultpagecontent .row:nth-child(even) .col-md-5>IMG{
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}


.navbar-brand .img-fluid {
    max-width: 300px;
}


