#mapid {
    height: 100%;
    width: 100%;
}

.main {
    width: 100%;
    height: 100%;
}


/* The navigation menu links */
.sidenav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: #f1f1f1;
}

/* Style page content */
.main {
}

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

html{
    min-height: 100vh;/* make sure it is at least as tall as the viewport */
    position:relative;
}
body{
    height:100vh; /* force the BODY element to match the height of the HTML element */
}

.current-pos__icon {
    border: 1px solid white;
    color: #0065FF;
    border-radius: 50%;
    font-size: 1rem;
}

.marker {
    color: #0b627f;
    font-size: 1.5rem;
}

.past-marker {
    color: #525252;
    font-size: 1.5rem;
}

body {
    font-family: "Lato", sans-serif;
    transition: background-color .5s;
}

/* The sidebar menu */
.sidenav {
    height: 100%; /* Full-height: remove this if you want "auto" height */
    width: 400px; /* Set the width of the sidebar */
    position: fixed; /* Fixed Sidebar (stay in place on scroll) */
    z-index: 500; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    overflow-y: scroll;
    bottom: 0;
    background-color: white; /* Black */
    overflow-x: hidden; /* Disable horizontal scroll */
    visibility: hidden;
}


.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
font-size: 25px;
color: #a1a1a1;
display: block;
transition: 0.3s;
}

.sidenav a:hover {
    color: #818181;
}

.sidenav .closebtn, .sidenav .closeDetails {
    position: absolute;
    top: -17px;
    font-size: 36px;
    right: 0.5rem;
    z-index: 10;
    color: #888;
}

#main {
    transition: margin-left .5s;
}

@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

img.logo {
    height: 74px;
    padding: 0.5rem;
}

.sidebar__icon {
    position: absolute;
    font-size: 2rem;
    left: 1.5rem;
    top: 1.5rem;
    z-index: 500;
}

#mySidenav.open {
    width: 400px;
    visibility: visible;
}

#main.open {
    margin-left: 400px;
    width: calc(100% - 400px);
}

.camp__info {
    padding: 0.5rem;
}

.camp__info:hover {
    background-color: #FAFAFA;
    cursor: pointer;
}

.sidebar__icon.open {
    display: none;
}

p {
    color: #70757A;
    font-size: 13px;
margin-bottom: 0.25rem;
}


.details__name {
    font-weight: 800;
    background: rgb(200, 200, 200);
    font-size: 18px;
    padding: 2rem 0.5rem 8px;}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 36px;
    margin-left: 50px;
}

.details__type-title, .details__date-title, .details__distance-title, .details__available-title, .details__groundName-title, .details__locationName-title {
    border-bottom: 1px solid gray;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    padding: 0 0.5rem;
    color: #424242;
}

.details__type, .details__date, .details__distance, .details__available, .details__groundName, .details__locationName {
    color: #626262;
    font-size: 13px;
    margin-bottom: 0.25rem;
    padding: 0 0.5rem 0.5rem;
}

a.dropdown-item {
    font-size: 0.9rem;
}

.navigation_icon {
    text-align: center;
    position: relative;
    top: calc(50% - 10px);
    height: 100%;
}

@media only screen and (max-width: 600px) {
    .sidenav {
        width: 100%;
    }
    #mySidenav.open {
        width: 100%;
        visibility: visible;
    }

    #main.open {
        margin-left: 100%;
        width: 100%;
    }
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}
