* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    color: #404040;
    font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}
.headerBar {
    background: #d43414;
    height: 10%;
    width: 100%;
    top: 0;
    left: 0;
    align-items:center;
    display:flex;
}
.headerBar img {
    float: left;
    max-width: 200px;
    max-height: 51px;
    width: auto;
    height: auto;
}
.headerBar .buttonSpace {
	position: relative;
    display: inline-block;
    padding-left: 2rem;
    padding-bottom: 0rem;
	margin: 0rem;
	color: rgb(255, 255, 255);
	text-decoration: none;
	text-transform: uppercase;
	font-size: 1rem;
    font-weight: bold;
	letter-spacing: 0.03rem;
    overflow: visible;
    cursor: pointer;
}
/* The button used to open the sidebar */
.headerBar .openRightBtn {
    font-size: 2rem;
    position: absolute;
    cursor: pointer;
    color: #f1f1f1;
    right: 2%;
    font-weight: bold;
  }
  
  .headerBar .openRightBtn:hover {
    color: #706f6f;
  }


/* SIDEBAR_RIGHT_TEST */
.rightMenu {
    height: 10%;
    width: 0%;
    position: fixed;
    z-index: 1;
    top: 0%;
    right: 0;
    background-color: #f1f1f1;
    overflow-x: hidden;
    transition: 0.5s;
    align-items:center;
    display:flex;
  }
  
  /* The sidebar links */
  .rightMenu a {
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    color: #d43414;
    display: block;
    transition: 0.3s;
    z-index: 2;
  }
  
  /* When you mouse over the navigation links, change their color */
  .rightMenu a:hover {
    color: #404040;
  }

  .rightMenu ul {
    list-style-type: none;
    font-size: 1.5rem;
    background-color: #f1f1f1;
}
  .rightMenu li {
    float: left;
}
  .rightMenu li a {
    display: inline-block;
    color: #d43414;
    display: inline;
    text-decoration: none;
	text-transform: uppercase;
	font-size: 1rem;
    font-weight: bold;
	letter-spacing: 0.03rem;
  }
  .rightMenu li:hover {
    color: #404040;
  }
  
  /* Position and style the close button (top right corner) */
  .rightMenu .closeRightBtn {
    position: absolute;
    right: 4%;
    font-size: 2rem;
    font-weight: bold;
  }
  
h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 400;
    line-height: 20px;
    padding: 20px 2px;
}

a {
    color: #404040;
    text-decoration: none;
}

a:hover {
    color: #101010;
}


/* The page is split between map and sidebar - the sidebar gets 1/3, map
gets 2/3 of the page. You can adjust this to your personal liking. */
.sidebar {
    position: absolute;
    width: 0%;
    height: 90%;
    top: 0;
    left: 0;
    overflow: hidden;
    border-right: 0.2rem solid rgba(0, 0, 0, 0.25);
    z-index: 1;
}
.sidebar .heading {
    background: #d43414
}
.sidebar .heading h1 {
    color: #fff
}
.sidebar .heading .hideButton {
    background-color: #d43414;
    color: #d43414;   /* change to white */
    border: none;
    padding-bottom: 0rem;
    padding-left: 0rem;
    padding-bottom: 0.4rem;
    text-decoration: none;
    display: inline;
    vertical-align: middle;
    text-align: text-top;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 50%;
    cursor: pointer;
    width: 10%;
    height: 70%
}

.sidebar img {
    float: left;
    /* width:45%;
    height: 80%; */
    max-width: 200px;
    max-height: 51px;
    width: auto;
    height: auto;
    vertical-align: middle;
    padding-top: 0.4rem;
    padding-right: 0rem;
}
.sidebar .buttonSpace {
	position: relative;
    display: inline-block;
    padding-left: 1rem;
    padding-bottom: 0.4rem;
	margin: 0rem;
	color: rgb(255, 255, 255);
    vertical-align: middle;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 1rem;
    font-weight: bold;
	letter-spacing: 0.03rem;
    overflow: visible;
    cursor: pointer;
    width: 35%;
    height: 90%
}

.sidebar span {
    position: absolute;
    background: #fff;
    transform: translate(-50%,-50%);
    pointer-events: none;
    border-radius: 50%;
    animation: animate 0.3s linear 1;
}


@keyframes animate
{
    0%
    {
        width: 0px;
        height: 0px;
        opacity: 0.5;
    }
    100%
    {
        width: 50px;
        height: 50px;
        opacity: 0;
    }
}

.map {
    position: absolute;
    left: 0%;
    width: 100%;
    height: 90%;
    top: 10%;
    bottom: 0;
    z-index: 0;
}

.heading {
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 60px;
    line-height: 60px;
    padding: 0 10px;
}

