/* MAPS */


body.maps {
    overflow-y: hidden;
}
.mapcontainer #image-header {
    display: none;
}
.mapcontainer .row {
    padding: 0;
}
.mapcontainer {
    width: 100%;
    max-width: 100%;
    display: block;
    position: relative;
}
.mapcontainer #mapholder {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
}
.mapcontainer #mapholder .cookie-map-notice {
    position: fixed;
    left: 50%;
    top: 50%;
    max-width: 520px;
    margin: 0 auto;
    padding: 26px 28px;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-radius: 16px;
}
.mapcontainer #mapholder .cookie-map-notice.is-hidden {
    display: none;
}
.mapcontainer #mapholder .cookie-map-notice p {
    margin: 0;
    color: white;
    font-weight: 600;
    line-height: 1.5;
}
.mapcontainer #mapholder .cookie-map-notice .btn {
    margin: 0;
    align-self: center;
    width: fit-content;
}
.top-left-container {
    width: auto;
    position: absolute;
    left: 100px;
    top: 30px;
    z-index: 2;
    display: flex;
    column-gap: 20px;
}
.mapcontainer #location-button,
.mapcontainer #download-button {
    position: relative;
    width: auto;
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
    color: var(--main);
    cursor: pointer;
    font-weight: 600;
    display: none;
    border-radius: 30px;
}
.mapcontainer #location-button:hover,
.mapcontainer #download-button:hover {
    color: var(--color);
}
.mapcontainer #location-button {
    /*display: inline;*/
    display: none;
}
.mapcontainer #infoholder { position: absolute; right: 30px; top: 30px; width: 400px; height: calc(100% - 60px); background: #fff; color: #000; border-radius: 5px; z-index: 99999; overflow-y: auto; display: none; user-select: text; box-shadow: 0px 0px 20px rgba(0,0,0,0.1); }
.mapcontainer #infoholder .infoholder-container { display: flex; flex-direction: column; align-items: flex-end; }
.mapcontainer #infoholder .close { position: absolute; /* position: fixed; */ top: 0; right: 0; width: 40px; height: 40px; padding-top: 2px; display: flex; text-align: center; justify-content: center; background: #fff; line-height: 1.1; font-size: 1.5em; cursor: pointer; box-sizing: border-box; border-top-right-radius: 5px; border-bottom-left-radius: 5px; z-index: 5; }
.mapcontainer #infoholder .img { width: 100%; margin-bottom: 10px; border-bottom: 1px solid #efefef; }
.mapcontainer #infoholder .img img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.mapcontainer #infoholder h2 { margin-bottom: 0; padding: 30px; padding-bottom: 0; width: 100%; box-sizing: border-box; }
.mapcontainer #infoholder .content { padding: 30px; padding-top: 1.4em; box-sizing: border-box; }
.mapcontainer #infoholder .content p { margin-bottom: 1.4em; }

.mapcontainer #infoholder .img .image-comparison { position: relative; }
.mapcontainer #infoholder .img .image-comparison .before { position: absolute; display: flex; justify-content: flex-end; bottom: -15px; right: 30px; width: 125px; height: 100px; transform: rotate(5deg); }
.mapcontainer #infoholder .img .image-comparison .before img.foto { width: auto; max-width: 100%; height: auto; max-height: 100%; aspect-ratio: initial; object-fit: contain; }
.mapcontainer #infoholder .img .image-comparison .after { }
.mapcontainer #infoholder .img .image-comparison .after img.foto { }

.mapcontainer #control-panel { padding: 0; line-height: 1; box-shadow: 0px 0px 20px rgba(0,0,0,0.1); background: #fff; color: #000; /*cursor: pointer;*/ width: auto; position: absolute; left: 30px; bottom: 30px; z-index: 2; line-height: 1.5; overflow: hidden; border-radius: 5px; width: 550px; box-sizing: border-box; font-size: .9em; }
.mapcontainer #control-panel b { display: inline-block; margin: 0; margin-bottom: 5px; padding: 0; font-size: 19px; color: #102f4a; }
.mapcontainer #control-panel #cat-list { position: relative; padding: 22px 25px; background: var(--background); }
.mapcontainer #control-panel #cat-list label { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.mapcontainer #control-panel #cat-list label input { margin: 0; }
.mapcontainer #control-panel #route-list { padding: 22px 25px; background: var(--accents); max-height: 250px; overflow-y: scroll; }

.mapcontainer #control-panel .route-logo.routes { position: absolute; bottom: 22px; right: 20px; width: auto; height: calc(100% - 44px); }
.mapcontainer #control-panel .route-logo.routes img { display: block; height: 100%; }

