@media screen and (max-width: 64em) {

   #remove {
       display: none;
   }


   nav ul {
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    list-style-type: none;
    padding: 0;
    margin: 0;    
}

nav ul li a {
    display: block;
    padding: .8rem 2%;
    text-decoration: none;
    border-top: 1px solid rgba(34, 72, 100, 0.7);
}
nav ul li.active a {
    background-color: rgba(24,63,88,0.2);
    color: #eee;
}

nav ul.hide {
    display: none;
}

nav li a {
    display: block;
    color: #FFF;
}
nav li a:hover {
    background-color: rgba(24,63,88,0.4);
    color: #eee
}
nav li a:active {
    background-color: rgba(24,63,88,0.9);
    color: #FFF;
}

header {
    flex-flow: row wrap;
    height: 50%;
}
.headerMiddle {
    margin-bottom: 2em;
}
.headerRight {
    margin-bottom: 2em;
}

/* 5 day forecast */


   #backgroundImage {
    width: 100%;
    background-repeat: no-repeat;
    }

    .iconLinks {
        margin-bottom: 2em;
    }

    #map iframe {
        width: 200px;
        height: 150px;
    }
    #weatherSumBox {
        position: absolute;
        left: 0;
        top: 0;
        width: 200px;
        margin-left: 2em;
        margin-top: 2em;
        padding: 15px;
        background-color: rgba(34, 72, 100, 0.7);
        color: #FFF;
    }

    .galleryWrapper {
        width: 100%;
    }
    .galleryWrapper > div{
        width: 100%;
    }
    .galleryWrapper >  * {
        text-align: left;
        font-size: 0.975em;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        font-weight: bold;
    }

.containerContact{
    display: flex;
        flex-flow: column;
        justify-content: center;
}
    .formField{
        align-self: center;
        flex-flow: column;
    }
    .contact-form {
        display: flex;
        flex-flow: column;
        justify-content: center;
    }

    .allTownsWrap {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
        margin-top: 5em;
        margin-bottom: 5em;
    }

    .townWrap {
        display: flex;
        justify-content: space-around;
        flex-flow: column;
        width: 45%;
        background-color: #555;
        margin-bottom: 5em;
    }

}

@media screen and (max-width: 38em) {

    #preFooter{
        display: flex;
        justify-content: center;
    }
    #prefootMid {
        display: flex;
        flex-flow: column;
    }

    .allTownsWrap {
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        margin-top: 5em;
        margin-bottom: 5em;
    }

    .townWrap {
        display: flex;
        justify-content: space-around;
        flex-flow: column;
        width: 90%;
        background-color: #555;
        margin-bottom: 5em;
    }
}