.listings {
    height: 100%;
    overflow: auto;
    padding-bottom: 0rem;
}

    .listings .item {
        display: block;
        border-bottom: 0.02rem solid #eee;
        padding: 0.3rem;
        text-decoration: none;
    }

    .listings .item:last-child { border-bottom: none; }

    .listings .item .title {
        display: block;
        color: #d43414;
        font-weight: 700;
    }

    .listings .item .title small { font-weight: 400; }

    .listings .item.active .title,
    .listings .item .title:hover { color: #d43414;}

    .listings .item.active {
        background-color: #f8f8f8;
    }

    ::-webkit-scrollbar {
        width: 0.5rem;
        height: 0.5rem;
        border-left: 0;
        background: rgba(0, 0, 0, 0.1);
    }

    ::-webkit-scrollbar-track {
        background: none;
    }

    ::-webkit-scrollbar-thumb {
        background: #d43414;
        border-radius: 0;
    }

    .clearfix { display: block; }

    .clearfix::after {
        content: '.';
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }

/* Marker tweaks */
.mapboxgl-popup-close-button {
    display: none;
}

/* width of popup */
.mapboxgl-popup-content {
    font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
    padding: 0;
    width: 14rem;
}

.mapboxgl-popup-content-wrapper {
    padding: 1%;
}

.mapboxgl-popup-content h3 {
    background: #d43414;
    color: #fff;
    margin: 0;
    display: block;
    padding: 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
    font-weight: 700;
    margin-top: -1rem;
}

.mapboxgl-popup-content h4 {
    margin: 0;
    display: block;
    padding: 10px;
    font-weight: 400;
}

.mapboxgl-popup-content div {
    padding: 0.5rem;
}

.mapboxgl-container .leaflet-marker-icon {
    cursor: pointer;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
    margin-top: 1rem;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
    border-bottom-color: #d43414;
}

.marker-green {
    border: none;
    cursor: pointer;
    height: 48px;
    width: 48px;
    background-image: url(../images/beer_green_marker.png);
    background-color: rgba(0, 0, 0, 0);
}
.marker-amber {
    border: none;
    cursor: pointer;
    height: 48px;
    width: 48px;
    background-image: url(../images/beer_amber_marker.png);
    background-color: rgba(0, 0, 0, 0);
}
.marker-red {
    border: none;
    cursor: pointer;
    height: 48px;
    width: 48px;
    background-image: url(../images/beer_red_marker.png);
    background-color: rgba(0, 0, 0, 0);
}
.mapboxgl-popup {
    padding-bottom: 3rem;
}
.mapboxgl-ctrl-geocoder {
    border: 0;
    border-radius: 0;
    position: relative;
    top: 0;
    width: 800px;
    margin-top: 0;
  }
  
.mapboxgl-ctrl-geocoder > div {
    min-width: 100%;
    margin-left: 0;
  }


.sidebar .heading .navMenu .navigation__ul {
    float: right;
    margin-top: 220px;
    opacity: 0;
    visibility: hidden;  
    transform: rotateY(-90deg) translateX(-300px);   
    transition: all 800ms cubic-bezier(.9, 0, .33, 1);
  }


  
  /* Style page content - use this if you want to push the page content to the left when you open the side navigation
  #main {
    transition: margin-left .5s; /* If you want a transition effect 
    padding: 20px;
  } */
  
  /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .rightMenu {padding-top: 15px;}
    .rightMenu a {font-size: 18px;}
  }


.button {
    width: 150px;
    padding: 10px;
    background-color: #FF8C00;
    box-shadow: -8px 8px 10px 3px rgba(0,0,0,0.2);
    font-weight:bold;
    text-decoration:none;
}
#cover {
    position:fixed;
    top:0;
    left:0;
    background:rgba(0,0,0,0.6);
    z-index:5;
    width:100%;
    height:100%;
    display:none;
}
#aboutPopup {
    height:380px;
    width:380px;
    margin:0 auto;
    position:relative;
    z-index:10;
    display:none;
    background:rgb(245,245,245);
    border:5px solid #cccccc;
    border-radius:10px;
}
#contactPopup {
    height:380px;
    width:380px;
    margin:0 auto;
    position:relative;
    z-index:10;
    display:none;
    background:rgb(245,245,245);
    border:5px solid #cccccc;
    border-radius:10px;
}
#keyPopup {
    height:380px;
    width:380px;
    margin:0 auto;
    position:relative;
    z-index:10;
    display:none;
    background:rgb(245,245,245);
    border:5px solid #cccccc;
    border-radius:10px;
}
#submissionPopup {
    height:380px;
    width:380px;
    margin:0 auto;
    position:relative;
    z-index:10;
    display:none;
    background:rgb(245,245,245);
    border:5px solid #cccccc;
    border-radius:10px;
}
#aboutPopup:target, #aboutPopup:target + #cover {
    display:block;
    opacity:2;
}
#contactPopup:target, #contactPopup:target + #cover {
    display:block;
    opacity:2;
}
#keyPopup:target, #keyPopup:target + #cover {
    display:block;
    opacity:2;
}
#submissionPopup:target, #submissionPopup:target + #cover {
    display:block;
    opacity:2;
}
.cancel {
    display:block;
    position:absolute;
    top:3px;
    right:2px;
    background:rgb(245,245,245);
    color:black;
    height:30px;
    width:35px;
    font-size:30px;
    text-decoration:none;
    text-align:center;
    font-weight:bold;
}
.text_box_text {
    display:block;
    position:relative;
    top:30px;
    background:rgb(245,245,245);
    color:black;
    text-decoration:none;
    text-align:center;
    font-size:15px;
    margin: 5px;
}
.popupImg {
    display:block;
    position:relative;
    max-width: 150px;
    max-height: 39px;
    top:10px;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    height: auto;
}
.email {
    display:block;
    position:relative;
    top:30px;
    background:rgb(245,245,245);
    color:black;
    text-align:center;
    font-size:15px;
    font-weight:bold;
}

.cookie-container {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #2f3640;
    color: rgb(245,245,245);
    padding: 0 32px;
    box-shadow: 0 -2px 16px rgba(47, 54, 64, 0.39);
    z-index: 11;
    transition: 400ms;
  }
  
.cookie-container.active {
    bottom: 0;
  }
  
.cookie-container a {
    color: rgb(245,245,245);
  }
  
.cookie-btn {
    background: #d43414;
    border: 0;
    color: rgb(245,245,245);
    padding: 12px 48px;
    font-size: 18px;
    margin-bottom: 16px;
    border-radius: 8px;
    cursor: pointer;
  }