.mapcontainer #control-panel .route-logo.vakantie { position: absolute; right: 20px; bottom: 20px; width: 90px; }
.mapcontainer #control-panel .route-logo.vakantie img { position: static; display: block; max-width: 100%; max-height: none; }

.mapcontainer #control-panel .description { padding: 30px 150px 35px 30px; color: var(--primarycta); background: var(--background); user-select: text; }
.mapcontainer #control-panel .description b { }
.mapcontainer #control-panel .description a:hover { text-decoration: underline; }
.mapcontainer #control-panel .description b,
.mapcontainer #control-panel .description a { color: var(--primarycta); }
.mapcontainer #control-panel .description .back { cursor: pointer; }

.mapcontainer #control-panel .route-link { padding: 5px 0; display: block; margin-right: 6px; font-size: 16px; color: #102f4a; border-bottom: 2px solid rgba(0,0,0,.2); display: flex; justify-content: space-between; cursor: pointer; }
.mapcontainer #control-panel .route-link:hover { color: var(--color); }
.mapcontainer #control-panel .route-link:last-of-type { border: 0; }
.mapcontainer #control-panel .route-link em { font-style: normal; }
.mapcontainer #control-panel .route-link em.route-naam { display: block; overflow:hidden; white-space: nowrap; text-overflow: ellipsis; }
.mapcontainer #control-panel .route-link em.kmcount { color: var(--color); white-space: nowrap; padding-left: 20px; }

.mapcontainer #control-panel .route-info { display: inline-block; margin: -2px 0 8px; color: var(--primarycta); font-size: .85em; }
.mapcontainer #control-panel .route-info:hover { text-decoration: underline; }

#control-panel .checkbox-label {
    display: block;
    cursor: pointer;
}

#control-panel b {
    padding-top: 5px;
    display: inline-block;
}
.home_notice {
    position: fixed;
    left: 50%;
    /*left: -170px;*/
    top: 50%;
    z-index: 999;
    background: #fff;
    padding: 30px;
    transform: translate(-50%,-50%) scale(0.8);
    border-radius: 5px;
    width: 100%;
    max-width: 280px;
    text-align: center;
    box-shadow: 0px 0px 60px rgba(0,0,0,0.3);
    
    /* transition: */
    opacity: 0;
    margin-top: 60px;
    transition: all 300ms ease-out;
    transition-delay: 300ms;
    pointer-events: none;
}
.home_notice h1 {
    font-size: 1.2em;
    padding-bottom: 15px;
    margin: 0;
    color: var(--primarycta);
}
.home_notice h2 {
    padding-bottom: 15px;
}
.home_notice.show {
    opacity: 1;
    margin-top: 0;
    transform: translate(-50%,-50%) scale(1);
    pointer-events: all;
}
.home_notice  img {
    display: block;
    margin: 0 auto;
    width: 270px;
    margin-bottom: 30px;
}
.home_notice .close {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 40px;
    height: 40px;
    background: var(--primarycta);
    cursor: pointer;
    border-radius: 30px;
}
.home_notice .close svg {
    display: block;
    fill: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 20px;
    height: 20px;
}
.home_notice .btn {
    margin-top: 30px;
}
.home_notice_bg {
    background: #000;
    position: fixed;
    left: 0;
    top: 0;
}



#logo-lvc {
    position: absolute;
    top: 0;
    right: 30px;
    width: 100px;
    z-index: 2;
}
#logo-lvc img {
    display: block;
    width: 100%;
    height: auto;
}


@media screen and (max-width: 1100px) {


    #logo-lvc {
        right: 5%;
        width: 60px;
    }


    body.maps {
        overflow-y: auto;
    }

    .top-left-container {
        position: fixed;
        top: 20px;
        left: 70px;
        column-gap: 8px;
    }
    .mapcontainer #location-button,
    .mapcontainer #download-button {
        position: relative;
        width: auto;
        height: 40px;
        line-height: 40px;
        padding: 0 15px;
        font-size: 15px;
    }
    .mapcontainer #location-button {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
    .mapcontainer #location-button img {
        width: 20px;
        filter: invert(10%) sepia(63%) saturate(513%) hue-rotate(151deg) brightness(100%) contrast(92%);
    }
    .mapcontainer #mapholder {
        width: 100%;
        height: 650px;
        height: 100vh;
        position: relative;
        z-index: 1;
    }
    .mapcontainer #mapholder .cookie-map-notice {
        left: 50%;
        padding: 22px 20px;
        width: calc(100% - 30px);
    }
    .mapcontainer #control-panel {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin-top: 30px;
        border-radius: 0;
        box-shadow: none;
    }
    .mapcontainer #infoholder {
        box-shadow: 0px 0px 60px #000;
        right: 15px;
        top: 15px;
        width: calc(100% - 30px);
        height: calc(100% - 30px);
        position: fixed;
        z-index: 999;
    }
    .mapcontainer #infoholder .close {
        font-size: 1.7em;
        line-height: 1.1;
    }
    .mapcontainer #control-panel #route-list {
        max-height: none;
        overflow: visible;
    }

 /*   .mapcontainer #control-panel .route-logo {
        display: none;
    }*/


}

