html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#map {
    height: 100%;
}

div#map_canvas {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

#location_list {
    list-style: none;
    line-height: 2.2em;
    font-size: larger;
    padding: 0 20px;
}

#location_list li {
    color: blue;
    cursor: pointer;
}
#location_list img{
    margin-bottom: -6px;
}

/*remove google logo*/
/*https://stackoverflow.com/questions/12499886/how-to-hide-or-disable-the-google-logo-footer-copyright-on-google-maps-javascr*/
 /*your application violates Section 3.2.2(b) of the terms, which requires developers to “display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms.” In addition, developers are not allowed to “modify, obscure, or delete such attribution.”*/
.gm-style-cc {
    /*display: none;*/
}

a[href^="http://maps.google.com/maps"],
a[href^="https://maps.google.com/maps"],
a[href^="https://www.google.com/maps"] {
    /*display: none !important;*/
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

/* The Modal (background) */
.mymodal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    /*padding-top: 100px; !* Location of the box *!*/
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    /*padding: 20px;*/
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: bold;
    opacity: 1 !important;
}
.gm-style-iw-t .gm-ui-hover-effect span{
    width: 30px !important;
    height: 30px  !important;;
    margin: 5px  !important;;
}
.gm-style-iw{
    padding-top: 20px !important;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@media (max-height: 820px) {
    .modal {
        padding-top: 0
    }

    #location_list {
        max-height: calc(100% - 50px);
    }
}

@media (max-width: 500px) {
    .modal-content {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .modal-content .close {
        margin-right: 20px;
    }
}

.gm-style-iw-d, .gm-style-iw {
    max-width: 400px !important;
}

/*information window close */
.gm-style-iw .gm-ui-hover-effect {
    right: 10px !important;
}

/*.gm-style-iw .gm-ui-hover-effect img {*/
    /*width: 24px !important;*/
    /*height: 24px !important;*/
/*}*/

.gm-style-iw p {
    /*margin: 0.3em 0 !important;*/
}

.direction {
    text-align: center;
    /*position: fixed;*/
    width: 90%;
    bottom: 0;
    margin: 0 auto;
}

.direction a {
    color: white !important;
    text-decoration: none;
}

.map-marker-label {
    position: absolute;
    /*color: blue;*/
    font-size: 14px;
    /*font-weight: bold;*/
}

#custom_router {
    display: none;
    position: absolute;
    top: 0;
    padding: 10px;
    background: white;
    margin: 0 auto;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1000;
}

#map_admin{
    border-radius: 5px;
    background-color: white;
    position: fixed;
    bottom: 0;
    padding: 10px;
}

@media (max-width: 500px) {
    #map_admin{
        display: none;
    }
}

.bubbleContainer{
    box-shadow: 0 2px 7px 1px rgba(0,0,0,0.3);
}

/*remove google original map*/
.hide_native_map  div.gm-style>div>div>div:last-child img[role="presentation"]{
    display: none;
}
.iconbtn{
    font-size: 32px !important;
}

#overlayButtons{
    z-index: 1;
    position: absolute;
    text-align: center;
    width: 100%;
    padding: 10px;
    box-sizing:border-box;
    white-space: nowrap;
    overflow: auto;
}
#overlayButtons button{
    background: white;
    padding: 10px;
    border-radius:8px;
    box-sizing: border-box;
}
#overlayButtons .selected{
    border:3px solid black;
    font-weight: bold;
}
#overlayButtons.vertical-button{
    display: flex;
    flex-direction: column;
    width: min-content;
    overflow: hidden;
}
#overlayButtons.vertical-button button{
    border: none;
    text-align: left;
    display: none;
    margin-bottom: 5px;
}
#overlayButtons.vertical-button .selected{
    display: block;
    position: relative;
}
#overlayButtons.vertical-button .selected:after{
    content: "";
    position: absolute;
    margin-left: 10px;
    transform: rotate(90deg);
    transition: transform 200ms ease-out;;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.5rem 0 0.5rem 0.5rem;
    margin-top: 0.25rem;
    border-color: transparent transparent transparent #000000;
}
#overlayButtons.show-all button{
    display: block;
}
#overlayButtons.show-all .selected:after{
    transform: rotate(-90deg);
}
.bootbox-form input{
    box-sizing: border-box;
}