/* 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 15px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
    background: #fff; 
    color: #000;
    cursor: pointer;
    font-weight: 400;
    display: none;
    border-radius: 3px;
}
.mapcontainer #location-button {
    display: inline;
}

.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.3; 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 { 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; bottom: -15px; right: 30px; width: 100px; height: 100px; transform: rotate(5deg); }
.mapcontainer #infoholder .img .image-comparison .before img.foto { width: 100%; 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: 0px; 
    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 {
    font-size: 1.2em;
    color: var(--titles);
    display: inline-block;
    margin-bottom: 5px;
}
.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-list .route-logo {
    width: 160px;
    position: absolute;
    right: 20px;
    bottom: 20px;
}
.mapcontainer #control-panel .description {
    padding: 22px 25px;
    background: var(--primarycta);
    color: var(--background);
    user-select: text;
}
.mapcontainer #control-panel .description b {
    color: var(--background);
}
.mapcontainer #control-panel .description a {
    color: #fff;
    text-decoration: underline;
}
.mapcontainer #control-panel .description a:hover {
    text-decoration: none;
}
.mapcontainer #control-panel .description .back {
    cursor: pointer;
}
.mapcontainer #control-panel .route-link {
    padding: 5px 0;
    display: block;
    margin-right: 6px;
    color: var(--titles);
    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;
}

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

.home_notice {
    position: fixed;
    left: 50%;
    /*left: -170px;*/
    top: 50%;
    z-index: 9;
    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: 0;
    margin: 0;
}
.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: 200px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.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) {

    .top-left-container {
        position: fixed;
        top: 20px;
        left: 70px;
        column-gap: 10px;
    }
    .mapcontainer #location-button,
    .mapcontainer #download-button {
        position: relative;
        width: auto;
        height: 40px;
        line-height: 40px;
        padding: 0 10px;
    }
    
}

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

    body.maps {
        overflow-y: auto;
    }

    .mapcontainer #mapholder {
        width: 100%;
        height: 500px;
        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;
    }

}


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