* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    height: 100%;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

main {
    display: block;
    width: 100%;
}

#logo {
    width: 25%;
    height: auto;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

#logoimg {
    display: block;
    width: 100%;
    max-width: 125px;
    margin-left: auto;
    margin-right: auto;
}

#search {
    width: 74%;
    height: auto;
    display: inline-block;
    font-family: Arial;
    text-align: center;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

#searchHeader {
    font-family: 'Carter One', cursive;
}

#newSearch {
    margin-top: 20px;
    border: none;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    font-family: 'Carter One', cursive;
    font-size: 1.5em;
}

#mapDisplay {
    display: block;
    width: 100%;
    height: 70%;
    padding: 5px;
}

#sideBar {
    display: inline-block;
    padding-right: 10px;
    padding-left: 5px;
    width: 25%;
    height: 400px;
    overflow-y: auto;
}

#beerMug {
    display: block;
    max-height: 100%;
    max-width: 100%;
    vertical-align: top;
}

.hidden {
    display: none;
}

#buttonDisplay {
    margin-top: 5%;
    height: 5%;
    position: relative;
    width: 100%;
    margin-right: 15px;
}

#valueForm {
    display: block;
    height: 100%;
}

#nextButton {
    display: block;
    border: none;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    width: 100%;
    font-family: 'PT Sans', sans-serif;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

#results {
    display: block;
    width: 100%;
    font-family: 'PT Sans', sans-serif;
}

.searchResult {
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
}

.searchResult:nth-child(even) {
    background-color: #77CC7D;
}

.searchResult:nth-child(odd) {
    background-color: #A9E2AD;
}

.locationName {
    font-weight: bold;
}

#map {
    display: inline-block;
    height: 400px;
    width: 74%;
}

.button:hover {
    cursor: pointer;
}

footer {
    background-color: #15781B;
    display: block;
    width: 100%;
    vertical-align: middle;
    padding: 5px;
    margin-top: 20px;
    position: absolute;
    bottom: 0;
}

footer p {
    position: relative;
    left: 0;
    display: inline-block;
    color: white;
    font-family: 'PT Sans', sans-serif;
}

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

    #logo {
        width: 100%;
        display: block;
    }

    #search {
        width: 100%;
        display: block;
    }

    #sideBar {
        display: block;
        width: 100%;
        height: auto;
    }

    #map {
        display: block;
        width: 100%;
    }

    footer {
        display: none;
    }
}
