/* 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;
}
.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 div.allinfoholder {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.mapcontainer #infoholder .img {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    margin-bottom: 10px;
    border-bottom: 1px solid #efefef;
}
.mapcontainer #infoholder .img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mapcontainer #infoholder .close {
    position: absolute;
    position: fixed;
    /*right: 0;
    top: 0;*/
    width: 40px;
    height: 40px;
    display: flex;
    text-align: center;
    justify-content: center;
    background: #fff;
    line-height: 1.3;
    font-size: 1.5em;
    cursor: pointer;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
.mapcontainer #infoholder h2 {
    margin: 0;
    padding: 30px;
    padding-bottom: 0;
    width: 100%;
    font-size: 28px;
    box-sizing: border-box;
}
.mapcontainer #infoholder .content {
    padding: 30px;
    padding-top: 20px;
    width: 100%;
    box-sizing: border-box;
}
.mapcontainer #infoholder .content p {
    margin-bottom: 20px;
}
.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: 560px; box-sizing: border-box; font-size: .9em; }
.mapcontainer #control-panel b { display: inline-block; margin: 0; margin-bottom: 2px; padding: 0; font-size: 21px; color: var(--main); }
.mapcontainer #control-panel #cat-list { padding: 22px 25px; background: var(--background); }
.mapcontainer #control-panel #route-list { padding: 22px 25px; background: var(--accents); max-height: 250px; overflow-y: scroll; }
.mapcontainer #control-panel .route-logo { position: absolute; top: 0; right: 30px; width: 90px; }

.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;
    color: var(--main);
    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(--primarycta);
}
.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(--primarycta);
    white-space: nowrap;
    padding-left: 20px;
}

#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;
}

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

    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;
        font-size: 0;
        width: 40px;
        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 #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.4;
    }
    .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: 50px;
    position: absolute;
    left: 30px;
    top: 30px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    pointer-events: all;
    background: var(--color);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: initial;
}

#header.map-header .nav-button#menu-button .svg-icon {
    width: 22px;
    height: 22px;
    filter: invert(100%);
}

#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 { 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); }

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;
    }
    .mapcontainer #control-panel .description b {
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    #footer {
        margin-top: 0;
    }
    
}