.gm-style-pbc {
    opacity: 0 !important;
}

/* all > disable selection */
.mapcontainer {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}


/* MAPS */
#map_canvas {
    height: 90vh; 
    width: 100%; 
    clear: both; 
}


/* FOOTER */
#footer {
    /*margin-top: 30px;*/
}
#footer .skyline {
    height: 100px;
    background: var(--main);
}
#footer .skyline img {
    display: block;
    width: 100%;
}
#footer .blue {
    height: 150px;
    background: var(--main);
}




#header.map-header .nav-button#menu-button {
    border-radius: 3px;
    position: absolute;
    left: 30px;
    top: 30px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    pointer-events: all;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: initial;
}
#header.map-header .nav-button#menu-button .svg-icon {
    width: 22px;
    height: 22px;
}
#header.map-header .nav-button#menu-button:after {
    content: "";
    width: 150px;
    aspect-ratio: 3 / 1;
    background-size: contain;
    position: absolute;
    left: 0;
    bottom: -60px;
}
#header.map-header .nav-button.nl#menu-button:after {
    background-image: url('/images/erismeer.svg');
}
#header.map-header .nav-button.de#menu-button:after {
    background-image: url('/images/erismehr.svg');
}
#header.map-header .nav-button.en#menu-button:after {
    background-image: url('/images/erismore.svg');
}
body.maps:before {
    content: "";
    width: 300px;
    height: 300px;
    position: fixed;
    left: -110px;
    top: -110px;
    background: #000;
    opacity: 0.9;
    filter: blur(100px);
    z-index: 2;
}
@media screen and (max-width: 1100px) {
    #header.map-header .nav-button#menu-button:after  {
        width: 100px;
        bottom: -45px;
    }
}



#header.map-header {
    height: 0;
}
#header.map-header #menu-holder {
    left: 0;
    position: fixed;
    display: flex;
    flex-direction: column;
    right: initial;
    top: 0;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    z-index: 3;
    background: var(--accents);
    transform: translateX(-100%);
    transition: transform 600ms cubic-bezier(0.76, 0, 0.24, 1);
    box-sizing: border-box;
    padding: 30px 40px;
    align-items: center;
    justify-content: center;
    gap: 45px;
    font-size: 1.2em;
    overflow-y: auto;
}
#header.map-header #menu-holder.active {
    transform: translateX(-0%);
}
#header.map-header #menu-holder ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
#header.map-header #menu-holder ul li.title {
    margin: 0;
    margin-bottom: 10px;
    font-size: 24px;
    color: var(--color);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}
#header.map-header #menu-holder ul li a {
    display: block;
    min-width: 180px;
    text-align: center;
}

#header.map-header #menu-holder ul#menu { display: none; order: 1; }

/*#header.map-header #menu-holder ul#menu2 { order: 2; gap: 20px; width: 100%; }
#header.map-header #menu-holder ul#menu2 h2 { margin-bottom: 10px; }
#header.map-header #menu-holder ul#menu2 li { width: 100%; }
#header.map-header #menu-holder ul#menu2 li a { display: block; padding: 0; font-size: 21px; color: var(--main); font-weight: 600; line-height: 1; }
#header.map-header #menu-holder ul#menu2 li a:hover { color: var(--color); }*/

#header.map-header #menu-holder ul#menu2 { display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 3; line-height: 1; order: 2; gap: 20px; }
#header.map-header #menu-holder ul#menu2 h2 { margin-bottom: 10px; }
#header.map-header #menu-holder ul#menu2 li { width: 100%; }
#header.map-header #menu-holder ul#menu2 li a { display: block; padding: 0; font-size: 28px; color: #102f4a; font-weight: 700; line-height: 1; white-space: nowrap; }
#header.map-header #menu-holder ul#menu2 li a:hover { color: var(--color); }

body.maps {
    padding: 0;
}

@media screen and (max-width: 1100px) {
    
    #header.map-header .nav-button#menu-button {
        left: 20px;
        top: 20px;
        width: 40px;
        height: 40px;
    }
    #header.map-header .nav-button#menu-button .svg-icon {
        width: 18px;
        height: 18px;
    }
    
    .mapcontainer #control-panel .description {
        padding: 30px 30px 35px 30px;

        padding-right: 140px;
    }
    .mapcontainer #control-panel .description b {
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    #footer {
        margin-top: 0;
    }
    
}
