/* NEW STYLE */

body.newstyle .mapcontainer #control-panel b {
    font-family: "Inter", sans-serif;
}
body.newstyle .mapcontainer #control-panel .route-link:hover {
    color: var(--primarycta);
}

/* 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;*/
    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%;
    margin-bottom: 10px;
    border-bottom: 1px solid #efefef;
}
.mapcontainer #infoholder .img img {
    display: block;
    width: 100%;
}
.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 {
    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 #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;
    min-height: 150px;
    box-sizing: border-box;
    background: var(--background);
}
/*
.mapcontainer #control-panel #cat-list label.checkbox-label {
    display: none;
}
.mapcontainer #control-panel #cat-list label.checkbox-label:first-of-type {
    display: block;
}
*/
.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 .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,.1);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}
.mapcontainer #control-panel .route-link:hover {
    color: #a6c88a;
}
.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;
    color: var(--titles);
    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: 9;
    background: #fff;
    padding: 30px;
    transform: translate(-50%,-50%) scale(0.8);
    border-radius: 5px;
    width: 100%;
    max-width: 340px;
    text-align: center;
    box-sizing: border-box;
    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;

    z-index: 101;
}
.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-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;
}
.home_notice-darken {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    content: "";
    opacity: 0.5;
    z-index: 100;
    background-color: #000;
}

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

    body.maps {
        overflow-y: auto;
    }

    .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;
    }
    .mapcontainer #location-button {
        display: inline;
    }
    .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;
    }
    
    .mapcontainer #control-panel #cat-list {
        min-height: 0;
    }
    .mapcontainer #control-panel #route-list .route-logo {
        bottom: 0;
        width: 120px;
    }
    
    .home_notice { width: 85%; }
    .home_notice .close { top: -15px; right: -15px; width: 30px; height: 30px; }
    .home_notice .close svg { width: 14px; height: 14px; }

}

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


.custom-marker {
    font-size: 20px;
    white-space: nowrap;
    cursor: pointer;
    width:32px;
    height:48px;
    color: white;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
    padding-top: 5px;
}
